summaryrefslogtreecommitdiffstats
path: root/usr.bin/mandoc/man.c
diff options
context:
space:
mode:
authorschwarze <schwarze@openbsd.org>2010-10-15 21:33:47 +0000
committerschwarze <schwarze@openbsd.org>2010-10-15 21:33:47 +0000
commitc37b59270e9bda8359292f119d29333203c3cf4a (patch)
tree169995f298e31f83a58d40f968901c07b93bd993 /usr.bin/mandoc/man.c
parentuse standard list width; (diff)
downloadwireguard-openbsd-c37b59270e9bda8359292f119d29333203c3cf4a.tar.xz
wireguard-openbsd-c37b59270e9bda8359292f119d29333203c3cf4a.zip
Move tbl output from plain stdio to mandoc terminal output routines.
This fixes (1) all escape sequences and (2) some aspects of indentation. Table column widths are still way off, though. "move forward" deraadt@
Diffstat (limited to 'usr.bin/mandoc/man.c')
-rw-r--r--usr.bin/mandoc/man.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/usr.bin/mandoc/man.c b/usr.bin/mandoc/man.c
index 58ca126725b..f981ae68d5d 100644
--- a/usr.bin/mandoc/man.c
+++ b/usr.bin/mandoc/man.c
@@ -1,4 +1,4 @@
-/* $Id: man.c,v 1.41 2010/10/15 20:45:03 schwarze Exp $ */
+/* $Id: man.c,v 1.42 2010/10/15 21:33:47 schwarze Exp $ */
/*
* Copyright (c) 2008, 2009, 2010 Kristaps Dzonsons <kristaps@bsd.lv>
*
@@ -26,6 +26,8 @@
#include "libman.h"
#include "libmandoc.h"
+#include "out.h"
+#include "term.h"
#include "tbl.h"
const char *const __man_macronames[MAN_MAX] = {