Mail Archives: djgpp/2001/10/30/06:53:55
> Date: Mon, 29 Oct 2001 23:31:29 -0800 (PST)
> From: ROLAND <roland_asmann AT yahoo DOT com>
>
> 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.
- Raw text -