1. 03 Jan, 2004 10 commits
    • Karoly Lorentey's avatar
      Fix more SEGV cases in frame.c · f02480ab
      Karoly Lorentey authored
      src/frame.c (Fmouse_pixel_position, Fraise_frame, Flower_frame)
      (Fredirect_frame_focus): Don't do anything if the current frame
      is a termcap frame.
      
      git-archimport-id: lorentey@elte.hu--2004/emacs--multi-tty--0--patch-43
      f02480ab
    • Karoly Lorentey's avatar
      Merged in changes from CVS HEAD · 6121cb80
      Karoly Lorentey authored
      Patches applied:
      
       * miles@gnu.org--gnu-2004/emacs--cvs-trunk--0--patch-16
         Update from CVS
      
      
      git-archimport-id: lorentey@elte.hu--2004/emacs--multi-tty--0--patch-42
      6121cb80
    • Karoly Lorentey's avatar
      Add "multi-tty" to emacs-version output. · f0e2c284
      Karoly Lorentey authored
      lisp/version.el (emacs-version): Add multi-tty to output if (featurep
      'multi-tty).  Suggested by Romain Francoise <romain@orebokech.com>.
      
      git-archimport-id: lorentey@elte.hu--2004/emacs--multi-tty--0--patch-41
      f0e2c284
    • Karoly Lorentey's avatar
      Fix mouse-position for tty+X combo sessions. · fa013bce
      Karoly Lorentey authored
      frame.c (Fmouse_position): Don't call mouse_position_hook if the frame
      is a termcap frame.  (Reported by Romain Francoise <romain@orebokech.com>.)
      
      git-archimport-id: lorentey@elte.hu--2004/emacs--multi-tty--0--patch-40
      fa013bce
    • Eli Zaretskii's avatar
      * progmodes/idlwave.el (idlwave-make-tags): · 15502042
      Eli Zaretskii authored
      * textmodes/flyspell.el (flyspell-large-region):.
      * progmodes/make-mode.el (makefile-query-by-make-minus-q):
      * emulation/viper-util.el (viper-glob-unix-files):
      * emacs-lisp/shadow.el (shadow-same-file-or-nonexistent):
      * man.el (Man-init-defvars):
      * jka-compr.el (jka-compr-call-process):
      * files.el (get-free-disk-space,insert-directory):
      * ediff-ptch.el (ediff-test-patch-utility):
      * ediff-diff.el (ediff-test-utility):
      * dired-aux.el (dired-check-process):
      * mail/sendmail.el (sendmail-send-it): Don't use = or zerop to
      test the return value of call-process, because it can be a string.
      15502042
    • Karoly Lorentey's avatar
      Fixed typo in talk.el (again). · 20274f2b
      Karoly Lorentey authored
      lisp/talk.el (talk): Fixed byte compiler warning.
      
      git-archimport-id: lorentey@elte.hu--2004/emacs--multi-tty--0--patch-39
      20274f2b
    • Karoly Lorentey's avatar
      Fixed typo in talk.el. · 26f102d7
      Karoly Lorentey authored
      lisp/talk.el (talk-handle-delete-tty): Fixed typo.
      
      git-archimport-id: lorentey@elte.hu--2004/emacs--multi-tty--0--patch-38
      26f102d7
    • Karoly Lorentey's avatar
      Added multi-tty support for talk.el. · 17086732
      Karoly Lorentey authored
      lisp/talk.el: Extended for multi-tty support.
      (talk, talk-add-tty-frame, talk-handle-delete-tty): New functions.
      
      git-archimport-id: lorentey@elte.hu--2004/emacs--multi-tty--0--patch-37
      17086732
    • Karoly Lorentey's avatar
      Merged in changes from CVS HEAD · 72d78565
      Karoly Lorentey authored
      Patches applied:
      
       * miles@gnu.org--gnu-2004/emacs--cvs-trunk--0--patch-15
         Update from CVS
      
      
      git-archimport-id: lorentey@elte.hu--2004/emacs--multi-tty--0--patch-36
      72d78565
    • Karoly Lorentey's avatar
      Portability fixes (now it compiles & runs fine on Solaris). · 4d553a13
      Karoly Lorentey authored
      lib-src/emacsclient.c: Removed tty proxy kludge.  Emacs should just
      use the same terminal as emacsclient.
      (ec_get_tty, ec_set_tty, master, pty_name, old_tty, tty, old_tty_valid)
      (tty_erase_char, quit_char, flow_control, meta_key, _sobuf, init_tty)
      (window_change, reset_tty, init_pty, copy_from_to)
      (pty_conversation): Removed.
      (window_change_signal): Just forward the signal to Emacs, don't do
      anything else.
      (init_signals): Don't set handlers for SIGHUP & SIGINT.
      (strprefix): New function.
      (main): Don't touch the terminal, simply tell its name to Emacs.
      
      lisp/server.el (server-frames): Changed name and semantics to server-ttys.
      (server-tty-live-p): New function.
      (server-sentinel): Delete the whole tty, not just the frame.
      (server-handle-delete-frame): Removed.
      (server-handle-delete-tty): New function. Close the client connection if
      the tty is deleted.
      (server-start): Clean up server-ttys, not server-frames.  Set up
      delete-tty-after-functions.
      (server-process-filter): Set up server-ttys, not server-frames.
      Updated protocol for sending our pid to emacsclient.
      (server-buffer-done): Don't delete the client process directly, delete
      the tty instead, and rely on the delete-tty hook to close the
      connection.  Otherwise the terminal could be left in a bad state.
      
      src/cm.c (cmputc): Don't abort on write errors.
      
      src/indent.c: #include <stdio.h>, for termchar.h.
      src/window.c: Ditto.
      src/xfaces.c: Ditto.
      
      src/sysdep.c (init_sigio, reset_sigio, request_sigio)[!SIGIO]
      (unrequest_sigio)[!SIGIO]: If SIGIO is not supported, don't do
      anything. (For Solaris.)
      (init_sys_modes): Moved tty_set_terminal_modes call back to here,
      disable window system check.
      (reset_sys_modes): Reset the terminal even if X is running.
      
      src/term.c (Vdelete_tty_after_functions): New variable.
      (syms_of_term): Initialize it.
      (Fdelete_tty): Updated docs.
      (delete_tty): Run delete-tty-after-functions.
      (term_init): Removed tty_set_terminal_modes call.
      
      git-archimport-id: lorentey@elte.hu--2004/emacs--multi-tty--0--patch-35
      4d553a13
  2. 02 Jan, 2004 7 commits
    • Andreas Schwab's avatar
      (emacs_options, x_initialized, same_x_server): Remove · 181e6a61
      Andreas Schwab authored
      unused (and duplicated) definitions.
      181e6a61
    • Stephen Eglen's avatar
      Update URL for ESS. · 1fc36e9e
      Stephen Eglen authored
      1fc36e9e
    • Karoly Lorentey's avatar
      Fix longopts option name for --tty. · b28c910d
      Karoly Lorentey authored
      lib-src/emacsclient.c (longopts): Fix --tty and -t.
      
      git-archimport-id: lorentey@elte.hu--2004/emacs--multi-tty--0--patch-34
      b28c910d
    • Karoly Lorentey's avatar
      Merged in changes from CVS HEAD · eb9332fa
      Karoly Lorentey authored
      Patches applied:
      
       * miles@gnu.org--gnu-2004/emacs--cvs-trunk--0--patch-10
         Update from CVS
      
       * miles@gnu.org--gnu-2004/emacs--cvs-trunk--0--patch-11
         Update from CVS
      
       * miles@gnu.org--gnu-2004/emacs--cvs-trunk--0--patch-12
         Add section on button package to lisp reference manual
      
       * miles@gnu.org--gnu-2004/emacs--cvs-trunk--0--patch-13
         Minor tweaks to Buttons section in lispref/display.texi
      
       * miles@gnu.org--gnu-2004/emacs--cvs-trunk--0--patch-14
         Update from CVS
      
      
      git-archimport-id: lorentey@elte.hu--2004/emacs--multi-tty--0--patch-33
      eb9332fa
    • Karoly Lorentey's avatar
      Got rid of the rif (window-based redisplay interface) global variable. · fa971ac3
      Karoly Lorentey authored
      src/dispextern.h (PRODUCE_GLYPHS): Use the rif in IT->f, not the global rif.
      (rif): Removed.
      
      src/dispnew.c (rif): Removed.
      (direct_output_for_insert, direct_output_forward_char, update_frame)
      (redraw_overlapped_rows, redraw_overlapping_rows, update_window)
      (update_marginal_area, update_text_area, update_window_line)
      (set_window_cursor_after_update, scrolling_window): Use the rif of the
      current frame, not the global rif.
      
      src/fontset.c: #include termhooks.h, for FRAME_RIF.
      (Finternal_char_font): Use the rif of the current frame.
      
      src/frame.c (x_set_frame_parameters): Use the rif of the current frame.
      
      src/keyboard.c (detect_input_pending_run_timers): Use the rif of the
      current frame.
      
      src/minibuf.c: #include termhooks.h, for FRAME_RIF.
      (read_minibuf): Use the rif of the current frame.
      
      src/term.c (update_begin): Removed rif update hack.
      
      src/termhooks.h (FRAME_RIF): New macro.
      
      src/xdisp.c (init_iterator, expose_frame): Removed rif update hack.
      (echo_area_display, x_cursor_to, draw_fringe_bitmap)
      (try_window_reusing_current_matrix, try_window_id)
      (get_glyph_face_and_encoding, x_get_glyph_overhangs)
      (get_char_face_and_encoding, compute_overhangs_and_x, draw_glyphs)
      (x_produce_glyphs, x_insert_glyphs, x_clear_end_of_line)
      (erase_phys_cursor, display_and_set_cursor, show_mouse_face)
      (define_frame_cursor1, x_draw_vertical_border): Use the rif of the
      current frame.
      
      src/xfns.c (Fx_create_frame): Removed rif update hack.
      src/xterm.c (frame_highlight, frame_unhighlight): Ditto.
      
      
      git-archimport-id: lorentey@elte.hu--2004/emacs--multi-tty--0--patch-32
      fa971ac3
    • Karoly Lorentey's avatar
      MULTI_KBOARD support for ttys. Input-related bugfixes for X+tty sessions. · 7b00d185
      Karoly Lorentey authored
      lib-src/emacsclient.c (pty_conversation): Fix errno check for read from fileno(in).
      
      src/config.in: Unconditionally define MULTI_KBOARD.
      
      src/frame.c (make_terminal_frame): Initialize f->kboard.
      
      src/keyboard.c (cmd_error_internal): Don't kill Emacs if a Quit was
      pressed on the tty of a X+tty session.
      (read_avail_input): Initialize nread to zero.  Abort if there is no
      tty after a termcap read.
      (interrupt_signal)[USG]: Always reset signal handler.
      (init_keyboard): Always set signal handler for SIGINT/SIGQUIT if
      noninteractive.
      
      src/term.c (term_dummy_init): Initialize kboard to the initial_kboard.
      (term_init): Free component structures of the initial tty. Clear xmalloced structures.
      Moved rif initialization to syms_of_term.
      (term_init)[MULTI_KBOARD]: Initialize tty->kboard.
      (delete_tty)[MULTI_KBOARD]: Delete the keyboard.
      (syms_of_term): Initialize tty_display_method_template.
      
      src/termchar.h (tty_output)[MULTI_KBOARD]: Added kboard member.
      
      git-archimport-id: lorentey@elte.hu--2004/emacs--multi-tty--0--patch-31
      7b00d185
    • Karoly Lorentey's avatar
      Fixed X support, preliminary support for X-tty combo sessions. · daf01701
      Karoly Lorentey authored
      lib-src/emacsclient.c (copy_from_to, pty_conversation): Re-added SIGIO
      hack.  (Sigh.)
      
      lisp/frame.el (make-frame-on-tty): Use make-terminal-frame, not
      make-frame.
      
      src/dispnew.c (line_hash_code, line_draw_cost): Updated to use
      the new display_method parameters.
      (Fredraw_frame): fflush the tty only if f is a termcap frame.
      (direct_output_for_insert): Updated to use the new display_method
      parameters. fflush the tty only if f is a termcap frame.
      (direct_output_forward_char, update_frame_1, scrolling): Ditto.
      (update_frame_line, Fding, bitch_at_user): Ditto.
      (Fsend_string_to_terminal): Fail if current frame is not on a tty.
      (init_display): Frame size change is safe here.
      
      
      src/frame.c (Vterminal_frame): Restored previously deleted variable.
      (syms_of_frame): Initialize it.
      (make_terminal_frame): Copy the frame's display_method from tty_display_info.
      (Fmake_terminal_frame): Enable simultaneous X and tty frames (buggy).
      (Fredirect_frame_focus): Don't call frame_rehighlight_hook if frame
      is on a termcap device.
      
      src/frame.h (struct frame): Renamed display to display_method.
      (Vterminal_frame): Re-added declaration.
      
      src/keyboard.c (flow_control): Moved to struct tty_display_info.
      (read_avail_input): Check ttys even if there is a read_socket_hook.
      (Fset_input_mode): Call reset_sys_modes/init_sys_modes and set
      flow_control or meta_key only when the frame is a termcap frame.
      (Fcurrent_input_mode): Handle flow_control and meta_key right on
      non-termcap frames.
      
      src/scroll.c (calculate_scrolling, calculate_direct_scrolling): Update
      to use the new display_method parameters.
      (scrolling_1, scroll_cost): Ditto.
      
      src/sysdep.c (init_sys_modes, reset_sys_modes): Always set the
      terminal parameters if tty_out->input is not stdin.  Updated to the
      new location of flow_control.
      (hft_init): Moved HFT init code to term_init, as it needs the frame.
      
      src/term.c (tty_display_method_template): New variable.
      (update_begin): Added rif hack.
      (set_terminal_window, ins_del_lines, term_init): Updated to use the
      new display_method parameters.
      (insert_glyphs, ins_del_lines): Only call insert_glyphs_hook if the
      current frame is not on a tty.
      (calculate_costs): Don't calculate costs if not on a tty.
      (term_dummy_init): Fixed tty->output initialization. Preallocate Wcm
      and display_method.
      (term_init): Allocate & initialize display_method.  Blindly fixed
      WINDOWSNT-specific parts.  Added HFT-specific initialization
      exception from hft_init.
      (delete_tty): Only delete termcap frames.  Free() the display_method.
      
      src/termchar.h (struct tty_display_info): Moved high-level terminal
      characteristics to struct display_method.  Added flow_control and
      display_method members.
      
      src/termhooks.h (struct display_method): New struct (renamed from
      struct device).  Added accessor macros.
      
      src/window.c (init_window_once): Initialize Vterminal_frame.
      
      src/xdisp.c (init_iterator, expose_frame): Added rif hack.
      (try_window_id): Updated to use the new display_method parameters.
      
      src/xfaces.c (realize_basic_faces): Don't call
      x_update_menu_appearance if the frame is a tty frame.
      
      src/xfns.c (Fx_create_frame): Added rif hack.  Initialize
      display_method.
      (x_create_tip_frame): Initialize display_method.
      
      src/xterm.c (x_display_method): New variable.
      (x_flush, x_frame_of_widget, XTmouse_position): Ignore non-X frames.
      (x_window_to_scroll_bar, x_window_to_menu_bar): Ditto.
      (xim_destroy_callback, xim_instantiate_callback): Ditto.
      (frame_highlight, frame_unhighlight): Added rif hack.
      (x_initialize): Don't initialize rif.  Do initialize x_display_method.
      
      src/xterm.h (x_display_method): New declaration.
      
      git-archimport-id: lorentey@elte.hu--2004/emacs--multi-tty--0--patch-30
      daf01701
  3. 01 Jan, 2004 7 commits
    • Kim F. Storm's avatar
      *** empty log message *** · 31e0fbdd
      Kim F. Storm authored
      31e0fbdd
    • Kim F. Storm's avatar
      (ADAPTIVE_READ_BUFFERING): New conditional. · 2d942bfa
      Kim F. Storm authored
      (READ_OUTPUT_DELAY_INCREMENT, READ_OUTPUT_DELAY_MAX)
      (READ_OUTPUT_DELAY_MAX_MAX): New constants.
      (process_output_delay_count, process_output_skip): New vars.
      (Vprocess_adaptive_read_buffering): New variable.
      (make_process): Initialize adaptive read buffering members.
      (Fstart_process): Set adaptive_read_buffering member.
      (deactivate_process): Cleanup adaptive read buffering.
      (wait_reading_process_input): Temporarily omit delayed
      subprocesses from the set of file descriptors to read from;
      adjust the select timeout if we skipped any subprocesses.
      (read_process_output): Increase adaptive read buffering delay if
      we read less than a full buffer; reduce delay when we read a
      full buffer.
      (send_process): Simplify using local Lisp_Process var.
      Reset adaptive read buffering delay after write.
      (init_process): Initialize process_output_delay_count and
      process_output_skip.
      (syms_of_process): DEFVAR_LISP Vprocess_adaptive_read_buffering.
      2d942bfa
    • Kim F. Storm's avatar
      (struct Lisp_Process): New members for adaptive read · 2ba4be11
      Kim F. Storm authored
      buffering: adaptive_read_buffering, read_output_delay, and
      read_output_skip.
      2ba4be11
    • Jason Rumney's avatar
    • Karoly Lorentey's avatar
      Separate frame-local, tty-dependent parameters from tty-local parameters. · 28d7d09f
      Karoly Lorentey authored
      src/termchar.h (struct tty_output): Redefined to contain frame-local
      tty-dependent parameters.  (Currently there are no such parameters, so
      it consists of the tty_display_info pointer.)
      (struct tty_display_info): New structure, with reference_count.
      (FRAME_TTY): Updated to reflect new termcap frame structure.
      
      src/term.c: Update prototypes. Use tty_display_info instead of tty_output.
      
      src/cm.c (current_tty, cmcheckmagic, cmcostinit, calccost, cmgoto, Wcm_clear)
      (Wcm_init): Use tty_display_info instead of tty_output.
      
      src/cm.h: Update prototypes.
      src/dispextern.h: Ditto.
      
      src/dispnew.c (window_change_signal, init_display, make_terminal_frame):
      Use tty_display_info instead of tty_output.
      
      src/frame.c (Fdelete_frame): Use tty_display_info instead of
      tty_output.  Fix delete_tty check.
      (make_terminal_frame): Allocate f->output_data.tty.  Increase
      reference count of tty device.
      (delete_frame): Free f->output_data.tty.  Use reference count to
      decide if the tty should be closed.
      
      src/frame.h (FRAME_FOREGROUND_PIXEL, FRAME_BACKGROUND_PIXEL): New,
      unconditional definitions.
      (struct device): New declaration (at the moment, it is defined as
      empty in termhooks.h).
      (struct frame): Added display, background_pixel, foreground_pixel member.
      
      src/keyboard.c (read_avail_input): Use tty_display_info instead of tty_output.
      
      src/lisp.h: Declare struct display.  Update prototypes.
      
      src/sysdep.c: Update prototypes.
      (discard_tty_input, init_all_sys_modes, init_sys_modes, reset_all_sys_modes)
      (reset_sys_modes, hft_init, hft_reset): Use tty_display_info instead
      of tty_output.
      
      
      git-archimport-id: lorentey@elte.hu--2004/emacs--multi-tty--0--patch-29
      28d7d09f
    • Miles Bader's avatar
      Revision: miles@gnu.org--gnu-2004/emacs--cvs-trunk--0--patch-13 · a3cb3b2e
      Miles Bader authored
      Minor tweaks to Buttons section in lispref/display.texi
      a3cb3b2e
    • Miles Bader's avatar
      Revision: miles@gnu.org--gnu-2004/emacs--cvs-trunk--0--patch-12 · 02c77ee9
      Miles Bader authored
      Add section on button package to lisp reference manual
      
      * lispref/display.texi (Buttons): New section.
      02c77ee9
  4. 31 Dec, 2003 7 commits
    • Andreas Schwab's avatar
      (Math Functions): sqrt reports a domain-error · 903a1a91
      Andreas Schwab authored
      error.
      (Float Basics): Use `(/ 0.0 0.0)' instead of `(sqrt -1.0)'.
      903a1a91
    • 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
      reset_sys_modes().
      
      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
      setpgrp.
      (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
      819b8f00
    • John Paul Wallington's avatar
      b2236c89
    • Luc Teirlinck's avatar
      *** empty log message *** · 3f70fe82
      Luc Teirlinck authored
      3f70fe82
    • Luc Teirlinck's avatar
    • Luc Teirlinck's avatar
      (Ferror_message_string): Add hyperlink to the definition of `signal' · f82ec1e6
      Luc Teirlinck authored
      in the Elisp manual.
      f82ec1e6
    • Kim F. Storm's avatar
      (ido-nonreadable-directory-p): New defun to check for · 866f2239
      Kim F. Storm authored
      nonreadable directory without activating tramp to avoid problems
      with checking incomplete tramp paths.
      (ido-set-current-directory, ido-file-internal)
      (ido-file-name-all-completions1): Use it.
      866f2239
  5. 30 Dec, 2003 9 commits
    • Kim F. Storm's avatar
      *** empty log message *** · 407d1e61
      Kim F. Storm authored
      407d1e61
    • Luc Teirlinck's avatar
    • Luc Teirlinck's avatar
      *** empty log message *** · 697cf92a
      Luc Teirlinck authored
      697cf92a
    • Luc Teirlinck's avatar
      (help-xref-info-regexp): Make hyperlinks to Info documentation if the · 2e10efeb
      Luc Teirlinck authored
      anchor (or node) name is preceded by `info anchor' or `Info anchor' in
      addition to earlier `info node' and `Info node'.
      (help-make-xrefs): Adapt to new value of `help-xref-info-regexp'.
      2e10efeb
    • Luc Teirlinck's avatar
    • Luc Teirlinck's avatar
      Various small changes in addition to the following. · a8d6af58
      Luc Teirlinck authored
      (Signaling Errors): Provide some more details on how `signal'
      constructs the error message.  Add anchor to the definition of
      `signal'.
      (Error Symbols): Describe special treatment of `quit'.
      (Cleanups): Rename BODY argument of `unwind-protect' to BODY-FORM to
      emphasize that it has to be a single form.
      a8d6af58
    • Luc Teirlinck's avatar
      Add anchor. · 33dfaf11
      Luc Teirlinck authored
      33dfaf11
    • 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
      prototypes.
      
      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
      invocations.
      
      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
      16c290d8
    • 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
      9d9f1812