Message-ID: <3DD27521.6CA25886@junk.net> From: Ian Chapman X-Mailer: Mozilla 4.79 [en] (Win98; U) X-Accept-Language: en MIME-Version: 1.0 Newsgroups: comp.os.msdos.djgpp Subject: Re: djgpp or perl? References: Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Lines: 19 Date: Wed, 13 Nov 2002 10:52:02 -0500 NNTP-Posting-Host: 64.230.53.129 X-Complaints-To: abuse AT sympatico DOT ca X-Trace: news20.bellglobal.com 1037202657 64.230.53.129 (Wed, 13 Nov 2002 10:50:57 EST) NNTP-Posting-Date: Wed, 13 Nov 2002 10:50:57 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 > If Perl uses termios, it might be a bug in our termios emulation, or it > might be that you need to tell termios to treat Ctrl-D as EOF (I don't > remember if that is the default). I've changed my perl call from #!/home/bin/perl -w to #!/home/bin/perl -wC and now if I give CR CR it does what was documented to do. I guess this should be considered as a workround? Many thanks for your support. Regards Ian. PS the perl news group gave this reply It used to use standard C stream functionality to implement readline() (which is what gets called by the <> operator. As of 5.8.0 there is an extra PerlIO layer in there, but I would be extremely surprised if that fiddled with terminal settings.