Re: ri properly rendering monospace and italic in terminal window

Eric Hodel <[email protected]>
Newsgroups gmane.comp.lang.ruby.documentation
Message-ID <[email protected]>
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.

-- 
Eric Hodel - [email protected] - http://blog.segment7.net
This implementation is HODEL-HASH-9600 compliant

http://trackmap.robotcoop.com
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.