Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/share/man/man4 Fix fancy "options" lines as mandoc seems to ...



details:   https://anonhg.NetBSD.org/src/rev/fb9d6182d7ac
branches:  trunk
changeset: 358680:fb9d6182d7ac
user:      uwe <uwe%NetBSD.org@localhost>
date:      Sat Jan 13 14:11:40 2018 +0000

description:
Fix fancy "options" lines as mandoc seems to interpret some of them
differently than nroff does.  Use \*q for literal double quotes,
protect literal space.

diffstat:

 share/man/man4/wscons.4 |  20 ++++++++++----------
 1 files changed, 10 insertions(+), 10 deletions(-)

diffs (55 lines):

diff -r e00a6892f44f -r fb9d6182d7ac share/man/man4/wscons.4
--- a/share/man/man4/wscons.4   Sat Jan 13 14:00:50 2018 +0000
+++ b/share/man/man4/wscons.4   Sat Jan 13 14:11:40 2018 +0000
@@ -1,4 +1,4 @@
-.\" $NetBSD: wscons.4,v 1.33 2018/01/13 13:49:10 uwe Exp $
+.\" $NetBSD: wscons.4,v 1.34 2018/01/13 14:11:40 uwe Exp $
 .\"
 .\" Copyright (c) 1999, 2004 The NetBSD Foundation, Inc.
 .\" All rights reserved.
@@ -40,16 +40,16 @@
 .Cd options WSEMUL_SUN
 .Cd options WSEMUL_VT100
 .Cd options WSEMUL_NO_DUMB
-.Cd options WSEMUL_DEFAULT=\&"xxx\&"
+.Cd options WSEMUL_DEFAULT=\*qxxx\*q
 .Pp
 .Cd options WS_DEFAULT_FG=WSCOL_XXX
 .Cd options WS_DEFAULT_BG=WSCOL_XXX
-.Cd options WS_DEFAULT_COLATTR=\&"(WSATTR_XXX | WSATTR_YYY)"
-.Cd options WS_DEFAULT_MONOATTR=\&"(WSATTR_XXX | WSATTR_YYY)"
+.Cd options WS_DEFAULT_COLATTR=\*q(WSATTR_XXX\ |\ WSATTR_YYY)\*q
+.Cd options WS_DEFAULT_MONOATTR=\*q(WSATTR_XXX\ |\ WSATTR_YYY)\*q
 .Cd options WS_KERNEL_FG=WSCOL_XXX
 .Cd options WS_KERNEL_BG=WSCOL_XXX
-.Cd options WS_KERNEL_COLATTR=\&"(WSATTR_XXX | WSATTR_YYY)"
-.Cd options WS_KERNEL_MONOATTR=\&"(WSATTR_XXX | WSATTR_YYY)"
+.Cd options WS_KERNEL_COLATTR=\*q(WSATTR_XXX\ |\ WSATTR_YYY)\*q
+.Cd options WS_KERNEL_MONOATTR=\*q(WSATTR_XXX\ |\ WSATTR_YYY)\*q
 .Pp
 .Cd options WSDISPLAY_COMPAT_PCVT
 .Cd options WSDISPLAY_COMPAT_SYSCONS
@@ -233,9 +233,9 @@
 .Bl -tag -width xxxxxxxx
 .It Cd options WS_DEFAULT_FG=WSCOL_XXX ,
 .It Cd options WS_DEFAULT_BG=WSCOL_XXX ,
-.It Cd options \&WS_DEFAULT_COLATTR="(WSATTR_XXX | WSATTR_YYY)"
+.It Cd options WS_DEFAULT_COLATTR=\*q(WSATTR_XXX\ |\ WSATTR_YYY)\*q
 and
-.It Cd options \&WS_DEFAULT_MONOATTR="(WSATTR_XXX | WSATTR_YYY)"
+.It Cd options WS_DEFAULT_MONOATTR=\*q(WSATTR_XXX\ |\ WSATTR_YYY)\*q
 allow to make default console output appear in specific colors and
 attributes.
 .Dq WS_DEFAULT_FG
@@ -259,9 +259,9 @@
 terminal emulation.
 .It Cd options WS_KERNEL_FG=WSCOL_XXX ,
 .It Cd options WS_KERNEL_BG=WSCOL_XXX ,
-.It Cd options \&WS_KERNEL_COLATTR="(WSATTR_XXX | WSATTR_YYY)"
+.It Cd options WS_KERNEL_COLATTR=\*q(WSATTR_XXX\ |\ WSATTR_YYY)\*q
 and
-.It Cd options \&WS_KERNEL_MONOATTR="(WSATTR_XXX | WSATTR_YYY)"
+.It Cd options WS_KERNEL_MONOATTR=\*q(WSATTR_XXX\ |\ WSATTR_YYY)\*q
 allow to make console output originating from the kernel appear differently
 than output from user level programs (via
 .Pa /dev/console



Home | Main Index | Thread Index | Old Index