linux man page for unix_telnet

Query: unix_telnet

OS: linux

Section: 3erl

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

unix_telnet(3erl)					     Erlang Module Definition						 unix_telnet(3erl)

NAME
unix_telnet - Callback module for ct_telnet for talking telnet to a unix host.
DESCRIPTION
Callback module for ct_telnet for talking telnet to a unix host. It requires the following entry in the config file: {unix,[{telnet,HostNameOrIpAddress}, {port,PortNum}, % optional {username,UserName}, {password,Password}, {keep_alive,Bool}]}. % optional To talk telnet to the host specified by HostNameOrIpAddress , use the interface functions in ct , e.g. open(Name), cmd(Name,Cmd), ... . Name is the name you allocated to the unix host in your require statement. E.g. suite() -> [{require,Name,{unix,[telnet,username,password]}}]. or ct:require(Name,{unix,[telnet,username,password]}). The "keep alive" activity (i.e. that Common Test sends NOP to the server every 10 seconds if the connection is idle) may be enabled or dis- abled for one particular connection as described here. It may be disabled for all connections using telnet_settings (see ct_telnet ). Note that the {port,PortNum} tuple is optional and if omitted, default telnet port 23 will be used. Also the keep_alive tuple is optional, and the value defauls to true (enabled).
SEE ALSO
ct , ct_telnet
AUTHORS
<> common_test 1.5.3 unix_telnet(3erl)
Related Man Pages
ct_ftp(3erl) - linux
kf(1) - debian
telnetrc(4) - osf1
regexp::common::uri::telnet(3) - osx
telnetrc(4) - opensolaris
Similar Topics in the Unix Linux Community
Unix Telnet session
Using telnet inside a ksh
Need shell script for SMS via telnet command
Need shell script for SMS via telnet command to SMSC directly