/sys$common/syshlp/helplib.hlb EDIT, /TPU, Examples *Conan The Librarian (sorry for the slow response - running on an old VAX) |
1. $ EDIT/TPU Invokes DECTPU. 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 DECTPU, 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 DECTPU default section file as MYSECTION.TPU$SECTION in your top-level, login directory and then invokes DECTPU using that section file instead of the standard EVE section file. See help on /SECTION.
|