1. 07 Mar, 2005 1 commit
  2. 04 Feb, 2005 1 commit
  3. 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
  4. 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
  5. 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
  6. 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
  7. 20 Sep, 2004 1 commit
  8. 10 Sep, 2004 1 commit
  9. 23 Aug, 2004 1 commit
  10. 19 Aug, 2004 1 commit
  11. 13 Aug, 2004 1 commit
  12. 11 Aug, 2004 1 commit
  13. 05 Aug, 2004 1 commit
  14. 10 Jul, 2004 1 commit
  15. 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
  16. 15 Jun, 2004 1 commit
  17. 08 Jun, 2004 1 commit
  18. 07 Jun, 2004 1 commit
  19. 29 May, 2004 1 commit
  20. 27 May, 2004 2 commits
  21. 23 May, 2004 1 commit
  22. 18 May, 2004 2 commits
  23. 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
  24. 23 Apr, 2004 1 commit
  25. 18 Apr, 2004 2 commits
    • Karoly Lorentey's avatar
      Fix frame parameter handling in server.el. · 54021676
      Karoly Lorentey authored
      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
    • Karoly Lorentey's avatar
      Another server.el overhaul. · 9002956f
      Karoly Lorentey authored
      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
      git-archimport-id: lorentey@elte.hu--2004/emacs--multi-tty--0--patch-143
  26. 17 Apr, 2004 1 commit
  27. 13 Apr, 2004 1 commit
  28. 26 Mar, 2004 1 commit
    • Karoly Lorentey's avatar
      Fix cut'n'paste during a multi-display session (Mark Plaksin, Robert Chassell). · 026ad6ba
      Karoly Lorentey authored
      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
  29. 11 Mar, 2004 2 commits
    • Karoly Lorentey's avatar
      README updates. · cd5355f9
      Karoly Lorentey authored
      git-archimport-id: lorentey@elte.hu--2004/emacs--multi-tty--0--patch-116
    • Karoly Lorentey's avatar
      Fix background-mode on terminal frames (Dan Nicolaescu). · 2666355c
      Karoly Lorentey authored
      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
      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
  30. 06 Mar, 2004 1 commit
  31. 02 Mar, 2004 1 commit
  32. 28 Feb, 2004 1 commit
    • Karoly Lorentey's avatar
      Implemented suspending of emacsclient frames. · 0b0d3e0b
      Karoly Lorentey authored
      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
      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.
      git-archimport-id: lorentey@elte.hu--2004/emacs--multi-tty--0--patch-105
  33. 27 Feb, 2004 2 commits
  34. 25 Feb, 2004 1 commit
  35. 20 Feb, 2004 1 commit