Mercurial > emacs
comparison README.multi-tty @ 82986:02a346f99eaf
Undo patch-23. I need a coffee.
src/sysdep.c (sys_select): Restore previous #ifdef.
git-archimport-id: lorentey@elte.hu--2004/emacs--multi-tty--0--patch-26
author | Karoly Lorentey <lorentey@elte.hu> |
---|---|
date | Tue, 30 Dec 2003 17:51:52 +0000 |
parents | 8d7be2534cbc |
children | 1682917e56b4 |
comparison
equal
deleted
inserted
replaced
82985:8d7be2534cbc | 82986:02a346f99eaf |
---|---|
211 -- Change emacsclient/server.el to support the -h argument better, | 211 -- Change emacsclient/server.el to support the -h argument better, |
212 i.e. automatically close the socket when the frame is closed. | 212 i.e. automatically close the socket when the frame is closed. |
213 | 213 |
214 (Seems to be working OK.) | 214 (Seems to be working OK.) |
215 | 215 |
216 -- Enable select on ttys (sys_select disables the native select on | |
217 non-X systems). There are some systems (OSS, SCO, maybe cygwin?) | |
218 that don't support this, so make sure the emulation remains | |
219 available for them. | |
220 | |
221 (This was a bogus issue, select is only #defined to be sys_select | |
222 by sysselect.h if BROKEN_SELECT_NON_X. Fixed sysdep.c to compile | |
223 sys_select only then.) | |
224 | |
225 | |
226 THINGS TO DO | 216 THINGS TO DO |
227 ------------ | 217 ------------ |
228 | 218 |
229 ** Understand Emacs's low-level input system. It seems | 219 ** Understand Emacs's low-level input system. It seems |
230 complicated. :-) | 220 complicated. :-) |
234 | 224 |
235 while true; do TERM=no-such-terminal-definition emacsclient -h; done | 225 while true; do TERM=no-such-terminal-definition emacsclient -h; done |
236 | 226 |
237 Emacs usually dumps core after a few dozen iterations. (The bug | 227 Emacs usually dumps core after a few dozen iterations. (The bug |
238 seems to be related to the xfree()ing or bzero()ing of | 228 seems to be related to the xfree()ing or bzero()ing of |
239 tty_output.Wcm or some other tty_output part. Maybe there are | 229 tty_output.Wcm. Maybe there are outside references to struct Wcm? |
240 outside references to struct Wcm? Why were these vars collected | 230 Why were these vars collected into a struct before multi-tty |
241 into a struct before multi-tty support?) | 231 support?) |
242 | 232 |
243 The bug does not seem to happen if the error occurs before terminal | 233 The bug does not seem to happen if the error occurs before terminal |
244 initialization or if I comment out all xfree()s in delete_frame. | 234 initialization or if I comment out all xfree()s in delete_frame. |
245 Update: yes it does, although it is much rarer. Or maybe it's | 235 Update: yes it does, although it is much rarer. Or maybe it's |
246 another bug. | 236 another bug. |
247 | 237 |
248 Update: Some of these errors may have been caused by having more | 238 Idea: Some of these errors may have been caused by having more |
249 file handles than FD_SETSIZE. | 239 file handles than FD_SETSIZE. |
250 | 240 |
251 ** Find out why does Emacs abort when it wants to close its | 241 ** Find out why does Emacs abort when it wants to close its |
252 controlling tty. Hint: chan_process[] array. Hey, maybe | 242 controlling tty. Hint: chan_process[] array. Hey, maybe |
253 noninterrupt-IO would work, too? | 243 noninterrupt-IO would work, too? |