christos
b354315033
unbreak readline history.
2010-09-16 20:08:51 +00:00
christos
6e1c968db3
provide rl_on_newline
2010-08-04 20:29:18 +00:00
christos
ea3813ed2f
apply apple patches from:
...
http://opensource.apple.com/source/libedit/libedit-11/patches/
2009-09-07 21:24:33 +00:00
christos
461d0372fd
delete defined(sun), it could be invaded in the user namespace. Suggested
...
by mrg@
2009-08-31 00:05:43 +00:00
christos
5aa87ec494
use __sun || sun instead of _SunOS, from Jess Thrysoee
2009-08-30 15:41:05 +00:00
christos
8e714f4b6e
add stdio.h since we are using FILE. From Grant Erickson
2009-07-09 19:02:04 +00:00
christos
e6ec3d065c
implement RL_PROMPT_{START,END}_IGNORE
2009-03-31 17:53:03 +00:00
sketch
fc16547f5e
More fixes for existing portability stuff.
2009-02-12 13:39:49 +00:00
christos
d052ee7b7f
add rl_set_prompt
2009-02-05 19:15:26 +00:00
martin
3028e483e4
Convert to new 2 clause license
2008-04-29 06:53:00 +00:00
christos
3bbc95f39d
Add rl_forced_update_display() from Gerry Swislow
2008-04-04 21:18:34 +00:00
christos
5f3802ca6e
patches from Axel Thimm
2007-08-12 07:41:51 +00:00
christos
2d9dad6f00
Add rl_completion_matches, fix remove_history
2007-05-27 19:45:37 +00:00
christos
6b8a793080
- Add more readline functions, enough for gdb-6.5
...
- Make el_get varyadic, and implement EL_GETTC.
- XXX: the EL_SETTC api will change in the future.
2006-11-24 00:01:17 +00:00
christos
f1fff5b02e
Change to a 3 clause copyright after permission of the holders.
2006-08-21 12:45:30 +00:00
christos
45542456a5
PR/30747: David N. Williams: libedit is missing remove_history()
...
Added, please test.
2005-07-14 15:00:58 +00:00
christos
19c38590ee
PR/30500: Paul Shupak: Inconsistent definition of tilde_expand().
...
Provide a layer of indirection between the readline compatibility functions
and our internal implementation, so that we have the freedom to change the
function signature.
2005-06-11 18:18:59 +00:00
christos
0320b64715
tilde expand should take a const argument.
2005-06-10 20:18:11 +00:00
agc
26abf58dee
Sync the alternative readline interface with reality:
...
+ the rl_callback_handler_install takes a pointer to a void function
which has one char * argument (it's called that way in the readline
emulation source, otherwise there's no way to pass the line buffer
to the function which processes the line when EOL is encountered)
+ provide a prototype for that function signature and use it
Makes the callback readline interface work now.
2005-05-27 11:35:07 +00:00
christos
a76abbed58
PR/29958: Peter Bex: add rl_variable_bind and rl_attempted_completion_over
2005-04-12 22:01:40 +00:00
christos
742c0a6b61
make rl_inhibit_completion visible.
2004-09-08 18:15:37 +00:00
christos
c8d67a7da2
portability fixes.
2004-01-17 17:57:40 +00:00
christos
8b40dcaecf
Make readline csh-like history work.
...
From Gerry Swislow <gerry at certif dot com>.
2003-10-27 22:26:35 +00:00
christos
5d79eff8f5
More libedit readline emulation functions from: Gerry Swislow
...
<gerry at certif dot com>
2003-10-16 22:26:32 +00:00
christos
552716dcff
Implement enough of readline's 4.0 async mode to make gdb happy. This is
...
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-26 17:44:51 +00:00
tron
e9c2e92b36
Include "sys/ttydefaults.h" to get standard definition of "CTRL" macro
...
which avoids clash with custom one.
2003-09-15 11:33:33 +00:00
christos
2e7dfdfa24
kludge around CTRL redef.
2003-09-15 01:29:36 +00:00
christos
7fb5c922f1
Match the stupid function pointer declarations with actual readline's 4.0.
...
This is gross.
2003-09-14 22:15:23 +00:00
christos
705c04f0bc
Avoid pre-ansi warning.
2003-09-14 21:55:19 +00:00
christos
166e18a7fd
- provide enough hooks to compile gdb-5.3
...
- fix el_get(e, EL_TERMINAL, (char **))
2003-09-14 21:48:54 +00:00
lukem
64b5a0fe7b
Add INCSYMLINKS to <bsd.inc.mk> and <bsd.kinc.mk>, and use that instead of
...
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-03 09:23:14 +00:00
lukem
91d06a031b
More use of ${NETBSDSRCDIR}/some/path instead of ${.CURDIR}/../../some/path
2002-08-19 13:35:05 +00:00
christos
0e0ac6b723
- 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.
2002-03-18 16:00:50 +00:00
tv
001067bbd1
Readability cleanups; MKfoo=no -> NOfoo.
2001-12-12 00:51:00 +00:00
enami
e58d00a406
Use relative path for symlink target so that it won't point outside of tree.
2001-05-16 07:09:26 +00:00
jdolecek
049f74e997
Back off previous and do differently:
...
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-14 18:39:14 +00:00
jdolecek
6fc3f969bf
Use <bsd.inc.mk>, instead of <bsd.prog.mk>, so that the readline.h header
...
is installed during the 'make includes'.
Fixes lib/12929 by Martin Husemann.
2001-05-14 07:41:30 +00:00
jdolecek
74c6c9c204
Standard location of readline headers is /usr/include/readline/, so install
...
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-05 21:15:49 +00:00