[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: emacs background on console/tty
From: |
z.cHris |
Subject: |
Re: emacs background on console/tty |
Date: |
Wed, 08 Dec 2010 15:18:45 -0000 |
User-agent: |
G2/1.0 |
On Jul 14, 9:45 pm, henry atting <nsmp...@online.de> wrote:
> When I start emacs on a virtual console it provides me with a somehow
> light gray background though according to my settings a black background
> is expected.
>
> In ~/.zshrc I have these lines:
>
> if [ -n $DISPLAY ];
> then export TERM="xterm-256color"
> else export TERM="linux"
> fi
>
> The ~/.emacs setup for console colors is:
>
> (if window-system nil
> (set-background-color "color-25")
> (set-foreground-color "yellow")
> (custom-set-faces
> '(default ((t (:foreground "yellow"))))
> '(highline-face ((t (:background "black"))))
> '(font-lock-keyword-face ((t (:foreground "cyan"))))
> '(mode-line ((t (:background "black" :foreground "red"))))
> (blink-cursor-mode nil)))
>
> As far as I understand this it has something to with ncurses colors on a
> console but it did not help me much anyway.
>
> --http://literaturlatenight.de
I have encounter this problem before when i used terminal to open
emacs,
the color setting is actually your terminal color setting, nothing to
do with dotemacs file.