summaryrefslogtreecommitdiff
path: root/lib/libedit
AgeCommit message (Collapse)Author
2000-06-28Only look in home directory for .editrc. (Discussed with Christos.)sommerfeld
2000-06-21* add -m option to makelist, which generates an mdoc table with the keylukem
bindings and their descriptions * manually add the output of 'sh ./makelist -m vi.c ed.c common.c' to a new section in editrc(5) called `EDITOR COMMANDS'
2000-06-02use strtol() (instead of atoi()) for sane error detectionlukem
2000-05-15don't dump core on empty files.christos
2000-03-13Fix doubled 'the's.soren
2000-03-10Fix _rl_compat_sub() to really honour 'globally' flag insteadjdolecek
of making the substitution always globally - affects _history_expand_command() and in turn history_expand() All praise lint :)
2000-03-10readline(): don't dereference NULL pointer if prompt is NULLjdolecek
history_tokenize(): avoid stepping too far if backslash is last character on the passed string update some comments This makes gdb \ escaping work reliably and fixes lib/9511 by Assar Westerlund.
2000-03-10include <stdlib.h> to get definition of malloc() and free(), so it'sjdolecek
possible to compile this file separately when debugging
2000-02-28el_insertstr takes a "const char *" not "char *" now as it doesn't modifychopps
the argument.
2000-02-19Fix refresh glitches when using auto-margin.mycroft
2000-01-20Add support for automatic and magic margins (from tcsh)christos
This makes the rightmost column usable on all programs that use editline.
2000-01-19PR/9244: Kevin Schoedel: libedit dumps bindings inconsistentlychristos
2000-01-19PR/9243: Kevin Schoedel: libedit ignores repeat countchristos
1999-11-26missing ,lukem
1999-11-13instead of using a private coord_t global variable to store the size of thelukem
rprompt, use the previously unused coord_t el->el_rprompt.p_pos
1999-11-12- implement printing a right-side prompt. code derived from similar worklukem
I wrote for tcsh(1) three years ago. - implement EL_RPROMPT, which allows a setting/getting of a function which returns a string to be used as the right-side prompt. - improve HISTORY and AUTHORS sections in editline(3). - bump shlib minor version for EL_RPROMPT. XXX: due to an implementation issue, the rprompt has a 1 space gap before the edge of the logical screen. editline's logical screen is 1 space less than the full screen width, so there's a 2 space gap between the rprompt and the right end of the physical screen. i'm not concerned about this.
1999-10-24Fix pointer arithmatic (caused problems on LP64, including ftp dumpinglukem
core when `edit' was turned off then on). Problem solved by David Huggins-Daines <dhd@eradicator.org>
1999-10-15don't assume locales are not working - it may not be the casejdolecek
re_refresh(): cast the character passed to re_addc() to unsigned char, so we don't end up calling isprint() with negative value when chars are signed and character value is >= 128
1999-10-04update post change to return value of tputs() third argumentlukem
1999-10-04remove some lintlukem
1999-09-26apparantly need <unistd.h> for portable way of getting _POSIX_VDISABLElukem
1999-09-21* in el_source():lukem
- don't reopen fp if it was successfully opened in a previous check - use strlcpy()/strlcat() instead of snprintf() to build a pathname, since the former are more portable to other systems than the latter * whitespace fascism
1999-09-21fix id header...lukem
1999-09-20more whitespace fascismlukem
1999-08-08minor tweak to previous fix: don't spuriously truncate final newlinesommerfeld
under emacs.
1999-08-02Fix PR7685 (gdb under emacs prints spurious ^M and messes up terminal)sommerfeld
plus a few bogons noted along the way: 1) Set EDIT_DISABLED if terminal type is emacs. 2) fix bug in NO_TTY mode which caused it to not notice CR or LF 3) implement EDIT_DISABLED within libedit to be somewhat like NO_TTY, except that a prompt is printed first.
1999-07-06Use LIBEDITDIR instead of CURDIR so we can use that Makefile to compilechristos
libedit from another directory.
1999-07-03don't try to free() something allocated with alloca() in rl_complete_internal().lukem
(noticed while using completion in gdb and getting inundated with warnings from the new free())
1999-07-02More trailing white space.simonb
1999-06-12Make this compile under linuxchristos
1999-03-22Last of the .Os cleanups. .Os is defined in the tmac.doc-common file,garbled
so we shouldn't override it with versions in the manpages. Wheee!
1999-03-06Add missing , in he_errlist[] initializer. Yay lint.mycroft
1999-03-04Add minimal dependency to make "make depend" optionalitohy
after cleandir.
1999-02-25Add a note to update src/distrib/sets/lists/base/shl.*, and add a missingabs
RCS Id.
1999-02-07PR/6957: Wolfgang Helbig: libedit swaps CR and LF control chars.christos
1999-02-05delint.christos
1999-02-05Encode the history lines using strvis() before saving it. Fixes gdb historychristos
problem with missing newlines.
1999-02-05M-X:<enter> core-dumped.christos
1999-01-11In userland, pull in <errno.h> instead of <sys/errno.h> for the declarationkleink
of errno.
1999-01-05fix history() prototype. (d@openbsd.org)lukem
1998-12-20Change multiple inclusion protection symbol name to NetBSD convention whichkleink
doesn't violate namespace rules.
1998-12-12delintchristos
1998-12-12many problems; variables hidden by others, size_t <-> confusionchristos
1998-12-12- missing error message from array could cause core dumpchristos
- delint
1998-12-03per e-mail with christos: history_next_event() should return -1, not NULL,cgd
in case of error, just like history_prev_event() does.
1998-09-28fix core-dump caused by maps not being initialized before tty is called.christos
1998-09-27Obey incoming tty char settings.christos
1998-09-02PR/6081: Wolfgang Helbig: search broken in vi mode. When patbuf was changedchristos
to be dynamically allocated, sizeof was not changed appropriately.
1998-07-29* add more checks for NULL pointers in passed argumentslukem
* implement el_get(EditLine *, int op, void *result), which does the inverse of el_set() * add EL_EDITMODE operation to el_set and el_get; if non zero editing is enabled (the default). * add "edit on | off" editrc command, which modifies EL_EDITMODE. users can now add '*:edit off' in ~/.editrc as an advisory to disable editing. NOTE: at this time EL_EDITMODE is just an indication of the state of the 'edit' command. It's up to the application to check this after el_source() or el_parse() to determine if editing is still required.
1998-06-08documentation is always probably incomplete; don't make an issue of itlukem