Subject: Bug#3822: sysvinit: inittab should use 38400 for getty on vc

From: [email-masked] (Bernd Eckenfels)
Date: Wed, 17 Jul 1996 17:48:16 +0200 (MET DST)

Package sysvinit
Version: 2.62-1

The gettys in /etc/inittab are started with 9600, which will make a few
full-screen applications (like joe) painfully slow. Joe calculates the
maximum number of character he is able to output to avoid buffer-overruns,
this will not happen, if it sees 38400 as the tty speed. Additionally
I will suggest to give a few getty lines more like this:

----------------------------------------------
...
# /sbin/getty invocations for the runlevels.
#
# The "id" field MUST be the same as the last
# characters of the device (after "tty").
#
# Make sure that the tty devices are present in /dev/.
# To generate new ttys modify "MAXVT=" in /dev/MAKEDEV 
# and execute it.
#
# Format:
#  <id>:<runlevels>:<action>:<process>
t1:2345:respawn:/sbin/getty 38400 tty1
t2:2345:respawn:/sbin/getty 38400 tty2
t3:23:respawn:/sbin/getty 38400 tty3
t4:23:respawn:/sbin/getty 38400 tty4
t5:23:respawn:/sbin/getty 38400 tty5
t6:23:respawn:/sbin/getty 38400 tty6
t7:23:respawn:/sbin/getty 38400 tty7
#t8:23:respawn:/sbin/getty 38400 tty8
#t9:23:respawn:/sbin/getty 38400 tty9
#u0:23:respawn:/sbin/getty 38400 tty10
#u1:23:respawn:/sbin/getty 38400 tty11
#u2:23:respawn:/sbin/getty 38400 tty12
...
---------------------------------------------

Greetings
Bernd

---

From: Chris Fearnley <[email-masked]>
Date: Thu, 18 Jul 1996 22:53:15 -0400 (EDT)

'Bernd Eckenfels wrote:'
>I will suggest to give a few getty lines more like this:

I don't dispute your 9600 bug, but I always edit /etc/inittab to
/reduce/ the number of gettys running to 2.  Then I run X and save a
bit of swap space and process table space (not much, but there's no
reason to run things you don't need!).  Given the tools of screen and
open (my favorite), I consider it an historical accident that we have 6
gettys running.  If we were voting, I'd vote for two (2) gettys.  But
I'm inclined to accept the package maintainer's decision as it's not
really a bug.

-- 
Christopher J. Fearnley            |    Linux/Internet Consulting
[email-masked], [email-masked]       |    UNIX SIG Leader at PACS
http://www.netaxs.com/~cjf         |    (Philadelphia Area Computer Society)
ftp://ftp.netaxs.com/people/cjf    |    Design Science Revolutionary
"Dare to be Naive" -- Bucky Fuller |    Explorer in Universe

---

From: [email-masked] (Bernd Eckenfels)
Date: Fri, 19 Jul 1996 04:56:42 +0200 (MET DST)

> I'd vote for two (2) gettys.

2 active gettys are just fine. I was only refering to the comments that one
can see how to specify >tty10.

Greetings
Bernd

---

From: Miquel van Smoorenburg <[email-masked]>
Date: Fri, 19 Jul 1996 15:02:32 +0200 (MET DST)

> this will not happen, if it sees 38400 as the tty speed. Additionally

OK, I've changed that.

Mike.
-- 
  Miquel van    | Cistron Internet Services   --    Alphen aan den Rijn.
  Smoorenburg,  | mailto:[email-masked]          http://www.cistron.nl/
[email-masked] | Tel: +31-172-419445 (Voice) 430979 (Fax) 442580 (Data)

---

From: Miquel van Smoorenburg <[email-masked]>
Date: Fri, 19 Jul 1996 15:37:04 +0200 (MET DST)

> can see how to specify >tty10.

As the 2-character restriction of the id field has been lifted to 4, that's
not needed. One can indeed have:

t8:
t9:
t10:
t11:

etc.

Mike.