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

Re: virtual terminals



on Mon, Mar 19, 2001 at 01:07:06AM -0700, Jed Strauss (strauss@peakpeak.com) wrote:
> On Mon, Mar 19, 2001 at 11:27:44PM -0800, Alexander Poquet wrote:
> > hey folks.
> > 
> > i was just wondering about virtual terms -- is there an easy way to change
> > how many there are?  debian seems to default at 6 running getty, and X
> > opens up 7.  presumably i can use as many as 12?  how does this work?
> > is it as simple as running getty from init, or is there a kernel definition
> > somewhere that specifies how many i can have, or a little of both?
> > 
> > is there some documentation on the subject somewhere?
> > 
> > -- 
> > Alexander Poquet                | We leave the obvious generalizations to the
> > atpoquet@ucdavis.edu            | reader.                  -- Israel Herstein
> > Use of PGP preferable in reply  |               Use Linux!
> 
> I think up until kernel 1.1.54 you had to recompile to change the number
> of virtual consoles. Now you can just add a line in /etc/inittab:
> 
> 8:23:respawn:/sbin/getty 38400 tty8
> 
> This will give you another console on cntrl-alt-f8 after a reboot. Be
> careful using tty7 to avoid an X conflict

X launches to the first unoccupied VT if one isn't explicitly specified.

> --I don't know what would happen if getty and X both tried to use the
> same device.

Things get ugly.  Fast.

> There's a huge number of tty's available (try ls
> /dev/tty*), 

64 by default.  You can compile in more if you need them.

> but I suppose you're limited to 12, one for each of the F keys.

Nope.

    man chvt

Cheers.

-- 
Karsten M. Self <kmself@ix.netcom.com>    http://kmself.home.netcom.com/
 What part of "Gestalt" don't you understand?       There is no K5 cabal
  http://gestalt-system.sourceforge.net/         http://www.kuro5hin.org

Attachment: pgpWwoqGBYOQl.pgp
Description: PGP signature


Reply to: