Linux console tools development discussion
 help / color / mirror / Atom feed
* [kbd] [PATCH 1/2] Replace “-” by “\-” in some manpages when options are mentioned
@ 2009-06-11 18:38 Michael Schutte
  2009-06-13 11:22 ` Alexey Gladkov
  0 siblings, 1 reply; 2+ messages in thread
From: Michael Schutte @ 2009-06-11 18:38 UTC (permalink / raw)
  To: kbd

“-” is treated as a hyphen (U+2010) by groff.  “\-” is the intended
ASCII minus sign.

Signed-off-by: Michael Schutte <michi@uiae.at>
---
 man/man1/loadkeys.1.in |    2 +-
 man/man1/openvt.1      |    2 +-
 man/man1/setleds.1     |   10 +++++-----
 man/man1/showkey.1     |    2 +-
 man/man8/setkeycodes.8 |    4 ++--
 5 files changed, 10 insertions(+), 10 deletions(-)

diff --git a/man/man1/loadkeys.1.in b/man/man1/loadkeys.1.in
index 64031af..7e168e4 100644
--- a/man/man1/loadkeys.1.in
+++ b/man/man1/loadkeys.1.in
@@ -98,7 +98,7 @@ compose ',' 'c' to ccedilla
 .LP
 means that <ComposeKey><,><c> must be combined to <ccedilla>.
 The current content of this table can be see
-using `dumpkeys --compose-only'.
+using `dumpkeys \-\-compose\-only'.
 .SH "LOAD KERNEL STRING TABLE"
 The option
 .I -s
diff --git a/man/man1/openvt.1 b/man/man1/openvt.1
index 8a37094..9a58a80 100644
--- a/man/man1/openvt.1
+++ b/man/man1/openvt.1
@@ -35,7 +35,7 @@ will be made the new current VT.
 .TP
 .I "\-u"
 Figure out the owner of the current VT, and run login as that user.
-Suitable to be called by init. Shouldn't be used with -c or -l.
+Suitable to be called by init. Shouldn't be used with \-c or \-l.
 .TP
 .I "\-l"
 Make the command a login shell. A \- is prepended to the name of the command
diff --git a/man/man1/setleds.1 b/man/man1/setleds.1
index 21b50c9..f484fa0 100644
--- a/man/man1/setleds.1
+++ b/man/man1/setleds.1
@@ -17,23 +17,23 @@ Without arguments,
 prints the current settings.
 With arguments, it sets or clears the indicated flags
 (and leaves the others unchanged). The settings before
-and after the change are reported if the -v flag is given.
+and after the change are reported if the \-v flag is given.
 .LP
 The led flag settings are specific for each VT (and the VT
 corresponding to stdin is used).
 .LP
-By default (or with option -F),
+By default (or with option \-F),
 .B setleds
 will only change the VT flags (and their setting may be
 reflected by the keyboard leds).
 .LP
-With option -D,
+With option \-D,
 .B setleds
 will change both the VT flags and their default settings
 (so that a subsequent reset will not undo the change).
 This might be useful for people who always want to have numlock set.
 .LP
-With option -L,
+With option \-L,
 .B setleds
 will not touch the VT flags, but only change the leds.
 From this moment on, the leds will no longer reflect the VT flags
@@ -53,7 +53,7 @@ INITTY=/dev/tty[1-8]
 for tty in $INITTY; do
 .br
 .in +5m
-setleds -D +num < $tty
+setleds \-D +num < $tty
 .br
 .in -5m
 done
diff --git a/man/man1/showkey.1 b/man/man1/showkey.1
index d695572..654e019 100644
--- a/man/man1/showkey.1
+++ b/man/man1/showkey.1
@@ -3,7 +3,7 @@
 .SH NAME
 showkey \- examine the codes sent by the keyboard
 .SH SYNOPSIS
-showkey [-h|--help] [-a|--ascii] [-s|--scancodes] [-k|--keycodes]
+showkey [\-h|\-\-help] [\-a|\-\-ascii] [\-s|\-\-scancodes] [\-k|\-\-keycodes]
 .SH DESCRIPTION
 .IX "showkey command" "" "\fLshowkey\fR command"  
 .LP
diff --git a/man/man8/setkeycodes.8 b/man/man8/setkeycodes.8
index 702514f..69dee20 100644
--- a/man/man8/setkeycodes.8
+++ b/man/man8/setkeycodes.8
@@ -20,7 +20,7 @@ recognize.
 .SH THEORY
 The usual PC keyboard produces a series of scancodes for each
 key press and key release. (Scancodes are shown by
-\fBshowkey -s\fP, see showkey(1).)
+\fBshowkey \-s\fP, see showkey(1).)
 The kernel parses this stream of scancodes, and converts it to
 a stream of keycodes (key press/release events).
 (Keycodes are shown by \fBshowkey\fP.)
@@ -46,7 +46,7 @@ In 2.6 kernels key codes lie in the range 1-255, instead of 1-127.
 (It might be best to confine oneself to the range 1-239.)
 .LP
 In 2.6 kernels raw mode, or scancode mode, is not very raw at all.
-The code returned by showkey -s will change after use of setkeycodes.
+The code returned by showkey \-s will change after use of setkeycodes.
 A kernel bug. See also
 .BR showkey (1).
 .SH OPTIONS
-- 
1.6.3.1



^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [kbd] [PATCH 1/2] Replace “-” by “\-” in some manpages when options are mentioned
  2009-06-11 18:38 [kbd] [PATCH 1/2] Replace “-” by “\-” in some manpages when options are mentioned Michael Schutte
@ 2009-06-13 11:22 ` Alexey Gladkov
  0 siblings, 0 replies; 2+ messages in thread
From: Alexey Gladkov @ 2009-06-13 11:22 UTC (permalink / raw)
  To: kbd

11.06.2009 22:38, Michael Schutte wrote:
> “-” is treated as a hyphen (U+2010) by groff.  “\-” is the intended
> ASCII minus sign.
> 
> Signed-off-by: Michael Schutte <michi@uiae.at>

Thanks!

-- 
Rgrds, legion



^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2009-06-13 11:22 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2009-06-11 18:38 [kbd] [PATCH 1/2] Replace “-” by “\-” in some manpages when options are mentioned Michael Schutte
2009-06-13 11:22 ` Alexey Gladkov

Linux console tools development discussion

This inbox may be cloned and mirrored by anyone:

	git clone --mirror http://lore.altlinux.org/kbd/0 kbd/git/0.git

	# If you have public-inbox 1.1+ installed, you may
	# initialize and index your mirror using the following commands:
	public-inbox-init -V2 kbd kbd/ http://lore.altlinux.org/kbd \
		kbd@lists.altlinux.org kbd@lists.altlinux.ru kbd@lists.altlinux.com
	public-inbox-index kbd

Example config snippet for mirrors.
Newsgroup available over NNTP:
	nntp://lore.altlinux.org/org.altlinux.lists.kbd


AGPL code for this site: git clone https://public-inbox.org/public-inbox.git