Subject: Re: kern/33929: ucom fails to assert DTR
To: None <kern-bug-people@netbsd.org, gnats-admin@netbsd.org,>
From: Andreas Gustafsson <gson@gson.org>
List: netbsd-bugs
Date: 07/06/2006 13:05:02
The following reply was made to PR kern/33929; it has been noted by GNATS.

From: gson@gson.org (Andreas Gustafsson)
To: gnats-bugs@NetBSD.org
Cc: 
Subject: Re: kern/33929: ucom fails to assert DTR
Date: Thu, 6 Jul 2006 16:04:16 +0300 (EEST)

 Martin Husemann wrote:
 >  >        int i = TIOCM_RTS;
 >  >        ioctl(0, TIOCMBIS, &i);
 >  
 >  Isn't this a bug in tip then? Does cu behave the same?
 
 You are not supposed to have to set TIOCM_RTS explicitly.  On all the
 other Unix-like systems I have used for the last 20 years, RTS is
 asserted automatically when you open a tty.  That includes the "com"
 driver on NetBSD.
 
 The only userland programs in src that use TIOCM_RTS are moused and
 ntpd, which is appropriate since they both talk to hardware that is
 neither a standard modem nor terminal and abuses the modem control
 lines for their own special purposes.
 -- 
 Andreas Gustafsson, gson@gson.org