comparison session.h @ 722:4a274f47eabd

Add ~. and ~^Z handling to exit/suspend dbclient
author Matt Johnston <matt@ucc.asn.au>
date Sat, 23 Mar 2013 23:16:06 +0800
parents cd3d3c63d189
children 78eda530c000 d44325108d0e b07eb3dc23ec
comparison
equal deleted inserted replaced
721:62fb0b5ff683 722:4a274f47eabd
257 int stdoutcopy; 257 int stdoutcopy;
258 int stdoutflags; 258 int stdoutflags;
259 int stderrcopy; 259 int stderrcopy;
260 int stderrflags; 260 int stderrflags;
261 261
262 /* for escape char handling */
263 int last_char;
264
262 int winchange; /* Set to 1 when a windowchange signal happens */ 265 int winchange; /* Set to 1 when a windowchange signal happens */
263 266
264 int lastauthtype; /* either AUTH_TYPE_PUBKEY or AUTH_TYPE_PASSWORD, 267 int lastauthtype; /* either AUTH_TYPE_PUBKEY or AUTH_TYPE_PASSWORD,
265 for the last type of auth we tried */ 268 for the last type of auth we tried */
266 #ifdef ENABLE_CLI_INTERACT_AUTH 269 #ifdef ENABLE_CLI_INTERACT_AUTH