aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorEli Zaretskii2000-10-28 17:25:19 +0000
committerEli Zaretskii2000-10-28 17:25:19 +0000
commit54e33bb37f2d4415e1ae1a06b2559654e33cd298 (patch)
tree7059f5e8512d38ead25c74ea50e44d307faa1b9f
parentf30846b1a8e4d6b2dd673bbc21cc3fb8d2b7420c (diff)
downloademacs-54e33bb37f2d4415e1ae1a06b2559654e33cd298.tar.gz
emacs-54e33bb37f2d4415e1ae1a06b2559654e33cd298.zip
(Colors X): Document support for -fg, -bg, and -rv
on TTYs. Suggest use of list-colors-display to see what colors are supported. Add index entries for list-colors-display.
-rw-r--r--man/cmdargs.texi25
1 files changed, 17 insertions, 8 deletions
diff --git a/man/cmdargs.texi b/man/cmdargs.texi
index 4409439298c..dbc60e1d867 100644
--- a/man/cmdargs.texi
+++ b/man/cmdargs.texi
@@ -140,8 +140,9 @@ the initial Emacs frame.
140 140
141@item -nw 141@item -nw
142@itemx --no-windows 142@itemx --no-windows
143Don't communicate directly with X, disregarding the @env{DISPLAY} 143Don't communicate directly with the window system, disregarding the
144environment variable even if it is set. 144@env{DISPLAY} environment variable even if it is set. This forces Emacs
145to run as if the display were a character terminal.
145 146
146@need 3000 147@need 3000
147@cindex batch mode 148@cindex batch mode
@@ -631,16 +632,21 @@ displays the entire font @samp{6x13}.
631@node Colors X 632@node Colors X
632@appendixsec Window Color Options 633@appendixsec Window Color Options
633@cindex color of window (X Windows) 634@cindex color of window (X Windows)
635@cindex text colors, from command line
634 636
637@findex list-colors-display
638@cindex available colors
635 On a color display, you can specify which color to use for various 639 On a color display, you can specify which color to use for various
636parts of the Emacs display. To find out what colors are available on 640parts of the Emacs display. To find out what colors are available on
637your system, look at the @file{/usr/lib/X11/rgb.txt} file. If you do 641your system, type @kbd{M-x list-colors-display}, or press
638not specify colors, the default for the background is white and the 642@kbd{C-mouse-2} and select @samp{Display Colors} from the pop-up menu.
639default for all other colors is black. On a monochrome display, the 643If you do not specify colors, on windowed displays the default for the
640foreground is black, the background is white, and the border is gray if 644background is white and the default for all other colors is black. On a
641the display supports that. 645monochrome display, the foreground is black, the background is white,
646and the border is gray if the display supports that. On terminals, the
647background is usually black and the foreground is white.
642 648
643 Here is a list of the options for specifying colors: 649 Here is a list of the command-line options for specifying colors:
644 650
645@table @samp 651@table @samp
646@item -fg @var{color} 652@item -fg @var{color}
@@ -673,6 +679,9 @@ emacs -ms coral -cr 'slate blue' &
673 You can reverse the foreground and background colors through the 679 You can reverse the foreground and background colors through the
674@samp{-r} option or with the X resource @samp{reverseVideo}. 680@samp{-r} option or with the X resource @samp{reverseVideo}.
675 681
682 When Emacs display is on a character terminal, it supports the
683@samp{-fg}, @code{-bg}, and @code{-rv} options.
684
676@node Window Size X 685@node Window Size X
677@appendixsec Options for Window Geometry 686@appendixsec Options for Window Geometry
678@cindex geometry (X Windows) 687@cindex geometry (X Windows)