comparison cli-chansession.c @ 449:3e6c536bc023

Add -W <windowsize> argument and document it.
author Matt Johnston <matt@ucc.asn.au>
date Wed, 25 Jul 2007 15:44:25 +0000
parents 9c61e7af0156
children d4f32c3443ac
comparison
equal deleted inserted replaced
448:9c61e7af0156 449:3e6c536bc023
348 setnonblocking(STDIN_FILENO); 348 setnonblocking(STDIN_FILENO);
349 349
350 channel->errfd = STDERR_FILENO; 350 channel->errfd = STDERR_FILENO;
351 setnonblocking(STDERR_FILENO); 351 setnonblocking(STDERR_FILENO);
352 352
353 channel->extrabuf = cbuf_new(RECV_MAX_WINDOW); 353 channel->extrabuf = cbuf_new(opts.recv_window);
354 354
355 if (cli_opts.wantpty) { 355 if (cli_opts.wantpty) {
356 send_chansess_pty_req(channel); 356 send_chansess_pty_req(channel);
357 } 357 }
358 358