Re: color display with man pages

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

 



On 07/22/2014 09:10 AM, Suvayu Ali wrote:
> Hi Amila,
> 
> On Mon, Jul 21, 2014 at 11:42:23PM +0530, Amila Perera wrote:
>> man()
>> {
>> env LESS_TERMCAP_mb=$'\E[01;31m' \
>> LESS_TERMCAP_md=$'\E[01;34m' \
>> LESS_TERMCAP_me=$'\E[0m' \
>> LESS_TERMCAP_se=$'\E[0m' \
>> LESS_TERMCAP_so=$'\E[01;33;40m' \
>> LESS_TERMCAP_ue=$'\E[0m' \
>> LESS_TERMCAP_us=$'\E[01;04;35m' \
>> man "$@"
>> }
> 
> 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).
> 
> Hope this helps,
> 

Getting same here.

But I have to agree Amila, that (at least) on Ubuntu 12.04 or on on
Scientific Linux release 6.3 (Carbon) I get some more colors.


Kind regards

Joachim Backes
-- 

Fedora release 20 (Heisenbug)
Kernel-3.15.6-200.fc20.x86_64


Joachim Backes <joachim.backes@xxxxxxxxxxxxxx>
http://www-user.rhrk.uni-kl.de/~backes
-- 
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