Re: default ungziped /usr/doc/*/* ?
Not good. If the html is hacked so that links work while it is compressed, then when someone UNcompresses it, the links will break. This would certainly be a surprising effect of unzpping html files. Then don't do that! :-) My point is that files should work as installed by dpkg. If you uncompress them, then you're on your own wrt upgrading, package purging, and yes, even wrt the package working correctly. There are lots of _surprising effects_ after unzipping packaged files. BOA transparently looks for a gzipped file if it cannot find an uncompressed version of a document. If other web servers don't do this it would be a good idea to add this feature and enable it by default. Please do not insert links to compressed html files into a document. I've disabled Navigator's encoding filters, since I don't want Navigator to decompress files and make it impossible to verify signatures and checksums.
Re: default ungziped /usr/doc/*/* ?
* OhkumaTadayoshi [EMAIL PROTECTED] writes: Alisdair McDiarmid wrote: Do you know the way to do this with emacs? i don't, no; sorry. have a look at http://www.dotfiles.com/ though, there might be some configuration files there to do so. I have found that crypt++el package do that. crypt++.el helps much in reading zipped files, but there is even a way to grep through files in XEmacs (sorry, don´t know about FSF Emacs, but it´ll have a similar command): M-x igrep-find. This gives you a buffer with all the found matches, and selecting a line there will open that file for you (possibly with help of crypt.el) and display it. For me, igrep-find actually does a system call like that (all on one line:) find /usr/doc/wvdial -type d \( -name SCCS -o -name RCS \) -prune -o \( -type f -o -type l \) -name *.gz -print0 | xargs -0 -e zgrep -n 'GNU' /dev/null (I hope the Debian standard installation also yields this call...) Cheers, Colin -- Colin Marquardt [EMAIL PROTECTED]
Re: default ungziped /usr/doc/*/* ?
Steve Lamb wrote: On Sun, 13 Jun 1999 01:13:06 +0900, OhkumaTadayoshi wrote: I still wish to have site policy of installing ungziped documents :-) I don't care to waste a little disk space... find . -name \*.gz | xargs gunzip Of course, if he did this, he shouldn't expect the system to upgrade cleanly anymore, and worse, remocving the packages won't delete the uncompressed files. Peter Galbraith
Re: default ungziped /usr/doc/*/* ?
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Mon, 14 Jun 1999 10:18:35 -0400, Peter S Galbraith wrote: find . -name \*.gz | xargs gunzip Of course, if he did this, he shouldn't expect the system to upgrade cleanly anymore, and worse, remocving the packages won't delete the uncompressed files. Hey, his system, he wants to mangle it instead of learning zless, zmore, zgrep, etc, that's his perogative. I'm only more than happy to help him along. ;) - -- Steve C. Lamb | I'm your priest, I'm your shrink, I'm your ICQ: 5107343 | main connection to the switchboard of souls. - ---+- -BEGIN PGP SIGNATURE- Version: PGPsdk version 1.0 (C) 1997 Pretty Good Privacy, Inc iQA/AwUBN2UPbnpf7K2LbpnFEQKYQwCgipfuInYdS5G3e5QACzbiUpL6Fg0AoM7S 3vnKml1FsAwXqGOQJTyDK7nY =i1yk -END PGP SIGNATURE-
Re: default ungziped /usr/doc/*/* ?
Carl Mummert wrote: I am wondering about way to grep or to view with editor /usr/doc/*/* files. Of course, these files are gziped, according to debian policy. Is there any way to choose to install these docs in ungziped as default? I can ungzip these, but also want to leave these under control of package manager. I am uploading here a small, hackish perl script that, along with some apache configuration changes, will allow you to view the compressed files in http://your-machine/doc as if they were not comrpessed. Very nice, but I urge people to file bug reports against packages that have compressed html files without hacked URLs such that they still work. Peter Galbraith [EMAIL PROTECTED]
Re: default ungziped /usr/doc/*/* ?
Steve Lamb [EMAIL PROTECTED] writes: find . -name \*.gz | xargs gunzip Of course, if he did this, he shouldn't expect the system to upgrade cleanly anymore, and worse, remocving the packages won't delete the uncompressed files. Hey, his system, he wants to mangle it instead of learning zless, zmore, zgrep, etc, that's his perogative. I'm only more than happy to help him along. ;) It would be nice if the package system supported something like this (i.e. would consider both the normal and the gz version as part of the package). Not all formats have zxxx equivalents yet (dvi comes to mind). Jan
Re: default ungziped /usr/doc/*/* ?
I am uploading here a small, hackish perl script that, along with some apache configuration changes, will allow you to view the compressed files in http://your-machine/doc as if they were not comrpessed. Very nice, but I urge people to file bug reports against packages that have compressed html files without hacked URLs such that they still work. Not good. If the html is hacked so that links work while it is compressed, then when someone UNcompresses it, the links will break. This would certainly be a surprising effect of unzpping html files. Carl
Re: default ungziped /usr/doc/*/* ?
Carl Mummert wrote: I am uploading here a small, hackish perl script that, along with some apache configuration changes, will allow you to view the compressed files in http://your-machine/doc as if they were not comrpessed. Very nice, but I urge people to file bug reports against packages that have compressed html files without hacked URLs such that they still work. Not good. If the html is hacked so that links work while it is compressed, then when someone UNcompresses it, the links will break. This would certainly be a surprising effect of unzpping html files. Then don't do that! :-) My point is that files should work as installed by dpkg. If you uncompress them, then you're on your own wrt upgrading, package purging, and yes, even wrt the package working correctly. There are lots of _surprising effects_ after unzipping packaged files. Sometimes html _is_ hacked so that links work when the file is compressed in order to save space on user systems. This should only be done on large HTML documentation packages. AFAIK, not many packages do this, but I have done it myself. Should you file it a bug report on it, the most I'd do is provide a decompressor script to change the URLs so it still worked, with a large disclaimer saying that using it would render the package not upgradable and not removable by dpkg. Peter Galbraith [EMAIL PROTECTED]
Re: default ungziped /usr/doc/*/* ?
Jan Vroonhof wrote: It would be nice if the package system supported something like this (i.e. would consider both the normal and the gz version as part of the package). Not all formats have zxxx equivalents yet (dvi comes to mind). I suggested this on debian-devel in a thread I started on October 1st 1998, with the subejct line: Deleting uncompressed Info/Doc files at upgrades Go look at the archives if you want. I met so much resistance that I'm never bringing this up again on -devel. Peter Galbraith [EMAIL PROTECTED]
Re: default ungziped /usr/doc/*/* ?
*- On 14 Jun, Jan Vroonhof wrote about Re: default ungziped /usr/doc/*/* ? Steve Lamb [EMAIL PROTECTED] writes: find . -name \*.gz | xargs gunzip Of course, if he did this, he shouldn't expect the system to upgrade cleanly anymore, and worse, remocving the packages won't delete the uncompressed files. Hey, his system, he wants to mangle it instead of learning zless, zmore, zgrep, etc, that's his perogative. I'm only more than happy to help him along. ;) It would be nice if the package system supported something like this (i.e. would consider both the normal and the gz version as part of the package). Not all formats have zxxx equivalents yet (dvi comes to mind). Jan This was discussed on debian-devel last October. See http://www.debian.org/Lists-Archives/debian-devel-9810/msg00041.html for the start of the thread. Don't hold your breath on dpkg supporting both compressed and uncompressed files. A quote from Manoj Srivastava [EMAIL PROTECTED] in the thread I think sums up a number of the developers feelings on this. There is no reason ever to uncompress a file (lesspipe and lessopen make it unnecessary). When I uncomress(sic) a file, it is done for a reason, and dpkg had bloody well leave it alone. -- Brian - Mechanical Engineering [EMAIL PROTECTED] Purdue University http://www.ecn.purdue.edu/~servis -
Re: default ungziped /usr/doc/*/* ?
Carl Mummert wrote: I am uploading here a small, hackish perl script that, along with some apache configuration changes, will allow you to view the compressed files in http://your-machine/doc as if they were not comrpessed. Very nice, but I urge people to file bug reports against packages that have compressed html files without hacked URLs such that they still work. Not good. If the html is hacked so that links work while it is compressed, then when someone UNcompresses it, the links will break. This would certainly be a surprising effect of unzpping html files. Then don't do that! :-) My point is that files should work as installed by dpkg. If you uncompress them, then you're on your own wrt upgrading, package purging, and yes, even wrt the package working correctly. There are lots of _surprising effects_ after unzipping packaged files. Sometimes html _is_ hacked so that links work when the file is compressed in order to save space on user systems. This should only be done on large HTML documentation packages. AFAIK, not many packages do this, but I have done it myself. Should you file it a bug report on it, the most I'd do is provide a decompressor script to change the URLs so it still worked, with a large disclaimer saying that using it would render the package not upgradable and not removable by dpkg. teTeX is on area in which the html page does not work because of the gz. format. Where do I have to report that to? Do I understand correctly, that all files in /usr/doc are supposed to be gz? If yes, then rezipping them recursevly should solve the problems with dpkg updateing etc. Thorsten Manegold
Re: default ungziped /usr/doc/*/* ?
Thorsten Manegold wrote: but I urge people to file bug reports against packages that have compressed html files without hacked URLs such that they still work. teTeX is on area in which the html page does not work because of the gz. format. Where do I have to report that to? Find out which package the files belong to: $ dpkg -S /some/file/path/file.html.gz Then file a bug report agaisnt that package by following instructions given at http://www.debian.org/Bugs/Reporting Do I understand correctly, that all files in /usr/doc are supposed to be gz? No. Some are, some are not. On my system 6320 files under /usr/doc are compressed, out of 14946 files. If yes, then rezipping them recursevly should solve the problems with dpkg updateing etc. That would probably make it worse. Peter
Re: default ungziped /usr/doc/*/* ?
J.H.M. Dassen [EMAIL PROTECTED] writes: You can use see from the mime-support package to view compressed/gzipped DVI files. Sigh...A simple xdvi would be a lot nicer. Let me rephrase my wish then: I would if I could get some global option to get the documentation uncompressed. For some reason the /usr/doc hierarchy is where my expectations are most add odds with debian policy. Jan
Re: default ungziped /usr/doc/*/* ?
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Sat, 12 Jun 1999 19:00:56 -0400, Ed Cogburn wrote: Steve Lamb wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Gotta love people who don't know how to delete lines, eh? Geez. On Sat, 12 Jun 1999 22:08:34 +0200, Hartmut Figge wrote: yeah, but why so complicated? mc is just wonderful for things like that. Because mc isn't a pager. :) From original message: I am wondering about way to grep or to view with editor /usr/doc/*/* files. From your message yeah, but why so complicated? He never specified the solution must be a pager, but if it must be a pager, then 'most' can do this just as easily as 'less' does. MC is still my first choice, though. zgrep foo bar.gz seems to be (z)less complicated than mc -c, going down to the file, then esc3/F3 to view it, *then* do a search, in my book. Use the tools that are there, not focus on one. :P - -- Steve C. Lamb | I'm your priest, I'm your shrink, I'm your ICQ: 5107343 | main connection to the switchboard of souls. - ---+- -BEGIN PGP SIGNATURE- Version: PGPsdk version 1.0 (C) 1997 Pretty Good Privacy, Inc iQA/AwUBN2LnGnpf7K2LbpnFEQJsjgCdFcyW759Wq6i+MirmBLIY57o3ZjYAnjbj 5PE7LHCcoEe2fo775ecoRVUR =R1/V -END PGP SIGNATURE-
Re: default ungziped /usr/doc/*/* ?
Steve Lamb wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Sat, 12 Jun 1999 19:00:56 -0400, Ed Cogburn wrote: Steve Lamb wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Gotta love people who don't know how to delete lines, eh? Geez. On Sat, 12 Jun 1999 22:08:34 +0200, Hartmut Figge wrote: yeah, but why so complicated? mc is just wonderful for things like that. Because mc isn't a pager. :) From original message: I am wondering about way to grep or to view with editor /usr/doc/*/* files. From your message yeah, but why so complicated? well, now i _must_ respond. that wasn´t ed´s line, but mine. should i know wright : geez, people who couldn´t read a mail? no, i will not. please, please, be friendly. He never specified the solution must be a pager, but if it must be a pager, then 'most' can do this just as easily as 'less' does. MC is still my first choice, though. zgrep foo bar.gz seems to be (z)less complicated than mc -c, going down to the file, then esc3/F3 to view it, *then* do a search, in my book. Use the tools that are there, not focus on one. :P let´s agree to: different people like different ways. hafi
Re: default ungziped /usr/doc/*/* ?
Thanks so many people for replying me. now I can do most operation :-) thanks. Steve Lamb wrote: I still wish to have site policy of installing ungziped documents :-) I don't care to waste a little disk space... find . -name \*.gz | xargs gunzip uum, I wish to do this under control of package manager... for rpm, by using --excludedocs option, you can install package without documents. although rpm does not have more function than this, I wish dpkg would have this kind of flexbility for site policy. for example: - managing /usr/doc as plain (for simplicity) - managing without /usr/doc (for extremely small disk machine) - managing without /usr/share (in case of using remote file system) -- Tadayoshi Ohkuma [EMAIL PROTECTED] Omoikane Ltd.
default ungziped /usr/doc/*/* ?
Hi, I am wondering about way to grep or to view with editor /usr/doc/*/* files. Of course, these files are gziped, according to debian policy. Is there any way to choose to install these docs in ungziped as default? I can ungzip these, but also want to leave these under control of package manager. Regards. -- Tadayoshi Ohkuma [EMAIL PROTECTED] Omoikane Ltd.
Re: default ungziped /usr/doc/*/* ?
On Sat, Jun 12, 1999 at 11:38:28PM +0900, Tadayoshi Ohkuma wrote: Alisdair McDiarmid wrote: I am wondering about way to grep or to view with editor /usr/doc/*/* files. use zgrep, zmore or zless, or use an editor like vim which can automagically ungzip. Do you know the way to do this with emacs? i don't, no; sorry. have a look at http://www.dotfiles.com/ though, there might be some configuration files there to do so. -- alisdair mcdiarmid [i won't tear again i won't breathe in the shards of what is left]
Re: default ungziped /usr/doc/*/* ?
On Sat, Jun 12, 1999 at 11:01:26PM +0900, OhkumaTadayoshi wrote: Hi, I am wondering about way to grep or to view with editor /usr/doc/*/* files. zgrep zless zmore all work on gzipped files. regards, Jon
Re: default ungziped /usr/doc/*/* ?
Alisdair McDiarmid wrote: Do you know the way to do this with emacs? i don't, no; sorry. have a look at http://www.dotfiles.com/ though, there might be some configuration files there to do so. I have found that crypt++el package do that. Thanks for your advice. I still wish to have site policy of installing ungziped documents :-) I don't care to waste a little disk space... -- Tadayoshi Ohkuma [EMAIL PROTECTED] Omoikane Ltd.
Re: default ungziped /usr/doc/*/* ?
*- On 12 Jun, Jonathan D. Proulx wrote about Re: default ungziped /usr/doc/*/* ? On Sat, Jun 12, 1999 at 11:01:26PM +0900, OhkumaTadayoshi wrote: Hi, I am wondering about way to grep or to view with editor /usr/doc/*/* files. zgrep zless zmore all work on gzipped files. Also read /usr/doc/less/LESSOPEN.gz. Basically just add the following to your shell init script(.profile,.login, etc): eval `/usr/bin/lesspipe` And less by itself will read gzipped and bziped files as well as show contents of tar, deb, arj, rpm and many others as well as info on graphics files, which you can define by editing the /usr/bin/lesspipe. Examples: % less debianlogo-5.jpg debianlogo-5.jpg 65x78 DirectClass 2951b JPEG 1s % less /tmp/hello_1.3-14.3.deb /tmp/hello_1.3-14.3.deb: new debian package, version 2.0. size 18798 bytes: control archive= 636 bytes. 562 bytes,14 lines control 122 bytes, 4 lines * postinst #!/bin/sh 68 bytes, 3 lines * prerm#!/bin/sh Package: hello Version: 1.3-14.3 Architecture: i386 Depends: libc6 Installed-Size: 34 Maintainer: Ian Jackson [EMAIL PROTECTED] Description: The classic greeting, and a good example The GNU hello program produces a familiar, friendly greeting. It allows nonprogrammers to use a classic computer science tool which would otherwise be unavailable to them. . Seriously, though: this is an example of how to do a Debian package. It is the Debian version of the GNU Project's `hello world' program (which is itself an example for the GNU Project). *** Contents: drwxr-xr-x root/root 0 1998-10-04 04:02 ./ drwxr-xr-x root/root 0 1998-10-04 04:02 usr/ drwxr-xr-x root/root 0 1998-10-04 04:02 usr/doc/ drwxr-xr-x root/root 0 1998-10-04 04:02 usr/doc/hello/ -rw-r--r-- root/root 2427 1998-10-04 04:02 usr/doc/hello/copyright -rw-r--r-- root/root 2295 1998-10-04 04:02 usr/doc/hello/changelog.gz -rw-r--r-- root/root 1827 1998-10-04 04:02 usr/doc/hello/changelog.Debian.gz drwxr-xr-x root/root 0 1998-10-04 04:02 usr/man/ drwxr-xr-x root/root 0 1998-10-04 04:02 usr/man/man1/ -rw-r--r-- root/root 596 1998-10-04 04:02 usr/man/man1/hello.1.gz drwxr-xr-x root/root 0 1998-10-04 04:02 usr/bin/ -rwxr-xr-x root/root 5000 1998-10-04 04:02 usr/bin/hello drwxr-xr-x root/root 0 1998-10-04 04:02 usr/info/ -rw-r--r-- root/root 8779 1998-10-04 04:02 usr/info/hello.info.gz Cool huh? -- Brian - Mechanical Engineering [EMAIL PROTECTED] Purdue University http://www.ecn.purdue.edu/~servis -
Re: default ungziped /usr/doc/*/* ?
I am wondering about way to grep or to view with editor /usr/doc/*/* files. zgrep zless zmore all work on gzipped files. lynx will also open gzipped html pages, but currently is not bright enough to look for gzipped pages as link destinations. carl
Re: default ungziped /usr/doc/*/* ?
I am wondering about way to grep or to view with editor /usr/doc/*/* files. Of course, these files are gziped, according to debian policy. Is there any way to choose to install these docs in ungziped as default? I can ungzip these, but also want to leave these under control of package manager. I am uploading here a small, hackish perl script that, along with some apache configuration changes, will allow you to view the compressed files in http://your-machine/doc as if they were not comrpessed. This issue was a real annoyance to me, which is why I had written this. Note that you HAVE to use the webserver for my hack to work - you cannot cd to the directory and run lynx on the inidividual file. There are two issues that this resolves: 1) when you attempt to fetch a compressed html or text file, this will uncompress the file, drunkenly guess the content-type, and send it to your browser. 2) When you click on a link, the browser requests a .html file which doesn't exist. So you configure apache to send such errors to this script, which attempts to correct for them. I am able to browse several compresses files, and click on links to move between them, on my local machine, with the browser unaware that the files are compressed. This is all a small hack, don't take it too seriously or expect it to work all the time. Use at your own risk. Steps: 1) as root, edit /etc/apache/httpd.conf and uncomment the following line: LoadModule action_module /usr/lib/apache/1.3/mod_actions.so 2) as root, edit /etc/apache/access.conf, and make your Directory /usr/doc look like this: Directory /usr/doc Options Indexes FollowSymLinks AllowOverride None order allow,deny allow from all Action doc /cgi-bin/doc AddHandler doc .gz AddHandler doc .Z ErrorDocument 404 /cgi-bin/doc /Directory 3) now, put the following script into /usr/lib/cgi-bin/doc and chmod it to 755. NOTE: While I hope that this script is reasonably secure, I can't make any promises. Use it at your own risk, or better yet have someone knowledgable read over it and give you their opinion. --begin /usr/lib/cgi-bin/doc #!/usr/bin/perl # A small hack by Carl Mummert [EMAIL PROTECTED] to # auto-gunzip compressed html files in /usr/doc # # I release this to the public domain; # do whatever you want with it. #damn buffering select STDOUT; $| = 1; # the filename comes in different vars # depending on whether this is a # 404 or not if ( ! defined $ENV{'PATH_TRANSLATED'} ) { if ( defined $ENV{'REDIRECT_URL'} ) { $path = $ENV{'REDIRECT_URL'}; } else { print content-type: text/plain\n\n\n; print internal error, sorry.\n; exit 0; } } else { $path = $ENV{'PATH_TRANSLATED'}; } # silly attempt to remove '..' from path $path =~ s/\.\.//g; # kill tag names from filenames ($path, $rest) = split /#/, $path, 2; #ensure that we aren't trying to go somewhere else... if ( $path !~ m!^/usr/doc! ) #uncompress looks like this { if ( $path =~ m!^/doc! ) # 404 looks like this { $path = /usr$path; } else { print content-type: text/plain\n\n; print Error: invalid location $path\n; exit 0; } } # is this a compressed file being fetched as if it's uncompressed? if ( (! -r $path) ( -r $path.gz) ) { $path = $path.gz; } if (! -r $path ) { print content-type: text/plain\n\n\n; print Error: cannot read $path\n; } #drunkenly guess content-type if ( $path =~ /html?\.((gz)|z)$/i ) { print content-type: text/html\n\n\n; } else { print content-type: text/plain\n\n\n; } print !-- Uncompressed from $path -- \n; #hopefully gzip is secure... exec /bin/gzip, -dc, $path; --end /usr/lib/cgi-bin.doc
Re: default ungziped /usr/doc/*/* ?
Jonathan D. Proulx wrote: On Sat, Jun 12, 1999 at 11:01:26PM +0900, OhkumaTadayoshi wrote: Hi, I am wondering about way to grep or to view with editor /usr/doc/*/* files. zgrep zless zmore all work on gzipped files. yeah, but why so complicated? mc is just wonderful for things like that. hafi
Re: default ungziped /usr/doc/*/* ?
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Sun, 13 Jun 1999 01:13:06 +0900, OhkumaTadayoshi wrote: I still wish to have site policy of installing ungziped documents :-) I don't care to waste a little disk space... find . -name \*.gz | xargs gunzip - -- Steve C. Lamb | I'm your priest, I'm your shrink, I'm your ICQ: 5107343 | main connection to the switchboard of souls. - ---+- -BEGIN PGP SIGNATURE- Version: PGPsdk version 1.0 (C) 1997 Pretty Good Privacy, Inc iQA/AwUBN2LLjHpf7K2LbpnFEQIhZQCgpT/xl2MzNrjdEn+Abh3LN4SHZtcAoJdz WEX+3UEqbbNlihhwoebsA9Md =3rQ5 -END PGP SIGNATURE-
Re: default ungziped /usr/doc/*/* ?
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Sat, 12 Jun 1999 22:08:34 +0200, Hartmut Figge wrote: yeah, but why so complicated? mc is just wonderful for things like that. Because mc isn't a pager. :) - -- Steve C. Lamb | I'm your priest, I'm your shrink, I'm your ICQ: 5107343 | main connection to the switchboard of souls. - ---+- -BEGIN PGP SIGNATURE- Version: PGPsdk version 1.0 (C) 1997 Pretty Good Privacy, Inc iQA/AwUBN2LL23pf7K2LbpnFEQJN1wCg8qM39ASE2XOR53ec66ckWHNi+IoAoMYI k0LouxN8djkKjhFjCIiz8M2I =Nmym -END PGP SIGNATURE-
Re: default ungziped /usr/doc/*/* ?
On Sat, Jun 12, 1999 at 04:05:39PM -0400, Carl Mummert wrote: I am uploading here a small, hackish perl script that, along with some apache configuration changes, will allow you to view the compressed files in http://your-machine/doc as if they were not comrpessed. There is a debian package called dwww which provides this capablility (not positive about the links to *.html.gz) plus access to man pages, info pages, and HOWTOs. It also provides a search feature. regards, Jon
Re: default ungziped /usr/doc/*/* ?
*- On 12 Jun, Carl Mummert wrote about Re: default ungziped /usr/doc/*/* ? I am wondering about way to grep or to view with editor /usr/doc/*/* files. Of course, these files are gziped, according to debian policy. Is there any way to choose to install these docs in ungziped as default? I can ungzip these, but also want to leave these under control of package manager. I am uploading here a small, hackish perl script that, along with some apache configuration changes, will allow you to view the compressed files in http://your-machine/doc as if they were not comrpessed. The dwww package already does all this and more. Check it out. Package: dwww Status: install ok installed Priority: optional Section: doc Installed-Size: 169 Maintainer: Jim Pick [EMAIL PROTECTED] Version: 1.4.3.4-0.2 Depends: httpd, man, perl, libc6 Recommends: info2www, menu (= 0.11) Suggests: lynx Description: Read all on-line documentation via WWW dwww lets you read all install on-line documentation via a local WWW server. When possible, it converts the documentation to HTML. You need both a WWW server and a WWW browser. -- Brian - Mechanical Engineering [EMAIL PROTECTED] Purdue University http://www.ecn.purdue.edu/~servis -
Re: default ungziped /usr/doc/*/* ?
Steve Lamb wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Sat, 12 Jun 1999 22:08:34 +0200, Hartmut Figge wrote: yeah, but why so complicated? mc is just wonderful for things like that. Because mc isn't a pager. :) From original message: I am wondering about way to grep or to view with editor /usr/doc/*/* files. He never specified the solution must be a pager, but if it must be a pager, then 'most' can do this just as easily as 'less' does. MC is still my first choice, though. -- Ed C.