aboutsummaryrefslogtreecommitdiffstats
path: root/README.multi-tty
diff options
context:
space:
mode:
authorKaroly Lorentey2004-02-02 22:09:56 +0000
committerKaroly Lorentey2004-02-02 22:09:56 +0000
commit0c72d684c4b3e25bdb3a6a869d9f1b8bd21b80c7 (patch)
treeff652240fcff0425e0398736c2b44b690bb8ebe7 /README.multi-tty
parentd3a6748c5b378a86fc8408222c7dd26e47218af9 (diff)
downloademacs-0c72d684c4b3e25bdb3a6a869d9f1b8bd21b80c7.tar.gz
emacs-0c72d684c4b3e25bdb3a6a869d9f1b8bd21b80c7.zip
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
Diffstat (limited to 'README.multi-tty')
-rw-r--r--README.multi-tty27
1 files changed, 21 insertions, 6 deletions
diff --git a/README.multi-tty b/README.multi-tty
index 06e069f8019..c86d69ac0dd 100644
--- a/README.multi-tty
+++ b/README.multi-tty
@@ -60,22 +60,23 @@ architectures, though.) Both multiple tty device support and
60simultaneous X and tty frame support works fine. Emacsclient has been 60simultaneous X and tty frame support works fine. Emacsclient has been
61extended to support opening a new terminal frame. 61extended to support opening a new terminal frame.
62 62
63
64Please let me know if you find any bugs in this branch. 63Please let me know if you find any bugs in this branch.
65 64
65HOW TO COMPILE AND TEST
66-----------------------
67
66To try it out, compile and run the multi-tty branch with the following 68To try it out, compile and run the multi-tty branch with the following
67commands: 69commands:
68 70
69 mkdir +build 71 mkdir +build
70 cd +build 72 cd +build
71 ../configure 73 ../configure <your favourite options>
72 make bootstrap 74 make bootstrap
73 src/emacs -nw # You can also try without -nw 75 src/emacs -nw # You can also try without -nw
74 M-x server-start 76 M-x server-start
75 77
76and then (from a shell prompt on another terminal) start emacsclient 78and then (from a shell prompt on another terminal) start emacsclient
77with 79with
78
79 lib-src/emacsclient -t /optional/file/names... 80 lib-src/emacsclient -t /optional/file/names...
80 81
81You'll hopefully have two fully working, independent frames on 82You'll hopefully have two fully working, independent frames on
@@ -160,9 +161,12 @@ THANKS
160The following is an (incomplete) list of people who have contributed 161The following is an (incomplete) list of people who have contributed
161to the project by testing, bug reports, and suggestions. Thanks! 162to the project by testing, bug reports, and suggestions. Thanks!
162 163
163Robert J. Chassel <bob@rattlesnake.com> 164Robert J. Chassel <bob at rattlesnake dot com>
164Romain Francoise <romain@orekobech.com> 165Romain Francoise <romain at orekobech dot com>
165Ami Fischman <ami@fischman.org> 166Ami Fischman <ami at fischman dot org>
167Dan Nicolaescu <dann at ics dot uci dot edu>
168
169Richard Stallman was kind enough to review my patches.
166 170
167 171
168CHANGELOG 172CHANGELOG
@@ -172,6 +176,10 @@ See arch logs.
172 176
173THINGS TO DO 177THINGS TO DO
174------------ 178------------
179** Dan Nicolaescu (dann at ics dot uci dot edu) suggests that -nw
180 should be added as an alias for -t in emacsclient. Good idea.
181 (Alas, implementing this is not trivial, getopt_long does not seem
182 to support two-letter ``short'' options.)
175 183
176** Robert J. Chassell reports: 184** Robert J. Chassell reports:
177 185
@@ -634,4 +642,11 @@ DIARY OF CHANGES
634 642
635 (Fixed.) 643 (Fixed.)
636 644
645
646-- Dan Nicolaescu noticed that starting emacsclient on the same
647 terminal device that is the controlling tty of the Emacs process
648 gives unexpected results.
649
650 (Fixed.)
651
637;;; arch-tag: 8da1619e-2e79-41a8-9ac9-a0485daad17d 652;;; arch-tag: 8da1619e-2e79-41a8-9ac9-a0485daad17d