all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* emacs background on console/tty
@ 2010-07-14 13:45 henry atting
  2010-07-14 15:36 ` z.cHris
  0 siblings, 1 reply; 2+ messages in thread
From: henry atting @ 2010-07-14 13:45 UTC (permalink / raw
  To: help-gnu-emacs

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


^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: emacs background on console/tty
  2010-07-14 13:45 emacs background on console/tty henry atting
@ 2010-07-14 15:36 ` z.cHris
  0 siblings, 0 replies; 2+ messages in thread
From: z.cHris @ 2010-07-14 15:36 UTC (permalink / raw
  To: help-gnu-emacs

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.


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2010-07-14 15:36 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-07-14 13:45 emacs background on console/tty henry atting
2010-07-14 15:36 ` z.cHris

Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.