summaryrefslogtreecommitdiff
path: root/lib/libedit/editline.3
AgeCommit message (Collapse)Author
2021-08-15Add verb to sentence.wiz
2021-08-15Disable attempts to handle EINTR and non-blocking I/O by default. It ischristos
confusing to other programs and unexpected behavior. Reported by Ingo Schwarze. This behavior is now controlled with EL_SAFEREAD.
2018-11-18Remove utf-8 requirement (Yuichiro NAITO)christos
2017-09-02Remove trailing whitespace; convert Xr readline to Nm readline, sincewiz
we won't get a readline man page in base.
2017-09-01PR/51517: Jay West: Tty settings not restored on exitchristos
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.
2017-07-03Remove workaround for ancient HTML generation code.wiz
2017-06-27mention the limitation of the literal sequence delimiter.christos
2017-06-27Include EDITRC in doc.kre
2017-04-10Add missing argument for H_SET.abhinav
ok christos@
2016-05-22documentation improvements (Ingo Schwarze)christos
2016-05-21Fix the prototype used by EL_GETCFN, mention the associated typedefchristos
name, document the return values, expand the list of affected functions, warn against using EL_GETCFN, and clarify some wording and notation. (Ingo Schwarze)
2016-05-09GNU readline(3) regards history chronologically, that is, from thechristos
perspective of the dawn of time, so "next" means "newer" and "previous" means "older". Libedit, by contrast, uses reverse chronology and regards history from the perspective of the present, such that "next" means "longer ago" and "previous" means "not so long ago". The following patch fixes previous_history() and next_history() as proposed by Bastian Maerkisch. But there is a related problem demonstrated by Bastian's regression tests that his patch did not fix: next_history() can advance not only to the newest entry, but beyond it, which core libedit cannot do. So that feature must be implemented locally in readline.c. With that, the last of Bastians tests is fixed, test_movement_direction(). This patch also improves libedit documentation to more clearly state what "previous" and "next" mean. GNU readline documentation is just as unclear, but we can't easily fix that since libedit doesn't include its own readline.3 manual. (Ingo Schwarze)
2016-04-28new man page from Ingo Schwarze.christos
2016-02-25Use \- for minus sign, use Ev, use Er.wiz
2016-02-24Fix el_{w,}getc documentation (Ingo Schwarze)christos
2016-02-24Fixes from OpenBSD via Ingo Schwarze:christos
1) Missing comma after tok_str in NAME. OpenBSD rev. 1.38 Sep 10, 2015 (schwarze) 2) Style: void in argument list. OpenBSD rev. 1.39 Sep 14, 2015 (schwarze) 3) English punctuation: stray comma. OpenBSD rev. 1.37 Mar 13, 2015 (jmc)
2015-11-03Fix descriptions of el_set functions.christos
Americanise initialise :-)
2014-12-25Bump date for previous.wiz
2014-12-25From Ingo Schwarze, based on changes from Kaspars Bankovskis:wiz
* Document error handling of el_init(), el_set(), el_source(), and history_init(). * Fix a typo an improve punctuation below H_SETUNIQUE. * The ellipsis already implies "optional", no need for []. * Sort options in editrc(5). * Prevent e.g. rom being misconstrued as the end of a sentence. * Drop a useless duplicate .Ar macro. * Put telltc in its proper place in the alphabetical order. * A few typos in vi editor command names. * Some missing vi editor command names. * Some missing author macros.
2014-05-11Add An to authors. Wording.wiz
2014-05-11Add a history function that takes a FILE pointer; needed for Capsicum.christos
From Eitan Adler
2013-07-12Add a function to move the cursor.christos
2013-01-22provide an el_init_fd function.christos
2013-01-10In 2000, .editrc reading from $PWD was removed. Update the man page.wiz
From LEVAI Daniel via jmc@OpenBSD.
2012-09-11PR/46945: Steffen Nurpmeso; el_getc() doesn't document it's setting errnochristos
2012-09-11PR/46941: Steffen Nurpmeso: document EL_BUFFEREDchristos
2011-02-27Fix argument for EL_EDITOR from Jess Thrysoeechristos
2010-12-16Observe the following spelling:wiz
- wide character (noun) - wide-character (adjective) Inspired by jmc@OpenBSD.
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-31- Document and enable wide character support.christos
- Fix read function compatibility.
2009-07-05note that the return value of el_gets doesn't remain valid acrossperry
calls.
2009-05-12Punctuation nit.wiz
2009-05-11restore binary compatibility by providing new prompt functions that takechristos
an extra literal character.
2009-04-11Don't use .Xo/.Xc to avoid ancient macro argument limit.joerg
2009-04-01Readability improvement. Whitespace nits.wiz
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-21Restore markup changes (probably accidentally) reverted in previous.wiz
2009-02-21back out all prompt changes. they are not needed.christos
2009-02-19Fix wordo, use more markup.wiz
2009-02-19document extra argument.christos
2008-04-30Convert TNF licenses to new 2 clause variantmartin
2008-04-05add EL_REFRESH for the benefit of readlinechristos
2007-01-12PR/35411: Matthew Wala: inconsistency in editline(3): rename "num" to thechristos
appropriate parameter names.
2006-12-18Fix xref section. Whitespace cleanups..wiz
2006-12-15add EL_GETFP, and EL_SETFP.christos
2006-11-24- Add more readline functions, enough for gdb-6.5christos
- Make el_get varyadic, and implement EL_GETTC. - XXX: the EL_SETTC api will change in the future.