From owner-freebsd-current Wed Mar 13 05:27:28 1996 Return-Path: owner-current Received: (from root@localhost) by freefall.freebsd.org (8.7.3/8.7.3) id FAA28710 for current-outgoing; Wed, 13 Mar 1996 05:27:28 -0800 (PST) Received: from rf900.physics.usyd.edu.au (rf900.physics.usyd.edu.au [129.78.129.109]) by freefall.freebsd.org (8.7.3/8.7.3) with SMTP id FAA28705 for ; Wed, 13 Mar 1996 05:27:24 -0800 (PST) Received: (from dawes@localhost) by rf900.physics.usyd.edu.au (8.6.11/8.6.9) id AAA05044; Thu, 14 Mar 1996 00:21:44 +1100 From: David Dawes Message-Id: <199603131321.AAA05044@rf900.physics.usyd.edu.au> Subject: Re: COMCONSOLE: a patch and a problem To: joerg_wunsch@uriah.heep.sax.de Date: Thu, 14 Mar 1996 00:21:44 +1100 (EST) Cc: freebsd-current@freebsd.org In-Reply-To: <199603130730.IAA09940@uriah.heep.sax.de> from "J Wunsch" at Mar 13, 96 08:30:43 am X-Mailer: ELM [version 2.4 PL23] Content-Type: text Sender: owner-current@freebsd.org X-Loop: FreeBSD.org Precedence: bulk >As Bruce Evans wrote: > >> >syscons uses a different tty structure for the console than for VT1. >> 0 > >No, syscons (and xfree86, FWIW) follows the somewhat weird SysV/SCO >naming philosophy where the first available virtual terminal has got >number one, i.e. VT1 == vt01 (xfree86) == /dev/ttyv0. > >In order to switch to this VT by ioctl(VT_ACTIVATE), you ought to pass >a `1', not `0'. Well, on SVR4, VT1 (/dev/vt01) is not the first VT, but the one activated with Alt-SysReq F1. The first one is /dev/vt00, which is activated with Alt-SysReq H (H for "home" I think). I think that in XFree86 we tried to keep the relationship between the VT numbering and the way it is activated consistent across different OSs. /dev/vt00 and /dev/console are the same device on SVR4 (at least by default). David