Mercurial > dropbear
diff cli-runopts.c @ 40:b4874d772210
- Added terminal mode handling etc for the client, and window change
- Refactored the terminal-mode handling for the server
- Improved session closing for the client
author | Matt Johnston <matt@ucc.asn.au> |
---|---|
date | Sun, 01 Aug 2004 08:54:01 +0000 |
parents | 0883c0906870 |
children | 3bea78e1b175 |
line wrap: on
line diff
--- a/cli-runopts.c Fri Jul 30 12:29:53 2004 +0000 +++ b/cli-runopts.c Sun Aug 01 08:54:01 2004 +0000 @@ -55,11 +55,12 @@ char* userhostarg = NULL; /* see printhelp() for options */ + cli_opts.progname = argv[0]; cli_opts.remotehost = NULL; cli_opts.remoteport = NULL; cli_opts.username = NULL; cli_opts.cmd = NULL; - cli_opts.wantpty = 0; + cli_opts.wantpty = 1; opts.nolocaltcp = 0; opts.noremotetcp = 0; /* not yet