old-www/HOWTO/Bzip2-9.html

42 lines
1.3 KiB
HTML

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2 Final//EN">
<HTML>
<HEAD>
<META NAME="GENERATOR" CONTENT="SGML-Tools 1.0.9">
<TITLE>Bzip2 mini-HOWTO: Using bzip2 with Netscape under the X.</TITLE>
<LINK HREF="Bzip2-10.html" REL=next>
<LINK HREF="Bzip2-8.html" REL=previous>
<LINK HREF="Bzip2.html#toc9" REL=contents>
</HEAD>
<BODY>
<A HREF="Bzip2-10.html">Next</A>
<A HREF="Bzip2-8.html">Previous</A>
<A HREF="Bzip2.html#toc9">Contents</A>
<HR>
<H2><A NAME="s9">9. Using bzip2 with Netscape under the X.</A></H2>
<P>tenthumbs@cybernex.net says:
<P>
<BLOCKQUOTE><CODE>
I also found a way to get Linux Netscape to use bzip2 for
Content-Encoding just as it uses gzip. Add this to $HOME/.Xdefaults or
$HOME/.Xresources
<P>I use the -s option because I would rather trade some decompressing
speed for RAM usage. You can leave the option out if you want to.
</CODE></BLOCKQUOTE>
<P>
<PRE>
Netscape*encodingFilters: \
x-compress : : .Z : uncompress -c \n\
compress : : .Z : uncompress -c \n\
x-gzip : : .z,.gz : gzip -cdq \n\
gzip : : .z,.gz : gzip -cdq \n\
x-bzip2 : : .bz2 : bzip2 -ds \n
</PRE>
<P>
<HR>
<A HREF="Bzip2-10.html">Next</A>
<A HREF="Bzip2-8.html">Previous</A>
<A HREF="Bzip2.html#toc9">Contents</A>
</BODY>
</HTML>