From 92b82a1384a9e9840e25d2364a36c9fa50384e34 Mon Sep 17 00:00:00 2001 From: Ingo Schwarze Date: Fri, 2 Dec 2011 01:37:14 +0000 Subject: In man(7), when no explicit volume name is given, use the default volume name for the respective manual section, just like in mdoc(7). This gives us nicer page headers for cvs(1), lynx(1), tic(1), mkhybrid(8), and many curses(3) manuals. ok kristaps@ To not break compatibility, i wrote a corresponding patch for GNU troff which Werner Lemberg accepted upstream at rev. 1.65 of: http://cvs.savannah.gnu.org/viewvc/groff/tmac/an-old.tmac?root=groff --- libmandoc.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'libmandoc.h') diff --git a/libmandoc.h b/libmandoc.h index bedf0497..de422884 100644 --- a/libmandoc.h +++ b/libmandoc.h @@ -1,4 +1,4 @@ -/* $Id: libmandoc.h,v 1.28 2011/07/28 14:17:11 kristaps Exp $ */ +/* $Id: libmandoc.h,v 1.29 2011/12/02 01:37:14 schwarze Exp $ */ /* * Copyright (c) 2009, 2010, 2011 Kristaps Dzonsons * @@ -49,6 +49,7 @@ char *mandoc_normdate(struct mparse *, char *, int, int); int mandoc_eos(const char *, size_t, int); int mandoc_getcontrol(const char *, int *); int mandoc_strntoi(const char *, size_t, int); +const char *mandoc_a2msec(const char*); void mdoc_free(struct mdoc *); struct mdoc *mdoc_alloc(struct roff *, struct mparse *); -- cgit v1.2.3-56-ge451