bug-hurd
[Top][All Lists]
Advanced

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

Re: console-client close to initial check in


From: Marcus Brinkmann
Subject: Re: console-client close to initial check in
Date: Thu, 12 Sep 2002 16:23:14 +0200
User-agent: Mutt/1.4i

On Wed, Sep 11, 2002 at 04:02:49PM -0400, Roland McGrath wrote:
> > I am thinking about running getty on the command line directly, so I can
> > add one without putting it into ttys and reboot.
> 
> Well then just run it.  That's all runttys does.  Oh, it calls setsid first.

Have to try this again, maybe I didn't do it correctly last time.
 
> > Ah, yes, put on my to do list.  I would add it right quick, but I would
> > prefer to have option parsing in drivers implemented before that.  I am
> > unsure how to do that, though.  Is the following ok?
> > 
> > console --driver vga --many-glyphs \
> >         --driver pc_kbd --jump-to-bottom-at-keypress \
> >         /dev/vcs
> 
> Good enough.  I think it should work to just recurse into an argp for the
> driver at that point.  Driver argps should just leave trailing unknown
> arguments alone.  Then the main argp picks up the argp->next it left and
> knows to skip those args.

You mean calling the argp parser again?  argp is not reentrant (although the
code claims to use recursive locks so it is possible to recurse if you are
careful).  I think Niels wrote a reentrant stand-alone argp, maybe the
changes can be merged back into glibc?  I have to admit that some details of
argp still confuse me.

Thanks,
Marcus

-- 
`Rhubarb is no Egyptian god.' GNU      http://www.gnu.org    marcus@gnu.org
Marcus Brinkmann              The Hurd http://www.gnu.org/software/hurd/
Marcus.Brinkmann@ruhr-uni-bochum.de
http://www.marcus-brinkmann.de/




reply via email to

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