[net.unix-wizards] Cshell w/completion ... bug found

dennis@qumix.UUCP (Dennis T. Chen) (12/14/83)

The "stty -echo" won't work found in the New Csh with tenex-like file
name and command completion which was posted in the net by Ken Greer
about 2 months ago.  If anyone in the net has a fix please post to the
net since it is public domain.
				_Dennis Chen, ittvax!qumix!dennis

thomas@utah-gr.UUCP (Spencer W. Thomas) (12/16/83)

That's not a bug, it's a V-GER!  Really, the tcsh thinks it's simpler to
always echo, then it has last work to figure out how to wipe out the
echo of the escape, and all that.  Anyway, if you want to turn off echo
for the execution of a particular program, the sequence
	% stty -echo ; prog
will always work.

=Spencer

stevea@uiucdcs.UUCP (12/17/83)

#R:qumix:-23400:uiucdcs:13700048:000:441
uiucdcs!stevea    Dec 16 18:00:00 1983

This is deliberately disabled.  To fix, find the line in routine setup_tty
(tenex.c) which says

    sgtty.sg_flags |= ECHO;

and comment it out.  This makes the shell look pretty dumb when it does
a command completion, and all you see is what it supplys...

					Steve Alexander

			University of Illinois at Urbana-Champaign
			 ...!{parsec,pur-ee,ihnp4}!uiucdcs!stevea
                  CSnet: stevea@Uiuc	ARPAnet: stevea.Uiuc@Rand-Relay

kg@hplabs.UUCP (Ken Greer) (12/17/83)

	The "stty -echo" won't work found in the New Csh with tenex-like file
	name and command completion which was posted in the net by Ken Greer
	about 2 months ago.  If anyone in the net has a fix please post to the
	net since it is public domain.
					_Dennis Chen, ittvax!qumix!dennis

% sh
should work nicely.

			-Ken Greer
-- 
Ken Greer