bug-hurd
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: term & user space console


From: Marcus Brinkmann
Subject: Re: term & user space console
Date: Thu, 31 Jan 2002 20:35:34 +0100
User-agent: Mutt/1.3.27i

On Thu, Jan 31, 2002 at 02:11:23PM -0500, Roland McGrath wrote:
> > Do I use a third thread for assert_dtr?  If I need to assert the dtr, the
> > only strategy I can think of is to open in blocking mode.  However, if I use
> > synchronous RPC, this is better done in a seperate thread.  I don't know how
> > to assert the dtr otherwise.
> 
> You don't need an additional thread, because you are never reading or
> writing while keeping DTR low (you can't, since the way you keep DTR low is
> to close the terminal).

Well, ok, so I can probably put this into the reader loop, but then I
finally have to learn about interruptible RPCs, as I will have to interrupt
a blocking read then. ;)
 
> But anyway, I think you can just control DTR directly like other modem
> lines with TIOCM*.

I can make such requests, but how do I find out that the carrier really has
been established?  (Also, it would not allow servers to implement the open
behaviour but not the tiocl bit mangling).

Thanks,
Marcus

-- 
`Rhubarb is no Egyptian god.' Debian http://www.debian.org brinkmd@debian.org
Marcus Brinkmann              GNU    http://www.gnu.org    marcus@gnu.org
Marcus.Brinkmann@ruhr-uni-bochum.de
http://www.marcus-brinkmann.de



reply via email to

[Prev in Thread] Current Thread [Next in Thread]