From rick@kris.kiwi-computer.com  Thu Oct 26 20:30:33 2000
Return-Path: <rick@kris.kiwi-computer.com>
Received: from kris.kiwi-computer.com (adsl-151-203-126-84.bostma.adsl.bellatlantic.net [151.203.126.84])
	by hub.freebsd.org (Postfix) with ESMTP id E67BE37B479
	for <FreeBSD-gnats-submit@freebsd.org>; Thu, 26 Oct 2000 20:30:31 -0700 (PDT)
Received: (from root@localhost)
	by kris.kiwi-computer.com (8.9.3/8.9.3) id XAA26974;
	Thu, 26 Oct 2000 23:33:07 -0400 (EDT)
	(envelope-from rick)
Message-Id: <200010270333.XAA26974@kris.kiwi-computer.com>
Date: Thu, 26 Oct 2000 23:33:07 -0400 (EDT)
From: rick@kiwi-computer.com
Sender: rick@kris.kiwi-computer.com
Reply-To: rick@kiwi-computer.com
To: FreeBSD-gnats-submit@freebsd.org
Subject: request to add more active ttys by default
X-Send-Pr-Version: 3.2

>Number:         22332
>Category:       misc
>Synopsis:       request to add vtys to /etc/ttys
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-bugs
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Thu Oct 26 20:40:01 PDT 2000
>Closed-Date:    Sun Aug 11 13:45:22 PDT 2002
>Last-Modified:  Sun Aug 11 13:45:22 PDT 2002
>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:

From: "Rick C. Petty" <rick@KIWI-Computer.com>
To: freebsd-gnats-submit@freebsd.org
Cc:  
Subject: Re: misc/22332: request to add vtys to /etc/ttys
Date: Thu, 26 Oct 2000 22:54:56 -0500 (CDT)

 Sorry, misfiled that, it should have class "change-request" instead of
 "sw-bug".  Also, the third patch file should say "eleven" instead of
 "twelve" (see below).  This is your brain on <strike>drugs</strike>unix.
 Gimme a break, it's my second send-pr(1) ever.  =)
 
 --Rick C. Petty,  aka Snoopy                     rick@kiwi-computer.com
 -----------------------------------------------------------------------
 Senior Software Engineer, KIWI Computer       http://kiwi-computer.com/
 
 
 --- 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 eleven virtual terminals are activated in
  .Pa /etc/ttys .
  .Pp
  You press the
 

From: Doug Barton <DougB@gorean.org>
To: rick@kiwi-computer.com
Cc: FreeBSD-gnats-submit@freebsd.org
Subject: Re: misc/22332: request to add more active ttys by default
Date: Thu, 26 Oct 2000 23:41:31 -0700

 rick@kiwi-computer.com wrote:
 
 > 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.  
 
 	In my totally unofficial opinion, having 8 virtual terminals is twice
 too many for most people. I can't imagine a user sophisticated enough to
 "need" 24 tty's who isn't also smart enough to take the 3.5 seconds to
 edit /etc/ttys and HUP init. 
 
 Doug
 

From: "Rick C. Petty" <rick@KIWI-Computer.com>
To: Doug Barton <DougB@gorean.org>
Cc: rick@kiwi-computer.com, FreeBSD-gnats-submit@freebsd.org
Subject: Re: misc/22332: request to add more active ttys by default
Date: Fri, 27 Oct 2000 10:35:44 -0500 (CDT)

 > 	In my totally unofficial opinion, having 8 virtual terminals is twice
 > too many for most people. I can't imagine a user sophisticated enough to
 > "need" 24 tty's who isn't also smart enough to take the 3.5 seconds to
 > edit /etc/ttys and HUP init. 
 
 In my experience, if it's available, people will use it.  I've setup 12 
 vtys for many people, included unsophisticated users who have no clue what
 HUP or even a signal is (asside from a traffic light).  In one case a
 business running SCO that I enabled 12 screens when they were given three
 by default.  Initially they were worried about getting lost with so many
 screens, but after talking to them months later, nearly all their (l)users
 used all screens.  Plus it saves them time when one screen is waiting for a
 job to complete.  These are people who don't even know their system is a
 unix and who have never heard of unix.
 
 Lots of people I know & have setup freebsd for also use all 12 screens.
 These people barely know how to code much less would dare doing anything as
 root.  IMHO, I think if you give them extra stuff users will use them.  If
 they get lost or don't use more than 1-4, why give them 8?  We went to a
 default of 8 some time ago (forgot which release) and many people were
 happy to have more terms by default.  I'm suggesting that unless there's a
 very good reason not to give out 12 such as hardware limitations for some
 deprecated keyboards, I say give 'em all 12.
 
 One idea I've been toying with is disabling vty0 (alt-F1) so that console
 messages end up there & stay there, without the hassle of logins
 interrupting important system messages.  But I wasn't gonna make that
 suggestion..  I can hear it now:  "My system doesn't give me a Login:
 prompt anymore!"
 
 --Rick C. Petty,  aka Snoopy                     rick@kiwi-computer.com
 -----------------------------------------------------------------------
 Senior Software Engineer, KIWI Computer       http://kiwi-computer.com/
 
State-Changed-From-To: open->closed 
State-Changed-By: iedowse 
State-Changed-When: Sun Aug 11 13:38:57 PDT 2002 
State-Changed-Why:  

There doesn't seem to have been any interest in changing the default 
number of virtual terminals. It is easy to configure additional 
ones if you want. Remember also that you can run multiple X servers 
on the same machine, so it is useful to have a few VTs spare for 
that. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=22332 
>Unformatted:
