Museum

Home

Lab Overview

Retrotechnology Articles

⇒ Online Manual

Media Vault

Software Library

Restoration Projects

Artifacts Sought

Related Articles

uucico(8)

getty(8)

init(8)

ct(1)

cu(1)

login(1)

tty(7)

gettydefs(4)

inittab(4)

ioctl(2)



  uugetty(8)                          CLIX                          uugetty(8)



  NAME

    uugetty - Sets terminal type, modes, speed, and line discipline

  SYNOPSIS

    /usr/lib/uucp/uugetty [-h] [-t timeout] [-r] line [speed [type
    [linedisc]]]

    /usr/lib/uucp/uugetty -c file

  FLAGS

    -h           Block a hangup on the line

    -t timeout   The length of time in seconds before aborting the uugetty

    -r           Required if there is an entry for an intelligent modem or
                 direct line at each end

  DESCRIPTION

    The uugetty command is identical to getty, but changes have been made to
    support using the line for uucico, cu, and ct; that is, the line can be
    used in both directions.

    The uugetty command allows users to log in, but if the line is free,
    uucico, cu, or ct can use it for dialing out.  The implementation depends
    on the fact that uucico, cu, and ct create lock files when devices are
    used.  After the open() function returns a value (or the first character
    is read when the -r flag is used), the status of the lock file indicates
    whether the line is being used by uucico, cu, ct, or someone trying to
    login.  Note that in the -r case, several carriage-return characters may
    be required before the login message is output.  The human users will be
    able to handle this slight inconvenience.  However, when uucico tries to
    login, it will have to be told what to expect by using the following login
    script:

    ""  \r\d\r\d\r\d\r in:--in: ...

    where the ... is whatever would normally be used for the login sequence.

    An entry for an intelligent modem or direct line that has a uugetty on
    each end must use the -r flag.  (This causes uugetty to wait to read a
    character before it puts out the login message, thus preventing two
    uugettys from looping.)  If there is a uugetty on one end of a direct
    line, there must be a uugetty on the other end as well.  Here is an
    /etc/inittab entry using uugetty on an intelligent modem or direct line:

    30:2:respawn:/usr/lib/uucp/uugetty -r -t 60 tty12 1200




  2/94 - Intergraph Corporation                                              1






  uugetty(8)                          CLIX                          uugetty(8)



  FILES

    /etc/gettydefs

    /etc/issue

  DIAGNOSTICS

    The ct command will not work when uugetty is used with an intelligent
    modem such as penril or ventel.

  EXIT VALUES

    The uugetty command exits with a value of 0 if successful and a value of 1
    if an error occurs.

  RELATED INFORMATION

    Commands: uucico(8), getty(8), init(8), ct(1), cu(1), login(1)

    Files: tty(7), gettydefs(4), inittab(4)

    Functions: ioctl(2)































  2                                              Intergraph Corporation - 2/94




Typewritten Software • bear@typewritten.org • Edmonds, WA 98026