Home Applications Multi-Line-Command-Editor

Multi-Line-Command-Editor

Community Project
This project is maintained by its author and is not officially supported by InterSystems. For technical support, please contact the project developer.
5
1 reviews
0
Awards
570
Views
33
IPM installs
6
5
Details
Releases (13)
Reviews (1)
Issues
Videos (2)
Articles (1)
Terminal Multi-Line Input + Editor

What's new in this version

archived

Multi-Line-Command-Editor

This example is obsolete
Proper use of ISOS commands achieves the same:

  • ZR (ZREMOVE) to clean your local routine buffer
  • ZI (INSERT) to insert a line
  • ZS (ZSAVE) to name and keep your lines
  • P (PRINT) to show the actual content of the local routine buffer

For more detailed line editing, you may run the embedded editor ^%

USER>X ^%  
Edit: ?  
Enter one of the following  
.B   to break a line into two pieces  
.C   to change all occurrences of a string  
.D   to display s specific range of lines  
.F   to file the routine  
.FX  to file the routine and exit the editor  
.G   to get lines that were put into in a buffer (see .P)  
.I   to insert additional lines (or use the TAB key)  
.J   to join a line with the next one  
.M   to move lines within the routine  
.P   to put lines into a buffer (see .G)  
.R   to remove one or more lines  
.S   to search for all occurrences of a string  
tag OR tag+offset  to edit a line  
+n   to move down n lines and edit  
-n   to move up n lines and edit  
""+n to edit the nth line of the program  
^globalref  to edit a value stored in a global node  
any line of ObjectScript source code, to execute it  
     (but if you call another routine before filing this one,  
     it will wipe out any edits you have made).  
"." use decimal point to move character by character on the current line  
" " use space bar to move from space to space on the line  
"e" to enter characters, use "." and " " to move to entry point,  
    then press "e".  To get out of entry mode, press .  
"d" to delete the characters to the end of the word the cursor is on  
Backspace: Depending on your terminal settings, backspace will either move  
           back character by character, or delete the character at the cursor.  
Edit:  

No magic since this was invented at least 60 years ago still working

Last checked by moderator
02 Dec, 2025Works
download archive
Version
1.1.325 Jan, 2026
ObjectScript quality test
Category
Technology Example
Works with
CachéEnsembleHealthShareInterSystems IRISInterSystems IRIS for Health
First published
04 Jul, 2020
Last edited
13 Jul, 2026