telnetrc, .telnetrc - Specifies setup commands for a telnet session
The .telnetrc file contains the setup information for a telnet session. It is a hidden file in your home directory and must be readable by the user logging in.
The file can consist of multiple entries for each remote host to which a user can connect. A remote host entry consists of multiple lines. The first line is the name of a remote host. The subsequent lines must begin with blank spaces, and contain telnet subcommands. These subcommands are processed as though they were typed in manually. Lines beginning with a number sign (#) are comment lines. See telnet(1) for a complete list of telnet subcommands.
To specify subcommands that apply to all systems, create an entry, using the word "DEFAULT" as the system name, and specify the telnet subcommands in the subsequent lines.
The following shows a sample .telnetrc file:
# Beginning of telnetrc file
# Default subcommands that apply to all systems
environ undefine USER # First system entry system1
toggle crlf # Second system entry system2
User-customized telnet startup values.
Commands: telnet(1). delim off