Re: About extra features of less

2004-07-08 Thread Andreas Janssen
Hello * Tong* (<[EMAIL PROTECTED]>) wrote: > I don't know how they did it, but when I was using RedHat9, I can > use less to view directories, .gz files, and even .zip files, etc. > I can't do it now in Debian. > > Anybody know how they did that? No, but on Debian systems there are some preconf

Re: About extra features of less

2004-07-08 Thread Steve Lamb
Thomas Adam wrote: > Change it then. :P Those that use Zsh (I'm one of them) should know how > to, since they've had more insight to change their default $SHELL Bah, just tweakin' your nose on the presumption of bash. ;P -- Steve C. Lamb | I'm your priest, I'm your shrink,

Re: About extra features of less

2004-07-08 Thread Thomas Adam
--- Steve Lamb <[EMAIL PROTECTED]> wrote: > Thomas Adam wrote: > > add: > > > eval $(lesspipe) to ~/.bash_profile > > Won't do much here. Darn that pesky zsh edging out bash. :P Change it then. :P Those that use Zsh (I'm one of them) should know how to, since they've had more insight to c

Re: About extra features of less

2004-07-08 Thread Steve Lamb
Thomas Adam wrote: > add: > eval $(lesspipe) to ~/.bash_profile Won't do much here. Darn that pesky zsh edging out bash. :P -- Steve C. Lamb | I'm your priest, I'm your shrink, I'm your PGP Key: 8B6E99C5 | main connection to the switchboard of souls.

Re: About extra features of less

2004-07-08 Thread Thomas Adam
--- * Tong* <[EMAIL PROTECTED]> wrote: > Hi, > > I don't know how they did it, but when I was using RedHat9, I can > use less to view directories, .gz files, and even .zip files, etc. > I can't do it now in Debian. > > Anybody know how they did that? add: eval $(lesspipe) to ~/.bash_profile

Re: About extra features of less

2004-07-08 Thread Steve Lamb
* Tong* wrote: > Anybody know how they did that? Same way that zless/zgrep/et al work... [EMAIL PROTECTED]:~} cat /bin/zless #!/bin/sh PATH="/usr/bin:$PATH"; export PATH LESSOPEN="|gzip -cdfq %s"; export LESSOPEN exec less "$@" -- Steve C. Lamb | I'm your priest, I'm your

Re: About extra features of less

2004-07-08 Thread Gregory Seidman
On Thu, Jul 08, 2004 at 04:22:19PM -0400, * Tong* wrote: } I don't know how they did it, but when I was using RedHat9, I can } use less to view directories, .gz files, and even .zip files, etc. } I can't do it now in Debian. } } Anybody know how they did that? See the documentation of the LESS

Re: About extra features of less

2004-07-08 Thread Martin Dickopp
* Tong* <[EMAIL PROTECTED]> writes: > I don't know how they did it, but when I was using RedHat9, I can > use less to view directories, .gz files, and even .zip files, etc. > I can't do it now in Debian. Put the line eval `lesspipe` in your shell startup script (~/.profile). Martin --

About extra features of less

2004-07-08 Thread * Tong*
Hi, I don't know how they did it, but when I was using RedHat9, I can use less to view directories, .gz files, and even .zip files, etc. I can't do it now in Debian. Anybody know how they did that? Thanks -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Tr