This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: testing Octave


> 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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]