VMS Help  —  EDIT  /TPU  Examples
  1.  $ EDIT/TPU

      Invokes TPU.  By default, this runs EVE, creating an empty
      buffer named MAIN.  You can then simply start typing and editing,
      or you can specify the file you want to edit by using the GET
      FILE, OPEN, or OPEN SELECTED command.

  2.  $ EDIT/TPU /INTERFACE=DECWINDOWS

      Invokes TPU, running EVE, with the DECwindows Motif interface.
      For more information, see help on /DISPLAY or /INTERFACE.

  3.  $ EDIT/TPU jabber.txt

      Edits a file named JABBER.TXT in your current, default directory.
      If the file exists, EVE displays the text in the main window; if
      you are creating a new file, the main window and buffer empty.

  4.  $ EDIT/TPU *.txt

      EVE lets you use logical names and wildcards (such as *) to
      specify the input file.  If more than one file matches your
      request, EVE shows a list of the matching files to choose from---
      in this case, a list of files with the type .TXT.  If no file
      matches, EVE creates an empty buffer named MAIN.

  5.  $ EDIT/TPU jabber.txt,*.mail,*.lis,memo.txt

      Edits files named JABBER.TXT and MEMO.TXT, and displays a list of
      files matching *.MAIL.  If more than one file matches *.LIS, EVE
      issues a warning message that only one ambiguous file name is
      allowed on the EDIT/TPU command line.  If only a single file
      matches *.LIS, EVE opens that file.  If only a single file
      matches *.MAIL, EVE opens that file and displays the list of any
      files matching *.LIS.

      EVE displays the first file in the main window.  If JABBER.TXT
      exists, EVE displays the text in the main window; if you are
      creating a new file, the main window is empty.

  6.  $ EDIT/TPU memo.txt /RECOVER

      Recovers the text of MEMO.TXT by using a buffer-change journal
      file named MEMO_TXT.TPU$JOURNAL.  See help on /RECOVER.

  7.  $ DEFINE TPU$SECTION sys$login:mysection
      $ EDIT/TPU

      Defines the TPU default section file as MYSECTION.TPU$SECTION
      in your top-level, login directory and then invokes TPU using
      that section file instead of the standard EVE section file.  See
      help on /SECTION.
Close Help