Keyword |
Default |
Letter Code Protocols |
Description |
/BAUD=n |
|
|
Corresponds to the baud positional parameter. /BAUD=n sets the modem baud rate for a port. Supported values depend on the operating system support. /SPEED is an alias for /BAUD. |
/BREAK[=n]
or
/BRE[=n] |
0 |
B |
/BREAK or /BREAK=n for nonzero values of n enable the protocol. /BREAK=n for a zero value of n disables the protocol. |
/COMPARAMS=str |
|
|
Corresponds to the portstate positional parameter. (This keyword provides a way to specify a COM port state byte code string in a position-independent way.) The portstate byte codes that you can include in str, are listed in a table in earlier in this chapter. |
/COMPRESS=str |
"" |
|
Specifies the stream data compression type. You can enable a compression type of ZLIB or ZSTD. You can specify /COMPRESS="" to disable compression. /COMPRESS="zlib" is equivalent to /GZIP=1. To compress a string, use %SYSTEM.Util.Compress()Opens in a new tab. |
/CRT[=n] |
Depends on the operating system terminal setting |
C and P |
Associated with the C and P protocols. /CRT or /CRT=n for nonzero values of n enable the C protocol and disable the P protocol. /CRT=n for a zero value of n disables the C protocol and enables the P protocol. |
/DATABITS=n |
|
|
Sets the number of data bits for a serial port. Valid values are 5, 6, 7, or 8. |
/DISCONNECT |
|
|
Corresponds to 1st byte of the portstate positional parameter. /DISCONNECT disconnects (hangs up) the COM port. It does not close the port; you can dial out again without reopening the COM device. |
/ECHO[=n] |
1 |
S |
/ECHO or /ECHO=n for nonzero values of n disable the protocol. /ECHO=n for a zero value of n enables the protocol. |
/EDIT[=n] |
0 |
R and N |
/EDIT or /EDIT=n for nonzero values of n enable the R protocol and disable the N protocol. /EDIT=n for a zero value of n disables the R protocol and enables the N protocol. |
/FLOW=str |
|
|
Specifies the type of flow control to use for a serial port. Valid values are NONE and XON. Some operating systems also support RTSCTS. |
/FLUSH[=n]
or
/FLU[=n] |
0 |
F |
/FLUSH or /FLUSH=n for nonzero values of n enable the protocol. /FLUSH=n for a zero value of n disables the protocol. |
/GZIP[=n] |
1 |
|
Specifies GZIP-compatible stream data compression. /GZIP or /GZIP=n (for nonzero values of n) enables compression on WRITE and decompression on READ. /GZIP=0 disables compression and decompression. Before issuing /GZIP=0 to disable compression and decompression, check the $ZEOS special variable to make sure that a stream data read is not in progress. /GZIP compression has no effect on I/O translation, such as translation established using /IOTABLE. This is because compression is applied after all other translation (except encryption) and decompression is applied before all other translation (except encryption). |
/IMAGE[=n]
or
/IMA[=n] |
0 |
I |
/IMAGE or /IMAGE=n for nonzero values of n enable the protocol. /IMAGE=n for a zero value of n disables the protocol. |
/IOTABLE[=name]
or
/IOT[=name] |
If name is not specified, the default I/O translation table for the device is used. |
|
Corresponds to the K\name\ protocol, which establishes an I/O translation table for the device. |
/MARGIN=n
or
/MAR=n |
0 (no margin) |
|
Corresponds to the margin positional parameter, which sets the right margin for the terminal device. |
/MODE=n |
No default |
|
Resets protocols and sets the terminal mode according to the value of n.
n=0 sets LF and ESC as default terminators.
n=1 is the same as mode 0 and enables the S protocol.
n=2 is the same as mode 0 and enables the T protocol. |
/NOXY [=n] |
0 |
|
No $X and $Y processing: /NOXY or /NOXY=n (for nonzero values of n) disables $X and $Y processing. This can substantially improve performance of READ and WRITE operations. The values of the $X and $Y variables are indeterminate, and margin processing (which depends on $X) is disabled. /NOXY=0 enables $X and $Y processing; this is the default. |
/OBUFSIZE=nnn |
256 |
|
Specifies the size of the terminal output buffer in bytes. Increasing the output buffer size can improve performance of screen painting with telnet over wide area networks with high latency. Valid values for /OBUFSIZE are 256 through 65536. The default is 256. |
/PARAMS=str
or
/PAR=str |
No default |
|
Corresponds to the protocols positional parameter. (This keyword provides a way to specify a protocols letter code string in a position-independent way.) For a table of letter codes that you can include in str, see Letter Code Protocols. |
/PARITY=str |
|
|
Specifies the type of parity checking for a serial port. Valid values are NONE, EVEN, ODD. Some operating systems also support MARK and SPACE. |
/SPEED=n |
|
|
/SPEED is an alias for /BAUD. |
/STOPBITS=n |
|
|
Sets the number of stop bits for a serial port. Valid values are 1 or 2. |
/TERMINATOR=str
or
/TER=str |
No default |
|
Corresponds to the terminator positional parameter, which establishes user-defined terminators. To compose str, see Using Terminators to End I/O Operations. |
/TPROTOCOL[=n]
or
/TPR[=n] |
0 |
T |
/TPROTOCOL or /TPROTOCOL=n for nonzero values of n enable the protocol. /TPROTOCOL=n for a zero value of n disables the protocol. |
/TRANSLATE[=n]
or
/TRA[=n] |
1 |
K |
/TRANSLATE or /TRANSLATE=n for nonzero values of n enable I/O translation for the device. /TRANSLATE=n for a zero value of n disables I/O translation for the device. |
/UPCASE[=n]
or
/UPC[=n] |
0 |
U |
/UPCASE or /UPCASE=n for nonzero values of n enable the protocol. /UPCASE=n for a zero value of n disables the protocol. |
/XYTABLE[=name]
or
/XYT[=name] |
If name is not specified, the default $X/$Y action table for the device is used. |
Y\name\ |
Corresponds to the Y\name\ protocol, which establishes a $X/$Y action table for the device. |