Subject: defaults for wscons(4)/wsdisplay(4)/wscons.conf/ttys
To: None <port-i386@netbsd.org>
From: Brian A. Seklecki <lavalamp@spiritual-machines.org>
List: port-i386
Date: 06/07/2002 04:16:41
...in wsdisplay(4), there's a note:

BUGS
     The wsdisplay code currently limits the number of screens on one display
     to 8.

on line 108 of src/sys/dev/wscons/wsdisplay.c:

	#define WSDISPLPAY_MAXSCREEN 8

...I'm assuming this simply can't be fixed by up'ing the #, but I'll play
with that later. I don't see why the default shouldn't be 12 -- 12
function keys on the standard PC/AT keyboard.

In the mean time, is there a reason why the default system doesn't ship w/
all 8 (7?) virtual screen/display's enabled?

*) Have sysinst's run MAKEDEV /dev/ttyE[0-8]

*) Change stock etc.i386/ttys:
console "/usr/libexec/getty Pc"         vt220   off secure	#dummy
ttyE0   "/usr/libexec/getty Pc"         vt220   on secure  	#F1
ttyE1   "/usr/libexec/getty Pc"         vt220   on secure	#F2
ttyE2   "/usr/libexec/getty Pc"         vt220   on secure	#F3
ttyE3   "/usr/libexec/getty Pc"         vt220   on secure	#F4
ttyE4   "/usr/libexec/getty Pc"         vt220   on secure	#F5
ttyE5   "/usr/libexec/getty Pc"         vt220   on secure	#F6
ttyE6   "/usr/libexec/getty Pc"         vt220   on secure	#F7
ttyE7   "/usr/libexec/getty Pc"         vt220   on secure	#F8

*) Change stock etc/wscons.conf:

#screen 0       -       vt100	#F1
screen  1       -       vt100	#F2
screen  2       -       vt100	#F3
screen  3       -       vt100	#F4
screen  4       -       vt100	#F5
screen  5       -       vt100	#F6
screen  6       -       vt100	#F7
screen  7       -       vt100	#F8

-lava