Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ telnetrc(4) — SunOS 5.5.1

Media Vault

Software Library

Restoration Projects

Artifacts Sought

Related Articles

telnet(1)

in.telnetd(1M)

environ(5)

telnetrc(4)

NAME

telnetrc − file for telnet default options

DESCRIPTION

The .telnetrc file contains commands that are executed when a connection is established.  Each line in the file contains a host name, one or more spaces or tabs, and a telnet(1) command.  Lines beginning with the pound sign (#) are interpreted as comments and therefore ignored.  Uppercase and lowercase are not unique in this file. 

The .telnetrc file is retrieved from each user’s HOME directory. 

EXAMPLES

A .telnetrc file containing the following lines:

weirdhost toggle crmod
# Always export $PRINTER
DEFAULT environ export PRINTER

Indicates that the crmod, which defaults to off, should be enabled when connecting to the system weirdhost.  In addition, the value of the environment variable PRINTER should be exported to all systems. 

FILES

$HOME/.telnetrc

SEE ALSO

telnet(1), in.telnetd(1M), environ(5)

SunOS 5.5.1  —  Last change: 27 Feb 1995

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