Fix usage of .EX

Add missing .EE and remove some .EE that were out of place.
pull/1682/head
Daniele Forsi IU5HKX 2025-03-08 16:08:03 +01:00
rodzic 2da07e484c
commit cd72187a7c
2 zmienionych plików z 12 dodań i 17 usunięć

Wyświetl plik

@ -739,6 +739,7 @@ symbols. For Yaesu rigs use memory#1-5 or up to 50 char msg
.EX .EX
Example from command line: rigctl -m 3073 -r /dev/ttyUSB0 b "CQ CQ DE ME" Example from command line: rigctl -m 3073 -r /dev/ttyUSB0 b "CQ CQ DE ME"
Yaesu example to send message#1: rigctl -m 1035 -r /dev/ttyUSB0 b 1 Yaesu example to send message#1: rigctl -m 1035 -r /dev/ttyUSB0 b 1
.EE
. .
.TP .TP
.BR 0xbb ", " stop_morse " .BR 0xbb ", " stop_morse "
@ -1406,62 +1407,59 @@ Returns current lock mode status 1=On, 2=Off (only useful when using rigctld)
. .
.TP .TP
.BR send_raw " \(aq" \fITerminator\fP "\(aq \(aq" \fIString\fP \(aq .BR send_raw " \(aq" \fITerminator\fP "\(aq \(aq" \fIString\fP \(aq
.EX
Can send ASCII string or 0xnn values or xnn values -- there can be no spaces in the command string. Can send ASCII string or 0xnn values or xnn values -- there can be no spaces in the command string.
Possible terminator values are CR, LF, ;, ICOM, 0-100 (bytes to read), or -1 meaning unknown (will timeout on read) Possible terminator values are CR, LF, ;, ICOM, 0-100 (bytes to read), or -1 meaning unknown (will timeout on read)
Examples (note that a ; must be escaped in Unix/Linux): Examples (note that a ; must be escaped in Unix/Linux):
.IP
For Windows & Unix/Linux we have a new colon-separated format for hex digits For Windows & Unix/Linux we have a new colon-separated format for hex digits
.EX
send_raw icom 0xFE:0xFE:0x94:0x03:0xFD Note: colon-separated does not have to be escaped on Unix/Linux send_raw icom 0xFE:0xFE:0x94:0x03:0xFD Note: colon-separated does not have to be escaped on Unix/Linux
send_raw -1 0xFE:0xFE:0x94:0x03:0xFD send_raw -1 0xFE:0xFE:0x94:0x03:0xFD
send_raw 14 0xFE:0xFE:0x94:0x03:0xFD send_raw 14 0xFE:0xFE:0x94:0x03:0xFD
Note that ASCII commands still require escaping the semicolon on Unix/Linux Note that ASCII commands still require escaping the semicolon on Unix/Linux
send_raw \; FA\;MD\; send_raw \; FA\;MD\;
.EE
For Windows: For Windows:
.EX
send_raw icom 0xFE;0xFE;0x94;0x03;0xFD send_raw icom 0xFE;0xFE;0x94;0x03;0xFD
send_raw -1 0xFE;0xFE;0x94;0x03;0xFD send_raw -1 0xFE;0xFE;0x94;0x03;0xFD
send_raw 14 0xFE;0xFE;0x94;0x03;0xFD send_raw 14 0xFE;0xFE;0x94;0x03;0xFD
.EE
For Unix/Linux For Unix/Linux
.EX
send_raw icom 0xFE\;0xFE\;0x94\;0x03\;0xFD send_raw icom 0xFE\;0xFE\;0x94\;0x03\;0xFD
send_raw \; FA\;MD\; send_raw \; FA\;MD\;
send_raw -1 0xFE\;0xFE\;0x94\;0x03\;0xFD send_raw -1 0xFE\;0xFE\;0x94\;0x03\;0xFD
send_raw 14 0xFE\;0xFE\;0x94\;0x03\;0xFD send_raw 14 0xFE\;0xFE\;0x94\;0x03\;0xFD
.EE
. .
.TP .TP
.BR client_version " \(aq" \fIString\fP "\(aq .BR client_version " \(aq" \fIString\fP "\(aq
.EX
Client can send its version to rigctld and get feedback on compatibility, deprecation, and alternatives Client can send its version to rigctld and get feedback on compatibility, deprecation, and alternatives
.TP .TP
.BR hamlib_version .BR hamlib_version
.EX
Returns hamlib version with ISO8601 date/time Returns hamlib version with ISO8601 date/time
. .
.TP .TP
.BR test .BR test
.EX
Performs test routines. Under development. Performs test routines. Under development.
. .
.TP .TP
.BR set_gpio " \(aq" \fIGPIO#\fP "\(aq .BR set_gpio " \(aq" \fIGPIO#\fP "\(aq
.EX
Sets GPIO1, GPIO2, GPIO3, GPIO4 on the GPIO ptt port Sets GPIO1, GPIO2, GPIO3, GPIO4 on the GPIO ptt port
Can also use 1,2,3,4 Can also use 1,2,3,4
. .
.TP .TP
.BR get_gpio " \(aq" \fIGPIO#\fP "\(aq .BR get_gpio " \(aq" \fIGPIO#\fP "\(aq
.EX
Reads GPIO1, GPIO2, GPIO3, GPIO4 on the GPIO ptt port Reads GPIO1, GPIO2, GPIO3, GPIO4 on the GPIO ptt port
Can also use 1,2,3,4 Can also use 1,2,3,4
. .
.TP .TP
.BR skip_init .BR skip_init
.EX
Skips rig initialization -- useful when executing commands with rigctl to speed up things Skips rig initialization -- useful when executing commands with rigctl to speed up things
. .
.TP .TP
.BR freq_skip " " 'skip' .BR freq_skip " " 'skip'
.EX
When skip!=0 skips setting freq on TX_VFO when in RX and on RX_VFO when in TX -- for use with gpredict and rigs that do not have TARGETABLE_VFO When skip!=0 skips setting freq on TX_VFO when in RX and on RX_VFO when in TX -- for use with gpredict and rigs that do not have TARGETABLE_VFO
. .
.SH READLINE .SH READLINE

Wyświetl plik

@ -736,6 +736,7 @@ symbols. For Yaesu rigs use memory# (1-5 for most rigs) or up to 50 char messag
.EX .EX
Example from rigctld socket: b CQ CQ DE ME Example from rigctld socket: b CQ CQ DE ME
Yaesu example to send message#1 frm rigctld socket: b 1 Yaesu example to send message#1 frm rigctld socket: b 1
.EE
. .
.TP .TP
.BR 0xbb ", " stop_morse " .BR 0xbb ", " stop_morse "
@ -1211,38 +1212,34 @@ Returns current lock mode status 1=On, 2=Off (only useful with rigctld)
. .
.TP .TP
.BR send_raw " \(aq" \fITerminator\fP "\(aq \(aq" \fIString\fP \(aq .BR send_raw " \(aq" \fITerminator\fP "\(aq \(aq" \fIString\fP \(aq
.EX
Can send ASCII string or 0xnn values -- there can be no spaces in the command string. Can send ASCII string or 0xnn values -- there can be no spaces in the command string.
Possible terminator values are CR, LF, ;, ICOM, 0-100 (bytes to read), or -1 meaning unknown (will timeout on read) Possible terminator values are CR, LF, ;, ICOM, 0-100 (bytes to read), or -1 meaning unknown (will timeout on read)
Examples: Examples:
.EX
send_raw ; FA;MD; send_raw ; FA;MD;
send_raw icom 0xFE;0xFE;0x94;0x03;0xFD send_raw icom 0xFE;0xFE;0x94;0x03;0xFD
send_raw -1 0xFE;0xFE;0x94;0x03;0xFD send_raw -1 0xFE;0xFE;0x94;0x03;0xFD
send_raw 14 0xFE;0xFE;0x94;0x03;0xFD send_raw 14 0xFE;0xFE;0x94;0x03;0xFD
.EE
. .
.TP .TP
.BR client_version " \(aq" \fIString\fP "\(aq .BR client_version " \(aq" \fIString\fP "\(aq
.EX
Client can send its version to rigctld and get feedback on compatibility, deprecation, and alternatives Client can send its version to rigctld and get feedback on compatibility, deprecation, and alternatives
.TP .TP
.BR hamlib_version .BR hamlib_version
.EX
Returns Hamlib version with ISO8601 date/time Returns Hamlib version with ISO8601 date/time
. .
.TP .TP
.BR test .BR test
.EX
Performs test routines. Under development. Performs test routines. Under development.
. .
.TP .TP
.BR set_gpio " \(aq" \fIGPIO#\fP "\(aq .BR set_gpio " \(aq" \fIGPIO#\fP "\(aq
.EX
Sets GPIO1, GPIO2, GPIO3, GPIO4 on the GPIO ptt port Sets GPIO1, GPIO2, GPIO3, GPIO4 on the GPIO ptt port
Can also use 1,2,3,4 Can also use 1,2,3,4
. .
.TP .TP
.BR get_gpio " \(aq" \fIGPIO#\fP "\(aq .BR get_gpio " \(aq" \fIGPIO#\fP "\(aq
.EX
Reads GPIO1, GPIO2, GPIO3, GPIO4 on the GPIO ptt port Reads GPIO1, GPIO2, GPIO3, GPIO4 on the GPIO ptt port
Can also use 1,2,3,4 Can also use 1,2,3,4
. .