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
-- 
      David Guntner      GEnie: Just say NO!
 http://www.akaMail.com/pgpkey/davidg or key server
                 for PGP Public key


Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com

Reply via email to