On 11:36 12 Mar 2003, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:
| I found the answer to my own question.
|
| Excerpt of my message (sent 11 March 2003):
| > Since I upgraded to RH 8.0, perldoc is acting weird. You see, e.g.,
| > the $year element is ESC[4mnotESC[24m simply the last two digits
| > (letters 'ESC' in reverse video), where "not" should just be bold.
|
|
| The reason is that 'less' has changed slightly in 8.0 (wrt. 7.1).
| >From the 'man less' page:
|
| -r or --raw-control-chars
| Causes "raw" control characters to be displayed. The default is
| to display control characters using the caret notation; for
| example, a control-A (octal 001) is displayed as "^A".
| [...]
| -R or --RAW-CONTROL-CHARS
| Like -r, but tries to keep track of the screen appearance where
| possible.
|
| And I had my environment variable PAGER set to 'less'. Changing it to
| 'less -R' (--RAW-CONTROL-CHARS) fixes perldoc.
Another way is to leave pager as "less" and set the $LESS environment variable.
My setting says:
LESS='-snXdi -j4 -Ms -f'
Cheers,
--
Cameron Simpson, DoD#743 [EMAIL PROTECTED] http://www.zip.com.au/~cs/
I don't waste my money; I invest it in ventures with high negative returns.
--
Psyche-list mailing list
[EMAIL PROTECTED]
https://listman.redhat.com/mailman/listinfo/psyche-list