summaryrefslogtreecommitdiff
path: root/usr.bin/mandoc
diff options
context:
space:
mode:
authorIngo Schwarze <schwarze@cvs.openbsd.org>2017-06-14 20:56:43 +0000
committerIngo Schwarze <schwarze@cvs.openbsd.org>2017-06-14 20:56:43 +0000
commit40ef1f936bc5f204c5d3046623e9954a444a44bf (patch)
tree8b3c3423a05b53f16c600aa324bc01e448be2342 /usr.bin/mandoc
parent1ea31bbc2ae137ed010a7e255489eef0bb231b45 (diff)
add the \(ru (0.5m baseline ruler) character escape sequence,
abused by mail/nmh; groff_char(7) confirms that this really exists
Diffstat (limited to 'usr.bin/mandoc')
-rw-r--r--usr.bin/mandoc/chars.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/usr.bin/mandoc/chars.c b/usr.bin/mandoc/chars.c
index 2d174a5ecd2..13bb663a3a0 100644
--- a/usr.bin/mandoc/chars.c
+++ b/usr.bin/mandoc/chars.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: chars.c,v 1.40 2017/06/02 12:41:28 schwarze Exp $ */
+/* $OpenBSD: chars.c,v 1.41 2017/06/14 20:56:42 schwarze Exp $ */
/*
* Copyright (c) 2009, 2010, 2011 Kristaps Dzonsons <kristaps@bsd.lv>
* Copyright (c) 2011, 2014, 2015, 2017 Ingo Schwarze <schwarze@openbsd.org>
@@ -59,6 +59,7 @@ static struct ln lines[] = {
{ "ba", "|", 0x007c },
{ "br", "|", 0x2502 },
{ "ul", "_", 0x005f },
+ { "ru", "_", 0x005f },
{ "rn", "-", 0x203e },
{ "bb", "|", 0x00a6 },
{ "sl", "/", 0x002f },