Re: TIOCGETP and sgtty.h

2010-11-24 Thread Bill Allombert
On Tue, Nov 23, 2010 at 05:25:29PM +0100, Petr Salinger wrote: I can force gap to use termios.h even when sgtty.h is available, but maybe kfreebsd could be fixed ? Well, the prefered method should be to use POSIX termios when available.

Re: TIOCGETP and sgtty.h

2010-11-24 Thread Petr Salinger
I agree. The bug here is that if termio.h is not present, then sgtty.h is prefered over termios.h, and the converse if termio.h is present. Is there still time to get the fixed version included in Squeeze ? This question is out of porter's scope. Please do upload into unstable and ask on

TIOCGETP and sgtty.h

2010-11-23 Thread Bill Allombert
Dear BSD porters, I just found out that my package 'gap' FTBFS on kfreebsd. It seems the issue is that the header sgtty.h exists but does not define TIOCGETP. I can force gap to use termios.h even when sgtty.h is available, but maybe kfreebsd could be fixed ? If possible I would like gap to

Re: TIOCGETP and sgtty.h

2010-11-23 Thread Timo Juhani Lindfors
Bill Allombert bill.allomb...@math.u-bordeaux1.fr writes: I can force gap to use termios.h even when sgtty.h is available, but maybe kfreebsd could be fixed ? So the ioctl works but the #define is just missing? (I looked at kernel and it does seem to handle TIOCGETP but I did not test it. It