HP Browse/XL User's Guide

4- 21
Back/Forward Character
The Back Character and Forward Character functions move the cursor back one character and forward one
character, respectively. You cannot induce HP Browse to scroll the text window left and right with these
functions.
If you use the Back Character function when the cursor is in the leftmost column of the text window, HP
Browse moves the cursor to the last column of the previous line in the text window. If the cursor is in the
rightmost column of a line in the text window (that is, column 80, column 160,...), using the forward
character function will move the cursor to the leftmost column of the next line in the text window.
To use the Back Character function, press Backspace; to use the Forward Character function, press Space
Bar. You may specify a count for these functions.
Search Functions
You can use HP Browse to search for patterns of text in the files you are browsing.
HP Browse assigns character keys for three of the five functions in the Search keyset. That is, you can
issue a single character keystroke command as well as use the function keys to search files in HP Browse.
These Search functions are given in Table 3-3.
Search Backward
After you have defined a search pattern, press either the Search Backward function key or the \ character
to find the occurrence of the pattern just previous to the postion of the cursor. If the search pattern is
found, HP Browse moves the cursor to this previous occurrence. If a count is specified, HP Browse will look
for the count th occurrence of the pattern before the cursor.
Search Forward
The Search Forward function, like the Search Backward function, can be used only after you have defined
a search pattern. When you press either the Search Forward function key or the / character, HP Browse
looks for the next occurrence of the search pattern and moves the cursor to this position if the pattern is
found. If a count is specified, HP Browse will look for the count th occurrence of the pattern after the
cursor.
Define Search Pattern
Use the Define Search Pattern function to specify a pattern for HP Browse to search. HP Browse allows
you to specify wildcard characters, beginning line, end line, and character classes within your search
pattern. When you press either the Define Search function key or the f character, the most recent search
pattern is displayed in parentheses, allowing you to verify the current search pattern or enter a new search
pattern before you actually search your file. However, HP Browse will display only the first 60 characters
of your previous search pattern.
Table 3: Search Functions
Function Key
Assigned
Key
Command
Description of Function
Accepts
Count?
Search Backward \ Search backward for a specified search pattern. Yes
Search Forward / Search forward for a specified search pattern Yes
Define Search f Specifies a search pattern. No