Re: Bug#8111: less package doesn't include LESSOPEN support (was Re: Warning!! PAGER=zless)

1997-03-18 Thread Chris Fearnley
'Jason Gunthorpe wrote:' > >On Mon, 17 Mar 1997, Chris Fearnley wrote: > >> 'Craig Sanders wrote:' >> into less. Another bug in your script is that it doesn't support >> uncompressing multiple files and saving marks in each of them and >> hoping back and forth easily. Maybe someone can merge your

Re: Bug#8111: less package doesn't include LESSOPEN support (was Re: Warning!! PAGER=zless)

1997-03-18 Thread Craig Sanders
On Mon, 17 Mar 1997, Chris Fearnley wrote: > > Note that the order of the case statements is important...e.g. if > > you don't have 'tar' before 'gz' then the gz line will "catch" > > .tar.gz files and you wont get a listing. > > I'm not sure about this design. The "design", if i recall correctl

Re: Bug#8111: less package doesn't include LESSOPEN support (was Re: Warning!! PAGER=zless)

1997-03-18 Thread Jason Gunthorpe
On Mon, 17 Mar 1997, Chris Fearnley wrote: > 'Craig Sanders wrote:' > > > >Package: less > >Version: 321-2 > I'm not sure about this design. There could exist gzip files that > don't have .gz endings and so on. I think a better approach is to use > file(1) (and gzip?) to do this. And I someti

Re: Bug#8111: less package doesn't include LESSOPEN support (was Re: Warning!! PAGER=zless)

1997-03-18 Thread Chris Fearnley
'Craig Sanders wrote:' > >Package: less >Version: 321-2 > >1. set the environment variable LESSOPEN in your ~/.bashrc or in >/etc/profile (modify as required if you use csh or zsh or something >else). > >export LESSOPEN="|lesspipe.sh %s" > > >2. create a shell script called lessp

Re: Bug#8111: less package doesn't include LESSOPEN support (was Re: Warning!! PAGER=zless)

1997-03-17 Thread Fabrizio Polacco
Craig Sanders wrote: > > 2. create a shell script called lesspipe.sh in /usr/local/bin. > ...[short and rich example]... > this can be extended to cover many more file types. > I agree. As a suggestion for including in the less package (maybe in example) I attach my /usr/bin/lesspipe.sh, wh

less package doesn't include LESSOPEN support (was Re: Warning!! PAGER=zless)

1997-03-16 Thread Craig Sanders
Package: less Version: 321-2 (bcc-ed to [EMAIL PROTECTED]) On Mon, 17 Mar 1997, Park Chu Yeon wrote: > When 'PAGER=zless', system will not work properly, which seems to be a > bug of 'zless'. why use zless for your PAGER when less can automatically de-compress files before displaying them? t

Warning!! PAGER=zless

1997-03-16 Thread Park Chu Yeon
I experienced serious bug. (not bug?) When 'PAGER=zless', system will not work properly, which seems to be a bug of 'zless'. 'root' can access any task, but ordinary users can't access files related to 'zless' such *.gz etc. When they is apt to access them, CPU load is more and more higher, final