Skip to content

Commit 673c152

Browse files
smoehansu
authored andcommitted
docs: removing blanks at end of line
1 parent f2e6ef7 commit 673c152

2 files changed

Lines changed: 30 additions & 30 deletions

File tree

docs/man/man1/qtvcp.1

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ qtvcp \- Qt-based virtual control panels
3030
[\fIOPTIONS\fR] myfile.ui
3131

3232
.SH DESCRIPTION
33-
\fBQtVCP\fR is a system for creating user interfaces for LinuxCNC.
33+
\fBQtVCP\fR is a system for creating user interfaces for LinuxCNC.
3434

3535
Full documentation at http://linuxcnc.org/docs/html/gui/qtvcp.html
3636

@@ -94,7 +94,7 @@ Pass USEROPTS strings to handler under self.w.USEROPTIONS_ list variable.
9494
Much more information about LinuxCNC and HAL is available in the LinuxCNC and HAL User Manuals, found at /usr/share/doc/LinuxCNC/.
9595

9696
.SH BUGS
97-
None known at this time.
97+
None known at this time.
9898
.PP
9999
.SH AUTHOR
100100
This man page written by andypugh, as part of the LinuxCNC project.

docs/man/man9/lcd.9

Lines changed: 28 additions & 28 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ lcd \- Stream HAL data to an LCD screen
88
.SH FUNCTIONS
99
.TP
1010
\fBlcd\fR (requires a floating-point thread).
11-
All LCD instances are updated by the same function.
11+
All LCD instances are updated by the same function.
1212

1313
.SH PINS
1414
.TP
@@ -17,7 +17,7 @@ The output byte stream is sent via this pin. One character is sent every thread
1717
invocation. There in no handshaking provided.
1818
.TP
1919
.B lcd.\fINN\fB.page.\fIPP.\fBarg.\fINN\fR (float/s32/u32/bit) in
20-
The input pins have types matched to the format string specifiers.
20+
The input pins have types matched to the format string specifiers.
2121
.TP
2222
.B lcd.\fINN\fB.page_num\fR (u32) in
2323
Selects the page number. Multiple layouts may be defined, and this pin switches
@@ -26,7 +26,7 @@ between them.
2626
.B lcd.\fINN\fB.contrast\fR (float) in
2727
Attempts to set the contrast of the LCD screen using the byte sequence ESC C and
2828
then a value from 0x20 to 0xBF (matching the Mesa 7I73).
29-
The value should be between 0 and 1.
29+
The value should be between 0 and 1.
3030

3131
.SH PARAMETERS
3232
.TP
@@ -38,17 +38,17 @@ parameter to 44 (0x2C).
3838
.SH DESCRIPTION
3939

4040
\fBlcd\fR takes format strings much like those used in C and many other languages
41-
in the printf and scanf functions and their variants.
41+
in the printf and scanf functions and their variants.
4242

4343
The component was written specifically to support the Mesa 7I73 pendant controller,
4444
however, it may be of use streaming data to other character devices
4545
and, as the output format mimics the ADM3 terminal format, it could be used
46-
to stream data to a serial device. Perhaps even a genuine ADM3.
47-
The strings contain a mixture of text values (which are displayed directly),
48-
"escaped" formatting codes and numerical format descriptors.
46+
to stream data to a serial device. Perhaps even a genuine ADM3.
47+
The strings contain a mixture of text values (which are displayed directly),
48+
"escaped" formatting codes and numerical format descriptors.
4949
For a detailed description of formatting codes see: http://en.wikipedia.org/wiki/Printf .
5050

51-
The component can be configured to display an unlimited number of differently-formatted pages, which may be selected with a HAL pin.
51+
The component can be configured to display an unlimited number of differently-formatted pages, which may be selected with a HAL pin.
5252
.TP
5353
\fBEscaped codes\fR
5454
\en Inserts a clear-to-end, carriage return and line feed character.
@@ -57,42 +57,42 @@ To print in the rightmost column it is necessary to allow the format to wrap and
5757

5858
\et Inserts a tab (actually 4 spaces in the current version rather than a true tab.)
5959

60-
\eNN inserts the character defined by the hexadecimal code NN.
60+
\eNN inserts the character defined by the hexadecimal code NN.
6161
As the ',' character is used in the format string to separate LCD instances it must be represented by \e2C in the format string (the decimal separator is handled differently).
62-
62+
6363
\e\e Inserts a literal \e.
6464

6565
.TP
6666
\fBNumerical formats\fR
6767

6868
\fBlcd\fR differs slightly from the standard printf conventions.
6969
One significant difference is that width limits are strictly enforced to prevent the LCD display wrapping and spoiling the layout.
70-
The field width includes the sign character so that negative numbers will often have a smaller valid range than positive.
70+
The field width includes the sign character so that negative numbers will often have a smaller valid range than positive.
7171
Numbers that do not fit in the specified width are displayed as a line of asterisks (\fB********\fR).
7272

7373
Each format begins with a "%" symbol. (For a literal % use "%%").
7474
Immediately after the % the following modifiers may be used:
7575

7676
" " (space) Pad the number to the specified width with spaces.
77-
This is the default and is not strictly necessary.
77+
This is the default and is not strictly necessary.
7878

79-
"0" Pad the number to the specified width with the numeral 0.
79+
"0" Pad the number to the specified width with the numeral 0.
8080

8181
"+" Force display of a + symbol before positive numbers.
82-
This (like the \- sign) will appear immediately to the left of the digits for a space-padded number and in the extreme left position for a 0-padded number.
82+
This (like the \- sign) will appear immediately to the left of the digits for a space-padded number and in the extreme left position for a 0-padded number.
8383

8484
"1234567890" A numerical entry (other than the leading 0 above) defines the total number of characters to display including the decimal separator and the sign.
8585
Whilst this number can be as many digits as required, the maximum field width is 20 characters.
8686
The inherent precision of the "double" data type means that more than 14 digits will tend to show errors in the least significant digits.
87-
The integer data types will never fill more than 10 decimal digits.
87+
The integer data types will never fill more than 10 decimal digits.
8888

8989
Following the width specifier should be the decimal specifier.
90-
This can only be a full-stop character (.) as the comma (,) is used as the instance separator.
90+
This can only be a full-stop character (.) as the comma (,) is used as the instance separator.
9191
Currently lcd does not access the locale information to determine the correct separator but the \fBdecimal\-separator\fR HAL parameter can be used to choose any desired separator.
9292

93-
Following the decimal separator should be a number that determines how many places of decimals to display. This entry is ignored in the case of integer formats.
93+
Following the decimal separator should be a number that determines how many places of decimals to display. This entry is ignored in the case of integer formats.
9494

95-
All the above modifiers are optional, but to specify a decimal precision the decimal point must precede the precision, e.g., as in "%.3f".
95+
All the above modifiers are optional, but to specify a decimal precision the decimal point must precede the precision, e.g., as in "%.3f".
9696
The default decimal precision is 4.
9797

9898
The numerical formats supported are:
@@ -101,40 +101,40 @@ The numerical formats supported are:
101101
The example would be displayed in a 9-character field, with 3 places of decimals, as a decimal separator,
102102
padded to the left with 0s and with a sign displayed for both positive and negative. Conversely a plain %f would be 6 digits of decimal,
103103
variable format width, with a sign only shown for negative numbers.
104-
Both %f and %F create exactly the same format.
104+
Both %f and %F create exactly the same format.
105105

106106
\fB%i %d\fR (For example %+ 4d) Creates a signed (s32) HAL pin.
107-
The example would display the value at a fixed 4 characters, space padded, width including the "+" giving a range of +999 to \-999. %i and %d create identical output.
107+
The example would display the value at a fixed 4 characters, space padded, width including the "+" giving a range of +999 to \-999. %i and %d create identical output.
108108

109109
\fB%u\fR (for example %08u) Creates an unsigned (u32) HAL pin.
110-
The example would be a fixed 8 characters wide, padded with zeros.
110+
The example would be a fixed 8 characters wide, padded with zeros.
111111

112112
\fB%x, %X\fR Creates an unsigned (u32) HAL pin and displays the value in Hexadecimal.
113113
Both %x and %X display capital letters for digits ABCDEF.
114-
A width may be specified, though the u32 HAL type is only 8 hex digits wide.
114+
A width may be specified, though the u32 HAL type is only 8 hex digits wide.
115115

116-
\fB%o\fR Creates an unsigned (u32) pin and displays the value in octal representation.
116+
\fB%o\fR Creates an unsigned (u32) pin and displays the value in octal representation.
117117

118118
\fB%c\fR Creates a u32 HAL pin and displays the character corresponding to the value of the pin.
119-
Values less than 32 (space) are suppressed. A width specifier may be used, for example %20c might be used to create a complete line of one character.
119+
Values less than 32 (space) are suppressed. A width specifier may be used, for example %20c might be used to create a complete line of one character.
120120

121121
\fB%b\fR This specifier has no equivalent in printf.
122122
It creates a bit (boolean) type HAL pin. The b should be followed by two characters
123123
and the display will show the first of these when the pin is true, and the second when false.
124124
Note that the characters follow, not precede the "b", unlike the case with other formats.
125125
The characters may be "escaped" Hex values.
126126
For example "%b\eFF " will display a solid black block if true, and a space if false and "%b\e7F\e7E" would display right-arrow for false and left-arrow for true.
127-
An unexpected value of 'E' indicates a formatting error.
127+
An unexpected value of 'E' indicates a formatting error.
128128

129129
\fBPages\fR
130130
The page separator is the "|" (pipe) character (if the actual character is needed then \e7C may be used).
131-
A "Page" in this context refers to a separate format which may be displayed on the same display.
131+
A "Page" in this context refers to a separate format which may be displayed on the same display.
132132

133133
\fBInstances\fR
134134
The instance separator is the comma. This creates a completely separate lcd instance,
135-
for example to drive a second lcd display on the second 7I73.
135+
for example to drive a second lcd display on the second 7I73.
136136
The use of comma to separate instances is built in to the modparam reading code so not even escaped commas "\e," can be used.
137-
A comma may be displayed by using the \e2C sequence.
137+
A comma may be displayed by using the \e2C sequence.
138138

139139
.SH AUTHOR
140140
Andy Pugh

0 commit comments

Comments
 (0)