Port-vax archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

vax wscons setting questions



I'm not sure how many NetBSD/vax uses use framebuffer/keyboard consoles,
but I have two questions about default NetBSD/vax wscons settings.

* 1. MAKEDEV all only creats first ttyw0 for wsdisplay tty

Most wscons'fied ports create "wscons" target in src/etc/MAKEDEV.tmpl
and it creats all possible wscons devices including the following devices:

 - ttyE0-7, ttyF0-7, ttyG0-7, ttyH0-7 (for wsdisplay tty devices)
 - wsmouse0-3
 - wskbd0-3
 - wsmux0-3, wskbd, wsmouse (for multiplexer)
 - ttyEcfg ttyEstat, ttyFcfg, ttyFstat, ttyGstat, ttyGstat, ttyHcfg, tthHstat
 - wsfont

On the other hand, src/etc/etc.vax/MAKEDEV is creates only "ttyw0"
as a wsdisplay tty device and doesn't create other wscons devices.

X.org server (and other applications like mlterm) requires
/dev/wskbd, /dev/wskbd0, /dev/wsmouse, and /dev/wsmouse0 etc.
so such applications don't work by default installation settings.

Is this intentional?
Or should we add such other devices into src/etc/etc.vax/MAKEDEV,
at least "all_md" target?
Or simply should we create the default "wscons" target
(i.e. including standard tty[E-H]? devices) on "MAKEDEV all"?


* 2. ttys(5) settings for wsdisplay ttys

/etc/ttys after the default installation has the following lines:

---
# Virtual terminals on VS3100 with "glass tty"
#ttyw0	"/usr/libexec/getty std.9600"	sun on secure
#ttyw1	"/usr/libexec/getty std.9600"	sun on secure
#ttyw2	"/usr/libexec/getty std.9600"	sun on secure
#ttyw3	"/usr/libexec/getty std.9600"	sun on secure
#ttyw4	"/usr/libexec/getty std.9600"	sun on secure
#ttyw5	"/usr/libexec/getty std.9600"	sun on secure
#ttyw6	"/usr/libexec/getty std.9600"	sun on secure
#ttyw7	"/usr/libexec/getty std.9600"	sun on secure
---

These "ttyw?" nodes are used for wsdisplay ttys (as mentioned above),
but why do these lines specify "sun" for TERM environment variable?

If there is on particular reason, I'd like to change these
to "wsvt25" as proper settings used by other ports.

Thanks,
---
Izumi Tsutsui


Home | Main Index | Thread Index | Old Index