Keresztfalvi Gabor Agoston <[EMAIL PROTECTED]> writes:

> /bin/id works if I make SHUTDOWN defined as 0 (but doesn't close the
> connection after running it. Indeed it doesn't close the connection also after
> bash. It's already in the TODO ;). 

Closing the connection on eof or process termination seems to work
with my current version. But I haven't checked if that still works if
I disable shutdown(). 

What does configure say about your shutdown (is the
SHUTDOWN_WORKS_WITH_UNIX_SOCKETS macro defined in config.h)?

> Bash works quite strange... I don't get prompt string, but the porgrams work.
> (But control chars (eg. ctrl-P) doesn't.)
> According to stty: standard input: Invalid argument
> Ooops. Maybe we aren't a real terminal? Only a simple stdin-stdout (dumb
> terminal)? Obviously this is true, because we don't do anything for being a
> registered terminal with a login shell on the remote machine.

As you say, there's no pty support yet (it's on the TASKLIST). You can
get bash to run in interactive mode anyway, by doing exec bash -i. But
that will still not work quite as usual, as your local tty will do
line buffering and echoing.

/Niels

Reply via email to