On Tuesday, March 11, 2003 15:07, Michael Wardle wrote:
> I recently installed Debian on a test box, and one of the neat things I
> noticed was that when viewing a manual page with less, less's prompt looked
> something like:
> "Manual page tar(1) Line 1/20"
>
> While on Red Hat, you're lucky if you get something like:
> "Line 1/20"
>
> Does anybody know how this is achieved?

A highly edited (both lines contain the entire user environment) ps ewf 
listing shows something like:
-----
man tar
 \_ /usr/bin/pager -s PWD=/usr/share/man LESS=-Pm\:\$ix8mPm Manual page tar(1) 
?ltline %lt?L/%L.:byte %bB?s/%s..?e (END):?pB %pB\%..$ LESSCHARSET=latin1
-----

So it looks like Debian has actually passed the manual page name to less, 
something that would've been achieved in man rather than less.

-- 
Michael Wardle
Adacel Technologies




-- 
redhat-list mailing list
unsubscribe mailto:[EMAIL PROTECTED]
https://listman.redhat.com/mailman/listinfo/redhat-list

Reply via email to