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
tutorials:editor [2014/01/28 16:00]
papa created
tutorials:editor [2016/08/17 07:31] (current)
papa Specify TWENEX.ORG supported editors
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. On TWENEX.ORG, the following editor programs are supported to at least some extent:
 +  * EDIT
 +  * EDT
 +  * EMACS
 +  * TV
 +
 +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.1390924803.txt.gz ยท Last modified: 2014/01/28 16:00 by papa