STET (text editor)

The STET text editor (short for "structured editing tool") may have been the first folding editor; its first version was written in 1977 by Mike Cowlishaw. The editor runs on the IBM VM/CMS operating system.

STET was written to explore an approach to text editing that followed the principles of structured programming. It allows programs and documentation to be written 'top-down', with blocks of code or text kept to a limited size (usually less than a page).

This was "a first attempt to take the structure out of the domain of languages, and into the domain of editors. In addition to conventional editing facilities, STET gives the user a third dimension: a tree structure that may be traversed using Program Function Keys much as scrolling is normally implemented"[1]

Principles

The editor, like many text editors, is a full-screen editor; a window into the file being edited is displayed and the lines displayed can be edited directly on-screen by insertions, deletions, or overtyping. Editing is also effected by pressing programmable action keys or by typing in commands. Commands are either 'top-line commands' (entered in a command entry area on the top line of the screen) or 'line commands' (entered in a 4-character command entry field adjacent to each displayed line of text).

Top-line commands generally apply to the entire file being edited, and include the usual operations such as saving, searching, replacing, movement around the file, and so on (over 60 in all).

The STET editor, showing a group of lines about to be formed into a block

Line commands apply to a single line or a number of lines, and allow copying, moving, overlaying, merging, uppercasing and the like. An innovation in STET is the ability to mark a group of lines using the < line command to mark the first and last lines of a group. The group of lines can then be manipulated as a whole; they can be copied, merged, etc., and also make possible the 'structured editing commands' which provide the folding capabilities of the editor.

Structured editing commands

The structured editing facilities of STET are based on the concept that each file is represented as a collection of named blocks of lines. A block is created from an (anonymous) marked group of lines by the command (for example) 'form commands'. This command creates the block with name 'COMMANDS' and replaces the group of lines with a single line with a reference to COMMANDS, identified by its first non-blank character being some special character, by default ')'. This feature makes it easy to create a structured file from a flat file.

The STET editor, showing file structure map after forming the COMMANDS block

The block reference concept is very similar to the idea of links in a Wikipedia file, and indeed in STET a block can also be created by putting a new reference on a line and then 'entering' that reference to edit the block.

The structured editing commands also allow the user to see a map of the tree structure of the file, list the blocks alphabetically, and navigate the structure of the file. Navigation upwards and downwards or to a named block is possible, along with 'go to next block at this level' (that is, go up a level, find the next block reference at that level, and then go down a level). Other commands allow blocks to be renamed, expanded, etc., and also allow a flat file to be built from all or part of the structured file.

Other

The editor is written in PL/I except for the 3270 screen interface which is written in Assembler. STET was written and maintained by Mike Cowlishaw from 1976 to 1979 and then taken over by Steve Davies, who continued to enhance and maintain it through the 1980s. Many of the features in STET were used in later IBM text editors, including XEDIT and LEXX.[2]

Limitations

All files that can be edited are limited to a maximum of 32,767 characters wide (line length) and each block is limited to a maximum of 32,767 lines. An unstructured 'flat file' is edited as a single block.

A structured file is stored on disk in a special format which allows efficient loading and navigation of the blocks in the file. This allows each file to also store useful meta-information (such as statistics of action key usage, total edit time, etc.), but has the disadvantage that a flat file has to be 'built' from the structured file before (for example) it can be processed by a compiler or word-processing utility.

References

  1. ^ STET – A STructured Editing Tool Version 2, Davies, S. and Cowlishaw, M. F., IBM UK Scientific Centre, 30pp, 28th Dec 1980.
  2. ^ LEXX – A programmable structured editor, Cowlishaw, M. F., IBM Journal of Research and Development, Vol 31, No. 1, 1987, IBM Reprint order number G322-0151

Read other articles:

Artikel ini tidak memiliki referensi atau sumber tepercaya sehingga isinya tidak bisa dipastikan. Tolong bantu perbaiki artikel ini dengan menambahkan referensi yang layak. Tulisan tanpa sumber dapat dipertanyakan dan dihapus sewaktu-waktu.Cari sumber: Mekepung – berita · surat kabar · buku · cendekiawan · JSTOR Atraksi Mekepung Tradisi Makepung tampak depan Mekepung adalah atraksi Karapan Sapi berasal dari Kabupaten Jembrana, Bali. Mekepung artinya be...

 

No debe confundirse con toda la franquicia; el artículo es para el primer juego. No debe confundirse con Friday Night Funkin', cuya abreviatura es «FNF». Five Nights at Freddy's Información generalDesarrollador Scott CawthonDistribuidor Scott CawthonClickteamDirector Scott CawthonProgramador Scott CawthonEscritor Scott CawthonDatos del juegoGénero Terror y supervivenciaAventura gráficaIdiomas inglés Modos de juego Un jugadorClasificaciones ESRBPEGIUSKDatos del softwareMotor Clickteam F...

 

Koordinat: 7°46′12″S 110°22′40″E / 7.77000°S 110.37778°E / -7.77000; 110.37778 Grha Sabha PramanaInformasi umumJenisAuditoriumLokasi(Universitas Gadjah Mada)Kec. Depok, Kabupaten Sleman, Daerah Istimewa YogyakartaAlamatJl. Bhinneka Tunggal IkaNegara IndonesiaPemilikUniversitas Gadjah MadaData teknisLuas lantai11.069,80 m²Informasi lainAkses transportasi umum 3B   4A   12  Peternakan UGM 3A   4B   ...

 Nota: Se procura pelos agentes de tráfego, veja Companhia de Engenharia de Tráfego. Marronzinho Presidente do PSP Período novembro de 1989 a março de 1990 Dados pessoais Nome completo José Alcides Marronzinho de Oliveira Nascimento 13 de janeiro de 1945 (78 anos)[1] Maruim,  Sergipe[1] Nacionalidade brasileiro Progenitores Mãe: Maria Angelina de OliveiraPai: Simeão F. de Oliveira Partido PTB (1981–1987)PSP (1987–1990)PSB(1998)[2] Profissão Jornalista e Pastor ...

 

For the EP by Buck-O-Nine, see Pass the Dutchie (EP). 1982 single by Musical YouthPass The DutchieSingle by Musical Youthfrom the album The Youth of Today B-sidePlease Give Love a ChanceReleased17 September 1982RecordedAugust 1982Genre Reggae calypso Length3:25[1]6:05 (12 single version)LabelMCA RecordsSongwriter(s) Jackie Mittoo Fitzroy Bunny Simpson Lloyd Judge Ferguson Producer(s) Toney Owens Pete Waterman Peter Collins Musical Youth singles chronology Generals / Political(1981...

 

British actress Katherine ParkinsonParkinson in 2016BornKatherine Parkinson1977 or 1978 (age 45–46)[1]Hounslow, London, EnglandEducationSt Hilda's College, OxfordLondon Academy of Music and Dramatic ArtOccupationActressYears active2001–presentSpouse Harry Peacock ​(m. 2009)​Children2[2] Katherine Parkinson (1977 or 1978[1]) is an English actress and comedian. She appeared in Channel 4's The IT Crowd comedy ...

فيلم نوارمعلومات عامةأعمال بارزة الصقر المالطي التأثيراتفرع من الأدب المظلم — فيلم تعديل - تعديل مصدري - تعديل ويكي بيانات لورا (1944) يعد من أشهر أفلام السينما المظلمة. فيلم نوار أو الفيلم المظلم أو السينما المظلمة (بالفرنسية: Film noir)‏؛ مصطلح سينمائي يُستخدم للتعبير عن أفلام ...

 

1945–63 occupation of West German territory by the Netherlands while WWII reparations were paid This article needs additional citations for verification. Please help improve this article by adding citations to reliable sources. Unsourced material may be challenged and removed.Find sources: Dutch annexation of German territory after the Second World War – news · newspapers · books · scholar · JSTOR (April 2012) (Learn how and when to remove this templ...

 

NapoleonNapoleone Bonaparte (Joaquin Phoenix) durante la campagna d'Egitto in una scena del filmLingua originaleinglese Paese di produzioneStati Uniti d'America, Regno Unito Anno2023 Durata158 min Rapporto2,39:1 Generedrammatico, guerra, azione, storico, biografico RegiaRidley Scott SoggettoDavid Scarpa SceneggiaturaDavid Scarpa ProduttoreRidley Scott, Joaquin Phoenix Mark Huffam, Kevin J. Walsh Produttore esecutivoAidan Elliott Casa di produzioneApple Studios, Latina Pict...

The Right ReverendDavid H. GreerD.D., LL.D.8th Bishop of New YorkChurchEpiscopal ChurchDioceseNew YorkIn office1908–1919PredecessorHenry C. PotterSuccessorCharles Sumner BurchOrdersOrdinationMay 19, 1868by John JohnsConsecrationJanuary 26, 1904by Henry C. PotterPersonal detailsBornMarch 20, 1844Wheeling, West Virginia, United StatesDiedMay 19, 1919(1919-05-19) (aged 75)New York City, New York, United StatesNationalityAmericanDenominationAnglicanParentsJacob Rickard Greer and ...

 

Jan Hordijk kan verwijzen naar: Jan Hordijk (1946), een voormalig Nederlands wielrenner. Jan Hordijk (1974), een voormalig Nederlands wielrenner. Jan Hordijk (voetballer) Jan Hordijk (tennisser) Bekijk alle artikelen waarvan de titel begint met Jan Hordijk of met Jan Hordijk in de titel. Dit is een doorverwijspagina, bedoeld om de verschillen in betekenis of gebruik van Jan Hordijk inzichtelijk te maken. Op deze pagina staat een uitleg van de verschillende betekenisse...

 

Este artigo apresenta apenas uma fonte. Ajude a melhorar este artigo inserindo fontes adicionais.—Encontre fontes: ABW  • CAPES  • Google (N • L • A) (Janeiro de 2023) Este artigo ou seção pode conter informações desatualizadas. Se tem conhecimento sobre o tema abordado, edite a página e inclua as informações mais recentes, citando fontes fiáveis e independentes. —Encontre fontes: ABW  • CAPES  R...

Levski Sofia in European footballLevski vs. Chelsea, UEFA Champions League, 27-09-2006Most appearances Elin Topuzakov (65)Top scorer Pavel Panov (22)First entry1958 Mitropa CupLatest entry2023–24 UEFA Europa Conference League This article lists the results of Levski Sofia in Еuropean competitions since the club's first participation in 1958. The furthest stage Levski has reached is the quarter-finals of the Cup Winners' Cup in 1969–70, 1976–77 and 1986–87 and the quarter-finals of th...

 

Plaza Puerta del Sol Fachada del Casino AntiguoUbicaciónPaís  EspañaCaracterísticasOtros nombres Plaça Porta del SolTipo Plaza-Enlace de CallesVías adyacentes  Calle Trinidad   Calle Enmedio   Calle Gasset   Calle Ruíz Zorilla   Plaza del Real Área Mediana[editar datos en Wikidata] La Plaza Puerta del Sol de Castellón de la Plana, es un punto neurálgico de la ciudad, ya que une las principales calles comercia...

 

2002 Dutch film directed by Maria Peters This article needs additional citations for verification. Please help improve this article by adding citations to reliable sources. Unsourced material may be challenged and removed.Find sources: Peter Bell film – news · newspapers · books · scholar · JSTOR (May 2019) (Learn how and when to remove this template message) Peter BellFilm posterDirected byMaria PetersWritten byChris van Abkoude (novel)Maria Pete...

Basketball venue of Northwestern University in Evanston, Illinois Welsh–Ryan ArenaThe Shrine, The Litter BoxFormer namesMcGaw Memorial Hall (1952–1983)Location2705 Ashland AvenueEvanston, IL 60201Coordinates42°4′1″N 87°41′34″W / 42.06694°N 87.69278°W / 42.06694; -87.69278OwnerNorthwestern UniversityOperatorNorthwestern UniversityCapacity7,039 (2018-)8,117 (1983–2017)7,070 (1981–1983)7,013 (1973–1981)8,800 (1960–1973)9,500 (1952–1960)SurfaceHar...

 

2000 video game 2000 video gameDragon Quest VII: Fragments of the Forgotten PastBox art of the original North American PlayStation release, titled Dragon Warrior VIIDeveloper(s)HeartbeatArtePiazza (3DS, iOS, Android)Publisher(s)WW: Enix (PlayStation)JP: Square Enix (3DS, iOS, Android)WW: Nintendo (3DS)Director(s)Manabu YamanaProducer(s)Taichi InuzukaDesigner(s)Yuji HoriiProgrammer(s)Manabu YamanaArtist(s)Akira ToriyamaShintaro MajimaWriter(s)Yuji HoriiSachiko SugimuraFuminori IshikawaKazunori...

 

Not to be confused with Purwakarta, a regency in West Java province. City and capital of Banyumas Regency, Indonesia This article has multiple issues. Please help improve it or discuss these issues on the talk page. (Learn how and when to remove these template messages) This article needs additional citations for verification. Please help improve this article by adding citations to reliable sources. Unsourced material may be challenged and removed.Find sources: Purwokerto – n...

Panthéon bouddhiste japonaisQuelques-uns des principaux représentants du panthéon bouddhiste, au musée Guimet, Paris.FonctionnementStatut Page de liste de Wikimédia, panthéon (en)modifier - modifier le code - modifier Wikidata Le panthéon bouddhiste japonais désigne la multitude (le panthéon) de divers bouddhas, bodhisattvas et divinités inférieures et d'éminents maîtres religieux du bouddhisme. Un Panthéon bouddhiste existe dans une certaine mesure dans le Mahāyāna, mais il e...

 

Resolución 79 del Consejo de Seguridad de las Naciones UnidasAsunto Regulación y reducción de armamentoFecha 17 de enero de 1950Sesión núm. 462Texto en español S/RES/79(1950)Votación A favor: 9En contra: 0Abstenciones: 1Ausentes: 1Resultado AprobadaMiembros del Consejo en 1950Permanentes  China  Francia  Reino Unido  Estados Unidos  Unión SoviéticaNo permanentes  Cuba  Ecuador  Egipto India  Noruega  Yugoslavia←  78&#...

 

Strategi Solo vs Squad di Free Fire: Cara Menang Mudah!