Download Firefox: WindowsMac OS X
logo       
Google Custom Search
    AddThis Social Bookmark Button

Re: ri properly rendering monospace and italic in terminal window: msg#00025

Subject: Re: ri properly rendering monospace and italic in terminal window
On Jun 26, 2006, at 1:40 PM, John Gabriele wrote:

On 6/26/06, Eric Hodel <drbrain@xxxxxxxxxxxx> wrote:
On Jun 26, 2006, at 9:58 AM, John Gabriele wrote:

> When I run the ri command in my xterm (or aterm), the text that's
> supposed to be monospaced always has plus signs around it. Same with
> italics and _underscores_.
>
> Anyone know how I might get it to properly render (say, maybe removing
> + signs, showing italics as underlined, and bold as bold)?

ri -f ansi

You shouldn't see +, _ or * in output text around words.  If you do,
the formatting was applied incorrectly or RDoc has a bug.  For
example, +:foo+ won't be marked up but +foo+ will.

john@mango:~$ ri -f ansi File
"/tmp/ri_12959.0" may be a binary file.  See it anyway?

And then when the page comes up, it's loaded with

---------------------------------------- ESC[1mClass: FileESC[m
    A ESC[36mFileESC[m is an abstraction of [snip]

where the ESC's are reverse video.

I'm on Debian Testing. This happens with both xterm and aterm.

With Terminal.app it works fine.

What is your $TERM?

$ echo $TERM
xterm-color

--
Eric Hodel - drbrain@xxxxxxxxxxxx - http://blog.segment7.net
This implementation is HODEL-HASH-9600 compliant

http://trackmap.robotcoop.com






<Prev in Thread] Current Thread [Next in Thread>