summaryrefslogtreecommitdiff
path: root/lib/libedit
Commit message (Collapse)AuthorAgeFilesLines
* Teach library about Home/End keysAndrey A. Chernov2000-07-282-5/+30
| | | | Notes: svn path=/head/; revision=63948
* Fully preserve original tty settings outside of line edition mode. Old variantAndrey A. Chernov2000-07-281-44/+8
| | | | | | | | | | preserve them only partially, so tty state becomes different after el_* functions used. PR: 20138 Notes: svn path=/head/; revision=63947
* Move terminal descriptor flush before stty to eliminate potential problemsAndrey A. Chernov2000-07-271-1/+1
| | | | | | | whith characters conversion changed like \n -> \r\n and so on. Notes: svn path=/head/; revision=63946
* Fix temp. singnals blocking. Only one signal was blocked due to typo pastedAndrey A. Chernov2000-07-261-3/+5
| | | | | | | many times. Notes: svn path=/head/; revision=63900
* <blush> I tested the real code changes, but neglected to test theWarner Losh2000-05-222-5/+5
| | | | | | | | insertion of $FreeBSD$. I miffed it (pointy hat please). Hopefully no one will notice this short window where -current didn't compile. Notes: svn path=/head/; revision=60773
* Do not read editrc file from '.'. This can be as unsafe as havingWarner Losh2000-05-222-12/+11
| | | | | | | | | | | | | . first in root's path. While I'm here: o Add $FreeBSD$ o Get errno from <errno.h>, but extern int errno. Submitted by: Tim Vanderhoek Notes: svn path=/head/; revision=60772
* Make comment match code forgotten in last commitWarner Losh2000-05-221-1/+1
| | | | Notes: svn path=/head/; revision=60771
* Add $FreeBSD$ so I can commit:Warner Losh2000-05-221-4/+6
| | | | | | | | Remove extern int errno;. Instead include the ANSI <errno.h>. No functional changes, just a higher level of pedantry. Notes: svn path=/head/; revision=60770
* Introduce .Lb macro to libedit manpageAlexey Zelkin2000-04-221-0/+2
| | | | Notes: svn path=/head/; revision=59508
* Fix style bugsMarcel Moolenaar1999-10-031-4/+2
| | | | | | | Submitted by: bde Notes: svn path=/head/; revision=51904
* sigset_t change (part 5 of 5)Marcel Moolenaar1999-09-291-0/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | ----------------------------- Most of the userland changes are in libc. For both the alpha and the i386 setjmp has been changed to accomodate for the new sigset_t. Internally, libc is mostly rewritten to use the new syscalls. The exception is in compat-43/sigcompat.c The POSIX thread library has also been rewritten to use the new sigset_t. Except, that it currently only handles NSIG signals instead of the maximum _SIG_MAXSIG. This should not be a problem because current applications don't use any signals higher than NSIG. There are version bumps for the following libraries: libdialog libreadline libc libc_r libedit libftpio libss These libraries either a) have one of the modified structures visible in the interface, or b) use sigset_t internally and may cause breakage if new binaries are used against libraries that don't have the sigset_t change. This not an immediate issue, but will be as soon as applications start using the new range to its fullest. NOTE: libncurses already had an version bump and has not been given one now. NOTE: doscmd is a real casualty and has been disconnected for the moment. Reconnection will eventually happen after doscmd has been fixed. I'm aware that being the last one to touch it, I'm automaticly promoted to being maintainer. According to good taste this means that I will receive a badge which either will be glued or mechanically stapled, drilled or otherwise violently forced onto me :-) NOTE: pcvt/vttest cannot be compiled with -traditional. The change cause sys/types to be included along the way which contains the const and volatile modifiers. I don't consider this a solution, but more a workaround. Notes: svn path=/head/; revision=51794
* $Id$ -> $FreeBSD$Peter Wemm1999-08-282-2/+2
| | | | Notes: svn path=/head/; revision=50476
* Fix MLINKS.Matthew N. Dodd1999-08-201-3/+2
| | | | | | | Noticed by: Norman C. Rice <nrice@emu.sourcee.com> Notes: svn path=/head/; revision=50088
* Add 2 functions: el_data_set() and el_data_get() which do what youMatthew N. Dodd1999-08-204-2/+37
| | | | | | | | | | | would expect. (Allow user data to be associated with an EditLine context). As this changes no existing interfaces and doesn't alter any structs visable to the user I've been told that its not necessary to bump the version of the library. Notes: svn path=/head/; revision=50070
* Add $Id$, to make it simpler for members of the translation teams toNik Clayton1999-07-122-0/+4
| | | | | | | | | | | | | | | | | | | | track. The $Id$ line is normally at the bottom of the main comment block in the man page, separated from the rest of the manpage by an empty comment, like so; .\" $Id$ .\" If the immediately preceding comment is a @(#) format ID marker than the the $Id$ will line up underneath it with no intervening blank lines. Otherwise, an additional blank line is inserted. Approved by: bde Notes: svn path=/head/; revision=48794
* Switch to using ".So" as the extension for PIC object files ratherJohn Polstra1999-01-091-1/+1
| | | | | | | | | | | than ".so". The old extension conflicted with well-established naming conventions for dynamically loadable modules. The "clean" targets continue to remove ".so" files too, to deal with old systems. Notes: svn path=/head/; revision=42450
* On the alpha, sizeof(char*) != sizeof(int) which was assumed inDoug Rabson1998-11-301-1/+1
| | | | | | | | | term_init(). This is the cause of /usr/bin/ftp faulting on the alpha. Submitted by: Hidetoshi Shimokawa <simokawa@sat.t.u-tokyo.ac.jp> Notes: svn path=/head/; revision=41421
* Replace memory leaking instances of realloc with non-leaking reallocf.Warner Losh1998-09-164-6/+8
| | | | | | | | | | | | | | In some cases replace if (a == null) a = malloc(x); else a = realloc(a, x); with simple reallocf(a, x). Per ANSI-C, this is guaranteed to be the same thing. I've been running these on my system here w/o ill effects for some time. However, the CTM-express is at part 6 of 34 for the CAM changes, so I've not been able to do a build world with the CAM in the tree with these changes. Shouldn't impact anything, but... Notes: svn path=/head/; revision=39327
* Fixed print format errors.Bruce Evans1998-06-301-1/+1
| | | | Notes: svn path=/head/; revision=37303
* Fixes assorted problems with the history edit functions in libedit. ThisBrian Somers1998-06-276-14/+49
| | | | | | | | | | affects sh, ftp (and others?). Submitted by: Max Euston <meuston@jmrodgers.com> PR: 6516 Notes: svn path=/head/; revision=37199
* Spelling fixes.Poul-Henning Kamp1998-06-101-1/+1
| | | | | | | | | PR: 6903 Reviewed by: phk Submitted by: Josh Gilliam <josh@quick.net> Notes: svn path=/head/; revision=36853
* Spelling corrections.Joseph Koshy1998-06-061-1/+1
| | | | | | | | PR: 6868 Submitted by: Josh Gilliam <josh@quick.net> Notes: svn path=/head/; revision=36692
* Don't use absolute path.Jordan K. Hubbard1998-05-271-1/+1
| | | | | | | Submitted by: jhay Notes: svn path=/head/; revision=36407
* .Sh AUTHOR -> .Sh AUTHORS. Use .An/.AqPhilippe Charnier1998-03-192-4/+8
| | | | Notes: svn path=/head/; revision=34669
* Don't swap carriage return and new line in quoted mode (after ^V).Wolfgang Helbig1998-01-221-2/+2
| | | | Notes: svn path=/head/; revision=32697
* Fixed wrong prototype for history().Bruce Evans1998-01-161-3/+3
| | | | | | | Don't (mis)use .Fd outside of the synopsis. Notes: svn path=/head/; revision=32566
* Sort cross refereces in section SEE ALSO.Wolfram Schneider1997-09-291-2/+2
| | | | Notes: svn path=/head/; revision=29988
* Improve dependancy behaviour a little more.Mike Smith1997-07-281-3/+4
| | | | | | | | | This is still pretty disgusting. Submitted by: bde Notes: svn path=/head/; revision=27727
* List help.h a a dependancy for editline.cMike Smith1997-07-271-2/+2
| | | | | | | | | | | Use 'beforedepend' instead of '.depend' to hang automatically-generated headers off. XXX the latter is bogus without a 'beforeall' target and explicit ordering of dependancy generation for targets. Notes: svn path=/head/; revision=27717
* Reorder decomposition of the filename argument for the '-h' flag toMike Smith1997-07-231-2/+3
| | | | | | | | | | avoid misprocessing in the case where the filename argument contains more than one period. Submitted by: micke@dynas.se (Mikael Hybsch) Notes: svn path=/head/; revision=27631
* Kill this file really dead. The default branch was cleared, evenJohn Polstra1997-07-151-52/+0
| | | | | | | | | though the file was still on the vendor branch. I don't know why. It doesn't look like the cvs-add-on-a-branch bug that we already know about. Notes: svn path=/head/; revision=27428
* Fix vi-mode searching broken with the NetBSD changes update.Mike Smith1997-07-141-4/+2
| | | | | | | | PR: bin/4064 Submitted by: Wolfgang Helbig <helbig@MX.BA-Stuttgart.De> Notes: svn path=/head/; revision=27397
* Kill histedit.h again. Importing Lite2 brought it back for some reasonBruce Evans1997-07-031-172/+0
| | | | | | | (although it hasn't changed). Notes: svn path=/head/; revision=27182
* This commit was generated by cvs2svn to compensate for changes in r27180,Bruce Evans1997-07-032-0/+224
|\ | | | | | | | | | | | | which included commits to RCS files with non-trunk default branches. Notes: svn path=/head/; revision=27181
| * Import Lite2's src/lib, except for non-i386 machine-dependent directories,Bruce Evans1997-07-033-0/+1675
| | | | | | | | libc/db, libc/gen/crypt.* and libtelnet. All affected files except 3 unimportant ones have already left the vendor branch. Notes: svn path=/vendor/CSRG/dist/; revision=27180
* ctype: portability, sign extension and cleanup fixesAndrey A. Chernov1997-06-275-17/+16
| | | | Notes: svn path=/head/; revision=26982
* Move editrc.5 from MAN3 to MAN5Andrey A. Chernov1997-06-271-1/+2
| | | | Notes: svn path=/head/; revision=26981
* Pull histedit.h out, it lives in /usr/src/include, not here.Mike Smith1997-06-251-5/+0
| | | | Notes: svn path=/head/; revision=26933
* Add extra test functionality.Mike Smith1997-06-251-21/+49
| | | | | | | Obtained from: NetBSD Notes: svn path=/head/; revision=26927
* Update libedit with changes from NetBSD. Includes history load/save,Mike Smith1997-06-2517-112/+1053
| | | | | | | | | | some buffer overflow guards and some stylistic cleanups. Also adds manpages. Obtained from: NetBSD Notes: svn path=/head/; revision=26926
* Fix a minor buffer overflow.Warner Losh1997-03-231-3/+2
| | | | | | | Obtained from: BSDi by way of Keith Bostic Notes: svn path=/head/; revision=24156
* Add missing DPADD, remove duplicate -ltermcapPeter Wemm1996-08-301-1/+2
| | | | Notes: svn path=/head/; revision=17929
* 8bit cleaness (ctype) fixesAndrey A. Chernov1996-08-116-16/+18
| | | | Notes: svn path=/head/; revision=17524
* General -Wall warning cleanup, part I.Jordan K. Hubbard1996-07-121-0/+1
| | | | | | | Submitted-By: Kent Vander Velden <graphix@iastate.edu> Notes: svn path=/head/; revision=17141
* This commit was generated by cvs2svn to compensate for changes in r13122,Peter Wemm1995-12-302-224/+0
| | | | | | | which included commits to RCS files with non-trunk default branches. Notes: svn path=/head/; revision=13123
* Fix PR#858, /bin/sh corruption caused by non-zeroed malloc() in libeditPeter Wemm1995-12-021-0/+1
| | | | | | | | | | in particular circumstances. (malloc() does not zero memory, but usually does by coincidenct that sbrk() returns zeroed pages) Submitted-by: John Hood <cgull@smoke.marlboro.vt.us> Notes: svn path=/head/; revision=12565
* Update to 4.4lite2 (initialize arrow key data completely).Bruce Evans1995-10-221-1/+5
| | | | Notes: svn path=/head/; revision=11678
* Change my parse fix from 'return argc' to 'return 0'.Andrey A. Chernov1995-08-301-1/+1
| | | | | | | Pointed by: davidg Notes: svn path=/head/; revision=10482
* Fix sh coredump in vi mode with empty colon commandAndrey A. Chernov1995-08-041-0/+3
| | | | Notes: svn path=/head/; revision=9914
* Simplify baud printing codeAndrey A. Chernov1995-08-041-84/+1
| | | | Notes: svn path=/head/; revision=9901