[comp.os.minix] ttys contents

PECQUET@mps.ohio-state.edu (06/19/91)

     I am new in this newsgroup so this might be a trivial problem.  I am 
trying to set up tty2 with a login process.  I have PH 1.5 and the manual 
says that entries in ttys get login processes forked to them.  I looked at 
ttys and saw two entries.  What are these numbers (100 & 0f1)???  And what 
must be added to get tty2 working?  When I tried getty it put the login 
process on the console, though my guess as to what should be in gettydefs 
may be wrong.  Please help!

-Joseph Pecquet      pecquet@mps.ohio-state.edu

jac@unlisys.in-berlin.de (Joerg Conradt) (06/26/91)

hello joseph
> 
>      I am new in this newsgroup so this might be a trivial problem.  I am
> trying to set up tty2 with a login process.  I have PH 1.5 and the manual
> says that entries in ttys get login processes forked to them.  I looked at
> ttys and saw two entries.  What are these numbers (100 & 0f1)???  And what
> must be added to get tty2 working?  When I tried getty it put the login
> process on the console, though my guess as to what should be in gettydefs
> may be wrong.  Please help!
> 
> -Joseph Pecquet      pecquet@mps.ohio-state.edu
> 
you're to write a line for each existing terminal in the /etc/ttys-file,
100 stand for the console:
        1: start a login immidiatly
        0: speed and baud are not importand, because console
        0: use /dev/tty0   means your console
                       ^
0f1 stand for the first serial line:
        0: line off, nothing started neither login nor getty
        f: speed 9600 Bd 8N1
        1: /dev/tty1 , first modem line.
have a closer look at /usr/src/tools/init.c . it is explained which
chars you have to use for your terminals.
don't forget to insert a third line to /etc/ttys if your third terminal
should be used. and exec "kill -1 1" as root to start new login/getty
prozesses.
hope this helpes, if any questions, pls contact me.
joerg
--
Joerg Conradt   Berlin, Germany  ||  UUCP: jac@unlisys.in-berlin.de 

PECQUET@mps.ohio-state.edu (06/26/91)

     Hi,
         Thanks.  I had been under the delusion that 'init' was a function 
hidden very well somewhere in the kernel.
-Joseph