/*
* $Log$
+ * Revision 1.4 2008/02/23 13:05:58 staffcvs
+ * *** empty log message ***
+ *
* Revision 1.3 2008/02/13 16:57:29 james
* *** empty log message ***
*
raw_termios (struct termios *termios)
{
- termios->c_iflag = ICRNL | IXON;
- termios->c_oflag = OPOST | ONLCR | NL0 | CR0 | TAB0 | BS0 | VT0 | FF0;
- termios->c_lflag =
+ termios->c_iflag = 0;
+/*ICRNL | IXON;*/
+ termios->c_oflag = NL0 | CR0 | TAB0 | BS0 | VT0 | FF0;
+ termios->c_lflag = 0;
+/*
ISIG | ICANON | IEXTEN | ECHO | ECHOE | ECHOK | ECHOCTL | ECHOKE;
+*/
termios->c_cc[VINTR] = 003;
termios->c_cc[VQUIT] = 034;
default_termios (struct termios *termios)
{
- memset (termios, 0, sizeof (termios));
+// memset (termios, 0, sizeof (termios));
raw_termios (termios);
termios->c_cflag = CS8 | CREAD | CLOCAL;
+ termios->c_iflag |= PARMRK | INPCK;
- cfsetispeed (termios, B9600);
- cfsetospeed (termios, B9600);
+ //cfsetispeed (termios, B9600);
+ //cfsetospeed (termios, B9600);
}