[IronPython] IronPython Console on Unix.

Jonathan Jacobs korpse-ironpython at kaydash.za.net
Sun Jul 23 00:12:27 CEST 2006

Michael Foord wrote:
> Hmm... I've just tried it on several windows interpreters.
> Ctrl-Z as an exit works on Python 2.2.3 (???), but not Python 2.3, 2.4, 
> or 2.5b1

Did you forget to press enter after typing Ctrl-Z, like the "exit" message says?

Python 2.4.2 (#67, Sep 28 2005, 12:41:11) [MSC v.1310 32 bit (Intel)] on win32
Type "help", "copyright", "credits" or "license" for more information.
 >>> exit
'Use Ctrl-Z plus Return to exit.'

Incidentally, under *nix there is no need for enter after pressing Ctrl-D.

Python 2.4.4c0 (#2, Jun 14 2006, 22:35:41)
[GCC 4.1.2 20060613 (prerelease) (Debian 4.1.1-4)] on linux2
Type "help", "copyright", "credits" or "license" for more information.
 >>> exit
'Use Ctrl-D (i.e. EOF) to exit.'

More information about the Ironpython-users mailing list