On Thu, 27 May 2010 11:12:58 +0200, John Gruenenfelder
<jo...@as.arizona.edu> 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