Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 26 Oct 2000 23:33:07 -0400 (EDT)
From:      rick@kiwi-computer.com
To:        FreeBSD-gnats-submit@freebsd.org
Subject:   misc/22332: request to add more active ttys by default
Message-ID:  <200010270333.XAA26974@kris.kiwi-computer.com>

next in thread | raw e-mail | index | archive | help

>Number:         22332
>Category:       misc
>Synopsis:       request to add vtys to /etc/ttys
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Thu Oct 26 20:40:01 PDT 2000
>Closed-Date:
>Last-Modified:
>Originator:     Rick C. Petty
>Release:        FreeBSD 4.1-RELEASE i386
>Organization:
KIWI Computer
>Environment:
>Description:

Most (nearly all??) keyboards with Function keys have F1-F12.  By
default ttys(5) is setup for F1-F8 as virtual terminals and uses F9
for X/xdm.  I propose adding the other three as virtual terminals,
moving X down to F12.  [At the very least, enable the extra virtual
terminals for all Fn-keys and setup X/xdm to use one of the lower
numbers if there are keyboards with fewer Fn-keys-- it's okay to
have getty(8) running even if the user can never access those
terminals, IMHO]

Why not enable 24 and use shift-Alt-Fn?  By default sc(4) enables 16
and most people will complain if extra keypresses are required.

>How-To-Repeat:
>Fix:

Apply the following three patches:


--- usr/src/etc/etc.alpha/ttys.orig	Thu Oct 26 22:57:54 2000
+++ usr/src/etc/etc.alpha/ttys	Thu Oct 26 22:58:10 2000
@@ -38,7 +38,10 @@
 ttyv5	"/usr/libexec/getty Pc"		cons25	on  secure
 ttyv6	"/usr/libexec/getty Pc"		cons25	on  secure
 ttyv7	"/usr/libexec/getty Pc"		cons25	on  secure
-ttyv8	"/usr/X11R6/bin/xdm -nodaemon"	xterm	off secure
+ttyv8	"/usr/libexec/getty Pc"		cons25	on  secure
+ttyv9	"/usr/libexec/getty Pc"		cons25	on  secure
+ttyva	"/usr/libexec/getty Pc"		cons25	on  secure
+ttyvb	"/usr/X11R6/bin/xdm -nodaemon"	xterm	off secure
 # Serial terminals
 # The 'dialup' keyword identifies dialin lines to login, fingerd etc.
 ttyd0	"/usr/libexec/getty std.9600"	dialup	off secure


--- usr/src/etc/etc.i386/ttys.orig	Thu Oct 26 22:55:31 2000
+++ usr/src/etc/etc.i386/ttys	Thu Oct 26 22:55:51 2000
@@ -39,7 +39,10 @@
 ttyv5	"/usr/libexec/getty Pc"		cons25	on  secure
 ttyv6	"/usr/libexec/getty Pc"		cons25	on  secure
 ttyv7	"/usr/libexec/getty Pc"		cons25	on  secure
-ttyv8	"/usr/X11R6/bin/xdm -nodaemon"	xterm	off secure
+ttyv8	"/usr/libexec/getty Pc"		cons25	on  secure
+ttyv9	"/usr/libexec/getty Pc"		cons25	on  secure
+ttyva	"/usr/libexec/getty Pc"		cons25	on  secure
+ttyvb	"/usr/X11R6/bin/xdm -nodaemon"	xterm	off secure
 # Serial terminals
 # The 'dialup' keyword identifies dialin lines to login, fingerd etc.
 ttyd0	"/usr/libexec/getty std.9600"	dialup	off secure


--- usr/src/share/man/man4/syscons.4.orig	Thu Oct 26 23:27:40 2000
+++ usr/src/share/man/man4/syscons.4	Thu Oct 26 23:27:51 2000
@@ -89,7 +89,7 @@
 will recognize them to be active and run
 .Xr login 1 
 to let the user to login to the system.
-By default, only the first eight virtual terminals are activated in
+By default, only the first twelve virtual terminals are activated in
 .Pa /etc/ttys .
 .Pp
 You press the

>Release-Note:
>Audit-Trail:
>Unformatted:


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-bugs" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200010270333.XAA26974>