home *** CD-ROM | disk | FTP | other *** search
- $ files = ""
- $ files = files + ",main.c" - ".c"
- $ files = files + ",buffer.c" - ".c"
- $ files = files + ",file.c" - ".c"
- $ files = files + ",window.c" - ".c"
- $ files = files + ",line.c" - ".c"
- $ files = files + ",display.c" - ".c"
- $ files = files + ",sysdep.c" - ".c"
- $ files = files + ",keym.c" - ".c"
- $ files = files + ",most.c" - ".c"
- $ files = files + ",search.c" - ".c"
- $ files = files + ",help.c" - ".c"
- $ files = files + ",dir.c" - ".c"
- $ files = files + ",cmd.c" - ".c"
- $ files = files + ",edit.c" - ".c"
- $ files = files - ","
- $!
- $! if you do not want the doc file used as help, but want a short one page
- $! help summary then comment out the following line:
- $ cc := cc/define=MOST_HELP_USE_DOC
- $!
- $ if (p1 .eqs. "LINK") then goto do_link
- $ write sys$output "Compiling..."
- $ cc 'files'
- $ do_link:
- $ write sys$output "Linking..."
- $ link/exec = most 'files',sys$input/opt
- SYS$LIBRARY:VAXCRTL/SHARE
- $ write sys$output "Setting up MOST...
- $ curr_dir = f$environment("DEFAULT")
- $ most = "$" + curr_dir + "most.exe"
- $ most :== 'most'
- $ most_h = curr_dir + "most.doc"
- $ define MOST_HELP 'most_h'
- $ type := type
- $ type sys$input
-
- MOST is now setup for this login session.
-
- Type 'most filename' to view the file 'filename'.
- In particular, type 'most most.doc' to read the doc file.
-
- $ exit
-