home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Kids Cube
/
1_Art.iso
/
pep
/
chapt14.txt
< prev
next >
Wrap
Text File
|
1994-10-18
|
20KB
|
380 lines
<Chapter 14: Single Keystroke Commands>
This chapter describes the single keystroke commands. Generally,
these commands can be executed at any time regardless of your position in
the menu hierarchy. They are invoked by pressing a function key, a
combination of ALT plus a function key, or a combination of ALT plus a
letter key. Many of these commands can also be executed within the command
menu hierarchy.
<Section 14.1: Function Key Commands>
<Section 14.1.1: Menu Page Commands>
If the menu window is not sufficiently large to display the entire
current menu, it displays a portion of the menu. The displayed portion is
called a menu page. Use these commands to move from one menu page to
another.
The menu windows in PEP's default screen configurations are large
enough to contain most menus in a single page. Therefore, unless you make
the menu window smaller, you will seldom have reason to use these function
keys. One exception is the case of name menus such as the menu of all PDL
files in the current directory, or the menu of all objects in the current
PDL file. These may sometimes be too large to fit in a single menu page.
When examining these lists, you may want to use the menu page commands.
F5 = Menu Page Up. The previous menu page is displayed. If the
current page is the first, the last menu page is displayed.
F6 = Menu Page Down. The following menu page is displayed. If the
current page is the last, the first menu page is displayed.
ALT-F5 = Menu Page Home. The first menu page is displayed.
ALT-F6 = Menu Page End. The last menu page is displayed.
<Section 14.1.2: F1: Help>
Pressing F1 at any time activates the HELP system, which gives you
on-line access to the entire text of the PEP manual. The portion of the
manual which appears is indexed to the current menu and the current
operation. If you highlight a menu command with the cursor and press F1,
you can obtain information about that command. The HELP system is fully
described in Chapter <[15]>.
The HELP system can also be invoked by pressing the [?]-button.
<Section 14.1.3: F2: Status Display>
Press F2 to temporarily change the display in the menu window from
the current menu to a report of status information. Press F2 a second time
to restore the display of the current menu in the menu window.
The contents of the status display include: the cursor location in
the open object (in object coordinates and in inches); the size of the
pools of free, erasable, and busy memory (in bytes); the size of the
largest available free memory block; and the sizes of the loaded picture
file and the open object (also in bytes).
Unsaved changes in the open object are indicated by an asterisk in
the object (size) menu item. Other unsaved changes are indicated by an
asterisk in the file (size) menu item.
<Section 14.1.4: F3: Menu Cycle>
Press F3 to temporarily change the display in the menu window to a
list of single keystroke commands. The first time you press F3, the normal
command menu is replaced with a list of function key commands. Press F3
again, and a list of the ALT-function key commands appears. Press F3 a
third time to display a list of ALT-letter commands. Press F3 once again
to return to the normal command menu. During this sequence, any command
which changes the normal menu restores the menu window to normal display.
<Section 14.1.5: F4: Slide Show Exit>
The PEP configuration file capability can be used to create a slide
show if pauses are inserted via the ALT-H command <[14.3.7]> among the
other PEP commands in the configuration file. (See <[16.9]>.) When PEP is
pausing during execution of a slide show, you can press F4 to terminate
the slide show and immediately exit from PEP. Under any other
circumstances, F4 is treated as an invalid keystroke.
<Section 14.1.6: F7: Wide Cursor>
Press F7 to replace the cursor with a wide cross-hair cursor
extending across the cursor's range. Press F7 again to restore the cursor
to its original form. Wide cursors can be used during insertion and
modification to facilitate alignment of elements. If rulers are displayed,
a wide cursor is useful for reading the coordinates of a point from the
rulers. Also, in cluttered screens, the wide cursor is easier to locate
visually.
<Section 14.1.7: F8: Snap Cursor onto Grid>
Pressing F8 moves the cursor to the nearest point on the snap grid.
This command never moves the cursor out of its window. (It is only valid
if the cursor is in a graphics window.) The snap grid interval can set by
using the SETUP/NUMBERS/GRID-SPACE command <[12.4.2]>. The grid can be
made visible in the active window by using the SETUP/WINDOW/GRID command
<[12.2.9]>.
<Section 14.1.8: F9: Home Cursor>
Pressing F9 moves the cursor to the home position. The cursor is
placed in the active window and positioned at the upper left corner of the
open object, at coordinates (0,0). If necessary, the active window is
homed, so that it contains the target cursor position.
<Section 14.1.9: F10: Super-Escape>
Use the super-escape key, F10, to return in a single step from the
current menu to main PEP menu. This command is equivalent to pressing the
escape key again and again until you reach the top level menu.
<Section 14.2: ALT + Function Key Commands>
<Section 14.2.1: ALT-F3: Complete screen redisplay>
If you press ALT-F3 at any time, the entire PEP screen display will
be erased and redrawn.
<Section 14.2.2: ALT-F4: Text Page Forward>
If the text window is too small to contain the entire prompt or error
message, you can use this command to display successive portions of the
text. If the end of the message is currently displayed, this command
causes the beginning of the message to be displayed.
Note: the text window in PEP's default layout is large enough to
display all prompts and error messages. Unless you change the default
screen layout to make this window smaller, you will seldom have reason to
use this command. We recommend that the text window be left large enough
to display all prompts and error messages.
<Section 14.2.3: ALT-F7: Switch Font Style for One Character>
This command is available only when you are inserting or editing a
text label. (See <[2.7]> and <[4.4]>.) It causes an escape character to be
inserted into the text string. The effect of this escape character is to
change the style of the following character by using a different font
subset (for example, the italic subset) for that one character.
Font subsets are numbered 0 through 9, and A through F. Press ALT-F7
to display a menu of font style subsets, and then type a digit (0 through
9), or a letter (A through F) to insert the corresponding escape
character. The following character in the text string will then be drawn
in the style of the subset that you have selected. More information about
font style subsets is given in the section below on the ALT-F8 command.
<Section 14.2.4: ALT-F8: Switch Font Style for Multiple Characters>
This command is available only when you are inserting or editing a
text label. (See <[2.7]> and <[4.4]>.) It causes an escape character to be
inserted into the text string. The effect of this escape character is to
change the style of the following text by using a different font subset
(for example, the italic subset) for displaying subsequent characters. The
new style remains in effect from the escape code to the end of the text
label or until another ALT-F8 escape character is encountered. The escape
characters themselves are not visible.
Font subsets are numbered 0 through 9, and A through F. Press ALT-F8
to display a menu of font style subsets, and then type a digit (0 through
9), or a letter (A through F) to insert the corresponding escape
character. The following characters in the text string will be drawn in
the style of the subset that you have selected. For example, the bold
style corresponds to font subset 2. If you are typing in a text label, to
start using bold characters you would press ALT-F8 and then 2; to stop
using bold characters and return to the normal style you would press
ALT-F8 and then 0.
The styles corresponding to each of the various font subsets are
given below:
SUBSET 0 NORMAL
SUBSET 1 ITALIC
SUBSET 2 BOLD
SUBSET 3 BOLD ITALIC
SUBSET 4 LIGHT
SUBSET 5 LIGHT ITALIC
SUBSET 6 EXTRA BOLD
SUBSET 7 EXTRA BOLD ITALIC
SUBSETS 8-F (undefined styles)
Note, however, that a given font may not have all of these styles.
PEP allows you to request a font subset that is not available in the
current font. In this case, PEP inserts the correct escape code, but
prints and displays using subset 0, the normal style, instead. If you
later change the font to one having the requested style, the label will
then be drawn correctly in the new font. <[FIG14]> shows which styles are
available in each of the PEP fonts. Note that styles 7 through F are not
defined in any of the current fonts. Note also that the italic and bold
subsets of the LICS font contain special international characters, but
these are in the normal style.
<Section 14.2.5: ALT-F9: Switch Text Color>
This command is available only when you are inserting or editing a
text label. (See <[2.7]> and <[4.4]>.) It causes an escape character to be
inserted into the text string. The effect of this escape character is to
change the color of the following text. The new color remains in effect
from the escape code to the end of the text label or until another ALT-F9
escape character is encountered. The escape characters themselves are not
visible.
The 16 available colors are numbered 0 through 9, and A through F.
Press ALT-F9 to display a menu of these colors, and then type a digit (0
through 9), or a letter (A through F) to insert the corresponding escape
character. The following characters in the text string will then appear in
the selected color.
<Section 14.3: ALT + Letter Key Commands>
Most of these commands have equivalents in the SETUP/WINDOW <[12.2]>,
SETUP/SYSTEM <[12.3]>, and SETUP/NUMBERS <[12.4]> menus. Additional
information can be found by consulting the section on the equivalent menu
command.
<Section 14.3.1: ALT-A: Aspect>
This command changes the aspect correction in the active graphics
window. It is equivalent to SETUP/WINDOW/ASPECT. For more information see
<[12.2.7]>.
<Section 14.3.2: ALT-B: Scroll Bar Display Toggle>
This command controls the display of scroll bars in the active
window. It is equivalent to SETUP/WINDOW/BARS or pressing the [B]-button.
For more information see <[12.2.11]>.
<Section 14.3.3: ALT-C: Contract Window>
This command contracts the active graphics window. It is equivalent
to SETUP/WINDOW/CONTRACT or pressing the [C]-button. For more information
see <[12.2.4]>.
<Section 14.3.4: ALT-E: Expand Window>
This command expands the active graphics window. It is equivalent to
SETUP/WINDOW/EXPAND or pressing the [E]-button. For more information see
<[12.2.3]>.
<Section 14.3.5: ALT-F: Fatdots Mode Toggle>
This command changes the fatdots mode of the active graphics window.
It is equivalent to SETUP/WINDOW/FATS or pressing the [F]-button. For more
information see <[12.2.5]>.
<Section 14.3.6: ALT-G: Show-Grid Mode Toggle>
Use this command to show or hide the snap grid in the active graphics
window. It is equivalent to SETUP/WINDOW/GRID or pressing the [G]-button.
For more information see <[12.2.9]>.
<Section 14.3.7: ALT-H: Hesitate in a FIG File>
Use this command to insert a delay in a FIG file. When a delay is
encountered during FIG file execution, PEP will stop reading from the FIG
file and prompt the user to strike a key on the keyboard. While waiting
for the user's keystroke, PEP will continue any uncompleted drawing on the
screen. With the HESITATE command, you can use PEP's MAKEFIG capability to
create automated slide shows. For example, the FIG file could contain a
sequence of OBJECT/OPEN commands <[7.1]>, with a HESITATE after each one.
This command is available only while you are creating a FIG file. (See the
discussion of the QUIT/MAKEFIG command in <[9.3]> and the section on slide
shows <[16.9]>.)
<Section 14.3.8: ALT-I: Set Window Stretches to Unity>
Use this command to reset the stretch factors of the active graphics
window to their default values (X=1, Y=1). It is equivalent to pressing
the [I]-button. This command restores unity magnification without changing
the ruler display, grid display, fat dots mode, or other window
properties.
<Section 14.3.9: ALT-J: Set Cursor Jump Position>
The ALT-J and ALT-M commands are used in combination to remember a
location and to return to it later. When you press ALT-J, the object
coordinates of the current cursor position are saved. Anytime thereafter,
if you press ALT-M, PEP will move the cursor into the active window and
position it at the saved coordinates, in other words, at the location of
the cursor when the last ALT-J command was invoked. The active window is
repositioned if necessary.
<Section 14.3.10: ALT-L: Center Window at Cursor Location.>
This command moves the view in the active window. It chooses the new
position so that the center of the window displays the point that was
occupied by the cursor at the moment the ALT-L command was invoked. Note
that the cursor could be in a different window. Only the active window
display is changed. The cursor itself is not moved.
<Section 14.3.11: ALT-M: Move Cursor>
Use this command in combination with the ALT-J command (set cursor
jump position) described above. ALT-J remembers the cursor position and
ALT-M returns to it. When you press ALT-M, the cursor is moved into the
active window and positioned at the object coordinates saved by the last
ALT-J command. (The cursor is moved to object coordinate (0,0) if no
previous ALT-J command occurred.) If necessary, the active window is
repositioned so that the target cursor location is displayed within it.
<Section 14.3.12: ALT-N: Next Window>
This command selects a new active graphics window. It is equivalent
to SETUP/WINDOW/NEXT or pressing the [N]-button. For more information see
<[12.2.1]>.
<Section 14.3.13: ALT-P: Print Kill>
This command aborts all printing. There is no confirmation. It is
equivalent to PRINT/KILL/YES. For more information see <[6.2]>.
<Section 14.3.14: ALT-R: Ruler Display Mode Toggle>
This command controls the display of rulers in the active window. It
is equivalent to SETUP/WINDOW/RULERS or pressing the [R]-button. For more
information see <[12.2.10]>.
<Section 14.3.15: ALT-S: Grid Snap Mode Toggle>
Use this command to enable or disable automatic grid snapping. It is
equivalent to SETUP/SYSTEM/GRID or pressing the [S]-button. For more
information see <[12.3.2]>.
<Section 14.3.16: ALT-T: Total Mode Toggle>
This command controls total display mode in the active graphics
window. It is equivalent to SETUP/WINDOW/TOTAL or pressing the [T]-button.
For more information see <[12.2.6]>.
<Section 14.3.17: ALT-U: Window Upper Left Corner>
This command moves the view in the active window. It chooses the new
position so that the upper left corner of the window displays the point
that was occupied by the cursor at the moment the ALT-U command was
invoked. Note that the cursor could be in a different window. Only the
active window display is changed. The cursor itself is not moved. ALT-U is
the same as the menu command SETUP/WINDOW/POSITION <[12.2.14]>.
<Section 14.3.18: ALT-V: View Mode Toggle>
This command controls the view mode of the active graphics window. It
is equivalent to SETUP/WINDOW/VIEW. For more information see <[12.2.12]>.
<Section 14.3.19: ALT-W: Window Initialize>
Use this command to reset all window parameters to their default
values, with the exception of GRID, RULERS, and BARS. If grids, rulers, or
scroll bars are displayed in the window, they will continue to be
displayed. All other window properties are reset. This command is
equivalent to pressing the [W]-button. For more information see
SETUP/WINDOW/INITIALIZE <[12.2.17]>.
<Section 14.3.20: ALT-Z: Terminate Configuration File and Save>
If you are creating a configuration file, use this command to
terminate the file, and save it under the name that you designated when
invoking the QUIT/MAKEFIG command. If you are not creating a configuration
file, this command is invalid. See <[9.3]> for a description of the
QUIT/MAKEFIG command.
<Section 14.4: NumPad Key Commands>
<Section 14.4.1: Cursor Motion Keys>
The NumPad arrow keys move the cursor in the direction of the arrow.
The corner keys (Home, PgUp, PgDn, and End) move the cursor diagonally
(up-left, up-right, down-right, and down-left respectively). The distance
the cursor moves is determined by the step mode and the step size. To
change the step mode, use the SETUP/SYSTEM/STEP command <[12.3.1]> (or
grey minus key <[14.4.4]>). To change the step size, use the
SETUP/NUMBERS/STEP-SIZE command <[12.4.1]>. <[FIG08]>.
<Section 14.4.2: Shift Arrow Keys>
Holding down a shift key while pressing an arrow key moves the active
window view by one half of the window size in the direction of the arrow.
Thus pressing shift-rightarrow moves the window view to the right (picture
elements appear to move to the left). The window motion is limited by the
size of the editing area (see the OBJECT/LIMIT command <[7.4]>).
<[FIG30]>.
<Section 14.4.3: Shift Corner Keys>
Holding down a shift key while pressing the Home key causes the
active window to be re-positioned at the extreme upper left corner of the
editing area. Similarly, shift-PgUp moves the active window to the upper
right corner of the editing area. Shift-PgDn and Shift-End move to the
lower right and lower left corners respectively. <[FIG31]>.
<Section 14.4.4: Grey Minus Key>
This command cycles between three modes controlling how far the
cursor moves each time a cursor motion key is struck. If step mode is OFF,
pressing a cursor motion key moves the cursor one pixel on the screen in
the given direction. If the mode is HALF, each cursor motion keystroke
moves the cursor by one-half of a step. If the mode is FULL, each
keystroke moves the cursor by one full step. The number of pixels in one
step is set by the SETUP/NUMBERS/STEP-SIZE command <[12.4.1]>. The size of
the step can be different in the X and the Y directions.
The grey minus key is equivalent to SETUP/SYSTEM/STEP <[12.3.1]>.
<Section 14.4.5: Grey Plus Key>
This key enables and disables automatic cursor motion. Press the
Grey-plus key followed by a cursor motion key to start the cursor moving
in the direction indicated at a constant rate. Press the same cursor
motion key again to accelerate the motion. Press a different cursor motion
key to change the direction. Press the Grey-plus key again to stop the
motion.
<Section 14.4.6: Grey Star Key>
When the cursor is a stretchable box, only one of the four corners of
the box is mobile at any given time. You can see which corner is mobile by
the small solid box which is displayed in that corner. The grey star key
changes the mobile corner of the box to the next corner counterclockwise.
This key is invalid unless a stretchable box cursor is displayed. Note:
you can also use SPACE to change the mobile corner. <[FIG13]>.