Show
Ignore:
Timestamp:
2006年05月18日 16時19分18秒 (3 years ago)
Author:
miyoshi
Message:

Sync up with Emacs CVS HEAD.

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • trunk/lispref/os.texi

    r4058 r4085  
    272272trying the @samp{.elc} and @samp{.el} suffixes. 
    273273 
    274   The usual function of a terminal-specific library is to enable special 
    275 keys to send sequences that Emacs can recognize.  It may also need to 
    276 set or add to @code{function-key-map} if the Termcap entry does not 
    277 specify all the terminal's function keys.  @xref{Terminal Input}. 
    278  
    279274@cindex Termcap 
    280   When the name of the terminal type contains a hyphen, only the part of 
    281 the name before the first hyphen is significant in choosing the library 
    282 name.  Thus, terminal types @samp{aaa-48} and @samp{aaa-30-rv} both use 
    283 the @file{term/aaa} library.  If necessary, the library can evaluate 
    284 @code{(getenv "TERM")} to find the full name of the terminal 
    285 type.@refill 
     275  The usual function of a terminal-specific library is to enable 
     276special keys to send sequences that Emacs can recognize.  It may also 
     277need to set or add to @code{function-key-map} if the Termcap or 
     278Terminfo entry does not specify all the terminal's function keys. 
     279@xref{Terminal Input}. 
     280 
     281  When the name of the terminal type contains a hyphen, and no library 
     282is found whose name is identical to the terminal's name, Emacs strips 
     283from the terminal's name the last hyphen and everything that follows 
     284it, and tries again.  This process is repeated until Emacs finds a 
     285matching library or until there are no more hyphens in the name (the 
     286latter means the terminal doesn't have any library specific to it). 
     287Thus, for example, if there are no @samp{aaa-48} and @samp{aaa-30} 
     288libraries, Emacs will try the same library @file{term/aaa.el} for 
     289terminal types @samp{aaa-48} and @samp{aaa-30-rv}.  If necessary, the 
     290library can evaluate @code{(getenv "TERM")} to find the full name of 
     291the terminal type.@refill 
    286292 
    287293  Your init file can prevent the loading of the