lkml.org 
[lkml]   [1998]   [Mar]   [19]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: Warning, cua2 opened, ...
   Date: 	Thu, 19 Mar 1998 11:47:04 +0100 (MET)
From: DAVID BALAZIC <david.balazic@uni-mb.si>

I'm sure sure if we're talking about the same thing , but U can
set tty properties like this with stty (GNU sh-utils) 1.16 :
stty </dev/ttyS0 <flags-here>

That doesn't work if /dev/ttyS0 has the carrier detect line low, and
CLOCAL is turned off; when the shell opens /dev/ttyS0, it will block
waiting for carrier detect to go high.

That's why you want stty to support:

stty -f /dev/ttyS0 <flags-here>

... where stty uses the proper POSIX-specified way of opening POSIX ttys
without blocking on the carrier detect line.

- Ted

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu

\
 
 \ /
  Last update: 2005-03-22 13:41    [W:0.037 / U:0.844 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site