Red Hat man pages and escape sequences
Tom Buskey
tom at buskey.name
Mon Feb 20 08:23:01 EST 2006
On my Fedora system...
$ echo $LANG
en_US.UTF-8
$ echo $PAGER
/usr/bin/less
They display ok with bolding in a plain xterm.
Strip escapes out:
man <page> | col -b | $PAGER
On 2/19/06, Ben Scott <dragonhawk at gmail.com> wrote:
>
> What's the fix for when Red Hat derived systems (in the current
> case, my Fedora Core 4 desktop) display crap in man pages?
>
> This typically manifests as a highlighted printed representation of
> non-printable escape codes, and/or non-English characters, where one
> would normally expect dashes, quotes, and the like.
>
> This smells like a Unicode issue to me.
>
> I know I've seen the fix for this before, but I can't remember
> where, and Google just finds a lot of discussion and bitching, and in
> this case, I just want the damn thing to work.
>
> Tried KDE konsole, GNOME gnome-terminal, xterm -- all fail in some
> way. Tried setting LANG=C and unsetting LANG, no change. Tried
> cursing loudly; didn't help, but made me feel a little better.
>
> -- Ben "When I was young, we only had 127 characters, and we liked it
> that way" Scott
> _______________________________________________
> gnhlug-discuss mailing list
> gnhlug-discuss at mail.gnhlug.org
> http://mail.gnhlug.org/mailman/listinfo/gnhlug-discuss
>
--
A strong conviction that something must be done is the parent of many bad
measures.
- Daniel Webster
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.gnhlug.org/mailman/private/gnhlug-discuss/attachments/20060220/b443e917/attachment.html
More information about the gnhlug-discuss
mailing list