MAILHELP.HLB  —  EDIT  Examples
    1.MAIL> SET EDITOR EDT
      MAIL> EDIT/COMMAND=EDTFUN.EDT FILENAME.DAT
          1           This is the first line of text in FILENAME.DAT.
      [EOB]
      *
         .
         .
         .
      * EXIT
      DISK$MEGAWORK:[BURTON]FILENAME.DAT;1 13 lines
      MAIL>

      This example shows how to invoke the EDT editor and execute
      the commands in an EDT startup command file named EDTFUN.EDT to
      edit an already existing file named FILENAME.DAT before sending
      it.

    2.MAIL> EDIT/READ
      _File: EXISTS.TXT
         .
         .
         .
 <Do>

      Buffer     MAIN                               |Insert  |  Forward
      Command: QUIT <Return>

      This example shows how to use the /READ qualifier with the EDIT
      command and how to end the EVE editing session with the QUIT
      command.
Close Help