# HG changeset patch # User Eli Zaretskii # Date 972759366 0 # Node ID 4c7241b226fc1c92b64624a186b89833d3a802aa # Parent 3cdab12284622df7407b8f15b294ca5c92c3fab3 Document that if $TERM says we are on xterm, the default background mode is light. diff -r 3cdab1228462 -r 4c7241b226fc man/cmdargs.texi --- a/man/cmdargs.texi Sat Oct 28 18:56:05 2000 +0000 +++ b/man/cmdargs.texi Sat Oct 28 18:56:06 2000 +0000 @@ -397,11 +397,15 @@ @item SHELL The name of an interpreter used to parse and execute programs run from inside Emacs. +@cindex background mode, on @code{xterm} @item TERM The name of the terminal that Emacs is running on. The variable must be set unless Emacs is run in batch mode. On MS-DOS, it defaults to @samp{internal}, which specifies a built-in terminal emulation that -handles the machine's own display. +handles the machine's own display. If the value of @env{TERM} indicates +that Emacs runs in non-windowed mode from @code{xterm} or a similar +terminal emulator, the background mode defaults to @samp{light}, and +Emacs will choose colors that are appropriate for a light background. @item TERMCAP The name of the termcap library file describing how to program the terminal specified by the @env{TERM} variable. This defaults to