diff options
author | Matt Johnston <matt@ucc.asn.au> | 2004-08-01 08:54:01 +0000 |
---|---|---|
committer | Matt Johnston <matt@ucc.asn.au> | 2004-08-01 08:54:01 +0000 |
commit | 051b7454f80a52d2b0bea2e34562949a3bc70fe4 (patch) | |
tree | 4414c89d8e9ffc08d15721d3d02756b6f0dcdd83 /cli-runopts.c | |
parent | cb071834dab43b2edf6112a9918714691f27f3de (diff) |
- 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
--HG--
extra : convert_revision : 9d19b4f22c39798af5f3f24c2022f8caec4919e8
Diffstat (limited to 'cli-runopts.c')
-rw-r--r-- | cli-runopts.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/cli-runopts.c b/cli-runopts.c index 137e0da..2811ef3 100644 --- a/cli-runopts.c +++ b/cli-runopts.c @@ -55,11 +55,12 @@ void cli_getopts(int argc, char ** argv) { 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 |