Re: color display with man pages

2014-07-24 Thread poma
On 22.07.2014 06:54, Jatin K wrote: On Monday 21 July 2014 11:42 PM, Amila Perera wrote: Hi all, This is my first mail on fedora mailing list. I can't get the following to display colours with LESS command on my terminal, when viewing man pages. I am using Fedora 20 with KDE. My shell is zsh.

Re: color display with man pages

2014-07-23 Thread Mark LaPierre
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 wrote: > I tried wit

Re: color display with man pages

2014-07-23 Thread Corinna Vinschen
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 > >> wrote: > >> > >>> I tried with bash, it seems to work ... somewhat. I see

Re: color display with man pages

2014-07-22 Thread Jatin K
On Tuesday 22 July 2014 12:14 PM, Amila Perera wrote: Thank you Jatin. I knew 'most' would work. It is able to display colours as well. But I am used to 'less' and its key bindings. I am quite puzzled as why the termcap settings for less don't work in Fedora20. Do you have any explanations?

Re: color display with man pages

2014-07-22 Thread Mark LaPierre
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 >> wrote: >> >>> I tried with bash, it seems to work ... somewhat. I see a yellow status >>> at the bottom, but otherwise I see a

Re: color display with man pages

2014-07-22 Thread Amila Perera
On Tue, Jul 22, 2014 at 2:52 PM, Corinna Vinschen wrote: > $ man -Hlynx less It's the first time I ever used such thing. It looks quite good, especially the hyperlinks etc. Thank you for the information -- *Amila Perera.* -- users mailing list users@lists.fedoraproject.org To unsubscrib

Re: color display with man pages

2014-07-22 Thread Corinna Vinschen
On Jul 22 14:43, Amila Perera wrote: > Thanks a lot Corinna. > > The following setting did the trick for me. > Now the output on Ubuntu & Fedora looks the same. > > Thank you once again. > > On Tue, Jul 22, 2014 at 2:25 PM, Corinna Vinschen wrote: > > > Try this additionally to setting the LES

Re: color display with man pages

2014-07-22 Thread Amila Perera
Thanks a lot Corinna. The following setting did the trick for me. Now the output on Ubuntu & Fedora looks the same. Thank you once again. On Tue, Jul 22, 2014 at 2:25 PM, Corinna Vinschen wrote: > Try this additionally to setting the LESS_TERMCAP_xx vars: > > export GROFF_NO_SGR=yes > --

Re: color display with man pages

2014-07-22 Thread Corinna Vinschen
On Jul 22 13:37, Amila Perera wrote: > Thank you for your feedback. > > > On Tue, Jul 22, 2014 at 12:40 PM, Suvayu Ali > 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

Re: color display with man pages

2014-07-22 Thread Amila Perera
Thank you for your feedback. On Tue, Jul 22, 2014 at 12:40 PM, Suvayu Ali 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 v

Re: color display with man pages

2014-07-22 Thread Joachim Backes
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;40

Re: color display with man pages

2014-07-22 Thread Suvayu Ali
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=$'\

Re: color display with man pages

2014-07-21 Thread Amila Perera
Thank you Jatin. I knew 'most' would work. It is able to display colours as well. But I am used to 'less' and its key bindings. I am quite puzzled as why the termcap settings for less don't work in Fedora20. Do you have any explanations?? Just a few hours ago I installed CentOS 7 and it worked

Re: color display with man pages

2014-07-21 Thread Jatin K
On Monday 21 July 2014 11:42 PM, Amila Perera wrote: Hi all, This is my first mail on fedora mailing list. I can't get the following to display colours with LESS command on my terminal, when viewing man pages. I am using Fedora 20 with KDE. My shell is zsh. --- man() { env LESS_TERMCA

color display with man pages

2014-07-21 Thread Amila Perera
Hi all, This is my first mail on fedora mailing list. I can't get the following to display colours with LESS command on my terminal, when viewing man pages. I am using Fedora 20 with KDE. My shell is zsh. --- man() { env LESS_TERMCAP_mb=$'\E[01;31m' \ LESS_TERMCAP_md=$'\E[01;34m' \ LESS_T