Re: color display with man pages

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 07/23/14 05:21, Corinna Vinschen wrote:
> On Jul 22 22:40, Mark LaPierre wrote:
>> On 07/22/14 04:55, Corinna Vinschen wrote:
>>> On Jul 22 13:37, Amila Perera wrote:
>>>> Thank you for your feedback.
>>>>
>>>>
>>>> On Tue, Jul 22, 2014 at 12:40 PM, Suvayu Ali <fatkasuvayu+linux@xxxxxxxxx>
>>>> wrote:
>>>>
>>>>> I tried with bash, it seems to work ... somewhat.  I see a yellow status
>>>>> at the bottom, but otherwise I see a regular man page.  When I `type
>>>>> man' after defining your function, I get a few colours among the variable
>>>>> definitions (blue, red, and underlined).
>>>>>
>>>>
>>>> Well, I only get the yellow status line color and some variables getting
>>>> bold.
>>>> I have never tried this with bash, though.
>>>
>>> Try this additionally to setting the LESS_TERMCAP_xx vars:
>>>
>>>   export GROFF_NO_SGR=yes
>>>
>>
>> Hey Corinna,
>>
>> Could you share some more details on how to use the "LESS_TERMCAP_xx
>> vars" and "export GROFF_NO_SGR=yes" commands?  I'm assuming that you put
>> them in your .bashrc file, no?
> 
> No, I'm tcsh user, sorry :}
> 
> I was just curious and experimented with it.  For bash you can do
> something like this:
> http://www.cyberciti.biz/faq/linux-unix-colored-man-pages-with-less-command/
> and just add the GROFF_NO_SGR setting to it, I guess.
> 
> 
> Corinna
> 

Thanks Corinna.  That worked quite well for colored man pages.  Now I've
got figure out how to extend the concept to other applications.

-- 
    _
   °v°
  /(_)\
   ^ ^  Mark LaPierre
Registered Linux user No #267004
https://linuxcounter.net/
****
-- 
users mailing list
users@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Fedora Code of Conduct: http://fedoraproject.org/code-of-conduct
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
Have a question? Ask away: http://ask.fedoraproject.org




[Index of Archives]     [Older Fedora Users]     [Fedora Announce]     [Fedora Package Announce]     [EPEL Announce]     [EPEL Devel]     [Fedora Magazine]     [Fedora Summer Coding]     [Fedora Laptop]     [Fedora Cloud]     [Fedora Advisory Board]     [Fedora Education]     [Fedora Security]     [Fedora Scitech]     [Fedora Robotics]     [Fedora Infrastructure]     [Fedora Websites]     [Anaconda Devel]     [Fedora Devel Java]     [Fedora Desktop]     [Fedora Fonts]     [Fedora Marketing]     [Fedora Management Tools]     [Fedora Mentors]     [Fedora Package Review]     [Fedora R Devel]     [Fedora PHP Devel]     [Kickstart]     [Fedora Music]     [Fedora Packaging]     [Fedora SELinux]     [Fedora Legal]     [Fedora Kernel]     [Fedora OCaml]     [Coolkey]     [Virtualization Tools]     [ET Management Tools]     [Yum Users]     [Yosemite News]     [Gnome Users]     [KDE Users]     [Fedora Art]     [Fedora Docs]     [Fedora Sparc]     [Libvirt Users]     [Fedora ARM]

  Powered by Linux