Mail Archives: djgpp/2002/11/11/16:30:08
----- Original Message -----
From: "A. Sinan Unur" <asu1 AT c-o-r-n-e-l-l DOT edu>
Newsgroups: comp.os.msdos.djgpp
Sent: Monday, November 11, 2002 8:35 PM
Subject: Re: djgpp or perl?
> Ian Chapman <ian_chapman AT junk DOT net> wrote in
> news:3DCFF598 DOT 98EA2134 AT junk DOT net:
> > Should put the keyboard output into array junk including multiple CR
> > bytes. The exit is ctl D. All I get from ctl D is "^D" and I'm stuck
> > until I give ctl C followed by CR which junks me out of perl back to
> > the shell command line. Any ideas?
>
> The representation of EOF is system dependent. On DOS systems, it is
CTRL-Z
> as opposed to the Unix convention of CTRL-D.
Hmmmm... is it necessary to stick to that convention?
In PythonD, CTRL-D exists the program and this will not change although the
upcoming release now has os.name defined as 'nt' instead of 'posix'.
CTRL-Z escapes the user to a temporary system shell, a feature that I like.
For those that are not sure which way to exit, typing 'exit' or 'quit' will
explain the keys.
None of this seems to affect performance on my system in any way, AKAIK....
Ben
- Raw text -