comparison README.multi-tty @ 83333:40c0ee282254

Implement rudimentary Lisp-level terminal parameters. * lisp/frame.el (terminal-id, terminal-parameters, terminal-parameter) (set-terminal-parameter, terminal-handle-delete-frame): New functions. (delete-frame-functions): Add to `delete-frame-functions' hook. (terminal-parameter-alist): New variable. * lisp/international/encoded-kb.el (saved-input-mode): Delete variable. (encoded-kbd-setup-display): Store the saved input method as a terminal parameter. git-archimport-id: lorentey@elte.hu--2004/emacs--multi-tty--0--patch-373
author Karoly Lorentey <lorentey@elte.hu>
date Wed, 06 Jul 2005 00:41:41 +0000
parents f2eb4324cbaf
children f92ac4808cd4
comparison
equal deleted inserted replaced
83332:6c13700d1c13 83333:40c0ee282254
353 create frames on new terminals. 353 create frames on new terminals.
354 354
355 *** New functions: frame-tty-name, frame-tty-type, delete-tty, 355 *** New functions: frame-tty-name, frame-tty-type, delete-tty,
356 terminal-local-value, set-terminal-local-value 356 terminal-local-value, set-terminal-local-value
357 357
358 terminal-id, terminal-parameters, terminal-parameter,
359 set-terminal-parameter
360
358 *** New variables: global-key-translation-map 361 *** New variables: global-key-translation-map
359 362
360 *** The keymaps key-translation-map and function-key-map are now 363 *** The keymaps key-translation-map and function-key-map are now
361 terminal-local. 364 terminal-local.
362 365
379 (The rest of this file consists of my development notes and as such it 382 (The rest of this file consists of my development notes and as such it
380 is probably not very interesting for anyone else.) 383 is probably not very interesting for anyone else.)
381 384
382 THINGS TO DO 385 THINGS TO DO
383 ------------ 386 ------------
387
388 ** The handling of lisp/term/*.el, and frame creation in general, is a
389 big, big mess. How come the terminal-specific file is loaded by
390 tty-create-frame-with-faces? I don't think it is necessary to load
391 these files for each frame; once per terminal should be enough.
392
393 ** Fix frame-set-background-mode in this branch. It was recently
394 changed in CVS, and frame.el in multi-tty has not yet been adapted
395 for the changes. (It needs to look at
396 default-frame-background-mode.)
397
398 ** I think `(set-)terminal-local-value' and the terminal parameter
399 mechanism should be integrated into a single framework.
400
401 ** Add the following hooks: after-delete-frame-hook (for server.el,
402 instead of delete-frame-functions),
403 after-delete-terminal-functions, after-create-terminal-functions.
384 404
385 ** Having {reset,init}_all_sys_modes in set-input-mode breaks arrow 405 ** Having {reset,init}_all_sys_modes in set-input-mode breaks arrow
386 keys on non-selected terminals under screen, and sometimes on other 406 keys on non-selected terminals under screen, and sometimes on other
387 terminal types as well. The other function keys continue to work 407 terminal types as well. The other function keys continue to work
388 fine. Sometimes faces on these screens become garbled. 408 fine. Sometimes faces on these screens become garbled.