NetBSD/etc/etc.amigappc/ttys
abs 039df638d6 Switch default console tty from /dev/console to /dev/constty
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
2019-09-25 23:09:19 +00:00

65 lines
2.6 KiB
Plaintext

#
# $NetBSD: ttys,v 1.4 2019/09/25 23:09:20 abs Exp $
#
# from: @(#)ttys 5.1 (Berkeley) 4/17/89
#
# name getty type status comments
#
# If the console is marked insecure, single-user requires
# the root password.
console "/usr/libexec/getty Pc" wsvt25 off secure
constty "/usr/libexec/getty Pc" wsvt25 on secure
ttye0 "/usr/libexec/getty Pc" wsvt25 off secure # custom chips
ttye1 "/usr/libexec/getty Pc" wsvt25 off secure # retina
ttye2 "/usr/libexec/getty Pc" wsvt25 off secure # retina
ttye3 "/usr/libexec/getty Pc" wsvt25 off secure # cirrus logic
ttye4 "/usr/libexec/getty Pc" wsvt25 off secure # a2410
ttye5 "/usr/libexec/getty Pc" wsvt25 off secure # CyberVision64
ttye6 "/usr/libexec/getty Pc" wsvt25 off secure # Domino, Merlin, oMniBus
ttye7 "/usr/libexec/getty Pc" wsvt25 off secure # CyberVision64/3D
#
# wscons virtual terminals:
#
ttyE0 "/usr/libexec/getty Pc" wsvt25 off secure
ttyE1 "/usr/libexec/getty Pc" wsvt25 off secure
ttyE2 "/usr/libexec/getty Pc" wsvt25 off secure
ttyE3 "/usr/libexec/getty Pc" wsvt25 off secure
#
# Amiga internal serial port:
#
tty00 "/usr/libexec/getty std.9600" unknown off secure
#
# first A2232
#
ttyA0 "/usr/libexec/getty std.9600" unknown off secure
ttyA1 "/usr/libexec/getty std.9600" unknown off secure
ttyA2 "/usr/libexec/getty std.9600" unknown off secure
ttyA3 "/usr/libexec/getty std.9600" unknown off secure
ttyA4 "/usr/libexec/getty std.9600" unknown off secure
ttyA5 "/usr/libexec/getty std.9600" unknown off secure
ttyA6 "/usr/libexec/getty std.9600" unknown off secure
#
# MFC serials
#
ttyB0 "/usr/libexec/getty std.9600" unknown off secure
ttyB1 "/usr/libexec/getty std.9600" unknown off secure
ttyB2 "/usr/libexec/getty std.9600" unknown off secure
ttyB3 "/usr/libexec/getty std.9600" unknown off secure
ttyB4 "/usr/libexec/getty std.9600" unknown off secure
ttyB5 "/usr/libexec/getty std.9600" unknown off secure
ttyB6 "/usr/libexec/getty std.9600" unknown off secure
ttyB7 "/usr/libexec/getty std.9600" unknown off secure
#
# com style ports (DraCo, HyperCom, etc.)
#
ttyC0 "/usr/libexec/getty std.9600" unknown off secure # DraCo: modem port
ttyC1 "/usr/libexec/getty std.9600" unknown off secure # DraCo: mouse port
ttyC2 "/usr/libexec/getty std.9600" unknown off secure
ttyC3 "/usr/libexec/getty std.9600" unknown off secure
ttyC4 "/usr/libexec/getty std.9600" unknown off secure
ttyC5 "/usr/libexec/getty std.9600" unknown off secure
ttyC6 "/usr/libexec/getty std.9600" unknown off secure
ttyC7 "/usr/libexec/getty std.9600" unknown off secure
ttyC8 "/usr/libexec/getty std.9600" unknown off secure
ttyC9 "/usr/libexec/getty std.9600" unknown off secure