aboutsummaryrefslogtreecommitdiffstats
path: root/README.multi-tty
diff options
context:
space:
mode:
authorKaroly Lorentey2005-12-22 21:02:45 +0000
committerKaroly Lorentey2005-12-22 21:02:45 +0000
commitf35ca2fe35859b40b1b0ff15a1751aab4805d392 (patch)
treecd20a5dee4af655f0a1cb31175fee4c28aff7b3f /README.multi-tty
parenta18b8cb5070a81da0659275bef52f77f925644c8 (diff)
downloademacs-f35ca2fe35859b40b1b0ff15a1751aab4805d392.tar.gz
emacs-f35ca2fe35859b40b1b0ff15a1751aab4805d392.zip
Reimplement and extend support for terminal-local environment variables.
* lisp/termdev.el: New file. Move terminal parameter-related functions here from frame.el. (terminal-getenv, with-terminal-environment): Reimplement and extend. (terminal-setenv, terminal-setenv-internal): New functions. * lisp/frame.el (make-frame-on-tty, framep-on-display, suspend-frame): Extend doc string, update parameter names. (terminal-id, terminal-parameter-alist, terminal-parameters) (terminal-parameter-p, terminal-parameter, set-terminal-parameter) (terminal-handle-delete-frame, terminal-getenv, terminal-getenv) (with-terminal-environment): Move to termdev.el. * lisp/loadup.el: Load termdev as well. * lisp/Makefile.in (lisp, shortlisp): Add termdev.elc. * lisp/makefile.MPW (shortlisp): Ditto. * lisp/ebuff-menu.el (electric-buffer-menu-mode-map): Bind C-z to `suspend-frame', not `suspend-emacs'. * lisp/echistory.el (electric-history-map): Ditto. * lisp/ebrowse.el (ebrowse-electric-list-mode-map): Ditto. * lisp/ebrowse.el (ebrowse-electric-position-mode-map): Ditto. * lisp/startup.el (normal-splash-screen): Use `save-buffers-kill-display' instead of `save-buffers-kill-emacs'. * lisp/x-win.el (x-initialize-window-system): Add 'global-ok option to `terminal-getenv'. * src/term.c (suspend-tty): Update doc string. git-archimport-id: lorentey@elte.hu--2004/emacs--multi-tty--0--patch-456
Diffstat (limited to 'README.multi-tty')
-rw-r--r--README.multi-tty57
1 files changed, 34 insertions, 23 deletions
diff --git a/README.multi-tty b/README.multi-tty
index 5deb706c3c8..5cc5fbca320 100644
--- a/README.multi-tty
+++ b/README.multi-tty
@@ -89,7 +89,7 @@ frames. It has been changed open new Emacs frames by default.
89 89
90The multi-tty branch has been scheduled for inclusion in the next 90The multi-tty branch has been scheduled for inclusion in the next
91major release of Emacs (version 23). I expect the merge into the 91major release of Emacs (version 23). I expect the merge into the
92development trunk to occur sometime during next year (2005), after the 92development trunk to occur sometime during next year (2006), after the
93merge of the Unicode branch. 93merge of the Unicode branch.
94 94
95Tested on GNU/Linux, Solaris 8, FreeBSD and OpenBSD. Please let me 95Tested on GNU/Linux, Solaris 8, FreeBSD and OpenBSD. Please let me
@@ -140,36 +140,36 @@ Known problems:
140 system-dependent source files need to be adapted 140 system-dependent source files need to be adapted
141 accordingly. The changes are mostly trivial, so almost 141 accordingly. The changes are mostly trivial, so almost
142 anyone can help, if only by compiling the branch and 142 anyone can help, if only by compiling the branch and
143 reporting the compiler errors. (It is not worth to do this 143 reporting the compiler errors.
144 yet, though.)
145 144
146 145
147HOW TO GET THE BRANCH 146HOW TO GET THE BRANCH
148--------------------- 147---------------------
149 148
150The branch uses GNU Arch (http://www.gnuarch.org) for version control. 149The branch uses Bazaar 1 (http://bazaar.canonical.com) for version control.
151 150
152Retrieving the latest version of the branch: 151Retrieving the latest version of the branch:
153 152
154 tla register-archive -f http://lorentey.hu/arch/2004/ 153 baz register-archive -f http://aszt.inf.elte.hu/~lorentey/mirror/arch/2004
155 tla get lorentey@elte.hu--2004/emacs--multi-tty <directory> 154 baz get lorentey@elte.hu--2004/emacs--multi-tty <directory>
156 155
157This incantation uses my private archive mirror that is hosted on a 156This incantation uses an archive mirror that is hosted on a
158relatively low-bandwidth site; if you are outside Hungary, you will 157high-bandwidth site. Please note that on average there is a two-hour
159probably want to you use my secondary mirror: (Note that the -f option 158delay for commits to arrive on this mirror. My primary mirror is on the
160will overwrite the archive location if you have previously registered 159low-bandwidth http://lorentey.hu/ site:
161the Hungarian one.)
162 160
163 tla register-archive -f http://aszt.inf.elte.hu/~lorentey/mirror/arch/2004 161 baz register-archive -f http://lorentey.hu/arch/2004/
164 tla get lorentey@elte.hu--2004/emacs--multi-tty <directory> 162 baz get lorentey@elte.hu--2004/emacs--multi-tty <directory>
165 163
166 http://aszt.inf.elte.hu/~lorentey/mirror/arch/2004 164This is "instantly" updated, but very slow from outside Hungary.
165(By "instantly" I mean as soon as I connect the notebook I work on to
166a network. It could take days.)
167 167
168The Arch supermirror provides mirroring services for all public Arch 168The Arch supermirror provides mirroring services for all public Arch
169repositories. We have a mirror there, too, if you prefer. 169repositories. We have a mirror there, too, if you prefer.
170 170
171 tla register-archive -f http://mirrors.sourcecontrol.net/lorentey%40elte.hu--2004 171 baz register-archive -f http://mirrors.sourcecontrol.net/lorentey%40elte.hu--2004
172 tla get lorentey@elte.hu--2004/emacs--multi-tty <directory> 172 baz get lorentey@elte.hu--2004/emacs--multi-tty <directory>
173 173
174My GPG key id is 0FB27A3F; it is available from 174My GPG key id is 0FB27A3F; it is available from
175hkp://wwwkeys.eu.pgp.net/, or from my homepage at 175hkp://wwwkeys.eu.pgp.net/, or from my homepage at
@@ -179,16 +179,20 @@ Don't worry if the above checkout takes a few minutes to complete;
179once you have a source tree, updating it to the latest revision will 179once you have a source tree, updating it to the latest revision will
180be _much_ faster. Use the following command for the update: 180be _much_ faster. Use the following command for the update:
181 181
182 tla replay 182 baz replay
183 183
184You can find more information about Arch on http://wiki.gnuarch.org/. 184You can find more information about Bazaar on
185It's a wonderful source control system, I highly recommend it. 185http://bazaar.canonical.com/. It's a distributed source control
186system that is somewhat less broken than competing projects.
186 187
187If you don't have tla, the branch has a homepage from which you can 188If you don't have Bazaar, the branch has a homepage from which you can
188download conventional patches against Emacs CVS HEAD: 189download conventional patches against Emacs CVS HEAD:
189 190
190 http://lorentey.hu/project/emacs.html 191 http://lorentey.hu/project/emacs.html
191 192
193I suggest you use Bazaar whenever feasible.
194
195
192DEBIAN PACKAGES 196DEBIAN PACKAGES
193--------------- 197---------------
194 198
@@ -244,9 +248,10 @@ finish editing the specified files (C-x #), but delete-frame (C-x 5 0)
244also works. Of course, you can create frames on more than two tty 248also works. Of course, you can create frames on more than two tty
245devices. 249devices.
246 250
247Creating new frames on the same tty with C-x 5 2 works, and they 251Creating new frames on the same tty with C-x 5 2 (make-frame-command)
248behave the same way as in previous Emacs versions. If you exit emacs, 252works, and they behave the same way as in previous Emacs versions. If
249all terminals should be restored to their previous states. 253you exit emacs, all terminals should be restored to their previous
254states.
250 255
251This is work in progress, and probably full of bugs. It is a good 256This is work in progress, and probably full of bugs. It is a good
252idea to run emacs from gdb, so that you'll have a live instance to 257idea to run emacs from gdb, so that you'll have a live instance to
@@ -384,6 +389,8 @@ For the NEWS file: (Needs much, much work)
384 389
385*** talk.el has been extended for multiple tty support. 390*** talk.el has been extended for multiple tty support.
386 391
392*** C-z now invokes `suspend-frame', C-x C-c now invokes
393 `save-buffers-kill-frame'.
387 394
388* * * 395* * *
389 396
@@ -393,6 +400,10 @@ is probably not very interesting for anyone else.)
393THINGS TO DO 400THINGS TO DO
394------------ 401------------
395 402
403** Search for `suspend-emacs' references and replace them with
404 `suspend-frame', if necessary. Ditto for `save-buffers-kill-emacs'
405 vs. `save-buffers-kill-display'.
406
396** Emacs crashes when a tty frame is resized so that there is no space 407** Emacs crashes when a tty frame is resized so that there is no space
397 for all its windows. (Tom Schutzer-Weissmann) 408 for all its windows. (Tom Schutzer-Weissmann)
398 409