User Tools

Site Tools


tutorials:editor

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Next revision
Previous revision
Last revision Both sides next revision
tutorials:editor [2014/01/28 16:00]
papa created
tutorials:editor [2014/01/28 16:14]
papa
Line 1: Line 1:
 ====== Default Editor ====== ====== Default Editor ======
 +
 +EXEC provides two commands that invoke the default editor: **EDIT**, to edit an existing file, and **CREATE** to create a new file. The default editor is determined by the logical name **EDITOR:**. You can customize the default editor for all your log-in sessions by adding the following line to your LOGIN.CMD file:
 +
 +<code>
 +@DEFINE EDITOR: SYS:EDIT.EXE 
 +</code>
 +
 +(You can specify the executable file for any editor you wish to use in place of SYS:EDIT.EXE.)
 +
 +You can check your current default editor with the command:
 +
 +<code>
 +@INFORMATION LOGICAL-NAMES EDITOR:
 +</code>
 +
 +//(The TOPS-20 User's Guide also documents a **PERUSE** command for invoking the default editor, but this feature is not supported on TWENEX.ORG.)//
 +
 +
  
  
tutorials/editor.txt ยท Last modified: 2016/08/17 07:31 by papa