unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: presto08@me.com
To: Stefan Monnier <monnier@iro.umontreal.ca>
Cc: emacs-devel@gnu.org
Subject: Re: Add "lisp/term/screen-256color.el" for GNU Screen's 256 color mode?
Date: Fri, 20 Feb 2009 23:22:58 +0200	[thread overview]
Message-ID: <3EBAB449-471F-45AE-84A5-0815C1CFAC31@me.com> (raw)
In-Reply-To: <jwvljs07r3s.fsf-monnier+emacs@gnu.org>

Stefan Monnier kirjoitti 20.2.2009 kello 23.10:

>> (load "term/xterm")
>
>> (defun terminal-init-screen ()
>>  "Terminal initialization function for screen."
>>  ;; Use the xterm color initialization code.
>>  (xterm-register-default-colors)
>>  (tty-set-up-initial-frame-faces))
>
>> I tried this on my local setup, and it seems to work with
>> a "screen-256color" terminal -- all colors show up as expected with  
>> list-
>> colors-display.
>
> Does it work also for non-256color screen?

Yes, in the sense that when TERM=screen Emacs starts up normally and  
doesn't complain about anything (and shows the normal eight colors for  
list-colors-display), if that is what you meant. Seems like reasonable  
behavior to me.




  reply	other threads:[~2009-02-20 21:22 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-02-20  9:12 Add "lisp/term/screen-256color.el" for GNU Screen's 256 color mode? Presto Ten
2009-02-20 15:15 ` Stefan Monnier
2009-02-20 17:46   ` David De La Harpe Golden
2009-02-20 21:09     ` Stefan Monnier
2009-02-21 14:22       ` David De La Harpe Golden
2009-03-06 19:38       ` presto08
2009-03-07 19:38         ` Chong Yidong
2009-02-20 18:44   ` presto08
2009-02-20 21:10     ` Stefan Monnier
2009-02-20 21:22       ` presto08 [this message]
  -- strict thread matches above, loose matches on Subject: below --
2009-03-07 13:04 Xavier Maillard

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=3EBAB449-471F-45AE-84A5-0815C1CFAC31@me.com \
    --to=presto08@me.com \
    --cc=emacs-devel@gnu.org \
    --cc=monnier@iro.umontreal.ca \
    /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.
Code repositories for project(s) associated with this public inbox

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

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).