Bug#2072: MANOPT not parsed well?

1995-12-31 Thread Susan G. Kleinmann
Package: man Version: 2.3.10-6 I can't seem to find a way to set MANOPT to change the default pager for displaying man pages to less -s. I want to do this: MANOPT='-P less -s' But man apparently doesn't parse the double quotes, and treats the -s as a ne w man option. The man page for

Bug#2072: MANOPT not parsed well?

1995-12-31 Thread Bruce Perens
A work-around would be to construct a shell program that evaluated to less -c and pass the name of that program in MANOPT. An alias won't always be expanded where you want it to be - it depends on how the program executes a command line - it has the option to not use the shell to do that at all.

Bug#2072: MANOPT not parsed well?

1995-12-31 Thread Siggy Brentrup
Bruce == Bruce Perens [EMAIL PROTECTED] writes: [unnecessary kludge deleted] Bruce By chance, does man evaluate the $PAGER variable? I don't Bruce have man working at the moment on my own system due to an Bruce ELF library conflict. You're right, man evaluates $PAGER (I'm using

Bug#2072: MANOPT not parsed well?

1995-12-31 Thread Susan G. Kleinmann
less(1) shows that the program takes options from the $LESS. Thanks for the hint. Setting LESS to -c makes less work the way I wanted within MH. (As always it pays to RTM, just couldn't resist :) Yes, you're right. But the problem (and I think this is an interesting problem) is to figure