; Use @minus for negative numbers in some texi files
[emacs.git] / doc / emacs / cmdargs.texi
blob733919a374a1439ec13a864b55a6d67261f1df48
1 @c This is part of the Emacs manual.
2 @c Copyright (C) 1985-1987, 1993-1995, 1997, 2001-2018 Free Software
3 @c Foundation, Inc.
4 @c See file emacs.texi for copying conditions.
5 @node Emacs Invocation
6 @appendix Command Line Arguments for Emacs Invocation
7 @cindex command line arguments
8 @cindex arguments (command line)
9 @cindex options (command line)
10 @cindex switches (command line)
11 @cindex startup (command line arguments)
12 @cindex invocation (command line arguments)
13 @c FIXME: Document '--smid'?  --xfq
15   Emacs supports command line arguments to request various actions
16 when invoking Emacs.  These are for compatibility with other editors
17 and for sophisticated activities.  We don't recommend using them for
18 ordinary editing (@xref{Emacs Server}, for a way to access an existing
19 Emacs job from the command line).
21   Arguments starting with @samp{-} are @dfn{options}, and so is
22 @samp{+@var{linenum}}.  All other arguments specify files to visit.
23 Emacs visits the specified files while it starts up.  The last file
24 specified on the command line becomes the current buffer; the other
25 files are also visited in other buffers.  As with most programs, the
26 special argument @samp{--} says that all subsequent arguments are file
27 names, not options, even if they start with @samp{-}.
29   Emacs command options can specify many things, such as the size and
30 position of the X window Emacs uses, its colors, and so on.  A few
31 options support advanced usage, such as running Lisp functions on files
32 in batch mode.  The sections of this chapter describe the available
33 options, arranged according to their purpose.
35   There are two ways of writing options: the short forms that start with
36 a single @samp{-}, and the long forms that start with @samp{--}.  For
37 example, @samp{-d} is a short form and @samp{--display} is the
38 corresponding long form.
40   The long forms with @samp{--} are easier to remember, but longer to
41 type.  However, you don't have to spell out the whole option name; any
42 unambiguous abbreviation is enough.  When a long option takes an
43 argument, you can use either a space or an equal sign to separate the
44 option name and the argument.  Thus, for the option @samp{--display},
45 you can write either @samp{--display sugar-bombs:0.0} or
46 @samp{--display=sugar-bombs:0.0}.  We recommend an equal sign because
47 it makes the relationship clearer, and the tables below always show an
48 equal sign.
50 @cindex initial options (command line)
51 @cindex action options (command line)
52 @vindex command-line-args
53   Most options specify how to initialize Emacs, or set parameters for
54 the Emacs session.  We call them @dfn{initial options}.  A few options
55 specify things to do, such as loading libraries or calling Lisp
56 functions.  These are called @dfn{action options}.  These and file
57 names together are called @dfn{action arguments}.  The action
58 arguments are stored as a list of strings in the variable
59 @code{command-line-args}.  (Actually, when Emacs starts up,
60 @code{command-line-args} contains all the arguments passed from the
61 command line; during initialization, the initial arguments are removed
62 from this list when they are processed, leaving only the action
63 arguments.)
65 @menu
66 * Action Arguments::    Arguments to visit files, load libraries,
67                           and call functions.
68 * Initial Options::     Arguments that take effect while starting Emacs.
69 * Command Example::     Examples of using command line arguments.
70 * Environment::         Environment variables that Emacs uses.
71 * Display X::           Changing the default display and using remote login.
72 * Font X::              Choosing a font for text, under X.
73 * Colors X::            Choosing display colors.
74 * Window Size X::       Start-up window size, under X.
75 * Borders X::           Internal and outer borders, under X.
76 * Title X::             Specifying the initial frame's title.
77 * Icons X::             Choosing what sort of icon to use, under X.
78 * Misc X::              Other display options.
79 @end menu
81 @node Action Arguments
82 @appendixsec Action Arguments
84   Here is a table of action arguments:
86 @table @samp
87 @item @var{file}
88 @opindex --file
89 @itemx --file=@var{file}
90 @opindex --find-file
91 @itemx --find-file=@var{file}
92 @opindex --visit
93 @itemx --visit=@var{file}
94 @cindex visiting files, command-line argument
95 @vindex inhibit-startup-buffer-menu
96 Visit the specified @var{file}.  @xref{Visiting}.
98 When Emacs starts up, it displays the startup buffer in one window,
99 and the buffer visiting @var{file} in another window
100 (@pxref{Windows}).  If you supply more than one file argument, the
101 displayed file is the last one specified on the command line; the
102 other files are visited but their buffers are not shown.
104 If the startup buffer is disabled (@pxref{Entering Emacs}), then
105 starting Emacs with one file argument displays the buffer visiting
106 @var{file} in a single window.  With two file arguments, Emacs
107 displays the files in two different windows.  With more than two file
108 arguments, Emacs displays the last file specified in one window, plus
109 another window with a Buffer Menu showing all the other files
110 (@pxref{Several Buffers}).  To inhibit using the Buffer Menu for this,
111 change the variable @code{inhibit-startup-buffer-menu} to @code{t}.
113 @item +@var{linenum} @var{file}
114 @opindex +@var{linenum}
115 Visit the specified @var{file}, then go to line number @var{linenum}
116 in it.
118 @item +@var{linenum}:@var{columnnum} @var{file}
119 Visit the specified @var{file}, then go to line number @var{linenum}
120 and put point at column number @var{columnnum}.
122 @item -l @var{file}
123 @opindex -l
124 @itemx --load=@var{file}
125 @opindex --load
126 @cindex loading Lisp libraries, command-line argument
127 Load a Lisp library named @var{file} with the function @code{load}.
128 If @var{file} is not an absolute file name, Emacs first looks for it
129 in the current directory, then in the directories listed in
130 @code{load-path} (@pxref{Lisp Libraries}).
132 @strong{Warning:} If previous command-line arguments have visited
133 files, the current directory is the directory of the last file
134 visited.
136 @item -L @var{dir}
137 @opindex -L
138 @itemx --directory=@var{dir}
139 @opindex --directory
140 Prepend directory @var{dir} to the variable @code{load-path}.
141 If you specify multiple @samp{-L} options, Emacs preserves the
142 relative order; i.e., using @samp{-L /foo -L /bar} results in
143 a @code{load-path} of the form @code{("/foo" "/bar" @dots{})}.
144 If @var{dir} begins with @samp{:}, Emacs removes the @samp{:} and
145 appends (rather than prepends) the remainder to @code{load-path}.
146 (On MS Windows, use @samp{;} instead of @samp{:}; i.e., use
147 the value of @code{path-separator}.)
149 @item -f @var{function}
150 @opindex -f
151 @itemx --funcall=@var{function}
152 @opindex --funcall
153 @cindex call Lisp functions, command-line argument
154 Call Lisp function @var{function}.  If it is an interactive function
155 (a command), it reads the arguments interactively just as if you had
156 called the same function with a key sequence.  Otherwise, it calls the
157 function with no arguments.
159 @item --eval=@var{expression}
160 @opindex --eval
161 @itemx --execute=@var{expression}
162 @opindex --execute
163 @cindex evaluate expression, command-line argument
164 Evaluate Lisp expression @var{expression}.
166 @item --insert=@var{file}
167 @opindex --insert
168 @cindex insert file contents, command-line argument
169 Insert the contents of @var{file} into the buffer that is current when
170 this command-line argument is processed.  Usually, this is the
171 @file{*scratch*} buffer (@pxref{Lisp Interaction}), but if arguments
172 earlier on the command line visit files or switch buffers, that might
173 be a different buffer.  The effect of this command-line argument is
174 like what @kbd{M-x insert-file} does (@pxref{Misc File Ops}).
176 @item --kill
177 @opindex --kill
178 Exit from Emacs without asking for confirmation.
180 @item --help
181 @opindex --help
182 Print a usage message listing all available options, then exit
183 successfully.
185 @item --version
186 @opindex --version
187 Print Emacs version, then exit successfully.
188 @end table
190 @node Initial Options
191 @appendixsec Initial Options
193   The initial options specify parameters for the Emacs session.  This
194 section describes the more general initial options; some other options
195 specifically related to the X Window System appear in the following
196 sections.
198   Some initial options affect the loading of the initialization file.
199 Normally, Emacs first loads @file{site-start.el} if it exists, then
200 your own initialization file if it exists, and finally the default
201 initialization file @file{default.el} if it exists (@pxref{Init
202 File}).  Certain options prevent loading of some of these files or
203 substitute other files for them.
205 @table @samp
206 @item -chdir @var{directory}
207 @opindex -chdir
208 @itemx --chdir=@var{directory}
209 @opindex --chdir
210 @cindex change Emacs directory
211 Change to @var{directory} before doing anything else.  This is mainly used
212 by session management in X so that Emacs starts in the same directory as it
213 stopped.  This makes desktop saving and restoring easier.
215 @item -t @var{device}
216 @opindex -t
217 @itemx --terminal=@var{device}
218 @opindex --terminal
219 @cindex device for Emacs terminal I/O
220 Use @var{device} as the device for terminal input and output.  This
221 option implies @samp{--no-window-system}.
223 @item -d @var{display}
224 @opindex -d
225 @itemx --display=@var{display}
226 @opindex --display
227 @cindex display for Emacs frame
228 Use the X Window System and use the display named @var{display} to open
229 the initial Emacs frame.  @xref{Display X}, for more details.
231 @item -nw
232 @opindex -nw
233 @itemx --no-window-system
234 @opindex --no-window-system
235 @cindex disable window system
236 Don't communicate directly with the window system, disregarding the
237 @env{DISPLAY} environment variable even if it is set.  This means that
238 Emacs uses the terminal from which it was launched for all its display
239 and input.
241 @cindex batch mode
242 @item -batch
243 @opindex --batch
244 @itemx --batch
245 Run Emacs in @dfn{batch mode}.  Batch mode is used for running
246 programs written in Emacs Lisp from shell scripts, makefiles, and so
247 on.  To invoke a Lisp program, use the @samp{-batch} option in
248 conjunction with one or more of @samp{-l}, @samp{-f} or @samp{--eval}
249 (@pxref{Action Arguments}).  @xref{Command Example}, for an example.
251 In batch mode, Emacs does not display the text being edited, and the
252 standard terminal interrupt characters such as @kbd{C-z} and @kbd{C-c}
253 have their usual effect.  Emacs functions that normally print a
254 message in the echo area will print to either the standard output
255 stream (@code{stdout}) or the standard error stream (@code{stderr})
256 instead.  (To be precise, functions like @code{prin1}, @code{princ}
257 and @code{print} print to @code{stdout}, while @code{message} and
258 @code{error} print to @code{stderr}.)  Functions that normally read
259 keyboard input from the minibuffer take their input from the
260 terminal's standard input stream (@code{stdin}) instead.
262 @samp{--batch} implies @samp{-q} (do not load an initialization file),
263 but @file{site-start.el} is loaded nonetheless.  It also causes Emacs
264 to exit after processing all the command options.  In addition, it
265 disables auto-saving except in buffers for which auto-saving is
266 explicitly requested, and when saving files it omits the @code{fsync}
267 system call unless otherwise requested.
269 @item --script @var{file}
270 @opindex --script
271 @cindex script mode
272 Run Emacs in batch mode, like @samp{--batch}, and then read and
273 execute the Lisp code in @var{file}.
275 The normal use of this option is in executable script files that run
276 Emacs.  They can start with this text on the first line
278 @example
279 #!/usr/bin/emacs --script
280 @end example
282 @noindent
283 which will invoke Emacs with @samp{--script} and supply the name of
284 the script file as @var{file}.  Emacs Lisp then treats the @samp{#!}
285 on this first line as a comment delimiter.
287 @item --no-build-details
288 @opindex --no-build-details
289 @cindex build details
290 @cindex deterministic build
291 Omit details like system name and build time from the Emacs executable,
292 so that builds are more deterministic.
294 @item -q
295 @opindex -q
296 @itemx --no-init-file
297 @opindex --no-init-file
298 @cindex bypassing init and @file{default.el} file
299 @cindex init file, not loading
300 @cindex @file{default.el} file, not loading
301 Do not load any initialization file (@pxref{Init File}).  When Emacs
302 is invoked with this option, the Customize facility does not allow
303 options to be saved (@pxref{Easy Customization}).  This option does
304 not disable loading @file{site-start.el}.
306 @item --no-site-file
307 @opindex --no-site-file
308 @cindex @file{site-start.el} file, not loading
309 Do not load @file{site-start.el} (@pxref{Init File}).  The @samp{-Q}
310 option does this too, but other options like @samp{-q} do not.
312 @item --no-site-lisp
313 @opindex --no-site-lisp
314 @cindex @file{site-lisp} files, not loading
315 Do not include the @file{site-lisp} directories in @code{load-path}
316 (@pxref{Init File}).  The @samp{-Q} option does this too.
318 @item --no-splash
319 @opindex --no-splash
320 @cindex splash screen
321 @cindex startup message
322 Do not display a startup screen.  You can also achieve this effect by
323 setting the variable @code{inhibit-startup-screen} to non-@code{nil}
324 in your initialization file (@pxref{Entering Emacs}).
326 @item -Q
327 @opindex -Q
328 @itemx --quick
329 @opindex --quick
330 Start Emacs with minimum customizations.  This is similar to using @samp{-q},
331 @samp{--no-site-file}, @samp{--no-site-lisp}, and @samp{--no-splash}
332 together.  This also stops Emacs from processing X resources by
333 setting @code{inhibit-x-resources} to @code{t} (@pxref{Resources}).
335 @item -daemon
336 @opindex -daemon
337 @itemx --daemon[=@var{name}]
338 @opindex --daemon
339 @itemx --bg-daemon[=@var{name}]
340 @itemx --fg-daemon[=@var{name}]
341 Start Emacs as a daemon: after Emacs starts up, it starts the Emacs
342 server without opening any frames.
343 (Optionally, you can specify an explicit @var{name} for the server.)
344 You can then use the @command{emacsclient} command to connect to Emacs
345 for editing.  @xref{Emacs Server}, for information about using Emacs
346 as a daemon.  A ``background'' daemon disconnects from the terminal
347 and runs in the background (@samp{--daemon} is an alias for
348 @samp{--bg-daemon}).
350 @item --no-desktop
351 @opindex --no-desktop
352 Do not reload any saved desktop.  @xref{Saving Emacs Sessions}.
354 @item -u @var{user}
355 @opindex -u
356 @itemx --user=@var{user}
357 @opindex --user
358 @cindex load init file of another user
359 Load @var{user}'s initialization file instead of your
360 own@footnote{This option has no effect on MS-Windows.}.
362 @item --debug-init
363 @opindex --debug-init
364 @cindex errors in init file
365 Enable the Emacs Lisp debugger for errors in the init file.
366 @xref{Error Debugging,, Entering the Debugger on an Error, elisp, The
367 GNU Emacs Lisp Reference Manual}.
369 @item --module-assertions
370 @opindex --module-assertions
371 @cindex module verification
372 Enable expensive correctness checks when dealing with dynamically
373 loadable modules.  This is intended for module authors that wish to
374 verify that their module conforms to the module API requirements.  The
375 option makes Emacs abort if a module-related assertion triggers.
376 @end table
378 @node Command Example
379 @appendixsec Command Argument Example
381   Here is an example of using Emacs with arguments and options.  It
382 assumes you have a Lisp program file called @file{hack-c.el} which, when
383 loaded, performs some useful operation on the current buffer, expected
384 to be a C program.
386 @example
387 emacs --batch foo.c -l hack-c -f save-buffer >& log
388 @end example
390 @noindent
391 This says to visit @file{foo.c}, load @file{hack-c.el} (which makes
392 changes in the visited file), save @file{foo.c} (note that
393 @code{save-buffer} is the function that @kbd{C-x C-s} is bound to), and
394 then exit back to the shell (because of @samp{--batch}).  @samp{--batch}
395 also guarantees there will be no problem redirecting output to
396 @file{log}, because Emacs will not assume that it has a display terminal
397 to work with.
399 @node Environment
400 @appendixsec Environment Variables
401 @cindex environment variables
403   The @dfn{environment} is a feature of the operating system; it
404 consists of a collection of variables with names and values.  Each
405 variable is called an @dfn{environment variable}; environment variable
406 names are case-sensitive, and it is conventional to use upper case
407 letters only.  The values are all text strings.
409   What makes the environment useful is that subprocesses inherit the
410 environment automatically from their parent process.  This means you
411 can set up an environment variable in your login shell, and all the
412 programs you run (including Emacs) will automatically see it.
413 Subprocesses of Emacs (such as shells, compilers, and version control
414 programs) inherit the environment from Emacs, too.
416 @findex setenv
417 @findex getenv
418 @vindex initial-environment
419   Inside Emacs, the command @kbd{M-x getenv} reads the name of an
420 environment variable, and prints its value in the echo area.  @kbd{M-x
421 setenv} sets a variable in the Emacs environment, and @kbd{C-u M-x
422 setenv} removes a variable.  (Environment variable substitutions with
423 @samp{$} work in the value just as in file names; see @ref{File Names
424 with $}.)  The variable @code{initial-environment} stores the initial
425 environment inherited by Emacs.
427   The way to set environment variables outside of Emacs depends on the
428 operating system, and especially the shell that you are using.  For
429 example, here's how to set the environment variable @env{ORGANIZATION}
430 to @samp{not very much} using Bash:
432 @example
433 export ORGANIZATION="not very much"
434 @end example
436 @noindent
437 and here's how to do it in csh or tcsh:
439 @example
440 setenv ORGANIZATION "not very much"
441 @end example
443   When Emacs is using the X Window System, various environment
444 variables that control X work for Emacs as well.  See the X
445 documentation for more information.
447 @menu
448 * General Variables::   Environment variables that all versions of Emacs use.
449 * Misc Variables::      Certain system-specific variables.
450 * MS-Windows Registry:: An alternative to the environment on MS-Windows.
451 @end menu
453 @node General Variables
454 @appendixsubsec General Variables
456   Here is an alphabetical list of environment variables that have
457 special meanings in Emacs.  Most of these variables are also used by
458 some other programs.  Emacs does not require any of these environment
459 variables to be set, but it uses their values if they are set.
461 @c This used to be @vtable, but that enters the variables alone into
462 @c the Variable Index, which in some cases, like HOME, might be
463 @c confused with keys by that name, and other cases, like NAME,
464 @c might be confused with general-purpose phrases.
465 @table @env
466 @item CDPATH
467 @vindex CDPATH@r{, environment variable}
468 Used by the @code{cd} command to search for the directory you specify,
469 when you specify a relative directory,
470 @item DBUS_SESSION_BUS_ADDRESS
471 @vindex DBUS_SESSION_BUS_ADDRESS@r{, environment variable}
472 Used by D-Bus when Emacs is compiled with it.  Usually, there is no
473 need to change it.  Setting it to a dummy address, like
474 @samp{unix:path=/dev/null}, suppresses connections to the D-Bus session
475 bus as well as autolaunching the D-Bus session bus if not running yet.
476 @item EMACSDATA
477 @vindex EMACSDATA@r{, environment variable}
478 Directory for the architecture-independent files that come with Emacs.
479 This is used to initialize the variable @code{data-directory}.
480 @item EMACSDOC
481 @vindex EMACSDOC@r{, environment variable}
482 Directory for the documentation string file, which is used to
483 initialize the Lisp variable @code{doc-directory}.
484 @item EMACSLOADPATH
485 @vindex EMACSLOADPATH@r{, environment variable}
486 A colon-separated list of directories@footnote{Here and below,
487 whenever we say ``colon-separated list of directories'', it pertains
488 to Unix and GNU/Linux systems.  On MS-DOS and MS-Windows, the
489 directories are separated by semi-colons instead, since DOS/Windows
490 file names might include a colon after a drive letter.} to search for
491 Emacs Lisp files.  If set, it modifies the usual initial value of the
492 @code{load-path} variable (@pxref{Lisp Libraries}).  An empty element
493 stands for the default value of @code{load-path}; e.g., using
494 @samp{EMACSLOADPATH="/tmp:"} adds @file{/tmp} to the front of
495 the default @code{load-path}.  To specify an empty element in the
496 middle of the list, use 2 colons in a row, as in
497 @samp{EMACSLOADPATH="/tmp::/foo"}.
498 @item EMACSPATH
499 @vindex EMACSPATH@r{, environment variable}
500 A colon-separated list of directories to search for executable files.
501 If set, Emacs uses this in addition to @env{PATH} (see below) when
502 initializing the variable @code{exec-path} (@pxref{Shell}).
503 @item EMAIL
504 @vindex EMAIL@r{, environment variable}
505 @vindex user-mail-address@r{, initialization}
506 Your email address; used to initialize the Lisp variable
507 @code{user-mail-address}, which the Emacs mail interface puts into the
508 @samp{From} header of outgoing messages (@pxref{Mail Headers}).
509 @item ESHELL
510 @vindex ESHELL@r{, environment variable}
511 Used for shell-mode to override the @env{SHELL} environment variable
512 (@pxref{Interactive Shell}).
513 @item HISTFILE
514 @vindex HISTFILE@r{, environment variable}
515 The name of the file that shell commands are saved in between logins.
516 This variable defaults to @file{~/.bash_history} if you use Bash, to
517 @file{~/.sh_history} if you use ksh, and to @file{~/.history}
518 otherwise.
519 @item HOME
520 @vindex HOME@r{, environment variable}
521 The location of your files in the directory tree; used for
522 expansion of file names starting with a tilde (@file{~}).  On MS-DOS,
523 it defaults to the directory from which Emacs was started, with
524 @samp{/bin} removed from the end if it was present.  On Windows, the
525 default value of @env{HOME} is the @file{Application Data}
526 subdirectory of the user profile directory (normally, this is
527 @file{C:/Documents and Settings/@var{username}/Application Data},
528 where @var{username} is your user name), though for backwards
529 compatibility @file{C:/} will be used instead if a @file{.emacs} file
530 is found there.
531 @item HOSTNAME
532 @vindex HOSTNAME@r{, environment variable}
533 The name of the machine that Emacs is running on.
534 @c complete.el is obsolete since 24.1.
535 @ignore
536 @item INCPATH
537 A colon-separated list of directories.  Used by the @code{complete} package
538 to search for files.
539 @end ignore
540 @item INFOPATH
541 @vindex INFOPATH@r{, environment variable}
542 A colon-separated list of directories in which to search for Info files.
543 @item LC_ALL
544 @vindex LC_ALL@r{, environment variable}
545 @itemx LC_COLLATE
546 @vindex LC_COLLATE@r{, environment variable}
547 @itemx LC_CTYPE
548 @vindex LC_CTYPE@r{, environment variable}
549 @itemx LC_MESSAGES
550 @vindex LC_MESSAGES@r{, environment variable}
551 @itemx LC_MONETARY
552 @vindex LC_MONETARY@r{, environment variable}
553 @itemx LC_NUMERIC
554 @vindex LC_NUMERIC@r{, environment variable}
555 @itemx LC_TIME
556 @vindex LC_TIME@r{, environment variable}
557 @itemx LANG
558 @vindex LANG@r{, environment variable}
559 The user's preferred locale.  The locale has six categories, specified
560 by the environment variables @env{LC_COLLATE} for sorting,
561 @env{LC_CTYPE} for character encoding, @env{LC_MESSAGES} for system
562 messages, @env{LC_MONETARY} for monetary formats, @env{LC_NUMERIC} for
563 numbers, and @env{LC_TIME} for dates and times.  If one of these
564 variables is not set, the category defaults to the value of the
565 @env{LANG} environment variable, or to the default @samp{C} locale if
566 @env{LANG} is not set.  But if @env{LC_ALL} is specified, it overrides
567 the settings of all the other locale environment variables.
569 On MS-Windows and macOS, if @env{LANG} is not already set in the
570 environment, Emacs sets it based on the system-wide default.  You can
571 set this in the ``Regional Settings'' Control Panel on some versions
572 of MS-Windows, and in the ``Language and Region'' System Preference on
573 macOS.
575 The value of the @env{LC_CTYPE} category is
576 matched against entries in @code{locale-language-names},
577 @code{locale-charset-language-names}, and
578 @code{locale-preferred-coding-systems}, to select a default language
579 environment and coding system.  @xref{Language Environments}.
580 @item LOGNAME
581 @vindex LOGNAME@r{, environment variable}
582 The user's login name.  See also @env{USER}.
583 @item MAIL
584 @vindex MAIL@r{, environment variable}
585 The name of your system mail inbox.
586 @ifnottex
587 @item MH
588 @vindex MH@r{, environment variable}
589 Name of setup file for the mh system.  @xref{Top,,MH-E,mh-e, The Emacs
590 Interface to MH}.
591 @end ifnottex
592 @item NAME
593 @vindex NAME@r{, environment variable}
594 Your real-world name.  This is used to initialize the variable
595 @code{user-full-name} (@pxref{Mail Headers}).
596 @item NNTPSERVER
597 @vindex NNTPSERVER@r{, environment variable}
598 The name of the news server.  Used by the mh and Gnus packages.
599 @item ORGANIZATION
600 @vindex ORGANIZATION@r{, environment variable}
601 The name of the organization to which you belong.  Used for setting the
602 @samp{Organization:} header in your posts from the Gnus package.
603 @item PATH
604 @vindex PATH@r{, environment variable}
605 A colon-separated list of directories containing executable files.
606 This is used to initialize the variable @code{exec-path}
607 (@pxref{Shell}).
608 @item PWD
609 @vindex PWD@r{, environment variable}
610 If set, this should be the default directory when Emacs was started.
611 @item REPLYTO
612 @vindex REPLYTO@r{, environment variable}
613 If set, this specifies an initial value for the variable
614 @code{mail-default-reply-to} (@pxref{Mail Headers}).
615 @item SAVEDIR
616 @vindex SAVEDIR@r{, environment variable}
617 The name of a directory in which news articles are saved by default.
618 Used by the Gnus package.
619 @item SHELL
620 @vindex SHELL@r{, environment variable}
621 The name of an interpreter used to parse and execute programs run from
622 inside Emacs.
623 @item SMTPSERVER
624 @vindex SMTPSERVER@r{, environment variable}
625 The name of the outgoing mail server.  This is used to initialize the
626 variable @code{smtpmail-smtp-server} (@pxref{Mail Sending}).
627 @cindex background mode, on @command{xterm}
628 @item TERM
629 @vindex TERM@r{, environment variable}
630 The type of the terminal that Emacs is using.  This variable must be
631 set unless Emacs is run in batch mode.  On MS-DOS, it defaults to
632 @samp{internal}, which specifies a built-in terminal emulation that
633 handles the machine's own display.
634 @item TERMCAP
635 @vindex TERMCAP@r{, environment variable}
636 The name of the termcap library file describing how to program the
637 terminal specified by @env{TERM}.  This defaults to
638 @file{/etc/termcap}.
639 @item TMPDIR
640 @vindex TMPDIR@r{, environment variable}
641 @itemx TMP
642 @vindex TMP@r{, environment variable}
643 @itemx TEMP
644 @vindex TEMP@r{, environment variable}
645 These environment variables are used to initialize the variable
646 @code{temporary-file-directory}, which specifies a directory in which
647 to put temporary files (@pxref{Backup}).  Emacs tries to use
648 @env{TMPDIR} first.  If that is unset, Emacs normally falls back on
649 @file{/tmp}, but on MS-Windows and MS-DOS it instead falls back on
650 @env{TMP}, then @env{TEMP}, and finally @file{c:/temp}.
651 @item TZ
652 @vindex TZ@r{, environment variable}
653 This specifies the default time zone and possibly also daylight
654 saving time information.  @xref{Time Zone Rules,,, elisp, The GNU
655 Emacs Lisp Reference Manual}.  On MS-DOS, if @env{TZ} is not set in the
656 environment when Emacs starts, Emacs defines a default value as
657 appropriate for the country code returned by DOS@.  On MS-Windows, Emacs
658 does not use @env{TZ} at all.
659 @item USER
660 @vindex USER@r{, environment variable}
661 The user's login name.  See also @env{LOGNAME}.  On MS-DOS, this
662 defaults to @samp{root}.
663 @item VERSION_CONTROL
664 @vindex VERSION_CONTROL@r{, environment variable}
665 Used to initialize the @code{version-control} variable (@pxref{Backup
666 Names}).
667 @end table
669 @node Misc Variables
670 @appendixsubsec Miscellaneous Variables
672 These variables are used only on particular configurations:
674 @vtable @env
675 @item COMSPEC
676 On MS-DOS and MS-Windows, the name of the command interpreter to use
677 when invoking batch files and commands internal to the shell.  On MS-DOS
678 this is also used to make a default value for the @env{SHELL} environment
679 variable.
681 @item NAME
682 On MS-DOS, this variable defaults to the value of the @env{USER}
683 variable.
685 @item EMACSTEST
686 On MS-DOS, this specifies a file to use to log the operation of the
687 internal terminal emulator.  This feature is useful for submitting bug
688 reports.
690 @item EMACSCOLORS
691 On MS-DOS, this specifies the screen colors.  It is useful to set them
692 this way, since otherwise Emacs would display the default colors
693 momentarily when it starts up.
695 The value of this variable should be the two-character encoding of the
696 foreground (the first character) and the background (the second
697 character) colors of the default face.  Each character should be the
698 hexadecimal code for the desired color on a standard PC text-mode
699 display.  For example, to get blue text on a light gray background,
700 specify @samp{EMACSCOLORS=17}, since 1 is the code of the blue color and
701 7 is the code of the light gray color.
703 The PC display usually supports only eight background colors.  However,
704 Emacs switches the DOS display to a mode where all 16 colors can be used
705 for the background, so all four bits of the background color are
706 actually used.
708 @item PRELOAD_WINSOCK
709 On MS-Windows, if you set this variable, Emacs will load and initialize
710 the network library at startup, instead of waiting until the first
711 time it is required.
713 @item emacs_dir
714 On MS-Windows, @env{emacs_dir} is a special environment variable, which
715 indicates the full path of the directory in which Emacs is installed.
716 If Emacs is installed in the standard directory structure, it
717 calculates this value automatically.  It is not much use setting this
718 variable yourself unless your installation is non-standard, since
719 unlike other environment variables, it will be overridden by Emacs at
720 startup.  When setting other environment variables, such as
721 @env{EMACSLOADPATH}, you may find it useful to use @env{emacs_dir}
722 rather than hard-coding an absolute path.  This allows multiple
723 versions of Emacs to share the same environment variable settings, and
724 it allows you to move the Emacs installation directory, without
725 changing any environment or registry settings.
726 @end vtable
728 @node MS-Windows Registry
729 @appendixsubsec The MS-Windows System Registry
730 @pindex addpm, MS-Windows installation program
731 @cindex registry, setting environment variables (MS-Windows)
733 On MS-Windows, the installation program @command{addpm.exe} adds
734 values for @env{emacs_dir}, @env{EMACSLOADPATH}, @env{EMACSDATA},
735 @env{EMACSPATH}, @env{EMACSDOC}, @env{SHELL} and @env{TERM} to the
736 @file{HKEY_LOCAL_MACHINE} section of the system registry, under
737 @file{/Software/GNU/Emacs}.  It does this because there is no standard
738 place to set environment variables across different versions of
739 Windows.  Running @command{addpm.exe} is no longer strictly necessary
740 in recent versions of Emacs, but if you are upgrading from an older
741 version, running @command{addpm.exe} ensures that you do not have
742 older registry entries from a previous installation, which may not be
743 compatible with the latest version of Emacs.
745 When Emacs starts, as well as checking the environment, it also checks
746 the System Registry for those variables and for @env{HOME}, @env{LANG}
747 and @env{PRELOAD_WINSOCK}.
749 To determine the value of those variables, Emacs goes through the
750 following procedure.  First, the environment is checked.  If the
751 variable is not found there, Emacs looks for registry keys by that
752 name under @file{/Software/GNU/Emacs}; first in the
753 @file{HKEY_CURRENT_USER} section of the registry, and if not found
754 there, in the @file{HKEY_LOCAL_MACHINE} section.  Finally, if Emacs
755 still cannot determine the values, compiled-in defaults are used.
757 In addition to the environment variables above, you can also add
758 settings to the @file{/Software/GNU/Emacs} registry key to specify X
759 resources (@pxref{X Resources}).  Most of the settings you can specify
760 in your @file{.Xdefaults} file can be set from that registry key.
762 @node Display X
763 @appendixsec Specifying the Display Name
764 @cindex display name (X Window System)
765 @cindex @env{DISPLAY} environment variable
767   The environment variable @env{DISPLAY} tells all X clients,
768 including Emacs, where to display their windows.  Its value is set by
769 default in ordinary circumstances, when you start an X server and run
770 jobs locally.  You can specify the display yourself; one reason to do
771 this is if you want to log into another system and run Emacs there,
772 and have the window displayed at your local terminal.
774   @env{DISPLAY} has the syntax
775 @samp{@var{host}:@var{display}.@var{screen}}, where @var{host} is the
776 host name of the X Window System server machine, @var{display} is an
777 arbitrarily-assigned number that distinguishes your server (X
778 terminal) from other servers on the same machine, and @var{screen} is
779 a field that allows an X server to control multiple terminal screens.
780 The period and the @var{screen} field are optional.  If included,
781 @var{screen} is usually zero.
783   For example, if your host is named @samp{glasperle} and your server is
784 the first (or perhaps the only) server listed in the configuration, your
785 @env{DISPLAY} is @samp{glasperle:0.0}.
787   You can specify the display name explicitly when you run Emacs, either
788 by changing the @env{DISPLAY} variable, or with the option @samp{-d
789 @var{display}} or @samp{--display=@var{display}}.  Here is an example:
791 @smallexample
792 emacs --display=glasperle:0 &
793 @end smallexample
795   You can inhibit the use of the X window system with the @samp{-nw}
796 option.  Then Emacs uses its controlling text terminal for display.
797 @xref{Initial Options}.
799   Sometimes, security arrangements prevent a program on a remote system
800 from displaying on your local system.  In this case, trying to run Emacs
801 produces messages like this:
803 @smallexample
804 Xlib:  connection to "glasperle:0.0" refused by server
805 @end smallexample
807 @noindent
808 You might be able to overcome this problem by using the @command{xhost}
809 command on the local system to give permission for access from your
810 remote machine.
812 @node Font X
813 @appendixsec Font Specification Options
814 @cindex font name (X Window System)
816 You can use the command line option @samp{-fn @var{font}} (or
817 @samp{--font}, which is an alias for @samp{-fn}) to specify a default
818 font:
820 @table @samp
821 @item -fn @var{font}
822 @opindex -fn
823 @itemx --font=@var{font}
824 @opindex --font
825 @cindex specify default font from the command line
826 Use @var{font} as the default font.
827 @end table
829 When passing a font name to Emacs on the command line, you may need to
830 quote it, by enclosing it in quotation marks, if it contains
831 characters that the shell treats specially (e.g., spaces).  For
832 example:
834 @smallexample
835 emacs -fn "DejaVu Sans Mono-12"
836 @end smallexample
838 @xref{Fonts}, for details about font names and other ways to specify
839 the default font.
841 @node Colors X
842 @appendixsec Window Color Options
843 @cindex color of window, from command line
844 @cindex text colors, from command line
846   You can use the following command-line options to specify the colors
847 to use for various parts of the Emacs display.  Colors may be
848 specified using either color names or RGB triplets (@pxref{Colors}).
850 @table @samp
851 @item -fg @var{color}
852 @opindex -fg
853 @itemx --foreground-color=@var{color}
854 @opindex --foreground-color
855 @cindex foreground color, command-line argument
856 Specify the foreground color, overriding the color specified by the
857 @code{default} face (@pxref{Faces}).
858 @item -bg @var{color}
859 @opindex -bg
860 @itemx --background-color=@var{color}
861 @opindex --background-color
862 @cindex background color, command-line argument
863 Specify the background color, overriding the color specified by the
864 @code{default} face.
865 @item -bd @var{color}
866 @opindex -bd
867 @itemx --border-color=@var{color}
868 @opindex --border-color
869 @cindex border color, command-line argument
870 Specify the color of the border of the X window.  This has no effect
871 if Emacs is compiled with GTK+ support.
872 @item -cr @var{color}
873 @opindex -cr
874 @itemx --cursor-color=@var{color}
875 @opindex --cursor-color
876 @cindex cursor color, command-line argument
877 Specify the color of the Emacs cursor which indicates where point is.
878 @item -ms @var{color}
879 @opindex -ms
880 @itemx --mouse-color=@var{color}
881 @opindex --mouse-color
882 @cindex mouse pointer color, command-line argument
883 Specify the color for the mouse cursor when the mouse is in the Emacs window.
884 @item -r
885 @opindex -r
886 @itemx -rv
887 @opindex -rv
888 @itemx --reverse-video
889 @opindex --reverse-video
890 @cindex reverse video, command-line argument
891 Reverse video: swap the foreground and background colors.
892 @item --color=@var{mode}
893 @opindex --color
894 @cindex standard colors on a character terminal
895 @cindex override character terminal color support
896 Set the @dfn{color support mode} when Emacs is run on a text terminal.
897 This option overrides the number of supported colors that the
898 character terminal advertises in its @code{termcap} or @code{terminfo}
899 database.  The parameter @var{mode} can be one of the following:
900 @table @samp
901 @item never
902 @itemx no
903 Don't use colors even if the terminal's capabilities specify color
904 support.
905 @item default
906 @itemx auto
907 Same as when @option{--color} is not used at all: Emacs detects at
908 startup whether the terminal supports colors, and if it does, turns on
909 colored display.
910 @item always
911 @itemx yes
912 @itemx ansi8
913 Turn on the color support unconditionally, and use color commands
914 specified by the ANSI escape sequences for the 8 standard colors.
915 @item @var{num}
916 Use color mode for @var{num} colors.  If @var{num} is @minus{}1, turn off
917 color support (equivalent to @samp{never}); if it is 0, use the
918 default color support for this terminal (equivalent to @samp{auto});
919 otherwise use an appropriate standard mode for @var{num} colors.
920 Depending on your terminal's capabilities, Emacs might be able to turn
921 on a color mode for 8, 16, 88, or 256 as the value of @var{num}.  If
922 there is no mode that supports @var{num} colors, Emacs acts as if
923 @var{num} were 0, i.e., it uses the terminal's default color support
924 mode.
925 @end table
926 If @var{mode} is omitted, it defaults to @var{ansi8}.
927 @end table
929   For example, to use a coral mouse cursor and a slate blue text cursor,
930 enter:
932 @example
933 emacs -ms coral -cr 'slate blue' &
934 @end example
936   You can reverse the foreground and background colors through the
937 @samp{-rv} option or with the X resource @samp{reverseVideo}.
939   The @samp{-fg}, @samp{-bg}, and @samp{-rv} options function on text
940 terminals as well as on graphical displays.
942 @node Window Size X
943 @appendixsec Options for Window Size and Position
944 @cindex geometry of Emacs window
945 @cindex position and size of Emacs frame
946 @cindex width and height of Emacs frame
947 @cindex specifying fullscreen for Emacs frame
949   Here is a list of the command-line options for specifying size and
950 position of the initial Emacs frame:
952 @table @samp
953 @item -g @var{width}x@var{height}@r{[@{}+-@r{@}}@var{xoffset}@r{@{}+-@r{@}}@var{yoffset}@r{]]}
954 @opindex -g
955 @itemx --geometry=@var{width}x@var{height}@r{[@{}+-@r{@}}@var{xoffset}@r{@{}+-@r{@}}@var{yoffset}@r{]]}
956 @opindex --geometry
957 @cindex geometry, command-line argument
958 Specify the size @var{width} and @var{height} (measured in character
959 columns and lines), and positions @var{xoffset} and @var{yoffset}
960 (measured in pixels).  The @var{width} and @var{height} parameters
961 apply to all frames, whereas @var{xoffset} and @var{yoffset} only to
962 the initial frame.
964 @item -fs
965 @opindex -fs
966 @itemx --fullscreen
967 @opindex --fullscreen
968 @cindex fullscreen, command-line argument
969 Specify that width and height should be that of the screen.  Normally
970 no window manager decorations are shown.  (After starting Emacs,
971 you can toggle this state using @key{F11}, @code{toggle-frame-fullscreen}.)
973 @item -mm
974 @opindex -mm
975 @itemx --maximized
976 @opindex --maximized
977 @cindex maximized, command-line argument
978 Specify that the Emacs frame should be maximized.  This normally
979 means that the frame has window manager decorations.
980 (After starting Emacs, you can toggle this state using @kbd{M-F10},
981 @code{toggle-frame-maximized}.)
983 @item -fh
984 @opindex -fh
985 @itemx --fullheight
986 @opindex --fullheight
987 @cindex fullheight, command-line argument
988 Specify that the height should be the height of the screen.
990 @item -fw
991 @opindex -fw
992 @itemx --fullwidth
993 @opindex --fullwidth
994 @cindex fullwidth, command-line argument
995 Specify that the width should be the width of the screen.
996 @end table
998 @noindent
999 In the @samp{--geometry} option, @code{@r{@{}+-@r{@}}} means either a plus
1000  sign or a minus sign.  A plus
1001 sign before @var{xoffset} means it is the distance from the left side of
1002 the screen; a minus sign means it counts from the right side.  A plus
1003 sign before @var{yoffset} means it is the distance from the top of the
1004 screen, and a minus sign there indicates the distance from the bottom.
1005 The values @var{xoffset} and @var{yoffset} may themselves be positive or
1006 negative, but that doesn't change their meaning, only their direction.
1008   Emacs uses the same units as @command{xterm} does to interpret the geometry.
1009 The @var{width} and @var{height} are measured in characters, so a large font
1010 creates a larger frame than a small font.  (If you specify a proportional
1011 font, Emacs uses its maximum bounds width as the width unit.)  The
1012 @var{xoffset} and @var{yoffset} are measured in pixels.
1014   You do not have to specify all of the fields in the geometry
1015 specification.  If you omit both @var{xoffset} and @var{yoffset}, the
1016 window manager decides where to put the Emacs frame, possibly by
1017 letting you place it with the mouse.  For example, @samp{164x55}
1018 specifies a window 164 columns wide, enough for two ordinary width
1019 windows side by side, and 55 lines tall.
1021   The default frame width is 80 characters and the default height is
1022 40 lines.  You can omit either the width or the height or both.  If
1023 you start the geometry with an integer, Emacs interprets it as the
1024 width.  If you start with an @samp{x} followed by an integer, Emacs
1025 interprets it as the height.  Thus, @samp{81} specifies just the
1026 width; @samp{x45} specifies just the height.
1028   If you start the geometry with @samp{+} or @samp{-}, that introduces
1029 an offset, which means both sizes are omitted.  Thus, @samp{-3}
1030 specifies the @var{xoffset} only.  (If you give just one offset, it is
1031 always @var{xoffset}.)  @samp{+3-3} specifies both the @var{xoffset}
1032 and the @var{yoffset}, placing the frame near the bottom left of the
1033 screen.
1035   You can specify a default for any or all of the fields in your X
1036 resource file (@pxref{Resources}), and then override selected fields
1037 with a @samp{--geometry} option.
1039   Since the mode line and the echo area occupy the last 2 lines of the
1040 frame, the height of the initial text window is 2 less than the height
1041 specified in your geometry.  In non-X-toolkit versions of Emacs, the
1042 menu bar also takes one line of the specified number.  But in the X
1043 toolkit version, the menu bar is additional and does not count against
1044 the specified height.  The tool bar, if present, is also additional.
1046   Enabling or disabling the menu bar or tool bar alters the amount of
1047 space available for ordinary text.  Therefore, if Emacs starts up with
1048 a tool bar (which is the default), and handles the geometry
1049 specification assuming there is a tool bar, and then your
1050 initialization file disables the tool bar, you will end up with a
1051 frame geometry different from what you asked for.  To get the intended
1052 size with no tool bar, use an X resource to specify ``no tool bar''
1053 (@pxref{Table of Resources}); then Emacs will already know there's no
1054 tool bar when it processes the specified geometry.
1056   When using one of @samp{--fullscreen}, @samp{--maximized},
1057 @samp{--fullwidth} or @samp{--fullheight}, some window managers require
1058 you to set the variable @code{frame-resize-pixelwise} to a non-@code{nil}
1059 value to make a frame appear truly maximized or full-screen.
1061  Some window managers have options that can make them ignore both
1062 program-specified and user-specified positions.  If these are set,
1063 Emacs fails to position the window correctly.
1065 @node Borders X
1066 @appendixsec Internal and Outer Borders
1067 @cindex borders (X Window System)
1069   An Emacs frame has an internal border and an outer border.  The
1070 internal border is an extra strip of the background color around the
1071 text portion of the frame.  Emacs itself draws the internal border.  The
1072 outer border is drawn by X outside the tool and menu bars of the frame.
1073 There is also an external border which is drawn by the window manager.
1074 The size of the external border cannot be set from within Emacs.
1076 @table @samp
1077 @item -ib @var{width}
1078 @opindex -ib
1079 @itemx --internal-border=@var{width}
1080 @opindex --internal-border
1081 @cindex internal border width, command-line argument
1082 Specify @var{width} as the width of the internal border (around the
1083 frame's text area), in pixels.
1085 @item -bw @var{width}
1086 @opindex -bw
1087 @itemx --border-width=@var{width}
1088 @opindex --border-width
1089 @cindex main border width, command-line argument
1090 @cindex outer border width, command-line argument
1091 Specify @var{width} as the width of the outer border, in pixels.
1092 @end table
1094   When you specify the size of the frame, that does not count the
1095 borders.  The frame's position is measured from the outside edge of the
1096 external border.
1098   Use the @samp{-ib @var{n}} option to specify an internal border
1099 @var{n} pixels wide.  The default is 1.  Use @samp{-bw @var{n}} to
1100 specify the width of the outer border (though the window manager may not
1101 pay attention to what you specify).  The default width of the outer
1102 border is 2.
1104 @node Title X
1105 @appendixsec Frame Titles
1107   Each Emacs frame always has a title, which appears in window
1108 decorations and icons as the name of the frame.  The default title is
1109 of the form @samp{@var{invocation-name}@@@var{machine}} (if there is
1110 only one frame) or shows the selected window's buffer name (if there
1111 is more than one frame).
1113   You can specify a non-default title for the initial Emacs frame with
1114 a command line option:
1116 @table @samp
1117 @item -T @var{title}
1118 @opindex -T
1119 @itemx --title=@var{title}
1120 @opindex --title
1121 @cindex frame title, command-line argument
1122 Specify @var{title} as the title for the initial Emacs frame.
1123 @end table
1125   The @samp{--name} option (@pxref{Resources}) also specifies the title
1126 for the initial Emacs frame.
1128 @node Icons X
1129 @appendixsec Icons
1130 @cindex icons (X Window System)
1131 @cindex minimizing a frame at startup
1133 @table @samp
1134 @item -iconic
1135 @opindex --iconic
1136 @itemx --iconic
1137 @cindex start iconified, command-line argument
1138 Start Emacs in an iconified state.
1140 @item -nbi
1141 @opindex -nbi
1142 @itemx --no-bitmap-icon
1143 @opindex --no-bitmap-icon
1144 @cindex Emacs icon, a gnu
1145 Disable the use of the Emacs icon.
1146 @end table
1148   Most window managers allow you to iconify (or ``minimize'') an
1149 Emacs frame, hiding it from sight.  Some window managers replace
1150 iconified windows with tiny icons, while others remove them
1151 entirely from sight.  The @samp{-iconic} option tells Emacs to begin
1152 running in an iconified state, rather than showing a frame right away.
1153 The text frame doesn't appear until you deiconify (or ``un-minimize'')
1156   By default, Emacs uses an icon containing the Emacs logo.  On
1157 desktop environments such as Gnome, this icon is also displayed in
1158 other contexts, e.g., when switching into an Emacs frame.  The
1159 @samp{-nbi} or @samp{--no-bitmap-icon} option tells Emacs to let the
1160 window manager choose what sort of icon to use---usually just a small
1161 rectangle containing the frame's title.
1163 @node Misc X
1164 @appendixsec Other Display Options
1166 @table @samp
1167 @c @item -hb
1168 @c @opindex -hb
1169 @c @itemx --horizontal-scroll-bars
1170 @c @opindex --horizontal-scroll-bars
1171 @c @c @cindex horizontal scroll bars, command-line argument
1172 @c Enable horizontal scroll bars.  Since horizontal scroll bars
1173 @c are not yet implemented, this actually does nothing.
1175 @item --parent-id @var{id}
1176 Open Emacs as a client X window via the XEmbed protocol, with @var{id}
1177 as the parent X window id.  Currently, this option is mainly useful
1178 for developers.
1180 @item -vb
1181 @opindex -vb
1182 @itemx --vertical-scroll-bars
1183 @opindex --vertical-scroll-bars
1184 @cindex vertical scroll bars, command-line argument
1185 Enable vertical scroll bars.
1187 @item -lsp @var{pixels}
1188 @opindex -lsp
1189 @itemx --line-spacing=@var{pixels}
1190 @opindex --line-spacing
1191 @cindex line spacing, command-line argument
1192 Specify @var{pixels} as additional space to put between lines, in pixels.
1194 @item -nbc
1195 @opindex -nbc
1196 @itemx --no-blinking-cursor
1197 @opindex --no-blinking-cursor
1198 @cindex blinking cursor disable, command-line argument
1199 Disable the blinking cursor on graphical displays.
1201 @item -D
1202 @opindex -D
1203 @itemx --basic-display
1204 @opindex --basic-display
1205 Disable the menu-bar, the tool-bar, the scroll-bars, and tool tips,
1206 and turn off the blinking cursor.  This can be useful for making a
1207 test case that simplifies debugging of display problems.
1208 @end table
1210   The @samp{--xrm} option (@pxref{Resources}) specifies additional
1211 X resource values.