Home | History | Annotate | Download | only in etc.pmax
History log of /src/etc/etc.pmax/ttys
RevisionDateAuthorComments
 1.16  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
 1.15  13-Jun-2012  martin branches: 1.15.34; 1.15.36;
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.14  07-Oct-2008  abs branches: 1.14.18; 1.14.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.13  29-Jul-2006  ad branches: 1.13.20;
Remove RASTERCONSOLE support from the pmax port.
 1.12  20-Jun-2004  christos 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.11  30-Oct-2003  drochner getttyent(3) was changed to complain about unknown words at the end of
tty definitions. Use '#' to separate comments.
 1.10  04-Oct-2003  dsl Revert 'console' back to /dev/console (from /dev/constty)
 1.9  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.8  06-Jan-2003  wiz compatibility, not compatiblity.
 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  06-Oct-1999  ad branches: 1.5.6;
Default terminal type of /dev/console is 'rcons'.
 1.4  16-Nov-1998  jonathan branches: 1.4.2; 1.4.4;
Comment out lines corresponding to LK-201 keyboard and DEC serial mouse.
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.
 1.3  30-Oct-1997  jonathan Changes to pmax MAKEDEV and /dev/ttys:

* 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.
 1.2  17-Sep-1996  thorpej branches: 1.2.2;
RCS id police
 1.1  17-Jan-1995  mellon default /etc/ttys for pmax
 1.2.2.2  23-Nov-1998  cgd pull up rev 1.4 from trunk (jonathan)
 1.2.2.1  03-Nov-1997  mellon Pull rev 1.3 up from trunk (jonathan)
 1.4.4.1  27-Dec-1999  wrstuden Pull up to last week's -current.
 1.4.2.1  08-Jan-2000  he Pull up revision 1.5 (requested by ad):
Set the terminal type of /dev/console to 'rcons'.
 1.5.6.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.13.20.1  17-Jan-2009  mjf Sync with HEAD.
 1.14.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.14.18.1  30-Oct-2012  yamt sync with head
 1.15.36.1  28-Oct-2019  martin 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
 1.15.34.1  13-Apr-2020  martin Mostly merge changes from HEAD upto 20200411

RSS XML Feed