comparison lispref/os.texi @ 90399:a5812696f7bf unicode-pre-font-backend

Merge from emacs--devo--0 Patches applied: * emacs--devo--0 (patch 274-284) - Update from CVS - Update etc/MORE.STUFF. - Merge from gnus--rel--5.10 * gnus--rel--5.10 (patch 101) - Update from CVS Revision: emacs@sv.gnu.org/emacs--unicode--0--patch-62
author Miles Bader <miles@gnu.org>
date Wed, 17 May 2006 07:46:49 +0000
parents c156f6a9e7b5 e617f5abce58
children 8a8e69664178
comparison
equal deleted inserted replaced
90398:1f8d5cd37cf0 90399:a5812696f7bf
269 Normally, @code{term-file-prefix} has the value 269 Normally, @code{term-file-prefix} has the value
270 @code{"term/"}; changing this is not recommended. Emacs finds the file 270 @code{"term/"}; changing this is not recommended. Emacs finds the file
271 in the normal manner, by searching the @code{load-path} directories, and 271 in the normal manner, by searching the @code{load-path} directories, and
272 trying the @samp{.elc} and @samp{.el} suffixes. 272 trying the @samp{.elc} and @samp{.el} suffixes.
273 273
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
279 @cindex Termcap 274 @cindex Termcap
280 When the name of the terminal type contains a hyphen, only the part of 275 The usual function of a terminal-specific library is to enable
281 the name before the first hyphen is significant in choosing the library 276 special keys to send sequences that Emacs can recognize. It may also
282 name. Thus, terminal types @samp{aaa-48} and @samp{aaa-30-rv} both use 277 need to set or add to @code{function-key-map} if the Termcap or
283 the @file{term/aaa} library. If necessary, the library can evaluate 278 Terminfo entry does not specify all the terminal's function keys.
284 @code{(getenv "TERM")} to find the full name of the terminal 279 @xref{Terminal Input}.
285 type.@refill 280
281 When the name of the terminal type contains a hyphen, and no library
282 is found whose name is identical to the terminal's name, Emacs strips
283 from the terminal's name the last hyphen and everything that follows
284 it, and tries again. This process is repeated until Emacs finds a
285 matching library or until there are no more hyphens in the name (the
286 latter means the terminal doesn't have any library specific to it).
287 Thus, for example, if there are no @samp{aaa-48} and @samp{aaa-30}
288 libraries, Emacs will try the same library @file{term/aaa.el} for
289 terminal types @samp{aaa-48} and @samp{aaa-30-rv}. If necessary, the
290 library can evaluate @code{(getenv "TERM")} to find the full name of
291 the terminal type.@refill
286 292
287 Your init file can prevent the loading of the 293 Your init file can prevent the loading of the
288 terminal-specific library by setting the variable 294 terminal-specific library by setting the variable
289 @code{term-file-prefix} to @code{nil}. This feature is useful when 295 @code{term-file-prefix} to @code{nil}. This feature is useful when
290 experimenting with your own peculiar customizations. 296 experimenting with your own peculiar customizations.