home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #19 / NN_1992_19.iso / spool / comp / os / msdos / programm / 9038 < prev    next >
Encoding:
Internet Message Format  |  1992-09-03  |  1.6 KB

  1. Path: sparky!uunet!cs.utexas.edu!sun-barr!olivea!bu.edu!transfer!bigbootay.sw.stratus.com!leadfoot
  2. From: leadfoot@bigbootay.sw.stratus.com (Mark Curtis)
  3. Newsgroups: comp.os.msdos.programmer
  4. Subject: Re: Any idea why NUL is busy inside of windows?
  5. Message-ID: <6161@transfer.stratus.com>
  6. Date: 3 Sep 92 23:26:13 GMT
  7. References: <6126@transfer.stratus.com> <1992Sep3.202411.3690@dcatlas.dot.gov>
  8. Sender: usenet@transfer.stratus.com
  9. Lines: 29
  10.  
  11. In article <1992Sep3.202411.3690@dcatlas.dot.gov>, joet@dcatlas.dot.gov (Joe Trott) writes:
  12. |> leadfoot@bigbootay.sw.stratus.com (Mark Curtis) writes:
  13. |> 
  14. |> >I can not get MS's C7 pwb to compile inside a dos window.  It gets
  15. |> >a sharing violation on the dev NUL.  NUL is used to throw away
  16. |> >unwanted output.  Outside of windows all is fine, but inside a dos
  17. |> >window any write accesses to NUL produce share violations.
  18. |> 
  19. |> >copy \autoexec.bat nul               inside a dos window causes A/R/F
  20. |> >                                     error message.  PWB displays an
  21. |> >                                     error prompt and aborts.
  22. |> 
  23. |> It is hard to resist thinking that this is an act of self preservation on
  24. |> the part of Windows.  Only by plugging up NUL can it prevent itself from
  25. |> being sucked into the void where it belongs.
  26.  
  27. I found the problem.  When I installed C7 somewhere in the docs it
  28. said something about redirecting kernel debug messages.  I don't have
  29. a second monitor or a dedicated terminal on com1, so I redirected the
  30. debug output to nul.  In system.ini I added:
  31. [debug]
  32. OutputTo=nul
  33.  
  34. This was the problem!
  35.  
  36. I'm not sure what to use so I just put a file name in there for
  37. right now.  Fixed the problem.
  38.  
  39. Mark
  40.