ed

simple ed
git clone git://git.2f30.org/ed
Log | Files | Refs | LICENSE

DateCommit messageAuthorFiles+-
2018-08-27 19:21Bump copyright yearsin1+1-1
2018-08-27 19:16Sync with sbase edsin1+186-126
2017-03-28 13:37Add LICENSE filesin1+21-0
2017-03-28 13:34Sync ed from sbasesin2+287-169
2015-12-14 00:47Fix prompt optionQuentin Rameau1+1-0
2015-12-14 08:28Remove call to getchar() in linenum()Roberto E. Vargas Caballero1+1-1
2015-12-14 00:28Cleanup linenum()Quentin Rameau1+3-3
2015-12-13 18:24Fix execsh() (!)Quentin Rameau1+3-9
2015-12-13 11:20Cleanup scroll() (z)Quentin Rameau1+1-2
2015-12-13 21:08Add correct behaviour of '\n' in interactive globalsRoberto E. Vargas Caballero1+2-0
2015-12-13 20:57Use REG_NEWLINE in regcompRoberto E. Vargas Caballero1+1-1
2015-12-13 20:51Restore curln in undo()Roberto E. Vargas Caballero1+7-3
2015-12-13 19:57Remove the debug information about undoRoberto E. Vargas Caballero1+0-4
2015-12-13 19:53Discard undo data after new editRoberto E. Vargas Caballero1+14-5
2015-12-13 19:47Undo only last commandRoberto E. Vargas Caballero1+7-0
2015-12-13 19:41Use a better allocation schema for undoRoberto E. Vargas Caballero1+30-19
2015-12-13 18:39Fix chkglobal()Roberto E. Vargas Caballero1+3-3
2015-12-13 18:30Fix subst()Roberto E. Vargas Caballero1+1-1
2015-12-13 17:27call subst() only after checking the syntax of the cmdRoberto E. Vargas Caballero1+4-4
2015-12-13 17:25Add basic undo commandRoberto E. Vargas Caballero1+41-0
2015-12-13 12:29's' command set as curln the last affected lineRoberto E. Vargas Caballero1+0-1
2015-12-13 12:04Add support for backreferences in addsub()Roberto E. Vargas Caballero1+13-2
2015-12-13 12:01Fix getrhs()Roberto E. Vargas Caballero1+6-3
2015-12-13 10:33Add support for & in substitutionRoberto E. Vargas Caballero1+15-4
2015-12-13 10:23First functional version of 's' commandRoberto E. Vargas Caballero1+62-44
2015-12-12 20:36Change subs() to subst()Roberto E. Vargas Caballero1+2-2
2015-12-12 20:33Simplify expression in chkglobal()Roberto E. Vargas Caballero1+4-1
2015-12-12 20:29Add aditional parameter to match()Roberto E. Vargas Caballero1+5-4
2015-12-12 19:31Convert match() into a match functionRoberto E. Vargas Caballero1+18-13
2015-12-12 18:10Move parsing functions from subs() to docmd()Roberto E. Vargas Caballero1+3-3
2015-12-12 17:16Add subline()Roberto E. Vargas Caballero1+65-10
2015-12-12 15:52Revert "Split compile into two different functions"Roberto E. Vargas Caballero1+27-61
2015-12-12 11:56Fix small bug in subs()Roberto E. Vargas Caballero1+1-1
2015-12-12 11:48Accept number of re in s commandsRoberto E. Vargas Caballero1+14-11
2015-12-12 10:33Add basic skeleton for s commandRoberto E. Vargas Caballero1+85-0
2015-12-12 09:41Split compile into two different functionsRoberto E. Vargas Caballero1+18-11
2015-12-12 08:50Convert compile() array into a dynamic arrayRoberto E. Vargas Caballero1+16-16
2015-12-10 23:03fix warning for unused variables, minor styleHiltjo Posthuma1+1-3
2015-12-10 22:29Do not decrement size of command when EOFRoberto E. Vargas Caballero1+4-1
2015-12-10 21:30Do not show errors with HRoberto E. Vargas Caballero1+4-0
2015-12-10 21:21Remove chkprint() in 'e' commandRoberto E. Vargas Caballero1+0-1
2015-12-10 21:16Protect RE delimiter insied of bracketsRoberto E. Vargas Caballero1+7-2
2015-12-10 21:10Fix relative addressingRoberto E. Vargas Caballero1+4-3
2015-12-10 20:58Add semicolon address abbreviatureRoberto E. Vargas Caballero1+5-0
2015-12-10 20:30Remove call to chkprint() in 'w' and 'W'Roberto E. Vargas Caballero1+0-1
2015-12-10 20:23Simplify the logic about saved filenameRoberto E. Vargas Caballero1+6-5
2015-12-10 20:14Fix getfname()Roberto E. Vargas Caballero1+2-5
2015-12-10 20:04Discard the full input line when errorsRoberto E. Vargas Caballero1+10-0
2015-12-10 19:56Add support for % in execsh()Roberto E. Vargas Caballero1+29-5
2015-12-10 19:01Fix commands in the form g/re/Roberto E. Vargas Caballero1+7-2
2015-12-10 18:53Add delimeter parameter to compile()Roberto E. Vargas Caballero1+12-10
2015-12-10 17:52Remove parameter of docmd()Roberto E. Vargas Caballero1+8-5
2015-12-10 17:47Fix compile()Roberto E. Vargas Caballero1+1-1
2015-12-10 17:47Remove debug message about cacheRoberto E. Vargas Caballero1+0-1
2015-12-10 17:09Add repetion of last commandRoberto E. Vargas Caballero1+33-20
2015-12-10 16:25Save the content of full previous command lineRoberto E. Vargas Caballero1+21-12
2015-12-10 15:13Move getchar() and ungetc() to input() and back()Roberto E. Vargas Caballero1+45-33
2015-12-10 10:57Save last command in docmd()Roberto E. Vargas Caballero1+14-8
2015-12-10 10:46Fix getlst() bugRoberto E. Vargas Caballero1+4-3
2015-12-09 14:28Remove any reference to cmdpRoberto E. Vargas Caballero1+238-294
2015-12-09 08:51Convert chkglobal() into getchar() parser alikeRoberto E. Vargas Caballero1+39-29
2015-12-08 20:21Change getlst() to a getchar() parser alike functionRoberto E. Vargas Caballero1+59-42
2015-12-08 19:44Better overflow handling in getnum()Roberto E. Vargas Caballero1+8-2
2015-12-08 19:08Remove calls to skipblank in getlst()Roberto E. Vargas Caballero1+8-4
2015-12-08 18:26Call quit() in sighup()Roberto E. Vargas Caballero1+2-1
2015-12-03 21:17Remove aditional parameter of readcmd()Roberto E. Vargas Caballero1+14-12
2015-12-03 21:03Add explicit check against nested global commandsRoberto E. Vargas Caballero1+5-0
2015-12-03 20:51Move prompt printout to the main loopRoberto E. Vargas Caballero1+3-4
2015-12-03 20:11Split getnum in 2 functionsRoberto E. Vargas Caballero1+24-19
2015-12-03 17:30Use a global array for the commandRoberto E. Vargas Caballero1+8-8
2015-12-03 12:26mkstemp() returns a file descriptorsin1+4-7
2015-12-03 12:12Use mkstemp() instead of a fixed filename "ed.tmp"sin1+10-2
2015-12-03 12:00Change sprintf to snprintf in sighup()Roberto E. Vargas Caballero1+4-4
2015-12-03 11:34Handle SIGHUPRoberto E. Vargas Caballero1+22-0
2015-12-03 11:25Fix dowrite()Roberto E. Vargas Caballero1+2-4
2015-12-03 10:28Use addchar() in readcmd()Roberto E. Vargas Caballero1+10-17
2015-12-03 10:19Fix order of parameters in join()Roberto E. Vargas Caballero1+3-3
2015-12-03 09:18Implement join()Roberto E. Vargas Caballero1+14-9
2015-12-03 08:50Convert addchar into a generic functionRoberto E. Vargas Caballero1+13-13
2015-12-03 08:05Fix global commands with user inputRoberto E. Vargas Caballero1+3-1
2015-12-03 05:35Add basic support for signalsRoberto E. Vargas Caballero1+10-0
2015-12-02 21:36Fix typoFRIGN1+1-1
2015-12-02 15:28Remove assert.h-includeFRIGN1+4-7
2015-12-01 20:47Fix doread()Roberto E. Vargas Caballero1+2-1
2015-12-01 20:31Avoid memory and file leak in doread()Roberto E. Vargas Caballero1+12-10
2015-12-01 18:48revert some regressions and cleanup parts from previous patchesHiltjo Posthuma1+7-10
2015-12-01 18:34ed: whoops, check strdup ofcourseHiltjo Posthuma1+2-1
2015-12-01 18:23ed: simplify setfnameHiltjo Posthuma1+1-5
2015-12-01 18:21ed: improve regex/compile()Hiltjo Posthuma1+16-12
2015-12-01 17:49ed: prevent buffer overflow in regex inputHiltjo Posthuma1+2-0
2015-12-01 17:47ed: print byte count instead of line countHiltjo Posthuma1+2-1
2015-12-01 17:44ed: doread: simplify getlineHiltjo Posthuma1+7-11
2015-12-01 17:42ed: when there is no previous cmd give an error (OpenBSD msg)Hiltjo Posthuma1+2-0
2015-12-01 17:35ed: remove some unused variable warningsHiltjo Posthuma1+2-5
2015-12-01 16:59Guard realloc against size_t overflowFRIGN1+9-4
2015-12-01 16:37Some style changesFRIGN1+34-34
2015-12-01 16:03Use proper printf-modifier for size_tFRIGN1+1-1
2015-12-01 16:02Remove REG_BASIC flagFRIGN1+1-1
2015-12-01 16:01Use size_t for memory-offsetsFRIGN1+8-14
2015-11-30 22:17Some stylistic stuffFRIGN1+10-15
2015-11-29 21:25Be even more careful with non finished RERoberto E. Vargas Caballero1+4-4
2015-11-29 20:47Add more TODO and FIXME to the codeRoberto E. Vargas Caballero1+10-1
2015-11-29 20:43Avoid insert '\n' in RERoberto E. Vargas Caballero1+1-1
2015-11-29 08:21Avoid buffer overrun in gettxt()Roberto E. Vargas Caballero1+1-1
2015-11-29 08:18Avoid unneeded goto in gettxt()Roberto E. Vargas Caballero1+1-3
2015-11-28 20:06Avoid use of deflines(1, ...)Roberto E. Vargas Caballero1+2-2
2015-11-28 19:26Avoid infinite loops in gettxtRoberto E. Vargas Caballero1+3-0
2015-11-28 10:37Initial commitsin1+1022-0