Re: [gentoo-user] How to prevent documentation in /usr/share/doc from being bzip2'ed ?
On Thu, 30 Oct 2008 17:38:55 -0700, [EMAIL PROTECTED] wrote: > On Thu, Oct 30, 2008 at 07:39:10PM -0400, Eric Martin wrote: > > Why not go even easier and use bzcat,bzless,zcat,and zless > > Because bzgrep and many others haven't been written. Shhh, don't tell my computer that! [EMAIL PROTECTED] ~ 0]% which bzgrep /usr/bin/bzgrep [EMAIL PROTECTED] ~ 0]% qfile bzgrep app-arch/bzip2 (/usr/bin/bzgrep) -- Neil Bothwick "Bother," said Pooh, as the media exposed his sexual depravity. signature.asc Description: PGP signature
Re: [gentoo-user] How to prevent documentation in /usr/share/doc from being bzip2'ed ?
On Thu, Oct 30, 2008 at 7:38 PM, <[EMAIL PROTECTED]> wrote: > On Thu, Oct 30, 2008 at 07:39:10PM -0400, Eric Martin wrote: >> Why not go even easier and use bzcat,bzless,zcat,and zless > > Because bzgrep and many others haven't been written. http://www.bzip.org/bzip2-howto/with-grep.html
Re: [gentoo-user] How to prevent documentation in /usr/share/doc from being bzip2'ed ?
On Thu, Oct 30, 2008 at 07:23:09PM -0700, Andrey Falko wrote: > It does get a little annoying when you want to use grep for all files in the > directory, but nothing a little for loop cannot fix: > > for i in /path/to/dir/*; do echo $i; bzcat $i | grep yay; done Sorry, not good enough. The disk space taken by uncompressed docs is hardly significant these days, and grep -r is too handy to have to live with shell programming just because part of the disk is compressed. -- ... _._. ._ ._. . _._. ._. ___ .__ ._. . .__. ._ .. ._. Felix Finch: scarecrow repairman & rocket surgeon / [EMAIL PROTECTED] GPG = E987 4493 C860 246C 3B1E 6477 7838 76E9 182E 8151 ITAR license #4933 I've found a solution to Fermat's Last Theorem but I see I've run out of room o
Re: [gentoo-user] How to prevent documentation in /usr/share/doc from being bzip2'ed ?
Ashish Shukla आशीष शुक्ल wrote: Iain Buchanan writes: Ashish Shukla आशीष शुक्ल wrote: Hi all While trying to lookup XCB API documentation ( /usr/share/doc/libxcb/manual/ ), I noticed that it is compressed, now I'm wondering is there anyway to install that documentation in the decompressed form, hmm...? why? less /usr/share/doc/libxcb/manual/blah.doc.bz2 cat /usr/share/doc/libxcb/manual/blah.doc.bz2 | bzip2 -d cp /usr/share/doc/libxcb/manual/blah.doc.bz2 ~/; bzip2 -d ~/blah.doc.bz2 I know how to view and decompress compressed-files, but I don't want to decompress file and but then after decompressing, I'll lose the ability to track the file from portage's database. I still don't understand - if you know how to view a compressed file "without" decompressing it, then what do you want to decompress it for? -- Iain Buchanan "Any excuse will serve a tyrant." -- Aesop
Re: [gentoo-user] How to prevent documentation in /usr/share/doc from being bzip2'ed ?
On Thu, Oct 30, 2008 at 5:40 PM, <[EMAIL PROTECTED]> wrote: > On Fri, Oct 31, 2008 at 08:20:40AM +0930, Iain Buchanan wrote: > > > less /usr/share/doc/libxcb/manual/blah.doc.bz2 > > cat /usr/share/doc/libxcb/manual/blah.doc.bz2 | bzip2 -d > > cp /usr/share/doc/libxcb/manual/blah.doc.bz2 ~/; bzip2 -d ~/blah.doc.bz2 > > and grep? You don't need bzgrep or what everjust bzcat /ab/def/sd/blah.bz2 | grep yay Or if you want to use the cases above, a "| grep yay" should be more than enough...plus you get the colors in the results. It does get a little annoying when you want to use grep for all files in the directory, but nothing a little for loop cannot fix: for i in /path/to/dir/*; do echo $i; bzcat $i | grep yay; done > > > -- >... _._. ._ ._. . _._. ._. ___ .__ ._. . .__. ._ .. ._. > Felix Finch: scarecrow repairman & rocket surgeon / [EMAIL PROTECTED] > GPG = E987 4493 C860 246C 3B1E 6477 7838 76E9 182E 8151 ITAR license > #4933 > I've found a solution to Fermat's Last Theorem but I see I've run out of > room o > >
Re: [gentoo-user] How to prevent documentation in /usr/share/doc from being bzip2'ed ?
On Fri, Oct 31, 2008 at 08:20:40AM +0930, Iain Buchanan wrote: > less /usr/share/doc/libxcb/manual/blah.doc.bz2 > cat /usr/share/doc/libxcb/manual/blah.doc.bz2 | bzip2 -d > cp /usr/share/doc/libxcb/manual/blah.doc.bz2 ~/; bzip2 -d ~/blah.doc.bz2 and grep? -- ... _._. ._ ._. . _._. ._. ___ .__ ._. . .__. ._ .. ._. Felix Finch: scarecrow repairman & rocket surgeon / [EMAIL PROTECTED] GPG = E987 4493 C860 246C 3B1E 6477 7838 76E9 182E 8151 ITAR license #4933 I've found a solution to Fermat's Last Theorem but I see I've run out of room o
Re: [gentoo-user] How to prevent documentation in /usr/share/doc from being bzip2'ed ?
On Thu, Oct 30, 2008 at 07:39:10PM -0400, Eric Martin wrote: > Why not go even easier and use bzcat,bzless,zcat,and zless Because bzgrep and many others haven't been written. -- ... _._. ._ ._. . _._. ._. ___ .__ ._. . .__. ._ .. ._. Felix Finch: scarecrow repairman & rocket surgeon / [EMAIL PROTECTED] GPG = E987 4493 C860 246C 3B1E 6477 7838 76E9 182E 8151 ITAR license #4933 I've found a solution to Fermat's Last Theorem but I see I've run out of room o
Re: [gentoo-user] How to prevent documentation in /usr/share/doc from being bzip2'ed ?
On Thu, 30 Oct 2008 19:39:10 -0400, Eric Martin wrote: > Why not go even easier and use bzcat,bzless,zcat,and zless On HTML documentation? -- Neil Bothwick Bury a lawyer 12 feet under, because deep down they're nice. signature.asc Description: PGP signature
Re: [gentoo-user] How to prevent documentation in /usr/share/doc from being bzip2'ed ?
Albert Hopkins writes: >> , >> | % emerge --info libxcb >> | Portage 2.2_rc12 (default/linux/amd64/2008.0/no-multilib, gcc-4.1.2, >> glibc-2.6.1-r0, 2.6.25-gentoo-r7 x86_64) > [blah] >> Any ideas why PORTAGE_COMPRESS_* aren't set on my box. > Because you haven't set them. Therefore they take the defaults. BTW, > 'emerge --info' doesn't print out every portage variable, only the > "interesting" ones (e.g. ones useful for submitting bug reports). >> BtW, how do I see >> what PORTAGE_COMPRESS_EXCLUDE_SUFFIXES is set to. > # cat /etc/make.conf /etc/make.globals /etc/make.profile/make.defaults \ >|grep -m 1 ^PORTAGE_COMPRESS_EXCLUDE_SUFFIXES Yes, PORTAGE_COMPRESS_EXCLUDE_SUFFIXES is set to that default. Thanks for mentioning this. Anyways, re-emerging libxcb fixes the issue for me. Maybe it is some bug in old portage version (which I used when I emerged libxcb), as I recently upgraded to 2.2_rc12 to have KDE 4.1.2. Thanks Ashish Shukla -- () ascii ribbon campaign - against HTML e-mail /\ www.asciiribbon.org - against proprietary attachments ·-- ·- ·--- ·- ···- ·- ·--·-· --· -- ·- ·· ·-·· ·-·-·- -·-· --- -- % dig +short cname cdac.in @::1 ms.gov.in pgpJAcnmLCYsq.pgp Description: PGP signature
Re: [gentoo-user] How to prevent documentation in /usr/share/doc from being bzip2'ed ?
Iain Buchanan writes: > Ashish Shukla आशीष शुक्ल wrote: >> Hi all >> >> While trying to lookup XCB API documentation ( >> /usr/share/doc/libxcb/manual/ ), I noticed that it is compressed, now >> I'm wondering is there anyway to install that documentation in the >> decompressed form, hmm...? > why? > less /usr/share/doc/libxcb/manual/blah.doc.bz2 > cat /usr/share/doc/libxcb/manual/blah.doc.bz2 | bzip2 -d > cp /usr/share/doc/libxcb/manual/blah.doc.bz2 ~/; bzip2 -d ~/blah.doc.bz2 I know how to view and decompress compressed-files, but I don't want to decompress file and but then after decompressing, I'll lose the ability to track the file from portage's database. Ashish -- () ascii ribbon campaign - against HTML e-mail /\ www.asciiribbon.org - against proprietary attachments ·-- ·- ·--- ·- ···- ·- ·--·-· --· -- ·- ·· ·-·· ·-·-·- -·-· --- -- % dig +short cname cdac.in @::1 ms.gov.in pgpKG8sOfaU4y.pgp Description: PGP signature
Re: [gentoo-user] How to prevent documentation in /usr/share/doc from being bzip2'ed ?
Why not go even easier and use bzcat,bzless,zcat,and zless On 10/30/08, Albert Hopkins <[EMAIL PROTECTED]> wrote: > >> , >> | % emerge --info libxcb >> | Portage 2.2_rc12 (default/linux/amd64/2008.0/no-multilib, gcc-4.1.2, >> glibc-2.6.1-r0, 2.6.25-gentoo-r7 x86_64) > [blah] > >> Any ideas why PORTAGE_COMPRESS_* aren't set on my box. > > Because you haven't set them. Therefore they take the defaults. BTW, > 'emerge --info' doesn't print out every portage variable, only the > "interesting" ones (e.g. ones useful for submitting bug reports). > >> BtW, how do I see >> what PORTAGE_COMPRESS_EXCLUDE_SUFFIXES is set to. > > # cat /etc/make.conf /etc/make.globals /etc/make.profile/make.defaults \ >|grep -m 1 ^PORTAGE_COMPRESS_EXCLUDE_SUFFIXES > > Also the man page for make.conf lists many common defaults. > > >
Re: [gentoo-user] How to prevent documentation in /usr/share/doc from being bzip2'ed ?
> , > | % emerge --info libxcb > | Portage 2.2_rc12 (default/linux/amd64/2008.0/no-multilib, gcc-4.1.2, > glibc-2.6.1-r0, 2.6.25-gentoo-r7 x86_64) [blah] > Any ideas why PORTAGE_COMPRESS_* aren't set on my box. Because you haven't set them. Therefore they take the defaults. BTW, 'emerge --info' doesn't print out every portage variable, only the "interesting" ones (e.g. ones useful for submitting bug reports). > BtW, how do I see > what PORTAGE_COMPRESS_EXCLUDE_SUFFIXES is set to. # cat /etc/make.conf /etc/make.globals /etc/make.profile/make.defaults \ |grep -m 1 ^PORTAGE_COMPRESS_EXCLUDE_SUFFIXES Also the man page for make.conf lists many common defaults.
Re: [gentoo-user] How to prevent documentation in /usr/share/doc from being bzip2'ed ?
Ashish Shukla आशीष शुक्ल wrote: Hi all While trying to lookup XCB API documentation ( /usr/share/doc/libxcb/manual/ ), I noticed that it is compressed, now I'm wondering is there anyway to install that documentation in the decompressed form, hmm...? why? less /usr/share/doc/libxcb/manual/blah.doc.bz2 cat /usr/share/doc/libxcb/manual/blah.doc.bz2 | bzip2 -d cp /usr/share/doc/libxcb/manual/blah.doc.bz2 ~/; bzip2 -d ~/blah.doc.bz2 -- Iain Buchanan One thing they don't tell you about doing experimental physics is that sometimes you must work under adverse conditions... like a state of sheer terror. -- W.K. Hartmann
Re: [gentoo-user] How to prevent documentation in /usr/share/doc from being bzip2'ed ?
Thanks Albert and Daniel for the replies. Daniel Pielmeier writes: > 2008/10/30 Ashish Shukla आशीष शुक्ल <[EMAIL PROTECTED]>: >> While trying to lookup XCB API documentation ( >> /usr/share/doc/libxcb/manual/ ), I noticed that it is compressed, now >> I'm wondering is there anyway to install that documentation in the >> decompressed form, hmm...? > I tink there is the PORTAGE_COMPRESS variable. > Set PORTAGE_COMPRESS="" in make.conf and portage will not compress > documentation. > There is also PORTAGE_COMPRESS_EXCLUDE_SUFFIXES which you can extend > to your needs. Currently it defaults to > PORTAGE_COMPRESS_EXCLUDE_SUFFIXES="css gif htm[l]? jp[e]?g js pdf png" , | % emerge --info libxcb | Portage 2.2_rc12 (default/linux/amd64/2008.0/no-multilib, gcc-4.1.2, glibc-2.6.1-r0, 2.6.25-gentoo-r7 x86_64) | = | System Settings | = | System uname: Linux-2.6.25-gentoo-r7-x86_64-Intel-R-_Pentium-R-_4_CPU_3.00GHz-with-glibc2.2.5 | Timestamp of tree: Tue, 28 Oct 2008 16:45:01 + | distcc 2.18.3 x86_64-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled] | ccache version 2.4 [enabled] | app-shells/bash: 3.2_p33 | dev-java/java-config: 1.3.7, 2.1.6 | dev-lang/python: 2.4.4-r13, 2.5.2-r7 | dev-python/pycrypto: 2.0.1-r6 | dev-util/ccache: 2.4-r7 | dev-util/cmake: 2.6.2 | sys-apps/baselayout: 2.0.0 | sys-apps/openrc: 0.3.0-r1 | sys-apps/sandbox:1.2.18.1-r2 | sys-devel/autoconf: 2.13, 2.61-r2 | sys-devel/automake: 1.5, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10.1-r1 | sys-devel/binutils: 2.18-r3 | sys-devel/gcc-config: 1.4.0-r4 | sys-devel/libtool: 1.5.26 | virtual/os-headers: 2.6.23-r3 | ACCEPT_KEYWORDS="amd64" | CBUILD="x86_64-pc-linux-gnu" | CFLAGS="-O2 -pipe -fforce-addr -mtune=nocona -march=nocona -mmmx -msse2 -msse3 -ggdb" | CHOST="x86_64-pc-linux-gnu" | CONFIG_PROTECT="/etc /opt/openjms/config /usr/share/config /var/bind" | CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d | /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release | /etc/revdep-rebuild /etc/terminfo /etc/texmf/web2c /etc/udev/rules.d" | CXXFLAGS="-O2 -pipe -fforce-addr -mtune=nocona -march=nocona -mmmx -msse2 -msse3 -ggdb" | DISTDIR="/usr/portage/distfiles" | FEATURES="buildpkg ccache collision-protect distlocks fakeroot | fixpackages metadata-transfer parallel-fetch preserve-libs protect-owned | sandbox sfperms splitdebug strict unmerge-orphans userfetch userpriv | usersandbox" | GENTOO_MIRRORS="http://mirror.cambrium.nl/pub/os/linux/gentoo/ | ftp://mirror.cambrium.nl/pub/os/linux/gentoo/ http://mirror.gentoo.no/ | ftp://mirror.bih.net.ba/gentoo/ ftp://mirrors.ludost.net/gentoo/"; | LANG="en_US.UTF-8" | LC_ALL="en_US.UTF-8" | LDFLAGS="-Wl,--hash-style,both" | LINGUAS="hi en en_US" | MAKEOPTS="-j3" | PKGDIR="/usr/portage/packages" | PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times | --compress --force --whole-file --delete --stats --timeout=180 | --exclude=/distfiles --exclude=/local --exclude=/packages" | PORTAGE_TMPDIR="/var/tmp" | PORTDIR="/usr/portage" | PORTDIR_OVERLAY="/usr/portage/local/layman/perl-experimental | /usr/portage/local/layman/sunrise /usr/portage/local/layman/emacs | /usr/portage/local/layman/xemacs /usr/portage/local/layman/haskell | /usr/local/portage" | SYNC="rsync://rsync.asia.gentoo.org/gentoo-portage" | USE="X a52 aac accessibility acl acpi alsa amd64 ao artworkextra | audiofile avahi bash-completion berkdb bluetooth branding bzip2 cairo | caps cdr cli cracklib crypt cscope cups curl dbus dirac djvu doc dri dvd | dvdr emacs exif ffmpeg flac fontconfig fortran gdbm gif gnome | gnome-keyring gpm gstreamer gtk gtkhtml guile hal hashstyle htmlhandbook | iconv idn imlib ipv6 isdnlog jingle jpeg jpeg2k kde latex lcms ldap | libcaca libffi libnotify libsamplerate loop-aes lzma mad maildir midi | mmx mp3 mpeg mudflap musepack mysql ncurses networkmanager nls nntp nptl | nptlonly offensive ogg opengl openmp pam pango pcre perl plasma png | policykit postgres pppd pth pulseaudio python qt4 readline reflection | ruby schroedinger sdl session sndfile speex spell spl sqlite3 sse sse2 | ssl startup-notification svg sysfs tcl tcpd tetex tex theora tiff | truetype unicode urandom vim-syntax vnc vorbis xattr xcb xcomposite xfce | xft xinetd xorg xscreensaver xulrunner xv zeroconf zlib" | ALSA_CARDS="hda-intel ymfpci" ALSA_PCM_PLUGINS="adpcm alaw asym copy | dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat | linear meter mmap_emul mulaw multi null plug rate route share shm | softvol" APACHE2_MODULES="actions alias auth_basic authn_alias | authn_anon authn_dbm authn_default authn_file authz_dbm authz_default | authz_groupfile authz_host authz_owner authz_user autoindex cache dav | dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache | filter headers include i
Re: [gentoo-user] How to prevent documentation in /usr/share/doc from being bzip2'ed ?
2008/10/30 Ashish Shukla आशीष शुक्ल <[EMAIL PROTECTED]>: > While trying to lookup XCB API documentation ( > /usr/share/doc/libxcb/manual/ ), I noticed that it is compressed, now > I'm wondering is there anyway to install that documentation in the > decompressed form, hmm...? I tink there is the PORTAGE_COMPRESS variable. Set PORTAGE_COMPRESS="" in make.conf and portage will not compress documentation. There is also PORTAGE_COMPRESS_EXCLUDE_SUFFIXES which you can extend to your needs. Currently it defaults to PORTAGE_COMPRESS_EXCLUDE_SUFFIXES="css gif htm[l]? jp[e]?g js pdf png" -- Regards, Daniel
Re: [gentoo-user] How to prevent documentation in /usr/share/doc from being bzip2'ed ?
On Thu, 2008-10-30 at 19:13 +0530, Ashish Shukla आशीष शुक्ल wrote: > While trying to lookup XCB API documentation ( > /usr/share/doc/libxcb/manual/ ), I noticed that it is compressed, now > I'm wondering is there anyway to install that documentation in the > decompressed form, hmm...? See the PORTAGE_COMPRESS* variables in the make.conf man page. I typically use PORTAGE_COMPRESS="" HTH, -a
[gentoo-user] How to prevent documentation in /usr/share/doc from being bzip2'ed ?
Hi all While trying to lookup XCB API documentation ( /usr/share/doc/libxcb/manual/ ), I noticed that it is compressed, now I'm wondering is there anyway to install that documentation in the decompressed form, hmm...? Thanks Ashish Shukla -- () ascii ribbon campaign - against HTML e-mail /\ www.asciiribbon.org - against proprietary attachments ·-- ·- ·--- ·- ···- ·- ·--·-· --· -- ·- ·· ·-·· ·-·-·- -·-· --- -- % dig +short cname cdac.in @::1 ms.gov.in pgpwJnkMAmBdN.pgp Description: PGP signature