changeset 42747:d1ee13da6bff

*** empty log message ***
author Eli Zaretskii <eliz@gnu.org>
date Mon, 14 Jan 2002 13:50:26 +0000
parents 5c684d670187
children 0a6f6545e08f
files lisp/ChangeLog src/ChangeLog
diffstat 2 files changed, 30 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/lisp/ChangeLog	Mon Jan 14 13:50:06 2002 +0000
+++ b/lisp/ChangeLog	Mon Jan 14 13:50:26 2002 +0000
@@ -1,3 +1,12 @@
+2002-01-14  Eli Zaretskii  <eliz@is.elta.co.il>
+
+	* startup.el (command-line): Register the default tty colors even
+	if the terminal doesn't seem to support colors.
+	<tty-long-option-alist>: New option --color.
+	(tty-handle-args): Parse the --color arg.
+
+	* term/tty-colors.el (tty-color-mode-alist): New variable.
+
 2002-01-14  Stefan Monnier  <monnier@cs.yale.edu>
 
 	* net/ange-ftp.el (ange-ftp-root-dir-p): New function.
--- a/src/ChangeLog	Mon Jan 14 13:50:06 2002 +0000
+++ b/src/ChangeLog	Mon Jan 14 13:50:26 2002 +0000
@@ -1,3 +1,24 @@
+2002-01-14  Eli Zaretskii  <eliz@is.elta.co.il>
+
+	Support for the --color command-line argument and tty-color-mode
+	frame parameter:
+
+	* term.c (tty_default_color_capabilities, tty_setup_colors)
+	(set_tty_color_mode): New functions.
+	(term_init): Call tty_default_color_capabilities.
+	(Qtty_color_mode_alist): New variable.
+	(syms_of_term): Intern and staticpro it.
+
+	* frame.c (store_frame_param): Call set_tty_color_mode for termcap
+	frames.
+	(do_switch_frame): For termcap frames, switch the tty
+	color mode as specified by the frame's parameters.
+	(Qtty_color_mode): New variable.
+	(syms_of_frame): Intern and staticpro it.
+
+	* emacs.c (USAGE2): Add the --color option.
+	(standard_args): Ditto.
+
 2002-01-13  Jan Djarv  <Jan.Djarv@mbox200.swipnet.se>
 
 	* xterm.h (struct x_output): New members want_fullscreen,