Content-type: text/html Man page of telnetrc

telnetrc

Section: Devices and Network Interfaces (4)
Index Return to Main Contents
 

NAME

telnetrc, .telnetrc - Specifies setup commands for a telnet session  

SYNOPSIS

$HOME/.telnetrc  

DESCRIPTION

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.  

EXAMPLES

The following shows a sample .telnetrc file:

# Beginning of telnetrc file # Default subcommands that apply to all systems DEFAULT
   environ undefine USER # First system entry system1
   set echo
   toggle crlf # Second system entry system2
   set echo
   mode line
   toggle crlf  

FILES

User-customized telnet startup values.  

RELATED INFORMATION

Commands: telnet(1). delim off


 

Index

NAME
SYNOPSIS
DESCRIPTION
EXAMPLES
FILES
RELATED INFORMATION

This document was created by man2html, using the manual pages.
Time: 02:40:07 GMT, October 02, 2010