The NetBSD Project

CVS log for src/usr.sbin/makemandb/apropos-utils.h

[BACK] Up to [cvs.NetBSD.org] / src / usr.sbin / makemandb

Request diff between arbitrary revisions


Default branch: MAIN
Current tag: MAIN


Revision 1.9 / (download) - annotate - [select for diffs], Tue Apr 2 17:16:50 2013 UTC (6 weeks, 4 days ago) by christos
Branch: MAIN
CVS Tags: HEAD
Changes since 1.8: +9 -7 lines
Diff to previous 1.8 (colored)

instead of having a format and no format flag, and exposing various formatters,
provide a format enum and expose html formatting too.

Revision 1.8 / (download) - annotate - [select for diffs], Fri Mar 29 20:07:31 2013 UTC (7 weeks, 1 day ago) by christos
Branch: MAIN
Changes since 1.7: +2 -1 lines
Diff to previous 1.7 (colored)

- If the stdout is not a tty, prevent formatting unless forced with -i
- Don't ever page unless asked for with -p
- Introduce "legacy mode" (-l)
  1. searches only name and name_desc, prints name(section) - name_description
  2. turns off escape formatting (can be forced on with -i)
  3. turns off context printing (can be forced on with -c)
- Parse the environment $APROPOS variable as an argument vector.

With these changes one can simply 'export APROPOS=-l' and get the old apropos
behavior.

Revision 1.7 / (download) - annotate - [select for diffs], Sun Feb 10 23:58:27 2013 UTC (3 months ago) by christos
Branch: MAIN
CVS Tags: tls-maxphys-nbase, tls-maxphys-base, agc-symver-base, agc-symver
Changes since 1.6: +3 -1 lines
Diff to previous 1.6 (colored)

add -r flag to elide tty formatting

Revision 1.6 / (download) - annotate - [select for diffs], Sun Feb 10 23:24:18 2013 UTC (3 months ago) by christos
Branch: MAIN
Changes since 1.5: +2 -2 lines
Diff to previous 1.5 (colored)

remove trailing whitespace

Revision 1.5 / (download) - annotate - [select for diffs], Mon Jan 14 21:26:25 2013 UTC (4 months ago) by christos
Branch: MAIN
CVS Tags: yamt-pagecache-base8
Changes since 1.4: +2 -1 lines
Diff to previous 1.4 (colored)

- move the terminal handling in apropos-utils.c since htmp and pager are also
  handled there.
- underline the name, section, and description so that it is prettier.
- change to bold terminal the terminal highlighting to match with less

Revision 1.4 / (download) - annotate - [select for diffs], Sat Oct 6 15:33:59 2012 UTC (7 months, 1 week ago) by wiz
Branch: MAIN
CVS Tags: yamt-pagecache-base7, yamt-pagecache-base6
Changes since 1.3: +4 -3 lines
Diff to previous 1.3 (colored)

Make mandb path configurable. makemandb (and related tools) use
the path from the _mandb variable from man.conf now.

Set _mandb in man.conf to same value as was used before.

From Abhinav Upadhyay <er.abhinav.upadhyay@gmail.com>.

Revision 1.3 / (download) - annotate - [select for diffs], Mon May 7 11:18:16 2012 UTC (12 months, 1 week ago) by wiz
Branch: MAIN
CVS Tags: yamt-pagecache-base5
Branch point for: tls-maxphys
Changes since 1.2: +2 -2 lines
Diff to previous 1.2 (colored)

PR 46419 by Abhinav Upadhyay using his updated patch:
Clean up after removing man page aliases.

Revision 1.2 / (download) - annotate - [select for diffs], Tue Feb 7 19:17:16 2012 UTC (15 months, 1 week ago) by joerg
Branch: MAIN
CVS Tags: yamt-pagecache-base4, netbsd-6-base
Branch point for: yamt-pagecache, netbsd-6
Changes since 1.1: +1 -1 lines
Diff to previous 1.1 (colored)

Fix C&P error with $NetBSD$

Revision 1.1 / (download) - annotate - [select for diffs], Tue Feb 7 19:13:32 2012 UTC (15 months, 1 week ago) by joerg
Branch: MAIN

Import the new apropos/whatis.

This code has been developed by Abhinav Upadhyay as part of Google's Summer
of Code 2011. It uses libmandoc to parse man pages and builds a Full
Text Index in a SQLite database. The combination of indexing the full
manual page, filtering out stop words and ranking individual matches
based on the section gives a much improved user experience.

The old makewhatis and friends are kept under MKMAKEMANDB=no for now.

This form allows you to request diff's between any two revisions of a file. You may select a symbolic revision name using the selection box or you may type in a numeric name using the type-in text box.




CVSweb <webmaster@jp.NetBSD.org>