| Commit message (Collapse) | Author | Age | Files | Lines |
| ... | |
| |
|
|
| |
git-archimport-id: lorentey@elte.hu--2004/emacs--multi-tty--0--patch-385
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
variable names accordingly.
* src/termhooks.h (struct device): Rename to `struct device'.
Rename member `next_display' to `next_device'.
Rename member `delete_display_hook' to `delete_device_hook'.
(FRAME_DISPLAY): Rename to FRAME_DEVICE.
(DISPLAY_ACTIVE_P): Rename to DEVICE_ACTIVE_P.
(DISPLAY_TERMINAL_CODING): Rename to DEVICE_TERMINAL_CODING.
(DISPLAY_KEYBOARD_CODING): Rename to DEVICE_KEYBOARD_CODING.
* src/frame.h (stuct frame): Rename `display' member to `device'.
* src/xterm.h (x_display_info): Rename member `frame_display' to `device'.
* src/termchar.h (struct tty_display_info): Rename `display' member to `device'.
* src/keyboard.c (push_display_kboard): Rename to push_device_kboard.
* lisp/frame.el (make-frame): Rename frame parameter `display-id' to `device'.
* src/frame.c (Fmake_terminal_frame): Ditto.
* src/xfns.c (Fx_create_frame): Ditto.
* src/term.c (display_list): Rename to device_list.
* src/term.c (initial_display): Rename to initial_device.
* src/term.c (next_display_id): Rename to next_device_id.
* src/term.c (get_display): Rename to get_device.
* src/term.c (get_tty_display): Rename to get_tty_device.
* src/term.c (get_named_tty_display): Rename to get_named_tty.
* src/term.c (init_initial_display): Rename to init_initial_device.
* src/term.c (delete_initial_display): Rename to delete_initial_device.
* src/term.c (create_display): Rename to create_device.
* src/term.c (delete_display): Rename to delete_device.
* src/xfns.c (check_x_display_info): Document that the function allows
display ids as well.
* src/xterm.c (x_delete_frame_display): Rename to x_delete_device.
* src/xterm.c (x_create_frame_display): Rename to x_create_device.
* src/coding.c: Update.
* src/dispextern.h: Update.
* src/data.c: Update.
* src/dispnew.c: Update.
* src/frame.c: Update.
* src/frame.h: Update.
* src/keyboard.c: Update.
* src/keyboard.h: Update.
* src/lisp.h: Update.
* src/sysdep.c: Update.
* src/term.c: Update.
* src/xdisp.c: Update.
* src/xselect.c: Update.
* src/xterm.c: Update.
* src/prefix-args.c: Include stdlib.h for exit.
git-archimport-id: lorentey@elte.hu--2004/emacs--multi-tty--0--patch-382
|
| |
|
|
| |
git-archimport-id: lorentey@elte.hu--2004/emacs--multi-tty--0--patch-380
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
| |
* lisp/frame.el (terminal-id, terminal-parameters, terminal-parameter)
(set-terminal-parameter, terminal-handle-delete-frame): New functions.
(delete-frame-functions): Add to `delete-frame-functions' hook.
(terminal-parameter-alist): New variable.
* lisp/international/encoded-kb.el (saved-input-mode): Delete variable.
(encoded-kbd-setup-display): Store the saved input method as a terminal
parameter.
git-archimport-id: lorentey@elte.hu--2004/emacs--multi-tty--0--patch-373
|
| |
|
|
|
|
|
|
| |
* lisp/term/xterm.el: Move key substitutions back before the
define-keys.
git-archimport-id: lorentey@elte.hu--2004/emacs--multi-tty--0--patch-368
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
national character input on ttys.)
* src/data.c (Fterminal_local_value, Fset_terminal_local_value): New functions.
(syms_of_data): Defsubr them.
* lisp/international/encoded-kb.el (encoded-kbd-setup-keymap): Add keymap
parameter. Use it instead of changing key-translation-map directly.
(encoded-kbd-setup-display): Use terminal-local-value and
set-terminal-local-value to access key-translation-map. Remove
debugging messages.
* lisp/international/mule.el (keyboard-coding-system): Test for
encoded-kbd-setup-display, not encoded-kbd-mode.
* src/keyboard.c (syms_of_keyboard): Expand docs of terminal-local
variables to warn about their random bindings.
git-archimport-id: lorentey@elte.hu--2004/emacs--multi-tty--0--patch-365
|
| |
|
|
|
|
|
|
|
|
| |
first TODO in README).
* src/keyboard.c (Fset_input_mode): Call reset_sys_modes and
init_sys_modes on the selected device only; do not use the bulk
functions reset_all_sys_modes and init_all_sys_modes.
git-archimport-id: lorentey@elte.hu--2004/emacs--multi-tty--0--patch-358
|
| |
|
|
|
|
|
|
|
|
|
|
|
| |
* lisp/server.el (server-process-filter): Set locale environment
variables from client while creating tty frames.
* lisp/faces.el (tty-create-frame-with-faces): Call set-locale-environment.
* lisp/international/mule-cmds.el (set-display-table-and-terminal-coding-system):
Add DISPLAY parameter. Pass it to set-terminal-coding-system.
(set-locale-environment): Add DISPLAY parameter.
git-archimport-id: lorentey@elte.hu--2004/emacs--multi-tty--0--patch-340
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
tty locale support.
* lisp/international/mule-cmds.el (set-locale-environment): Ignore
window-system; always set the keyboard coding system.
* src/termhooks.h (DISPLAY_TERMINAL_CODING, DISPLAY_KEYBOARD_CODING): New macros.
* src/coding.c (Fset_terminal_coding_system_internal, Fterminal_coding_system)
(Fset_keyboard_coding_system_internal, Fkeyboard_coding_system): Add DISPLAY
parameter.
* src/term.c (get_display): Add THROW parameter.
(get_tty_display, Fdisplay_name, Fdisplay_tty_type, Fdisplay_controlling_tty_p)
(Fdelete_display, Fdisplay_live_p): Update callers.
* src/xfns.c (check_x_display_info): Ditto.
* src/frame.c (Fmake_terminal_frame, Fframe_display): Ditto.
* src/dispextern.h (get_display): Update prototype.
* lisp/international/mule.el (set-terminal-coding-system)
(set-keyboard-coding-system): Add DISPLAY parameter.
git-archimport-id: lorentey@elte.hu--2004/emacs--multi-tty--0--patch-338
|
| |
|
|
| |
git-archimport-id: lorentey@elte.hu--2004/emacs--multi-tty--0--patch-322
|
| |
|
|
| |
git-archimport-id: lorentey@elte.hu--2004/emacs--multi-tty--0--patch-314
|
| |
|
|
|
|
|
|
| |
Vincent Bernat.)
* src/xterm.c (x_flush): Return immediately when redisplay is inhibited.
git-archimport-id: lorentey@elte.hu--2004/emacs--multi-tty--0--patch-304
|
| |
|
|
| |
git-archimport-id: lorentey@elte.hu--2004/emacs--multi-tty--0--patch-287
|
| |
|
|
| |
git-archimport-id: lorentey@elte.hu--2004/emacs--multi-tty--0--patch-275
|
| |
|
|
|
|
|
| |
* src/xfns.c (x_create_tip_frame): Copy color slot initialization
safeguards from x-create-frame. Trivial doc update.
git-archimport-id: lorentey@elte.hu--2004/emacs--multi-tty--0--patch-274
|
| |
|
|
|
|
|
|
|
|
|
|
|
| |
* src/dispextern.h (updated_window): Remove comment reference to
updating_frame.
* src/dispnew.c (update_window): Remove bogus xassert.
* src/xterm.c: (x_clear_frame): Update comment.
(x_draw_window_cursor): Remove reference to updating_frame.
git-archimport-id: lorentey@elte.hu--2004/emacs--multi-tty--0--patch-270
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
cleanups.
* src/xdisp.c (handle_single_display_prop): Use FRAME_WINDOW_P instead of
checking against specific frame types. Ignore images on non-window
frames.
(echo_area_display): Use FRAME_INITIAL_P to check for initial frame.
(redisplay_preserve_echo_area): Update for multi-tty support.
(redisplay_window): Don't bother with toolbars, fringe bitmaps or
vertical borders on tty frames.
(display_line): Remove superflous #ifdefs.
git-archimport-id: lorentey@elte.hu--2004/emacs--multi-tty--0--patch-260
|
| |
|
|
| |
git-archimport-id: lorentey@elte.hu--2004/emacs--multi-tty--0--patch-248
|
| |
|
|
|
|
|
|
| |
* src/xterm.c (x_connection_closed): Inhibit redisplay while frames are
being deleted.
git-archimport-id: lorentey@elte.hu--2004/emacs--multi-tty--0--patch-243
|
| |
|
|
|
|
|
|
| |
* lisp/server.el ("\C-x#"): Fix typo. (Thanks Han Boetes, Ted Morse and
Ami Fischman.)
git-archimport-id: lorentey@elte.hu--2004/emacs--multi-tty--0--patch-235
|
| |
|
|
| |
git-archimport-id: lorentey@elte.hu--2004/emacs--multi-tty--0--patch-233
|
| |
|
|
| |
git-archimport-id: lorentey@elte.hu--2004/emacs--multi-tty--0--patch-231
|
| |
|
|
| |
git-archimport-id: lorentey@elte.hu--2004/emacs--multi-tty--0--patch-230
|
| |
|
|
| |
git-archimport-id: lorentey@elte.hu--2004/emacs--multi-tty--0--patch-226
|
| |
|
|
|
|
|
| |
* lisp/emulation/viper-init.el (viper-has-face-support-p): Acknowledge
that Emacs has face support on ttys.
git-archimport-id: lorentey@elte.hu--2004/emacs--multi-tty--0--patch-214
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
assorted bugfixes.
* lisp/frame.el (make-frame-on-display): Update doc.
(make-frame): Handle display-id parameter. Update doc.
(frames-on-display-list): Update for display ids.
(framep-on-display): Ditto.
(suspend-frame): Use display-name, not frame-tty-name.
(selected-display): New function.
* lisp/server.el (server-delete-client): Use delete-display, not delete-tty.
(server-tty-live-p, server-handle-delete-tty): Removed.
(server-handle-delete-frame): Delete tty clients, if needed.
(server-process-filter): Set the display parameter, and use it when appropriate.
(server-handle-suspend-tty): Use the display parameter.
(server-start, server-unload-hook): Removed obsolete delete-tty hook.
* lisp/talk.el (talk): Always use talk-add-display.
(talk-add-tty-frame, talk-handle-delete-tty): Removed.
(talk-handle-delete-frame): New function.
(talk-add-display): Open a new frame only if parameter was not a frame.
* src/dispextern.h (get_display, Fdisplay_tty_type): New prototypes.
(Fframe_tty_type): Removed.
* src/dispnew.c (init_display): Use Fdisplay_tty_type, not Fframe_tty_type.
* src/frame.c (Qdisplay_id, Qdisplay_live_p): New symbols.
(make_terminal_frame): Get display as a parameter.
(Fmake_terminal_frame): Get/create display here; pass it to
make_terminal_frame.
(Fframe_display): New function.
(Fdelete_frame): Stop if the hook deleted the frame.
(syms_of_frame): Register new stuff.
* src/frame.h (Qdisplay_id, Qdisplay_live_p, make_terminal_frame):
Updated prototypes.
* src/keyboard.c (interrupt_signal): Updated comment.
* src/term.c (Vdelete_tty_after_functions): Removed variable.
(Qframe_tty_name, Qframe_tty_type): Removed.
(next_display_id): New var.
(tty_ring_bell): Don't do anything on suspended frames.
(Ftty_display_color_p, Ftty_display_color_cells): Doc update.
(get_display): New function.
(get_tty_display): Use it.
(get_named_tty_display): Ignore suspended displays.
(Fframe_tty_name): Renamed to Fdisplay_name. Handle all kinds of
displays.
(Fframe_tty_type): Renamed to Fdisplay_tty_type.
(init_initial_display): Set display name.
(term_init): Allow more displays on the same device. Set display name.
(Fdelete_tty): Removed.
(delete_tty): Don't run hooks.
(create_display): Set display id.
(delete_display): Free display name.
(Fdelete_display, Fdisplay_live_p, Fdisplay_list): New functions.
(Fsuspend_tty): Call hook with display id. Doc update.
(Fresume_tty): Refuse to resume when there is already an active display
on the same device. Call hook with display id. Doc update.
(syms_of_term): Reflect above changes.
* src/termhooks.h (struct display): Added `id' and `name' members.
(DISPLAY_ACTIVE_P): New macro.
* src/xfns.c (check_x_display_info): Handle display ids.
(Fx_create_frame): Try to get display from `display-id' parameter.
* src/xterm.c (x_term_init): Set display name.
(x_delete_display): Handle the case when `font_table' is NULL.
git-archimport-id: lorentey@elte.hu--2004/emacs--multi-tty--0--patch-207
|
| |
|
|
|
|
|
| |
* src/term.c (Ftty_display_color_cells): Return 0 in case of an error, not nil.
git-archimport-id: lorentey@elte.hu--2004/emacs--multi-tty--0--patch-201
|
| |
|
|
| |
git-archimport-id: lorentey@elte.hu--2004/emacs--multi-tty--0--patch-192
|
| |
|
|
| |
git-archimport-id: lorentey@elte.hu--2004/emacs--multi-tty--0--patch-188
|
| |
|
|
|
|
|
| |
src/xterm.c (x_initialize): Don't disable SIGWINCH (small fix
contributed by Yoshiaki Kasahara <kasahara@nc.kyushu-u.ac.jp>).
git-archimport-id: lorentey@elte.hu--2004/emacs--multi-tty--0--patch-181
|
| |
|
|
|
|
|
| |
lisp/frame.el (make-frame): Use the cdr of the value returned by assq.
By ARISAWA Akihiro (<ari@mbf.ocn.ne.jp>).
git-archimport-id: lorentey@elte.hu--2004/emacs--multi-tty--0--patch-180
|
| |
|
|
| |
git-archimport-id: lorentey@elte.hu--2004/emacs--multi-tty--0--patch-177
|
| |
|
|
| |
git-archimport-id: lorentey@elte.hu--2004/emacs--multi-tty--0--patch-172
|
| |
|
|
|
|
|
|
| |
lisp/international/mule-cmds.el (set-locale-environment): Don't set
keyboard-coding-system if it is already set (reported by Friedrich
Delgado Friedrichs).
git-archimport-id: lorentey@elte.hu--2004/emacs--multi-tty--0--patch-165
|
| |
|
|
|
|
|
|
|
|
|
| |
lisp/loadup.el: Unconditionally preload server.
lisp/server.el: Change server-getenv to a simple defun.
src/Makefile.in (lisp, shortlisp): Added server.elc.
mac/makefile.MPW (LispSource): Ditto.
git-archimport-id: lorentey@elte.hu--2004/emacs--multi-tty--0--patch-164
|
| |
|
|
|
|
|
|
|
|
|
| |
lisp/server.el (server-getenv): New inline function.
lisp/term/rxvt.el (rxvt-set-background-mode): Use server-getenv
instead of getenv.
lisp/term/x-win.el (x-initialize-window-system): Ditto.
lisp/term/xterm.el (xterm-rxvt-set-background-mode): Ditto.
git-archimport-id: lorentey@elte.hu--2004/emacs--multi-tty--0--patch-158
|
| |
|
|
| |
git-archimport-id: lorentey@elte.hu--2004/emacs--multi-tty--0--patch-151
|
| |
|
|
|
|
|
| |
lisp/server.el (server-process-filter): Work around make-frame
frame parameter bogosity by using modify-frame-parameters.
git-archimport-id: lorentey@elte.hu--2004/emacs--multi-tty--0--patch-145
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
lib-src/emacsclient.c (xstrdup): New function.
(quote_argument): Use xmalloc, not malloc.
(main): Send environment variable values.
lisp/server.el (server-clients): Documentation update.
(server-ttys, server-frames): Removed.
(server-client, server-client-get, server-client-set)
(server-clients-with, server-add-client)
(server-delete-client): New functions.
(server-sentinel, server-handle-suspend-tty)
(server-handle-delete-tty, server-handle-delete-frame)
(server-start, server-process-filter, server-visit-files)
(server-buffer-done, server-kill-buffer-query-function)
(server-kill-emacs-query-function, server-switch-buffer): Use them.
(server-log): Handle both kinds of client references.
(server-start): Set up all hooks here.
(server-process-filter): Cleanup. Store version in client.
Handle -env commands for passing environment variable values.
(server-buffer-done): Don't close clients that were created bufferless.
(server-switch-buffer): Only look at frameless clients.
Don't switch away from current buffer if there is no next-buffer.
(server-unload-hook): Remove frame/tty hooks, too.
lisp/server.el (server-quote-arg, server-unquote-arg)
(server-process-filter, server-kill-buffer-query-function)
(server-kill-emacs-query-function): Doc update.
(server-buffer-done, server-switch-buffer): Use buffer-live-p, not
buffer-name.
git-archimport-id: lorentey@elte.hu--2004/emacs--multi-tty--0--patch-143
|
| |
|
|
| |
git-archimport-id: lorentey@elte.hu--2004/emacs--multi-tty--0--patch-141
|
| |
|
|
| |
git-archimport-id: lorentey@elte.hu--2004/emacs--multi-tty--0--patch-137
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
lisp/simple.el: Make interprogram-cut-function and
interprogram-paste-function frame-local. (Reported by Mark Plaksin
and Robert Chassell).
lisp/faces.el (x-create-frame-with-faces)
(tty-create-frame-with-faces): Set the interprogram-cut-function and
interprogram-paste-function frame parameters.
lisp/x-win.el (x-initialize-window-system): Don't set
interprogram-cut-function and interprogram-paste-function.
git-archimport-id: lorentey@elte.hu--2004/emacs--multi-tty--0--patch-124
|
| |
|
|
| |
git-archimport-id: lorentey@elte.hu--2004/emacs--multi-tty--0--patch-116
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
lisp/faces.el (frame-set-background-mode): Guess the background mode
on terminal frames from the termcap type string.
(tty-create-frame-with-faces): Switch to the new frame during its setup.
Load the customization library corresponding to the terminal type of the
newly created frame. (Reported by Dan Nicolaescu <dann at ics dot uci dot edu>.)
lisp/startup.el (normal-top-level): Moved background-mode heuristic to
frame-set-background-mode.
src/dispnew.c (init_display): Update the tty-type frame parameter of
the initial terminal frame.
src/frame.h (Qtty, Qtty_type): New externs.
src/term.c (term_init): Update comments.
git-archimport-id: lorentey@elte.hu--2004/emacs--multi-tty--0--patch-114
|
| |
|
|
| |
git-archimport-id: lorentey@elte.hu--2004/emacs--multi-tty--0--patch-110
|
| |
|
|
| |
git-archimport-id: lorentey@elte.hu--2004/emacs--multi-tty--0--patch-109
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
lib-src/emacsclient.c (quote_file_name): Renamed to quote_argument.
(unquote_argument, handle_sigcont, handle_sigtstp): New functions.
(out, in): New global variables for communicating with the Emacs process.
(init_signals): Set up handlers for SIGCONT, SIGTSTP and SIGTTOU.
(main): Changed out and in to global variables. Prepend `-eval' or
'-file' to each argument. Use fsync to force sending the strings to Emacs.
Removed obsolete -bad-version code. Support the -suspend command.
Cleaned up newline handling.
lisp/frame.el (suspend-frame): New function.
Substitute key definition of suspend-emacs with suspend-frame.
lisp/server.el (server-log): Cosmetic change in log format.
(server-handle-delete-tty, server-handle-delete-frame): Added logging.
(server-handle-suspend-tty, server-quote-arg): New functions.
(server-start): Install server-handle-suspend-tty.
(server-process-filter): Reorganized source code for clarity.
Implemented -resume, -suspend and -ignore commands.
lisp/term/x-win.el (x-initialize-window-system): Don't change the
binding of C-z.
src/cm.c: Replaced TTY_INPUT, TTY_OUTPUT, TTY_TERMSCRIPT calls with
their macro expansion.
src/dispnew.c: Ditto.
src/frame.c: Ditto.
src/keyboard.c: Ditto.
src/sysdep.c: Ditto.
src/keyboard.c (tty_read_avail_input): Don't read if the terminal is
suspended.
src/sysdep.c (discard_tty_input, init_sys_modes, reset_sys_modes): Ditto.
src/term.c (tty_set_terminal_modes, tty_reset_terminal_modes): Ditto.
src/term.c (Vsuspend_tty_functions, Vresume_tty_functions): New hooks.
(syms_of_term): Defvar them.
(term_init): Don't allow opening a new frame on a suspended tty device.
(Fsuspend_tty, Fresume_tty): New functions.
(syms_of_term): Defsubr them.
src/termchar.c (struct tty_display_info): Update documentation of
input and output.
(TTY_INPUT, TTY_OUTPUT, TTY_TERMSCRIPT): Removed.
git-archimport-id: lorentey@elte.hu--2004/emacs--multi-tty--0--patch-105
|
| |
|
|
|
|
|
| |
lib-src/emacsclient.c (main): Exit with failure if the terminal type
is `eterm' (Emacs term buffer).
git-archimport-id: lorentey@elte.hu--2004/emacs--multi-tty--0--patch-104
|
| |
|
|
| |
git-archimport-id: lorentey@elte.hu--2004/emacs--multi-tty--0--patch-103
|
| |
|
|
| |
git-archimport-id: lorentey@elte.hu--2004/emacs--multi-tty--0--patch-95
|