Find the answer to your Linux question:
Results 1 to 4 of 4
Hello, In the spirit of feeling a bit more retro, I am wondering if there is a configuration file that would force my TTY terminals to display in monochrome. Editors ...
  1. #1
    Just Joined!
    Join Date
    Dec 2011
    Posts
    16

    Forcing monochrome text on TTY terminals.

    Hello,

    In the spirit of feeling a bit more retro, I am wondering if there is a configuration file that would force my TTY terminals to display in monochrome. Editors like Emacs 23 seem to use a full spectrum of colors. While this is a nice feature I'd like to force monochrome color. Black or white(or green). I'm using a black and white TV and a converter. A binary color scheme would be nice.

  2. #2
    Just Joined!
    Join Date
    Nov 2011
    Location
    New Zealand
    Posts
    79
    You could try looking at the setterm command, check the manual page

    man setterm

    You could try adding the following to /etc/rc.local

    Code:
    echo -en "\\033[32m\\033[8]" > /dev/tty1
    This will result in green text output - repeat the entry for tty2, 3 etc... You will probably have to reboot for it to take effect.

    Other than that, a lot of ncurses apps can be configured to give colored text or, just plain white or green - just refer to man page for the particular app or check the docs on it's website.

  3. #3
    Just Joined!
    Join Date
    Dec 2011
    Posts
    16
    Thank you for this information!

    I'll give it a go when I get home from work.

  4. #4
    Linux Newbie
    Join Date
    Sep 2007
    Posts
    137
    Another option is editing the color settings in ~.bashrc and/or ~.emacsrc. Log out/log in to see console/tty1 (~.bashrc) effects. Googling .bashrc+color+example or .emacsrc+color+example might provide some interesting color schemes.

Posting Permissions

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