*BSD News Article 30403


Return to BSD News archive

Path: sserve!newshost.anu.edu.au!harbinger.cc.monash.edu.au!news.uwa.edu.au!nodecg.ncc.telecomwa.oz.au!not-for-mail
From: tdwyer@netbsd08.dn.itg.telecom.com.au (Terry Dwyer)
Newsgroups: comp.os.386bsd.questions
Subject: Re: Syscons on FreeBSD 1.1-REALEASE
Date: 16 May 1994 12:57:43 +0800
Organization: Telecom Australia
Lines: 65
Message-ID: <2r6ugm$651@netbsd08.dn.itg.telecom.com.au>
References: <2qq7f7$shs@si-nic.hrz.uni-siegen.de> <CpqHGM.JA4@hkuxb.hku.hk> <1994May14.212058.1568@umr.edu>
NNTP-Posting-Host: 144.139.63.32
X-Newsreader: TIN [version 1.2 PL2]

Eric Jui-Lin Lu (jlu@cs.umr.edu) wrote:
: In article <CpqHGM.JA4@hkuxb.hku.hk>,  <h8805164@hkusub> wrote:
: >Peter Merz (peter@uni-siegen.de) wrote:
: >: Accept syscons: I have anabled the german keymap and it works.
: >: But I can't switch to another virtuell console. I have made
: >: the devices ttyv1-7 but it still wont go!
: >
: >Edit /etc/ttys to turn the virtual consoles on.
: >
: >-- Ka (wkyu@csd.hku.hk)

: I also wish to install syscon.  However, I couldn't find
: any instruction docs? (I have looked FAQ.)  Will someone
: post the required procedure?  Thanks!!

 little more detail may be in order here:

(By the way, you must be root to do all this)

edit /etc/ttys and insert the ttyv? entries as follows:

# console       "/usr/libexec/getty Pc" pc3     on secure
ttyv0   "/usr/libexec/getty Pc" cons25d         on      secure
ttyv1   "/usr/libexec/getty Pc" cons25d         on      secure
ttyv2   "/usr/libexec/getty Pc" cons25d         on      secure
ttyv3   "/usr/libexec/getty Pc" cons25d         on      secure

I suggest you rem out the first ttyv entry, ttyv0 and un comment
the console entry until you get your other entries working, that
way you won't lock yourself out of the system 8-).

Make up to twelve entries in total, although why anyone would want
that many virtual consoles is beyond me. I made ttyv0 - ttyv7, 
I _never_ use all of them at once.  A reasonable limit is probably 6


You also have to make the devices ( /dev/ttyv[0-N] ) where `N' is the 
number of virtual screens you want.

To do this, (I'm a little rusty),o I'll try it right now.....

cd /dev
sh MAKEDEV vtyN  # where `N' is the number of devices to make

Your kernel must be compiled with the appropriate options:

options         "NCONS=8"               #8 Virtual consoles

Then, install your new kernel in / (save the old one for safety's sake)
reboot the machine and switch between the consoles using <Alt> <Fn>
where `n' is the function key corresponding to the virtual console you
want.

If you can switch between console screens, it is time to edit the 
/etc/ttys again.  Enable ttyv0 and disable the console entry by 
inserting/deleting the hash marks as necessary.

Good Luck.

Terry.
-- 
   _-_|\    Terry Dwyer 	  E-Mail: tdwyer@netbsd08.dn.itg.telecom.com.au
  /     \   System Administrator  Phone: +61 9 491 5161     Fax: +61 9 221 2631
  *_.^\_/   Telecom Australia     Telstra Corporation       MIME capable mailer
       v    Perth  WA                 ( I do not speak for Telstra or Telecom )