Return to BSD News archive
Path: sserve!newshost.anu.edu.au!munnari.oz.au!bunyip.cc.uq.oz.au!harbinger.cc.monash.edu.au!yeshua.marcam.com!zip.eecs.umich.edu!caen!usenet.coe.montana.edu!bsd.coe.montana.edu!nate From: nate@bsd.coe.montana.edu (Nate Williams) Newsgroups: comp.os.386bsd.misc Subject: Re: [Q] virtual consoles in FreeBSD? Date: 21 Dec 1993 10:46:39 GMT Organization: Montana State University, Bozeman MT Lines: 62 Message-ID: <2f6k6f$38f@pdq.coe.montana.edu> References: <CI4tyu.6Kp@oea.hobby.nl> <2f551n$se@pdq.coe.montana.edu> <kaleb.756430447@kanga.x.org> NNTP-Posting-Host: bsd.coe.montana.edu In article <kaleb.756430447@kanga.x.org>, Kaleb Keithley <kaleb@x.org> wrote: >nate@bsd.coe.montana.edu (Nate Williams) writes: > >>Of course. They are activated by using a console driver that uses them. > >>Syscons is the one that is supplied by default in FreeBSD, so check out >>the SYSCONS kernel config file and use it as a reference to build yourself >>a kernel which has virtual console support. > >Been there, done that. Made the entries in /dev. Changed /etc/ttys to >run a getty on /dev/ttyv0. Whether I run a getty on the others or >not, when I switch to onother virt. terminal the terminal driver hangs. >Only way out is the big red switch :-( Okay, make sure that everything matches what I've got here (or a close enough approximation) If not, then you've got bugs in your syscons, which can be fixed by trying out either syscons 1.3 (posted about recently) or upgrading to FreeBSD-current. (Though I don't remember too many syscons panic problems) I don't run xdm on startup, so I have a getty on ttyv0 which I then use to start X with via xinit. Nate Script started on Tue Dec 21 03:44:31 1993 root:/tmp # ls -lg /dev/ttyv* crw------- 1 nate tty 12, 0 Dec 20 20:17 /dev/ttyv0 crw------- 1 nate tty 12, 1 Dec 21 00:04 /dev/ttyv1 crw------- 1 root root 12, 2 Dec 20 20:06 /dev/ttyv2 crw------- 1 root root 12, 3 Sep 14 23:37 /dev/ttyv3 crw------- 1 root root 12, 4 Jul 28 18:24 /dev/ttyv4 crw------- 1 root root 12, 5 Jul 28 18:24 /dev/ttyv5 crw------- 1 root root 12, 6 Jul 28 18:24 /dev/ttyv6 crw------- 1 root root 12, 7 Jul 28 18:24 /dev/ttyv7 root:/tmp # head /etc/ttys # # @(#)ttys 5.1 (Berkeley) 4/17/89 # # name getty type status comments # ttyv0 "/usr/libexec/getty Pc" pc3 on secure ttyv1 "/usr/libexec/getty Pc" cons25 on secure ttyv2 "/usr/libexec/getty Pc" cons25 on secure ttyv3 "/usr/libexec/getty Pc" cons25 off secure root:/tmp # ls -al /dev/console crw--w--w- 1 root 0, 0 Dec 21 01:21 /dev/console root:/tmp # ls -al /dev/vga crw--w---- 1 nate 12, 0 Nov 3 10:55 /dev/vga root:/tmp # Script done on Tue Dec 21 03:45:10 1993 -- nate@bsd.coe.montana.edu | Freely available *nix clones benefit everyone, nate@cs.montana.edu | so let's not compete with each other, let's work #: (406) 994-4836 | compete with folks who try to tie us down to home #: (406) 586-0579 | proprietary O.S.'s (Microsloth) - Me