Text editor

Text editor

History: formatting fix

← Previous revision Revision as of 07:11, 19 April 2026
Line 49: Line 49:
An example configuration, circa 1975, was a [[Teletype Model 33]] as a console to a [[PDP-11]] using [[Version 6 Unix]], manipulating text with the [[ed (text editor)|''ed'']], the standard [[UNIX]] text editor.
An example configuration, circa 1975, was a [[Teletype Model 33]] as a console to a [[PDP-11]] using [[Version 6 Unix]], manipulating text with the [[ed (text editor)|''ed'']], the standard [[UNIX]] text editor.


When [[computer terminal]]s with video screens became available, screen-based text editors (sometimes called just "screen editors"){{anchor|screen-based text editor}} became common. One of the earliest full-screen editors was [[O26 (text editor)|O26]], which was written for the operator console of the [[CDC 6000 series]] computers in 1967. Another early full-screen editor was [[Vi (text editor)|vi]]. Written in the 1970s, it is still a standard editor{{cite web |url = http://www.opengroup.org/onlinepubs/009695399/utilities/vi.html |publisher = The IEEE and The Open Group |title = The Open Group Base Specifications Issue 6, IEEE Std 1003.1, 2004 Edition |year = 2004 |access-date = January 18, 2010 }} on [[Unix]] and [[Linux]] operating systems. Also written in the 1970s was the [[UCSD Pascal]] Screen Oriented Editor, which was optimized both for indented source code and general text.{{Cite journal |last1=L. Bowles |first1=Kenneth |last2=Hollan |first2=James |date= 1978-07-01 |title=An introduction to the UCSD PASCAL system|url=https://www.researchgate.net/publication/226182032 |journal=Behavior Research Methods |volume=10 |issue=4 |pages=531–534 |doi= 10.3758/BF03205341|doi-access=free }} [[Emacs]], one of the first [[free and open source software|free and open-source software]] projects, is another early full-screen or real-time editor, one that was [[port (software)|ported]] to many systems.{{cite web |url = http://www.ibm.com/developerworks/aix/tutorials/au-emacs1/index.html |title = Introducing the Emacs editing environment |website = [[IBM]] |access-date = 2014-06-06 |archive-date = 2014-06-06 |archive-url = https://web.archive.org/web/20140606233857/http://www.ibm.com/developerworks/aix/tutorials/au-emacs1/index.html |url-status = dead }} The 1977 [[Commodore PET]] was the first mass-market computer to feature a full-screen editor. A full-screen editor's ease-of-use and speed (compared to the line-based editors) motivated many early purchases of video terminals.{{cite web |url = http://www.multicians.org/mepap.html |title = Multics Emacs: The History, Design and Implementation |quote = Some Multics users purchased these terminals ..., using them either as "glass teletypes" or via "local editing." }}
When [[computer terminal]]s with video screens became available, screen-based text editors (sometimes called just "screen editors"){{anchor|screen-based text editor}} became common. One of the earliest full-screen editors was [[O26 (text editor)|O26]], which was written for the operator console of the [[CDC 6000 series]] computers in 1967. Another early full-screen editor was [[Vi (text editor)|vi]]. Written in the 1970s, it is still a standard editor{{cite web |url = http://www.opengroup.org/onlinepubs/009695399/utilities/vi.html |publisher = The IEEE and The Open Group |title = The Open Group Base Specifications Issue 6, IEEE Std 1003.1, 2004 Edition |year = 2004 |access-date = January 18, 2010 }} on [[Unix]] and [[Linux]] operating systems. Also written in the 1970s was the [[UCSD Pascal]] Screen Oriented Editor, which was optimized both for indented source code and general text.{{Cite journal |last1=L. Bowles |first1=Kenneth |last2=Hollan |first2=James |date= 1978-07-01 |title=An introduction to the UCSD PASCAL system|url=https://www.researchgate.net/publication/226182032 |journal=Behavior Research Methods |volume=10 |issue=4 |pages=531–534 |doi= 10.3758/BF03205341|doi-access=free }} [[Emacs]], one of the first [[free and open-source software]] projects, is another early full-screen or real-time editor, one that was [[port (software)|ported]] to many systems.{{cite web |url = http://www.ibm.com/developerworks/aix/tutorials/au-emacs1/index.html |title = Introducing the Emacs editing environment |website = [[IBM]] |access-date = 2014-06-06 |archive-date = 2014-06-06 |archive-url = https://web.archive.org/web/20140606233857/http://www.ibm.com/developerworks/aix/tutorials/au-emacs1/index.html |url-status = dead }} The 1977 [[Commodore PET]] was the first mass-market computer to feature a full-screen editor. A full-screen editor's ease-of-use and speed (compared to the line-based editors) motivated many early purchases of video terminals.{{cite web |url = http://www.multicians.org/mepap.html |title = Multics Emacs: The History, Design and Implementation |quote = Some Multics users purchased these terminals ..., using them either as "glass teletypes" or via "local editing." }}


The core data structure in a text editor is the one that manages the string (sequence of characters) or list of [[Storage record|record]]s that represents the current state of the file being edited.
The core data structure in a text editor is the one that manages the string (sequence of characters) or list of [[Storage record|record]]s that represents the current state of the file being edited.