6 Commands
86
present transmit channel in terminal mode. This means that one must set
Setch
to 2 if
one wishes to transmit data via channel 2. (If for instance an external link from the PTC-
IIIusb has been automatically given channel 2 and one wanted to write a text to that other
station.) Terminal programs that fully support Term 5 must therefore also automatically
administrate the
Setch
command.
After Ctrl-F, follows the channel number (binary, increased by 48) and then the codebyte,
as is defined in WA8DED hostmode:
Code Byte
Meaning
0
Success, no text follows (Not used in Term 5)
1
Success, text follows (Not used in Term 5)
2
Error, text follows (Not used in Term 5)
3
Link status info follows (CONNECTED to... etc).
4
Monitor header follows / no monitor data
5
Monitor header follows / monitor data available
6
Data from the monitor follows
7
Data from the link follows
Table 6.5: Code byte description
The terminal mode 5 also extends the command prompt. Every command prompt, as in
terminal mode 4 is proceeded with a Ctrl-D. after every Ctrl-D however, follows a byte
with prompt information. Bits 5-7 contain coded information about the prompt sort:
Bit 7 Bit 6 Bit 5
Prompt
Bits 0-4
0 0 0 Not
allowed
-
0 0 1
cmd:
0=cmd, 1=AMTOR, 2=MONITOR, 3=RTTY,
4=CW, 5=PSK31
0 1 0
trx:
always 0
0 1 1
sys:
always 0
1 0 0
aud:
always 0
1 0 1
pac:
present input channel (0-31)
1 1 0
rcu:
always 0
1 1 1
fax:
always 0
Table 6.6: Prompt coding
The bits 0-4 contain additional information, depending on the actual prompt. After the
prompt codebyte it follows as usual the text prompt information, ended with a Ctrl-A.
The
pac:-
prompt contains the channel number of the presently set input channel
(
Setchn
) as plain text information before the colon. (Channel numbers of two digits are
thus output by two ASCII number characters.)
The prompt information of terminal mode 5 cannot be split. I.e. no other information can
be pushed through between bytes. The prompt always begins with a Ctrl-D and always
ends with a Ctrl-A.