Mercurial > emacs
view lispref/spellfile @ 83008:040dd41ed7d0
Hookified termcap devices, added bootstrap display device, plus many bugfixes.
lisp/frame.el (display-color-cells): Pass display parameter to tty-display-color-cells.
lisp/term/xterm.el (xterm-register-default-colors): Pass the selected-frame to display-color-cells.
src/dispextern.h (set_terminal_modes, reset_terminal_modes): Removed declarations.
(get_named_tty_display): New prototype.
(tty_clear_end_of_line, term_init): Updated to new prototype.
(initial_term_init): Renamed to init_initial_display.
src/dispnew.c (Fredraw_frame): ifdef-out DOS-specific code. Add display parameter to set_terminal_modes call.
(update_frame): Don't flush the tty of there is no tty.
(init_display): Set up a termcap display on the controlling tty and
change the initial frame to use that. Delete the initial display.
src/frame.c (Fframep): Return t for the initial frame.
(make_initial_frame): New function for creating the initial frame during bootstrap. Use init_initial_display, not initial_term_init.
(make_terminal_frame): Removed special cases for creating the initial frame.
src/frame.h (enum output_method): New entry: output_initial for the bootstrap display.
(FRAME_INITIAL_P): New macro.
(make_initial_frame): New prototype.
src/keyboard.c (interrupt_signal): Exit Emacs on SIGINT from the (frameless) controlling tty, if possible. Explain this in a comment.
(init_keyboard): Added comment about exiting on SIGINT.
(Fset_input_mode): A termcap frame is never the initial frame anymore.
src/sysdep.c (init_sys_modes): Update tty_set_terminal_modes call to the new prototype.
(reset_sys_modes): Comment out tty_clear_end_of_line call; it doesn't work anymore. Update tty_reset_terminal_modes call.
src/termchar.h (struct tty_display_info): Added pointer to the display structure, for reset_sys_modes.
src/termhooks.h (struct display): Added display parameter to set_terminal_modes_hook and reset_terminal_modes_hook.
src/term.c (initial_display): New variable.
(tty_ring_bell, tty_update_end, tty_set_terminal_window, tty_cursor_to)
(tty_raw_cursor_to, tty_clear_to_end, tty_clear_frame, tty_clear_end_of_line)
(tty_write_glyphs, tty_insert_glyphs, tty_delete_glyphs, tty_ins_del_lines): New functions.
(ring_bell, update_end, set_terminal_window, cursor_to, raw_cursor_to)
(clear_to_end, clear_frame, clear_end_of_line, write_glyphs, insert_glyphs)
(delete_glyphs, ins_del_lines): Removed special casing of termcap displays.
(get_tty_display): New function.
(Ftty_display_color_p, Ftty_display_color_cells): Use it.
(get_named_tty_display): Removed static.
(tty_set_terminal_modes, tty_reset_terminal_modes): Changed to use a display parameter
instead of tty_display_info for hook compatibility.
(set_terminal_modes, reset_terminal_modes): Removed.
(initial_term_init): Renamed to init_initial_display. Set up an
output_initial device, not a termcap display.
(delete_initial_display): New function.
(maybe_fatal): New function, for private use of term_init.
(term_init): New parameter for choosing between fatal and simple errors.
Removed incomprehensible special casing for the second initialization of the
controlling tty. Use maybe_fatal for error handling.
Initialize termcap display hooks in the new device.
Initialize the display pointer in the tty_display_info structure.
(delete_tty): Replace order of reset_sys_modes and delete_display.
src/window.c (init_window_once): Call make_initial_frame instead of make_terminal_frame.
src/xfaces.c (realize_default_face, realize_face): Don't abort on the bootstrap display device.
src/xterm.c (XTset_terminal_modes, XTreset_terminal_modes): Added display parameter.
git-archimport-id: lorentey@elte.hu--2004/emacs--multi-tty--0--patch-48
author | Karoly Lorentey <lorentey@elte.hu> |
---|---|
date | Fri, 09 Jan 2004 18:57:53 +0000 |
parents | 1377d461b09c |
children |
line wrap: on
line source
ARPA Abbrev Acknowledgements Alan Arnold Autoloading BAppend Backquote Beeping Beverly Boyes Brian CL CSWKg Carl Carroll Chris Cleanups DEC DStandard Dan Dired's Disassembly Duff EMAC EMACSLOADPATH Eckelkamp Edward Eirik Emacses Eric Erlebacher Fcar Fcdr Fcons Fcoordinates Feval Frazzle Frederick Fri Gardiner Gentlemen HAL HATTED HS HU Hanchrow Hartzell Hess Hewlett IBM ISBN Impl Interning Ithought J's Jacobson Jak Joe Jones Jr Jul Keymaps Kimmo Kirman Knighten Korz Krawitz LTsHm LaLiberte LaTeX Lammens Local' MAC MONIES MSS Maclisp Magill Marick Matthew Minibuf Misc Miscellany Mocklisp Montanaro Myers NFS Nathan Nope OS OSITIONS Oct Ovwrt PURESIZE Packard Qlistp Qnil RMAIL Raul Resizing Robbins Rockwell SCO SIGCONT SIGHUP SIGINT SIGKILL SIGQUIT SIGTSTP SLOAD Scoordinates Set' Setcar Setcdr Shinichirou Snarf Sor SourceFile Stops' Subprocess Sugou Sunview Suominen T's TCP ThXs Tharp Thu Trost UCB UNEVALLED UNGCPRO UniPlus UniSoft's VMS Vip Void' Warren Welty Wethought Wilding Worley Wright XDVI XFASTINT XINT XWINDOW Xs Yo Zuhn aB aa aaa abbrevname abbrevs abc abcdefg abcxyz abd above' abracadabra address' after' alist alists anchored' and' ar aref arg'th argdecl arith arrayp arrow' asa asdZasfd asdf asdfasfd aset assoc assq at' aug autoload automatic' automatically' avector bBuffer bFrobnicate ba back' bananana barfoo barx bballs before' beforep bfoo bil binding's bish bobp bolp bottommost boundp brief' buf buffer' bufferp buttercup ca caaaar caaar caddaar cadr callable cbreak ce cell' cells' cf chaprm character' childp chistory ck column' commandp concat cond conses consing consp constant' contains' continuable convert' copyleft correct' counterintuitive cr creatable customie deactivate deactivated deassigns decrement' deffnx definition' defmacro defsubr deletable deletion' delq depiction descendents deselecting destructive' destructively' diffs ding directory' dired dirname disassembler dland docfile docstring doesnt dont down' downcasing downloadable dribble dup ef efg electric' elided elt enablement endkeyfun endrecfun environment' eobp eof eol eolp eq eqlsign erminal erste etags eval evalled evals evaluate' excess' exec exitcode expression' extendible extra' fails' fascist fboundp featurep ff fg fi file' filespec filesystems fillarray firstchar firstonly fixedcase fixit fixup floatp fmakunbound fns fo fol folded' following' fooba foobaz foox for' formfeed forms' forw forwa found' frob from' front' fset fstab ftp fu funtions garbles gc gcpro gd getenv getprv gid gnuemacs gp grep gtr halves' hand' hashes' hd hexadecimal hf hfil hookvar horsechestnut hostname hpux hscroll ibmapa ick id idiom ii indrm inode input' inputinput inserting' integerp intermixed ints inturned irreversibly jum keymapp kill' killed' killp kludge kolstad language' lastchar lcl ledit leif lessp level' lewis library' link' lisplib listexp loadable loadst loadup logand logior lognot logxor long' loop's lru lrwxrwxrwx ls lsh m's macroexpand makunbound malloc mapatoms mapconcat mapvar mark' marker's markerp mathsurround medit memq mh mim mini minibuffer's minibuffers misalignment misnamed mode's modename modes' mods modtime mqueue msg multicharacter myfile nCount nXExpression na name's natnump nb nbBuffer nconc newdef newelt newname nextrecfun nfsusr ninett nlines nlinks nlistp noconfirm nodigits noerror noforce nomessage nominees nomsg nonblank nonconstant nondestructive nondirectory nonidentical noninteractive noninteractively nonletter nonletters nonlocally nonoverlapping nonprinting nonselected nonsequentially nonvoid nonwarranty nonwritable noop noprint norecord normal' noselect nosuffix nots noundo nr nreverse ns nsRename nth nthcdr num number' numberp nums obarray obarrays object' oldbuf olddef oldname oo oops op or' otl out' over' overful overfullrule overstrike overstriking overstruck p' paren part' passwd pe ped perverse pid plist pnt pointer' pointm pos preallocate predicale preload prepend prepended prepends pretty' prin princ print' printenv printer' proc process' processp programmer' prolog protect' ps psf psychotherapy pty purecopy qu quux rassq reader' readin rebind rec rechecking recursively' recycler' redo redrawing redraws redump reenabled reexposed reg region' reindent reindents reinitialization reinitialize reinitialized reinstall reinstalled resize resized resizes reversibly reworded rhetorical right' ring' risky rmailedit rms rplaca rplacd rtu runnable rw rwxrwxrwx sDescribe sans se searching' section' seed' sequence' sequencep setp setplist setprv settable setuid sexp sexps shape' shell's sideline special' specpdl st stanford startkeyfun str stringp stty subcategories subcommands subexp subform subforms subjob submap subprocesses subr subr' subroutine' subrp subrs subwindows sugar' suid supersession suspension' symbolp symlink syms syntatic tabname temacs temporarily' tempvar tenths termcap termcaps terminfo termscript termtype terpri text' textrm textsl texttt than' the' tildes time's to' towars transportable txt types' uid unbind unbinding unbinds unchanged' unclutters undefine undefines underfull undo's undodata unevaluated' unexec unexpand unhesitatingly uninterned unisoft unpaired unread unreadable unreading unsaved untyped ununderline up' uptime usecount used' user' userlock usg val varbind varname varref vars varset vb vconcat vectorp vfil vi vn voidness vrs vt window' windowing windowp wrapped' xSpecify xcoord xcssun xemacs xenix xf xfirst xoff xon xx xxxxx xxxxxxxxx xy xyz ycoord yes' zA zap zerop