*BSD News Article 53616


Return to BSD News archive

Path: euryale.cc.adfa.oz.au!newshost.anu.edu.au!harbinger.cc.monash.edu.au!yarrina.connect.com.au!news.uwa.edu.au!classic.iinet.com.au!swing.iinet.net.au!news.uoregon.edu!usenet.eel.ufl.edu!news.ultranet.com!zombie.ncsc.mil!news.mathworks.com!newsfeed.internetmci.com!in1.uu.net!zib-berlin.de!irz401!uriah.heep!not-for-mail
From: j@uriah.heep.sax.de (J Wunsch)
Newsgroups: comp.unix.bsd.freebsd.misc
Subject: Re: X Console and ttyv0
Date: 29 Oct 1995 17:25:59 +0100
Organization: Private FreeBSD site, Dresden.
Lines: 24
Message-ID: <4709un$ll@uriah.heep.sax.de>
References: <46oera$164p@macro.stanford.edu> <DH4nI3.3LH@theatre.pandora.sax.de>
NNTP-Posting-Host: uriah.heep.sax.de
Mime-Version: 1.0
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 8bit

Martin Welk <mw@theatre.pandora.sax.de> wrote:

>>Why isn't /dev/console mapped to one of the login ports (ttyv?) ?
>
>Could you please explain what's your problem?
>
>I don't see any need for what you ask because when I run
>xconsole without or with parameters, it simply does what
>it should:

His problem is a simple pilot error: /dev/console is the master
device, and it's normally redirected to /dev/ttyv0 (which is an
entirely different device, and must not even exist on some systems)
while running a graphics console in text mode, or to /dev/ttyd0 if the
system is running a serial console, or to xconsole as soon as it is
grabbing the console device via an ioctl command.

No parameters are needed to xconsole.  It knows best itself what
device to operate on.
-- 
cheers, J"org

joerg_wunsch@uriah.heep.sax.de -- http://www.sax.de/~joerg/ -- NIC: JW11-RIPE
Never trust an operating system you don't have sources for. ;-)