Hacker News new | ask | show | jobs
by dcrazy 6 days ago
The official WinHelp authoring tool was… WordPad. Or really, any RTF editor that supported the custom footnote glyphs that the WinHelp compiler turned into a .hlp file. But I would’ve been nervous about using WinWord in case of unwanted additional formatting.

For some reason this baffled me at the time, even though it’s really no different from DocBook to HTML conversion. Maybe it was inexperience, or maybe it was because HTML was its own well-known thing while .hlp was opaque, but I always thought that the footnotes etc. were semantically preserved to the final artifact, and I couldn’t wrap my head around how they became popups and hyperlinks.

Later, Compiled HTML Help arrived which was significantly less mysterious. Maybe because the input and output were still obviously HTML, packaged into a .chm with some metadata. Or maybe I’d just learned more.

3 comments

I wrote a "shareware" program with Delphi to solve this problem. It pretty much paid for my college.
I remember CHM files from their heyday on Windows, but I recently discovered some older ebook files were distributed as CHM. It was a pain to get calibre to convert them to epub, it needed some python library that didn't seem to work on the first go.
CHM was the vector for the first and only malware that I ever downloaded and executed from the internet (I had a floppy disk virus once in the 90s). It started scanning my HDD at top speed. Of course, this was very noticeable in the days before SSDs so I shut it down within seconds.
Are you sure that was a virus and not some odd normal behaviour of the help system, such as building a search index?
Building the index was done with a progress bar.

In those days, if the computer did anything in the background, and I mean anything, it was always a virus.