No /dev/tty for serial terminals ? (0.99.(8/9), getty_ps2.0.7b)

No /dev/tty for serial terminals ? (0.99.(8/9), getty_ps2.0.7b)

Post by Gerhard Schneid » Thu, 29 Apr 1993 17:11:10



OS: 0.99.8 and 0.99.9
    getty_ps 2.0.7b

Hardware: Async. terminal connected to Linux box via /dev/cua0

Problem: Neither bash nor tcsh are able to get /dev/tty for a user logged in.

Error: /dev/tty: No such device or address

Everything else works fine.

                                          Gerhard Schneider

----

Institute of Light Weight Structures (E317)      Tel.:   +43 1 58801 3711    
Technical University of Vienna / Austria         Fax:    +43 1 505 44 68
A-1040 Wien, Gusshausstrasse 27-29                    

 
 
 

No /dev/tty for serial terminals ? (0.99.(8/9), getty_ps2.0.7b)

Post by Theodore Ts' » Mon, 03 May 1993 07:34:14



   Date: Wed, 28 Apr 1993 08:11:10 GMT

   OS: 0.99.8 and 0.99.9
       getty_ps 2.0.7b

   Hardware: Async. terminal connected to Linux box via /dev/cua0

   Problem: Neither bash nor tcsh are able to get /dev/tty for a user
  logged in.

   Error: /dev/tty: No such device or address

This is not a bug!  This was intentionally done, so that devices using
the /dev/cuaXX for callout wouldn't accidentally get the callout device
as a controlling tty.

The /dev/cauXX devices are only to be used for DIAL OUT purposes; for
hooking up a dialin modem, or a terminal to a serial port, use the
/dev/ttySXX devices.  If the reason why you are using the /dev/cuaXX
devices is so that it ignores the carrier detect line, just make sure
that the CLOCAL flag is set, as that will get the /dev/ttySXX device to
also ignore the carrier detect line --- you will probably have to edit
your /etc/gettydefs.

                                                - Ted

P.S.  I'm officially on vacation right now, and I just happened to
download to my laptop a bunch of c.o.l. digests that I was behind on
before I left.  So, if you send me mail, don't expect a response very
quickly, as I don't have a reliable internet access in California, and I
will certainly not have reliable internet access once I'm in Hong Kong.

I do have an email address which will hopefully reach me, and which I
will check every couple of days while I'm in H.K.  That address has
been given to a number of the more prominent Linux developers, and it
is intended for truely important things, since it's going to cost me
money in order to use it.  (Example of something important: If you
know how to get me free access to the Internet from H.K.  :-)

will read it when I get back.