Mercurial > emacs
view MAINTAINERS @ 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 | 695cf19ef79e |
children | 62f996e30e20 375f2633d815 |
line wrap: on
line source
Emacs Maintainers This file contains a description of who is responsible for maintaining what parts of the Emacs distribution. The areas can be defined "arbitrarily", but should provide fairly well-defined boundaries so that there are not too many ambiguities. The list below consists of 3 parts. First, the list of areas that someone wants to be maintaining (i.e. has a particularly keen interest for it); then the list of areas that someone is willing to maintain, although he would not necessarily mind if someone else was the official maintainer; and finally the list of areas for which no maintainer has been found so far. ============================================================================== 1. ============================================================================== Richard Stallman ??? Andrew Choi MacOS Jason Rumney W32 Eli Zaretskii The MS-DOS (a.k.a. DJGPP) port: config.bat msdos/* src/msdos.[ch] src/dosfns.[ch] src/w16select.c src/s/msdos.h lisp/term/internal.el lisp/term/pc-win.el lisp/dos-fns.el lisp/dos-w32.el lisp/dos-vars.el lisp/term/tty-colors.el lisp/international/codepage.el man/faq.texi man/msdog.texi Kenichi Handa Mule Stefan Monnier src/regex.c src/syntax.c src/keymap.c font-lock/jit-lock/syntax minor-mode/major-mode infrastructure text filling minibuffer completion lisp/textmodes/outline.el Miles Bader src/xfaces.c field-property related stuff lisp/comint.el lisp/shell.el [other comint-related packages] lisp/button.el lisp/image-file.el lisp/minibuf-eldef.el lisp/rfn-eshadow.el ============================================================================== 2. ============================================================================== Eli Zaretskii man/* lispref/* info/dir src/xfaces.c src/term.c src/frame.c src/dired.c lisp/arc-mode.el lisp/menu-bar.el lisp/hexl.el lisp/info.el lisp/ls-lisp.el lisp/startup.el Stefan Monnier src/intervals.c src/keyboard.c lisp/textmodes/tex-mode.el lisp/progmodes/perl-mode.el lisp/progmodes/tcl.el lisp/emacs-lisp/easymenu.el Miles Bader src/eval.c src/bytecode.c src/editfns.c lisp/textmodes/refill.el ============================================================================== 3. ============================================================================== src/Makefile.in src/abbrev.c src/alloc.c src/alloca.c src/alloca.s src/atimer.c src/bitmaps/ src/buffer.c src/callint.c src/callproc.c src/casefiddle.c src/casetab.c src/category.c src/ccl.c src/charset.c src/cm.c src/cmds.c src/coding.c src/composite.c src/config.in src/cxux-crt0.s src/data.c src/dispnew.c src/doc.c src/doprnt.c src/ecrt0.c src/emacs.c src/epaths.in src/fileio.c src/filelock.c src/filemode.c src/firstfile.c src/floatfns.c src/fns.c src/fontset.c src/getloadavg.c src/gmalloc.c src/hftctl.c src/indent.c src/insdel.c src/lastfile.c src/lread.c src/m/ src/macros.c src/makefile.nt src/makefile.w32-in src/marker.c src/md5.c src/minibuf.c src/mktime.c src/mocklisp.c src/pre-crt0.c src/prefix-args.c src/print.c src/process.c src/ralloc.c src/region-cache.c src/s/ src/scroll.c src/search.c src/sound.c src/strftime.c src/sunfns.c src/sysdep.c src/termcap.c src/terminfo.c src/textprop.c src/tparam.c src/undo.c src/unexaix.c src/unexalpha.c src/unexapollo.c src/unexconvex.c src/unexec.c src/unexelf.c src/unexenix.c src/unexhp9k800.c src/unexmips.c src/unexnext.c src/unexsni.c src/unexsunos4.c src/unexw32.c src/vm-limit.c src/w32.c src/w32bdf.c src/w32console.c src/w32fns.c src/w32heap.c src/w32inevt.c src/w32menu.c src/w32proc.c src/w32reg.c src/w32select.c src/w32term.c src/w32xfns.c src/widget.c src/window.c src/xdisp.c src/xfns.c src/xmenu.c src/xrdb.c src/xselect.c src/xterm.c ;;; arch-tag: 869126d4-4851-41b2-8470-14dd492a3c98