Controlling the Emacs WINDOW SIZE
There are several ways to choose the size of your Emacs window.
If you start Emacs by just typing:
emacs &
and you are using mwm (the default window manager), you use the mouse or
keyboard to choose the window's placement, and then use the keyboard to
select the size. The mouse pointer will change to an inverted "L" with
a rectangle attached to it, and a little box will pop up in the middle
of the screen telling you the position of the L, and the current size of
the window, something like this:
(120,115)
80x24
Move the mouse pointer to where you want the upper-left corner of the
new window to be. Now, you can either hit the left mouse button or
Return to place the window, if that's the size you want. You can also
hit the space bar, which will freeze the upper left corner, and any
motion you make with the mouse will change the size of the rectangle.
After you select the size you want, hit Return or the left mouse button,
and the window will appear.
Note: If your workstation's mouse only has two buttons, pressing both
buttons simultaneously has the same effect as pressing the middle
button.
If you want, you can specify the window's size by providing a "geometry
specification". For example, if you type:
emacs -geometry 132x48 &
...and press the left mouse button, the Emacs window will be 132 columns wide
and 48 rows high.
You can also specify the position of the window relative to the upper-left
corner of the screen. For example:
emacs -geometry 132x48+50+100 &
...will create your Emacs window with its upper-left corner located 50
pixels across from the left edge of the screen and 100 pixels down from
the top of the screen. In this case, the window appears automatically
(you don't need to press any mouse buttons).
You can also resize the window after placing it: see the stock answer
`How to MOVE or resize windows' under the XWINDOWS topic in the
olc_answers program.
|