CHM (Developers)
> You didn't answer my real question. Is it really a standard, or do some
> browsers simply do this (since they have zlib support internal for http2
> anyway)?
Browsers _should_ be able do it because, a) compression is an http specification (not for Unix only), b) there is a gzip specification. zlib works because it is essentially part of gzip.
http://www.http-compression.com/
http://www.gzip.org/zlib/rfc-gzip.html
> > The slack space problem goes away if raw HTML files are tarred before
> > gzipping (or bzipping).
>
> Yes. IF YOU LEAVE THEM ZIPPED AFTER INSTALL. But then I can't browse
> them. The zip or tarring itself is no problem, the (de)compressor is in
> the installer already. It is kind of slow though with tens of thousands of
> files. (and with 4k clustersize this quickly turns into tens of MBs, while
> it is is a 6MB chm)
I typed too fast and didn't separate threads adequately. Tarring of course is useful in building the download package. A tar file can contain html.gz files just as well as anything else, and then gzipped or bzipped or 7-zipped for transmission. In use, html.gz files are as readable as any other html files.
> > My point is, there are purely mechanical solutions that do not require
> > programming other than revising scripts for packing files and uploading to
> > servers.
>
> I afraid I totally don't get what point you want to make here. Either you
> are reacting out of reflex against .chm (Microsoft paranoia?), or you
> totally lost me.
I was focusing on download package size, because I think reducing download time is more important than disk space after download. Really, what's the big deal about a few MB on today's disks?. And maybe I'm MS-paranoid, so what?
> Sure, I can zip html files. But is that equal to a indexed helpfile
> system? Can I use a mainstream browser to browse such zip as hypertext?
> NO.
>
> Is there a standard helpfile system on *nix ? :no.
>
> > > Also .chm has the ability to embed internal files, which are important for
> > > additional tables for e.g. context sensitive help etc.
>
> > Perhaps .ps or .pdf, with batch files to run Ghostscript or other free
> > reader?
>
> There already is PS/PDF. Beautifully typeset using LaTeX. Even published
> as a book (though in German). If you have a decent way to turn it into an
> helpsystem, let me know.
PDF can have hyperlinks and indexes, right?
> > Yes, browsers are annoying, with so many variations and degrees of
> > compliance with the HTML specs. But I see that as another reason to go
> > with .ps or .pdf, and perhaps supply a reader on the FP servers.
>
> Any external solution is a maintenance nightmare. I want to display an
> help text, not debug why the new version of viewer package X version B
> breaks on OS Y version Z. Specially since I have no interest in package X
> itself in the first place, except displaying the bloody helptext.
> Also using external tools (for the final install, not in crafting the
> binaries of the install) precludes alternate functionality based on the
> helpfiles like displaying help in tooltips.
>
> Free Pascal goes pretty far in eliminating external tools, for maintenance
> and control reasons btw.
Understood. So here is yet another option: Rather than a tightly integrated CHM system, still separate the data files from the viewer. You keep control, need to maintain only your own code, and can issue data or viewer updates in small packages. Also, the user can customize data files (add personal notes, change colors for ergonomic reasons...). It's a tradeoff - some loss of speed (how much really?) and some increase in disk space, but with the gain of greater overall flexibility (my preference).
> E.g. on Windows we have elmininated GNU AS and LD,
> and on the more common (x86,x86_64) ELF targets also AS. Just to avoid the
> horrible maintenance nightmare, and Unix centric thinking that haunts Free
> Software on non Unix targets. Unfortunately, there is no substitute for
> GDB.
I don't see why Unix centric is worse than Windows centric, especially considering that the Linux user base is growing at the expense of Windows.
Complete thread:
- Free Pascal questions - rr, 24.08.2008, 23:31 (Developers)
- Free Pascal questions - marcov, 25.08.2008, 10:28
- Free Pascal questions - Laaca, 25.08.2008, 11:02
- Free Pascal questions - marcov, 25.08.2008, 11:22
- CHM - DOS386, 28.08.2008, 05:48
- Free Pascal questions - marcov, 12.10.2008, 13:46
- Free Pascal questions | 2.2.2 minimal test - DOS386, 18.10.2008, 03:13
- Free Pascal questions | 2.2.2 minimal test - Laaca, 18.10.2008, 12:10
- Free Pascal questions | 2.2.2 minimal test - DOS386, 19.10.2008, 01:29
- Free Pascal questions | 2.2.2 test | FP IDE test @marcov - DOS386, 20.10.2008, 08:49
- Free Pascal questions | 2.2.2 test | FP IDE test @marcov - DOS386, 20.10.2008, 09:01
- Free Pascal questions | 2.2.2 test | FP IDE test @marcov - Laaca, 20.10.2008, 11:00
- Free Pascal questions | 2.2.2 test | FP IDE test @marcov - marcov, 20.10.2008, 18:09
- Free Pascal questions | 2.2.2 test | FP IDE test @marcov - marcov, 21.10.2008, 12:17
- Free Pascal questions | 2.2.2 test | FP IDE test @marcov - DOS386, 22.10.2008, 15:22
- Free Pascal questions | 2.2.2 test | FP IDE test @marcov - rr, 22.10.2008, 15:59
- Free Pascal questions | 2.2.2 test | FP IDE test @marcov - marcov, 22.10.2008, 19:26
- Free Pascal questions | 2.2.2 test | FP IDE test @marcov - DOS386, 25.10.2008, 01:31
- Free Pascal questions | 2.2.2 test | FP IDE test @marcov - ecm, 25.10.2008, 10:33
- Free Pascal questions | 2.2.2 test | FP IDE test @marcov - Laaca, 25.10.2008, 12:13
- Free Pascal questions | 2.2.2 test | FP IDE test @marcov - marcov, 25.10.2008, 20:17
- Free Pascal questions | 2.2.2 test | FP IDE test @marcov - Laaca, 25.10.2008, 23:49
- Free Pascal questions | 2.2.2 test | FP IDE test @marcov - marcov, 26.10.2008, 11:43
- Free Pascal questions | 2.2.2 test | FP IDE test @marcov - Laaca, 28.10.2008, 10:01
- Free Pascal questions | 2.2.2 test | FP IDE test @marcov - marcov, 29.10.2008, 15:40
- Free Pascal questions | 2.2.2 test | FP IDE test @marcov - Laaca, 28.10.2008, 10:01
- Free Pascal questions | 2.2.2 test | FP IDE test @marcov - marcov, 26.10.2008, 11:43
- Free Pascal questions | 2.2.2 test | FP IDE test @marcov - Laaca, 25.10.2008, 23:49
- Free Pascal questions | 2.2.2 test | FP IDE test @marcov - marcov, 25.10.2008, 20:17
- Free Pascal questions | 2.2.2 test | FP IDE test @marcov - Laaca, 25.10.2008, 12:13
- Free Pascal questions | 2.2.2 test | FP IDE test @marcov - ecm, 25.10.2008, 10:33
- Free Pascal questions | 2.2.2 test | FP IDE test @marcov - DOS386, 25.10.2008, 01:31
- Free Pascal questions | 2.2.2 test | FP IDE test @marcov - DOS386, 22.10.2008, 15:22
- Free Pascal questions | 2.2.2 test | FP IDE test @marcov - Laaca, 20.10.2008, 11:00
- Free Pascal questions | 2.2.2 test | FP IDE test @marcov - DOS386, 20.10.2008, 09:01
- Free Pascal questions | 2.2.2 minimal test - Laaca, 18.10.2008, 12:10
- Free Pascal questions | 2.2.2 minimal test - DOS386, 18.10.2008, 03:13
- Free Pascal questions - rr, 25.08.2008, 22:07
- Free Pascal questions - marcov, 26.08.2008, 11:14
- Free Pascal questions - rr, 27.08.2008, 12:47
- Free Pascal questions - marcov, 28.08.2008, 00:17
- Free Pascal questions - Rugxulo, 28.08.2008, 04:30
- Free Pascal questions - rr, 28.08.2008, 09:50
- Free Pascal questions - rr, 28.08.2008, 09:54
- Free Pascal questions - Rugxulo, 28.08.2008, 11:00
- Free Pascal questions - rr, 28.08.2008, 13:08
- Free Pascal questions - Rugxulo, 28.08.2008, 11:00
- Free Pascal questions - Rugxulo, 28.08.2008, 04:30
- Free Pascal questions - marcov, 28.08.2008, 00:17
- Free Pascal questions - rr, 27.08.2008, 12:47
- Free Pascal questions - marcov, 26.08.2008, 11:14
- Free Pascal questions - Laaca, 25.08.2008, 11:02
- Free Pascal questions - marcov, 25.08.2008, 10:28