⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 0131-0131.html

📁 linux-unix130.linux.and.unix.ebooks130 linux and unix ebookslinuxLearning Linux - Collection of 12 E
💻 HTML
字号:
<HTML>



<HEAD>

<TITLE>Linux Complete Command Reference:User Commands:EarthWeb Inc.-</TITLE>

</HEAD>

<META NAME="ROBOTS" CONTENT="NOINDEX, NOFOLLOW">
<SCRIPT>
<!--
function displayWindow(url, width, height) {
        var Win = window.open(url,"displayWindow",'width=' + width +
',height=' + height + ',resizable=1,scrollbars=yes');
}
//-->
</SCRIPT>
</HEAD>

 -->




<!-- ISBN=0672311046 //-->

<!-- TITLE=Linux Complete Command Reference//-->

<!-- AUTHOR=Red Hat//-->

<!-- PUBLISHER=Macmillan Computer Publishing//-->

<!-- IMPRINT=Sams//-->

<!-- CHAPTER=01 //-->

<!-- PAGES=0001-0736 //-->

<!-- UNASSIGNED1 //-->

<!-- UNASSIGNED2 //-->



<P><CENTER>

<a href="0128-0130.html">Previous</A> | <a href="../ewtoc.html">Table of Contents</A> | <a href="0132-0134.html">Next</A></CENTER></P>







<A NAME="PAGENUM-131"><P>Page 131</P></A>







<P><B>

USING EMACS WITH X

</B></P>



<P>emacs has been tailored to work well with the X Window System. If you run

emacs from under X windows, it will create its own X window to display in. You will probably want to start the editor as a background process so that you can

continue using your original window.

</P>



<P>emacs can be started with the following X switches:

</P>



<TABLE>



<TR><TD>

_rn name

</TD><TD>

Specifies the program name which should be used when looking up defaults in

the user's X resources. This must be the first option specified in the command line.

</TD></TR><TR><TD>

_name name

</TD><TD>

Specifies the name that should be assigned to the

emacs window.

</TD></TR><TR><TD>

-r

</TD><TD>

Display the emacs window in reverse video.

</TD></TR><TR><TD>

-i

</TD><TD>

Use the &quot;kitchen sink&quot; bitmap icon when iconifying the

emacs window.

</TD></TR><TR><TD>

_font font, _fn font

</TD><TD>

Set the emacs window's font to that specified by

font. You will find the various X fonts in the

/usr/lib/X11/fonts directory. Note that emacs will only accept

fixed width fonts. Under the X11 Release 4 font-naming conventions, any font with

the value m or c in the eleventh field of the font name is a fixed width font.

Furthermore, fonts whose name are of the form

width&#165;height are generally fixed width, as is

the font fixed. See xlsfonts(1) for more information.

</TD></TR><TR><TD>

</TD><TD>

When you specify a font, be sure to put a space between the switch and the

font name.

</TD></TR><TR><TD>

_b pixels

</TD><TD>

Set the emacs window's border width to the number of pixels specified by

pixels. Defaults to one pixel on each side of the window.

</TD></TR><TR><TD>

_ib pixels

</TD><TD>

Set the window's internal border width to the number of pixels specified by

pixels. Defaults to one pixel of padding on each side of the window.

</TD></TR><TR><TD>

_geometry geometry

</TD><TD>

Set the emacs window's width, height, and position as specified. The

geometry specification is in the standard uformat; see

X(1) for more information. The width and height are specified in characters; the default is 80 by 24.

</TD></TR><TR><TD>

_fg color

</TD><TD>

On color displays, sets the color of the text. See the file

/usr/lib/X11/rgb.txt for a list of valid color names.

</TD></TR><TR><TD>

_bg color

</TD><TD>

On color displays, sets the color of the window's background.

</TD></TR><TR><TD>

_bd color

</TD><TD>

On color displays, sets the color of the window's border.

</TD></TR><TR><TD>

_cr color

</TD><TD>

On color displays, sets the color of the window's text cursor.

</TD></TR><TR><TD>

_ms color

</TD><TD>

On color displays, sets the color of the window's mouse cursor.

</TD></TR><TR><TD>

_d displayname, _display displayname

</TD><TD>

Create the

emacs window on the display specified by

displayname. Must be the first option specified in the command line.

</TD></TR><TR><TD>

_nw

</TD><TD>

Tells emacs not to use its special interface to

X. If you use this switch when invoking emacs from an

xterm(1) window, display is done in that window. This must be

the first option specified in the command line.

</TD></TR></TABLE>



<P>You can set X default values for your emacs windows in your

Xresources file; see xrdb(1). Use the following format:

</P>



<!-- CODE SNIP //-->

<PRE>

emacs.keyword:value

</PRE>

<!-- END CODE SNIP //-->



<P>where value specifies the default value of

keyword. emacs lets you set default values for the following keywords:

</P>



<TABLE>



<TR><TD>

font (class Font)

</TD><TD>

Sets the window's text font.

</TD></TR><TR><TD>

reverseVideo (class ReverseVideo)

</TD><TD>

If

reverseVideo's value is set to on, the window will be displayed in reverse video.

</TD></TR><TR><TD>

bitmapIcon (class BitmapIcon)

</TD><TD>

If bitmapIcon's value is set to

on, the window will iconify into the &quot;kitchen sink.&quot;

</TD></TR><TR><TD>

borderWidth (class BorderWidth)

</TD><TD>

Sets the window's border width in pixels.

</TD></TR><TR><TD>

internalBorder (class BorderWidth)

</TD><TD>

Sets the window's internal border width in pixels.

</TD></TR><TR><TD>

foreground (class Foreground)

</TD><TD>

For color displays, sets the window's text color.

</TD></TR><TR><TD>

background (class Background)

</TD><TD>

For color displays, sets the window's background color.

</TD></TR><TR><TD>

borderColor (class BorderColor)

</TD><TD>

For color displays, sets the color of the window's border.

</TD></TR></TABLE>







<P><CENTER>

<a href="0128-0130.html">Previous</A> | <a href="../ewtoc.html">Table of Contents</A> | <a href="0132-0134.html">Next</A></CENTER></P>







</td>
</tr>
</table>

<!-- begin footer information -->







</body></html>

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -