delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/2001/11/13/02:49:07

Message-ID: <20011113070013.10480.qmail@web9102.mail.yahoo.com>
Date: Mon, 12 Nov 2001 23:00:13 -0800 (PST)
From: ROLAND <roland_asmann AT yahoo DOT com>
Subject: Re: Problems with sgtty.h, ioctl.h and termios.h
To: Eli Zaretskii <eliz AT is DOT elta DOT co DOT il>
Cc: djgpp AT delorie DOT com
In-Reply-To: <Pine.SUN.3.91.1011108152403.13841B-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

--- Eli Zaretskii <eliz AT is DOT elta DOT co DOT il> wrote:
> 
> What device is open on handles f3 and f4?  If that
> is the terminal (as it 
> seems it is), you could try simply commenting out
> this code, I don't 
> think it's needed with DJGPP.
> 
> OTOH, if the device is not a terminal, but e.g. an
> async communication 
> port, then this code will not work with DJGPP at
all.

On f3 and f4 there is indeed a terminal (/dev/tty0),
so I will try commenting out this code.
But I have one little question before I do so.
Since I didn't write this code (I was only told to
make it run on a PC), why is this code in there if it
can be commented out? Or is it a vital part of
programming for UNIX?


__________________________________________________
Do You Yahoo!?
Find the one for you at Yahoo! Personals
http://personals.yahoo.com

- Raw text -


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