summaryrefslogtreecommitdiffstats
path: root/manconf.h
diff options
context:
space:
mode:
authorIngo Schwarze <schwarze@openbsd.org>2018-11-22 11:30:23 +0000
committerIngo Schwarze <schwarze@openbsd.org>2018-11-22 11:30:23 +0000
commit22da865402a78266a769c6c501dbecec806fc0d3 (patch)
treebce636bf50fd51354f227706a2d28e974948df56 /manconf.h
parent556fbe5dbb473b7fd0ad6ba9a1ad36a105cffd66 (diff)
downloadmandoc-22da865402a78266a769c6c501dbecec806fc0d3.tar.gz
In -T locale (the default), -T ascii, and -T utf8 mode, provide a new
output option -O tag[=term] to move right to the definition of "term" when opening the manual page in a pager, effectively porting the -T html fragment name feature - https://man.openbsd.org/ksh#ulimit - to the terminal. Try: $ man -O tag uvm_sysctl $ man -O tag=ulimit ksh $ man -O tag 3 compress Feature development triggered by a question from kn@. Klemens also tested, provided feedback that resulted in improvements, and provided an OK.
Diffstat (limited to 'manconf.h')
-rw-r--r--manconf.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/manconf.h b/manconf.h
index 20973366..9d8d088a 100644
--- a/manconf.h
+++ b/manconf.h
@@ -1,6 +1,6 @@
/* $Id$ */
/*
- * Copyright (c) 2011, 2015, 2017 Ingo Schwarze <schwarze@openbsd.org>
+ * Copyright (c) 2011, 2015, 2017, 2018 Ingo Schwarze <schwarze@openbsd.org>
* Copyright (c) 2011 Kristaps Dzonsons <kristaps@bsd.lv>
*
* Permission to use, copy, modify, and distribute this software for any
@@ -30,6 +30,7 @@ struct manoutput {
char *man;
char *paper;
char *style;
+ char *tag;
size_t indent;
size_t width;
int fragment;