[comp.os.minix] Kermit Usage

jnall%FSU.BITNET@cunyvm.cuny.edu (John Nall 904-644-5241) (01/12/89)

Plea for help:  how does one go about using either term or kermit under
Minix?  Assuming that the proper tty.c has been compiled (so that the
rs232 code is there); assuming a Minix O/S level of 1.3d; and assuming
familiarity with things like baud rates, COM1 port addresses, etc
the following  questions arise:

     where does /etc/ttys fit into this?  What entries go in there?
     where does stty fit into this?
     Is /dev/tty1, which I understand is defined as an ordinary
       character device with mknod, to be the same major device
      as tty, and a different minor device?  A completely new major
      device?

Any and all help humbly and gratefully accepted.

jnall@rai.fsu.edu (bitnet)

ast@cs.vu.nl (Andy Tanenbaum) (01/13/89)

In article <6591@louie.udel.EDU> jnall%FSU.BITNET@cunyvm.cuny.edu (John Nall 904-644-5241) writes:
>     where does /etc/ttys fit into this?  What entries go in there?

/etc/ttys is opened about read by init when the system comes up.  It tells
which terminals should get shells and which should not.  See the code and
commands in init.c for the details.


>     where does stty fit into this?
This can be used to set modes etc. Kermit does it automatically if you
have a .kerrmc profile in your home directory


>     Is /dev/tty1, which I understand is defined as an ordinary
>       character device with mknod, to be the same major device
>      as tty, and a different minor device?  A completely new major
>      device?
/dev/tty0, /dev/tty1, and /dev/tty2 are all the same minor device.
In contrast, /dev/tty is a different one, which the driver is different.

Andy Tanenbaum (ast@cs.vu.nl)