set putty
176 Chapter 2 Command Descriptions
Options General terminal emulation options
state={on|off}
Enables or disables the terminal emulator.
width={80|132}
The default width of the terminal, specified as the number of columns of
text to display on the terminal emulator. The default width is 80.
height=10-60
The default height of the terminal, specified as the number of rows of text
to display on the terminal emulator. The default height is 24.
hostport={/com/0|/com/1|/vcom/0}
Specifies how the terminal emulator connects to a host application, and
how it reads input from the host. The terminal emulator reads input from
a host application and displays it on the screen. Input can be read over
one of the serial ports on the ConnectPort Display, or over the network.
Network connections are achieved using Realport.
Valid values are “/com/0” and “/com/1” (serial ports 1 and 2) and “/vcom/
0” (network via RealPort). The default is “/com/0.”
When using a network connection, you must install the RealPort driver on
the host. This will create a virtual COM port for each serial port on your
ConnectPort Display (these are the traditional RealPort COM ports) as
well as one additional virtual COM port that can be used for the terminal
emulator connection. The host application must be configured to use this
additional virtual COM port.
keyboardport={/com/0|/com/1|No Keyboard}
Specifies how a keyboard, if used, is connected to the terminal emulator.
Connecting a keyboard is optional. The terminal emulator can read
keyboard input from one of the serial ports. Keyboard data is then passed
back up to the host application over the host connection.
Valid values are “/com/0” and “/com/1” (serial ports 1 and 2) and No
Keyboard. The default is “/com/1.”
In some environments, the keyboard data should not be passed back up
to the host application over the host connection. In this case, you can still
connect a keyboard to a serial port, and simply treat it like any other
serially connected device. To do so, you would configure the terminal
emulator to use “No Keyboard” for the Keyboard Connection, and then
configure the serial port for the keyboard to use the RealPort port profile.
Keyboard data would then be sent to the host system over the standard
RealPort COM port. In this case, the host application reads keyboard
data from one COM port and writes host data to a different COM port.