Date: Tue, 30 Oct 2001 13:47:03 +0200 From: "Eli Zaretskii" Sender: halo1 AT zahav DOT net DOT il To: ROLAND Message-Id: <1858-Tue30Oct2001134703+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: <20011030073129.215.qmail@web9105.mail.yahoo.com> (message from ROLAND on Mon, 29 Oct 2001 23:31:29 -0800 (PST)) Subject: Re: Problems with sgtty.h, ioctl.h and termios.h References: <20011030073129 DOT 215 DOT qmail AT web9105 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, 29 Oct 2001 23:31:29 -0800 (PST) > From: ROLAND > > Hasn't anybody found an answer yet? > I'm really stuck with this... You didn't really give us any meat to work with ;-) Some error messages, together with the code fragments which cause them, would be nice. Attaching a large program is not going to help: most people here are busy and don't have time to read large sources. > > For PC I need the same stuff that is in sgtty.h and I > > found that it was in termios.h and sys/ioctl.h. > > Only problem is that in sys/ioctl.h a part is turned > > off by a #if 0. > > Can someone tell me what I can do to make this > > program work? In general, DJGPP doesn't have sgtty.h, and the commented-out parts of sys/ioctl.h refer to functionality that is not implemented in DJGPP. To port programs which use such facilities, you would need some serious changes in the sources. Preferably, look for a version of the program which uses termios.h, not sgtty.h, since DJGPP includes a fairly functional emulation of termios.