summaryrefslogtreecommitdiff
path: root/lib/libedit
AgeCommit message (Collapse)Author
2010-02-03Userland now builds and uses terminfo instead of termcap.roy
OK: core@, jdc@
2010-01-20PR/42646: Joachim Kuebart: Shell crashes in libedit when window size changeschristos
(SIGWINCH). Return NULL if el_gets() gets interrupted.
2010-01-19Fix wrapper for EL_EDITOR, from Michael L. Hitchchristos
2010-01-18PR/42637: Joachim Kuebart: Shell tab completion crashes due to libedit stackchristos
smashing
2010-01-12- call the mapping function directly instead of el_wset().christos
- save the strings passed to the mapping function so that they don't get re-used. This leaks. To fix it properly we could either pass a flag to free particular entries before re-using, or allocate all of them. Allocating all of them wastes memory, allocating some of them makes the code more complex. This fixes compatibility binding (shell tab completion for example)
2010-01-12- in the argv conversion, handle NULL as NULLchristos
- when printing tab/nl print them, don't handle them specially.
2010-01-03Bump date for historyw -> history_w.wiz
2010-01-03rename historyw -> history_w for consistency.christos
add wide tst code and make it the default.
2009-12-31expose the encode and decode string functions for the benefit of historychristos
and readline.
2009-12-31- Document and enable wide character support.christos
- Fix read function compatibility.
2009-12-30Fix wide build, test it, but don't turn it on yet.christos
2009-12-30Wide character support (UTF-8) from Johny Mattsson; currently disabled.christos
2009-12-28reduce diff with tcshchristos
2009-12-28improve on the listing display by printing only one character after thechristos
filename not two, and no trailing blanks. I will revisit this when I write the ls-F code.
2009-12-28Reduce diff with tcsh's editor. No functional change intended.christos
2009-12-28Fix bug where tab completion on the second or > line that caused listingchristos
ended up corrupting the display by an extra space in the beginning. Reported by Mac Chan.
2009-09-07apply apple patches from:christos
http://opensource.apple.com/source/libedit/libedit-11/patches/
2009-08-31delete defined(sun), it could be invaded in the user namespace. Suggestedchristos
by mrg@
2009-08-30use __sun || sun instead of _SunOS, from Jess Thrysoeechristos
2009-07-25Ignore comment lines in .editrc from Jess Thrysoeechristos
2009-07-22Only need path if we have issetugid... From Anon Ymouschristos
2009-07-22Don't depend on side effects inside an assertchristos
From Michael Cook mcook at bbn dot com
2009-07-22Fix memory leaks in error paths.christos
From Michael Cook mcook at bbn dot com
2009-07-22Always initialize nread since it is an out param.christos
From Michael Cook mcook at bbn dot com
2009-07-22Move filename to the scope it is being used.christos
From Michael Cook mcook at bbn dot com
2009-07-17Simplify the code. No functional change.christos
2009-07-17- off by one in the term.h case.christos
- make code more similar to tcsh (if we want to handle wide chars, this is needed; for now it is a no-op)
2009-07-17handle prompt_esc properly.christos
2009-07-17Use the proper prompt printing function.christos
2009-07-09add stdio.h since we are using FILE. From Grant Ericksonchristos
2009-07-05note that the return value of el_gets doesn't remain valid acrossperry
calls.
2009-06-09decrement the number of levels after the loop (Julien Torres)christos
2009-06-08from Julien Torres, flip the order we pop in the macro array.christos
2009-05-19always scroll when we advance past bottom. From Caleb Weltonchristos
cwelton at greenplum dot com
2009-05-12Punctuation nit.wiz
2009-05-11restore binary compatibility by providing new prompt functions that takechristos
an extra literal character.
2009-04-16PR/41230: -current: sh(1) endlessly looping in interactivechristos
Fix proposed from Matthew Mondor
2009-04-11Drop trailing whitespace.wiz
2009-04-11Don't use .Xo/.Xc to work around ancient macro argument limit in groff.joerg
2009-04-11Don't use .Xo/.Xc to avoid ancient macro argument limit.joerg
2009-04-08Fix off by one error reported by: Caleb Welton cwelton at greenplum dot comchristos
2009-04-01Readability improvement. Whitespace nits.wiz
2009-03-31cast to size_t to avoid sign / unsigned comparison warning.christos
2009-03-31implement RL_PROMPT_{START,END}_IGNOREchristos
2009-03-31Implement literal prompt sequences. Now someone can implementchristos
RL_PROMPT_START_LITERAL/RL_PROMPT_END_LITERAL :-)
2009-03-10-1 is not a defined value, it is just a value.wiz
On the other hand, minuses need backslashes, otherwise they become hyphens.
2009-03-10make el_gets set the count to -1 on error to distinguish between EOF andchristos
error.
2009-03-09Fix preamble to match order set out by mdoc(7). Discussed with wiz.joerg
2009-02-27fix mis-evaluating whether a char is digit or not.msaitoh
2009-02-21remove VEOF test. the tty is in cooked mode when we are not editing andchristos
the tty driver does the check for us.