Perle Systems STS Network Card User Manual


 
Line Commands 77
Line Service Commands
Line Service Commands
Set Custom-App
Set Rlogin-Client
Set Telnet-Client
Description You can create a custom application that can run on a specific serial line in IOLAN
using the Perle SDK.
User Level Admin
Syntax
set custom-app line .|<number>|* program-command-line <command>
Options program-command-line
The name of the SDK program executable that has been already been downloaded to
the IOLAN, plus any parameters you want to pass to the program. Maximum of 80
characters. Use the
shell CLI command as described in the SDK Programmer’s Guide
to manage the files that you have downloaded to the IOLAN. For example, using
sample
outraw program, you would type:
outraw -s 0 192.168.2.1:10001 Acct:10001
if you were starting the application on the Server (notice the
-s 0 parameter specifies
Line 1).
Description Configures the Rlogin parameters for the specified line. When the IOLAN initiates an
rlogin connection to a host, it is acting as a rlogin client.
User Level Normal, Admin
Syntax
set rlogin-client line .|<number>|* termtype <terminal_name>
Option termtype
Type of terminal attached to this line; for example, ansi or wyse60.
Description Configures the Telnet parameters for the specified line. When the IOLAN initiates a
Telnet connection to a host, it is acting as a Telnet client.
User Level Normal, Admin
Syntax
set telnet-client line .|<number>|* [termtype <terminal_name>]
[line-mode on|off] [map-cr-crlf on|off] [local-echo on|off]
[echo <00-7f>] [eof <00-7f>] [erase <00-7f>] [intr <00-7f>]
[quit <00-7f>] [escape <00-7f]
Options termtype
Type of terminal attached to this line; for example, ANSI or WYSE60.
line-mode
When On, keyboard input is not sent to the remote host until Enter is pressed,
otherwise input is sent every time a key is pressed. Default is Off.
map-cr-crlf
Maps carriage returns (CR) to carriage return line feed (CRLF). The default value is
Off.
local-echo
Toggles between local echo of entered characters and suppressing local echo. Local
echo is used for normal processing, while suppressing the echo is convenient for
entering text that should not be displayed on the screen, such as passwords. This
parameter can only be used when
Line Mode is On. Default is Off.