Bug#583349: "++" (as in C++) is not well handled by dhelp

2010-05-30 Thread Esteban Manchado Velázquez
On Thu, 27 May 2010 11:12:58 +0200, John Gruenenfelder  
 wrote:


The ++ characters are not properly handled by dhelp in a couple of  
places.

The first is in the document index.  I have "The C++ Annotations", a C++
primer, installed.  I used dhelp to browse to it, but this failed when my
browser attempted to access
http://localhost/doc/c++-annotations/html/index.html and could not find  
the

files.  This is because ++ is parsed by the browser and the resulting URL
looks something like ".../c  -annotations/..." which doesn't exist.  The  
fix is, I suppose, to use the correct HTML element for the + character.


   Yes, my bad. I was calling a function to escape the URL, but it didn't  
escape all characters it seems :-( Now it should be fixed.


   I have just uploaded dhelp 0.6.19 addressing this.


The other problem is rather minor, but dsearch, which *does* handle ++
properly, has a string limit which requires the search string to be at  
least

four characters in lengths.  This prevents anyone for looking for all C++
documentation on the system.  I realize it is on the main index, but the
search string length should probably be lowered to three characters.


   I don't think I've ever found a way to lower that limit. Actually,  
looking at index++'s source code, it seems that the limit is hardcoded in  
config.h. If you know or find a way to lower the limit, tell me and I'll  
change it. It's something that sort of bugs me too.


   Thanks,

--
Esteban



--
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org



Bug#583349: "++" (as in C++) is not well handled by dhelp

2010-05-27 Thread John Gruenenfelder
Package: dhelp
Version: 0.6.18
Severity: normal


The ++ characters are not properly handled by dhelp in a couple of places.
The first is in the document index.  I have "The C++ Annotations", a C++
primer, installed.  I used dhelp to browse to it, but this failed when my
browser attempted to access
http://localhost/doc/c++-annotations/html/index.html and could not find the
files.  This is because ++ is parsed by the browser and the resulting URL
looks something like ".../c  -annotations/..." which doesn't exist.  The fix
is, I suppose, to use the correct HTML element for the + character.

The other problem is rather minor, but dsearch, which *does* handle ++
properly, has a string limit which requires the search string to be at least
four characters in lengths.  This prevents anyone for looking for all C++
documentation on the system.  I realize it is on the main index, but the
search string length should probably be lowered to three characters.


-- 
--John GruenenfelderSystems Manager, MKS Imaging Technology, LLC.
Try Weasel Reader for PalmOS  --  http://weaselreader.org
"This is the most fun I've had without being drenched in the blood
of my enemies!"
--Sam of Sam & Max




-- System Information:
Debian Release: squeeze/sid
  APT prefers unstable
  APT policy: (500, 'unstable'), (1, 'experimental')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.34-1-amd64 (SMP w/2 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages dhelp depends on:
ii  doc-base 0.9.5   utilities to manage online documen
ii  libcommandline-ruby1.8   0.7.10-10   Ruby library to write command-line
ii  libdata-page-perl2.02-1  Help when paging through sets of r
ii  libdb-ruby1.80.6.5-6 Interface to Berkeley DB for Ruby 
ii  libgettext-ruby1.8   2.1.0-2.1   Gettext for ruby1.8
ii  libhtml-parser-perl  3.65-1  collection of modules that parse H
ii  liblocale-gettext-perl   1.05-6  Using libc functions for internati
ii  libtemplate-perl 2.22-0.1template processing system written
ii  liburi-perl  1.54-1  module to manipulate and access UR
ii  perl-modules 5.10.1-12   Core Perl modules
ii  poppler-utils0.12.4-1PDF utilitites (based on libpopple
ii  pstotext 1.9-4   Extract text from PostScript and P
ii  ruby1.8  1.8.7.249-3 Interpreter of object-oriented scr
ii  swish++  6.1.5-2 Simple Document Indexing System fo

Versions of packages dhelp recommends:
ii  elinks [www-browser]0.12~pre5-2  advanced text-mode WWW browser
ii  galeon [www-browser]2.0.7-2.1+b1 GNOME web browser for advanced use
ii  iceweasel [www-browser] 3.5.9-3  Web browser based on Firefox
ii  links2 [www-browser]2.2-1+b2 Web browser running in both graphi
ii  lynx-cur [www-browser]  2.8.8dev.3-3 Text-mode WWW Browser with NLS sup
ii  w3m [www-browser]   0.5.2-4  WWW browsable pager with excellent

Versions of packages dhelp suggests:
ii  apache2-mpm-prefork [httpd]   2.2.15-5   Apache HTTP Server - traditional n
ii  catdvi0.14-11+b1 DVI to plain text translator
ii  html2text 1.3.2a-15  advanced HTML to text converter
ii  info2www  1.2.2.9-24 Read info files with a WWW browser
ii  man2html  1.6f-3 browse man pages in your web brows
ii  w3m   0.5.2-4WWW browsable pager with excellent

-- no debconf information



-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org