Examples of ZEdit

Example:

       $ CREATE EVE$INIT.EVE
       SET KEYPAD EDT
       SET CURSOR BOUND
       SET RIGHT MARGIN 132
       SET WIDTH 132
       <CTRL Z>
       $ DEFINE EVE$INIT SYS$LOGIN:EVE$INIT.EVE
        

This creates an EVE$INIT file that sets the EVE keypad and cursor to emulate EDT and assigns the appropriate logical name to the file. The last two commands in the file put the editor and the terminal in 132 column mode.

Example:

          GTM>ZEDIT "BAL"
        

This invokes the editor for a file with a name of BAL and an extension of .M. Notice that BAL is a string literal.

Example:

       GTM>SET prog="BAL"
       GTM>ZEDIT prog
        

This is similar to the first example except that it uses a variable argument rather than a string literal.

Example:

          GTM>ZEDIT "LOGIN.COM"
          
        

This invokes the editor for a file with the name LOGIN and an extension of .COM. In this case the file is not a GT.M file.