Difference between revisions of "VI"
From Recital Documentation Wiki
Yvonnemilne (Talk | contribs) |
Helengeorge (Talk | contribs) |
||
(4 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
==Purpose== | ==Purpose== | ||
Execute a text editor to edit program files | Execute a text editor to edit program files | ||
Line 15: | Line 8: | ||
==See Also== | ==See Also== | ||
− | [[ED]], [[MODIFY COMMAND]], [[TEXTEDIT()]] | + | [[ED]], [[MODIFY COMMAND]], [[SET TEDIT]], [[TEXTEDIT()]] |
Line 21: | Line 14: | ||
VI provides the facility to create or modify program files and other text files. The filename can be substituted with a <expC>, enclosed in round brackets, which returns a valid filename. If no file extension is present in the file name, then '.prg' is used. | VI provides the facility to create or modify program files and other text files. The filename can be substituted with a <expC>, enclosed in round brackets, which returns a valid filename. If no file extension is present in the file name, then '.prg' is used. | ||
− | The default editors are: the 'vi' editor under UNIX and Linux; the 'edt' editor under VAX/VMS. You may override these defaults using the SET TEDIT | + | The default editors are: the 'vi' editor under UNIX and Linux; the 'edt' editor under VAX/VMS. You may override these defaults using the SET TEDIT command. |
VI is a synonym of the MODIFY COMMAND and ED commands. | VI is a synonym of the MODIFY COMMAND and ED commands. | ||
Line 35: | Line 28: | ||
==Products== | ==Products== | ||
− | Recital | + | Recital |
[[Category:Documentation]] | [[Category:Documentation]] | ||
[[Category:Commands]] | [[Category:Commands]] | ||
+ | [[Category:Terminal Development Tools]] | ||
+ | [[Category:Terminal Development Tools Commands]] |
Latest revision as of 16:30, 25 November 2009
Purpose
Execute a text editor to edit program files
Syntax
VI <prg filename> | (<expC>)
See Also
ED, MODIFY COMMAND, SET TEDIT, TEXTEDIT()
Description
VI provides the facility to create or modify program files and other text files. The filename can be substituted with a <expC>, enclosed in round brackets, which returns a valid filename. If no file extension is present in the file name, then '.prg' is used.
The default editors are: the 'vi' editor under UNIX and Linux; the 'edt' editor under VAX/VMS. You may override these defaults using the SET TEDIT command.
VI is a synonym of the MODIFY COMMAND and ED commands.
Example
modify command myprogram ed myprogram vi myprogram
Products
Recital