home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #16 / NN_1992_16.iso / spool / comp / os / os2 / misc / 25813 < prev    next >
Encoding:
Text File  |  1992-07-28  |  1.3 KB  |  33 lines

  1. Newsgroups: comp.os.os2.misc
  2. Path: sparky!uunet!gatech!destroyer!fmsrl7!lynx!nmsu.edu!opus!ghenniga
  3. From: ghenniga@NMSU.Edu
  4. Subject: null device (was Re: The Ultimate OS/2 FTP Source)
  5. In-Reply-To: parry@yoyo.cc.monash.edu.au's message of Tue, 28 Jul 1992 04:35:28 GMT
  6. Message-ID: <GHENNIGA.92Jul28134847@ampere.ampere>
  7. Sender: usenet@nmsu.edu
  8. Reply-To: ghenniga@NMSU.Edu
  9. Organization: New Mexico State University - Electromagnetics Group
  10. References: <712115518snx@w3vh.UUCP> <1992Jul28.043528.18027@monu6.cc.monash.edu.au>
  11. Date: Tue, 28 Jul 1992 20:48:47 GMT
  12. Lines: 19
  13.  
  14.  
  15. parry@yoyo.cc.monash.edu.au (Tom J Parry) writes:
  16. >rolfe@w3vh.UUCP (Rolfe Tessem) writes:
  17. >> 
  18. >> (flames to /dev/null please -- whoops, does OS/2 have a /dev/null?)
  19. >
  20. >Yep, but it would probably be called /dev/nul
  21. >If you do a COPY CON, it tells you it is copying to /dev/con. I can only
  22. >presume that /dev/nul will therefor also exist. (I seem to rememebr it
  23. >does).
  24.  
  25. OS/2 does indeed have a null device. The correct way to access it is via 
  26. NUL, e.g., "type config.sys > NUL:" but apparently /dev/nul also works. Is
  27. this some portent of things to come, i.e., Unix-like devices? Who knows?
  28.     You can also do a "DIR \DEV\NUL" or a "DIR \DEV\CON" and it shows a
  29. file, although "DIR \DEV\*" doesn't show anything.
  30.  
  31. Gary
  32. (ghenniga@NMSU.Edu)
  33.