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

Re: workaround for rsh problem



coleman@xxxxxxxxxxxxxxx wrote:
> The following workaround for the rsh problem was in the
> zsh-2.5.03 sources.

This is is of course obvious, but you can do it by hand:  I have some
code inside an rsh that does

exec <&- >$logfile 2>&1 3<&- 4<&- 5<&- 6<&- 7<&- 8<&- 9<&-

and it seems to work with all shells with proper syntax.

-- 
Peter Stephenson <pws@xxxxxx>       Tel: +49 33762 77366
WWW:  http://www.ifh.de/~pws/       Fax: +49 33762 77330
Deutches Electronen-Synchrotron --- Institut fuer Hochenergiephysik Zeuthen
DESY-IfH, 15735 Zeuthen, Germany.



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