With this switch processes (such as xconsole) can open /dev/console
without breaking login on the text or serial console. This can be
trivially triggered by enabling xdm in rc.conf and hitting
Ctrl+Alt+F1 or equivalent once booted.
The changes:
- Add entry for /dev/console or /dev/constty if missing
- If a port's had /dev/console 'on' switch it off and enable /dev/constty
- If a port did not have /dev/console 'on', leave /dev/constty off
Some ports had /dev/console off and /dev/ttyE0 enabled, presumably to
avoid just this issue. It may make sense to adjust these also (but not
in this pass)
As discussed on current-users
move all ttyE* entries that use "vt100" emulation to wsvt25 term type.
The terminfo vt220 entry lacked (correctly) a delete key entry, which
was a regression against the netbsd-5 termcap entry. On the other hand,
only a very small number of foreign systems lacks support for wsvt25
nowadays.
as the console. Now when coming up in single user mode the tset in
/.profile can set the terminal type correctly.
Note: I believe constty should be 'on' and console 'off', but thats a
separate discussion
Fixes PR port-pmax/5389.
ttyflags -a clobbers them even if they are set to `off', overriding
the 4800-bit and parity modes needed by the DEC serial kbd/mice.
* Remove old MAKEDEV code for scc and dc that tried to map tty0 and
tty01 to whichever major/minor were the two comm ports.
* Use /dev/tty[abcd] for the scc driver, in linearly increasing
minor-number order. (cf. NetBSD/sparc),
* Use /dev/ttyD[0123] for the dc705 (DZ11 clone) driver, in linearly
increasing minor-number order. (cf. NetBSD/vax).
* Add the above entires to the pmax /etc/ttys.
While we're here, fix wrong major for tun, and comment out unsupported devices.
Addresses PRs pmax/4007, pmax/4330, pmax/4367.