summaryrefslogtreecommitdiff
path: root/lib/libedit
AgeCommit message (Collapse)Author
2003-12-08update for function name changelukem
2003-12-05Use Aq instead of <>, quote a minus, drop trailing space.wiz
2003-12-05Tokenization function enhancements:lukem
* Make tok_init(), tok_end(), tok_reset(), tok_line() and tok_str() publically available in <histedit.h> * Documented the public functions in editline(3) * Renamed tok_line() -> tok_str() * Added new tok_line() which takes a "const LineInfo *" instead of "const char *" (the former has "cursor" information), and optionally return the argv index ("int *cursorc") and offset within that index ("int *cursorv"). This means that completion routines can use the tokenization code to crack the line and easily find which word the cursor is at. (mmm, context sensitive completion :) * Fixed TEST/test.c when using "continuation" lines (unmatched quote or \ at EOL), and added some more DEBUG messages including highlighting where the cursor is (with a `_').
2003-11-04s/wth/with/christos
2003-11-03Fix uninitialized variable.christos
2003-11-02Always use el->el_buffer, because newbuffer could have moved. Fromchristos
Gerry Swislow gerry at certif dot com
2003-11-02If the kill buffer is empty return normal. From Gerry Swislow gerry at certifchristos
dot com
2003-11-02Handle M- as escape. XXX: should probably select the meta-map instead.christos
From Gerry Swislow gerry at certif com
2003-11-02From: Gerry Swislow gerry at certif dot comchristos
1) File name completion should list the files in the current directory if no text is entered. The previous version wouldn't list anything if the text to complete was empty. 2) When listing directories, the entries "." and ".." shouldn't be shown. 3) The filename completion should be used if the user's rl_attempted_completion_function doesn't return any matches. The previous version didn't do that.
2003-11-01initialize ptr.christos
2003-11-01Explain H_ADD better. from Otto Moerbeek otto at drijf dot netchristos
2003-11-01Fixes from Otto Moerbeek otto at drijf dot netchristos
2003-11-01Document history builtin commands.christos
2003-10-27Make readline csh-like history work.christos
From Gerry Swislow <gerry at certif dot com>.
2003-10-25Another fix for incremental search prev.christos
2003-10-19add rl_catch_signalschristos
2003-10-19Bump date for previous.wiz
2003-10-18change allocation policy in el_push to allocate the string itself.christos
fix issues with strdup.
2003-10-18make forward incremental search work better.christos
2003-10-18remove debugging printf.christos
2003-10-18Allow setty to set chars using char=valuechristos
2003-10-17When searching backwards don't include the characters after the cursor inchristos
the search.
2003-10-17Bump date for previous. Replace > with \*[Gt].wiz
2003-10-16More libedit readline emulation functions from: Gerry Swislowchristos
<gerry at certif dot com>
2003-10-16I got tired of typing a cc line.christos
2003-10-16Fix incremental search which was badly busted.christos
2003-10-15don't limit ^c to alpha c, and add VIS_NOSLASH so that vis(3) does notchristos
produce \^c
2003-10-09PR/23107: Nathan Williams: ^D as the first char on the command line doeschristos
not DTRT in readline compatibility mode
2003-09-26New sentence, new line; bump date for previous.wiz
2003-09-26Implement enough of readline's 4.0 async mode to make gdb happy. This ischristos
not complete yet, but it seems to work... This required to introduce an unbuffered mode to el_gets(), but that was a minor change.
2003-09-15Include "sys/ttydefaults.h" to get standard definition of "CTRL" macrotron
which avoids clash with custom one.
2003-09-15kludge around CTRL redef.christos
2003-09-14Match the stupid function pointer declarations with actual readline's 4.0.christos
This is gross.
2003-09-14make this compile.christos
2003-09-14Avoid pre-ansi warning.christos
2003-09-14- provide enough hooks to compile gdb-5.3christos
- fix el_get(e, EL_TERMINAL, (char **))
2003-09-13Fix something that's been annoying me for a while...mycroft
Pull in <fcntl.h>, so that the fcntl #defines are present, and we build in the automatic reset of non-blocking mode, rather than beeping like mad.
2003-08-07Move UCB-licensed code from 4-clause to 3-clause licence.agc
Patches provided by Joel Baker in PR 22280, verified by myself.
2003-08-03Add INCSYMLINKS to <bsd.inc.mk> and <bsd.kinc.mk>, and use that instead oflukem
SYMLINKS to install symlinked header files. INCSYMLINKS are installed with 'make includes'. This avoids using SYMLINKS and hacks with the 'linkinstall' target in <bsd.links.mk>, as linksinstall occurs in 'make install' and hacks to get it to occur in 'make includes' weren't robust, as seen in lib/libdes. Yet more improvements to bsd.README.
2003-08-01Rework how dependency generation is performed:lukem
* DPSRCS contains extra dependencies, but is _NOT_ added to CLEANFILES. This is a change of behaviour. If a Makefile wants the clean semantics it must specifically append to CLEANFILES. Resolves PR toolchain/5204. * To recap: .d (depend) files are generated for all files in SRCS and DPSRCS that have a suffix of: .c .m .s .S .C .cc .cpp .cxx * If YHEADER is set, automatically add the .y->.h to DPSRCS & CLEANFILES * Ensure that ${OBJS} ${POBJS} ${LOBJS} ${SOBJS} *.d depend upon ${DPSRCS} * Deprecate the (short lived) DEPENDSRCS Update the various Makefiles to these new semantics; generally either adding to CLEANFILES (because DPSRCS doesn't do that anymore), or replacing specific .o dependencies with DPSRCS entries. Tested with "make -j 8 distribution" and "make distribution".
2003-07-31tweak this unconventional (some might say "baroque") Makefile to worklukem
with the new <bsd.dep.mk> *.d semantics. fixes problems highlighted by Martin Husemann <martin@>
2003-07-16Bump date for last.wiz
2003-07-14Documented the return values from el_get().jeremy
2003-06-27Add Ns.wiz
2003-06-19provide a definition for __attribute__christos
2003-06-19From michael@moria.de:christos
Fix realloc case where we could be running out of space if too many matches.
2003-06-19From michael@moria.de:christos
- use __attribute__((__unused__)) in arguments where appropriate. - some int -> size_t and char * to const char * conversions.
2003-06-06Use Aq Pa instead of Fd \*[Lt]...\*[Gt]. From jmc@openbsd.wiz
2003-06-04Only return CC_EOF if ^D (VEOF) was the only thing on the line. Otherwisematt
beep and don't do anything else. This mimics the behavor of ^D outside in normal terminal mode. (^D in vi scrolls forwards and as such isn't appropriate to emulation)
2003-05-14setup -> set up, from jmc@openbsd.wiz