summaryrefslogtreecommitdiffstats
path: root/lib/libedit (follow)
Commit message (Collapse)AuthorAgeFilesLines
...
* Complete incomplete H_ADD description.otto2003-11-011-2/+6
| | | | Spotted and ok by jmc@
* Sync command table to code. Spotted by jmc@.otto2003-11-011-5/+27
|
* 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-312-30/+22
|
* Update to NetBSD libedit (from Oct 1, 2003), adding some stringotto2003-10-3145-8933/+12701
| | | | | | | | | | | | | | | | | | 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@
* emptry -> empty; from Jared Yanovichjmc2003-10-221-2/+2
|
* failure to deal with realloc nicely; spotted by Jonas.Munsin@teleste.com,deraadt2003-08-111-10/+12
| | | | few more changes by millert
* functions should link with -lcurses, not -ltermcap;jmc2003-08-081-3/+3
| | | | pointed out by millert@
* Remove the advertising clause in the UCB license which Berkeleymillert2003-06-0236-235/+91
| | | | rescinded 22 July 1999. Proofed by myself and Theo.
* Correct string bounds; spotted by avsm@'s bounds checker.miod2003-06-011-6/+6
| | | | ok krw@ rohee@
* - typosjmc2003-05-231-4/+4
| | | | | - whitespace at EOL - new sentence, new line
* typo;jmc2003-05-101-2/+2
|
* is -Wall clean by making rcsid constavsm2003-05-0119-38/+38
|
* strcpy/strcat -> strlcpy/strlcattdeval2003-04-052-9/+11
| | | | ok tedu@, hints by deraadt@ and millert@
* files with dead .Xr's;jmc2003-03-111-3/+3
| | | | | | | left .Xr, but removed man page number as suggested by mpech@ more help and ok millert@
* .Xr typos;jmc2003-03-061-3/+3
| | | | ok deraadt@
* Crank all library major numbers. Needed due to the fact that wemillert2002-12-031-1/+1
| | | | | | | | now build libraries with propolice enabled. Without this, existing binaries (such as ports/packages) that link with any system library other than libc will fail with an undefined symbol of "___guard" (__guard on ELF). Pointed out by markus@ and discussed with deraadt@
* riduculous spelling; torh@bogus.netderaadt2002-11-291-6/+6
|
* We live in an ANSI C world. Remove lots of gratuitous #ifdef __STDC__ cruft.millert2002-02-193-49/+7
|
* Manual cleanup of remaining userland __P use (excluding packages maintained outside the tree)millert2002-02-179-47/+32
|
* Part one of userland __P removal. Done with a simple regexp with some minor hand editing to make comments line up correctly. Another pass is forthcoming that handles the cases that could not be done automatically.millert2002-02-1630-242/+242
|
* mark more signals that I cannot fixderaadt2001-12-061-8/+10
|
* Another case where we need to use u_char, not char for arraymillert2001-04-132-6/+7
| | | | | subscripts to avoid buf[-1] problems. Also add a missing include of unistd.h. OK'd by Theo
* signess bug; jwaterman@yaleroad.comderaadt2001-04-131-3/+3
|
* restrict editrc lookup to home directory, thanks kris@freebsd.org. ok deraadt@dugsong2000-06-281-10/+7
|
* Mostly punctuation fixes.aaron2000-04-152-4/+4
|
* Suffix "i.e." and "e.g." with a comma. Just another really picky man pageaaron2000-03-141-2/+2
| | | | | commit, as we want our documentation to be as consistently formatted as possible (it's getting there :-)).
* Typo fixes.alex1999-09-231-2/+2
|
* - remove all trailing whitespaceaaron1999-07-092-13/+13
| | | | | | | | | | * 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-072-4/+4
| | | | | | | 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.
* remove argument from .Os macros so value in /usr/share/tmac/mdoc/doc-commonaaron1999-05-231-2/+2
| | | | is used instead; kwesterback@home.com
* 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-122-14/+14
|
* make function names the correct casederaadt1999-02-271-4/+4
|
* fix misleading protod1999-01-051-2/+2
|
* always give .Nm macros an argument in SYNOPSIS sections; krw@tcn.netaaron1998-12-151-2/+2
|
* deal with realloc/malloc failure and don't trash old pointer if realloc failsmillert1998-08-162-14/+20
|
* -lcurses, not termcap/termlibmillert1998-07-241-2/+2
|
* Make this compile is FIONREAD is defined. Guess this wasmillert1997-08-201-3/+6
| | | | | never tested. Closed NetBSD PR#4012 from David Holland <dholland@bordeaux.eecs.harvard.edu>.
* #if __STDC__ --> #ifdef __STDC__mickey1997-07-251-3/+3
|
* buffer overflow on 64-bit archs fixedniklas1997-07-031-3/+3
|
* Updates from NetBSD (christos@netbsd.org)millert1997-06-2910-52/+61
| | | | | | | | | | | | | * Portability fixes: __const -> const BADSIG -> SIG_ERR int flags -> u_int flags #if __STDC__ -> #ifdef __STDC__ * Don't allow CSWTCH to interfere with CSUSP on __SVR4 systems. * Return -1 if the terminal set operation resulted in dumb terminal settings. * Handle properly the case where the last line in the sourced file does not have a trailing '\n'. From Jeffrey C Honig. * editrc -> editline in editline(3)
* Change a long to and int.millert1997-06-101-3/+3
|
* COPY -> INSTALL_COPY and STRIP -> INSTALL_STRIPmillert1997-04-271-2/+2
| | | | | | | This fixes namespace problems where STRIP is sometimes used as the name of the strip(1) to use and other times used as the flag to send install(1) when stripping (or not). COPY doesn't have this problem (yet) but was poorly named.
* the thederaadt1997-04-091-3/+3
|
* fix el_source() - a block needed braces around it (from NetBSD)millert1997-03-1437-301/+343
| | | | | | Some strcpy() -> strncpy (from NetBSD) Some KNF Add current NetBSD tags
* Iterate over signals correctlytholo1997-03-141-5/+5
|
* Man pages for libedit, from NetBSD.millert1997-01-162-0/+824
|
* Merge in NetBSD libedit changes and new man pages. Also fix somemillert1997-01-1637-21/+191
| | | | | | | | | | | | | | | | | | strncpy() usage in their code. NetBSD change log was: * add a man page for the editline routines * add a man page describing editrc * fix bugs in el_parse(): * didn't execute command when program name matched (test reversed) * was checking against empty string instead of program name * after checks, command to run also pointed to empty string * document ^char and \ escape sequences * when parsing ^char control chars, check the correct char when determining validity (previously, ^char was a NOP interpreted as the literal string because of this bug) * Implement CC_REDISPLAY, which (unlike CC_REFRESH) redraws the entire input * line (a la ^R). This is useful if the binding outputs information and * mucks up the input line. To be used in ``list-choices'' bindings (refer * to the ^D binding in csh when filec is set)