1. 31 Dec, 2003 1 commit
    • Karoly Lorentey's avatar
      A few more bugfixes and new features. · 819b8f00
      Karoly Lorentey authored
      (Sigh.)  I obviously need to remember to separate individual changes
      to multiple commits.
      src/emacsclient.c: Improved error handling.
      (decode_options): Changed frame option (again) from -f to -t.
      (print_help_and_exit): Ditto.
      (copy_from_to): Check EINTR after write, not EAGAIN.  Removed SIGIO hack.
      (pty_conversation): Handle errors transmitted through the socket.
      Handle pty errors by not reading from it anymore.
      (main): Restore correct errno after socket_status failed.  Send -tty
      on -t, not -pty.
      lisp/server.el (server-process-filter): Watch -tty, not -pty.
      Use make-frame-on-tty instead of make-terminal-frame.
      Don't set newframe to t if make-frame-on-tty failed.
      Don't delete frames here.  Print correct message when there are no
      files to edit, but a new frame was requested.
      (server-sentinel): Delete the frame after the process.
      (server-handle-delete-frame): New function for delete-frame-functions.
      (server-start): Add server-handle-delete-frame to delete-frame-functions.
      (server-buffer-done): Don't delete frames here.
      src/alloc.c (mark_ttys): Add prototype.
      (Fgarbage_collect): Call mark_ttys.
      src/emacs.c: (shut_down_emacs): Don't flush stdout before
      src/process.c (add_keyboard_wait_descriptor_called_flag): Removed.
      (add_keyboard_wait_descriptor): Removed stdin hack.
      src/sysdep.c: Unconditionally include sysselect.h.
      (old_fcntl_flags): Changed to an array.
      (init_sigio, reset_sigio): Use it.
      (narrow_foreground_group, widen_foreground_group): Use setpgid, not
      (old_fcntl_owner): Changed to an array.
      (init_sys_modes, reset_sys_modes): Use it.  Fix fsync() and reset_sigio() calls.
      src/term.c (Qframe_tty_name, Qframe_tty_type): New variables.
      (syms_of_term): Initialize them.
      (Fframe_tty_name, Fframe_tty_type): New functions.
      (term_init): Call add_keyboard_wait_descriptor().
      (Fdelete_tty): New function.
      (delete_tty): Call delete_keyboard_wait_descriptor().
      (get_current_tty): Removed.
      (mark_ttys): New function.
      git-archimport-id: lorentey@elte.hu--2004/emacs--multi-tty--0--patch-28
  2. 30 Dec, 2003 14 commits
    • Karoly Lorentey's avatar
      Major bugfixes and slight enhancements. · 16c290d8
      Karoly Lorentey authored
      src/dispextern.h (get_tty_size, tabs_safe_p, init_baud_rate): Update
      src/dispnew.c (window_change_signal): Update call to get_tty_size.
      src/frame.c (Fmake_terminal_frame): Ditto.
      src/keyboard.c (Fsuspend_emacs): Ditto.
      src/sysdep.c: Eliminate tty_outputs, wherever possible.  (The
      exceptions are init_sys_modes and reset_sys_modes, which need access
      to tty-local parameters).
      (init_baud_rate): Change tty_output parameter to a simple file descriptor.
      (narrow_foreground_group, widen_foreground_group): Ditto.
      (tabs_safe_p, get_tty_size): Ditto.
      (init_sys_modes): Update narrow_foreground_group invocation.
      (reset_sys_modes): Update widen_foreground_group invocation.
      (request_sigio)[!FASYNC && STRIDE]: Fix function signature.
      src/term.c (delete_tty): Only close output file handle if it is
      different from input.  Re-enable freeing of Wcm.
      (term_init): Update get_tty_size, tabs_safe_p and init_baud_rate
      lib-src/emacsclient.c (here): Renamed to frame.
      (longopts): Change --here to --frame.  The -h short option may be
      confused with --help.
      (decode_options, print_help_and_exit): Update to reflect above changes.
      (main): Ditto.
      lisp/server.el (server-start): Fix frame-live-p call syntax.
      (server-process-filter): Handle 'emacsclient -f' without file
      arguments.  Don't return any values to emacsclient when 'emacsclient
      -f -e'.
      (server-switch-buffer): Prevent infinite recursion when there are no
      files to edit.
      git-archimport-id: lorentey@elte.hu--2004/emacs--multi-tty--0--patch-27
    • Karoly Lorentey's avatar
      Undo patch-23. I need a coffee. · 9d9f1812
      Karoly Lorentey authored
      src/sysdep.c (sys_select): Restore previous #ifdef.
      git-archimport-id: lorentey@elte.hu--2004/emacs--multi-tty--0--patch-26
    • Karoly Lorentey's avatar
      Delete server frames on server restart. · 22de1e79
      Karoly Lorentey authored
      lisp/server.el (server-start): Delete any remaining opened frames of
      the previous server.
      (server-sentinel, server-process-filter): Force deleting the frame.
      (server-buffer-done): Ditto.
      git-archimport-id: lorentey@elte.hu--2004/emacs--multi-tty--0--patch-25
    • Karoly Lorentey's avatar
      Merged in changes from CVS head · 7c3a2615
      Karoly Lorentey authored
      Patches applied:
       * miles@gnu.org--gnu-2004/emacs--cvs-trunk--0--patch-5
         Add =cvs-sync-make-log script
       * miles@gnu.org--gnu-2004/emacs--cvs-trunk--0--patch-6
         Update from CVS
       * miles@gnu.org--gnu-2004/emacs--cvs-trunk--0--patch-7
         Use absolute tla-tools filenames in =cvs-sync-make-log
       * miles@gnu.org--gnu-2004/emacs--cvs-trunk--0--patch-8
         Use proper arch-tag: syntax for lispintro/texinfo.tex
       * miles@gnu.org--gnu-2004/emacs--cvs-trunk--0--patch-9
         Update from CVS
      git-archimport-id: lorentey@elte.hu--2004/emacs--multi-tty--0--patch-24
    • Karoly Lorentey's avatar
      Don't compile sys_select on systems that don't need it. · c1c63edb
      Karoly Lorentey authored
      src/sysdep.c (sys_select): This function is unnecessary on most
      systems, so #ifdef it out.
      git-archimport-id: lorentey@elte.hu--2004/emacs--multi-tty--0--patch-23
    • Miles Bader's avatar
      Use arch-tag: syntax that tla can grok · 8a37230a
      Miles Bader authored
    • Eli Zaretskii's avatar
      (rmail-convert-to-babyl-format): Fix off-by-one · 37ec692a
      Eli Zaretskii authored
      error in arguments to base64-decode-region.  Remove ^M characters
      after decoding base64.
    • Simon Josefsson's avatar
      Change maintainer to FSF. Suggested by · 630dd250
      Simon Josefsson authored
      karl@freefriends.org (Karl Berry), since the Texinfo Elisp files
      have only been distributed with Emacs for some years.
      (texinfo-mode-hook): Customize.
    • Eli Zaretskii's avatar
      (rmail-convert-to-babyl-format): Make the code · fa8f290e
      Eli Zaretskii authored
      cleaner (suggested by Richard M. Stallman).
    • Eli Zaretskii's avatar
      *** empty log message *** · d9e0b412
      Eli Zaretskii authored
    • Eli Zaretskii's avatar
      (gud-tool-bar-map): Modify names of icon files · 74c942de
      Eli Zaretskii authored
      for gud-next, gud-nexti, gud-step and gud-stepi to prevent
      file-name clashes on 8+3 DOS filesystems.
    • Eli Zaretskii's avatar
      * toolbar/gud-next.pbm, toolbar/gud-next.xpm · 4a5ad08e
      Eli Zaretskii authored
      * toolbar/gud-nexti.pbm, toolbar/gud-nexti.xpm
      * toolbar/gud-step.pbm, toolbar/gud-step.xpm
      * toolbar/gud-stepi.pbm, toolbar/gud-stepi.xpm: Renamed to
      gud-n.*, gud-ni.*, gud-s.*, and gud-si.*, respectively, to avoid
      file-name clashes on 8+3 filesystems.
    • Eli Zaretskii's avatar
      emacs-lisp/tcover-unsafep.el, emacs-lisp/tcover-ses.el: Renamed · ab5136ea
      Eli Zaretskii authored
      from testcover-unsafep.el and testcover-ses.el to avoid file-name
      clashes on 8+3 DOS filesystems.
    • Eli Zaretskii's avatar
      Renamed INSTALL-CVS to INSTALL.CVS to avoid file-name · 462c6e81
      Eli Zaretskii authored
      clashes with install-sh on 8+3 filesystems.
  3. 29 Dec, 2003 25 commits