EasyManua.ls Logo

HP 9000 Series - Positioning the Cursor; Saving Your Work and Quitting

HP 9000 Series
214 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
FINAL TRIM SIZE : 7.0 in x 8.5 in
4
Positioning the Cursor
The most commonly-used metho d to mo
ve the cursor is to use the
h
,
j
,
k
, and
l
keys. You can also use the arrow k
eys. These keys move the cursor as follows
(press
4
ESC
5
rst for command mo de):
Table 4-2.
To Do This: Type This Command:
Move the cursor right.
l
or
4
7
5
Move the cursor left.
h
or
4
6
5
Move the cursor up.
k
or
4
8
5
Move the cursor down.
j
or
4
9
5
Saving Your Work and Quitting
You can saveyour work with or without quitting
vi
.Your documentmust b e
in command mo de for you to be able to use the follo
wing commands to save
your work. Press
4
ESC
5
to ensure that your document is in command mode:
Table 4-3.
To Do This
...
Type This Command
...
Save without quitting
vi :w
Save and quit
vi :wq
Quit
vi
without saving changes
:q!
Save under another le name
:w
lename
Save in an existing le and overwrite that le
:w!
lename
For More Information on vi
Refer to
Using HP-UX
or
The Ultimate Guide to the vi and ex Text Editors
for
more complete information ab out
vi
.
DRAFT
2/5/97 11:31
Using the Command Line 4-15

Table of Contents

Other manuals for HP 9000 Series

Related product manuals