Gripe: Use Ctrl-D (i.e. EOF) to exit
Irmen de Jong
irmen at -NOSPAM-REMOVETHIS-xs4all.nl
Mon Feb 23 17:19:48 EST 2004
Mike Maxwell wrote:
> that (actually, I translate ^D into a sequence of "cursor downs"), and
> hitting the Ctrl-D key therefore does not drop me out of Python. More
> generally, it is probably not uncommon for someone to translate ^D into
> something else, using xmodmap or some such. I need to kill the entire
> X-terminal to stop Python.
How the hell do you send a EOF then, to the many other applications that
read from stdin until EOF? (such as most standard unix tools)
(Also see Peter's reply.)
--Irmen
More information about the Python-list
mailing list