EasyManua.ls Logo

Commodore PC - Page 213

Commodore PC
414 pages
Print Icon
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...
Edlin
Commands
141
sequences.
You
don't
really
type
the
entire
word,
CONTROL;
instead,
you
simply
press
the
control
key
followed
by
the
(~^
control
character,
z
or
c
or
v.
smonthly
budgetCONTROL-Z-5
7+5L
)
If
edlin
can
find
any
lines
that
contain
the
words
monthly
budget,
then
the
displayed
lines
are
the
five
lines
before
and
-*^
the
five
lines
after
the
current
line.
Note
that
the
current
line
J
}
(the
line
with
the
asterisk)
must
be
before
the
line
or
lines
that
contain
the
search
string.
^■^
You
can
insert
a
control
character,
such
as
control-c,
into
C
>
text
by
using
the
quote
character,
control-v,
before
it
while
in
insert
mode,
control-v
tells
ms-dos
to
recognize
the
next
capital
letter
typed
as
a
control
character.
You
can
also
put
(***}
a
control
character
in
an
S
(search) or
R
(replace)
command
by
using
the
quote
character.
For
example,
the
following
command
finds
the
first
occurrence
of
control-z
in
a
file:
'
;
5
CONTROL-V
Z
s—K.
The
next
example
replaces
all
occurrences
of
controlz
in
a
(
'
file
with
pencil.
r
control-vZcontrol-z
pencil
And
this
next
command
replaces
all
occurrences
of
control-c
with
pen.
5
CONTROL-VC
CONTROL-Z
pen
/—^
It
is
also
possible
to
insert
control-v
into
the
text
by
typing
'
/
CONTROL-W.
The
controlz
character
ordinarily
tells
edlin,
"This
is
the
end
>—v
of
the
file."
If
you
have
controlz
characters
elsewhere
in
your
file,
you
must
tell
edlin
that
these
other
control
characters
do
not
mean
end-of-file.
To
tell
edlin
to
ignore
the
controlz
^^
characters
in
the
file
and
to
show
you
the
entire
file,
use
the
<\
/b
switch.
For
example,
when
you
start
edlin
and
want
to
ignore
all
controlz
characters
in
a
file,
you
could
use
the
/b
option
with
the
edlin
command
and
your
filename.
n
n

Related product manuals