RANVUE Version 1.0 RANVUE is a program that allows you to VUE any Random file no matter what the file structure is. RANVUE enables you to access and manipulate a random file without have to write customized programs to access the Random file. The best way to describe the use of RANVUE is to go through this help file and follow the instructions. To see the next record press "ESC" then "T" to Turn a page As noted above this is page 2 of RANVUE ^. Now you are seeing the 2cnd 512 bytes of the file RANVUE.DAT, of which there are 20records as shown by the data above the screen borders. We also have no complete backup of this file: we are logged into the account shown after LOG on the top line above the border and we are in mode:RANVUE. To have a complete backup of a random file,invoke RANVUE with a /B for the backup option. Press "ESC" then "T" to turn to next page On most terminals you should be able to use the cursor controls (the up, down, left and right arrows) to move the cursor around the display screen. Try it but don't type any characters over the data displayed. If the cursor controls do not work then use CONTROL L to move right; CONTROL H to move left; CONTROL K to move up; CONTROL L to move down. CONTROL N will move the cursor to the end of the current line. TRY IT. Then press "ESC" then "T" for the next page CONTROL U will move the cursor to the first column of the current line. CONTROL Y will delete the rest of the line from the current cursor location. Below is a review. ^U -beginning of line ^L -cursor right ^J -cursor down ^N -end of line ^H -cursor left ^Y -erase rest of line ^K -cursor up Press "ESC" then "T" for next page The control commands are used to move the cursor around the display screen. You may type over data by placing the cursor where you want to manipulate the data and then type in the data.For an example, move the cursor to the line below this sentence and then type in your name over my name. YOUR NAME: JAMES A JARBOE IV ESC THEN "T" FOR NEXT PAGE The ESC commands enable you to do special functions with the Random data. In order to use these functions type ESC button then the letter corresponding to the function you desire to use.As noted in the previous screens ESC T will turn to the next page or 512 bytes of data. ESC R will return to the previous page or 512 bytes of data. Type ESC R, see the previous record then ESC T to see this page THEN type ESC T to see the next page ESC P will allow you to select any page you wish to see. After you type ESC P the command will ask you which page you wish to see. Type in the page number and then press the carriage return.For an example press ESC P then "6" for page six. When page 6 is displayed, press ESC T to turn back to this page. When you are at page 7 and have tryed out the ESC P command type ESC T to see page 8. ESC S allows you to search for string data only. After pressing ESC S the command will ask for the string to be searched for. Enter the string, type CR. If the string is found it will be displayed in lower intensity. To go to the next match type "X". Only an "X" not control X or ESC X. The next match will then be displayed. Try this, ESC S then type in the string "@@@". To end Search just type a CR and the screen will redisplay. Type ESC T for next page. ESC W allows you to search and replace. It works just like ESC S except that you can replace the string with the string the command prompts you for. Example type ESC W then type STRANGE after the prompt then type STRINGS. When the cursor finds the word STRANGE it will display it in low intensity and then wait for you to enter a Y to change it to STRINGS or N to not change it. ESC W always returns searches from record 1 and returns you to current record. Press ESC T to continue. ESC G is a Global Search and Replace. It works the same as ESC W but does not wait for a Y or N response. It changes every occurance that is found. ESC C is a character fill mode. It allows you to automatically fill any or all 512 byte record with a character of your choice or default to the AMOS write bracket "]". ESC O allows you to print any or all 512 byte records. Press ESC T to continue After entering ESC O the prompt will ask how many bytes per line you wish printed. Then the starting record number, and then the ending record number. Then it will ask for how many lines per page you wish printed. It will then clear the screen and spool the file to the default printer and return to record #1. ESC H will return you to record #1 or the HOME record. Press ESC T to continue ESC E will display the last record in the file. RANVUE does retain an immediate backup of the displayed record if for any reason you destroy or write over data you didn't want to,press ESC B and you will be given an option to replace what is on the display screen with what was there when it was first displayed. ESC M allows you to read MAP Statements of any sequential file. Press ESC T to continue This is useful if you wish to find the byte location of a particular map statement in a basic program. Example : Type ESC M. when prompt asks for name of file type TEST.BAS. To figure the map location use the down arrow to move through the file until you have a map statement that you wish to add up. When you are at a MAP statement you wish to add up type in a Y. It will be added as a running total. To get out of the Map reading type E. Type H to start again. Press ESC T to continue Mostly we have been concerned with manipulating string data. A Random file is capable of holding Floating point data which is always six bytes long. At byte location 449 is a Floating point number. Type in ESC N then F for floating point number then 449 for its location. It will be displayed and ask for a change. Enter a number to change it to or a CR for no change. �I�� Press ESC T to continue The same works for binary data except that it asks for the length of the binary number since it may be greater than 1. Enter ESC N then B for binary number then the location of the binary number, 449. It will be displayed and then ask for changeEnter the number to change to or enter CR for no change. The binary number at byte location is a 1 byte number. At this time RANVUE can only process up to a 2 byte binary number. d Press ESC T to continue The rubout key does not work in Ranvue. You must backspace and then type over data. The numbers to the left of the border show what byte location column 1 is on that particular line. The bars below the border (|) are 10 byte locations from the first column. for instance, symbol @ is at byte location 321+10 or 331. The symbol * is at byte location 321+60 or 381. This is used to recognize byte locations of data. ESC T to continue This help file is mostly string data. Most random files will have a mapped structure and appear much different than this filehas appeared. You will also notice that there is a short pause after a command is given. This is due to the fact that sometimesFloating point and binary data is represented in non-printable characters. This program filters them out and replaces them with.'s . An Assembly routine to do this would make it faster. ANY TAKERS??? Press ESC for next page. To work with a mapped random file, after reading this page, TypeESC A then TEST.DAT . This random file is a lot more similar towhat your random file will appear like. Also the basic file TEST.BAS is included which shows you the structured map state- ments that usually read and write the data file. You may see it and how the MAP reading part works by typing ESC M then TEST.BASHave fun and I hope this program is helpful. Oh I almost forgotto get out of RANVUE type ESC Q. If you have any suggestions or complaints about this program, Please address all correspondence to : JAMES A. JARBOE IV EDUCATIONAL FILMSTRIPS 1401 19TH STREET HUNTSVILLE, TX 77340 ]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]