telnetrc(4) manual page
Table of Contents
telnetrc - file for telnet default options
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.
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.
- $HOME/.telnetrc
telnet(1)
, in.telnetd(1M)
, environ(5)
Table of Contents