Bug in csh? (exec v. job control)
Greg Noel
greg at ncr-tp.UUCP
Thu Apr 4 08:19:31 AEST 1985
There seems to be a bug in the way the C shell's exec function interacts
with job control. The quickest way to show it:
- Run the C shell and make sure that the SHELL environment variable
is set to /bin/csh.
- type "vi garbage-file" to get a program that will create a shell.
- type ":sh" to get a shell. The C shell should prompt you.
- type "exec echo foo" -- actually, exec any program. In theory,
this should run the specified program and then return to the editor.
Now tell me, why was the editor stopped with a "tty output"?
--
-- Greg Noel, NCR Torrey Pines Greg at ncr-tp.UUCP or Greg at nosc.ARPA
More information about the Comp.unix.wizards
mailing list