October 1, 1979 FRESS COMMANDS LINE AND CHAR DISP
NOTES _____
must be contiguous <line-disp> and <char-disp> __________________ (no intervening
must be followed by the LP-Separator ("") blanks), and _______________________________________________,
whether or not a context pattern follows.
The first displayed line of the Editing Buffer is numbered
zero.
The first character of each line is numbered zero.
The LP Separator is used to indicate to FRESS that line and
character displacement numbers are being used.
This facility is useful for modifying the file above the top of
the current Editing Buffer, as well as modifying a text pattern
which occurs at least once before in the Editing Buffer.
WARNINGS ________
This facility should not be specified for any command which
does not have an <lp> or <scope> parameter.
EXAMPLES ________
Db2amount _/________
"amount," which occurs after the second line (i.e., starting
on the third line) of the Editing Buffer, is DELETEd.
(Perhaps "amount" also occurs in the first or second lines,
but this occurrence is not the one the user wishes to
delete.)
S/-1+10amount/text ___________________
"text" is SUBSTITUTEd for "amount" which begins somewhere
after the tenth character in the line above the top of the
display.
D/2+2 ______
The user wishes to DELETE the third character in the third
line of the buffer. Omitting the context pattern causes the
first character after the indicated SCROLL and move to be
considered the <lp> character. In this case, the user
specified a SCROLL of 2 lines and a move of 2 characters
into the line. A more useful application might be to delete
the word which contains the third character in the third
line of the buffer. In this case the user could type
"D-w/2+2" (see Section 5.5).
FRESS Resource Manual Release 9.1 FRESS RSection 5.2 -- 103
Previous Page Next Page