unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
* add term files for xterm-88color and xterm-256color
@ 2004-09-02 19:17 Dan Nicolaescu
  2004-09-02 21:37 ` Andreas Schwab
  0 siblings, 1 reply; 3+ messages in thread
From: Dan Nicolaescu @ 2004-09-02 19:17 UTC (permalink / raw)



One of the recommended ways to use the 88 or 256 color support in
xterm is to set the TERM environment variable to xterm-88color or
xterm-256color. Emacs cannot cope with this because it does not have
the corresponding term files. term/xterm.el can deal with everything
needed, it just needs to be loaded.

Can somebody please check this in if it's OK? (I don't have write access)

Thanks.

2004-09-02  Dan Nicolaescu  <dann@ics.uci.edu>

	* xterm-88color.el: 
	* xterm-256color.el: New files.

--- /dev/null	2004-02-23 13:02:56.000000000 -0800
+++ xterm-88color.el	2004-09-02 11:32:41.583831309 -0700
@@ -0,0 +1,3 @@
+;; -*- no-byte-compile: t -*-
+
+(load "term/xterm")
--- /dev/null	2004-02-23 13:02:56.000000000 -0800
+++ xterm-256color.el	2004-09-02 11:32:41.582831579 -0700
@@ -0,0 +1,3 @@
+;; -*- no-byte-compile: t -*-
+
+(load "term/xterm")

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

* Re: add term files for xterm-88color and xterm-256color
  2004-09-02 19:17 add term files for xterm-88color and xterm-256color Dan Nicolaescu
@ 2004-09-02 21:37 ` Andreas Schwab
  2004-09-02 22:08   ` Dan Nicolaescu
  0 siblings, 1 reply; 3+ messages in thread
From: Andreas Schwab @ 2004-09-02 21:37 UTC (permalink / raw)
  Cc: emacs-devel

Dan Nicolaescu <dann@ics.uci.edu> writes:

> One of the recommended ways to use the 88 or 256 color support in
> xterm is to set the TERM environment variable to xterm-88color or
> xterm-256color. Emacs cannot cope with this because it does not have
> the corresponding term files. term/xterm.el can deal with everything
> needed, it just needs to be loaded.

Emacs already strips off -* from the terminal name if the full name does
not have its own file.

Andreas.

-- 
Andreas Schwab, SuSE Labs, schwab@suse.de
SuSE Linux AG, Maxfeldstraße 5, 90409 Nürnberg, Germany
Key fingerprint = 58CA 54C7 6D53 942B 1756  01D3 44D5 214B 8276 4ED5
"And now for something completely different."

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

* Re: add term files for xterm-88color and xterm-256color
  2004-09-02 21:37 ` Andreas Schwab
@ 2004-09-02 22:08   ` Dan Nicolaescu
  0 siblings, 0 replies; 3+ messages in thread
From: Dan Nicolaescu @ 2004-09-02 22:08 UTC (permalink / raw)
  Cc: emacs-devel

Andreas Schwab <schwab@suse.de> writes:

  > Dan Nicolaescu <dann@ics.uci.edu> writes:
  > 
  > > One of the recommended ways to use the 88 or 256 color support in
  > > xterm is to set the TERM environment variable to xterm-88color or
  > > xterm-256color. Emacs cannot cope with this because it does not have
  > > the corresponding term files. term/xterm.el can deal with everything
  > > needed, it just needs to be loaded.
  > 
  > Emacs already strips off -* from the terminal name if the full name does
  > not have its own file.

OK, thanks. This was not working because of  TERM was being set to
dumb, after fixing that everything works.

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

end of thread, other threads:[~2004-09-02 22:08 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-09-02 19:17 add term files for xterm-88color and xterm-256color Dan Nicolaescu
2004-09-02 21:37 ` Andreas Schwab
2004-09-02 22:08   ` Dan Nicolaescu

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