Date: Tue, 13 Nov 2001 10:09:53 +0200 From: "Eli Zaretskii" Sender: halo1 AT zahav DOT net DOT il To: roland_asmann AT yahoo DOT com Message-Id: <2561-Tue13Nov2001100952+0200-eliz@is.elta.co.il> X-Mailer: emacs 21.1.50 (via feedmail 8 I) and Blat ver 1.8.9 CC: djgpp AT delorie DOT com In-reply-to: <20011113070013.10480.qmail@web9102.mail.yahoo.com> (message from ROLAND on Mon, 12 Nov 2001 23:00:13 -0800 (PST)) Subject: Re: Problems with sgtty.h, ioctl.h and termios.h References: <20011113070013 DOT 10480 DOT qmail AT web9102 DOT mail DOT yahoo DOT com> 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 Precedence: bulk > Date: Mon, 12 Nov 2001 23:00:13 -0800 (PST) > From: ROLAND > > 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? It is required on Unix to set up the terminal device. On DJGPP platforms, the underlying functionality isn't supported, so if you remove the code, the program might work.