5 The ultimate goal of this branch is to implement support for opening
6 multiple, different tty devices and simultaneous X and tty frames from
7 a single Emacs session.
12 I'm Károly Lőrentey. My address: lorentey@elte.hu.
14 Patches or suggestions are welcome!
16 Retrieving the branch:
18 tla register-archive lorentey@elte.hu--2004 http://lorentey.web.elte.hu/arch/2004/
19 tla get lorentey@elte.hu--2004/emacs--multi-tty--0 <directory>
27 We can create frames on new tty devices, but there are problems with
28 redisplay. Input is read from all terminals (NOT via MULTIKBOARD!).
29 At the moment, the type of the new terminals must be the same as the
30 initial terminal. Emacsclient is extended to support opening a new
33 To try it out, start up the emacs server (M-x server-start), and then
34 start emacsclient with
38 If you exit emacs, both terminals are restored to their previous
41 X, Mac, Windows and DOS support is broken.
48 ** Support for multiple terminal devices has been added. You can
49 specify a terminal device (`tty' parameter) and a terminal type
50 (`tty-type' parameter) to `make-terminal-frame'.
52 ** Emacsclient has been extended to support opening a new terminal
64 -- Introduce a new abstraction for terminal devices.
66 (Done, see struct tty_output. The abstraction is not yet
70 -- Change the bootstrap procedure to initialize tty_list.
72 (Done, but needs review.)
75 -- Change make-terminal-frame to support specifying another tty.
77 (Done, new frame parameters: `tty' and `tty-type'.)
80 -- Implement support for reading from multiple terminals.
82 (Done, read_avail_input tries to read from each terminal, until one
85 -- other-frame should cycle through the frames on the `current'
88 (Done. A little fragile, but seems to work.)
90 -- Support different terminal sizes.
94 -- Make sure terminal resizes are handled gracefully. (Could be
97 (Done. We don't get SIGWINCH for additional ttys, though.)
99 -- Extend emacsclient to automatically open a new tty when it connects
102 (Done. It's an ugly hack, needs more work.)
104 -- Redisplay must refresh the topmost frame on all terminals, not just
105 the initial terminal.
107 (Done, but introduced ugly redisplay problems. Ugh.)
113 ** Fix redisplay problems.
115 ** Make make-terminal-frame look up the tty and tty-type parameters
116 from the currently selected terminal before the global default.
118 ** Move optimalization parameters (costs) from union output_data to
121 ** Provide a way for emacsclient to tell Emacs that the tty has been
124 ** Implement terminal deletion, i.e., closing the tty device and
125 restoring its previous state without exiting Emacs. This should be
126 exported to the Lisp interpreter.
128 ** Implement automatic deletion of terminals, when the last frame on
129 that terminal is closed.
131 ** Put all cached terminal escape sequences into struct tty_output.
132 Currently, they are still stored in global variables, so we don't
133 really support multiple terminal types.
136 ** Each keypress should automatically select the frame corresponding
137 to the terminal that it was coming from. This means that Emacs
138 must know from which terminal the last keyboard event came from.
139 (Multikeyboard support may help with this.)
141 ** Make struct tty_output available from Lisp.
143 ** Implement support for starting an interactive Emacs session without
144 an initial frame. (The user would connect to it and open frames
145 later, with emacsclient.) Not necessary a good idea.
149 ** Allow simultaneous X and tty frames.
151 ** Fix Mac support (I can't do this myself).
153 ** Fix W32 support (I can't do this myself).
155 ** Fix DOS support (I can't do this myself).
159 ;;; arch-tag: 8da1619e-2e79-41a8-9ac9-a0485daad17d