/*
* $Log$
+ * Revision 1.10 2008/02/14 10:39:14 james
+ * *** empty log message ***
+ *
* Revision 1.9 2008/02/14 10:34:47 james
* *** empty log message ***
*
int baud;
int crtscts;
int cd_edge_sec;
+ int blocked;
int bootstrap;
} Status;
status.lines = tty_status.lines;
status.baud = tty_status.baud;
status.crtscts = (tty_status.termios.c_cflag & CRTSCTS) ? 1 : 0;
+ status.blocked=tty_status.blocked;
cd = (tty_status.lines & TIOCM_CD) ? 1 : 0;
ptr = do_line (ptr, status.lines, TIOCM_DSR);
ptr = do_line (ptr, status.lines, TIOCM_RI);
+ if (status.blocked)
+ {
+ t = ", Locked";
+ while (*t)
+ *(ptr++) = *(t++);
+ }
+
if (status.crtscts)
{
t = ", Flow";