1 MORE MORE is a utility for VMS emulation of the "more/less" function on UNIX systems. Certain UNIX functions, such as starting VI at the current line are not applicable to VMS systems, though an approximate equivalent is available if VMS 5.x is being used. Some other options are specific to VMS ; namely the "list files" feature and the "exit on ctrl-z" etc. MORE is a file browser ; it allows the user to examine a file ( or a set of files ) without formally invoking an editor. 2 Invoking MORE MORE has been defined as a command verb using the file MORE.CLD. To invoke MORE to operate on a set of files ; use the standard VMS wildcard features ; for example MORE MORE.* will use all files in the current directory whose filename is MORE. Unlike EDIT/TPU MORE will use the first matching file it finds rather than prompting for the filetype. MORE will work on files in another directory ; just include the directory name in the file specification. Another feature of MORE is to use "MORE -c" or "MORE/c"; this will home the cursor and clear the screen before each subsequent screen display. 2 Commands Commands (and their equivalents): , f , ctrl-v, next-screen ==> print next screen j, +, down arrow, ctrl-n ==> print next line. b, prev-screen ==> print previous screen. k, -,ctrl-p, up arrow ==> go up one line. d ==> go down half a screen. s ==> skip over next screen. If prefixed by an integer i, it will skip i screens forward. t ==> top of the file (also g ) b ==> skip backward. If prefixed by an integer i, it will skip i screens back. h,? ==> help message. #,:n ==> go to next file (if more than one specified at starting). q,ctrl-z ==> quit. ! ==> spawn subprocess. /string ==> search forward for string. ?string ==> search backward for string ( null string produces help). n ==> next occurrence of last search string( forward or backwards). . ==> repeat last command. = ==> print current line number. :p ==> previous file. :n ==> next file. :f# ==> go to ith file. g# ==> go to # line, default is top of file. c ==> configure MORE menu. m ==> places a mark at current line (bottom of the screen) ctrl-g, ' ==> go to marked line ctrl-l ==> refreshes the screen. ctrl-w ==> toggles the terminal width between 80 and 132 columns. e ==> starts editor at current position. If your editor is EDT, it starts at the beginning of the file. l ==> lists the files in the buffer available for browsing. %n ==> goes to position n% of the file. 2 Customizing MORE MORE provides an enhanced version of the VMS TYPE/PAGE command ; the current version of MORE (1.5) supports the use of the commands listed below. There are several options in MORE that can ( and should ) be customized to suit individual sites/preferences. Some of these are listed here ; these can be changed permanently by editing MORE.C or for the duration of a MORE session using the "c" option from within MORE. The string search can be made case-sensitive if desired ; the default value is non-case-sensitive. To change this alter the value of "case_sensitive" at the top of the file MORE.C from "false" to "true". The behavior of MORE when the end-of-file marker is reached can be changed by setting the value of the flag eof_exit, the default value of which is true. This implies that when the user scrolls past the end-of-file, MORE will quit the file ( as in TYPE). To change this, set the value of eof_exit flag to false. 2 Editing There are several variations possible for using this option. The first one is the choice of editor. By defining the logical name MOREEDIT to be your favorite editor ( eg. ASSIGN/NOLOG EDIT MOREEDIT ) will cause MORE to use the default editor on your system, EDT in (too) many cases. If this logical name is not defined , the default editor is EDIT/TPU if the VMSV5 option was not used while compiling MORE.C and is EDIT/TPU/START=(current_position) if the VMSV5 option was used. The MOREEDIT feature cannot be used along with the starting position capability. MORE spawn a editing process to edit the file and it does NOT return to MORE. 2 Terminal type In general MORE adjusts the size of the screen to utilize the full window available; this assumes that the terminal responds to the ANSI control sequences. The default size of the window is 24 lines ; if MORE is to be used with a larger window on non-DEC terminals such as the TEK4014 emulator in VMS the default should be changed in MORE.H ; the variable name is Screen_Height. To use CTRL/W for toggling the width of a terminal, first your VMS should support this terminal and second your terminal should have such capability. MORE responds to some of the VT2xx and 3xx keys not found on VT1xx and earlier terminals. Specifically the next-screen (E6) and the prev-screen (E5) perform the corresponding tasks.