summaryrefslogtreecommitdiffstats
path: root/lib/libedit/TEST
AgeCommit message (Collapse)AuthorFilesLines
2016-04-09Always compile with WIDECHAR on and delete that preprocessor switch.schwarze1-7/+1
OK martijn@. Diff also proofread by Christian Heckendorf <mbie at ulmus dot me>.
2016-03-20Cleanup of standard header inclusion:schwarze1-6/+6
1. Add the missing <errno.h> to sig.c. 2. Do not include standard headers from private headers "chared.h" and "el.h", include them directly where needed. 3. Delete a few needless inclusions of <ctype.h>. 4. Sort the standard headers. 5. Delete _GNU_SOURCE weirdness from histedit.h, that file doesn't even need the access to wcsdup(3) mentioned in the comment. 6. Delete some trailing blanks and blanks before tabs. OK czarkoff@
2016-03-20support WIDECHAR;schwarze1-1/+7
OK czarkoff@
2010-06-30Update libedit to bring it into sync with the latest version from NetBSD.nicm2-21/+54
ok deraadt
2009-10-27rcsid[] and sccsid[] and copyright[] are essentially unmaintained (andderaadt1-13/+1
unmaintainable). these days, people use source. these id's do not provide any benefit, and do hurt the small install media (the 33,000 line diff is essentially mechanical) ok with the idea millert, ok dms
2005-05-22Make signal handler safe. From Michael Knudsen, many thanks.otto1-5/+11
2003-11-25Sync libedit to NetBSD libedit as of Nov 8, 2003.otto1-0/+10
Tested by jmc@ djm@ and myself
2003-10-31Update to NetBSD libedit (from Oct 1, 2003), adding some stringotto1-140/+159
cleaning and history bug fixes. The code includes GNU libreadline functionality, but the corresponding header files are not installed, since some libreadline functions are missing. There are some minor API changes, notably: old: EditLine *el_init(const char *, FILE *, FILE *); new: EditLine *el_init(const char *, FILE *, FILE *, FILE *); old: HistEvent *history(History *h, int op, ...); new: int history(History *h, HistEvent *ev, int op, ...); plus some changes in operation names. See editline(3) for details. Tested by djm@, mouring@, jmc@. ok deraadt@
2003-06-02Remove the advertising clause in the UCB license which Berkeleymillert1-7/+3
rescinded 22 July 1999. Proofed by myself and Theo.
2003-05-01is -Wall clean by making rcsid constavsm1-2/+2
1997-01-16Merge in NetBSD libedit changes and new man pages. Also fix somemillert1-0/+6
strncpy() usage in their code. NetBSD change log was: * add a man page for the editline routines * add a man page describing editrc * fix bugs in el_parse(): * didn't execute command when program name matched (test reversed) * was checking against empty string instead of program name * after checks, command to run also pointed to empty string * document ^char and \ escape sequences * when parsing ^char control chars, check the correct char when determining validity (previously, ^char was a NOP interpreted as the literal string because of this bug) * Implement CC_REDISPLAY, which (unlike CC_REFRESH) redraws the entire input * line (a la ^R). This is useful if the binding outputs information and * mucks up the input line. To be used in ``list-choices'' bindings (refer * to the ^D binding in csh when filec is set)
1995-12-14update from netbsdderaadt1-19/+50
1995-10-18initial import of NetBSD treederaadt1-0/+213