summaryrefslogtreecommitdiff
path: root/lib-src/emacsclient.c
Commit message (Collapse)AuthorAgeFilesLines
* (main): Tell user how to start server within Emacs if socket could notStephen Eglen2002-12-021-1/+2
| | | | be found.
* (main): Test HAVE_GETCWD rather than BSD_SYSTEM.Richard M. Stallman2002-12-021-6/+6
|
* Remove reference to SERVER_HOME_DIR completely.Markus Rost2002-10-011-3/+0
|
* (main): Always use /tmp and non-qualified hostname.Stefan Monnier2002-09-271-11/+6
|
* Remove SYSV support.Stefan Monnier2002-09-271-198/+52
| | | | | | | | (eval, display): New vars. (longopts): Add --eval and --display. (decode_options): Add -e and -d processing. (print_help_and_exit): Update the usage string. (main): Add support for --eval and --display.
* (quote_file_name): Quote \n.Stefan Monnier2002-09-181-10/+22
| | | | (main): Print a final \n when needed.
* Include <config.h>.Pavel Janík2001-12-291-1/+1
|
* Include "config.h", not <../src/config.h>.Pavel Janík2001-12-191-15/+17
| | | | | (main): Parenthesize assignment when used as truth value to prevent gcc warnings.
* (main): Cast isdigit() argument to unsigned char.Gerd Moellmann2001-10-091-1/+1
| | | | From Hallvard B Furuseth <h.b.furuseth@usit.uio.no>.
* (print_help_and_exit): Fix help message forGerd Moellmann2001-07-171-3/+5
| | | | | | | +LINE:COLUMN option. (main): Add support for +LINE:COLUMN command line argument.
* (fail): Don't return a value.Dave Love2001-04-051-2/+3
| | | | (main): Cast uid values for sprintf.
* (fail, main): Don't use implicit int return type.Gerd Moellmann2001-04-031-1/+4
|
* (main): Remove unused local variable statbfr.Eli Zaretskii2001-01-021-2/+4
| | | | | (main) <homedir>: Make its declaration conditional on SERVER_HOME_DIR, to avoid compiler warnings.
* (socket_status): New function.Gerd Moellmann2000-01-281-15/+76
| | | | | (main): if $LOGNAME or $USER exist and differ from our euid, look for a socket based on the UID associated with the name.
* Add option -a EDITOR and environment variableGerd Moellmann2000-01-121-15/+50
| | | | ALTERNATE_EDITOR. Exec this editor if we fail to contact Emacs.
* Add support for large files. Merge glibc 2.1.2.Paul Eggert1999-10-191-8/+1
| | | | | | | | | | | | | | | | | | * b2m.c, emacsclient.c, emacsserver.c, fakemail.c, make-docfile.c, movemail.c, pop.c: Do not include <stdlib.h>, as <config.h> does this now. * b2m.c, emacsserver.c, etags.c, profile.c: Include <config.h> before any system include files. * emacsclient.c, emacsserver.c, fakemail.c, movemail.c, pop.c, test-distrib.c: (read, write, open, close): Do not undef. * getopt.c, getopt1.c: Adopt glibc 2.1.2, with the following fix: (const): Do not define if HAVE_CONFIG_H; that's config.h's job. * getopt.h: Adopt glibc 2.1.2.
* (print_help_and_exit): Mention --version.Richard M. Stallman1999-08-291-0/+3
|
* (decode_options): Update version output.Karl Heuer1999-08-251-2/+2
| | | | (print_help_and_exit): Update bug report address.
* (main): Move the dynamic allocation ofKarl Heuer1999-08-141-3/+6
| | | | system_name outside of the SERVER_HOME_DIR conditional.
* (main, both versions): Use quote_file_name on cwd.Karl Heuer1999-04-291-4/+5
|
* (xmalloc): Fix previous change.Richard M. Stallman1999-01-251-1/+1
|
* (xmalloc): Declare to return long.Richard M. Stallman1999-01-251-1/+1
|
* (main): Eliminate arbitrary limit on length of system_name.Richard M. Stallman1999-01-161-6/+17
| | | | (xmalloc): Define unconditionally.
* (main): Null-terminate system_name.Richard M. Stallman1998-10-101-0/+2
|
* Move inclusion of unistd.h to top, else fails onDave Love1998-04-081-3/+3
| | | | Irix6, at least.
* Include <stdlib.h> and <unistd.h> if available.Andreas Schwab1998-04-061-1/+9
| | | | | | Don't declare geteuid. (print_help_and_exit): Change return type to void. Forward declare it.
* [HAVE_SYSVIPC]: Include errno.h, as in the other case.Richard M. Stallman1997-08-271-1/+14
| | | | (main) [!BSD_SYSTEM]: Fix error message for getcwd failure.
* [C_ALLOCA] (xmalloc): New function.Richard M. Stallman1997-07-091-0/+17
|
* Replaced all BSD with BSD_SYSTEM.Karl Heuer1996-09-171-2/+2
|
* (longopts): Change nowait to no-wait.Richard M. Stallman1996-09-101-3/+3
| | | | (print_help_and_exit): Fix option name; upcase metavars.
* (quote_file_name): Quote with &, not \.Richard M. Stallman1996-09-021-5/+6
| | | | Quote `-' only at start of file name. Terminate the value string.
* (quote_file_name): New function.Richard M. Stallman1996-09-021-41/+58
| | | | | | | (main, both versions): Use quote_file_name. (decode_options): Don't return a value. (main, both versions): Use optind. Don't check for -nowait here.
* (decode_options): New function.Richard M. Stallman1996-09-011-16/+98
| | | | | | (main, both versions): Call decode_options. (print_help_and_exit): New function. (VERSION): New macro
* (both versions): Handle -nowait and --nowait by sending data to the server.Richard M. Stallman1996-08-311-4/+33
|
* (main) [HAVE_SOCKETS]: Use two separate stdioRichard M. Stallman1996-07-231-8/+21
| | | | streams, one for sending and one for reading the reply.
* (main, both definitions): Print a newline for normal termination.Karl Heuer1996-02-211-1/+4
|
* Update FSF's address in the preamble.Erik Naggum1996-01-151-1/+2
|
* (main): Add argv[0] to an error message.Richard M. Stallman1995-04-181-1/+1
|
* (main): Improve error handling.Karl Heuer1995-04-141-4/+6
|
* Test NO_SOCKETS_IN_FILE_SYSTEM.Richard M. Stallman1995-04-111-1/+1
|
* [Berkeley sockets version] (main): Declare getcwd.Richard M. Stallman1995-04-071-0/+1
|
* Use BSD sockets whenever available, even if HAVE_SYSVIPC.Richard M. Stallman1995-03-151-1/+5
| | | | (main): Use getcwd if not BSD.
* [HAVE_SYSVIPC]: Include sys/utsname.h.Richard M. Stallman1994-12-071-6/+17
| | | | | | | (main): If socket/mqueue name is in home dir, add in the host name. Rename .emacs_server to .emacs-server-.... [!HAVE_SYSVIPC] (main): Fix error message diction.
* Eliminate some -Wall warnings.David J. MacKenzie1994-10-121-1/+2
|
* (main): New local var progname saves argv[0].Richard M. Stallman1994-07-271-1/+2
|
* (main): Don't actually modify argv[0]. Modify a copy instead.Richard M. Stallman1994-07-261-5/+6
|
* (main) [HAVE_SYSVIPC]: Make msgp->mtext longer if necessary.Richard M. Stallman1994-03-051-4/+32
| | | | On HPUX, error if it's more than 512 chars.
* [! HAVE_STRERROR] (strerror): Define the function.Roland McGrath1994-01-081-0/+15
|
* Don't declare sys_errlist; declare strerror instead.Roland McGrath1994-01-081-6/+4
| | | | (main): Call strerror instead of using sys_errlist.
* Include <config.h> instead of "config.h".Roland McGrath1993-09-101-1/+1
|