Eiconcard Connections for Linux Contents Previous Next

X.3 PAD Parameters

X.3 PAD parameters set the guidelines for how the PAD deals with different terminal emulations. You use X.3 PAD parameters to control such features as local echo and line feed insertions after carriage returns, to enable local editing, and to determine what service signals are forwarded to the user.

 
X.3 PAD Parameter Support

There are 22 standard X.3 PAD parameters that are recognized internationally. These parameters and the functions they control are described later in this section. There also exist national X.3 PAD parameters numbered higher than 22, but their definition varies from country to country. The Eicon Host PAD and Eicon Terminal PAD do not support these national parameters.

You should be aware that each of the 22 international X.3 PAD parameters has both mandatory and optional values. The Eicon Host PAD and Eicon Terminal PAD support all mandatory values (as defined in CCITT Recommendation X.3, 1984); they also support many of the optional parameter values. Network support, however, will vary. Consult your network manager for specifics.

 
How to Set X.3 PAD Parameters

There are several ways to set X.3 PAD parameters. You can set them using tpadcfg or tpadprof with the Eicon Terminal PAD, or using the Linux stty command with the Eicon Host PAD.

The initial values for the Eicon Terminal PAD are setup using either tpadcfg or tpadprof. The Eicon Host PAD initial values are set in the device configuration entry in the /etc/gettydefs file.

 
X.3 PAD Parameters

The table below shows the CCITT PAD Parameters.

Number Description

1

PAD recall using a character

2

Echo

3

Selection of data forwarding character

4

Selection of idle timer delay

5

Ancillary device control

6

Control of PAD service signals

7

Operation on receipt of break signal

8

Discard output

9

Padding after carriage return

10

Line folding

11

Binary speed of start-stop mode DTE

12

Flow control of the PAD

13

Linefeed insertion after carriage return

14

Padding after linefeed

15

Editing

16

Character delete

17

Line delete

18

Line display

19

Editing PAD service signals

20

Echo mask

21

Parity treatment

22

Page wait

 
X.3 PAD Parameters

This section describes all 22 international X.3 PAD parameters in numerical order, together with the functions they control. All parameters and their possible values are decimal numbers.

ASCII control characters (ASCII characters 0 through 31) are entered as key sequences, such as Ctrl-P. A table of ASCII control characters, their keyboard entry sequences, and their common mnemonic references appear in X.25 User-Facility Support and Code References.

Certain X.3 PAD parameters can be coded as the sum of their listed values. This allows you to specify several values simultaneously. Parameter 7, for example, which deals with response to a break signal, has a default value of 21. This is the sum of three of the previous values: 1 (send an interrupt packet), 4 (send an indication of a break), and 16 (discard data). The X.3 PAD parameters that can be coded this way are parameters 3, 6, 7, 13, and 20.

1:n Escape from data transfer

When you send or receive data, this parameter allows you to escape from Data Transfer mode (Terminal mode) and enter Command mode. Flow of data from the network is temporarily suspended.

Value Description

0

No escape allowed

32-126

Escape is possible by typing the ASCII character represented by the number n

1

Escape from data transfer using Ctrl-P

2:n Echo

This parameter provides for all characters to be echoed on your screen in data and command mode as well as to be forwarded to the remote device.

Value Description

0

No echo

1

Echo

3:n Selection of data forwarding signal

This parameter defines sets of characters that act as data forwarding signals.

Value Description

0

No data forwarding character

1

Alphanumeric characters (A - Z, a - z, 0 - 9)

2

Character CR

4

Character ESC, BEL, ENQ, ACK

8

Character DEL, CAN, DC2

16

Character ETX, EOT

32

Character HT, LF, VT, FF

64

All other characters: ASCII 0 to 31

Coding of parameter 3 can be a single value or the sum of any combination of values listed above. A useful combination would be value 126, which is the sum of the values 2 through 64 (2+4+8+16+32+64 = 126). This would allow you to use any control character as the data forwarding signal.

Note: These characters are included in the forwarded data packet.

4:n Selection of idle timer delay

This parameter specifies the value of an idle timer used for data forwarding.

Value Description

0

No data forwarding on time-out

1-255

Units of 1/20 second, maximum 255

5:n Auxiliary Device Control

This parameter was originally designed to give control of the data flow to the PAD when it was dealing with high-speed input devices which could overflow its processing capacity. This is no longer necessary, since PADs provide buffering services automatically.

Value Description

0

No use of DC1 (X-ON) and DC3 (X-OFF) for auxiliary devices or intelligent terminals

6:n Control of service signals

This parameter determines whether or not PAD service signals are to be transmitted by the PAD to the DTE (terminal). It also governs the use of Extended Service Signals, as well as the language in which service signals are displayed.

Note: For Extended Service Signals to be available, you must specify the languages you want to use.

Value Description

0

No service signals transmitted to the terminal.

1

All Standard Service Signals other than the prompt are transmitted to the terminal.

4

Only the prompt signal is transmitted to the terminal.

5

All Standard Service Signals are transmitted to the data terminal, plus the prompt
signal (4 + 1).

16

Extended Service Signal support for English. No service signals displayed (Base value).

17

Extended Service Signals in English with all service signals other than the
prompt (16 + 1).

21

Extended Service Signals in English with all service signals, plus the prompt (16 + 4 + 1).

32

Extended Service Signal support for French. No service signals displayed (Base value).

33

Extended Service Signals in French with all service signals other than the prompt (32 + 1).

37

Extended Service Signals in French with all service signals, plus the prompt (32 + 4 + 1).

7:n Procedure on receipt of break signal

This parameter specifies the operation upon entry of a break character.

Value Description

0

Nothing

1

Send an interrupt packet

2

Send a reset packet

4

Send an indication of break

8

Escape from data transfer state

16

Discard output

21

Send an interrupt packet, send an indication of break, and discard output (16 + 4 + 1)

Coding of parameter 7 can be a single value or the sum of any combination of values listed above. The default value (21) is the sum of 16 + 4 +1.

8:n Discard data

Value Description

0

Normal data delivery to terminal

1

Discard pending data

This parameter allows the PAD to discard data. It is permanently set to 0 (normal delivery to terminal) and cannot be directly modified, even in Command mode. You can, however, arrange for data to be discarded after a break signal if you set X.3 parameter 7 to 16.

9:n Carriage return padding

This parameter provides for the automatic insertion of a time delay referred to as a padding character into the character string after a carriage return. This allows for a printing mechanism to perform the carriage return function properly.

Value Description

0-31

A value from 0 to 31 indicating the number of padding characters to be inserted after a carriage return

2

Insert 2 padding characters after a carriage return

10:n Line folding

This parameter determines the maximum number of characters that can be printed or displayed on each line on your terminal. If more characters are entered, a new line will be started automatically.

Value Description

0

No line folding

1-255

Line folding after n characters

11:n Communication speed

This parameter originally specified the speed of data transmission. You can set it to one of the values below if you are dealing with a host computer that needs to check this parameter when you first connect. However, this is a formality and will not affect the speed of your X.25 link.

Value Description Value Description

0

110 bits/second

10

50 bits/second

1

134.5 bits/second

11

75/1200 bits/second

2

300 bits/second

12

2400 bits/second

3

1200 bits/second

13

4800 bits/second

4

600 bits/second

14

9600 bits/second

5

75 bits/second

15

19200 bits/second

6

150 bits/second

16

48000 bits/second

7

1800 bits/second

17

56000 bits/second

8

200 bits/second

18

64000 bits/second

9

100 bits/second

12:n Flow control of the PAD by the workstation

This parameter allows for flow control of received data using X-ON and X-OFF characters. The X-ON character is DC1 (Ctrl-Q) and the X-OFF character is DC3 (Ctrl-S).

Value Description

0

No use of X-ON and X-OFF

1

Use of X-ON and X-OFF

13:n Line Feed insertion after Carriage Return

This parameter instructs the workstation to routinely insert a Line Feed (LF) into the data stream after each appearance of a Carriage Return (CR) character.

Value Description

0

No LF insertion

1

Insert a LF after each CR in the received data stream

2

Insert a LF after each CR in the transmitted data stream

4

Insert a LF after each CR in the echo to the screen

Coding of parameter 13 can be a single value or the sum of any combination of values listed above.

14:n Linefeed padding

This parameter provides for the automatic insertion of padding characters, by the PAD, to allow for a time duration delay after each linefeed character. This allows a printing mechanism to correctly perform a line feed.

Value Description

0-15

Any number from 0 to 15, which indicates the number of padding characters to be inserted after a linefeed

0

No padding characters inserted

15:n Editing

This parameter allows you to perform local editing after a connection is made with the host. If you enable local editing (set parameter 15 to 1), you can correct any data buffered locally, rather than sending it across the network to the host for later correction. When local editing is allowed, the workstation monitors for characters which have been assigned per 16 (Character delete), 17 (Line delete), and 18 (Line redisplay).

Local editing cannot be enabled unless the idle timer (parameter 4) is set to 0.

Value Description

0

No editing in the data transfer state

1

Editing in the data transfer state

16:n Character delete

This parameter lets you specify which ASCII character will delete the previously typed character from the buffer (provided local editing has been enabled).

Value Description

0

No character delete

1-127

Character-delete character

127

Character delete with DEL

17:n Line delete

This parameter lets you specify which ASCII character will delete the previously typed line from the buffer (provided local editing has been enabled).

Value Description

0

No line delete

1-127

Line-delete character

24

CAN (Ctrl-X) serves as line-delete character

18:n Line redisplay

This parameter lets you specify which ASCII character will redisplay the previously typed line (provided local editing has been enabled).

Value Description

0

No line redisplay

1-127

Line-redisplay character

18

DC2 (Ctrl-R) is line-redisplay character

19:n Editing service signals

This parameter specifies what service signal to send to the terminal once the editing functions described by Character Delete, Line Delete, and Line Display characters (parameters 16, 17, and 18).

Value Description

0

No service signal

1

Display "\" for each deleted character; display "XXX" for each deleted line

2

Display <BS><SP><BS> for each deleted character and for each subsequent character on the same line that is deleted

8

Backspace character will be the editing service signal

32-126

The character specified will be the editing service signal

20:n Echo mask

This parameter specifies the characters from the workstation for which the PAD is to echo back to the DTE (terminal). The echo mask applies only when parameter 2 (echo) is set to 1.

Value Description

0

No Echo mask (all characters echoed)

1

No echo of character CR

2

No echo of character LF

4

No echo of characters VT, HT, FF

8

No echo of characters BEL, BS

16

No echo of characters ESC, ENQ

32

No echo of characters ACK, NAK, STX, SOH, EOT, ETB, ETX

64

No echo of editing characters as designated by parameters 16, 17, and 18

128

No echo of all other ASCII control characters (0-31) not mentioned above, and the character DEL (ASCII character 127)

Coding of parameter 20 can be a single value or the sum of any combination of values listed above. If parameter 5, 12 or 22 is set to a non-zero value, then X-ON (DC1) and X-OFF (DC3) are not echoed.

21:n Parity treatment

Value Description

0

No parity checking or generation

Not necessary for a software PAD, since an asynchronous signal is not being generated. Parameter 21 is permanently set to 0 and does not influence parity.

If your application generates parity signals, however, then the PAD will also generate them and will incorporate them into the packets it transmits. In this case the PAD will also remove parity signals from incoming packets before sending the data to your application.

22:n Page wait

The workstation will be able to suspend the transmission of additional characters after a specified number of linefeeds have been received. No further data will be transmitted until the page wait condition is canceled.

Value Description

0

Page wait disabled

1-255

Page wait condition after n linefeed characters are received by the workstation

The workstation will cancel the page wait condition and resume normal transmission on receipt of an X-ON character (Ctrl-Q).

 

Eiconcard Connections for Linux Contents Previous Next

Copyright (c) 2001 Eicon Networks