head 1.21; access; symbols netbsd-10-0-RELEASE:1.21 netbsd-10-0-RC6:1.21 netbsd-10-0-RC5:1.21 netbsd-10-0-RC4:1.21 netbsd-10-0-RC3:1.21 netbsd-10-0-RC2:1.21 netbsd-10-0-RC1:1.21 netbsd-10:1.21.0.8 netbsd-10-base:1.21 netbsd-9-3-RELEASE:1.20.36.1 cjep_sun2x-base1:1.21 cjep_sun2x:1.21.0.6 cjep_sun2x-base:1.21 cjep_staticlib_x-base1:1.21 netbsd-9-2-RELEASE:1.20.36.1 cjep_staticlib_x:1.21.0.4 cjep_staticlib_x-base:1.21 netbsd-9-1-RELEASE:1.20.36.1 phil-wifi-20200421:1.21 phil-wifi-20200411:1.21 is-mlppp:1.21.0.2 is-mlppp-base:1.21 phil-wifi-20200406:1.21 netbsd-8-2-RELEASE:1.20 netbsd-9-0-RELEASE:1.20.36.1 netbsd-9-0-RC2:1.20.36.1 netbsd-9-0-RC1:1.20.36.1 phil-wifi-20191119:1.21 netbsd-9:1.20.0.36 netbsd-9-base:1.20 phil-wifi-20190609:1.20 netbsd-8-1-RELEASE:1.20 netbsd-8-1-RC1:1.20 pgoyette-compat-merge-20190127:1.20 pgoyette-compat-20190127:1.20 pgoyette-compat-20190118:1.20 pgoyette-compat-1226:1.20 pgoyette-compat-1126:1.20 pgoyette-compat-1020:1.20 pgoyette-compat-0930:1.20 pgoyette-compat-0906:1.20 netbsd-7-2-RELEASE:1.20 pgoyette-compat-0728:1.20 netbsd-8-0-RELEASE:1.20 phil-wifi:1.20.0.34 phil-wifi-base:1.20 pgoyette-compat-0625:1.20 netbsd-8-0-RC2:1.20 pgoyette-compat-0521:1.20 pgoyette-compat-0502:1.20 pgoyette-compat-0422:1.20 netbsd-8-0-RC1:1.20 pgoyette-compat-0415:1.20 pgoyette-compat-0407:1.20 pgoyette-compat-0330:1.20 pgoyette-compat-0322:1.20 pgoyette-compat-0315:1.20 netbsd-7-1-2-RELEASE:1.20 pgoyette-compat:1.20.0.32 pgoyette-compat-base:1.20 netbsd-7-1-1-RELEASE:1.20 matt-nb8-mediatek:1.20.0.30 matt-nb8-mediatek-base:1.20 perseant-stdc-iso10646:1.20.0.28 perseant-stdc-iso10646-base:1.20 netbsd-8:1.20.0.26 netbsd-8-base:1.20 prg-localcount2-base3:1.20 prg-localcount2-base2:1.20 prg-localcount2-base1:1.20 prg-localcount2:1.20.0.24 prg-localcount2-base:1.20 pgoyette-localcount-20170426:1.20 bouyer-socketcan-base1:1.20 pgoyette-localcount-20170320:1.20 netbsd-7-1:1.20.0.22 netbsd-7-1-RELEASE:1.20 netbsd-7-1-RC2:1.20 netbsd-7-nhusb-base-20170116:1.20 bouyer-socketcan:1.20.0.20 bouyer-socketcan-base:1.20 pgoyette-localcount-20170107:1.20 netbsd-7-1-RC1:1.20 pgoyette-localcount-20161104:1.20 netbsd-7-0-2-RELEASE:1.20 localcount-20160914:1.20 netbsd-7-nhusb:1.20.0.18 netbsd-7-nhusb-base:1.20 pgoyette-localcount-20160806:1.20 pgoyette-localcount-20160726:1.20 pgoyette-localcount:1.20.0.16 pgoyette-localcount-base:1.20 netbsd-7-0-1-RELEASE:1.20 netbsd-7-0:1.20.0.14 netbsd-7-0-RELEASE:1.20 netbsd-7-0-RC3:1.20 netbsd-7-0-RC2:1.20 netbsd-7-0-RC1:1.20 netbsd-5-2-3-RELEASE:1.19 netbsd-5-1-5-RELEASE:1.19 netbsd-6-0-6-RELEASE:1.19.20.1 netbsd-6-1-5-RELEASE:1.19.20.1 netbsd-7:1.20.0.12 netbsd-7-base:1.20 yamt-pagecache-base9:1.20 yamt-pagecache-tag8:1.19.18.1 netbsd-6-1-4-RELEASE:1.19.20.1 netbsd-6-0-5-RELEASE:1.19.20.1 tls-earlyentropy:1.20.0.10 tls-earlyentropy-base:1.20 riastradh-xf86-video-intel-2-7-1-pre-2-21-15:1.20 riastradh-drm2-base3:1.20 netbsd-6-1-3-RELEASE:1.19.20.1 netbsd-6-0-4-RELEASE:1.19.20.1 netbsd-5-2-2-RELEASE:1.19 netbsd-5-1-4-RELEASE:1.19 netbsd-6-1-2-RELEASE:1.19.20.1 netbsd-6-0-3-RELEASE:1.19.20.1 netbsd-5-2-1-RELEASE:1.19 netbsd-5-1-3-RELEASE:1.19 netbsd-6-1-1-RELEASE:1.19.20.1 riastradh-drm2-base2:1.20 riastradh-drm2-base1:1.20 riastradh-drm2:1.20.0.4 riastradh-drm2-base:1.20 netbsd-6-1:1.19.20.1.0.6 netbsd-6-0-2-RELEASE:1.19.20.1 netbsd-6-1-RELEASE:1.19.20.1 khorben-n900:1.20.0.8 netbsd-6-1-RC4:1.19.20.1 netbsd-6-1-RC3:1.19.20.1 agc-symver:1.20.0.6 agc-symver-base:1.20 netbsd-6-1-RC2:1.19.20.1 netbsd-6-1-RC1:1.19.20.1 yamt-pagecache-base8:1.20 netbsd-5-2:1.19.0.22 netbsd-6-0-1-RELEASE:1.19.20.1 yamt-pagecache-base7:1.20 netbsd-5-2-RELEASE:1.19 netbsd-5-2-RC1:1.19 matt-nb6-plus-nbase:1.19.20.1 yamt-pagecache-base6:1.20 netbsd-6-0:1.19.20.1.0.4 netbsd-6-0-RELEASE:1.19.20.1 netbsd-6-0-RC2:1.19.20.1 tls-maxphys:1.20.0.2 tls-maxphys-base:1.20 matt-nb6-plus:1.19.20.1.0.2 matt-nb6-plus-base:1.19.20.1 netbsd-6-0-RC1:1.19.20.1 yamt-pagecache-base5:1.19 yamt-pagecache-base4:1.19 netbsd-6:1.19.0.20 netbsd-6-base:1.19 netbsd-5-1-2-RELEASE:1.19 netbsd-5-1-1-RELEASE:1.19 yamt-pagecache-base3:1.19 yamt-pagecache-base2:1.19 yamt-pagecache:1.19.0.18 yamt-pagecache-base:1.19 cherry-xenmp:1.19.0.16 cherry-xenmp-base:1.19 bouyer-quota2-nbase:1.19 bouyer-quota2:1.19.0.14 bouyer-quota2-base:1.19 matt-mips64-premerge-20101231:1.19 matt-nb5-mips64-premerge-20101231:1.19 matt-nb5-pq3:1.19.0.12 matt-nb5-pq3-base:1.19 netbsd-5-1:1.19.0.10 netbsd-5-1-RELEASE:1.19 netbsd-5-1-RC4:1.19 matt-nb5-mips64-k15:1.19 netbsd-5-1-RC3:1.19 netbsd-5-1-RC2:1.19 netbsd-5-1-RC1:1.19 netbsd-5-0-2-RELEASE:1.19 matt-nb5-mips64-premerge-20091211:1.19 matt-premerge-20091211:1.19 matt-nb5-mips64-u2-k2-k4-k7-k8-k9:1.19 matt-nb4-mips64-k7-u2a-k9b:1.19 matt-nb5-mips64-u1-k1-k5:1.19 matt-nb5-mips64:1.19.0.8 netbsd-5-0-1-RELEASE:1.19 jym-xensuspend-nbase:1.19 netbsd-5-0:1.19.0.6 netbsd-5-0-RELEASE:1.19 netbsd-5-0-RC4:1.19 netbsd-5-0-RC3:1.19 netbsd-5-0-RC2:1.19 jym-xensuspend:1.19.0.4 jym-xensuspend-base:1.19 netbsd-5-0-RC1:1.19 mjf-devfs2-base2:1.19 netbsd-5:1.19.0.2 netbsd-5-base:1.19 matt-mips64-base2:1.19 matt-mips64:1.18.0.32 netbsd-4-0-1-RELEASE:1.18 wrstuden-revivesa-base-3:1.18 wrstuden-revivesa-base-2:1.18 wrstuden-fixsa-newbase:1.18 wrstuden-revivesa-base-1:1.18 yamt-pf42-base4:1.18 yamt-pf42-base3:1.18 hpcarm-cleanup-nbase:1.18 yamt-pf42-baseX:1.18 yamt-pf42-base2:1.18 wrstuden-revivesa:1.18.0.30 wrstuden-revivesa-base:1.18 yamt-pf42:1.18.0.28 yamt-pf42-base:1.18 mjf-devfs2:1.18.0.26 mjf-devfs2-base:1.18 keiichi-mipv6:1.18.0.24 keiichi-mipv6-base:1.18 mjf-devfs:1.18.0.22 mjf-devfs-base:1.18 matt-armv6-nbase:1.18 matt-armv6-prevmlocking:1.18 wrstuden-fixsa-base-1:1.18 netbsd-4-0:1.18.0.20 netbsd-4-0-RELEASE:1.18 cube-autoconf:1.18.0.18 cube-autoconf-base:1.18 netbsd-4-0-RC5:1.18 netbsd-4-0-RC4:1.18 netbsd-4-0-RC3:1.18 netbsd-4-0-RC2:1.18 netbsd-4-0-RC1:1.18 matt-armv6:1.18.0.16 matt-armv6-base:1.18 matt-mips64-base:1.18 hpcarm-cleanup:1.18.0.14 hpcarm-cleanup-base:1.18 netbsd-3-1-1-RELEASE:1.18 netbsd-3-0-3-RELEASE:1.18 wrstuden-fixsa:1.18.0.12 wrstuden-fixsa-base:1.18 abandoned-netbsd-4-base:1.18 abandoned-netbsd-4:1.18.0.6 netbsd-3-1:1.18.0.8 netbsd-3-1-RELEASE:1.18 netbsd-3-0-2-RELEASE:1.18 netbsd-3-1-RC4:1.18 netbsd-3-1-RC3:1.18 netbsd-3-1-RC2:1.18 netbsd-3-1-RC1:1.18 netbsd-4:1.18.0.10 netbsd-4-base:1.18 netbsd-3-0-1-RELEASE:1.18 netbsd-3-0:1.18.0.4 netbsd-3-0-RELEASE:1.18 netbsd-3-0-RC6:1.18 netbsd-3-0-RC5:1.18 netbsd-3-0-RC4:1.18 netbsd-3-0-RC3:1.18 netbsd-3-0-RC2:1.18 netbsd-3-0-RC1:1.18 netbsd-2-0-3-RELEASE:1.17 netbsd-2-1:1.17.0.6 netbsd-2-1-RELEASE:1.17 netbsd-2-1-RC6:1.17 netbsd-2-1-RC5:1.17 netbsd-2-1-RC4:1.17 netbsd-2-1-RC3:1.17 netbsd-2-1-RC2:1.17 netbsd-2-1-RC1:1.17 netbsd-2-0-2-RELEASE:1.17 netbsd-3:1.18.0.2 netbsd-3-base:1.18 netbsd-2-0-1-RELEASE:1.17 netbsd-2:1.17.0.4 netbsd-2-base:1.17 netbsd-2-0-RELEASE:1.17 netbsd-2-0-RC5:1.17 netbsd-2-0-RC4:1.17 netbsd-2-0-RC3:1.17 netbsd-2-0-RC2:1.17 netbsd-2-0-RC1:1.17 netbsd-2-0:1.17.0.2 netbsd-2-0-base:1.17 netbsd-1-6-PATCH002-RELEASE:1.15 netbsd-1-6-PATCH002:1.15 netbsd-1-6-PATCH002-RC4:1.15 netbsd-1-6-PATCH002-RC3:1.15 netbsd-1-6-PATCH002-RC2:1.15 netbsd-1-6-PATCH002-RC1:1.15 unifiedMKDEV-pre:1.17 netbsd-1-6-PATCH001:1.15 netbsd-1-6-PATCH001-RELEASE:1.15 netbsd-1-6-PATCH001-RC3:1.15 netbsd-1-6-PATCH001-RC2:1.15 netbsd-1-6-PATCH001-RC1:1.15 fvdl_fs64_base:1.15 netbsd-1-6-RELEASE:1.15 netbsd-1-6-RC3:1.15 netbsd-1-6-RC2:1.15 netbsd-1-6-RC1:1.15 netbsd-1-6:1.15.0.2 netbsd-1-6-base:1.15 netbsd-1-5-PATCH003:1.10.8.1 netbsd-1-5-PATCH002:1.10.8.1 netbsd-1-5-PATCH001:1.10.8.1 netbsd-1-5-RELEASE:1.10.8.1 netbsd-1-5-BETA2:1.10.8.1 netbsd-1-5-BETA:1.10.8.1 netbsd-1-4-PATCH003:1.9.2.1 netbsd-1-5-ALPHA2:1.10 netbsd-1-5:1.10.0.8 netbsd-1-5-base:1.10 minoura-xpg4dl:1.10.0.6 minoura-xpg4dl-base:1.10 netbsd-1-4-PATCH002:1.9.2.1 wrstuden-devbsize-19991221:1.10 wrstuden-devbsize:1.10.0.4 wrstuden-devbsize-base:1.10 comdex-fall-1999:1.10.0.2 comdex-fall-1999-base:1.10 netbsd-1-4-PATCH001:1.9.2.1 netbsd-1-4-RELEASE:1.9.2.1 netbsd-1-4:1.9.0.2 netbsd-1-4-base:1.9 netbsd-1-3-PATCH003:1.8 netbsd-1-3-PATCH003-CANDIDATE2:1.8 netbsd-1-3-PATCH003-CANDIDATE1:1.8 netbsd-1-3-PATCH003-CANDIDATE0:1.8 netbsd-1-3-PATCH002:1.8 netbsd-1-3-PATCH001:1.8 netbsd-1-3-RELEASE:1.8 netbsd-1-3-BETA:1.8 netbsd-1-3:1.8.0.2 netbsd-1-3-base:1.8 netbsd-1-2-PATCH001:1.7 netbsd-1-2-RELEASE:1.7 netbsd-1-2-BETA:1.7 netbsd-1-2-base:1.7 netbsd-1-2:1.7.0.6 netbsd-1-1-PATCH001:1.7 netbsd-1-1-RELEASE:1.7 netbsd-1-1:1.7.0.2 netbsd-1-1-base:1.7 netbsd-1-0-PATCH06:1.6.2.1 netbsd-1-0-PATCH05:1.6.2.1 netbsd-1-0-PATCH04:1.6.2.1 netbsd-1-0-PATCH03:1.6.2.1 netbsd-1-0-PATCH02:1.6.2.1 netbsd-1-0-PATCH1:1.6.2.1 netbsd-1-0-PATCH0:1.6.2.1 netbsd-1-0-RELEASE:1.6.2.1 netbsd-1-0:1.6.0.2 netbsd-1-0-base:1.6 netbsd-0-9-RELEASE:1.4.2.1 netbsd-0-9-BETA:1.4.2.1 netbsd-0-9-ALPHA2:1.4 netbsd-0-9-ALPHA:1.4 netbsd-0-9:1.4.0.2 netbsd-0-9-base:1.4 netbsd-0-8:1.2 netbsd-alpha-1:1.2 patchkit-0-2-2:1.1.1.1 WFJ-386bsd-01:1.1.1.1 WFJ-920714:1.1.1; locks; strict; comment @# @; 1.21 date 2019.09.25.23.09.22; author abs; state Exp; branches; next 1.20; commitid 3YGcHKFzfDh1NrEB; 1.20 date 2012.06.13.20.49.13; author martin; state Exp; branches 1.20.34.1 1.20.36.1; next 1.19; 1.19 date 2008.10.07.10.00.01; author abs; state Exp; branches 1.19.18.1 1.19.20.1; next 1.18; 1.18 date 2004.06.20.21.30.27; author christos; state Exp; branches 1.18.26.1; next 1.17; 1.17 date 2003.10.04.07.41.12; author dsl; state Exp; branches; next 1.16; 1.16 date 2003.10.03.14.54.21; author dsl; state Exp; branches; next 1.15; 1.15 date 2002.02.17.21.04.31; author tron; state Exp; branches; next 1.14; 1.14 date 2002.02.17.20.41.42; author tron; state Exp; branches; next 1.13; 1.13 date 2002.02.13.09.46.08; author martti; state Exp; branches; next 1.12; 1.12 date 2001.06.19.20.06.46; author tv; state Exp; branches; next 1.11; 1.11 date 2000.08.12.13.43.49; author mason; state Exp; branches; next 1.10; 1.10 date 99.05.01.00.23.27; author perry; state Exp; branches 1.10.8.1; next 1.9; 1.9 date 99.02.02.14.33.04; author drochner; state Exp; branches 1.9.2.1; next 1.8; 1.8 date 96.10.15.03.42.52; author perry; state Exp; branches; next 1.7; 1.7 date 94.07.31.08.44.32; author mycroft; state Exp; branches; next 1.6; 1.6 date 94.02.05.12.51.58; author deraadt; state Exp; branches 1.6.2.1; next 1.5; 1.5 date 93.08.23.04.59.38; author cgd; state Exp; branches; next 1.4; 1.4 date 93.07.10.21.23.36; author mycroft; state Exp; branches 1.4.2.1; next 1.3; 1.3 date 93.07.08.01.50.42; author cgd; state Exp; branches; next 1.2; 1.2 date 93.04.02.08.05.12; author cgd; state Exp; branches; next 1.1; 1.1 date 93.03.21.09.45.37; author cgd; state Exp; branches 1.1.1.1; next ; 1.20.34.1 date 2020.04.13.07.45.41; author martin; state Exp; branches; next ; commitid X01YhRUPVUDaec4C; 1.20.36.1 date 2019.10.28.18.38.33; author martin; state Exp; branches; next ; commitid NBmdohuY85NUgFIB; 1.19.18.1 date 2012.10.30.18.49.04; author yamt; state Exp; branches; next ; 1.19.20.1 date 2012.06.24.18.04.39; author riz; state Exp; branches; next ; 1.18.26.1 date 2009.01.17.20.43.43; author mjf; state Exp; branches; next ; 1.10.8.1 date 2000.08.12.18.01.48; author mason; state Exp; branches; next 1.10.8.2; 1.10.8.2 date 2002.09.04.14.27.16; author itojun; state Exp; branches; next ; 1.9.2.1 date 99.05.01.00.25.17; author perry; state Exp; branches; next ; 1.6.2.1 date 94.08.01.17.21.13; author cgd; state Exp; branches; next ; 1.4.2.1 date 93.08.20.07.58.39; author cgd; state Exp; branches; next ; 1.1.1.1 date 93.03.21.09.45.37; author cgd; state Exp; branches; next ; desc @@ 1.21 log @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 @ text @# # from: @@(#)ttys 5.1 (Berkeley) 4/17/89 # $NetBSD: ttys,v 1.20 2012/06/13 20:49:13 martin Exp $ # # name getty type status comments # console "/usr/libexec/getty Pc" vt100 off secure constty "/usr/libexec/getty Pc" vt100 on secure 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 tty00 "/usr/libexec/getty std.9600" unknown off secure tty01 "/usr/libexec/getty std.9600" unknown off secure tty02 "/usr/libexec/getty std.9600" unknown off secure tty03 "/usr/libexec/getty std.9600" unknown off secure tty04 "/usr/libexec/getty std.9600" unknown off secure tty05 "/usr/libexec/getty std.9600" unknown off secure tty06 "/usr/libexec/getty std.9600" unknown off secure tty07 "/usr/libexec/getty std.9600" unknown off secure @ 1.20 log @Per discussion on tech-userlevel, finally fix PR 10127: 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. @ text @d3 1 a3 1 # $NetBSD: ttys,v 1.19 2008/10/07 10:00:01 abs Exp $ d7 2 a8 2 console "/usr/libexec/getty Pc" vt100 on secure constty "/usr/libexec/getty Pc" vt100 off secure @ 1.20.34.1 log @Mostly merge changes from HEAD upto 20200411 @ text @d3 1 a3 1 # $NetBSD$ d7 2 a8 2 console "/usr/libexec/getty Pc" vt100 off secure constty "/usr/libexec/getty Pc" vt100 on secure @ 1.20.36.1 log @Pull up following revision(s) (requested by abs in ticket #384): etc/etc.evbmips/ttys: revision 1.7 etc/etc.sparc64/ttys: revision 1.12 etc/etc.shark/ttys: revision 1.9 etc/etc.amiga/ttys: revision 1.25 etc/etc.arc/ttys: revision 1.9 etc/etc.sbmips/ttys: revision 1.6 etc/etc.landisk/ttys: revision 1.4 etc/etc.alpha/ttys: revision 1.13 etc/etc.amigappc/ttys: revision 1.4 etc/etc.mmeye/ttys: revision 1.8 etc/etc.ia64/ttys: revision 1.2 etc/etc.sandpoint/ttys: revision 1.8 etc/etc.hp300/ttys: revision 1.17 etc/etc.riscv/ttys: revision 1.2 etc/etc.i386/ttys: revision 1.21 etc/etc.aarch64/ttys: revision 1.2 etc/etc.algor/ttys: revision 1.6 etc/etc.sparc/ttys: revision 1.17 etc/etc.mipsco/ttys: revision 1.7 etc/etc.luna68k/ttys: revision 1.9 etc/etc.iyonix/ttys: revision 1.5 etc/etc.evbcf/ttys: revision 1.3 etc/etc.netwinder/ttys: revision 1.9 etc/etc.mvme68k/ttys: revision 1.10 etc/etc.evbarm/ttys: revision 1.8 etc/etc.evbsh3/ttys: revision 1.7 etc/etc.pmax/ttys: revision 1.16 etc/etc.hpcmips/ttys: revision 1.12 etc/etc.vax/ttys: revision 1.10 etc/etc.news68k/ttys: revision 1.10 etc/etc.mvmeppc/ttys: revision 1.7 etc/etc.hppa/ttys: revision 1.2 etc/etc.next68k/ttys: revision 1.11 etc/etc.ews4800mips/ttys: revision 1.3 etc/etc.epoc32/ttys: revision 1.2 etc/etc.emips/ttys: revision 1.2 etc/etc.evbppc/ttys: revision 1.7 etc/etc.sgimips/ttys: revision 1.11 etc/etc.or1k/ttys: revision 1.2 etc/etc.cesfic/ttys: revision 1.6 etc/etc.amd64/ttys: revision 1.7 etc/etc.playstation2/ttys: revision 1.7 etc/etc.zaurus/ttys: revision 1.4 etc/etc.newsmips/ttys: revision 1.10 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 @ text @d3 1 a3 1 # $NetBSD: ttys,v 1.20 2012/06/13 20:49:13 martin Exp $ d7 2 a8 2 console "/usr/libexec/getty Pc" vt100 off secure constty "/usr/libexec/getty Pc" vt100 on secure @ 1.19 log @Add a constty entry, marked 'off', with otherwise the same settings 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 @ text @d3 1 a3 1 # $NetBSD: ttys,v 1.18 2004/06/20 21:30:27 christos Exp $ d9 4 a12 4 ttyE0 "/usr/libexec/getty Pc" vt220 off secure ttyE1 "/usr/libexec/getty Pc" vt220 off secure ttyE2 "/usr/libexec/getty Pc" vt220 off secure ttyE3 "/usr/libexec/getty Pc" vt220 off secure @ 1.19.18.1 log @sync with head @ text @d3 1 a3 1 # $NetBSD: ttys,v 1.19 2008/10/07 10:00:01 abs Exp $ d9 4 a12 4 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 @ 1.19.20.1 log @Pull up following revision(s) (requested by martin in ticket #342): etc/etc.shark/ttys: revision 1.8 etc/etc.hpcsh/ttys: revision 1.11 etc/etc.amiga/ttys: revision 1.24 etc/etc.arc/ttys: revision 1.8 etc/etc.alpha/ttys: revision 1.12 etc/etc.amigappc/ttys: revision 1.3 etc/etc.ofppc/ttys: revision 1.9 etc/etc.hp300/ttys: revision 1.16 etc/etc.rs6000/ttys: revision 1.2 etc/etc.i386/ttys: revision 1.20 etc/etc.acorn26/ttys: revision 1.4 etc/etc.iyonix/ttys: revision 1.4 etc/etc.netwinder/ttys: revision 1.8 etc/etc.mac68k/ttys: revision 1.20 etc/etc.evbarm/ttys: revision 1.7 etc/etc.pmax/ttys: revision 1.15 etc/etc.hpcmips/ttys: revision 1.10 share/terminfo/terminfo: revision 1.5 etc/etc.mvmeppc/ttys: revision 1.6 etc/etc.next68k/ttys: revision 1.10 etc/etc.acorn32/ttys: revision 1.9 etc/etc.ibmnws/ttys: revision 1.4 etc/etc.atari/ttys: revision 1.10 etc/etc.sgimips/ttys: revision 1.10 etc/etc.newsmips/ttys: revision 1.9 etc/etc.hpcarm/ttys: revision 1.6 etc/etc.cats/ttys: revision 1.7 etc/etc.amd64/ttys: revision 1.6 etc/etc.prep/ttys: revision 1.8 etc/etc.zaurus/ttys: revision 1.3 Per discussion on tech-userlevel, finally fix PR 10127: 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. Add a delete key capability to our wsvt25 entry. Fixes a problem noted by David Lord on netbsd-users. @ text @d3 1 a3 1 # $NetBSD$ d9 4 a12 4 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 @ 1.18 log @remove ad-hok list of pty's from port tty files, and auto-generate it so that it is consistent, and in the proper order. @ text @d3 1 a3 1 # $NetBSD: ttys,v 1.17 2003/10/04 07:41:12 dsl Exp $ d8 1 @ 1.18.26.1 log @Sync with HEAD. @ text @d3 1 a3 1 # $NetBSD$ a7 1 constty "/usr/libexec/getty Pc" vt100 off secure @ 1.17 log @Revert 'console' back to /dev/console (from /dev/constty) @ text @d3 1 a3 1 # $NetBSD: ttys,v 1.16 2003/10/03 14:54:21 dsl Exp $ a19 110 ttyp0 none network ttyp1 none network ttyp2 none network ttyp3 none network ttyp4 none network ttyp5 none network ttyp6 none network ttyp7 none network ttyp8 none network ttyp9 none network ttypa none network ttypb none network ttypc none network ttypd none network ttype none network ttypf none network ttypg none network ttyph none network ttypi none network ttypj none network ttypk none network ttypl none network ttypm none network ttypn none network ttypo none network ttypp none network ttypq none network ttypr none network ttyps none network ttypt none network ttypu none network ttypv none network ttypw none network ttypx none network ttypy none network ttypz none network ttypA none network ttypB none network ttypC none network ttypD none network ttypE none network ttypF none network ttypG none network ttypH none network ttypI none network ttypJ none network ttypK none network ttypL none network ttypM none network ttypN none network ttypO none network ttypP none network ttypQ none network ttypR none network ttypS none network ttypT none network ttypU none network ttypV none network ttypW none network ttypX none network ttypY none network ttypZ none network ttyq0 none network ttyq1 none network ttyq2 none network ttyq3 none network ttyq4 none network ttyq5 none network ttyq6 none network ttyq7 none network ttyq8 none network ttyq9 none network ttyqa none network ttyqb none network ttyqc none network ttyqd none network ttyqe none network ttyqf none network ttyr0 none network ttyr1 none network ttyr2 none network ttyr3 none network ttyr4 none network ttyr5 none network ttyr6 none network ttyr7 none network ttyr8 none network ttyr9 none network ttyra none network ttyrb none network ttyrc none network ttyrd none network ttyre none network ttyrf none network ttys0 none network ttys1 none network ttys2 none network ttys3 none network ttys4 none network ttys5 none network ttys6 none network ttys7 none network ttys8 none network ttys9 none network ttysa none network ttysb none network ttysc none network ttysd none network ttyse none network ttysf none network @ 1.16 log @Change 'console' login to use /dev/constty so that its output isn't stolen by code that requests system messages using TIOCCONS. @ text @d3 1 a3 1 # $NetBSD: ttys,v 1.15 2002/02/17 21:04:31 tron Exp $ d7 1 a7 1 constty "/usr/libexec/getty Pc" vt100 on secure @ 1.15 log @Back out last change as suggested by Hubert Feyrer in private e-mail: The "ttys" file is modified by "sysinst" during installation. @ text @d3 1 a3 1 # $NetBSD$ d7 1 a7 1 console "/usr/libexec/getty Pc" vt100 on secure @ 1.14 log @Enable for "getty" processes because because the i386 port used wscons(4) default these days and the default "wsconf.conf" creates four screens. @ text @d3 1 a3 1 # $NetBSD: ttys,v 1.13 2002/02/13 09:46:08 martti Exp $ d7 5 a11 5 console "/usr/libexec/getty Pc" vt100 off secure ttyE0 "/usr/libexec/getty Pc" vt220 on secure ttyE1 "/usr/libexec/getty Pc" vt220 on secure ttyE2 "/usr/libexec/getty Pc" vt220 on secure ttyE3 "/usr/libexec/getty Pc" vt220 on secure @ 1.13 log @Added ttyp[g-zA-Z] (bin/15594). @ text @d3 1 a3 1 # $NetBSD: ttys,v 1.12 2001/06/19 20:06:46 tv Exp $ d7 5 a11 5 console "/usr/libexec/getty Pc" vt100 on secure ttyE0 "/usr/libexec/getty Pc" vt220 off secure ttyE1 "/usr/libexec/getty Pc" vt220 off secure ttyE2 "/usr/libexec/getty Pc" vt220 off secure ttyE3 "/usr/libexec/getty Pc" vt220 off secure @ 1.12 log @Do what we should have been doing long ago; use /dev/console by default as the boot console tty, so that the console is on the same place that the kernel dmesg output goes, whether wscons or serial. Users who want to use tty00 or ttyE0 explicitly can change /etc/ttys themselves. Also use "vt100" as terminal type for /dev/console (for a reasonable baseline that also works with wscons; pccons is long since no longer default). This addresses PR install/13249, i386-specific, but may be appropriate to apply to all ports. @ text @d3 1 a3 1 # $NetBSD: ttys,v 1.11 2000/08/12 13:43:49 mason Exp $ d36 46 @ 1.11 log @This should be the final part of moving to 64 PTYs by default. Added entries for tty{r,s}{0,1,2,3,4,5,6,7,8,9,a,b,c,d,e,f} to /etc/ttys. Thanks to Matthew Green for pointing out the need. @ text @d3 1 a3 1 # $NetBSD: ttys,v 1.10 1999/05/01 00:23:27 perry Exp $ d7 2 a8 2 console "/usr/libexec/getty Pc" pc3 off secure ttyE0 "/usr/libexec/getty Pc" vt220 on secure @ 1.10 log @turn off ttyE[123] by default -- default installs don't configure them. @ text @d3 1 a3 1 # $NetBSD: ttys,v 1.9 1999/02/02 14:33:04 drochner Exp $ d52 32 @ 1.10.8.1 log @This should be the last piece of the move to 64 default PTYs. /etc/ttys now has entries for 64 ptys. Thanks to Matthew Green for pointing out the need for this. @ text @d3 1 a3 1 # $NetBSD: ttys,v 1.10 1999/05/01 00:23:27 perry Exp $ a51 32 ttyr0 none network ttyr1 none network ttyr2 none network ttyr3 none network ttyr4 none network ttyr5 none network ttyr6 none network ttyr7 none network ttyr8 none network ttyr9 none network ttyra none network ttyrb none network ttyrc none network ttyrd none network ttyre none network ttyrf none network ttys0 none network ttys1 none network ttys2 none network ttys3 none network ttys4 none network ttys5 none network ttys6 none network ttys7 none network ttys8 none network ttys9 none network ttysa none network ttysb none network ttysc none network ttysd none network ttyse none network ttysf none network @ 1.10.8.2 log @pullup etc/etc.i386/ttys 1.12 via patch (redo) > Do what we should have been doing long ago; use /dev/console by default as the > boot console tty, so that the console is on the same place that the kernel > dmesg output goes, whether wscons or serial. Users who want to use tty00 > or ttyE0 explicitly can change /etc/ttys themselves. @ text @d3 1 a3 1 # $NetBSD: ttys,v 1.10.8.1 2000/08/12 18:01:48 mason Exp $ d7 2 a8 2 console "/usr/libexec/getty Pc" vt100 on secure ttyE0 "/usr/libexec/getty Pc" vt220 off secure @ 1.9 log @wscons is default now - replace the "ttyv0" getty by a number of "ttyEn" lines. Thanks to "Johnny C. Lam" for pointing out. @ text @d3 1 a3 1 # $NetBSD: ttys,v 1.8 1996/10/15 03:42:52 perry Exp $ d9 3 a11 3 ttyE1 "/usr/libexec/getty Pc" vt220 on secure ttyE2 "/usr/libexec/getty Pc" vt220 on secure ttyE3 "/usr/libexec/getty Pc" vt220 on secure @ 1.9.2.1 log @pullup 1.9->1.10 (perry) @ text @d3 1 a3 1 # $NetBSD: ttys,v 1.10 1999/05/01 00:23:27 perry Exp $ d9 3 a11 3 ttyE1 "/usr/libexec/getty Pc" vt220 off secure ttyE2 "/usr/libexec/getty Pc" vt220 off secure ttyE3 "/usr/libexec/getty Pc" vt220 off secure @ 1.8 log @RCS ID police @ text @d3 1 a3 1 # $NetBSD: ttys,v 1.7 1994/07/31 08:44:32 mycroft Exp $ d8 4 a11 1 ttyv0 "/usr/libexec/getty Pc" pc3 on secure @ 1.7 log @Change vga to ttyv0, with a symlink for X. @ text @d3 1 a3 1 # $Id: ttys,v 1.6 1994/02/05 12:51:58 deraadt Exp $ @ 1.6 log @reality @ text @d3 1 a3 1 # $Id: ttys,v 1.5 1993/08/23 04:59:38 cgd Exp $ d8 1 a8 1 vga "/usr/libexec/getty Pc" pc3 on secure @ 1.6.2.1 log @from turnk. @ text @d3 1 a3 1 # $Id: ttys,v 1.7 1994/07/31 08:44:32 mycroft Exp $ d8 1 a8 1 ttyv0 "/usr/libexec/getty Pc" pc3 on secure @ 1.5 log @changes from 0.9-ALPHA2 to 0.9-BETA @ text @d3 1 a3 1 # $Id$ d7 2 a8 11 # If the console is marked insecure, single-user requires # the root password. console "/usr/libexec/getty Pc" pc3 on secure # on the i386, the 'console' line above should be commented out and # the following lines should be uncommented: # console "/usr/libexec/getty Pc" pc3 off secure # vga "/usr/libexec/getty Pc" pc3 on secure # Hardwired lines are marked off, by default, so getty(8) # is quiet when they don't exist. d17 32 a48 33 ttyp0 none network ttyp1 none network ttyp2 none network ttyp3 none network ttyp4 none network ttyp5 none network ttyp6 none network ttyp7 none network ttyp8 none network ttyp9 none network ttypa none network ttypb none network ttypc none network ttypd none network ttype none network ttypf none network ttyq0 none network ttyq1 none network ttyq2 none network ttyq3 none network ttyq4 none network ttyq5 none network ttyq6 none network ttyq7 none network ttyq8 none network ttyq9 none network ttyqa none network ttyqb none network ttyqc none network ttyqd none network ttyqe none network ttyqf none network @ 1.4 log @Remove a spurious `unknown' that was screwing people over. @ text @d2 2 a3 1 # @@(#)ttys 5.1 (Berkeley) 4/17/89 d10 5 @ 1.4.2.1 log @add i386-specific instructions. still need to deal with the fact that the generic console's getty is type "Pc" -- BOGUS!!! @ text @d2 1 a2 2 # from: @@(#)ttys 5.1 (Berkeley) 4/17/89 # $Id$ a8 5 # on the i386, the 'console' line above should be commented out and # the following lines should be uncommented: # console "/usr/libexec/getty Pc" pc3 off secure # vga "/usr/libexec/getty Pc" pc3 on secure @ 1.3 log @changes for init... @ text @d8 1 a8 1 console "/usr/libexec/getty Pc" pc3 unknown on secure @ 1.2 log @changed `console' to `vga' @ text @d6 15 a20 3 vga "/usr/libexec/getty Pc" pc3 on secure com01 "/usr/libexec/getty std.9600" unknown off secure com02 "/usr/libexec/getty std.9600" unknown off secure @ 1.1 log @Initial revision @ text @d6 1 a6 1 console "/usr/libexec/getty Pc" pc3 on secure @ 1.1.1.1 log @initial import of 386bsd-0.1 sources @ text @@