summaryrefslogtreecommitdiff
path: root/man/XChangeKeyboardControl.man
diff options
context:
space:
mode:
authorEric S. Raymond <esr@thyrsus.com>2012-08-23 08:24:17 -0400
committerEric S. Raymond <esr@thyrsus.com>2012-08-23 08:24:17 -0400
commita7fb575957ff4d9dd3671994a005ac3be8bb10fe (patch)
treeaa365dc580b71f12aafa8252e450ec458bbdadfb /man/XChangeKeyboardControl.man
parent8042f88ace33573f9d0dfaa21ed54ac7cef266d5 (diff)
downloadxorg-lib-libX11-a7fb575957ff4d9dd3671994a005ac3be8bb10fe.tar.gz
Eliminate all uses of tab stops in the libX11 man pages.
Two steps: First, expand tabs to 8 spaces in code and structure listings. Second, make the .Ds used to wrap code listings switch to constant-width font (CW) rather than numeric font position 1, which maps to R on most systems. It is possible some archaic systems won't know what CW is, but the only risk is that code listings won't look quite right on troff devices; the PostScript and DVI drivers definitely grok it, so those important cases are OK. The purpose of these changes is to get rid of presentation-level markup so these pages will lift clean to DocBook. Signed-off-by: Eric S. Raymond <esr@thyrsus.com>
Diffstat (limited to 'man/XChangeKeyboardControl.man')
-rw-r--r--man/XChangeKeyboardControl.man36
1 files changed, 16 insertions, 20 deletions
diff --git a/man/XChangeKeyboardControl.man b/man/XChangeKeyboardControl.man
index 63f93922..96c93eda 100644
--- a/man/XChangeKeyboardControl.man
+++ b/man/XChangeKeyboardControl.man
@@ -50,7 +50,7 @@
.de Ds
.nf
.\\$1D \\$2 \\$1
-.ft 1
+.ft CW
.\".ps \\n(PS
.\".if \\n(VS>=40 .vs \\n(VSu
.\".if \\n(VS<=39 .vs \\n(VSp
@@ -311,20 +311,18 @@ T}
.TE
.IN "XKeyboardControl" "" "@DEF@"
.Ds 0
-.TA .5i 2.5i
-.ta .5i 2.5i
/\&* Values */
typedef struct {
- int key_click_percent;
- int bell_percent;
- int bell_pitch;
- int bell_duration;
- int led;
- int led_mode; /\&* LedModeOn, LedModeOff */
- int key;
- int auto_repeat_mode; /\&* AutoRepeatModeOff, AutoRepeatModeOn,
- AutoRepeatModeDefault */
+ int key_click_percent;
+ int bell_percent;
+ int bell_pitch;
+ int bell_duration;
+ int led;
+ int led_mode; /\&* LedModeOn, LedModeOff */
+ int key;
+ int auto_repeat_mode; /\&* AutoRepeatModeOff, AutoRepeatModeOn,
+ AutoRepeatModeDefault */
} XKeyboardControl;
.De
.LP
@@ -405,15 +403,13 @@ The
structure contains:
.LP
.Ds 0
-.TA .5i
-.ta .5i
typedef struct {
- int key_click_percent;
- int bell_percent;
- unsigned int bell_pitch, bell_duration;
- unsigned long led_mask;
- int global_auto_repeat;
- char auto_repeats[32];
+ int key_click_percent;
+ int bell_percent;
+ unsigned int bell_pitch, bell_duration;
+ unsigned long led_mask;
+ int global_auto_repeat;
+ char auto_repeats[32];
} XKeyboardState;
.De
.LP