This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: testing Octave
- To: law at cygnus dot com
- Subject: Re: testing Octave
- From: "Philippe De Muyter" <phdm at macqel dot be>
- Date: Fri, 14 Aug 1998 01:09:22 +0200 (CEST)
- Cc: toon at moene dot indiv dot nluug dot nl, d dot love at dl dot ac dot uk, egcs at cygnus dot com
> tc{set,get}attr are actually used to control ttys, they have nothing
> to do with termcap.
Try
#define tcsetattr(fd, cmd, arg) ioctl((fd), (cmd), (arg))
#define tcgetattr(fd, arg) ioctl((fd), TCGETA, (arg))
and (if needed)
#define TCSADRAIN TCSETAW
#define TCSANOW TCSETA