Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ ttyloc(1l) — Amiga System V Release 4 Version 1.1

Media Vault

Software Library

Restoration Projects

Artifacts Sought

Related Articles

finger(1l)

watson(1l)



ttyloc(1l)        MISC. REFERENCE MANUAL PAGES         ttyloc(1l)



NAME
     ttyloc - set or display tty location

SYNOPSIS
     ttyloc [-d [deffile]] [-t ttyname] [ttylocation]

DESCRIPTION
     ttyloc is part of  the  finger  distribution.   By  default,
     ttyloc   will  display  the  current  terminal  location  (a
     descriptive place, such as the name of the machine the  user
     networked  in  from,  or  ``Home'', ``Work'', and possibly a
     phone number.  This tty location can be seen by other  users
     as the last field in finger output.

OPTIONS
     -d [file]
          Sets the ttyloc of the terminal connected to this  pro-
          cess  to  the  default set in the file file. If file is
          not given the ~/.ttylocs is used.  This is usually  run
          from  the  user's  .profile to set the ttyloc automati-
          cally when the user logs in.  See FORMAT OF TTYLOCS for
          information on the format of the default ttyloc files.

     -t ttyname
          This sets or gets the named ttys location.  The default
          is the current user's terminal.

     ttylocation
          Is the name of the tty.

FORMAT OF TTYLOCS
     The default ttylocs file  (usually  /usr/lib/finger/ttylocs)
     is:
          TTY:LONG DESCRIPTION[:SHORT DESCRIPTION]

          TTY  Is the device as found in /etc/utmp in the ut_line
               field.  The colon must exist.

          LONG DESCRIPTION
               Is a description of where the tty is located (pos-
               sible an office number or name of a room).

          SHORT DESCRIPTION
               Is the prefix to add to any ttyloc that  the  user
               changes  it  too.  If this field is left blank and
               no colon exists after the LONG  DESCRIPTION  field
               then no user can modify the ttyloc.  If this field
               is blank with a colon after LONG DESCRIPTION  then
               the user may change the ttyloc to anything.

DEFAULTS
     The default tty location is taken from  the  ~finger/ttylocs



Sun Microsystems          Last change:                          1





ttyloc(1l)        MISC. REFERENCE MANUAL PAGES         ttyloc(1l)



     file.  This file will describe how to format the entry which
     may include a default format that may or may not be able  to
     be  changed  by  a user and a prefix (which may be null) for
     when it is changed by a user.

     If ttyloc is not run on a terminal the default tty  location
     will be the name of the system the user networked in from or
     from the comment field in /etc/inittab (if  the  system  has
     such a thing),

FILES
     /usr/lib/finger/ttylocs       default ttyloc informations
     /usr/lib/finger/ltmp          shadow of utmp for keeping track of ttylocs
     ~/.ttylocs               user's default ttyloc information.

SEE ALSO
     finger(1l), watson(1l)

AUTHOR
          Keith M. Gabryelski (ag@amix.commodore.com)



































Sun Microsystems          Last change:                          2



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