[Go to CFHT Home Page] Man Pages
Back to Software Index  BORDER=0Manpage Top Level
    telnetrc(4) manual page Table of Contents

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)


Table of Contents