summaryrefslogtreecommitdiff
path: root/lib-src/ChangeLog.multi-tty
blob: 8afea8e5d9b1fe957b41c9c53244e05826e74a2c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
0000-00-00  A. N. Other  <none@example.com>

	(main_argc, main_argv, current_frame, window_system, tty): New
	variables.
	(longopts): Add tty, current-frame.
	(xmalloc, xstrdup): New functions.
	(decode_options): Set display from environment.  Add tty and
	current_frame options.
	(print_help_and_exit): Document tty and current-frame options.
	(fail): Change arguments to void.
	(main): When sockets are not defined, set main_argc, main_argv,
	and call fail() with no arguments.
	(quote_file_name): Rename to quote_argument.
	(quote_argument): New name for old quote_file_name.
	(unquote_argument, strprefix, pass_signal_to_emacs)
	(handle_sigcont, handle_sigtstp, init_signals): New functions.
	(set_local_socket): Initialize saved_errno to 0.  If socket-name
	is too long, call `fail' rather than `exit'.
	(main): Set main_argc, main_argv.  New var `str'.  Don't need a
	filename or argument if tty or window_system set.  Call fail with
	no arguments.  Send version number to Emacs for verification.
	If tty is set, check TERM, and pass name and type to Emacs.
	Pass window_system to Emacs.  Move sending of eval to optind
	loop.  Send -position, -file to Emacs.  Call fsync after fflush.
	Check for a client/server version match. Handle -emacs-pid,
	-print, -error, -suspend.

0000-00-00  Dan Nicolaescu  <dann@ics.uci.edu>

	* emacsclient.c (w32_execvp): Move definition before use.
	(decode_options): Don't use a tty on mac carbon or windows.

0000-00-00  Jason Rumney  <jasonr@gnu.org>

	* emacsclient.c (SEND_STRING, SEND_QUOTED): Remove obfuscation
	macros.
	(quote_argument, set_tcp_socket, handle_sigcont, handle_sigtstp):
	(main): Expand removed macros inline.
	(main) [WINDOWSNT]: Don't call ttyname.  Don't recognize -suspend
	option.
	(main) [NO_SOCKETS_IN_FILE_SYSTEM]: Don't call init_signals.

0000-00-00  Karoly Lorentey  <lorentey@elte.hu>

	* emacsclient.c (signal.h): New include.
	(sys/stat.h, errno.h): Always include, even on WINDOWSNT.
	(DIRECTORY_SEP, IS_DIRECTORY_SEP, IS_DEVICE_SEP, IS_ANY_SEP): Copy
	definitions here from src/lisp.h.
	(get_current_dir_name): New function, copied from src/sysdep.c.
	(decode_options): Make --no-wait imply --current-frame, except
	when it is the only option given.  Make sure no frame is opened
	when --current-frame is set.
	(emacs_socket): New variable (moved out from main `s').
	(main): Use get_current_dir_name to send over the current
	directory.  Handle -window-system-unsupported command.  Doc
	update.  Don't exit prematurely on --no-wait, let Emacs close the
	connection for us.  When creating a new frame, send environment
	and pwd to Emacs.  Send current-frame to Emacs.

;; Local Variables:
;; coding: iso-2022-7bit
;; add-log-time-zone-rule: t
;; End:

    Copyright (C) 2007 Free Software Foundation, Inc.

  This file is part of GNU Emacs.

  GNU Emacs is free software; you can redistribute it and/or modify
  it under the terms of the GNU General Public License as published by
  the Free Software Foundation; either version 2, or (at your option)
  any later version.

  GNU Emacs is distributed in the hope that it will be useful,
  but WITHOUT ANY WARRANTY; without even the implied warranty of
  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
  GNU General Public License for more details.

  You should have received a copy of the GNU General Public License
  along with GNU Emacs; see the file COPYING.  If not, write to the
  Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
  Boston, MA 02110-1301, USA.

;; arch-tag: 7080ff76-36b5-4471-8135-2813915e91cc