w3m

Unnamed repository; edit this file to name it for gitweb.
git clone https://logand.com/git/w3m.git/
Log | Files | Refs | README

commit 3b0a15abe760a5d7ad602bd23bd2cda4370c85dc
parent c21ec3abde7a46b412e253899358b93d9a6e0e4f
Author: htrb <htrb>
Date:   Sun, 18 Jul 2010 13:38:30 +0000

"MAN_KEEP_FORMATTING=1"
http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=325699

Diffstat:
MChangeLog | 6++++++
Mscripts/w3mman/w3mman2html.cgi.in | 4++--
2 files changed, 8 insertions(+), 2 deletions(-)

diff --git a/ChangeLog b/ChangeLog @@ -1,9 +1,15 @@ +2010-07-18 hito <hito@localhost.localdomain> + + 2010-07-18 d+w3m@vdr.jp * [w3m-dev 04319] Re: w3m's bugs from bugs.debian.org * doc/w3m.1: fix typo. * doc-jp/w3m.1: update * terms.c: fix version check logic for FreeBSD http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=493486 + * scripts/w3mman/w3mman2html.cgi.in (Content-Type): + "MAN_KEEP_FORMATTING=1" + http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=325699 2007-06-07 Hironori Sakamoto <hsaka@mth.biglobe.ne.jp> diff --git a/scripts/w3mman/w3mman2html.cgi.in b/scripts/w3mman/w3mman2html.cgi.in @@ -76,7 +76,7 @@ if ($query{"local"}) { if (! ($file =~ /^\//)) { $file = $query{"pwd"} . '/' . $file; } - open(F, "$MAN -l $file 2> /dev/null |"); + open(F, "MAN_KEEP_FORMATTING=1 $MAN -l $file 2> /dev/null |"); } else { $man = $query{"man"}; if ($man =~ s/\((\w+)\)$//) { @@ -92,7 +92,7 @@ if ($query{"local"}) { $section =~ s:([^-\w\200-\377.,])::g; $man =~ s:([^-\w\200-\377.,])::g; - open(F, "$MAN $section $man 2> /dev/null |"); + open(F, "MAN_KEEP_FORMATTING=1 $MAN $section $man 2> /dev/null |"); } $ok = 0; undef $header;