aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/man.c
diff options
context:
space:
mode:
authorIngo Schwarze <schwarze@openbsd.org>2013-10-17 20:54:58 +0000
committerIngo Schwarze <schwarze@openbsd.org>2013-10-17 20:54:58 +0000
commit80da5c33753e6423f0c705cd021a073af20577a9 (patch)
tree86853f332a4ac8f07b3d088aeccb48fc5611ebc6 /man.c
parentde451aaf7a927d2994d3e526df07235dee8005af (diff)
downloadmandoc-80da5c33753e6423f0c705cd021a073af20577a9.tar.gz
mandoc-80da5c33753e6423f0c705cd021a073af20577a9.tar.zst
mandoc-80da5c33753e6423f0c705cd021a073af20577a9.zip
Implement the .UR/.UE block (uniform resource identifier) introduced in the
man-ext macros by Eric S. Raymond, enabled by default in groff_man(7). Usual disclaimer: You don't write new man(7) code, so you are not going to use these, either. Improves e.g. the bzr(1) and etherape(1) manuals. Thanks to naddy@ for bringing these to my attention.
Diffstat (limited to 'man.c')
-rw-r--r--man.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/man.c b/man.c
index 24ffc638..10cf610c 100644
--- a/man.c
+++ b/man.c
@@ -1,4 +1,4 @@
-/* $Id: man.c,v 1.119 2012/11/17 00:26:33 schwarze Exp $ */
+/* $Id: man.c,v 1.120 2013/10/17 20:54:58 schwarze Exp $ */
/*
* Copyright (c) 2008, 2009, 2010, 2011 Kristaps Dzonsons <kristaps@bsd.lv>
*
@@ -40,7 +40,8 @@ const char *const __man_macronames[MAN_MAX] = {
"RI", "na", "sp", "nf",
"fi", "RE", "RS", "DT",
"UC", "PD", "AT", "in",
- "ft", "OP", "EX", "EE"
+ "ft", "OP", "EX", "EE",
+ "UR", "UE"
};
const char * const *man_macronames = __man_macronames;