Return to BSD News archive
Newsgroups: comp.unix.bsd.freebsd.misc
Path: euryale.cc.adfa.oz.au!newshost.anu.edu.au!harbinger.cc.monash.edu.au!simtel!chi-news.cic.net!newsfeed.internetmci.com!in1.uu.net!zib-berlin.de!irz401!theatre.pandora.sax.de!mw
From: mw@theatre.pandora.sax.de (Martin Welk)
Subject: Re: PCVT console driver and virtual consoles
Organization: Private Site, Member of Individual Network e. V.
Message-ID: <DH5n0r.K4G@theatre.pandora.sax.de>
References: <46qrnu$4sb@news.tamu.edu>
Date: Sat, 28 Oct 1995 10:41:15 GMT
Lines: 53
In article <46qrnu$4sb@news.tamu.edu>,
Michael B. Reed <mbreed@cs.tamu.edu> wrote:
>I've compiled support for the PCVT console driver, and so far it's worked
>fine, except for the fact that I can't switch between virtual consoles using
>the alt-function key combination.
That's right, because...
>I would assume that this can be done, especially since I've found the
>PCVT_NSCREENS option in pcvt_conf.h. I did put this line in the kernel
>config and specified a number of virtual consoles to support before compiling
>the kernel.
...pcvt uses the F9-F12 keys for the first four virtual consoles
(you can also use Ctrl-Alt-F1 to ...-F8.) If you're running X and
want to get back to a text console, you will always need to press
Ctrl-Alt-F1 (...F2, ...F3 and so on.)
>And just for the sake of completeness - do I need to update any of the
>entries in /etc/ttys?
Yep. As pcvt uses a vt220 compatible terminal emulation, you may
want to use this as the default. Look at my /etc/ttys:
#
# @(#)ttys 5.1 (Berkeley) 4/17/89
#
# name getty type status comments
#
# This entry needed for asking password when init goes to single-user mode
# If you want to be asked for password, change "secure" to "insecure" here
console none unknown off secure
#
ttyv0 "/usr/libexec/getty Pc" pcvt25 on secure
# Virtual terminals
ttyv1 "/usr/libexec/getty Pc" pcvt25 on secure
ttyv2 "/usr/libexec/getty Pc" pcvt25 on secure
ttyv3 "/usr/libexec/getty Pc" pcvt25 on secure
ttyv4 "/usr/libexec/getty Pc" pcvt25 off secure
ttyv5 "/usr/libexec/getty Pc" pcvt25 off secure
ttyv6 "/usr/libexec/getty Pc" pcvt25 off secure
ttyv7 "/usr/libexec/getty Pc" pcvt25 off secure
(...)
Bye,
Martin
--
/| /| | /| / \ ,,You know, there's a lot of opportunities,
/ |/ | artin |/ |/ elk \ if you're knowing to take them,
\ you know, there's a lot of opportunities,
mw@pandora.sax.de \ if there aren't you can make them,
Meissen, Germany, Europe \ make or break them!'' (Tennant/Lowe)