When using OpenSSH 2.3.0p1 on HP-UX 11.00 the terminal's baud rate is 300, causing non-desired effects in vi and Emacs: vi only shows a few lines, and Emacs adds a huge delay after each line of output. When connecting via TELNET, I get at least 9600 baud. Should the login procedure mess with the baud rate? Regards, Ulrich P.S. I'm not subscribed to the list.
Hi, On Wed, Nov 22, 2000 at 09:41:45AM +0100, Ulrich Windl wrote:> When using OpenSSH 2.3.0p1 on HP-UX 11.00 the terminal's baud rate is > 300, causing non-desired effects in vi and Emacs: vi only shows a few > lines, and Emacs adds a huge delay after each line of output. > > When connecting via TELNET, I get at least 9600 baud. > > Should the login procedure mess with the baud rate?I'd say that setting up a pty "should" (in the RFC sense) include setting a few things to decent values, like the baud rate. So yes, sshd should do this. Login itself doesn't (usually) do this, because it gets called on a tty that is already set up, for example by "getty" on serial lines/console. gert -- USENET is *not* the non-clickable part of WWW! //www.muc.de/~gert/ Gert Doering - Munich, Germany gert at greenie.muc.de fax: +49-89-35655025 gert.doering at physik.tu-muenchen.de
does this happen with protocol 1 or 2? openssh's protocol 2 implementation does not transfer the tty modes to the server side (protocol 1 does, who wants to implement this?). -markus On Wed, Nov 22, 2000 at 09:41:45AM +0100, Ulrich Windl wrote:> When using OpenSSH 2.3.0p1 on HP-UX 11.00 the terminal's baud rate is > 300, causing non-desired effects in vi and Emacs: vi only shows a few > lines, and Emacs adds a huge delay after each line of output. > > When connecting via TELNET, I get at least 9600 baud. > > Should the login procedure mess with the baud rate? > > Regards, > Ulrich > P.S. I'm not subscribed to the list. > >
On 22 Nov 2000, at 22:27, Markus Friedl wrote:> does this happen with protocol 1 or 2?The protocol is the default one, thus "1".> > openssh's protocol 2 implementation does not transfer > the tty modes to the server side (protocol 1 does, who > wants to implement this?). > > -markusRegards, Ulrich