head	1.11;
access;
symbols
	netbsd-11-0-RC4:1.11
	netbsd-11-0-RC3:1.11
	netbsd-11-0-RC2:1.11
	netbsd-11-0-RC1:1.11
	perseant-exfatfs-base-20250801:1.11
	netbsd-11:1.11.0.4
	netbsd-11-base:1.11
	netbsd-10-1-RELEASE:1.10.8.1
	perseant-exfatfs-base-20240630:1.11
	perseant-exfatfs:1.11.0.2
	perseant-exfatfs-base:1.11
	netbsd-8-3-RELEASE:1.9
	netbsd-9-4-RELEASE:1.9.64.1
	netbsd-10-0-RELEASE:1.10.8.1
	netbsd-10-0-RC6:1.10.8.1
	netbsd-10-0-RC5:1.10.8.1
	netbsd-10-0-RC4:1.10.8.1
	netbsd-10-0-RC3:1.10
	netbsd-10-0-RC2:1.10
	netbsd-10-0-RC1:1.10
	netbsd-10:1.10.0.8
	netbsd-10-base:1.10
	netbsd-9-3-RELEASE:1.9.64.1
	cjep_sun2x-base1:1.10
	cjep_sun2x:1.10.0.6
	cjep_sun2x-base:1.10
	cjep_staticlib_x-base1:1.10
	netbsd-9-2-RELEASE:1.9.64.1
	cjep_staticlib_x:1.10.0.4
	cjep_staticlib_x-base:1.10
	netbsd-9-1-RELEASE:1.9.64.1
	phil-wifi-20200421:1.10
	phil-wifi-20200411:1.10
	is-mlppp:1.10.0.2
	is-mlppp-base:1.10
	phil-wifi-20200406:1.10
	netbsd-8-2-RELEASE:1.9
	netbsd-9-0-RELEASE:1.9.64.1
	netbsd-9-0-RC2:1.9.64.1
	netbsd-9-0-RC1:1.9.64.1
	phil-wifi-20191119:1.10
	netbsd-9:1.9.0.64
	netbsd-9-base:1.9
	phil-wifi-20190609:1.9
	netbsd-8-1-RELEASE:1.9
	netbsd-8-1-RC1:1.9
	pgoyette-compat-merge-20190127:1.9
	pgoyette-compat-20190127:1.9
	pgoyette-compat-20190118:1.9
	pgoyette-compat-1226:1.9
	pgoyette-compat-1126:1.9
	pgoyette-compat-1020:1.9
	pgoyette-compat-0930:1.9
	pgoyette-compat-0906:1.9
	netbsd-7-2-RELEASE:1.9
	pgoyette-compat-0728:1.9
	netbsd-8-0-RELEASE:1.9
	phil-wifi:1.9.0.62
	phil-wifi-base:1.9
	pgoyette-compat-0625:1.9
	netbsd-8-0-RC2:1.9
	pgoyette-compat-0521:1.9
	pgoyette-compat-0502:1.9
	pgoyette-compat-0422:1.9
	netbsd-8-0-RC1:1.9
	pgoyette-compat-0415:1.9
	pgoyette-compat-0407:1.9
	pgoyette-compat-0330:1.9
	pgoyette-compat-0322:1.9
	pgoyette-compat-0315:1.9
	netbsd-7-1-2-RELEASE:1.9
	pgoyette-compat:1.9.0.60
	pgoyette-compat-base:1.9
	netbsd-7-1-1-RELEASE:1.9
	matt-nb8-mediatek:1.9.0.58
	matt-nb8-mediatek-base:1.9
	perseant-stdc-iso10646:1.9.0.56
	perseant-stdc-iso10646-base:1.9
	netbsd-8:1.9.0.54
	netbsd-8-base:1.9
	prg-localcount2-base3:1.9
	prg-localcount2-base2:1.9
	prg-localcount2-base1:1.9
	prg-localcount2:1.9.0.52
	prg-localcount2-base:1.9
	pgoyette-localcount-20170426:1.9
	bouyer-socketcan-base1:1.9
	pgoyette-localcount-20170320:1.9
	netbsd-7-1:1.9.0.50
	netbsd-7-1-RELEASE:1.9
	netbsd-7-1-RC2:1.9
	netbsd-7-nhusb-base-20170116:1.9
	bouyer-socketcan:1.9.0.48
	bouyer-socketcan-base:1.9
	pgoyette-localcount-20170107:1.9
	netbsd-7-1-RC1:1.9
	pgoyette-localcount-20161104:1.9
	netbsd-7-0-2-RELEASE:1.9
	localcount-20160914:1.9
	netbsd-7-nhusb:1.9.0.46
	netbsd-7-nhusb-base:1.9
	pgoyette-localcount-20160806:1.9
	pgoyette-localcount-20160726:1.9
	pgoyette-localcount:1.9.0.44
	pgoyette-localcount-base:1.9
	netbsd-7-0-1-RELEASE:1.9
	netbsd-7-0:1.9.0.42
	netbsd-7-0-RELEASE:1.9
	netbsd-7-0-RC3:1.9
	netbsd-7-0-RC2:1.9
	netbsd-7-0-RC1:1.9
	netbsd-5-2-3-RELEASE:1.9
	netbsd-5-1-5-RELEASE:1.9
	netbsd-6-0-6-RELEASE:1.9
	netbsd-6-1-5-RELEASE:1.9
	netbsd-7:1.9.0.40
	netbsd-7-base:1.9
	yamt-pagecache-base9:1.9
	yamt-pagecache-tag8:1.9
	netbsd-6-1-4-RELEASE:1.9
	netbsd-6-0-5-RELEASE:1.9
	tls-earlyentropy:1.9.0.38
	tls-earlyentropy-base:1.9
	riastradh-xf86-video-intel-2-7-1-pre-2-21-15:1.9
	riastradh-drm2-base3:1.9
	netbsd-6-1-3-RELEASE:1.9
	netbsd-6-0-4-RELEASE:1.9
	netbsd-5-2-2-RELEASE:1.9
	netbsd-5-1-4-RELEASE:1.9
	netbsd-6-1-2-RELEASE:1.9
	netbsd-6-0-3-RELEASE:1.9
	netbsd-5-2-1-RELEASE:1.9
	netbsd-5-1-3-RELEASE:1.9
	netbsd-6-1-1-RELEASE:1.9
	riastradh-drm2-base2:1.9
	riastradh-drm2-base1:1.9
	riastradh-drm2:1.9.0.30
	riastradh-drm2-base:1.9
	netbsd-6-1:1.9.0.36
	netbsd-6-0-2-RELEASE:1.9
	netbsd-6-1-RELEASE:1.9
	khorben-n900:1.9.0.34
	netbsd-6-1-RC4:1.9
	netbsd-6-1-RC3:1.9
	agc-symver:1.9.0.32
	agc-symver-base:1.9
	netbsd-6-1-RC2:1.9
	netbsd-6-1-RC1:1.9
	yamt-pagecache-base8:1.9
	netbsd-5-2:1.9.0.28
	netbsd-6-0-1-RELEASE:1.9
	yamt-pagecache-base7:1.9
	netbsd-5-2-RELEASE:1.9
	netbsd-5-2-RC1:1.9
	matt-nb6-plus-nbase:1.9
	yamt-pagecache-base6:1.9
	netbsd-6-0:1.9.0.26
	netbsd-6-0-RELEASE:1.9
	netbsd-6-0-RC2:1.9
	tls-maxphys:1.9.0.24
	tls-maxphys-base:1.9
	matt-nb6-plus:1.9.0.22
	matt-nb6-plus-base:1.9
	netbsd-6-0-RC1:1.9
	yamt-pagecache-base5:1.9
	yamt-pagecache-base4:1.9
	netbsd-6:1.9.0.20
	netbsd-6-base:1.9
	netbsd-5-1-2-RELEASE:1.9
	netbsd-5-1-1-RELEASE:1.9
	yamt-pagecache-base3:1.9
	yamt-pagecache-base2:1.9
	yamt-pagecache:1.9.0.18
	yamt-pagecache-base:1.9
	cherry-xenmp:1.9.0.16
	cherry-xenmp-base:1.9
	bouyer-quota2-nbase:1.9
	bouyer-quota2:1.9.0.14
	bouyer-quota2-base:1.9
	matt-mips64-premerge-20101231:1.9
	matt-nb5-mips64-premerge-20101231:1.9
	matt-nb5-pq3:1.9.0.12
	matt-nb5-pq3-base:1.9
	netbsd-5-1:1.9.0.10
	netbsd-5-1-RELEASE:1.9
	netbsd-5-1-RC4:1.9
	matt-nb5-mips64-k15:1.9
	netbsd-5-1-RC3:1.9
	netbsd-5-1-RC2:1.9
	netbsd-5-1-RC1:1.9
	netbsd-5-0-2-RELEASE:1.9
	matt-nb5-mips64-premerge-20091211:1.9
	matt-premerge-20091211:1.9
	matt-nb5-mips64-u2-k2-k4-k7-k8-k9:1.9
	matt-nb4-mips64-k7-u2a-k9b:1.9
	matt-nb5-mips64-u1-k1-k5:1.9
	matt-nb5-mips64:1.9.0.8
	netbsd-5-0-1-RELEASE:1.9
	jym-xensuspend-nbase:1.9
	netbsd-5-0:1.9.0.6
	netbsd-5-0-RELEASE:1.9
	netbsd-5-0-RC4:1.9
	netbsd-5-0-RC3:1.9
	netbsd-5-0-RC2:1.9
	jym-xensuspend:1.9.0.4
	jym-xensuspend-base:1.9
	netbsd-5-0-RC1:1.9
	mjf-devfs2-base2:1.9
	netbsd-5:1.9.0.2
	netbsd-5-base:1.9
	matt-mips64-base2:1.9
	matt-mips64:1.8.0.32
	netbsd-4-0-1-RELEASE:1.8
	wrstuden-revivesa-base-3:1.8
	wrstuden-revivesa-base-2:1.8
	wrstuden-fixsa-newbase:1.8
	wrstuden-revivesa-base-1:1.8
	yamt-pf42-base4:1.8
	yamt-pf42-base3:1.8
	hpcarm-cleanup-nbase:1.8
	yamt-pf42-baseX:1.8
	yamt-pf42-base2:1.8
	wrstuden-revivesa:1.8.0.30
	wrstuden-revivesa-base:1.8
	yamt-pf42:1.8.0.28
	yamt-pf42-base:1.8
	mjf-devfs2:1.8.0.26
	mjf-devfs2-base:1.8
	keiichi-mipv6:1.8.0.24
	keiichi-mipv6-base:1.8
	mjf-devfs:1.8.0.22
	mjf-devfs-base:1.8
	matt-armv6-nbase:1.8
	matt-armv6-prevmlocking:1.8
	wrstuden-fixsa-base-1:1.8
	netbsd-4-0:1.8.0.20
	netbsd-4-0-RELEASE:1.8
	cube-autoconf:1.8.0.18
	cube-autoconf-base:1.8
	netbsd-4-0-RC5:1.8
	netbsd-4-0-RC4:1.8
	netbsd-4-0-RC3:1.8
	netbsd-4-0-RC2:1.8
	netbsd-4-0-RC1:1.8
	matt-armv6:1.8.0.16
	matt-armv6-base:1.8
	matt-mips64-base:1.8
	hpcarm-cleanup:1.8.0.14
	hpcarm-cleanup-base:1.8
	netbsd-3-1-1-RELEASE:1.8
	netbsd-3-0-3-RELEASE:1.8
	wrstuden-fixsa:1.8.0.12
	wrstuden-fixsa-base:1.8
	abandoned-netbsd-4-base:1.8
	abandoned-netbsd-4:1.8.0.6
	netbsd-3-1:1.8.0.8
	netbsd-3-1-RELEASE:1.8
	netbsd-3-0-2-RELEASE:1.8
	netbsd-3-1-RC4:1.8
	netbsd-3-1-RC3:1.8
	netbsd-3-1-RC2:1.8
	netbsd-3-1-RC1:1.8
	netbsd-4:1.8.0.10
	netbsd-4-base:1.8
	netbsd-3-0-1-RELEASE:1.8
	netbsd-3-0:1.8.0.4
	netbsd-3-0-RELEASE:1.8
	netbsd-3-0-RC6:1.8
	netbsd-3-0-RC5:1.8
	netbsd-3-0-RC4:1.8
	netbsd-3-0-RC3:1.8
	netbsd-3-0-RC2:1.8
	netbsd-3-0-RC1:1.8
	netbsd-2-0-3-RELEASE:1.7
	netbsd-2-1:1.7.0.6
	netbsd-2-1-RELEASE:1.7
	netbsd-2-1-RC6:1.7
	netbsd-2-1-RC5:1.7
	netbsd-2-1-RC4:1.7
	netbsd-2-1-RC3:1.7
	netbsd-2-1-RC2:1.7
	netbsd-2-1-RC1:1.7
	netbsd-2-0-2-RELEASE:1.7
	netbsd-3:1.8.0.2
	netbsd-3-base:1.8
	netbsd-2-0-1-RELEASE:1.7
	netbsd-2:1.7.0.4
	netbsd-2-base:1.7
	netbsd-2-0-RELEASE:1.7
	netbsd-2-0-RC5:1.7
	netbsd-2-0-RC4:1.7
	netbsd-2-0-RC3:1.7
	netbsd-2-0-RC2:1.7
	netbsd-2-0-RC1:1.7
	netbsd-2-0:1.7.0.2
	netbsd-2-0-base:1.7
	netbsd-1-6-PATCH002-RELEASE:1.5
	netbsd-1-6-PATCH002:1.5
	netbsd-1-6-PATCH002-RC4:1.5
	netbsd-1-6-PATCH002-RC3:1.5
	netbsd-1-6-PATCH002-RC2:1.5
	netbsd-1-6-PATCH002-RC1:1.5
	unifiedMKDEV-pre:1.7
	netbsd-1-6-PATCH001:1.5
	netbsd-1-6-PATCH001-RELEASE:1.5
	netbsd-1-6-PATCH001-RC3:1.5
	netbsd-1-6-PATCH001-RC2:1.5
	netbsd-1-6-PATCH001-RC1:1.5
	fvdl_fs64_base:1.5
	netbsd-1-6-RELEASE:1.5
	netbsd-1-6-RC3:1.5
	netbsd-1-6-RC2:1.5
	netbsd-1-6-RC1:1.5
	netbsd-1-6:1.5.0.2
	netbsd-1-6-base:1.5
	netbsd-1-5-PATCH003:1.3.8.1
	netbsd-1-5-PATCH002:1.3.8.1
	netbsd-1-5-PATCH001:1.3.8.1
	netbsd-1-5-RELEASE:1.3.8.1
	netbsd-1-5-BETA2:1.3.8.1
	netbsd-1-5-BETA:1.3.8.1
	netbsd-1-4-PATCH003:1.2
	netbsd-1-5-ALPHA2:1.3
	netbsd-1-5:1.3.0.8
	netbsd-1-5-base:1.3
	minoura-xpg4dl:1.3.0.6
	minoura-xpg4dl-base:1.3
	netbsd-1-4-PATCH002:1.2
	wrstuden-devbsize-19991221:1.3
	wrstuden-devbsize:1.3.0.4
	wrstuden-devbsize-base:1.3
	comdex-fall-1999:1.3.0.2
	comdex-fall-1999-base:1.3
	netbsd-1-4-PATCH001:1.2
	netbsd-1-4-RELEASE:1.2
	netbsd-1-4:1.2.0.2
	netbsd-1-4-base:1.2
	netbsd-1-3-PATCH003:1.1
	netbsd-1-3-PATCH003-CANDIDATE2:1.1
	netbsd-1-3-PATCH003-CANDIDATE1:1.1
	netbsd-1-3-PATCH003-CANDIDATE0:1.1
	netbsd-1-3-PATCH002:1.1
	netbsd-1-3-PATCH001:1.1
	netbsd-1-3-RELEASE:1.1
	netbsd-1-3-BETA:1.1
	netbsd-1-3:1.1.0.4
	netbsd-1-3-base:1.1
	netbsd-1-2-PATCH001:1.1
	netbsd-1-2-RELEASE:1.1
	netbsd-1-2-BETA:1.1
	netbsd-1-2-base:1.1
	netbsd-1-2:1.1.0.6
	netbsd-1-1-PATCH001:1.1
	netbsd-1-1-RELEASE:1.1
	netbsd-1-1:1.1.0.2
	netbsd-1-1-base:1.1;
locks; strict;
comment	@# @;


1.11
date	2024.02.01.22.26.19;	author tsutsui;	state Exp;
branches;
next	1.10;
commitid	ZADaIFYumnG7uMWE;

1.10
date	2019.09.25.23.09.24;	author abs;	state Exp;
branches
	1.10.8.1;
next	1.9;
commitid	3YGcHKFzfDh1NrEB;

1.9
date	2008.10.07.10.00.03;	author abs;	state Exp;
branches
	1.9.62.1
	1.9.64.1;
next	1.8;

1.8
date	2004.06.20.21.30.28;	author christos;	state Exp;
branches
	1.8.26.1;
next	1.7;

1.7
date	2003.10.04.07.41.13;	author dsl;	state Exp;
branches;
next	1.6;

1.6
date	2003.10.03.14.54.22;	author dsl;	state Exp;
branches;
next	1.5;

1.5
date	2002.02.13.09.46.15;	author martti;	state Exp;
branches;
next	1.4;

1.4
date	2000.08.12.13.44.02;	author mason;	state Exp;
branches;
next	1.3;

1.3
date	99.07.28.00.58.14;	author abs;	state Exp;
branches
	1.3.8.1;
next	1.2;

1.2
date	98.06.05.22.31.43;	author ragge;	state Exp;
branches;
next	1.1;

1.1
date	95.08.25.21.25.14;	author ragge;	state Exp;
branches;
next	;

1.10.8.1
date	2024.02.03.14.34.44;	author martin;	state Exp;
branches;
next	;
commitid	uF8J1u646rdmOZWE;

1.9.62.1
date	2020.04.13.07.45.45;	author martin;	state Exp;
branches;
next	;
commitid	X01YhRUPVUDaec4C;

1.9.64.1
date	2019.10.28.18.38.35;	author martin;	state Exp;
branches;
next	;
commitid	NBmdohuY85NUgFIB;

1.8.26.1
date	2009.01.17.20.43.44;	author mjf;	state Exp;
branches;
next	;

1.3.8.1
date	2000.08.12.18.01.51;	author mason;	state Exp;
branches;
next	;


desc
@@


1.11
log
@Use "wsvt25" rather than "sun" for (commented out) wscons tty lines.

Note historically vax port seems to use "ttyw?" rather than common "ttyE?"
for wscons (wsdisplay) tty devices in ttys(5).

No particular comment on port-vax@@:
 https://mail-index.netbsd.org/port-vax/2024/01/thread1.html#004828
@
text
@#	$NetBSD: ttys,v 1.10 2019/09/25 23:09:24 abs Exp $
#
#	@@(#)ttys	5.2 (Berkeley) 6/10/93
#
# name	getty				type	status		comments
#
# If the console is marked insecure, single-user requires
# the root password.
console	"/usr/libexec/getty std.9600"	unknown	off secure
constty	"/usr/libexec/getty std.9600"	unknown	on secure

# Virtual terminals on VS3100 with "glass tty"
#ttyw0	"/usr/libexec/getty std.9600"	wsvt25 on secure
#ttyw1	"/usr/libexec/getty std.9600"	wsvt25 on secure
#ttyw2	"/usr/libexec/getty std.9600"	wsvt25 on secure
#ttyw3	"/usr/libexec/getty std.9600"	wsvt25 on secure
#ttyw4	"/usr/libexec/getty std.9600"	wsvt25 on secure
#ttyw5	"/usr/libexec/getty std.9600"	wsvt25 on secure
#ttyw6	"/usr/libexec/getty std.9600"	wsvt25 on secure
#ttyw7	"/usr/libexec/getty std.9600"	wsvt25 on secure

# DZ-11 lines, not frobbed by getty (keyboard/mouse may be sad)
#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

# DHU-11/DHV-11 lines
#ttyS0	"/usr/libexec/getty std.9600"	unknown off secure
#ttyS1	"/usr/libexec/getty std.9600"	unknown off secure
#ttyS2	"/usr/libexec/getty std.9600"	unknown off secure
#ttyS3	"/usr/libexec/getty std.9600"	unknown off secure
#ttyS4	"/usr/libexec/getty std.9600"	unknown off secure
#ttyS5	"/usr/libexec/getty std.9600"	unknown off secure
#ttyS6	"/usr/libexec/getty std.9600"	unknown off secure
#ttyS7	"/usr/libexec/getty std.9600"	unknown off secure
@


1.10
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
@d1 1
a1 1
#	$NetBSD: ttys,v 1.9 2008/10/07 10:00:03 abs Exp $
d13 8
a20 8
#ttyw0	"/usr/libexec/getty std.9600"	sun on secure
#ttyw1	"/usr/libexec/getty std.9600"	sun on secure
#ttyw2	"/usr/libexec/getty std.9600"	sun on secure
#ttyw3	"/usr/libexec/getty std.9600"	sun on secure
#ttyw4	"/usr/libexec/getty std.9600"	sun on secure
#ttyw5	"/usr/libexec/getty std.9600"	sun on secure
#ttyw6	"/usr/libexec/getty std.9600"	sun on secure
#ttyw7	"/usr/libexec/getty std.9600"	sun on secure
@


1.10.8.1
log
@Pull up following revision(s) (requested by tsutsui in ticket #579):

	etc/etc.vax/ttys: revision 1.11

Use "wsvt25" rather than "sun" for (commented out) wscons tty lines.

Note historically vax port seems to use "ttyw?" rather than common "ttyE?"
for wscons (wsdisplay) tty devices in ttys(5).

No particular comment on port-vax@@:
 https://mail-index.netbsd.org/port-vax/2024/01/thread1.html#004828
@
text
@d1 1
a1 1
#	$NetBSD: ttys,v 1.10 2019/09/25 23:09:24 abs Exp $
d13 8
a20 8
#ttyw0	"/usr/libexec/getty std.9600"	wsvt25 on secure
#ttyw1	"/usr/libexec/getty std.9600"	wsvt25 on secure
#ttyw2	"/usr/libexec/getty std.9600"	wsvt25 on secure
#ttyw3	"/usr/libexec/getty std.9600"	wsvt25 on secure
#ttyw4	"/usr/libexec/getty std.9600"	wsvt25 on secure
#ttyw5	"/usr/libexec/getty std.9600"	wsvt25 on secure
#ttyw6	"/usr/libexec/getty std.9600"	wsvt25 on secure
#ttyw7	"/usr/libexec/getty std.9600"	wsvt25 on secure
@


1.9
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
@d1 1
a1 1
#	$NetBSD: ttys,v 1.8 2004/06/20 21:30:28 christos Exp $
d9 2
a10 2
console	"/usr/libexec/getty std.9600"	unknown	on secure
constty	"/usr/libexec/getty std.9600"	unknown	off secure
@


1.9.62.1
log
@Mostly merge changes from HEAD upto 20200411
@
text
@d1 1
a1 1
#	$NetBSD$
d9 2
a10 2
console	"/usr/libexec/getty std.9600"	unknown	off secure
constty	"/usr/libexec/getty std.9600"	unknown	on secure
@


1.9.64.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
@d1 1
a1 1
#	$NetBSD: ttys,v 1.9 2008/10/07 10:00:03 abs Exp $
d9 2
a10 2
console	"/usr/libexec/getty std.9600"	unknown	off secure
constty	"/usr/libexec/getty std.9600"	unknown	on secure
@


1.8
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
@d1 1
a1 1
#	$NetBSD: ttys,v 1.7 2003/10/04 07:41:13 dsl Exp $
d10 1
@


1.8.26.1
log
@Sync with HEAD.
@
text
@d1 1
a1 1
#	$NetBSD$
a9 1
constty	"/usr/libexec/getty std.9600"	unknown	off secure
@


1.7
log
@Revert 'console' back to /dev/console (from /dev/constty)
@
text
@d1 1
a1 1
#	$NetBSD: ttys,v 1.6 2003/10/03 14:54:22 dsl Exp $
a39 111

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.6
log
@Change 'console' login to use /dev/constty so that its output isn't
stolen by code that requests system messages using TIOCCONS.
@
text
@d1 1
a1 1
#	$NetBSD: ttys,v 1.5 2002/02/13 09:46:15 martti Exp $
d9 1
a9 1
constty	"/usr/libexec/getty std.9600"	unknown	on secure
@


1.5
log
@Added ttyp[g-zA-Z] (bin/15594).
@
text
@d1 1
a1 1
#	$NetBSD: ttys,v 1.4 2000/08/12 13:44:02 mason Exp $
d9 1
a9 1
console	"/usr/libexec/getty std.9600"	unknown	on secure
@


1.4
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
@d1 1
a1 1
#	$NetBSD: ttys,v 1.3 1999/07/28 00:58:14 abs Exp $
d57 46
@


1.3
log
@Add some DHU-11/DHV-11 lines - from bdc@@world.std.com
@
text
@d1 1
a1 1
#	$NetBSD: ttys,v 1.2 1998/06/05 22:31:43 ragge Exp $
d73 32
@


1.3.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
@d1 1
a1 1
#	$NetBSD: ttys,v 1.3 1999/07/28 00:58:14 abs Exp $
a72 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.2
log
@/dev entries + getty stubs for virtual console.
@
text
@d1 1
a1 1
#	$NetBSD: ttys,v 1.1 1995/08/25 21:25:14 ragge Exp $
d30 10
@


1.1
log
@etc files specific for vax added.
@
text
@d1 1
a1 1
#	$NetBSD$
d11 19
a29 10
# Hardwired lines are marked off, by default, so getty(8)
# is quiet when they don't exist.
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
@
