Re: Red Hat man pages and escape sequences
>Actually, six bit characters were good enough to go to the moon. Five bit Baudot codes on the ASR-33, my first "terminal" in 1969. http://www.pdp8.net/asr33/asr33.shtml md -- Jon "maddog" Hall Executive Director Linux International(R) email: [EMAIL PROTECTED] 80 Amherst St. Voice: +1.603.672.4557 Amherst, N.H. 03031-3032 U.S.A. WWW: http://www.li.org Board Member: Uniforum Association, USENIX Association (R)Linux is a registered trademark of Linus Torvalds in several countries. (R)Linux International is a registered trademark in the USA used pursuant to a license from Linux Mark Institute, authorized licensor of Linus Torvalds, owner of the Linux trademark on a worldwide basis (R)UNIX is a registered trademark of The Open Group in the USA and other countries. ___ gnhlug-discuss mailing list gnhlug-discuss@mail.gnhlug.org http://mail.gnhlug.org/mailman/listinfo/gnhlug-discuss
Re: Red Hat man pages and escape sequences
> "Ben" == Ben Scott <[EMAIL PROTECTED]> > wrote the following on Sun, 19 Feb 2006 22:27:35 -0500 > -- Ben "7-bit characters were good enough to go to the moon" Scott Actually, six bit characters were good enough to go to the moon. ___ gnhlug-discuss mailing list gnhlug-discuss@mail.gnhlug.org http://mail.gnhlug.org/mailman/listinfo/gnhlug-discuss
Re: Red Hat man pages and escape sequences
On my Fedora system...$ echo $LANGen_US.UTF-8$ echo $PAGER/usr/bin/lessThey display ok with bolding in a plain xterm.Strip escapes out:man | col -b | $PAGER On 2/19/06, Ben Scott <[EMAIL PROTECTED]> wrote: What's the fix for when Red Hat derived systems (in the currentcase, my Fedora Core 4 desktop) display crap in man pages? This typically manifests as a highlighted printed representation ofnon-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 rememberwhere, 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 someway. Tried setting LANG=C and unsetting LANG, no change. Triedcursing loudly; didn't help, but made me feel a little better. -- Ben "When I was young, we only had 127 characters, and we liked itthat way" Scott___gnhlug-discuss mailing list gnhlug-discuss@mail.gnhlug.orghttp://mail.gnhlug.org/mailman/listinfo/gnhlug-discuss-- A strong conviction that something must be done is the parent of many bad measures. - Daniel Webster
Re: Red Hat man pages and escape sequences
On 2/19/06, Paul Lussier <[EMAIL PROTECTED]> 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? > > Fire up emacs, and either: > > M-x manRETRET Just FYI, that didn't fix anything, either. Neener, neener. ;-) -- Ben "Prefers Emacs over vi, but prefers heckling Paul over either of those" Scott ___ gnhlug-discuss mailing list gnhlug-discuss@mail.gnhlug.org http://mail.gnhlug.org/mailman/listinfo/gnhlug-discuss
Re: Red Hat man pages and escape sequences
On 2/19/06, Bill Mullen <[EMAIL PROTECTED]> 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? > > [Suggestion of dumping FC for $OTHERDISTRO reconsidered and omitted.] Avoiding controversy and debate? Come now. You're setting a dangerous precedent. ;) >> This smells like a Unicode issue to me. > > Likewise - and that's one funky aroma, ain't it? Gack. ;-) *GRIN* > Does setting "LANG=en_US.UTF-8" (what my Mandrake systems call it) or > "LANG=en_US.utf8" (what my Gentoo box calls it) make any difference? Either fixes the problem. Woo-who! Thanks! I knew it was an easy fix like that, I just couldn't remember what. I have LANG=C in my ~/.bash_profile file to change other behaviors; that's doubtless where the problem comes from. > I don't have any experience with FC, but I'd be interested to know which > man pages display this way ... Pretty much all of them. For example, the "NAME" section typically has what I assume is the Unicode em dash character between the name and the one-line description. Without the proper environment magic, that character does not display properly. I'm pretty sure this is due to something Red Hat does when creating their man pages. I know Red Hat has done a lot of work to switch to Unicode to support internationalization and localization efforts, that's an admirable thing. I suspect that, since they had gone to all that effort, they took the opportunity to make use of the "fancy" characters available in Unicode. I can't really argue against that, either. It does make things a bit trickier for character set Luddites like me, though. :) -- Ben "7-bit characters were good enough to go to the moon" Scott ___ gnhlug-discuss mailing list gnhlug-discuss@mail.gnhlug.org http://mail.gnhlug.org/mailman/listinfo/gnhlug-discuss
Re: Red Hat man pages and escape sequences
"Ben Scott" <[EMAIL PROTECTED]> writes: > What's the fix for when Red Hat derived systems (in the current > case, my Fedora Core 4 desktop) display crap in man pages? Fire up emacs, and either: M-x manRETRET or: C-h i to enter info mode, which the Gnu people seem to feel is superior the man for some bizarre reason I'll never understand OR Google: man which always seems to DTRT. -- Seeya, Paul ___ gnhlug-discuss mailing list gnhlug-discuss@mail.gnhlug.org http://mail.gnhlug.org/mailman/listinfo/gnhlug-discuss
Re: Red Hat man pages and escape sequences
On Sun, 19 Feb 2006 19:45:19 -0500, Ben Scott 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? [Suggestion of dumping FC for $OTHERDISTRO reconsidered and omitted.] > 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. Likewise - and that's one funky aroma, ain't it? Gack. ;-) > 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. Does setting "LANG=en_US.UTF-8" (what my Mandrake systems call it) or "LANG=en_US.utf8" (what my Gentoo box calls it) make any difference? I don't have any experience with FC, but I'd be interested to know which man pages display this way, so that I can inspect them on these systems. I don't recall having seen this sort of thing here, but it's entirely likely that I just haven't pulled up the right man pages yet. :-/ -- Bill Mullen RLU #270075 ___ gnhlug-discuss mailing list gnhlug-discuss@mail.gnhlug.org http://mail.gnhlug.org/mailman/listinfo/gnhlug-discuss