BRWSR and QNDXR BROWSER is a modified version of the older BRWSR adapted a bit for ANSI displays. If you enter a command ` (accent grave), it enters "screen mode" in which the top 7 lines of the screen are index entries, the middle 7 are keyword in context entries, and the third 7 are fulltext entries. Toggles are as in BRWSR (= descends, ^ ascends) but you have a bit more visual context. Also, during index mode, the KWIC line of the selected keyword first item is displayed, and in context mode, the fulltext of the KWIC line is shown. Another ` command toggles screen mode off. The bottom two or so lines on the screen are for interactive commands and the current selected item. BROWSER is most visually sensible if wrap is turned off. When displaying an index or KWIC item, the context of the next lower item (KWIC or fulltext) of the selected item is shown. To help reduce confusion on screen, the index items in fullscreen mode are shown in bold, and the selected item is in reverse video bold. This allows one to see the four screen regions easily and requires a minimum of ANSI support. The hope of the fullscreen mode is to reduce the need to move back and forth between levels so much. The "more detailed" display is only done to one level to reduce confusion. An intended upgrade will allow the uparrow and downarrow keys to go back and forth in the selected regions, and the left and right arrows to descend and ascend respectively (i.e., go from index to KWIC to fulltext or back). This will allow simple searches to mostly use the arrows once keywords are selected. Glenn Everhart 8/1/1990 ---------------------------------------------------------- BRWSR is a small portable aid to browsing through large text files and locating sections by keyword combinations quickly. It uses indices of the text files created by QNDXR in this. In operation, one first creates the file to be browsed. Since C cannot easily position any format file except stream_lf, pass the file thru FILTRLF to convert it to a stream_lf format. FILTRLF takes Unix style redirection for its input and output. Then one runs QNDXR on the file to create the index files. Then one runs BRWSR and opens the file and proceeds to search for text. BRWSR has a builtin help page when you type ? to it. The result might look something like this: $COPY [VAX000]AAAREADME.89A* README89.TXT $FILTRLF VAX89A.TXT $DELETE README89.TXT.* $QNDXR VAX89A.TXT (bunch of messages...) $BRWSR (hello message) :vax89a.txt (message with size of file and number words) (now enter your browsing commands) (when done just type : by itself and reply Y to quit? question.) $ The above assumes you've defined FILTRLF, QNDXR, and BRWSR as foreign DCL commands to run the executables of those names, e.g., $filtrlf:==$disk:[dir]filtrlf $brwsr:==$disk:[dir]brwsr $QNDXR:==$disk:[dir]qindx These utilities were derived from originals obtained from the ARPAnet and modified to compile correctly under VMS by Glenn Everhart Using BRWSR for access of multiple keywords: First select a word by typing it. Then use the * command to create an empty subset and then choose either & for a neighborhood of a few words, && for a neighborhood of a few sentences, or &&& for a neighborhood of a few paragraphs. (& is usually best.) Then by selecting another word (by typing it) your display will be only those cases in the subset. You can negate the subset if you like. The = command will display the keyword in context listings for the selected sets; another = goes to the full text. Displays of Keyword in Context (KWIC) text show only selected subset texts.