delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/1998/04/08/19:10:39

From: Graffeo DOT James AT afams DOT af DOT mil (Graffeo, James)
Subject: RE: phantom file "aux" under bash b19
8 Apr 1998 19:10:39 -0700 :
Message-ID: <48E4FF0EBD48D111BC0E0000F8029A31225419.cygnus.gnu-win32@AFAMS-1>
Mime-Version: 1.0
To: "'Peter Miller'" <peterm AT jna DOT com DOT au>, gnu-win32 AT cygnus DOT com

 >  Having these files is *every* directory seems excessive.

They're not really in every directory. The open syscall in NT itself
(which gets called
by the Cygnus stuff) handles those names special, regardless of the
path. Its really
something built into NT (backward compatibility with DOS).

 > Surely they could be absolute?
 > 	/con, /com<n>, /lpt<n>, etc...

Not without rewriting a chunk of NT itself.

 > or even a touch unix-ish
 > 	/dev/con, /dev/aux, etc...

This does actually work. You can echo >/dev/con to display something on
the console.
-
For help on using this list (especially unsubscribing), send a message to
"gnu-win32-request AT cygnus DOT com" with one line of text: "help".

- Raw text -


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