|
|
1.1 ! root 1: This version of ex/vi has modifications to make it run under vms. ! 2: Files that are specific to VMS are stored in the "vms" subdirectory. ! 3: When installed on a VMS system, all files should be in the same ! 4: directory (i.e. files in the "vms" subdirectory should be moved into ! 5: the main directory). The file "makefile.com" is a DCL script for ! 6: compiling the ex/vi system under vms. You will need a C compiler with ! 7: all the #include files installed in SYS$LIBRARY. If they are placed in ! 8: other directory, you will need to define either VAXC$INCLUDE or ! 9: C$INCLUDE to be the other directory. Then you should be able to type ! 10: ! 11: @makefile all ! 12: ! 13: and produce an ex.exe image. ! 14: ! 15: Since vms does not support links, this version of ex/vi tries to figure ! 16: out how it was invoked by looking at the *second* argument (argv[1]) ! 17: with which it was called. Thus, the proper way to invoke the image is ! 18: by having defined strings such as ! 19: ! 20: EX == "$DEV:[DIR]EX.EXE EX" ! 21: VI == "$DEV:[DIR]EX.EXE VI" ! 22: VIEW == "$DEV:[DIR]EX.EXE VIEW" ! 23: EDIT == "$DEV:[DIR]EX.EXE EDIT" ! 24: ! 25: You must also define the terminal type as well as termcap location, e.g. ! 26: ! 27: define term "vt100" ! 28: define termcap usr:[huang]term.cap ! 29: ! 30: Note that the "vt100" is in lower case. This is very important since ! 31: vi and termcap are case sensitive. The default location of the termcap ! 32: file is "etc:termcap." but may be overridden by defining the "termcap" ! 33: logical name. ! 34: ! 35: Good luck. ! 36: ! 37: Conrad Huang ! 38: ! 39: [email protected] ! 40: [email protected] ! 41: ucbvax!ucsfcgl!conrad
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.