view admin/ChangeLog @ 53226:dd3018b4785b

Implemented multiple tty support. README.multi-tty: New file. src/termchar.h (struct terminal): Renamed to struct tty_output. Added name, type, input, output, termscript, old_tty, term_initted, old_tty_valid, background_pixel, foreground_pixel, next fields. (TERMINAL_*): Renamed to TTY_* for brevity. (CURRENT_TERMINAL): Renamed to CURTTY for brevity. (tty_list): New variable. (TERMINAL_PTR): Removed. (FRAME_TTY): New function. (TTY_NAME, TTY_TYPE): New macros. src/term.c (current_terminal): Removed. (_current_terminal): Removed. (tty_list): New variable. (OUTPUT, OUTPUT1, OUTPUTL, OUTPUT_IF, OUTPUT1_IF): Added tty parameter. (set_terminal_modes): Added tty parameter. (reset_terminal_modes): Added tty parameter. (cursor_to, raw_cursor_to): Updated cmgoto() calls. (clear_end_of_line, write_glyphs): Add indirection to terminal output, updated cmcheckmagic() calls. (get_named_tty): New function. (term_dummy_init): New function. (term_init): Added name parameter, added tty_output return value. Changed algorithm to update tty_list. Call init_sys_modes() to set up tty mode on the newly opened terminal device. (get_current_tty): New function, intended for debugging. src/termhooks.h (termscript): Removed. src/w32term.h (FRAME_FOREGROUND_PIXEL, FRAME_BACKGROUND_PIXEL): Removed redundant definition. src/macterm.h (FRAME_FOREGROUND_PIXEL, FRAME_BACKGROUND_PIXEL): Ditto. src/window.c (init_window_once): Call make_terminal_frame with two zero parameters. src/cm.h (emacs_tputs): New macro to set current_tty, and then call tputs(). (current_tty): New variable, for cmputc(). (cmcheckmagic, cmputc, cmgoto): Added prototypes. src/cm.c (current_tty): New variable, for cmputc(). (cmputc): Use it. (cmcheckmagic): Added tty parameter, look up terminal streams there. (calccost): Added tty parameter. Use emacs_tputs() instead of tputs(). (cmgoto): Added tty parameter. Pass it on to calccost(). Use emacs_tputs() instead of tputs(). src/dispextern.h (set_terminal_modes, reset_terminal_modes): Added tty parameter. (term_init): Added name parameter (the filename of the terminal device). Added return value (struct tty_output). src/dispnew.c: Replace CURTTY() with local variables throughout the file (where applicable). (termscript): Moved to struct tty_output. (terminal_type): Removed. src/emacs.c (main): Don't call init_sys_modes(), the new term_init() already does that during init_display(). (shut_down_emacs): Call reset_all_sys_modes() instead of reset_sys_modes(). src/frame.c (Qtty, Qtty_type): New variables. (syms_of_frame): Initialize them. (tty_display): Removed. (make_terminal_frame): New parameters (tty filename and type). Initialize output_data.tty field instead of output_data.x. Use term_init() to find the right tty_output. (Use term_dummy_init() during bootstrap.) (Fmake_terminal_frame): Get device filename and type from frame parameters. src/frame.h (FRAME_FOREGROUND_PIXEL, FRAME_BACKGROUND_PIXEL): Do the right thing if the frame is a tty. (struct frame): New member in output_data: tty. (make_terminal_frame): Updated of prototype. src/keyboard.c (Fset_input_mode): Call reset_all_sys_modes(), not reset_sys_modes(). Ditto with init_sys_modes(). src/lisp.h (tty_output): Added forward declaration. (init_sys_modes, reset_sys_modes): Updated prototype. (init_all_sys_modes, reset_all_sys_modes): New prototypes. src/scroll.c: Replace CURTTY() with local variables throughout the file (where applicable). src/sysdep.c (old_tty, term_initted, old_tty_valid): Moved to struct tty_output.( (init_all_sys_modes): New function. (init_sys_modes): Added tty_output parameter. Use it. (reset_all_sys_modes): New function. (reset_sys_modes): Added tty_output parameter. Use it. src/Makefile.in: Update dependencies. git-archimport-id: lorentey@elte.hu--2004/emacs--multi-tty--0--patch-2
author Karoly Lorentey <lorentey@elte.hu>
date Thu, 25 Dec 2003 06:59:31 +0000
parents 8f70aecafdb5
children 3f07e8295d4a
line wrap: on
line source

2003-10-01  Miles Bader  <miles@gnu.org>

	* quick-install-emacs: Don't use "function" keyword when defining
	shell functions.

2003-09-27  Miles Bader  <miles@gnu.ai.mit.edu>

	* quick-install-emacs: Remove fns-* pruning, since that file no
	longer seems to be generated.
	(AVOID): Quote literal periods.  Quote braces in a way acceptable
	to all parties (gawk gets bitchy about using `\').

2003-08-19  Miles Bader  <miles@gnu.org>

	* quick-install-emacs: Add arch-specific ignored files to
	quick-install-emacs.  Use quoting for periods that's acceptable
	to recent versions of gawk.

2003-08-11  Markus Rost  <rost@math.ohio-state.edu>

	* cus-test.el: Remove obsolete workaround.

2003-04-22  Andrew Innes  <andrewi@gnu.org>

	* nt/makedist.bat: Fix multi-file .zip distribution, by splitting
	emacs.exe before zipping, and including batch file to recreate
	after unpacking.

	* nt/stitch.bat: New file.

	* nt/README-ftp-server: Update wording and version number etc.
	Add extra instructions for installing multi-file .zip
	distribution.

	* nt/README.W32: Remove personal email address and update wording.

	* nt/README-UNDUMP.W32: Remove personal email address and update
	wording.

2003-02-10  Francesco Potort,Al(B  <pot@gnu.org>

	* make-changelog-diff: New script, code stolen from make-announcement.

	* make-announcement: Use make-changelog-diff.

2003-01-20  Francesco Potort,Al(B  <pot@gnu.org>

	* make-tarball.txt: Step-by-step instructions for making a tarball.

	* make-announcement: A script for creating pretest annuncements.

2003-01-17  Francesco Potort,Al(B  <pot@gnu.org>

	* admin.el (add-release-logs): Expand the directory name before
	calling find(1).
	(add-release-logs): Use the same methods as add-log.el for writing
	the date and the user's name and address

2003-01-07  Miles Bader  <miles@gnu.org>

	* quick-install-emacs: Unset LANG etc. to avoid non-standard
	command output from non-C locales.

2002-10-16  Markus Rost  <rost@math.ohio-state.edu>

	* cus-test.el: Extended and reorganized.  There are now 4 tests
	which can be run in batch mode.  See the Commentary section.

2002-10-08  Markus Rost  <rost@math.ohio-state.edu>

	* cus-test.el: New file.

2002-05-27  Miles Bader  <miles@gnu.org>

	* quick-install-emacs (VERSION): Calculate using the same method
	that configure.in uses.

2002-04-26  Pavel Jan,Bm(Bk  <Pavel@Janik.cz>

	* emacs-pretesters: New file with information for Emacs
	pretesters.

2002-03-22  Paul Eggert  <eggert@twinsun.com>

	* quick-install-emacs (PRUNED): Avoid "head -1" and "tail +2", as
	POSIX 1003.1-2001 disallows both usages.

2002-02-11  Andrew Innes  <andrewi@gnu.org>

	* nt/makedist.bat: Don't include elisp/term/*.el files twice.

2002-01-24  Andrew Innes  <andrewi@gnu.org>

	* nt/README.W32: Remove unnecessary version number and date
	references.

	* nt/README-UNDUMP.W32: Ditto.

2001-12-06  Gerd Moellmann  <gerd@gnu.org>

	* make-emacs: Add --trace-move.

2001-10-23  Andrew Innes  <andrewi@gnu.org>

	* nt/makedist.bat: Remove remaining obsolete reference to
	GETTING.GNU.SOFTWARE.

2001-10-22  Gerd Moellmann  <gerd@gnu.org>

	* admin.el (set-version): Use `s' interactive spec for
	version number.

2001-10-20  Gerd Moellmann  <gerd@gnu.org>

	* (Version 21.1 released.)

2001-10-20  Gerd Moellmann  <gerd@gnu.org>

	* admin.el (add-release-logs): Put the log entry in lispref, too.

2001-10-20  Miles Bader  <miles@gnu.org>

	* quick-install-emacs: Exit if we can't find some variable.
	(AVOID): Add .orig & .rej files.
	(get_config_var): Be more liberal about format of config.status
	sed commands.

2001-10-19  Gerd Moellmann  <gerd@gnu.org>

	* admin.el: New file.

	* build-configs: Add --help option.  Add support for building
	in arbitrary source trees.

2001-10-17  Gerd Moellmann  <gerd@gnu.org>

	* alloc-colors.c: New file.

2001-10-13  Gerd Moellmann  <gerd@gnu.org>

	* make-emacs: Add --boot switch for bootstrapping.  Logs to
	EMACS_ROOT/boot.log, renames previous log file to boot.log.old.

2001-10-05  Gerd Moellmann  <gerd@gnu.org>

	* Branch for 21.1.

2001-09-04  Andrew Innes  <andrewi@gnu.org>

	* admin/nt/makedist.bat: Remove reference to obsolete file
	GETTING.GNU.SOFTWARE.  Remove outdated comments.  Explain about
	version of tar used.

;; Local Variables:
;; coding: iso-2022-7bit-unix
;; End:

    Copyright (C) 2001 Free Software Foundation, Inc.
  Copying and distribution of this file, with or without modification,
  are permitted provided the copyright notice and this notice are preserved.

;;; arch-tag: 97728c77-77c0-4156-b669-0e8c07d94e5a