Programming
42
Instruction Manual - Massio ControlPads and Keypads
Notes on Specific Telnet Clients
Telnet and terminal clients will have different behaviors in some situations. This section states some of the known anomalies.
Windows Client Programs
Anomalies occur when using a Windows™ client if you are not typing standard ASCII characters (i.e. using the keypad and the ALT
key to enter decimal codes). Most programs will allow you to enter specific decimal codes by holding ALT and using keypad
numbers.
For example, hold ALT, hit the keypad 1, then hit keypad 0, then release ALT. The standard line feed code is entered (decimal 10).
Windows will perform an ANSI to OEM conversion on some codes entered this way because of the way Windows handles languages
and code pages.
The following codes are known to be altered, but others may be affected depending on the computer's setup.
Characters
15
,
21
,
22
, and
any characters above 127
.
This affects both Windows Telnet and Terminal programs.
Linux Telnet Client
The Linux Telnet client has three anomalies that are known at this time:
A null (\00) character is sent after a carriage return.
If an ALT 255 is entered, two 255 characters are sent (per the Telnet RAFT).
If the code to go back to command mode is entered (ALT 29 which is ^]), the character is not sent, but Telnet command
mode is entered.
Enabling/Disabling Telnet on the Keypad
By default, Telnet is enabled on all Massio keypads. The default Telnet port is
23
.
You can change the Telnet port by using the SET TELNET PORT command (see page 41). Setting the Telnet port to zero disables
Telnet access.
The SET TELNET PORT command requires a reboot to enable new settings.
NOTE:
The only way to re-enable Telnet once it has been disabled is to reset the unit to the factory default firmware image. See the ID
for details.
Terminal Commands (Cont.)
Command
Description
SHOW CONNECTION STATS
Show the connection statistics for the device.
Output similar to the following example:
>show connection stats
Connection Statistics
Total Last 15 Minutes
===== ===============
ICSP Messages: 10039 received 333 received
10038 transmitted 333 transmitted
Blink Messages: 5014 received 166 received
IP Statistics:
RX packets:29298 errors:0 discarded:0
TX packets:15286 errors:0 discarded:0
SHOW LOG
Display the message log.
Syntax:
SHOW LOG <start>
• Use <start> to specify the message number to start displaying
• Use <all> to display all messages.