opensolaris man page for telnetrc

Query: telnetrc

OS: opensolaris

Section: 4

Links: opensolaris man pages   all man pages

Forums: unix linux community   forum categories

Format: Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar

telnetrc(4)							   File Formats 						       telnetrc(4)

NAME
telnetrc - file for telnet default options
DESCRIPTION
The .telnetrc file contains commands that are executed when a connection is established on a per-host basis. Each line in the file con- tains a host name, one or more spaces or tabs, and a telnet(1) command. The host name, DEFAULT, matches all hosts. Lines beginning with the pound sign (#) are interpreted as comments and therefore ignored. telnet(1) commands are case-insensitive to the contents of the .telnetrc file. The .telnetrc file is retrieved from each user's HOME directory.
EXAMPLES
Example 1: A sample file. In the following example, a .telnetrc file executes the telnet(1) command, toggle: weirdhost toggle crmod # Always export $PRINTER DEFAULT environ export PRINTER The lines in this file indicate that the toggle argument crmod, whose default value is "off" (or FALSE), should be enabled when connecting to the system weirdhost. In addition, the value of the environment variable PRINTER should be exported to all systems. In this case, the DEFAULT keyword is used in place of the host name.
FILES
$HOME/.telnetrc
SEE ALSO
telnet(1), in.telnetd(1M), environ(5) SunOS 5.10 9 Jan 1998 telnetrc(4)
Related Man Pages
telnet(1) - linux
telnetrc(4) - osf1
telnetrc(4) - opensolaris
telnet(1) - xfree86
telnet(1) - posix
Similar Topics in the Unix Linux Community
Blocking ftp users to connect using telnet
Unable to telnet
fail to telnet localhost 106
Failure to telnet in new install Sun5.10
Telnet script to amplifier