Subject: CVS commit: basesrc/usr.sbin/sushi
To: None <source-changes@netbsd.org>
From: Charles M. Hannum <mycroft@netbsd.org>
List: source-changes
Date: 09/19/2002 03:45:49
Module Name: basesrc
Committed By: mycroft
Date: Thu Sep 19 00:45:48 UTC 2002
Modified Files:
basesrc/usr.sbin/sushi: run.c
Log Message:
select() -> poll()
Also, change the way console input is passed to the subprocess -- instead of
echoing it in sushi, instead set the pty to cooked mode and have it do any
echoing. This will work better if we have scripts that accept input (sometimes
we don't want it visible; e.g. if it's a password) and also has the side effect
of allowing a command to be interrupted with ^C.
To generate a diff of this commit:
cvs rdiff -r1.6 -r1.7 basesrc/usr.sbin/sushi/run.c
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.