delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/2002/11/11/13:30:07

Message-ID: <3DCFF598.98EA2134@junk.net>
From: Ian Chapman <ian_chapman AT junk DOT net>
X-Mailer: Mozilla 4.79 [en] (Win98; U)
X-Accept-Language: en
MIME-Version: 1.0
Newsgroups: comp.os.msdos.djgpp
Subject: djgpp or perl?
Lines: 15
Date: Mon, 11 Nov 2002 13:23:21 -0500
NNTP-Posting-Host: 64.230.53.129
X-Complaints-To: abuse AT sympatico DOT ca
X-Trace: news20.bellglobal.com 1037038953 64.230.53.129 (Mon, 11 Nov 2002 13:22:33 EST)
NNTP-Posting-Date: Mon, 11 Nov 2002 13:22:33 EST
Organization: Bell Sympatico
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp
Reply-To: djgpp AT delorie DOT com

I’m at sympatico dot ca not junk.net
Hi,
 I’m having a small problem with ctl D in that I’m not able generate
this in perl under both DOS and Bash.

Perl –e ‘@junk = <STDIN>;’

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?

  Regards Ian.


- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019