comparison sysoptions.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 9644f50434f1
children 714b9106e335 b07eb3dc23ec
comparison
equal deleted inserted replaced
721:62fb0b5ff683 722:4a274f47eabd
51 #define MAX_LISTEN_ADDR (DROPBEAR_MAX_PORTS*3) 51 #define MAX_LISTEN_ADDR (DROPBEAR_MAX_PORTS*3)
52 52
53 #define _PATH_TTY "/dev/tty" 53 #define _PATH_TTY "/dev/tty"
54 54
55 #define _PATH_CP "/bin/cp" 55 #define _PATH_CP "/bin/cp"
56
57 #define DROPBEAR_ESCAPE_CHAR '~'
56 58
57 /* success/failure defines */ 59 /* success/failure defines */
58 #define DROPBEAR_SUCCESS 0 60 #define DROPBEAR_SUCCESS 0
59 #define DROPBEAR_FAILURE -1 61 #define DROPBEAR_FAILURE -1
60 62