Results 1 to 8 of 8

Thread: Appearance of bold text in man pages

  1. #1
    Join Date
    Dec 2007
    Beans
    12,521

    Appearance of bold text in man pages

    I want to know how to reduce the brightness of the bold text in man pages or to use some more restful shade of grey instead.

    This is for when I'm viewing man pages in my terminal (lxterminal or roxterm).

    Thanks!
    Attached Images Attached Images

  2. #2
    Join Date
    Nov 2011
    Location
    /dev/root
    Beans
    Hidden!

    Re: Appearance of bold text in man pages

    I think you can change the preferences of your terminal emulator - change the high-light rendering to something you like better.

  3. #3
    Join Date
    Dec 2007
    Beans
    12,521

    Re: Appearance of bold text in man pages

    Quote Originally Posted by sudodus View Post
    I think you can change the preferences of your terminal emulator - change the high-light rendering to something you like better.
    I'll try that but for now I dug out this code that does something when added to the end of my .bashrc:

    Code:
    man() {
        env LESS_TERMCAP_md=$'\E[01;38;5;74m' man "$@"
    }
    Now, I just have to mess with that line to understand what all those numbers do to see whether I can mute the blue a little more.

    BTW, man termcap claims that termcap is outdated and that one should use terminfo but that didn't do anything for me!

    Edit: I can use the GUI of roxterm to change the color of bold text but can't do so in lxterminal.
    Attached Images Attached Images
    Last edited by vasa1; November 5th, 2015 at 05:11 PM.

  4. #4

    Re: Appearance of bold text in man pages

    I like it!
    Windows assumes the user is an idiot.
    Linux demands proof.

  5. #5
    Join Date
    Nov 2011
    Location
    /dev/root
    Beans
    Hidden!

    Re: Appearance of bold text in man pages

    Do you want to create something general, or are doing it for yourself and one particular terminal emulator? If the latter, it should be easy with gnome-terminal, maybe not so easy with lxterminal ...

  6. #6
    Join Date
    Dec 2007
    Beans
    12,521

    Re: Appearance of bold text in man pages

    Quote Originally Posted by sudodus View Post
    Do you want to create something general, or are doing it for yourself and one particular terminal emulator? If the latter, it should be easy with gnome-terminal, maybe not so easy with lxterminal ...
    It's just for me. I don't like bright colors and wanted to tone down the color of bold text in man pages.

    I can get what I want with roxterm's gui or with the .bashrc code I posted earlier. I don't use gnome-terminal.

  7. #7

    Re: Appearance of bold text in man pages

    worked for me in Terminator.
    Windows assumes the user is an idiot.
    Linux demands proof.

  8. #8
    Join Date
    Nov 2011
    Location
    /dev/root
    Beans
    Hidden!

    Re: Appearance of bold text in man pages

    It's a nice way to use ANSI escape sequences

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •