comparison man/cmdargs.texi @ 36502:3f0def4a4210

Minor cleanups. Rename `Motif Resources' node to `LessTif Resources'.
author Richard M. Stallman <rms@gnu.org>
date Sat, 03 Mar 2001 20:01:31 +0000
parents 3dfa039c6a8c
children a7400c1ee57f
comparison
equal deleted inserted replaced
36501:8a046a8e91dc 36502:3f0def4a4210
65 * Borders X:: Internal and external borders, under X. 65 * Borders X:: Internal and external borders, under X.
66 * Title X:: Specifying the initial frame's title. 66 * Title X:: Specifying the initial frame's title.
67 * Icons X:: Choosing what sort of icon to use, under X. 67 * Icons X:: Choosing what sort of icon to use, under X.
68 * Resources X:: Advanced use of classes and resources, under X. 68 * Resources X:: Advanced use of classes and resources, under X.
69 * Lucid Resources:: X resources for Lucid menus. 69 * Lucid Resources:: X resources for Lucid menus.
70 * Motif Resources:: X resources for Motif menus. 70 * LessTif Resources:: X resources for LessTif and Motif menus.
71 @end menu 71 @end menu
72 72
73 @node Action Arguments 73 @node Action Arguments
74 @appendixsec Action Arguments 74 @appendixsec Action Arguments
75 75
424 Used by the Emerge package as a prefix for temporary files. 424 Used by the Emerge package as a prefix for temporary files.
425 @item TZ 425 @item TZ
426 This specifies the current time zone and possibly also daylight 426 This specifies the current time zone and possibly also daylight
427 savings information. On MS-DOS, if @code{TZ} is not set in the 427 savings information. On MS-DOS, if @code{TZ} is not set in the
428 environment when Emacs starts, Emacs defines a default value as 428 environment when Emacs starts, Emacs defines a default value as
429 appropriate for the country code returned by DOS. On MS Windows, Emacs 429 appropriate for the country code returned by DOS. On MS-Windows, Emacs
430 does not use @code{TZ} at all. 430 does not use @code{TZ} at all.
431 @item USER 431 @item USER
432 The user's login name. See also @env{LOGNAME}. On MS-DOS, this 432 The user's login name. See also @env{LOGNAME}. On MS-DOS, this
433 defaults to @samp{root}. 433 defaults to @samp{root}.
434 @item VERSION_CONTROL 434 @item VERSION_CONTROL
461 On MS-DOS, this specifies a file to use to log the operation of the 461 On MS-DOS, this specifies a file to use to log the operation of the
462 internal terminal emulator. This feature is useful for submitting bug 462 internal terminal emulator. This feature is useful for submitting bug
463 reports. 463 reports.
464 464
465 @item EMACSCOLORS 465 @item EMACSCOLORS
466 Used on MS-DOS systems to set screen colors early, so that the screen 466 On MS-DOS, this specifies the screen colors. It is useful to set them
467 won't momentarily flash the default colors when Emacs starts up. The 467 this way, since otherwise Emacs would display the default colors
468 value of this variable should be the two-character encoding of the 468 momentarily when it starts up.
469
470 The value of this variable should be the two-character encoding of the
469 foreground (the first character) and the background (the second 471 foreground (the first character) and the background (the second
470 character) colors of the default face. Each character should be the 472 character) colors of the default face. Each character should be the
471 hexadecimal code for the desired color on a standard PC text-mode 473 hexadecimal code for the desired color on a standard PC text-mode
472 display. 474 display.
473 475
492 example, if you do a remote login and want to run a client program 494 example, if you do a remote login and want to run a client program
493 remotely, displaying on your local screen. 495 remotely, displaying on your local screen.
494 496
495 With Emacs, the main reason people change the default display is to 497 With Emacs, the main reason people change the default display is to
496 let them log into another system, run Emacs on that system, but have the 498 let them log into another system, run Emacs on that system, but have the
497 window displayed at their local terminal. You might need to login 499 window displayed at their local terminal. You might need to log in
498 to another system because the files you want to edit are there, or 500 to another system because the files you want to edit are there, or
499 because the Emacs executable file you want to run is there. 501 because the Emacs executable file you want to run is there.
500 502
501 The syntax of the @env{DISPLAY} environment variable is 503 The syntax of the @env{DISPLAY} environment variable is
502 @samp{@var{host}:@var{display}.@var{screen}}, where @var{host} is the 504 @samp{@var{host}:@var{display}.@var{screen}}, where @var{host} is the
517 519
518 @smallexample 520 @smallexample
519 emacs --display=glasperle:0 & 521 emacs --display=glasperle:0 &
520 @end smallexample 522 @end smallexample
521 523
522 You can inhibit the direct use of the GUI with the @samp{-nw} option. This 524 You can inhibit the direct use of the window system and GUI with the
523 is also an initial option. It tells Emacs to display using ordinary 525 @samp{-nw} option. It tells Emacs to display using ordinary ASCII on
524 ASCII on its controlling terminal. 526 its controlling terminal. This is also an initial option.
525 527
526 Sometimes, security arrangements prevent a program on a remote system 528 Sometimes, security arrangements prevent a program on a remote system
527 from displaying on your local system. In this case, trying to run Emacs 529 from displaying on your local system. In this case, trying to run Emacs
528 produces messages like this: 530 produces messages like this:
529 531
668 670
669 @table @samp 671 @table @samp
670 @item -fg @var{color} 672 @item -fg @var{color}
671 @itemx --foreground-color=@var{color} 673 @itemx --foreground-color=@var{color}
672 Specify the foreground color. @var{color} should be a standard color 674 Specify the foreground color. @var{color} should be a standard color
673 name or a numeric specification of the color's red, green, and blue 675 name, or a numeric specification of the color's red, green, and blue
674 components as in @samp{#4682B4} or @samp{RGB:46/82/B4}. 676 components as in @samp{#4682B4} or @samp{RGB:46/82/B4}.
675 @item -bg @var{color} 677 @item -bg @var{color}
676 @itemx --background-color=@var{color} 678 @itemx --background-color=@var{color}
677 Specify the background color. 679 Specify the background color.
678 @item -bd @var{color} 680 @item -bd @var{color}
734 creates a larger frame than a small font. The @var{xoffset} 736 creates a larger frame than a small font. The @var{xoffset}
735 and @var{yoffset} are measured in pixels. 737 and @var{yoffset} are measured in pixels.
736 738
737 Since the mode line and the echo area occupy the last 2 lines of the 739 Since the mode line and the echo area occupy the last 2 lines of the
738 frame, the height of the initial text window is 2 less than the height 740 frame, the height of the initial text window is 2 less than the height
739 specified in your geometry. In non-X-toolkit versions of Emacs, 741 specified in your geometry. In non-X-toolkit versions of Emacs, the
740 the menu bar also takes one line of the specified number. The tool bar, 742 menu bar also takes one line of the specified number. But in the X
741 if present, is excluded from the height of the initial text window; 743 toolkit version, the menu bar is additional and does not count against
742 Emacs will enlarge the frame's height as needed to accomodate for the 744 the specified height. The tool bar, if present, is also additional.
743 tool bar.
744 745
745 You do not have to specify all of the fields in the geometry 746 You do not have to specify all of the fields in the geometry
746 specification. 747 specification.
747 748
748 If you omit both @var{xoffset} and @var{yoffset}, the window manager 749 If you omit both @var{xoffset} and @var{yoffset}, the window manager
780 the window. 781 the window.
781 782
782 @table @samp 783 @table @samp
783 @item -ib @var{width} 784 @item -ib @var{width}
784 @itemx --internal-border=@var{width} 785 @itemx --internal-border=@var{width}
785 Specify @var{width} as the width of the internal border in pixels. 786 Specify @var{width} as the width of the internal border, in pixels.
786 787
787 @item -bw @var{width} 788 @item -bw @var{width}
788 @itemx --border-width=@var{width} 789 @itemx --border-width=@var{width}
789 Specify @var{width} as the width of the main border in pixels. 790 Specify @var{width} as the width of the main border, in pixels.
790 @end table 791 @end table
791 792
792 When you specify the size of the frame, that does not count the 793 When you specify the size of the frame, that does not count the
793 borders. The frame's position is measured from the outside edge of the 794 borders. The frame's position is measured from the outside edge of the
794 external border. 795 external border.
845 window containing a picture of the GNU gnu. If omitted, Emacs lets the 846 window containing a picture of the GNU gnu. If omitted, Emacs lets the
846 window manager choose what sort of icon to use---usually just a small 847 window manager choose what sort of icon to use---usually just a small
847 rectangle containing the frame's title. 848 rectangle containing the frame's title.
848 849
849 The @samp{-iconic} option tells Emacs to begin running as an icon, 850 The @samp{-iconic} option tells Emacs to begin running as an icon,
850 rather than opening a frame right away. In this situation, the icon 851 rather than showing a frame right away. In this situation, the icon
851 window provides only an indication that Emacs has started; the usual text 852 is the only indication that Emacs has started; the text frame doesn't
852 frame doesn't appear until you deiconify it. 853 appear until you deiconify it.
853 854
854 @node Resources X 855 @node Resources X
855 @appendixsec X Resources 856 @appendixsec X Resources
856 @cindex resources 857 @cindex resources
857 858
987 Width in pixels of the internal border. 988 Width in pixels of the internal border.
988 989
989 @item @code{lineSpacing} (class LineSpacing) 990 @item @code{lineSpacing} (class LineSpacing)
990 @cindex line spacing 991 @cindex line spacing
991 @cindex leading 992 @cindex leading
992 Additional space (@dfn{leading}) between lines in pixels. 993 Additional space (@dfn{leading}) between lines, in pixels.
993 994
994 @item @code{menuBar} (class @code{MenuBar}) 995 @item @code{menuBar} (class @code{MenuBar})
995 Give frames menu bars if @samp{on}; don't have menu bars if @samp{off}. 996 Give frames menu bars if @samp{on}; don't have menu bars if @samp{off}.
996 997
997 @item @code{toolBar} (class @code{ToolBar}) 998 @item @code{toolBar} (class @code{ToolBar})
1025 Gamma correction for colors, equivalent to the frame parameter 1026 Gamma correction for colors, equivalent to the frame parameter
1026 @code{screen-gamma}. 1027 @code{screen-gamma}.
1027 1028
1028 @item @code{selectionFont} (class @code{Font}) 1029 @item @code{selectionFont} (class @code{Font})
1029 Font name for pop-up menu items, in non-toolkit versions of Emacs. (For 1030 Font name for pop-up menu items, in non-toolkit versions of Emacs. (For
1030 toolkit versions, see @ref{Lucid Resources}, also see @ref{Motif 1031 toolkit versions, see @ref{Lucid Resources}, also see @ref{LessTif
1031 Resources}.) 1032 Resources}.)
1032 1033
1033 @item @code{synchronous} (class @code{Synchronous}) 1034 @item @code{synchronous} (class @code{Synchronous})
1034 Run Emacs in synchronous mode if @samp{on}. Synchronous mode is 1035 Run Emacs in synchronous mode if @samp{on}. Synchronous mode is
1035 useful for debugging X problems. 1036 useful for debugging X problems.
1124 @item margin 1125 @item margin
1125 The margin of the menu bar, in characters. The default of 4 makes the 1126 The margin of the menu bar, in characters. The default of 4 makes the
1126 menu bar appear like the LessTif/Motif one. 1127 menu bar appear like the LessTif/Motif one.
1127 @end table 1128 @end table
1128 1129
1129 @node Motif Resources 1130 @node LessTif Resources
1130 @section Motif Menu X Resources 1131 @section LessTif Menu X Resources
1131 @cindex Menu X Resources (Motif widgets) 1132 @cindex Menu X Resources (LessTif widgets)
1132 @cindex Motif Widget X Resources 1133 @cindex LessTif Widget X Resources
1133 1134
1134 If the Emacs installed at your site was built to use the X toolkit 1135 If the Emacs installed at your site was built to use the X toolkit
1135 with the Motif widgets, then the menu bar is a separate widget and has 1136 with the LessTif or Motif widgets, then the menu bar is a separate
1136 its own resources. The resource names contain @samp{pane.menubar} 1137 widget and has its own resources. The resource names contain
1137 (following, as always, the name of the Emacs invocation or @samp{Emacs} 1138 @samp{pane.menubar} (following, as always, the name of the Emacs
1138 which stands for all Emacs invocations). Specify them like this: 1139 invocation or @samp{Emacs} which stands for all Emacs invocations).
1140 Specify them like this:
1139 1141
1140 @smallexample 1142 @smallexample
1141 Emacs.pane.menubar.@var{subwidget}.@var{resource}: @var{value} 1143 Emacs.pane.menubar.@var{subwidget}.@var{resource}: @var{value}
1142 @end smallexample 1144 @end smallexample
1143 1145