Stanley Lieber
bc939071cf
apps/wman/search.tpl: we already filter user input. avoid xss by printing filtered user input instead of unfiltered user input on error.
2024-09-20 20:17:26 -04:00
Stanley Lieber
0ca2db0d7f
apps/wman/app.rc: remove ssam dependency. junk characters no longer printed.
2020-06-12 19:30:22 -04:00
Stanley Lieber
ed39b15eb1
apps/wman/app.rc: fix columnization
2019-12-07 21:53:38 -05:00
Stanley Lieber
66f39ebe38
apps/wman: fix comments and restore template syntax.
2016-02-10 20:34:33 -05:00
Stanley Lieber
a99fa8b44f
initial import of changes from 9front bikeshedding; bundle rc-httpd
2016-02-04 15:05:05 -05:00
Uriel
97e8b89672
Two new configuration options for wman:
...
* wman_tmac (defaults to 'an') to pass as parameter to the -m flag of troff.
* fn wman_out_filter (defaults to calling wman_default_out_filter) to do post-processing (eg., calling col) of man page output.
Also filter out directories starting with _ from man page section listings.
2011-01-09 10:48:18 +00:00
Uriel
1649c2e946
Set some reasonable titles for man pages.
2009-12-07 05:38:42 +00:00
Uriel
aa813d0156
Display only 20 entries per column in man page listings, this avoids scrillbars most of the time.
2009-10-29 09:47:53 +00:00
Uriel
47b12d0191
Allow overriding the manual section listing page (just create an index.md or index.html in the dir where wman is enabled).
2009-10-25 09:31:01 +00:00
Uriel
9de7986636
Add missing wman search template! Doh.
2009-09-14 01:37:50 +00:00
Uriel
99b0974e38
Replace nroff reference with troff -N, thanks garbeam!
2009-08-26 00:48:38 +02:00
Uriel
9d7ac1c517
Do not set handler if man page doesn't exist so we can provide proper 404 (or other fall-back)
...
Make 'Intro' page title fixing case-insensitive to deal with Plan B man pages.
2009-05-29 10:04:27 +00:00
Uriel
fd2f9540c9
Don't add extra / to url when we redirect to proper path in wman
2009-04-19 23:56:05 +00:00
Uriel
5470a678f7
Fix null concat in wman search code.
2009-03-16 23:42:44 +00:00
Uriel
3836ee8f56
More wman updates, new search functionality and handle better corner cases.
2009-03-13 10:51:07 +00:00
Uriel
8488a0b651
Yet another version of wman, templatized, and now Unix man pages use the same path style as Plan 9/Inferno.
2009-03-10 01:16:13 +00:00
Uriel
d12a6910c0
Big update to wman app. Many fixes and improvements.
2009-03-09 22:16:39 +00:00
Uriel
ebfd6561cf
First draft of wman app to browse and display manpages.
2009-03-06 16:32:33 +00:00