1. 07 Sep, 2005 1 commit
    • Karoly Lorentey's avatar
      Slightly refactor the terminal initialization code for simplicity. · cd85984a
      Karoly Lorentey authored
      * lisp/faces.el (tty-run-terminal-initialization): New function.
        (tty-create-frame-with-faces): Use it.
      * lisp/startup.el (command-line): Replace duplicated code with a call to
      git-archimport-id: lorentey@elte.hu--2004/emacs--multi-tty--0--patch-399
  2. 25 Aug, 2005 1 commit
  3. 04 Aug, 2005 1 commit
    • Karoly Lorentey's avatar
      Work around crashes in X session management after normal shutdown of X server. · d51abf22
      Karoly Lorentey authored
      * src/xsmfns.c (x_session_close): New function.
      * src/xterm.h: Declare it.
      * src/xterm.c (XTread_socket): Don't call x_session_check_input for
        secondary displays.
        (x_term_init): Do not initialize X session management when the initial
        display was a tty frame.
        (x_delete_display): Close X session management when we close its display.
      git-archimport-id: lorentey@elte.hu--2004/emacs--multi-tty--0--patch-390
  4. 11 Jul, 2005 2 commits
    • Karoly Lorentey's avatar
      README update. · a9d63618
      Karoly Lorentey authored
      git-archimport-id: lorentey@elte.hu--2004/emacs--multi-tty--0--patch-385
    • Karoly Lorentey's avatar
      Rename `struct display' to `struct device'. Update function, parameter and... · 7e59217d
      Karoly Lorentey authored
      Rename `struct display' to `struct device'.  Update function, parameter and 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.
      * 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
  5. 10 Jul, 2005 1 commit
    • Karoly Lorentey's avatar
      README update. · 3e6f836c
      Karoly Lorentey authored
      git-archimport-id: lorentey@elte.hu--2004/emacs--multi-tty--0--patch-380
  6. 06 Jul, 2005 1 commit
    • Karoly Lorentey's avatar
      Implement rudimentary Lisp-level terminal parameters. · 4400e764
      Karoly Lorentey authored
      * 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
      git-archimport-id: lorentey@elte.hu--2004/emacs--multi-tty--0--patch-373
  7. 28 Jun, 2005 1 commit
  8. 27 Jun, 2005 1 commit
    • Karoly Lorentey's avatar
      Work around nondeterministic binding of terminal-local variables. (Fixes... · 2a42d440
      Karoly Lorentey authored
      Work around nondeterministic binding of terminal-local variables.  (Fixes 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
  9. 26 Jun, 2005 1 commit
  10. 03 May, 2005 2 commits
    • Karoly Lorentey's avatar
      Support for ttys with different character locale settings. · 97c57fb2
      Karoly Lorentey authored
      * 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
    • Karoly Lorentey's avatar
      Fix UTF-8 tty input when first frame is an X frame. Steps towards multiple tty locale support. · 68bba4e4
      Karoly Lorentey authored
      * 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
      * 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
  11. 28 Mar, 2005 1 commit
  12. 22 Mar, 2005 1 commit
  13. 07 Mar, 2005 1 commit
  14. 04 Feb, 2005 1 commit
  15. 09 Dec, 2004 1 commit
    • Karoly Lorentey's avatar
      README update. · 97b977db
      Karoly Lorentey authored
      git-archimport-id: lorentey@elte.hu--2004/emacs--multi-tty--0--patch-275
  16. 08 Dec, 2004 1 commit
    • Karoly Lorentey's avatar
      Trivial changes in x_create_tip_frame. · 9d3d44ba
      Karoly Lorentey authored
      * 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
  17. 28 Nov, 2004 1 commit
    • Karoly Lorentey's avatar
      Remove remaining references to updating_frame. · 856dd475
      Karoly Lorentey authored
      * src/dispextern.h (updated_window): Remove comment reference to
      * 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
  18. 14 Oct, 2004 1 commit
    • Karoly Lorentey's avatar
      Fix core dump in redisplay window. (Reported by Yoshiaki Kasahara.) Plus cleanups. · ec160444
      Karoly Lorentey authored
      * src/xdisp.c (handle_single_display_prop): Use FRAME_WINDOW_P instead of
        checking against specific frame types.  Ignore images on non-window
        (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
  19. 20 Sep, 2004 1 commit
  20. 10 Sep, 2004 1 commit
  21. 23 Aug, 2004 1 commit
  22. 19 Aug, 2004 1 commit
  23. 13 Aug, 2004 1 commit
  24. 11 Aug, 2004 1 commit
  25. 05 Aug, 2004 1 commit
  26. 10 Jul, 2004 1 commit
  27. 04 Jul, 2004 1 commit
    • Karoly Lorentey's avatar
      Implemented display ids for multiple emacsclients on the same tty. Plus assorted bugfixes. · b6660415
      Karoly Lorentey authored
      * 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
      (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
      (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
  28. 15 Jun, 2004 1 commit
  29. 08 Jun, 2004 1 commit
  30. 07 Jun, 2004 1 commit
  31. 29 May, 2004 1 commit
  32. 27 May, 2004 2 commits
  33. 23 May, 2004 1 commit
  34. 18 May, 2004 2 commits
  35. 08 May, 2004 1 commit
    • Karoly Lorentey's avatar
      Fixed environment variable handling during terminal initialization. · 2cd1371d
      Karoly Lorentey authored
      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
  36. 23 Apr, 2004 1 commit