* EOF and cntrl-D
@ 1994-07-06 20:08 Randall Smith
1994-07-11 14:12 ` Frank Wortner
0 siblings, 1 reply; 2+ messages in thread
From: Randall Smith @ 1994-07-06 20:08 UTC (permalink / raw)
A small, but annoying problem. We're running OSF/1 V2.0 on a DEC
3000/300LX, and the problem is, ctrl-D doesn't work to close a file.
It won't work in mailx, even with unset ignoreeof, and it won't work
to close a file with cat > file.txt ; text ; ctrl-D. However, it
_will_ work to log out; ie, ctrl-D at the command prompt exits. I'm
running tcsh 6.03.00, if that matters, and ignoreeof is not shown in
either set or setenv.
Am I missing something silly? Or is this a default I can change?
Thanks,
Randy Smith
rsmith@wisp5.physics.wisc.edu
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: EOF and cntrl-D
1994-07-06 20:08 EOF and cntrl-D Randall Smith
@ 1994-07-11 14:12 ` Frank Wortner
0 siblings, 0 replies; 2+ messages in thread
From: Frank Wortner @ 1994-07-11 14:12 UTC (permalink / raw)
In article <RSMITH.94Jul6150818@wisp5.physics.wisc.edu>, rsmith@wisp5.physics.wisc.edu (Randall Smith) writes:
|> ctrl-D doesn't work to close a file.
|> It won't work in mailx, even with unset ignoreeof, and it won't work
|> to close a file with cat > file.txt ; text ; ctrl-D. However, it
|> _will_ work to log out; ie, ctrl-D at the command prompt exits. I'm
|> running tcsh 6.03.00
I just tried your examples under various shells. Unfortnately, I don't
have a copy of tcsh handy. Control-D does cause an EOF under
GNU bash, /bin/sh, /bin/ksh, and /bin/csh.
Frank
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~1994-07-11 14:12 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1994-07-06 20:08 EOF and cntrl-D Randall Smith
1994-07-11 14:12 ` Frank Wortner
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox