x29stty(1X25) — Commands
Digital
NAME
x29stty − Set/read remote PAD parameters
SYNOPSIS
x29stty -g [-c] [parameter ...]
x29stty -s parameter:value ...
FLAGS
-cThis flag, when specified in conjunction with the -g flag, displays all the listed PAD parameters in CCITT numeric format.
-gThis flag gets the current values of the specified remote PAD parameters. If no parameter list is given, the values of all PAD parameters are returned.
-sThis flag sets values for the specified remote PAD parameters.
DESCRIPTION
The x29stty command sets or displays the parameters of the PAD from which the user is accessing the X.25 for Digital UNIX system.
The parameter argument may be specified by its CCITT reference number (1 to 22) or by its symbolic name. The value argument must be specified as a number in the range 0 to 255. If more than one parameter or parameter:value argument is specified, each argument must be separated from the next with a space.
The following table lists the CCITT-defined reference numbers and the symbolic names recognized by the x29stty command.
| Parameter | Symbolic Name | Description |
| 1 | escape | PAD escape key |
| 2 | echo | Specifies local (PAD) or remote echo |
| 3 | forward | Packet forwarding criteria |
| 4 | idle | Idle delay period before forwarding packet |
| 5 | device | Flow control mechanism of terminal |
| 6 | signals | Format of PAD messages to terminal |
| 7 | break | Actions to perform on receipt of break |
| 8 | discard | Specifies PAD response to output from remote DTE |
| 9 | CRpad | Number of padding characters after a <Return> |
| 10 | folding | Line folding (wrapping) column |
| 11 | speed | Speed of terminal connected to PAD |
| 12 | flow | Flow control mechanism of PAD |
| 13 | LFinsert | Line feed insertion after <Return> |
| 14 | LFpad | Number of padding characters after a line feed |
| 15 | edit | Specifies local (PAD) or remote line editing |
| 16 | Cdelete | Character delete key |
| 17 | Ldelete | Line delete key |
| 18 | Ldisplay | Line re-display key |
| 19 | Esignals | Way in which line-editing is displayed |
| 20 | mask | Those characters which are not echoed |
| 21 | parity | Parity generation/checking |
| 22 | page | Specifies whether to wait after each page |
By default, a successful x29stty -g command will display the PAD parameters in symbolic format. To obtain output in CCITT numeric format, the -c flag must be specified.
EXAMPLES
The following examples show three possible command lines to set the folding parameter to 64 (causing the PAD to insert a <Return> after the 64th character and continue the text that follows on a new line) and to set the escape parameter to 1 (causing the PAD to enter PAD Command Mode when <Ctrl/P> is pressed):
% x29stty -s 10:64 1:1
% x29stty -s folding:64 escape:1
% x29stty -s 10:64 escape:1
The following examples display the values of the LFinsert parameter (which specifies whether a line feed is sent with every <Return> and the echo parameter (which determines whether the PAD echoes the input entered at the X.29 terminal):
% x29stty -g 13 2
LFinsert:0 echo:1
% x29stty -g LFinsert echo
LFinsert:0 echo:1
% x29stty -g -c 13 2
13:0 2:1
EXIT VALUES
The exit value can be one of the following:
0Command completed successfully.
1Syntax error in command.
2Not running on an X.29 terminal.
3X.29 server returned an error.
4Remote PAD returned an error.
RELATED INFORMATION
Functions: X29GetParameters(3X25), X29SetParameters(3X25).
X.25 for Digital UNIX − PAD User’s Guide,
X.25 for Digital UNIX − Programmer’s Reference Manual.