On Friday 01 Aug 2003 9:25 pm, David Guntner wrote: > Felix Miata grabbed a keyboard and wrote: > > David Guntner wrote: > > > Nope. Control-D is simply used as an end-of-file indicator. > > > If you EOF a *lot* of different program inputs, it will end > > > that program (or at least, end it from looking for further > > > input :). In the case of a shell prompt, it's *only* looking > > > for input from you, so if you EOF it, it assums that you're > > > done and closes. > > > > I think Ctrl-D was selected 30+ years ago to mean EOF as a > > keyboard mnemonic to D for disconnect (teletype/modem/EOT), as > > opposed to E or Z for end or S for stop or Q for quit. M$-DOS > > (much younger than *nix) does use Ctrl-Z/F6 to mean EOF. > > My first computer job had me running a system with a teletype > (paper tape punch/reader included :). It's been a LONG time, but I > think that the D key showed "EOD" on it (now that I try to recall > :), as in End Of Data. Thus, ^D ended your input. > > Ah, memories.... :-) > > --Dave
But interesting ones - thanks, everybody. I've obviously not been at this long enough - barely more than 20 years - and ^Z was what I knew. All a long time ago <sigh> Anne
Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com
