On 28 Jan 1999, Niels [ISO-8859-1] Möller wrote:
> One question for those of you more familiar with tty handling: What is
> the right mode for the *local* tty? The current code sets it to raw
> mode (as defined by cfmakeraw()), if a remote pty is successfully
> allocated. 
I think it's the correct behaviour.

> And whick mode should be encoded into the pty-request? Currently, lsh
> tries to encode the terminal mode as it appears *after* the call to
> cfmakeraw. Is this right or wrong?
It's wrong. The programs at the server want to know the setup of your client
terminal before it is set to raw mode. Possible they can't do anything with a
raw mode...

Greets,
Keresztg

+ Keresztfalvi Gabor
+ Student of Technical University of Budapest
+ mailto: [EMAIL PROTECTED]  [EMAIL PROTECTED]  [EMAIL PROTECTED]
+ http://www.piar.hu/~keresztg/   Pubkey: finger [EMAIL PROTECTED]

Reply via email to