delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1995/05/01/15:13:41

Date: Mon, 1 May 1995 14:19:17 -0400
From: kagel AT quasar DOT bloomberg DOT com
To: eliz AT is DOT elta DOT co DOT il
Cc: djgpp AT sun DOT soe DOT clarkson DOT edu
Subject: Re: your mail RE: mine on Strange problem.
Reply-To: kagel AT ts1 DOT bloomberg DOT com

   > porting it back to DOS/DJGPP I noticed that writing to LPT1:/PRN: would
   > furiously churn the disk but produce nothing!  I have taken to writing the
   > output to disk and then printing that from DOS.

   That one's easy: DOS doesn't recognize LPT1: or PRN: as special when you
   attach a colon to them.  Use LPT1, PRN, etc., and it will work.

I know.  The common way to refer to these devices at the command line is with
the colon so...  I am certain I wrote the code to refer to LPT1 and PRN without
colons, however, I will certainly take another look at it.  I just remembered
that I also tried writing to stdprn, which the info pages say is supported, as
I did with the 16-bit compiler and got the same strange result.   Thanks.

-- 
Art S. Kagel, kagel AT ts1 DOT bloomberg DOT com

- Raw text -


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