comparison man/cmdargs.texi @ 33012:df207c5f631f

(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.
author Eli Zaretskii <eliz@gnu.org>
date Sat, 28 Oct 2000 17:25:19 +0000
parents 822003181e3d
children 4c7241b226fc
comparison
equal deleted inserted replaced
33011:b7b3acac61b8 33012:df207c5f631f
138 Use the X Window System and use the display named @var{display} to open 138 Use the X Window System and use the display named @var{display} to open
139 the initial Emacs frame. 139 the initial Emacs frame.
140 140
141 @item -nw 141 @item -nw
142 @itemx --no-windows 142 @itemx --no-windows
143 Don't communicate directly with X, disregarding the @env{DISPLAY} 143 Don't communicate directly with the window system, disregarding the
144 environment variable even if it is set. 144 @env{DISPLAY} environment variable even if it is set. This forces Emacs
145 to 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
148 @item -batch 149 @item -batch
149 @itemx --batch 150 @itemx --batch
629 (@pxref{Faces}). 630 (@pxref{Faces}).
630 631
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)
634 635 @cindex text colors, from command line
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
636 parts of the Emacs display. To find out what colors are available on 640 parts of the Emacs display. To find out what colors are available on
637 your system, look at the @file{/usr/lib/X11/rgb.txt} file. If you do 641 your system, type @kbd{M-x list-colors-display}, or press
638 not 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.
639 default for all other colors is black. On a monochrome display, the 643 If you do not specify colors, on windowed displays the default for the
640 foreground is black, the background is white, and the border is gray if 644 background is white and the default for all other colors is black. On a
641 the display supports that. 645 monochrome display, the foreground is black, the background is white,
642 646 and the border is gray if the display supports that. On terminals, the
643 Here is a list of the options for specifying colors: 647 background is usually black and the foreground is white.
648
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}
647 @itemx --foreground-color=@var{color} 653 @itemx --foreground-color=@var{color}
648 Specify the foreground color. 654 Specify the foreground color.
670 emacs -ms coral -cr 'slate blue' & 676 emacs -ms coral -cr 'slate blue' &
671 @end example 677 @end example
672 678
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}.
681
682 When Emacs display is on a character terminal, it supports the
683 @samp{-fg}, @code{-bg}, and @code{-rv} options.
675 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)
679 688