[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Mutt manual.txt.gz strange escapes



Once upon a time Matthew Weier O'Phinney said...
> 
> I just use 'zless /usr/share/doc/mutt/manual.txt.gz'. For 'less', I've
> used the traditional less tool as well as the less.sh VIM script; both
> have worked for me.

Instead of 'zless ...', you can put "eval $(lesspipe)" in your shell rc
file, and then you can use less on a variety of files without any
special invocation.

Try it at the shell prompt:

$ eval $(lesspipe)
$ less -R /usr/share/doc/mutt/manual.txt.gz

[BTW. less -R solves the ESC char problem]

Read /usr/share/doc/less/LESSOPEN for more details.



Reply to: