4.xBSD /bin/csh bug fix wanted.. - (nf)

Mark Horton mark at cbosgd.UUCP
Mon Feb 13 13:23:21 AEST 1984


It's not a bug in csh, it's a misfeature of eval.  You're supposed to
invoke tset like this
	set noglob
	eval `tset -s ....`
Even though tset outputs "set noglob" at the beginning, it doesn't do
any good because the line is scanned before the first set is done.
(It says so on the tset manual page, which I wish people would read
before reporting this "bug".)

This only matters for terminals that have shell special characters
in their termcaps, such as *.

The "every other time" behaviour happens because on the alternate
times, noglob is being set (and left set since the 2nd part bombs
out before it can be cleared) and then cleared (when it works fine).



More information about the Comp.bugs.4bsd.ucb-fixes mailing list