summaryrefslogtreecommitdiff
path: root/lib/libedit
AgeCommit message (Collapse)Author
2001-12-28* Add user-controlled mk.conf variableslukem
- SHLIBDIR Location to install shared libraries if ${USE_SHLIBDIR} is "yes". Defaults to "/usr/lib". - USE_SHLIBDIR If "yes", install shared libraries in ${SHLIBDIR} instead of ${LIBDIR}. Defaults to "no". Sets ${_LIBSODIR} to the appropriate value. This may be set by individual Makefiles as well. - SHLINKDIR Location of shared linker. Defaults to "/usr/libexec". If != "/usr/libexec", change the dynamic-linker encoded in shared programs * Set USE_SHLIBDIR for libraries used by /bin and /sbin: libc libcrypt libcrypto libedit libipsec libkvm libm libmi387 libtermcap libutil libz * If ${_LIBSODIR} != ${LIBDIR}, add symlinks from ${LIBDIR}/${LIB}.so* to ${_LIBSODIR}/${LIB}.so* for compatibility. * Always install /sbin/init statically (for now) The net effect of these changes depends on how the variables are set: 1.) If nothing is set or changed, there is no change from the current behaviour: - Static /bin, /sbin, and bits of /usr/* - Dynamic rest - Shared linker is /usr/libexec/ld*so 2.) If the following make variables are set: LDSTATIC= SHLINKDIR=/lib SHLIBDIR=/lib Then the behaviour becomes: - Dynamic tools - .so libraries used by /bin and /sbin are installed to /lib, with symlinks from /usr/lib/lib*so to -> /lib/lib*so where appropriate - Shared linker is /lib/ld*so 3.) As per 2.), but add the following variable: USE_SHLIBDIR=yes This forces all .so's to be instaleld in /lib (with compat symlinks), not just those tagged by their Makefiles to be. Again, compat symlinks are installed
2001-12-12Readability cleanups; MKfoo=no -> NOfoo.tv
2001-11-08In the `not what I asked for' department:mycroft
Do NOT return an error from term_init() if term_set() fails. Otherwise el_init() barfs and libedit fails to work.
2001-11-08Remove an unused variable.mycroft
2001-11-02If term_init() fails, cleanup and return NULL. This avoids other lossage.christos
Pointed by charles.
2001-11-02Finish initializing all the term data structures even if the terminal initchristos
fails. This makes editline work on dumb terminals again. Noted by mycroft. Oops, too agressive error checking.
2001-10-09PR/14188: Anthony Mallet: Provide an opaque data pointer to client programs.christos
2001-10-04a couple of minor fixes. originally by Ruslan Ermilov <ru@FreeBSD.org>,lukem
highlighted to me by way of Mike Barcroft <mike@FreeBSD.org> (thanks!)
2001-09-29history_def_enter: fix off-by-one mistake in delete condition (the behaviourjdolecek
to keep at least one entry on the history list is retained) This fixes lib/9704 by Phil Nelson.
2001-09-27PR/14067: Anthony Mallet: Provide a programmatic way to set the read_charchristos
function via a new el_set() operation. Thanks, nicely done :-)
2001-09-24va_{start,end} audit:wiz
Make sure that each va_start has one and only one matching va_end, especially in error cases. If the va_list is used multiple times, do multiple va_starts/va_ends. If a function gets va_list as argument, don't let it use va_end (since it's the callers responsibility). Improved by comments from enami and christos -- thanks! Heimdal/krb4/KAME changes already fed back, rest to follow. Inspired by, but not not based on, OpenBSD.
2001-06-19`existent', not `existant'wiz
2001-05-17PR/12963:Jason Waterman: Fix signed cast problems.christos
2001-05-16Use relative path for symlink target so that it won't point outside of tree.enami
2001-05-14Back off previous and do differently:jdolecek
Ensure that the <readline/history.h> link to <readline/readline.h> is installed too for 'make includes'. Also, avoid creating obj dir. This is finally real fix for lib/12929. XXX Is this right?
2001-05-14Use <bsd.inc.mk>, instead of <bsd.prog.mk>, so that the readline.h headerjdolecek
is installed during the 'make includes'. Fixes lib/12929 by Martin Husemann.
2001-04-13knf ch_enlargebufs(), to be *consistent* with the rest of this file...lukem
2001-04-13rename 3 arg ELRE_DEBUG to ELRE_ASSERT, add 2 arg ELRE_DEBUG, and change alllukem
occurences of ELRE_DEBUG(foo,bar,) -> ELRE_DEBUG(foo,bar). some compilers (e.g, gcc on darwin) bitch about the former (`not enough args').
2001-04-02End sentence with a dot.wiz
2001-03-20chmod the history file to 600 so that only the owner can read it.christos
[inspired by the openbsd fix to readline]
2001-01-23sprinkle couple constjdolecek
2001-01-10term_rebuffer_display(): set el->el_term.t_size.v to terminalsjdolecek
height, not a magic value, so that e.g. el_display[] and el_vdisplay[] are not bigger than needed. Discussed with Christos Zoulas.
2001-01-10fix partial completion - we failed to refresh screen in that casejdolecek
2001-01-10Enlarge editline buffers as needed to support arbitrary length lines.jdolecek
This also addresses lib/9712 by Phil Nelson.
2001-01-09term_beep(): use ordinary bell, don't attempt to use visual bell - if user wantsjdolecek
visual instead of ordinary bell, they should set their environment appropriately
2001-01-09make array of functions and help array constjdolecek
2001-01-09make constant arrays a constjdolecek
2001-01-09make constant arrays a constjdolecek
2001-01-06el_line_t: make 'limit' constjdolecek
2001-01-05depoison the pure editline code from readline compatibility hacks.christos
2001-01-05Standard location of readline headers is /usr/include/readline/, so installjdolecek
them there. readline.h of libedit had to move to subdirectory 'readline', due to the way BSD makefiles work; this is better than potentially fragile Makefile hacks
2001-01-04consistently check for allocation failures and return -1, if we could notchristos
get more memory.
2001-01-04fix lint problems.christos
2001-01-04fix dumb typo in signal setup [from OpenBSD]christos
return -1 if alloc fails.
2001-01-01bump libedit minor - addition of rl_special_prefixes and ↵jdolecek
rl_completion_append_character
2001-01-01Add support for rl_completion_append_character and rl_special_prefixes.jdolecek
This addresses lib/10513 by Giles Lean. Tested with PostgreSQL 7.0.2 psql.
2001-01-01history_tokenize(): fix one off-by-one bugjdolecek
rl_complete_internal(): only replace the completed string with common part of possible matches if there is a possible completion
2000-12-31rl_display_match_list():jdolecek
* pad entries shorter than 'max' by spaces correctly * fix off-by-one error which caused extra newline to be printed if the list fit exactly to a screen * fix typo in _rl_qsort_string_compare, which caused the list to not be sorted after all
2000-12-30term_beep(): if terminal supports both visual and ordinary bell, 'ring' bothjdolecek
2000-12-23bump libedit minor - added some public stuff for readline emulationjdolecek
2000-12-23completion_matches(): fix a off-by-one bug, fix variable name typojdolecek
implement displaying of possible completions, add hook to display the list on second rl_complete() invocation in row (typically, double <TAB>) This addresses the completion part of lib/11581 by Richard Earnshaw.
2000-11-28Alloc the keys structure with A_K_NKEYS as the multiplier rather than ajmc
hardcoded value of 4. A_K_NKEYS is currently 6 and this mismatch was stomping memory when initializing the keys. (specifically gdb lost the exec file name if it was a long path name).
2000-11-11- add support for home and end keys.christos
- improve debugging support
2000-11-08improve description of line syntaxlukem
2000-10-04format string audit (silence warnings, save space)sommerfeld
2000-09-04- generate ansi prototypes instead of using __P(). noted by christoslukem
- fix a couple of comments
2000-09-04convert to new style guidelukem
2000-09-04convert to new style guide, which includes:lukem
- ansi prototypes & features (such as stdargs) - 8 space indents
2000-08-29history_def_set has a `const int' as a third arg, not an `int'.lukem
picked up by the ultrix compiler, reported by simonb@ ...
2000-08-15use .tmp temporaries for generated files, to avoid having failed generatedmrg
output being used.