summaryrefslogtreecommitdiff
path: root/usr.bin
diff options
context:
space:
mode:
authorIngo Schwarze <schwarze@cvs.openbsd.org>2014-11-06 22:27:53 +0000
committerIngo Schwarze <schwarze@cvs.openbsd.org>2014-11-06 22:27:53 +0000
commit8b50bbe4abf580157f33484ecb47ab6f9e6f4b89 (patch)
tree2674f516fea73d7c8df571c930adc3ad0ee1be49 /usr.bin
parent8a99970ffead62a943c37773f00b300cf0d42034 (diff)
Let -Tascii \(bu (bullet) output agree with groff;
this is now possible because -Tps now handles backspace overstriking.
Diffstat (limited to 'usr.bin')
-rw-r--r--usr.bin/mandoc/chars.in4
-rw-r--r--usr.bin/mandoc/mdoc_man.c4
2 files changed, 4 insertions, 4 deletions
diff --git a/usr.bin/mandoc/chars.in b/usr.bin/mandoc/chars.in
index 3b097f48453..85e55fd4a12 100644
--- a/usr.bin/mandoc/chars.in
+++ b/usr.bin/mandoc/chars.in
@@ -1,4 +1,4 @@
-/* $OpenBSD: chars.in,v 1.24 2014/10/29 03:34:26 schwarze Exp $ */
+/* $OpenBSD: chars.in,v 1.25 2014/11/06 22:27:52 schwarze Exp $ */
/*
* Copyright (c) 2009, 2010, 2011 Kristaps Dzonsons <kristaps@bsd.lv>
* Copyright (c) 2014 Ingo Schwarze <schwarze@openbsd.org>
@@ -364,7 +364,7 @@ CHAR("rs", "\\", 92)
/* Text markers. */
CHAR("ci", "O", 9675)
-CHAR("bu", "o", 8226)
+CHAR("bu", "+\bo", 8226)
CHAR("dd", "|\b=", 8225)
CHAR("dg", "|\b-", 8224)
CHAR("lz", "<>", 9674)
diff --git a/usr.bin/mandoc/mdoc_man.c b/usr.bin/mandoc/mdoc_man.c
index 1c830af54b3..12230259bde 100644
--- a/usr.bin/mandoc/mdoc_man.c
+++ b/usr.bin/mandoc/mdoc_man.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: mdoc_man.c,v 1.69 2014/10/30 20:05:33 schwarze Exp $ */
+/* $OpenBSD: mdoc_man.c,v 1.70 2014/11/06 22:27:52 schwarze Exp $ */
/*
* Copyright (c) 2011, 2012, 2013, 2014 Ingo Schwarze <schwarze@openbsd.org>
*
@@ -1338,7 +1338,7 @@ pre_it(DECL_ARGS)
outflags |= MMAN_nl;
font_push('B');
if (LIST_bullet == bln->norm->Bl.type)
- print_word("o");
+ print_word("\\(bu");
else
print_word("-");
font_pop();