Subject: Re: Virutal consoles?
To: Nathan Gelbard <gelbard@ENGR.ORST.EDU>
From: Patrick Welche <prlw1@cam.ac.uk>
List: netbsd-help
Date: 06/01/1997 22:34:47
Nathan Gelbard wrote:
>
> Back when I was running Linux, there was a way to switch text consoles
> with a 3-key combo. I had up to 32 virtual consoles I think. Is there
> any support/way to do this under NetBSD (1.2)?
>
> Thanx,
> Nate
>
I assume you mean for the i386 port, in which case you want
options PCVT_NETBSD="120"
and
#pc0 at isa? port 0x60 irq 1 # generic PC console device
vt0 at isa? port 0x60 irq 1
in your kernel configuration.
cd /dev
MAKEDEV /dev/ttyvX
where X=0 to 7 (the default number of virtual consoles is 8)
cd /usr/src/sys/arch/i386/isa/pcvt
more README.FIRST
cd Util
make && make install
Add to /etc/ttys
ttyvX "/usr/libexec/getty Pc" pc3 on secure
where again X=0 to 7
After all that, ctrl-alt-f1 etc. will give you your virtual consoles.
Good luck!
Patrick