www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/2002/10/17/01:52:33

Date: Thu, 17 Oct 2002 07:51:23 +0200 (IST)
From: Eli Zaretskii <eliz AT is DOT elta DOT co DOT il>
X-Sender: eliz AT is
To: deckerben <deckerben AT freenet DOT de>
cc: djgpp AT delorie DOT com
Subject: Re: Serial port (RS232C) open
In-Reply-To: <3dadc6fa$0$182$9b622d9e@news.freenet.de>
Message-ID: <Pine.SUN.3.91.1021017074807.3848C-100000@is>
MIME-Version: 1.0
Reply-To: djgpp AT delorie DOT com
Errors-To: nobody AT delorie DOT com
X-Mailing-List: djgpp AT delorie DOT com
X-Unsubscribes-To: listserv AT delorie DOT com

On Wed, 16 Oct 2002, deckerben wrote:

> Thanks... I was wondering, too. Is it neccessary to use COM1, or does com1
> also work?

Both should work: this is DOS/Windows, where file names are 
case-insensitive.

> Is there an info node or man page that lists the entire DJGPP
> device nomenclature (/dev/lpt?, /dev/aux, etc.)

DJGPP supports any character device installed on the system.  COM1, LPT1, 
AUX, etc. are standard DOS devices, but there could be others; it's 
impossible to list them all.  For the list of standard DOS devices, look 
in any good book about DOS.

DJGPP sets things up so that /dev/foo and foo wind up calling the same 
device driver, so you could use both.

> Is it possible to map new
> devices into the DJGPP bash ... like setting a certain printer to /dev/lp0?

I don't understand the question, sorry.  What do you mean by ``map new 
devices'', exactly?  Can you tell the details?

> (alias only works for command names)

Bash has variables as well as aliases.

- Raw text -


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