[GRASS-dev] [grass-code P][347] Use termios on systems that have <termios.h>

grass-codep at wald.intevation.org grass-codep at wald.intevation.org
Fri Mar 30 02:34:39 EDT 2007


code P item #347, was opened at 2007-03-30 08:34
Status: Open
Priority: 3
Submitted By: Ed Schouten (edschouten)
Assigned to: Nobody (None)
Summary: Use termios on systems that have <termios.h> 
Patch status: None
Patch type: fix
GRASS component: gis.m
GRASS version: 6.2.1
GRASS CVS checkout date, if applies (YYMMDD): 


Initial Comment:
Most modern UNIX-like operating systems support the termios terminal interface, including FreeBSD. Next to termios, FreeBSD supports the antique sgtty interface as well.

There are some plans at the FreeBSD camp to remove the sgtty interface in the far future. It currently only works when the user is running a kernel with the option COMPAT_43TTY. This option is still on by default, but may already be disabled sooner.

The following patch will cause GRASS to use the termios interface on systems that support it, allowing people to use GRASS without issues on operating systems that only support termios.

----------------------------------------------------------------------

You can respond by visiting: 
http://wald.intevation.org/tracker/?func=detail&atid=205&aid=347&group_id=21




More information about the grass-dev mailing list