.\" @(#)vemCommands	1.6	7/25/91
.bp
.UH "Appendix B: VEM Command Summary"
.pp
This appendix contains a summary of VEM commands
and dialog box editing control characters.
The VEM menu is obtained by clicking the middle mouse button in any
facet window.  Its structure is similar to that of the \*(PT command
menu.
The commands are organized according to the submenu used to access them.
The submenu names are listed first in each section.
More complete documentation can be found in the VEM section
of the Almagest.
.S 10
.(b
.lp
.TS
center, box;
c s s
l l lw(4i).
\fBVEM commands\fP
.sp 0.5
Command	Key	Description
=
\fBNo menu entry:\fR
_
	ctrl-H, del	Clear last argument on the argument stack.
	ctrl-U	Clear all arguments on the argument stack.
redraw-window	ctrl-L	Redraws the window.
=
\fBSystem menu:\fR
_
open-window	o	Opens a new window.
close-window	ctrl-D	Closes a window (doesn't save).
where	?	Shows where your cursor is
palette	P	Open the layer palette.
save-window	S	Saves contents of window.
bindings	b	T{
Identify key bindings.  After issuing the bindings command,
type the key you are interested in.  VEM will identify the command
associated with it.
T}
re-read		Re-reads a facet from disk.
=
\fBDisplay menu:\fR
_
pan	p	Move area under cursor to center of window.
zoom-in	z	Zooms in one level.
zoom-out	Z	Zooms out one level.
show-all	f	Zoom to full view of facet.
same-scale		T{
Force a window to have the same scale as some other window.
Place a point in the window with the right scale, and issue the
same-scale command in the window you wish to rescale.
T}
=
\fBOptions menu:\fR
_
window-options		Set various VEM options, including the snap.
layer-display		Select layers to display or omit.
toggle-grid	g	Turn on or off the grid display
=
\fBProps&Bags menu:\fR
_
show-property	ctrl-P	Shows properties of object under cursor.
=
\fBUndo menu:\fR
_
undo	U	Undo last action.  Has infinite memory.
=
\fBEdit menu:\fR
_
create	c	Create instances, wires.
delete-objects	D	Deletes selected objects.
edit-label	E	Edit a label.
.TE
.)b
.(b
.S 10
.TS
center, box;
c s s
l l lw(4i).
\fBVEM \fBcommands (continued)\fP
.sp 0.5
Command	Key	Description
=
\fBSelection menu:\fR
_
select-objects	s	Selects objects for manipulation.
select-net	ctrl-N	Select only nets.
unselect-objects	u	Unselects objects.
transform	t	T{
Rotates an object 90 degrees.  Use the move-instance or drag-instance
command to finalize the transform.  Use the "mx" or "my" modifier
to reflect rather than rotate the object.
T}
move-objects	m	T{
Move selected objects, preserving their property lists.
T}
copy-objects	x	T{
Copy selected objects, preserving their property lists.
T}
delete-objects	D	(repeated) Deletes selected objects.
=
\fBApplication menu:\fR
_
rpc-any		Start some other VEM application.
.TE
.)b
.(b
.pp
.S 12
When editing a \*(PT icon, the VEM menu is slightly
different.  The System, Display, Options, Props&Bags, Undo,
and Application submenus are identical to those explained
above.  However, the Edit and Selection submenus
are different.  These are summarized below
.S 10
.TS
center, box;
c s s
l l lw(4i).
\fBVEM Physical Editing Commands (Edit and Selection)\fP
.sp 0.5
Command	Key	Description
=
\fBEdit menu:\fR
_
create-geometry	c	T{
Create boxes, polygons, and paths (Oct
terminology for a connected set of line segments).
What gets created depends on argument types.
T}
alter-geometry	a	T{
Replaces a box, polygon, or path with a new one described
on the argument list.  E.g., to change the shape of a box,
draw the new box, and execute this command.
T}
change-layer	l	Place objects on a different layer (change color).
set-path-width	w	Change the width of lines drawn in particular layer.
create-circle	C	Create circles or arcs.
edit-label	E	Create or edit a label.
delete-physical	D	Remove specified object.
copy-objects	x	Copy objects.
=
\fBSelection menu:\fR
_
select-objects	s	Selects objects for manipulation.
unselect-objects	u	Unselects objects.
move-physical	m	T{
Move selected objects.
T}
copy-physical	x	T{
Copy selected objects.
T}
transform	t	T{
Rotates an object 90 degrees.  Use the move-instance or drag-instance
command to finalize the transform.  Use the "mx" or "my" modifier
to reflect rather than rotate the object.
T}
select-terms	^T	select terminals.
delete-physical	D	Deletes selected objects.
.TE
.)b
.(b
.lp
.S 12
For convenience, the Emacs-like commands used in all dialog boxes
are repeated here:
.S 10
.TS
center, box;
c s
l lw(4i).
\fBDialog Box Editing Control Characters\fP
.sp 0.5
Key	Description
=
Delete, control-h	Delete previous character.
control-A	Move to beginning of line.
control-B	Move backward one character.
control-D	Delete next character.
control-E	Move to end of line.
control-F	Move forward one character.
control-K	Kill (delete) to end of line.
meta-B	Move backward one word.
meta-F	Move forward one word.
meta-H, meta-delete	Delete previous word.
.TE
.)b
.\"i	push-master
