#
1.13 |
|
25-Sep-2019 |
abs |
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
|
Revision tags: netbsd-9-base phil-wifi-20190609 netbsd-8-1-RELEASE netbsd-8-1-RC1 pgoyette-compat-merge-20190127 pgoyette-compat-20190127 pgoyette-compat-20190118 pgoyette-compat-1226 pgoyette-compat-1126 pgoyette-compat-1020 pgoyette-compat-0930 pgoyette-compat-0906 netbsd-7-2-RELEASE pgoyette-compat-0728 netbsd-8-0-RELEASE phil-wifi-base pgoyette-compat-0625 netbsd-8-0-RC2 pgoyette-compat-0521 pgoyette-compat-0502 pgoyette-compat-0422 netbsd-8-0-RC1 pgoyette-compat-0415 pgoyette-compat-0407 pgoyette-compat-0330 pgoyette-compat-0322 pgoyette-compat-0315 netbsd-7-1-2-RELEASE pgoyette-compat-base netbsd-7-1-1-RELEASE matt-nb8-mediatek-base perseant-stdc-iso10646-base netbsd-8-base prg-localcount2-base3 prg-localcount2-base2 prg-localcount2-base1 prg-localcount2-base pgoyette-localcount-20170426 bouyer-socketcan-base1 pgoyette-localcount-20170320 netbsd-7-1-RELEASE netbsd-7-1-RC2 netbsd-7-nhusb-base-20170116 bouyer-socketcan-base pgoyette-localcount-20170107 netbsd-7-1-RC1 pgoyette-localcount-20161104 netbsd-7-0-2-RELEASE localcount-20160914 netbsd-7-nhusb-base pgoyette-localcount-20160806 pgoyette-localcount-20160726 pgoyette-localcount-base netbsd-7-0-1-RELEASE netbsd-7-0-RELEASE netbsd-7-0-RC3 netbsd-7-0-RC2 netbsd-7-0-RC1 netbsd-7-base yamt-pagecache-base9 tls-earlyentropy-base riastradh-xf86-video-intel-2-7-1-pre-2-21-15 riastradh-drm2-base3 riastradh-drm2-base2 riastradh-drm2-base1 riastradh-drm2-base agc-symver-base yamt-pagecache-base8 yamt-pagecache-base7 yamt-pagecache-base6 tls-maxphys-base
|
#
1.12 |
|
13-Jun-2012 |
martin |
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.
|
Revision tags: netbsd-5-2-3-RELEASE netbsd-5-1-5-RELEASE netbsd-5-2-2-RELEASE netbsd-5-1-4-RELEASE netbsd-5-2-1-RELEASE netbsd-5-1-3-RELEASE netbsd-5-2-RELEASE netbsd-5-2-RC1 yamt-pagecache-base5 yamt-pagecache-base4 netbsd-6-base netbsd-5-1-2-RELEASE netbsd-5-1-1-RELEASE yamt-pagecache-base3 yamt-pagecache-base2 yamt-pagecache-base cherry-xenmp-base bouyer-quota2-nbase bouyer-quota2-base matt-mips64-premerge-20101231 matt-nb5-mips64-premerge-20101231 matt-nb5-pq3-base netbsd-5-1-RELEASE netbsd-5-1-RC4 matt-nb5-mips64-k15 netbsd-5-1-RC3 netbsd-5-1-RC2 netbsd-5-1-RC1 netbsd-5-0-2-RELEASE matt-nb5-mips64-premerge-20091211 matt-premerge-20091211 matt-nb5-mips64-u2-k2-k4-k7-k8-k9 matt-nb4-mips64-k7-u2a-k9b matt-nb5-mips64-u1-k1-k5 netbsd-5-0-1-RELEASE jym-xensuspend-nbase netbsd-5-0-RELEASE netbsd-5-0-RC4 netbsd-5-0-RC3 netbsd-5-0-RC2 jym-xensuspend-base netbsd-5-0-RC1 mjf-devfs2-base2 netbsd-5-base matt-mips64-base2
|
#
1.11 |
|
07-Oct-2008 |
abs |
branches: 1.11.18; 1.11.20; 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
|
Revision tags: netbsd-4-0-1-RELEASE wrstuden-revivesa-base-3 wrstuden-revivesa-base-2 wrstuden-fixsa-newbase wrstuden-revivesa-base-1 yamt-pf42-base4 yamt-pf42-base3 hpcarm-cleanup-nbase yamt-pf42-baseX yamt-pf42-base2 wrstuden-revivesa-base yamt-pf42-base mjf-devfs2-base keiichi-mipv6-base mjf-devfs-base matt-armv6-nbase matt-armv6-prevmlocking wrstuden-fixsa-base-1 netbsd-4-0-RELEASE cube-autoconf-base netbsd-4-0-RC5 netbsd-4-0-RC4 netbsd-4-0-RC3 netbsd-4-0-RC2 netbsd-4-0-RC1 matt-armv6-base matt-mips64-base hpcarm-cleanup-base netbsd-3-1-1-RELEASE netbsd-3-0-3-RELEASE wrstuden-fixsa-base abandoned-netbsd-4-base netbsd-3-1-RELEASE netbsd-3-0-2-RELEASE netbsd-3-1-RC4 netbsd-3-1-RC3 netbsd-3-1-RC2 netbsd-3-1-RC1 netbsd-4-base netbsd-3-0-1-RELEASE netbsd-3-0-RELEASE netbsd-3-0-RC6 netbsd-3-0-RC5 netbsd-3-0-RC4 netbsd-3-0-RC3 netbsd-3-0-RC2 netbsd-3-0-RC1 netbsd-3-base
|
#
1.10 |
|
20-Jun-2004 |
christos |
branches: 1.10.26; 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.
|
Revision tags: netbsd-2-0-3-RELEASE netbsd-2-1-RELEASE netbsd-2-1-RC6 netbsd-2-1-RC5 netbsd-2-1-RC4 netbsd-2-1-RC3 netbsd-2-1-RC2 netbsd-2-1-RC1 netbsd-2-0-2-RELEASE netbsd-2-0-1-RELEASE netbsd-2-base netbsd-2-0-RELEASE netbsd-2-0-RC5 netbsd-2-0-RC4 netbsd-2-0-RC3 netbsd-2-0-RC2 netbsd-2-0-RC1 netbsd-2-0-base unifiedMKDEV-pre
|
#
1.9 |
|
04-Oct-2003 |
dsl |
Revert 'console' back to /dev/console (from /dev/constty)
|
#
1.8 |
|
03-Oct-2003 |
dsl |
Change 'console' login to use /dev/constty so that its output isn't stolen by code that requests system messages using TIOCCONS.
|
Revision tags: netbsd-1-6-PATCH002-RELEASE netbsd-1-6-PATCH002 netbsd-1-6-PATCH002-RC4 netbsd-1-6-PATCH002-RC3 netbsd-1-6-PATCH002-RC2 netbsd-1-6-PATCH002-RC1 netbsd-1-6-PATCH001 netbsd-1-6-PATCH001-RELEASE netbsd-1-6-PATCH001-RC3 netbsd-1-6-PATCH001-RC2 netbsd-1-6-PATCH001-RC1 fvdl_fs64_base netbsd-1-6-RELEASE netbsd-1-6-RC3 netbsd-1-6-RC2 netbsd-1-6-RC1 netbsd-1-6-base
|
#
1.7 |
|
13-Feb-2002 |
martti |
Added ttyp[g-zA-Z] (bin/15594).
|
#
1.6 |
|
12-Aug-2000 |
mason |
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.
|
Revision tags: netbsd-1-5-ALPHA2 netbsd-1-5-base minoura-xpg4dl-base wrstuden-devbsize-19991221 wrstuden-devbsize-base comdex-fall-1999-base
|
#
1.5 |
|
29-Apr-1999 |
ross |
branches: 1.5.8; Set console and ttyE? term types to vt100.
|
Revision tags: netbsd-1-4-base netbsd-1-3-PATCH003 netbsd-1-3-PATCH003-CANDIDATE2 netbsd-1-3-PATCH003-CANDIDATE1 netbsd-1-3-PATCH003-CANDIDATE0 netbsd-1-3-PATCH002 netbsd-1-3-PATCH001 netbsd-1-3-RELEASE netbsd-1-3-BETA netbsd-1-3-base netbsd-1-2-PATCH001 netbsd-1-2-RELEASE netbsd-1-2-BETA netbsd-1-2-base netbsd-1-1-PATCH001 netbsd-1-1-RELEASE netbsd-1-1-base
|
#
1.4 |
|
30-Jul-1995 |
cgd |
branches: 1.4.8; add a ttyE1 line
|
#
1.3 |
|
30-Jul-1995 |
cgd |
Use "std.9600" instead of "Pc" for the line type. rename SCC tty devices from tty0? to ttyB?. add entries for ttyC? (AlphaStation ns16550 "com" ports), and ttyE? (Workstation console (framebuffer & keyboard) emulators).
|
#
1.2 |
|
11-Apr-1995 |
cgd |
start a getty on console, even though it's not clear that that's correct.
|
#
1.1 |
|
23-Feb-1995 |
cgd |
alpha etc files
|
#
1.12 |
|
13-Jun-2012 |
martin |
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.
|
#
1.11 |
|
07-Oct-2008 |
abs |
branches: 1.11.18; 1.11.20; 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
|
#
1.10 |
|
20-Jun-2004 |
christos |
branches: 1.10.26; 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.
|
#
1.9 |
|
04-Oct-2003 |
dsl |
Revert 'console' back to /dev/console (from /dev/constty)
|
#
1.8 |
|
03-Oct-2003 |
dsl |
Change 'console' login to use /dev/constty so that its output isn't stolen by code that requests system messages using TIOCCONS.
|
#
1.7 |
|
13-Feb-2002 |
martti |
Added ttyp[g-zA-Z] (bin/15594).
|
#
1.6 |
|
12-Aug-2000 |
mason |
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.
|
#
1.5 |
|
28-Apr-1999 |
ross |
branches: 1.5.8; Set console and ttyE? term types to vt100.
|
#
1.4 |
|
30-Jul-1995 |
cgd |
branches: 1.4.8; add a ttyE1 line
|
#
1.3 |
|
30-Jul-1995 |
cgd |
Use "std.9600" instead of "Pc" for the line type. rename SCC tty devices from tty0? to ttyB?. add entries for ttyC? (AlphaStation ns16550 "com" ports), and ttyE? (Workstation console (framebuffer & keyboard) emulators).
|
#
1.2 |
|
10-Apr-1995 |
cgd |
start a getty on console, even though it's not clear that that's correct.
|
#
1.1 |
|
22-Feb-1995 |
cgd |
alpha etc files
|
#
1.4.8.1 |
|
29-Apr-1999 |
perry |
pullup 1.4->1.5 (ross)
|
#
1.5.8.1 |
|
12-Aug-2000 |
mason |
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.
|
#
1.10.26.1 |
|
17-Jan-2009 |
mjf |
Sync with HEAD.
|
#
1.11.20.1 |
|
24-Jun-2012 |
riz |
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.
|
#
1.11.18.1 |
|
30-Oct-2012 |
yamt |
sync with head
|