unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
From: egor.shalashnikov@gmail.com
To: help-gnu-emacs@gnu.org
Subject: emacs terminal colors
Date: Thu, 2 Oct 2008 06:22:56 -0700 (PDT)	[thread overview]
Message-ID: <ebc8575b-c74a-4679-ae21-129a6768e696@y21g2000hsf.googlegroups.com> (raw)

Hi!,
I have a problem with emacs colors in terminal, spent all day on it.
I'm connecting to a remote shell 1 (rhel):
'ssh <rhel>'
And connecting from my computer to a remote shell 2 (solaris)
'ssh <sol>'

The settings are nearly the same, but emacs on <rhel> displays many
colors by default, and on <sol> by default are only 2 colors.
How do enable --color=auto emacs switch by using only evn settings?
(If I use emacs --color on <sol> emacs starts with many colors).

Note: It's not a problem always use --color for emacs, but:
I play with parameters in some functions into .emacs, so --color is
the additional parameter and it breaks up logic into function when I
use emacs as a diff utility (emacs -diff file1 file2: works, but emacs
--color -diff file1 file 2: doesn't)

env:
TERM=xterm
COLORTERM=gnome-terminal (mc works fine with color after I've added
this env setting)

.emacs:
(global-font-lock-mode 1)


             reply	other threads:[~2008-10-02 13:22 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-10-02 13:22 egor.shalashnikov [this message]
2008-10-02 14:31 ` emacs terminal colors Egor
2008-10-02 14:56   ` Peter Dyballa
     [not found]   ` <mailman.47.1222959387.25473.help-gnu-emacs@gnu.org>
2008-10-02 16:03     ` Egor
2008-10-03  3:36 ` Tim X

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=ebc8575b-c74a-4679-ae21-129a6768e696@y21g2000hsf.googlegroups.com \
    --to=egor.shalashnikov@gmail.com \
    --cc=help-gnu-emacs@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).