Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 13 Jun 1998 11:36:30 -0700
From:      Mike Smith <mike@smith.net.au>
To:        "Ekaterina N. Ivannikova" <kate@forsys.msk.ru>
Cc:        Mike Smith <mike@smith.net.au>, freebsd-small@FreeBSD.ORG
Subject:   Re: netstat is not working 
Message-ID:  <199806131836.LAA00571@antipodes.cdrom.com>
In-Reply-To: Your message of "Sat, 13 Jun 1998 16:05:16 %2B0400." <Pine.BSI.3.90.980613155109.15258A-100000@ns.forsys.msk.ru> 

next in thread | previous in thread | raw e-mail | index | archive | help
> > > Another question:
> > > Is there any way of using multiple virtual consoles without overhead of 
> > > getty, login & Co. short of writing one's one getty ?  
> > 
> > Sure; just start a shell pointed at the correct vty directly.  You can 
> > only switch to a vty that has something running on it, but you don't 
> > need to be using getty, login or even init.
> > 
> I'd hate to sound like an imbecille but still: _how_ ?

Write a small program that opens the vty, makes it it's controlling 
terminal, points stdin, stdout and stderr at it, and then execs $SHELL.

-- 
\\  Sometimes you're ahead,       \\  Mike Smith
\\  sometimes you're behind.      \\  mike@smith.net.au
\\  The race is long, and in the  \\  msmith@freebsd.org
\\  end it's only with yourself.  \\  msmith@cdrom.com



To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-small" in the body of the message



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199806131836.LAA00571>