Re: Compressed docs and man pages in Debian packages
> I just looked at the new packages in 1.3.1. I tried to installing
> jdk1.1 and find out that all the documentation provided by Sun (API,
> demos) are compressed.
>
> The same happens for other packages too. The dvi files which are part
> of teTeX package are compressed too. This makes reading of these
> files not easier.
>
> On the other hand a lot of manpages (where all clients I know support
> compressed pages) are stored uncompressed.
I think this should by now be regarded as a bug.
> Why is the documentation treated this way? Saving space is a good
> reason but IMHO compression is not well suited for html and dvi files.
Lynx reads gzipped html without problems.
> I would be forced to uncompress all these files to use it and there is
> no longer saved space. Do not to forget the undermining of the
> package system, the uncompressed files would stay installed while
> removing the according packages.
If you just want to print the dvi files, you make a copy, uncompress
it, print it, and throw it away. Otherwise you can write simple
scripts that do `autodecompression' for you. E.g., for xdvi you could
use the following script called zxdvi (analogous to zcat, zless).
zxdvi:
------------------------------------------------------------------------
#!/bin/sh
tmpname="/tmp/$1 unzipped"
gunzip -c $1 > "$tmpname"
xdvi "$tmpname"
rm "$tmpname"
------------------------------------------------------------------------
Put this in your personal bin directory (or /local/bin) and you're set.
Eric Meijer
--
E.L. Meijer (tgakem@chem.tue.nl) | tel. office +31 40 2472189
Eindhoven Univ. of Technology | tel. lab. +31 40 2475032
Lab. for Catalysis and Inorg. Chem. (TAK) | tel. fax +31 40 2455054
--
TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word "unsubscribe" to
debian-user-request@lists.debian.org .
Trouble? e-mail to templin@bucknell.edu .
Reply to: