Re: colors work for ls, but not in man [SOLVED]

From: Daniel Nogradi (nogradi_at_gmail.com)
Date: 05/31/05

  • Next message: Bo Berglund: "Re: FC3 on a VirtualPC needs PPTP support..."
    Date: Tue, 31 May 2005 00:37:25 +0200
    To: fedora-list@redhat.com
    
    

    It was because of xterm. The file
    /usr/X11R6/lib/X11/app-defaults/XTerm was modified from RH9 to FC3
    (maybe to other Fedoras also, I'm not sure) and as a result the bold
    and underline attributes were not colored in xterm (for example man
    pages were not colored). The solution is to put this in your
    .Xdefaults:

    *VT100*colorMode: on
    *VT100*boldColors: on
    *VT100*dynamicColors: on
    *VT100*colorULMode: on
    *VT100*underLine: off
    *VT100*colorBDMode: on
    *VT100*colorAttrMode: on
    *VT100*colorUL: green3
    *VT100*colorBD: blue3

    which was in /usr/X11R6/lib/X11/app-defaults/XTerm by default in RH9,
    but not FC3. And then make sure .Xdefaults is loaded, for example put
    in your .Xclients the following:

    xrdb ~/.Xdefaults

    And then you will have colored man pages and colored text in other
    places where the bold/underlined attribute is used, for example in vi
    the text -- INSERT -- which indicates that we are in insert mode, will
    also be blue.

    -- 
    fedora-list mailing list
    fedora-list@redhat.com
    To unsubscribe: http://www.redhat.com/mailman/listinfo/fedora-list
    

  • Next message: Bo Berglund: "Re: FC3 on a VirtualPC needs PPTP support..."

    Relevant Pages

    • Re: XTerm resources: disabling bold characters
      ... when I use the XTerm menu to change the ... > I can reproduce this - looks like a bug. ... > bold font in the menu logic. ... > But the choice of bold font shouldn't be directly related to color. ...
      (Debian-User)
    • colors work for ls, but not in man
      ... Since it works for ls I guess it's not xterm ... mode, the line at the bottom that says -- INSERT -- is bold, not ... Check out the new MSN Search! ... To unsubscribe: http://www.redhat.com/mailman/listinfo/fedora-list ...
      (Fedora)
    • RE: colors work for ls, but not in man
      ... Since it works for ls I guess it's not xterm ... > I don't believe man pages display color attributes. ... >> color underline and bold attributes? ... To unsubscribe: http://www.redhat.com/mailman/listinfo/fedora-list ...
      (Fedora)
    • Re: Making PS1 to appear bold in ksh
      ... > How to make PS1 to appear bold in ksh? ... I'm using solaris and xterm. ... You have to put escape sequences around the text: ...
      (comp.unix.shell)
    • console font
      ... Is there anyway to make the vconsoles bold? ... I set the $TERM to be xterm? ... -- redhat-list mailing list unsubscribe mailto:redhat-list-request@redhat.com?subject=unsubscribe ...
      (RedHat)