[Top][All Lists]

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

Re: std location for system console

From: Marcus Brinkmann
Subject: Re: std location for system console
Date: Mon, 2 Sep 2002 23:21:42 +0200
User-agent: Mutt/1.4i

On Mon, Sep 02, 2002 at 11:18:01PM +0200, Niels Möller wrote:
> Marcus Brinkmann <Marcus.Brinkmann@ruhr-uni-bochum.de> writes:
> > The cruel world outside requires us to implement ttyname(), which
> > uses the term_get_nodename RPC on the terminal node.
> Ooops. Then it needs to have some canonical name.

No, the name is passed as an argument to the translator.  See what we do for
term right now (like, what I wrote down three or four mails ago).

You can also use term_set_nodename.  But whoever does this must know the
name before it can do so.

> And if the tty nodes
> end up as /dev/vts/17/tty, that is probably also the right value to
> return from ttyname().

Of course.  It must be a filename which you can use to get a new port to the
same tty.


`Rhubarb is no Egyptian god.' GNU      http://www.gnu.org    marcus@gnu.org
Marcus Brinkmann              The Hurd http://www.gnu.org/software/hurd/

reply via email to

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