October 1, 1979 USING FRESS
"T" Version
When a file is displayed, capital letters are represented using
the same percent sign procedures as above.
Numbers and punctuation (except exclamation points -- "!") may
be considered upper-case characters when preceded by two or more
upper-case letters (see the third example below).
EXAMPLES ________
%THE QUICK BROWN FOX ____________________
The quick brown fox
%THIS TEXT EDITOR IS %%FRESS.%% _______________________________
This text editor is FRESS.
%P.%T. %BARNUM ______________
P.T. Barnum (the periods in this string are not considered
upper-case characters)
2.2.1.2 Pattern Matching ________________________
Care must be taken when pattern scanning on an upper-case
terminal using LOCATE or when specifying any context string.
Unlike in the normal (upper/lower case) mode, the pattern
must specified either as a context string or LOCATE pattern ____
exactly match when displayed _____________ the way the text appears ______________, including
all the percent signs indicating upper-case. This is because ___
pattern scanning is done in the Display Window __________________________________________________ (which is the
not text displayed on the terminal), ___ in the file itself. All
characters in the Display Window appear in upper-case, even
though some of the characters are actually lower case in the
file.
The scan for pattern matching in LOCATE commands in the forward
direction starts at the second character of the Display Window.
Thus, on an upper/lower case terminal, consecutive LOCATEs of
the same pattern will always find different instances of the
pattern. On an upper-case terminal, consecutive LOCATEs of a
pattern beginning with a capital letter, but not specified as
such, will find the same instance each time, since the word
matching the pattern also starts at the second character of the
Display Window. Therefore, leading percent or double percent
signs should be included in the pattern to ensure the LOCATEs
will find separate instances.
EXAMPLES ________
The string "%SENATOR %MC%GOVERN" would not be found if the user
specified "L/MCGOVERN" because of the percent sign appearing in
would the Display Buffer. It _____ be found by specifying "L/MC%G".
14 -- Section 2.2nual Release 9.1
Previous Page Next Page