Re: how to insert EOF from keyboard ?
On Thu, 1 Oct 1998, Kendall P. Bullen wrote:
: On Thu, 1 Oct 1998, Jan Krupa wrote:
:
: > Could someone please tell how can I insert under
: > Linux (debian2.0) EOF (end of file) sign (in C lang.) from keyboard?
: > I mean what sequence of keys ?
:
: Er, insert it where?! In EMACS, you would press control-Q control-D
: (^Q^D) to insert a control-D into the file you're editing. To close a
: file you're cat'ing with `cat > 123' you would just press control-D
: (^D). I dunno how you'd insert a control-D into a file using VI.
ctrl-v ctrl-d
--
Nathan Norman
MidcoNet 410 South Phillips Avenue Sioux Falls, SD
mailto:finn@midco.net http://www.midco.net
finger finn@home.midco.net for PGP Key: (0xA33B86E9)
Reply to: