Linux and UNIX Man Pages

Linux & Unix Commands - Search Man Pages

unix_telnet(3erl) [linux man page]

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)

Check Out this Related Man Page

Regexp::Common::URI::telnet(3pm)			User Contributed Perl Documentation			  Regexp::Common::URI::telnet(3pm)

NAME
Regexp::Common::URI::telnet -- Returns a pattern for telnet URIs. SYNOPSIS
use Regexp::Common qw /URI/; while (<>) { /$RE{URI}{telnet}/ and print "Contains a telnet URI. "; } DESCRIPTION
$RE{URI}{telnet} Returns a pattern that matches telnet URIs, as defined by RFC 1738. Telnet URIs have the form: "telnet:" "//" [ user [ ":" password ] "@" ] host [ ":" port ] [ "/" ] Under "{-keep}", the following are returned: $1 The complete URI. $2 The scheme. $3 The username:password combo, or just the username if there is no password. $4 The username, if given. $5 The password, if given. $6 The host:port combo, or just the host if there's no port. $7 The host. $8 The port, if given. $9 The trailing slash, if any. REFERENCES
[RFC 1738] Berners-Lee, Tim, Masinter, L., McCahill, M.: Uniform Resource Locators (URL). December 1994. SEE ALSO
Regexp::Common::URI for other supported URIs. AUTHOR
Damian Conway (damian@conway.org) MAINTAINANCE
This package is maintained by Abigail (regexp-common@abigail.be). BUGS AND IRRITATIONS
Bound to be plenty. LICENSE and COPYRIGHT This software is Copyright (c) 2001 - 2009, Damian Conway and Abigail. This module is free software, and maybe used under any of the following licenses: 1) The Perl Artistic License. See the file COPYRIGHT.AL. 2) The Perl Artistic License 2.0. See the file COPYRIGHT.AL2. 3) The BSD Licence. See the file COPYRIGHT.BSD. 4) The MIT Licence. See the file COPYRIGHT.MIT. perl v5.14.2 2010-02-23 Regexp::Common::URI::telnet(3pm)
Man Page

4 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

Unix Telnet session

Hi Is there any way whilst in a telnet session you can view your client machine name that you are using to connect to the Unix box ? :eek: (2 Replies)
Discussion started by: mlucas
2 Replies

2. Shell Programming and Scripting

Using telnet inside a ksh

Hello, i am trying to use telnet inside of a ksh script. i would like to do like the following: #!/bin/ksh ... user="user" hostname="hostname" telnet -l $user $hostname |& wait #end of the ksh and with this piece of code, i would like to telnet another machine, and let the user use... (4 Replies)
Discussion started by: Jidma
4 Replies

3. UNIX for Advanced & Expert Users

Need shell script for SMS via telnet command to SMSC directly

I am not very much familiar with telnet based scripting so I would need your help to directly submitting sms as deliver_sm or submit_sm msg to SMSC (IP & system_id and password are already known). So, need your help to provide such script. I previously used such script but my harddisk crashed and... (0 Replies)
Discussion started by: wasay
0 Replies

4. Shell Programming and Scripting

Need shell script for SMS via telnet command

I am not very much familiar with telnet based scripting so I would need your help to directly submitting sms as deliver_sm or submit_sm msg to SMSC (IP & system_id and password are already known). So, need your help to provide such script. I previously used such script but my harddisk crashed and... (1 Reply)
Discussion started by: wasay
1 Replies