www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1995/05/02/13:27:43

Date: Tue, 2 May 1995 09:28:45 -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

   Errors-To: postmaster AT ts1
   Date: Tue, 2 May 1995 08:46:31 +0300
   From: eliz AT is DOT elta DOT co DOT il (Eli Zaretskii)
   Cc: djgpp AT sun DOT soe DOT clarkson DOT edu
   X-Sun-Charset: US-ASCII
   Content-Type: text
   Content-Length: 351

   > 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.

   stdprn should work, just like stdin and stdout.  Can you test it with a
   small test program and post the results?

I just went back and tested the pr program again last night.  Whether I write 
to stdprn or explicitly open LPT1 and write to it I get the same results, ie
there is a temp file (P000075.0 usually) left in the current directory with the
output intended for the printer and nothing is sent to the physical printer.  
My printer is a parallel printer in LPT1:.  I generally run a LaserJet emulator
but have uninstalled it for testing this.  BTW, the sort program also writes a
temp file which is deleted on exit but the piped program is not getting it 
attached to its stdin.  These two problems seem to be related somehow, although
the pr program's trouble is independent of how it is invoked while the sort
works file if explicitely invoked with go32 without a drive letter in the path
to the exec image.

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

- Raw text -


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