-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On Thu, 9 Jan 2003 10:40, Thomas Ritter wrote: > Am Mittwoch, 8. Januar 2003 21:29 schrieb David Pye: > > If it's gzipped, how can KDE/Konq etc know what is INSIDE the gzip > > without opening it? ie the mimetype will be the zip, not the pdf/ps file. > > So, it gets opened with Ark. I fail to see how else it could work to be > > honest. > > gzip is a streamable format, so finding out the mimetype gzip, unzipping > the first couple of bytes and finding out the mimetype for _that_ is not > even hard. > If you want this feature, use the Bug Tracking System of KDE to issue a > feature request. KDE Developers tend to adopt such thoughts ;)
Actually this feature is already documented as being provided in KDE.. The gzip kioslave description in 'Info Center' states that it will already behave in the desired fashion. I myself have wondered how you actually get this working. Should we file a bug against the kioslave description as well? Mark gzip gzip is a compression program The gzip kioslave is not directly usable, and is intended for use as a filter. For example, the tar kioslave can filter a file through the gzip kioslave, in order to display the contents of a tar.gz file directly in a Konqueror window. If you click on a file compressed with a gz extension in Konqueror, this kioslave is used to uncompress it and display it as a normal (uncompressed) file. If you are a developer, and would like to use the gzip filter, you can find documentation on using kioslaves at http://developer.kde.org See the manual: gzip. -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.1 (GNU/Linux) iD8DBQE+HR0ToCzanz0IthIRAtgtAJ0WJA6doEKOIvMlBkOSLIm6tkWTLACgntV+ c+aefdXM2RYSjm234TD6n5g= =njzv -----END PGP SIGNATURE-----