jdolecek
4acffb6417
completion_matches(): fix a off-by-one bug, fix variable name typo
...
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-12-23 22:02:20 +00:00
lukem
d30d584a91
convert to new style guide, which includes:
...
- ansi prototypes & features (such as stdargs)
- 8 space indents
2000-09-04 22:06:28 +00:00
jdolecek
371967cec8
Fix _rl_compat_sub() to really honour 'globally' flag instead
...
of making the substitution always globally - affects
_history_expand_command() and in turn history_expand()
All praise lint :)
2000-03-10 13:06:43 +00:00
jdolecek
833166a288
readline(): don't dereference NULL pointer if prompt is NULL
...
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-10 12:55:15 +00:00
lukem
87c1844d34
don't try to free() something allocated with alloca() in rl_complete_internal().
...
(noticed while using completion in gdb and getting inundated with warnings from
the new free())
1999-07-03 11:55:51 +00:00
simonb
1528b77539
More trailing white space.
1999-07-02 15:14:07 +00:00
christos
c3f0ff041d
Make this compile under linux
1999-06-12 18:58:05 +00:00
christos
a0be074d8b
many problems; variables hidden by others, size_t <-> confusion
1998-12-12 19:54:16 +00:00
christos
96c915840c
Adjust to the libedit api changes.
1998-05-20 01:03:06 +00:00
thorpej
142a4c50c4
el_gets() takes an int *, not a size_t *.
1997-11-12 21:56:05 +00:00
christos
bc7956dee1
Const de-poisoning :-( Unfortunately the default gnu readline does not
...
have full prototypes... With those changes, and a single line change in
gdb/top.c, gdb links with -ledit
1997-10-23 22:51:59 +00:00
christos
f7de801d6c
PR/4301: Jaromir Dolecek. Add gnu-readline wrapper for editline.
1997-10-23 22:24:09 +00:00