summaryrefslogtreecommitdiffstats
path: root/lib/libedit/editline.3 (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Document el_wpush(3) and fix the description of el_push(3).schwarze2016-05-221-18/+22
| | | | | Improve precision in the description of the "bind" builtin command. Tweak terminology to better match editline(7).
* Simple sync with NetBSD, mostly to avoid confusion of arguments andschwarze2016-05-211-27/+36
| | | | return values.
* Fix the prototype used by EL_GETCFN, mention the associated typedef name,schwarze2016-05-211-19/+34
| | | | | document the return values, expand the list of affected functions, warn against using EL_GETCFN, and clarify some wording and notation.
* Fix next_history() and previous_history():schwarze2016-05-101-2/+4
| | | | | | | | | | | | * The meaning of "next" and "previous" is exchanged in readline(3) with respect to editline(3); this part of the patch from Bastian Maerkisch. * next_history() can move beyond the newest entry; issue pointed out by Bastian Maerkisch, fix by me. While here, make the documentation of ed-next-history, ed-prev-history, H_NEXT, and H_PREV more precise. OK czarkoff@.
* New editline(7) manual, explaining to end-users how line editing worksschwarze2016-04-201-3/+4
| | | | | | | | | | | | in programs like ftp(1), sftp(1), bc(1), and cdio(1) that use libedit. The existing editrc(5) manual only explains customization, and the existing editline(3) manual only explains the C language interface. Already listing all editor functions and all default key bindings, but in other respects, not 100% complete yet, and due to the sheer size, some bugs may have slipped, but all that can be fixed in the tree. OK and tweaks jmc@. Also seems reasonable to Christian Heckendorf <mbie at ulmus dot me>.
* Markup fixes: use .Ev and .Er where appropriate.schwarze2016-03-211-8/+8
| | | | | | | While here, also use \-1 rather than -1; not sure that's really better, but Thomas is right it should at least be consistent within a page. From Thomas Klausner <wiz @ NetBSD>.
* fix el_{w,}getc documentation;schwarze2016-03-211-10/+48
| | | | OK czarkoff@
* in the SYNOPSIS, make void function arguments explicitschwarze2015-09-141-4/+4
|
* missing commas at the end of .Nm lines in the NAME sectionschwarze2015-09-101-3/+3
|
* remove the first comma from constructs like ", and," and ", or,": you can usejmc2015-03-131-3/+3
| | | | | "and" and "or" to join sentence clauses, and you can use commas, but both hinders reading;
* merge improvements from NetBSD; ok jmc@ nicm@schwarze2014-12-151-10/+20
|
* markup fixes from Kaspars at Bankovskis dot net;schwarze2014-12-121-7/+12
| | | | | some of this is already contained upstream in NetBSD, the rest will be sent there
* Add a H_SAVE_FP operation to history() which lets the history be savednicm2014-05-191-2/+7
| | | | | | to an open file pointer. From NetBSD via Eitan Adler. ok millert
* editline.3: editrc only read from $HOME; from LEVAI Danieljmc2013-01-101-4/+2
| | | | | | editrc.5: add FILES for ~/.editrc patches passed onto net/free
* Enable wide character functions in libedit (not the other libe*t).nicm2011-07-071-2/+54
| | | | ok stsp deraadt
* netbsd -r1.75: Fix argument for EL_EDITOR; from Jess Thrysoeejmc2011-03-021-3/+3
| | | | ok nicm
* observe the following spelling:jmc2010-09-101-3/+3
| | | | | | | | | - wide character (noun) - wide-character (adjective) this is the "fix of least resistance", and appears to be in line with posix style; a tiny fix still needed for curses, but i'll mail that upstream;
* tweak previous;jmc2010-06-301-4/+2
|
* Update libedit to bring it into sync with the latest version from NetBSD.nicm2010-06-301-76/+238
| | | | ok deraadt
* Document return values, based on a diff from Ross Richardson.nicm2010-05-141-3/+8
| | | | ok jmc
* another Os out of order;jmc2010-05-091-2/+2
|
* Document that el_init can return NULL on failure, PR 6374 from rueda atnicm2010-05-091-3/+5
| | | | | | devio.us. ok jmc
* First pass at removing clauses 3 and 4 from NetBSD licenses.ray2008-06-261-9/+2
| | | | | | | | | Not sure what's more surprising: how long it took for NetBSD to catch up to the rest of the BSDs (including UCB), or the amount of code that NetBSD has claimed for itself without attributing to the actual authors. OK deraadt@
* convert to new .Dd format;jmc2007-05-311-2/+2
|
* add el_get() to the Nm list;jmc2005-10-111-1/+2
|
* double word typos;jmc2005-09-091-2/+2
| | | | from alexey e. suslikov;
* remove an extra occurence of the word `succeeds'jfb2004-04-141-2/+2
| | | | ok jmc@
* Sync libedit to NetBSD libedit as of Nov 8, 2003.otto2003-11-251-4/+6
| | | | Tested by jmc@ djm@ and myself
* encourage people to link with -lcurses rather than -ltermcap;jmc2003-11-031-3/+4
| | | | | | .Xr curses in SEE ALSO, suggested by otto@; ok otto@
* Fix typo, which was already spotted by jmc@, but missing in the previousotto2003-11-011-2/+2
| | | | commit.
* Complete incomplete H_ADD description.otto2003-11-011-2/+6
| | | | Spotted and ok by jmc@
* Typo fix from Dries Schellekens <gwyllion at ace dot ulyssis dot org>.otto2003-10-311-2/+2
| | | | 10x
* Man pages fixes from jmc@otto2003-10-311-5/+4
|
* Update to NetBSD libedit (from Oct 1, 2003), adding some stringotto2003-10-311-53/+190
| | | | | | | | | | | | | | | | | | cleaning and history bug fixes. The code includes GNU libreadline functionality, but the corresponding header files are not installed, since some libreadline functions are missing. There are some minor API changes, notably: old: EditLine *el_init(const char *, FILE *, FILE *); new: EditLine *el_init(const char *, FILE *, FILE *, FILE *); old: HistEvent *history(History *h, int op, ...); new: int history(History *h, HistEvent *ev, int op, ...); plus some changes in operation names. See editline(3) for details. Tested by djm@, mouring@, jmc@. ok deraadt@
* functions should link with -lcurses, not -ltermcap;jmc2003-08-081-3/+3
| | | | pointed out by millert@
* - typosjmc2003-05-231-4/+4
| | | | | - whitespace at EOL - new sentence, new line
* Mostly punctuation fixes.aaron2000-04-151-2/+2
|
* - remove all trailing whitespaceaaron1999-07-091-9/+9
| | | | | | | | | | * except when it is escaped with a `\' at the end of the line - fix remaining .Nm usage as well - this is from a patch I received from kwesterback@home.com, who has been working on some scripts for fixing formatting errors in mdoc'd man pages Ok, so there could be a cost/benefit debate with this commit, but since I have the patch we might as well commit it...
* when using `-' as a negative sign, escape it with a backslash so troff knowsaaron1999-07-071-4/+4
| | | | it's not supposed to be a hyphen/dash
* The proper order of the ``introductory'' macros in a man page is .Dd/.Dt/.Os.aaron1999-07-071-2/+2
| | | | | | | Out of the approximately 1450 man pages, only about 90 of them were wrong. Thanks to kwesterback@home.com for coming up with a script and patch to repair this. The patch also inserted a .Os macro in the few man pages that were missing one.
* Cleanup xrefs under SEE ALSO. Specifically:alex1999-05-161-3/+3
| | | | | | | - Sort xrefs by section, and then alphabetically. - Add missing commas between xref items. - Remove commas from the last xref entry. - Remove duplicate entries.
* builtin -> built-inaaron1999-05-121-7/+7
|
* make function names the correct casederaadt1999-02-271-4/+4
|
* fix misleading protod1999-01-051-2/+2
|
* fix el_source() - a block needed braces around it (from NetBSD)millert1997-03-141-1/+2
| | | | | | Some strcpy() -> strncpy (from NetBSD) Some KNF Add current NetBSD tags
* Man pages for libedit, from NetBSD.millert1997-01-161-0/+532