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. http://www.opengroup.org/onlinepubs/9699919799/basedefs/termios.h.html The sgtty.h from (e)glibc is the same as on Linux, just stubs. On Linux: checking termios.h usability... yes checking termios.h presence... yes checking for termios.h... yes checking termio.h usability... yes checking termio.h presence... yes checking for termio.h... yes checking sgtty.h usability... yes checking sgtty.h presence... yes checking for sgtty.h... yes On kfreebsd: checking termios.h usability... yes checking termios.h presence... yes checking for termios.h... yes checking termio.h usability... no checking termio.h presence... no checking for termio.h... no checking sgtty.h usability... yes checking sgtty.h presence... yes checking for sgtty.h... yes Petr --- src/sysfiles.c +++ src/sysfiles.c @@ -1523,7 +1523,7 @@ ** to cooked mode before stopping GAP and back to raw mode when continueing. */ -#if !SYS_IS_DARWIN && (SYS_BSD || SYS_MACH || HAVE_SGTTY_H) +#if !HAVE_TERMIOS_H && !SYS_IS_DARWIN && (SYS_BSD || SYS_MACH || HAVE_SGTTY_H) #ifndef SYS_SGTTY_H /* terminal control functions */ # include <sgtty.h> @@ -2072,7 +2072,7 @@ ** *f syStopraw( <fid> ) . . . . . . . . . . . . . . . . . . . . . . BSD/MACH */ -#if !SYS_IS_DARWIN && (SYS_BSD || SYS_MACH || HAVE_SGTTY_H) +#if !HAVE_TERMIOS_H && !SYS_IS_DARWIN && (SYS_BSD || SYS_MACH || HAVE_SGTTY_H) void syStopraw ( Int fid ) -- To UNSUBSCRIBE, email to [email protected] with a subject of "unsubscribe". Trouble? Contact [email protected] Archive: http://lists.debian.org/[email protected]

