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

Re: Doc viewer

Incoming from richard lyons:
> On Tuesday 01 June 2004 17:37, Bas Zoetekouw wrote:
> > Paul Scott wrote in linux.debian.user:
> > > > Maybe a silly question but nearly all the Debian docs in the
> > > > /usr/share/doc tree are in gz format. Is there a viewer that
> > >
> > >  zless
> >
> > Or simply put "eval `/usr/bin/lessfile`" in ~/.bashrc and less will
> > be able to read .gz files just fine (and a lot of others too).
> That's very neat.  What a nice little tool.  But, on my system, 
> ~/.bashrc and ~/.bash_profile are not read unless I 'source' them 
> manually.  I've never understood why.  

I always wondered that too, but the chickens are beginning to come
home to roost.  Someone explained the fix for this yesterday in the
"KDE and PATH" (or somesuch) thread.  See lists.debian.org

> -bash: eval export LESSOPEN="/usr/bin/lessfile %s";
> export LESSCLOSE="/usr/bin/lessfile %s %s";: No such file or directory

(0) keeling /home/keeling_ file `which lessfile`
/usr/bin/lessfile: symbolic link to lesspipe
(0) keeling /home/keeling_ file `which lesspipe`
/usr/bin/lesspipe: Bourne shell script text executable
(0) keeling /home/keeling_ dpkg -S lesspipe
less: /usr/share/man/man1/lesspipe.1.gz
less: /usr/bin/lesspipe

This is on Woody/stable 3.0r2

Any technology distinguishable from magic is insufficiently advanced.
(*)               http://www.spots.ab.ca/~keeling 
- -

Reply to: