History log of /src/lib/libedit/hist.h |
Revision | | Date | Author | Comments |
1.23 |
| 01-Sep-2017 |
christos | PR/51517: Jay West: Tty settings not restored on exit PR/51518: Jay West: prompt is interleaved with client output
Both these issues are caused by rl_restore_handler not DTRT; fix it so that it kills the internal libedit state completely. This is inefficient, but it works.
Also fix: 1. add append_history()/H_NSAVE_FP 2. call the rl_startup_hook before printing the first prompt as documented. callint it from rl_initialize breaks python, because the callback ends up being invoked before the readline module is installed, and we end up dereferencing a NULL pointer. 3. add el_resize_terminal.
With those changes, s/lreadline/ledit/g in python works.
|
1.22 |
| 09-May-2016 |
christos | s/protected/libedit_private/g
|
1.21 |
| 11-Apr-2016 |
christos | Char -> wchar_t from Ingo Schwarze.
|
1.20 |
| 11-Apr-2016 |
christos | more macro WIDECHAR undoing from Ingo Schwarze.
|
1.19 |
| 23-Mar-2016 |
christos | Start removing the WIDECHAR ifdefs; building without it has stopped working anyway. (Ingo Schwarze)
|
1.18 |
| 17-Feb-2016 |
christos | whitespace and header sorting changes (Ingo Schwarze). No functional changes.
|
1.17 |
| 16-Feb-2016 |
christos | From Ingo Scharze: Let "el.h" include everything needed for struct editline, and don't include that stuff multiple times. That also improves consistency, also avoids circular inclusions, and also makes it easier to follow what is going on, even though not quite as nice. But it seems like the best we can do...
|
1.16 |
| 16-Feb-2016 |
christos | cleanup inclusion of histedit.h (Ingo Schwarze)
|
1.15 |
| 30-Jan-2016 |
christos | Whitespace fix (Ingo Schwarze)
|
1.14 |
| 11-May-2014 |
christos | Add a history function that takes a FILE pointer; needed for Capsicum. From Eitan Adler
|
1.13 |
| 28-Jul-2011 |
christos | branches: 1.13.2; 1.13.8; 1.13.18; kill ptr_t and ioctl_t, add * sizeof(*foo) to all allocations.
|
1.12 |
| 30-Dec-2009 |
christos | Fix wide build, test it, but don't turn it on yet.
|
1.11 |
| 30-Dec-2009 |
christos | Wide character support (UTF-8) from Johny Mattsson; currently disabled.
|
1.10 |
| 07-Aug-2003 |
agc | Move UCB-licensed code from 4-clause to 3-clause licence.
Patches provided by Joel Baker in PR 22280, verified by myself.
|
1.9 |
| 21-Jan-2003 |
christos | Add a uniquefier for the history function.
|
1.8 |
| 15-Nov-2002 |
christos | PR/18995: David Laight: libedit fixes for posix conformant sh
The posix 'sh' specification defines vi-mode editing quite tightly. The netbsd libedit code (used by sh to do this) was missing several features, there were also minor errors in others.
Compare netbsd sh to the definition available from: http://www.opengroup.org/onlinepubs/007904975/utilities/sh.html In particular the following were not supported: U - undo all changes to line | - goto column Y - yank to end of line y - yank # - comment out current line @ - take input from shell alias [1] G - goto numbered line in history buffer v - edit history line with vi _ - append word from last input line . - redo last command Other minor changes have also been made.
[1] This needs the shell to define an appropriate routine to return the text of the alias. There is no requirement that such a function exist.
|
1.7 |
| 18-Mar-2002 |
christos | - constify; passes all gcc and lint strict checks. - add config.h [Jason Evans], to create a portable version of libedit that can be easily compiled on other OS's.
|
1.6 |
| 10-Jan-2001 |
jdolecek | Enlarge editline buffers as needed to support arbitrary length lines. This also addresses lib/9712 by Phil Nelson.
|
1.5 |
| 04-Sep-2000 |
lukem | convert to new style guide, which includes: - ansi prototypes & features (such as stdargs) - 8 space indents
|
1.4 |
| 14-Oct-1997 |
christos | PR/4257: Jaromir Dolecek: history() has no generic error handling and isn't reentrant. This changes the interface of the history function, so we need a major number bump.
|
1.3 |
| 11-Jan-1997 |
lukem | RCSid police editline first appeared in 4.4BSD not NetBSD1.0
|
1.2 |
| 15-Oct-1995 |
christos | Added history load and save to file functions.
|
1.1 |
| 06-May-1994 |
cgd | branches: 1.1.1; Initial revision
|
1.1.1.1 |
| 06-May-1994 |
cgd | libedit!
|
1.13.18.1 |
| 10-Aug-2014 |
tls | Rebase.
|
1.13.8.1 |
| 20-Aug-2014 |
tls | Rebase to HEAD as of a few days ago.
|
1.13.2.1 |
| 22-May-2014 |
yamt | sync with head.
for a reference, the tree before this commit was tagged as yamt-pagecache-tag8.
this commit was splitted into small chunks to avoid a limitation of cvs. ("Protocol error: too many arguments")
|