On Tue, Apr 10, 2001 at 08:01:01PM +0200, Niels Möller wrote:
> I'm looking into escape char handling, but I don't yet know what is
> the right thing to do. There' actually two problems:
>
> If I run lsh, and successfully gets a pty at the remote end, lsh
> sets the local terminal to raw mode. If I then send the SIGTSTP
> signal to stop lsh, it stops all right.
check out openssh's clientloop.c:client_suspend_self()
it's inherited from ssh-1.2.x
we call leave_raw_mode() and restore the raw mode again, later.
-m