TTYLOCS(5)

NAME
ttylocs - GNU finger tty and host locations database

DESCRIPTION
The file ttylocs in the GNU finger directory (fingerdir) contains information about physical locations of terminals and hosts. The information it contains is used by cfingerd(8) to determine the contents of the "Where" field in finger packets unless the corresponding login is from a remote host. The information is in the same format as hostconfig(5), with lines of the form
	terminal	location
terminal is the first word of non-whitespace characters on the line, whereas location is taken to be everything following, stripped of any leading and trailing whitespace. Terminal name matching is case-insensitive. A pound sign (#) as the first non-whitespace character on the line marks the text following as a comment that is ignored. Empty lines are likewise ignored.

Only the first occurrence of a terminal is significant.

The terminal field may take on several forms.

tty The filename of a terminal device, without the leading /dev/ pathname, e.g., ttya2. This specifies the location of the indicated line on the local host.

hostname
    The location serves as a default for all terminal lines on the named host.

host:tty
    Specifies location of terminal tty on host. This format is convenient for sharing a single ttylocs file among several machines.

If a tty location cannot be determined from ttylocs, and if the host system supports the getttyent(3) mechanism for access to the systems terminal line database, finger tries to obtain the comment field from that database to fill in for the tty location. If that fails as well, the location is left empty.

FILES
/var/spool/fingerdir//ttylocs

SEE ALSO
gfinger(1), cfingerd(8), hostconfig(5), getttyent(3).