Zsh Mailing List Archive
Messages sorted by: Reverse Date, Date, Thread, Author

Re: PATCH: `read -t' tests for available input before reading.



On Jun 26,  3:54pm, Peter Stephenson wrote:
} Subject: PATCH: `read -t' tests for available input before reading.
}
} I implemented this because I need it for a set of commands [...]

May I suggest that the read_poll() helper function belongs somewhere 
other than in builtin.c ?  Perhaps in utils.c where other tty mucking
is located?  (Not that utils.c itself isn't getting a bit large.)

-- 
Bart Schaefer                                 Brass Lantern Enterprises
http://www.well.com/user/barts              http://www.brasslantern.com

Zsh: http://www.zsh.org | PHPerl Project: http://phperl.sourceforge.net   



Messages sorted by: Reverse Date, Date, Thread, Author