XEDIT

Last updated
An Informatics General computer programmer using XEDIT on an IBM 3279 terminal Informatics General programmer at terminal.jpg
An Informatics General computer programmer using XEDIT on an IBM 3279 terminal
An early version of XEDIT from 1982, as displayed on a 3270 terminal emulator. Original XEDIT.png
An early version of XEDIT from 1982, as displayed on a 3270 terminal emulator.

XEDIT is a visual editor for VM/CMS using block mode IBM 3270 terminals. (Line-mode terminals are also supported.) [1] [2]

Contents

XEDIT is much more line-oriented [3] than modern PC and Unix editors. For example, XEDIT supports automatic line numbers, and many of the commands operate on blocks of lines. A pair of features allows selective line and column editing. [4] The ALL command, for example, hides all lines not matching the described pattern, and the COL (Column) command allows hiding those columns not specified. Hence changing, for example, the word NO as it appears only in columns 24 thru 28, to YES, and only on lines with the word FLEXIBLE, is doable.

Another feature is a command line which allows the user to type arbitrary editor commands. Because IBM 3270 terminals do not transmit data to the computer until certain special keys are pressed [such as ↵ Enter, a program function key (PFK), or a program access key (PAK)], [5] XEDIT is less interactive than many PC and Unix editors. For example, continuous spell-checking as the user types is problematic.

Typical screen layout

 MOHICANS SCRIPT A1 V 132 Trunc=132 Size=10 Line=10 Col=1 Alt=10 XEDIT: ===== Last of the Mohicans ===== .sp ===== It was a feature peculiar to the colonial wars of North America, ===== that the toils and dangers of the wilderness were to be encountered ===== before the adverse hosts could meet. ===== A wide and apparently an impervious boundary of forests severed ===== the possessions of the hostile provinces of France and England. ===== The hardy colonist, and the trained European who fought at his ===== side, frequently expended months in struggling against the rapids ===== of the streams, or in effecting the rugged passes of the mountains |...+....1....+....2....+....3....+....4....+....5....+....6....+....7... ===== * * * End of File * * * ====>                                                          X E D I T 1 File 
XEDIT in "input mode," waiting for the user to input more text. Input mode on newer XEDIT.png
XEDIT in "input mode," waiting for the user to input more text.

Notable features of the screen layout:

Macro language

XEDIT macros (scripts) can be written in Rexx, EXEC 2, or EXEC. XEDIT exposes the majority of its internal state to the macro environment, allowing macros to easily read and set internal variables that control its operation.

KEXX

KEDIT 5 for DOS and OS/2 supports an external Rexx interpreter (native OS/2 Rexx or Quercus Rexx, for DOS only Quercus Rexx replacing the older Mansfield Rexx) and its own rather limited KEXX subset. KEDITW 1.6.1 for Windows supports only its own internal KEXX 5.62 version of the Rexx language. [7] Macros can be arranged in the .kml file format.

History

XEDIT was written by IBM employee Xavier de Lamberterie and was first released in 1980. [8] Its predecessor was EDIT SP (SP is an initialism for System Product used by IBM). Other key influences were EDIT, the older editor for CMS, and EDGAR, an IBM Program Product editor for CMS. XEDIT supported many of the EDGAR commands, SOS (Screen Output Simulation) being a major one. XEDIT also supported EXEC 2, the predecessor of Rexx.

PC and Unix adaptations

Keditw 1.6.1 screenshot KeditW 1.6.1.png
Keditw 1.6.1 screenshot

When PCs and Unix computers began to supplant IBM 3270 terminals, some users wanted text editors that resembled the XEDIT they were accustomed to. To fill this need, several developers provided similar programs:

KEDIT

KEDIT by Mansfield Software Group, Inc., was the first XEDIT clone. Although originally released in 1983, the first major release was version 3.53 for DOS, released in 1985. [9] By 1990, [10] KEDIT 4.0 had a version supporting OS/2, and included the ALL command. [11]

The last version for DOS and OS/2 was KEDIT 5.0p4. KeditW (for Windows) is at version 1.6.1 dated December 2012. [12] Some earlier Windows versions were:

KEDIT 1.6 supports syntax highlighting for various languages including C#, COBOL, FORTRAN, HTML, Java, Pascal, and xBase defined in the .kld file format. [13]

KEDIT supports a built-in Rexx-subset called KEXX . Mansfield Software created the first non-IBM implementation of Rexx (Personal Rexx) in 1985. [9] [14]

In December 2012 Mansfield Software released 1.6.1 to provide compatibility with Windows 8 and extended support to at least June 2015. These 32bit versions work also in the 64bit versions of Windows 7 and Vista, but do not directly support Unicode. As of December 2022, Kedit supports Windows 10 and 11 too, and Mansfield promises email support until at least June 2024. [7] [12]

SEDIT

SEDIT (first released in 1989) is another implementation on both Windows and Unix, which supports a variant of Rexx language called S/REXX (announced in 1994). [15] [16]

THE (The Hessling Editor)

Twin session The Hessling Editor - twin session.png
Twin session

The Hessling Editor (THE) is an open source text editor first released in August 1991;32 years ago, [17] released under the GPL-2.0-or-later license, [18] and available for many operating systems including QNX, OS/2, DOS, BeOS, Amiga, Windows 95/98/Me/NT/2000/XP and most or all POSIX Unix platforms (as a program for text-mode or native X11). [18] THE is a derivation of the IBM Mainframe VM/CMS editor XEDIT that includes support for versions of the REXX scripting language, [19] and takes some features from KEDIT. [20] THE was written in C with PDCurses also required for some platforms. [17] A REXX interpreter such as Regina is also required for THE's REXX macro capability. [17]

THE's author, Mark Hessling, discussed at the 1993 REXX conference in La Jolla, California why he created a new multi-platform text editor. [17]

Related Research Articles

Edlin is a line editor, and the only text editor provided with early versions of IBM PC DOS, MS-DOS and OS/2. Although superseded in MS-DOS 5.0 and later by the full-screen MS-DOS Editor, and by Notepad in Microsoft Windows, it continues to be included in the 32-bit versions of current Microsoft operating systems.

A file manager or file browser is a computer program that provides a user interface to manage files and folders. The most common operations performed on files or groups of files include creating, opening, renaming, copying, moving, deleting and searching for files, as well as modifying file attributes, properties and file permissions. Folders and files may be displayed in a hierarchical tree based on their directory structure.

<span class="mw-page-title-main">Macro (computer science)</span> Rule for substituting a set input with a set output

In computer programming, a macro is a rule or pattern that specifies how a certain input should be mapped to a replacement output. Applying a macro to an input is known as macro expansion. The input and output may be a sequence of lexical tokens or characters, or a syntax tree. Character macros are supported in software applications to make it easy to invoke common command sequences. Token and tree macros are supported in some programming languages to enable code reuse or to extend the language, sometimes for domain-specific languages.

<span class="mw-page-title-main">Text editor</span> Computer software used to edit plain text documents

A text editor is a type of computer program that edits plain text. Such programs are sometimes known as "notepad" software. Text editors are provided with operating systems and software development packages, and can be used to change files such as configuration files, documentation files and programming language source code.

<span class="mw-page-title-main">WordStar</span> Word processor application

WordStar is a word processor application for microcomputers. It was published by MicroPro International and originally written for the CP/M-80 operating system, with later editions added for MS-DOS and other 16-bit PC OSes. Rob Barnaby was the sole author of the early versions of the program.

<span class="mw-page-title-main">Terminal emulator</span> Program that emulates a video terminal

A terminal emulator, or terminal application, is a computer program that emulates a video terminal within some other display architecture. Though typically synonymous with a shell or text terminal, the term terminal covers all remote terminals, including graphical interfaces. A terminal emulator inside a graphical user interface is often called a terminal window.

<span class="mw-page-title-main">Conversational Monitor System</span>

The Conversational Monitor System is a simple interactive single-user operating system. CMS was originally developed as part of IBM's CP/CMS operating system, which went into production use in 1967. CMS is part of IBM's VM family, which runs on IBM mainframe computers. VM was first announced in 1972, and is still in use today as z/VM.

In computing, Interactive System Productivity Facility (ISPF) is a software product for many historic IBM mainframe operating systems and currently the z/OS and z/VM operating systems that run on IBM mainframes. It includes a screen editor, the user interface of which was emulated by some microcomputer editors sold commercially starting in the late 1980s, including SPF/PC.

<span class="mw-page-title-main">Computer terminal</span> Computer input/output device for users

A computer terminal is an electronic or electromechanical hardware device that can be used for entering data into, and transcribing data from, a computer or a computing system. The teletype was an example of an early-day hard-copy terminal and predated the use of a computer screen by decades. Starting in the mid-1970s with machines such as the Sphere 1, Sol-20, and Apple I, terminal circuitry began to be integrated into personal and workstation computer systems, with the computer handling character generation and sometimes outputting to a basic CRT display such as a consumer TV.

<span class="mw-page-title-main">VM (operating system)</span> Family of IBM operating systems

VM is a family of IBM virtual machine operating systems used on IBM mainframes System/370, System/390, zSeries, System z and compatible systems, including the Hercules emulator for personal computers.

<span class="mw-page-title-main">CICS</span> IBM mainframe transaction monitor

IBM CICS is a family of mixed-language application servers that provide online transaction management and connectivity for applications on IBM mainframe systems under z/OS and z/VSE.

curses (programming library) Terminal control library enabling construction of text user interfaces

curses is a terminal control library for Unix-like systems, enabling the construction of text user interface (TUI) applications.

<span class="mw-page-title-main">Text-based user interface</span> Type of interface based on outputting to or controlling a text display

In computing, text-based user interfaces (TUI), is a retronym describing a type of user interface (UI) common as an early form of human–computer interaction, before the advent of bitmapped displays and modern conventional graphical user interfaces (GUIs). Like modern GUIs, they can use the entire screen area and may accept mouse and other inputs. They may also use color and often structure the display using box-drawing characters such as ┌ and ╣. The modern context of use is usually a terminal emulator.

more (command) Terminal pager available on various operating systems

In computing, more is a command to view the contents of a text file one screen at a time. It is available on Unix and Unix-like systems, DOS, Digital Research FlexOS, IBM/Toshiba 4690 OS, IBM OS/2, Microsoft Windows and ReactOS. Programs of this sort are called pagers. more is a very basic pager, originally allowing only forward navigation through a file, though newer implementations do allow for limited backward movement.

SPF/PC is an MS-DOS-based text editor and file manager designed to have an interface that was familiar to those using mainframe SPF and ISPF.

ORVYL is a time-sharing monitor developed by Stanford University for IBM System/360 and System/370 computers in 1967–68. ORVYL was one of the first time-sharing systems to be made available for IBM computers. Wylbur is a text editor and word processor program designed to work either without ORVYL, or in conjunction with ORVYL.

EXEC 2 is an interpreted, command procedure control, computer scripting language used by the EXEC 2 Processor originally supplied with the CMS component of the IBM Virtual Machine/System Product (VM/SP) operating system.

<span class="mw-page-title-main">Scripting language</span> Programming language for run-time events

A scripting language or script language is a programming language that is used to manipulate, customize, and automate the facilities of an existing system. Scripting languages are usually interpreted at runtime rather than compiled.

<span class="mw-page-title-main">Rexx</span> Command/scripting/programming language

Rexx is a programming language that can be interpreted or compiled. It was developed at IBM by Mike Cowlishaw. It is a structured, high-level programming language designed for ease of learning and reading. Proprietary and open source Rexx interpreters exist for a wide range of computing platforms; compilers exist for IBM mainframe computers.

<span class="mw-page-title-main">Command-line interface</span> Computer interface that uses text

A command-line interface (CLI) is a means of interacting with a computer program by inputting lines of text called command-lines. Command-line interfaces emerged in the mid-1960s, on computer terminals, as a user-friendly alternative to punched cards.

References

  1. XEDIT Commands and Macros Reference (1st ed.). IBM. September 2004. IBM publication number SC24-6131-00.
  2. XEDIT User's Guide (2nd ed.). IBM. December 2005. IBM publication number SC24-6132-01.
  3. Paul W. Ross (2018). Revival: The Handbook of Software for Engineers and Scientists (1995). CRC Press. ISBN   978-1351357050. XEDIT is a line-oriented editor that
  4. source of wording: TRANSLATE of KEDIT, in the German article
  5. "PA - program access key statement". IBM. 28 October 2015. Retrieved December 21, 2018.
  6. "Introduction to the 3270 terminal". Networking on z/OS. IBM. The selector pen was light-based (optical) and it was used to select options on the text screen, similar to how a mouse is used--but of course, the 3270 terminal did not support a mouse.
  7. 1 2 "KEDIT for Windows". Mansfield Software Group. 2014. Retrieved 2015-02-22.
  8. Varian, Melinda (1997). "VM and the VM community, past present, and future" (PDF). SHARE 89 Sessions 9059-9061. Retrieved September 20, 2011.
  9. 1 2 Cowlishaw, Mike (2000). "A brief History of 'Classic' Rexx".
  10. Peter Coffee (July 2, 1990). "Well-programmed functions are key to intuitive interface". PC Week . p. 25.
  11. PC Week, May 28, 1990, p. 5
  12. 1 2 "KEDIT: What's New". Mansfield Software Group. November 2014. Retrieved 2023-01-03.
  13. Geir Ove Grønmo (March 1997). "DSSSL.KLD - KEDIT Language Definition for DSSSL Specifications". XML Coverpages. OASIS . Retrieved 2015-02-27.
  14. Beebe, Nelson H. F. (April 12, 2006). "a bibliography of books, manuals, and other publications about the Rexx scripting language".
  15. Salthouse, David (1995). "S/REXX by Benaroya" (PDF). Proceedings of the 6th International Rexx Symposium. Stanford Linear Accelerator Center. pp. 284–290.
  16. Varian, Melinda (May 1995). "Report REXX Symposium". Archived from the original on February 7, 2008.
  17. 1 2 3 4 Mark Hessling (May 18, 1993). "Announcement of THE - The Hessling Editor" (PDF). Stanford University. p. 94. Retrieved May 8, 2021.
  18. 1 2 "The Hessling Editor". sourceforge.net. Retrieved 8 May 2021.
  19. von Hagen, William (2009). Ubuntu 8.10 Linux Bible. Indianapolis and Canada: Wiley Inc. p. 603. ISBN   9780470294208. OCLC   957298546.
  20. Stutz, Michael (2004). The Linux cookbook : tips and techniques for everyday use (2nd ed.). San Francisco: No Starch Press. p. 270. ISBN   1593270313. OCLC   53183579. OL   15571202M.