Skip to content

Commit 53cf7da

Browse files
committed
docs: fix formatting of man(1) pages i-z (#3032)
1 parent 6d19740 commit 53cf7da

18 files changed

+139
-104
lines changed

docs/src/man/man1/halcompile.1.adoc

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -6,15 +6,11 @@ halcompile - Build, compile and install LinuxCNC HAL components
66

77
== SYNOPSIS
88

9-
____
109
*halcompile* [*--compile*|*--preprocess*|*--document*|*--adoc*|*--view-doc*] compfile...
11-
____
1210

1311
_sudo_ *halcompile* [*--install*|*--install-doc*] compfile...
1412

15-
____
1613
*halcompile* *--compile* *--userspace* cfile...
17-
____
1814

1915
_sudo_ *halcompile* *--install* *--userspace* cfile...
2016

@@ -103,7 +99,7 @@ Extra arguments passed to the linker.
10399

104100
== SEE ALSO
105101

106-
* _Halcompile HAL Component Generator_ in the LinuxCNC documentation for a
102+
* _Halcompile_ / _HAL Component Generator_ in the LinuxCNC documentation for a
107103
full description of the *.comp* syntax, along with examples
108104

109105
* *pydoc, HAL* and _Creating Non-realtime Python Components_ in the

docs/src/man/man1/io.1.adoc

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,8 @@ io, iocontrol - interacts with HAL or G-code in non-realtime
66

77
== SYNOPSIS
88

9-
*[EMCIO]* +
9+
*[EMCIO]*
10+
1011
*EMCIO = io*
1112

1213
== DESCRIPTION

docs/src/man/man1/latency-histogram.1.adoc

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -27,21 +27,21 @@ More details: https://linuxcnc.org/docs/html/install/latency-test.html
2727

2828
*-?*, *--help*::
2929
Show options and exit.
30-
*--base*_ ns_::
30+
*--base* _ns_::
3131
base thread interval, default: 25000, min: 5000
32-
*--servo*_ ns_::
32+
*--servo* _ns_::
3333
servo thread interval, default: 1000000, min: 25000
34-
*--bbinsize*_ ns_::
34+
*--bbinsize* _ns_::
3535
base bin size, default: 100
36-
*--sbinsize*_ ns_::
36+
*--sbinsize* _ns_::
3737
servo bin size, default: 100
38-
*--bbins*_ ns_::
38+
*--bbins* _ns_::
3939
base bins, default: 200
40-
*--sbins*_ ns_::
40+
*--sbins* _ns_::
4141
servo bins, default: 200
42-
*--logscale*_ 0|1_::
42+
*--logscale* _0|1_::
4343
y axis log scale, default: 1
44-
*--text*_ note_::
44+
*--text* _note_::
4545
additional note, default: ""
4646
*--show*::
4747
show count of undisplayed bins

docs/src/man/man1/latency-test.1.adoc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ latency-test - test the realtime system latency
66

77
== SYNOPSIS
88

9-
*latency-test* [*--help*] [_base-period_ [_servo-period_]]
9+
*latency-test* [*-h | --help*] [_base-period_ [_servo-period_]]
1010

1111
== DESCRIPTION
1212

docs/src/man/man1/linuxcnc_var.1.adoc

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,8 +16,14 @@ FIXME: missing
1616

1717
Option 'all' returns varname=value for all supported varnames
1818

19-
Varnames supported: LINUXCNCVERSION LINUXCNC_AUX_GLADEVCP
20-
LINUXCNC_AUX_EXAMPLES REALTIME RTS HALLIB_DIR
19+
Varnames supported:
20+
21+
- LINUXCNCVERSION
22+
- LINUXCNC_AUX_GLADEVCP
23+
- LINUXCNC_AUX_EXAMPLES
24+
- REALTIME
25+
- RTS
26+
- HALLIB_DIR
2127

2228
== SEE ALSO
2329

docs/src/man/man1/linuxcncrsh.1.adoc

Lines changed: 45 additions & 37 deletions
Original file line numberDiff line numberDiff line change
@@ -479,40 +479,48 @@ machine out of E-stop (set estop off) and turns it on (set machine on),
479479
homes all the axes, switches the machine to mdi mode, sends an MDI
480480
G-code command, then disconnects and shuts down LinuxCNC.
481481

482-
> *telnet localhost 5007* +
483-
Trying 127.0.0.1... +
484-
Connected to 127.0.0.1 +
485-
Escape character is '^]'. +
486-
*hello EMC user-typing-at-telnet 1.0* +
487-
HELLO ACK EMCNETSVR 1.1 +
488-
*set enable EMCTOO* +
489-
set enable EMCTOO +
490-
*set mode manual* +
491-
set mode manual +
492-
*set estop off* +
493-
set estop off +
494-
*set machine on* +
495-
set machine on +
496-
*set home 0* +
497-
set home 0 +
498-
*set home 1* +
499-
set home 1 +
500-
*set home 2* +
501-
set home 2 +
502-
*set mode mdi* +
503-
set mode mdi +
504-
*set mdi g0x1* +
505-
set mdi g0x1 +
506-
*help* +
507-
help +
508-
Available commands: Hello <password> <client name> <protocol version>
509-
Get <emc command> Set <emc command> Shutdown Help <command> +
510-
*help get* +
511-
help get +
512-
Usage: Get <emc command> Get commands require that a hello has been
513-
successfully negotiated. Emc command may be one of: Abs_act_pos
514-
Abs_cmd_pos +
515-
* ... * +
516-
*shutdown* +
517-
shutdown +
518-
Connection closed by foreign host.
482+
*> telnet localhost 5007* +
483+
Trying 127.0.0.1... +
484+
Connected to 127.0.0.1 +
485+
Escape character is '^]'. +
486+
*hello EMC user-typing-at-telnet 1.0* +
487+
HELLO ACK EMCNETSVR 1.1 +
488+
*set enable EMCTOO* +
489+
set enable EMCTOO +
490+
*set mode manual* +
491+
set mode manual +
492+
*set estop off* +
493+
set estop off +
494+
*set machine on* +
495+
set machine on +
496+
*set home 0* +
497+
set home 0 +
498+
*set home 1* +
499+
set home 1 +
500+
*set home 2* +
501+
set home 2 +
502+
*set mode mdi* +
503+
set mode mdi +
504+
*set mdi g0x1* +
505+
set mdi g0x1 +
506+
*help* +
507+
help +
508+
Available commands: +
509+
Hello <password> <client name> <protocol version> +
510+
Get <emc command> +
511+
Set <emc command> +
512+
Shutdown Help <command> +
513+
514+
*help get* +
515+
help get +
516+
Usage: Get <emc command> +
517+
Get commands require that a hello has been +
518+
successfully negotiated. +
519+
Emc command may be one of: +
520+
Abs_act_pos +
521+
Abs_cmd_pos +
522+
523+
*...* +
524+
*shutdown* +
525+
shutdown +
526+
Connection closed by foreign host.

docs/src/man/man1/mb2hal.1.adoc

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,21 +23,25 @@ See https://linuxcnc.org/docs/html/drivers/mb2hal.html[] for more information.
2323
=== fnct_01_read_coils:
2424

2525
*mb2hal.m.n.bit* bit out +
26+
2627
*mb2hal.m.n.bit-inv* bit out
2728

2829
=== fnct_02_read_discrete_inputs:
2930

3031
*mb2hal.m.n.bit* bit out +
32+
3133
*mb2hal.m.n.bit-inv* bit out
3234

3335
=== fnct_03_read_holding_registers:
3436

3537
*mb2hal.m.n.float* float out +
38+
3639
*mb2hal.m.n.int* s32 out
3740

3841
=== fnct_04_read_input_registers:
3942

4043
*mb2hal.m.n.float* float out +
44+
4145
*mb2hal.m.n.int* s32 out
4246

4347
=== fnct_05_write_single_coil:

docs/src/man/man1/mdi.1.adoc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ interactive session
2626
$mdi
2727
MDI> m3 s1000
2828
MDI> G0 X100
29-
MDI>` ^Z
29+
MDI> ^Z
3030
$stopped
3131
....
3232

docs/src/man/man1/mdro.1.adoc

Lines changed: 12 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -82,8 +82,14 @@ _MM_ = _1_::
8282
Using an example of "XYZA" for an _axes_ argument, these pins will be
8383
created when *mdro* starts:
8484

85-
mdro.axis.0 mdro.axis.1 mdro.axis.2 mdro.axis.3 mdro.index-enable.0
86-
mdro.index-enable.1 mdro.index-enable.2 mdro.index-enable.3
85+
- mdro.axis.0 +
86+
- mdro.axis.1 +
87+
- mdro.axis.2 +
88+
- mdro.axis.3 +
89+
- mdro.index-enable.0 +
90+
- mdro.index-enable.1 +
91+
- mdro.index-enable.2 +
92+
- mdro.index-enable.3 +
8793

8894
In this example, the first row will be labeled "X" and will show the
8995
data associated with pin mdro.axis.0. In many configurations,
@@ -94,8 +100,10 @@ index-enable pins from the DRO.
94100
*mdro* can also be started via a "loadusr" command in a HAL file for a
95101
trial. Here's an example of a sim setup:
96102

97-
loadusr -W mdro -l sim.var XYZ net x-pos-fb => mdro.axis.0 net y-pos-fb
98-
=> mdro.axis.1 net z-pos-fb => mdro.axis.2
103+
loadusr -W mdro -l sim.var XYZ
104+
net x-pos-fb => mdro.axis.0
105+
net y-pos-fb => mdro.axis.1
106+
net z-pos-fb => mdro.axis.2
99107

100108
== AUTHOR
101109

docs/src/man/man1/milltask.1.adoc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ milltask - Non-realtime task controller for LinuxCNC
99
The internal process *milltask* of LinuxCNC is generally not
1010
invoked directly but by an INI file setting:
1111
`[TASK]TASK=milltask``.
12-
The *milltask* process creates the `ini.\*` HAL pins listed below and owned by the *inihal* component.
12+
The *milltask* process creates the `ini.*` HAL pins listed below and owned by the *inihal* component.
1313
These pins may be modified while LinuxCNC is running to alter values
1414
that are typically specified statically in an INI file.
1515

0 commit comments

Comments
 (0)