bug-hurd
[Top][All Lists]
Advanced

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

Re: term & user space console


From: Roland McGrath
Subject: Re: term & user space console
Date: Thu, 31 Jan 2002 14:11:23 -0500 (EST)

> 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).

But anyway, I think you can just control DTR directly like other modem
lines with TIOCM*.



reply via email to

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