From: "deckerben" Newsgroups: comp.os.msdos.djgpp References: <3DCFF598 DOT 98EA2134 AT junk DOT net> Subject: Re: djgpp or perl? Date: Mon, 11 Nov 2002 22:22:44 +0100 X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 6.00.2600.0000 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2600.0000 Lines: 42 Message-ID: <3dd01e72$0$3212$9b622d9e@news.freenet.de> NNTP-Posting-Host: 213.6.186.181 X-Trace: 1037049459 news.freenet.de 3212 213.6.186.181:2669 X-Complaints-To: abuse AT freenet DOT de To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Reply-To: djgpp AT delorie DOT com ----- Original Message ----- From: "A. Sinan Unur" Newsgroups: comp.os.msdos.djgpp Sent: Monday, November 11, 2002 8:35 PM Subject: Re: djgpp or perl? > Ian Chapman 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