Mercurial > emacs
diff README.multi-tty @ 83032:b8237c556f0e
Fix the case when emacsclient is run on Emacs's controlling tty.
src/term.c (O_NOCTTY): Make sure it's defined.
(no_controlling_tty): New variable.
(init_initial_display, mark_ttys): Remove unused variable.
(term_init): Check that the given filename is a terminal device.
Dissociate the controlling terminal if we reopen it for other purposes.
(Reported by Dan Nicolaescu <dann at ics dot uci dot edu>.
(Fdelete_tty): Return nil.
git-archimport-id: lorentey@elte.hu--2004/emacs--multi-tty--0--patch-72
author | Karoly Lorentey <lorentey@elte.hu> |
---|---|
date | Mon, 02 Feb 2004 22:09:56 +0000 |
parents | bf5b5fb49420 |
children | fcf6fc349e0d |
line wrap: on
line diff
--- a/README.multi-tty Mon Feb 02 19:19:08 2004 +0000 +++ b/README.multi-tty Mon Feb 02 22:09:56 2004 +0000 @@ -60,22 +60,23 @@ simultaneous X and tty frame support works fine. Emacsclient has been extended to support opening a new terminal frame. +Please let me know if you find any bugs in this branch. -Please let me know if you find any bugs in this branch. +HOW TO COMPILE AND TEST +----------------------- To try it out, compile and run the multi-tty branch with the following commands: mkdir +build cd +build - ../configure + ../configure <your favourite options> make bootstrap src/emacs -nw # You can also try without -nw M-x server-start and then (from a shell prompt on another terminal) start emacsclient with - lib-src/emacsclient -t /optional/file/names... You'll hopefully have two fully working, independent frames on @@ -160,9 +161,12 @@ The following is an (incomplete) list of people who have contributed to the project by testing, bug reports, and suggestions. Thanks! -Robert J. Chassel <bob@rattlesnake.com> -Romain Francoise <romain@orekobech.com> -Ami Fischman <ami@fischman.org> +Robert J. Chassel <bob at rattlesnake dot com> +Romain Francoise <romain at orekobech dot com> +Ami Fischman <ami at fischman dot org> +Dan Nicolaescu <dann at ics dot uci dot edu> + +Richard Stallman was kind enough to review my patches. CHANGELOG @@ -172,6 +176,10 @@ THINGS TO DO ------------ +** Dan Nicolaescu (dann at ics dot uci dot edu) suggests that -nw + should be added as an alias for -t in emacsclient. Good idea. + (Alas, implementing this is not trivial, getopt_long does not seem + to support two-letter ``short'' options.) ** Robert J. Chassell reports: @@ -634,4 +642,11 @@ (Fixed.) + +-- Dan Nicolaescu noticed that starting emacsclient on the same + terminal device that is the controlling tty of the Emacs process + gives unexpected results. + + (Fixed.) + ;;; arch-tag: 8da1619e-2e79-41a8-9ac9-a0485daad17d