stefanf
83a85292b6
Merge makelist rev 1.10 and map.c rev 1.22 from NetBSD. They just patch the
...
bug fixed in the last commit to map.c in a different way. Follow NetBSD to
facilitate future merges.
2005-10-04 21:59:29 +00:00
stefanf
476cfba922
Merge NetBSD's rev. 1.49:
...
Fix double if (from Alexey E. Suslikov via jmc@openbsd).
While here, re-word both H_[GS]ETUNIQUE descriptions so they make
more sense. Bump date.
2005-10-04 21:51:26 +00:00
stefanf
d16ffa0af9
Merge NetBSD's rev. 1.41:
...
PR/31012: Barry Naujok: libedit el_get with EL_EDITOR op does not work
Fixed as suggested.
2005-10-04 21:45:42 +00:00
stefanf
b7fb0e474d
Move <sys/cdefs.h> up to reduce diff to NetBSD.
2005-08-10 13:41:31 +00:00
stefanf
22440a1166
Submitted to and merged from NetBSD (rev. 1.23 and 1.24):
...
- Don't delete the current line when typing `yy'.
- Don't use a possibly stale pointer in cv_paste().
-
2005-08-10 13:38:01 +00:00
stefanf
5529bc149d
NetBSD merged our typo fixes, update $NetBSD$.
2005-08-09 13:37:59 +00:00
stefanf
772393514a
Merge a change I missed in the last commit.
2005-08-09 13:35:48 +00:00
stefanf
8b347adbf8
Merge NetBSD's 1.25 which fixes a small bug introduced in 1.24.
2005-08-09 13:31:59 +00:00
stefanf
dad766aeea
Include <term.h> before #undef'ing key_clear.
2005-08-08 17:17:56 +00:00
stefanf
b3a28a5d94
Fix a few typos.
2005-08-08 07:08:35 +00:00
stefanf
c72aa990fb
Don't forget to copy the sentinel into the `help' array. It's expected to
...
be there.
Submitted by: Björn König
PR: 82381
2005-08-08 07:03:50 +00:00
stefanf
6fecd62c1e
Sync libedit with recent NetBSD developments. Including improvements to the
...
vi-mode, removal of clause 3, cleanups and the export of the tokenization
functions.
Not included: config.h, filecomplete.{c,h}
2005-08-07 20:55:59 +00:00
stefanf
7907f74429
Revert the replacement of realloc() with reallocf() (el.h:1.2, map.c:1.5 and
...
tokenizer.c:1.3). Contrary to the commit log there were no memory leaks,
but the change introduced a bug because the free'd pointer was not zeroed
and calling the appropriate _end() function would call free() a second time.
2005-08-07 08:35:39 +00:00
kensmith
f97f77429f
Bump the shared library version number of all libraries that have not
...
been bumped since RELENG_5.
Reviewed by: ru
Approved by: re (not needed for commit check but in principle...)
2005-07-22 17:19:05 +00:00
ru
6b6b8c04f6
Expand contractions.
2005-02-13 23:45:54 +00:00
ru
1541af42f1
Expand *n't contractions.
2005-02-13 22:25:33 +00:00
ru
1c23ef339b
mdoc(7): Use the new feature of the .In macro.
2003-09-08 19:57:22 +00:00
obrien
372364ee0f
style.Makefile(5)
2003-08-18 15:25:39 +00:00
gordon
5901302929
Stage 3 of dynamic root support. Make all the libraries needed to run
...
binaries in /bin and /sbin installed in /lib. Only the versioned files
reside in /lib, the .so symlink continues to live /usr/lib so the
toolchain doesn't need to be modified.
2003-08-17 08:28:46 +00:00
ache
26ffc627d8
LANG->LC_ALL
...
Pointed by: ru
2003-08-04 21:31:53 +00:00
ache
eb68bb9971
Fix problem differently, use
...
LANG=C tr 'a-z' 'A-Z'
for hypotetical case that script may generate non-ascii characters
2003-08-04 15:24:06 +00:00
ache
3cc2a731d2
Fix double-wrong tr usage: tr '[a-z]' '[A-Z]'
...
First of all, it should be written as: tr 'a-z' 'A-Z'
ranges not encolosed in [] according to POSIX, so [] just included
in the replacement.
Second, it should be written: tr '[:lower:]' '[:upper:]'
since a-z and A-Z may have different length in some locales.
2003-08-04 14:10:33 +00:00
charnier
5a2f1bee21
The .Fn function
2003-02-06 11:25:03 +00:00
schweikh
d3367c5f5d
Correct typos, mostly s/ a / an / where appropriate. Some whitespace cleanup,
...
especially in troff files.
2003-01-01 18:49:04 +00:00
schweikh
86f7487fb6
Fix typos, mostly s/ an / a / where appropriate and a few s/an/and/
...
Add FreeBSD Id tag where missing.
2002-12-30 21:18:15 +00:00
schweikh
fec6546e12
english(4) police.
2002-12-27 12:15:40 +00:00
tjr
2d375c4af2
Write the strvis()'d string out to the history file in history_save(),
...
not the original string. Fixes the bug where every second line of a
history file was empty.
2002-10-14 10:42:38 +00:00
tjr
a803330bc2
FreeBSD's libedit does not include NetBSD's readline emulation code.
...
Remove references to it from the Authors and History sections.
2002-10-13 08:46:57 +00:00
peter
0a7f0ba37e
Zap now-unused SHLIB_MINOR
2002-09-28 00:25:32 +00:00
mdodd
2f995a0665
Restore local bits lost in recent merge from NetBSD.
2002-06-16 08:29:35 +00:00
des
4d6b787d2d
Usage style sweep: spell "usage" with a small 'u'.
...
Also change one case of blatant __progname abuse (several more remain)
This commit does not touch anything in src/{contrib,crypto,gnu}/.
2002-04-22 13:44:47 +00:00
ru
3f7981754a
-ltermcap is spelled -lncurses nowadays.
2002-04-09 13:04:31 +00:00
obrien
fd9d7ac0ed
Remove __P() usage.
2002-03-21 23:54:04 +00:00
obrien
6dc8ab99b2
Fix problem where with PicoBSD the shell coredumps if it does not find an
...
entry for its terminal type in /etc/termcap.
Submitted by: bde
2002-01-24 13:54:19 +00:00
ru
05f71d823e
mdoc(7) police: markup nit in the actual rev. 1.13 changes.
2001-11-21 15:56:45 +00:00
ru
a80cd2fcaf
mdoc(7) police: restore all FreeBSD fixes to this file that got
...
clobbered by previous commit.
2001-11-21 15:50:57 +00:00
obrien
90414d9ad1
Clean this up after the NetBSD syncing.
2001-10-01 23:10:48 +00:00
obrien
8b3bce34f5
Fix ID's after a total boch CVS merge due to multiple people making
...
commits to these files.
As I sing to CVS:
Have I told you lately that I hate your guts? Have I told you
all SCM's are above you? You fill my heart with pain, take away
all my merging joy, grow my troubles that's what you do."
2001-10-01 23:00:29 +00:00
obrien
0c753dc50e
Our histedit.h lives in src/include.
2001-10-01 21:08:03 +00:00
ru
7045e5a1bc
Re-applied some of rev. 1.11 and 1.13 fixes that were lost in the last commit.
...
Fixed some more.
2001-10-01 15:53:07 +00:00
obrien
90300f8536
+ Sync with NetBSD, bringing in feature enhancements.
...
+ Convert to ANSI-C function definitions
+ style(9)
Submitted by: kris
2001-10-01 08:41:27 +00:00
dillon
a42c99f236
Add __FBSDID()s to libedit
2001-09-30 21:21:36 +00:00
ru
80f060f0cf
mdoc(7) police: protect trailing full stops of abbreviations
...
with a trailing zero-width space: `e.g.\&'.
2001-08-10 13:45:36 +00:00
ru
4345758876
mdoc(7) police:
...
Avoid using parenthesis enclosure macros (.Pq and .Po/.Pc) with plain text.
Not only this slows down the mdoc(7) processing significantly, but it also
has an undesired (in this case) effect of disabling hyphenation within the
entire enclosed block.
2001-08-07 15:48:51 +00:00
dd
a145482cf6
Remove whitespace at EOL.
2001-07-15 07:53:42 +00:00
ru
317b7d8e37
mdoc(7) police: removed HISTORY info from the .Os call.
2001-07-10 13:41:46 +00:00
ache
4640eb1887
Back out history.3 link removing - conflict fixed in libreadline instead
2001-04-12 09:57:12 +00:00
ache
5838a80470
Comment out one of many editline.3 MLINKS conflicting with libreadline
...
(history.3)
2001-04-12 03:33:13 +00:00
ru
25ef23ac1c
MAN[1-9] -> MAN.
2001-03-27 17:27:19 +00:00
ru
8a6f8b5fe4
mdoc(7) police: split punctuation characters + misc fixes.
2001-02-01 16:38:02 +00:00
ru
3d8401c62e
Prepare for mdoc(7)NG.
2001-01-16 09:08:22 +00:00
kris
b64f677da6
Constify
2000-11-26 11:07:45 +00:00
ru
1a6c69e84a
log
2000-11-22 09:23:54 +00:00
brian
30148a4f5c
Include fcntl.h
...
PR: 21697
Submitted by: Barak Enat <barak_enat@yahoo.com>
2000-10-02 22:07:53 +00:00
ache
deb529993c
Teach library about Home/End keys
2000-07-28 00:42:54 +00:00
ache
29de399110
Fully preserve original tty settings outside of line edition mode. Old variant
...
preserve them only partially, so tty state becomes different after el_*
functions used.
PR: 20138
2000-07-28 00:07:40 +00:00
ache
027e13ee40
Move terminal descriptor flush before stty to eliminate potential problems
...
whith characters conversion changed like \n -> \r\n and so on.
2000-07-27 23:58:35 +00:00
ache
9e2aa6ae92
Fix temp. singnals blocking. Only one signal was blocked due to typo pasted
...
many times.
2000-07-26 23:46:28 +00:00
imp
7bb6980d51
<blush> I tested the real code changes, but neglected to test the
...
insertion of $FreeBSD$. I miffed it (pointy hat please). Hopefully
no one will notice this short window where -current didn't compile.
2000-05-22 06:01:31 +00:00
imp
b28a6e4dcf
Do not read editrc file from '.'. This can be as unsafe as having
...
. 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
2000-05-22 05:55:22 +00:00
imp
028d2de70c
Make comment match code forgotten in last commit
2000-05-22 05:51:09 +00:00
imp
8bd2e2f4e2
Add $FreeBSD$ so I can commit:
...
Remove extern int errno;. Instead include the ANSI <errno.h>. No
functional changes, just a higher level of pedantry.
2000-05-22 05:49:31 +00:00
phantom
e2900f45a9
Introduce .Lb macro to libedit manpage
2000-04-22 16:01:33 +00:00
marcel
72194a984c
Fix style bugs
...
Submitted by: bde
1999-10-03 10:41:40 +00:00
marcel
5bf7ce284b
sigset_t change (part 5 of 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.
1999-09-29 15:18:46 +00:00
peter
76f0c923fe
$Id$ -> $FreeBSD$
1999-08-28 00:22:10 +00:00
mdodd
533b3f7391
Fix MLINKS.
...
Noticed by: Norman C. Rice <nrice@emu.sourcee.com>
1999-08-20 17:37:22 +00:00
mdodd
b47bf1ab5f
Add 2 functions: el_data_set() and el_data_get() which do what you
...
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.
1999-08-20 01:17:12 +00:00
nik
f7a8bc4c04
Add $Id$, to make it simpler for members of the translation teams to
...
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
1999-07-12 20:50:10 +00:00
jdp
ffcc901f03
Switch to using ".So" as the extension for PIC object files rather
...
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.
1999-01-09 21:51:00 +00:00
dfr
58c069dc39
On the alpha, sizeof(char*) != sizeof(int) which was assumed in
...
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>
1998-11-30 10:12:03 +00:00
imp
bfe73fd683
Replace memory leaking instances of realloc with non-leaking reallocf.
...
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...
1998-09-16 04:17:47 +00:00
bde
8925ea450f
Fixed print format errors.
1998-06-30 18:03:05 +00:00
brian
a2d16c6974
Fixes assorted problems with the history edit functions in libedit. This
...
affects sh, ftp (and others?).
Submitted by: Max Euston <meuston@jmrodgers.com>
PR: 6516
1998-06-27 16:10:40 +00:00
phk
7a64d46ca3
Spelling fixes.
...
PR: 6903
Reviewed by: phk
Submitted by: Josh Gilliam <josh@quick.net>
1998-06-10 12:34:27 +00:00
jkoshy
0d7d76d982
Spelling corrections.
...
PR: 6868
Submitted by: Josh Gilliam <josh@quick.net>
1998-06-06 05:50:53 +00:00
jkh
a81d6775ec
Don't use absolute path.
...
Submitted by: jhay
1998-05-27 07:39:05 +00:00
charnier
79fc0e5555
.Sh AUTHOR -> .Sh AUTHORS. Use .An/.Aq
1998-03-19 07:34:22 +00:00
helbig
f98c0d7ba5
Don't swap carriage return and new line in quoted mode (after ^V).
1998-01-22 07:37:10 +00:00
bde
6e4ebaa163
Fixed wrong prototype for history().
...
Don't (mis)use .Fd outside of the synopsis.
1998-01-16 14:33:47 +00:00
wosch
8ee659dd96
Sort cross refereces in section SEE ALSO.
1997-09-29 19:11:55 +00:00
msmith
648817bf62
Improve dependancy behaviour a little more.
...
This is still pretty disgusting.
Submitted by: bde
1997-07-28 03:33:04 +00:00
msmith
2e6b2cf4d3
List help.h a a dependancy for editline.c
...
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.
1997-07-27 10:47:49 +00:00
msmith
0c9a90d609
Reorder decomposition of the filename argument for the '-h' flag to
...
avoid misprocessing in the case where the filename argument contains
more than one period.
Submitted by: micke@dynas.se (Mikael Hybsch)
1997-07-23 18:23:42 +00:00
jdp
b0cd70269b
Kill this file really dead. The default branch was cleared, even
...
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.
1997-07-15 16:45:50 +00:00
msmith
9e71915834
Fix vi-mode searching broken with the NetBSD changes update.
...
PR: bin/4064
Submitted by: Wolfgang Helbig <helbig@MX.BA-Stuttgart.De>
1997-07-14 13:21:08 +00:00
bde
4562d894e6
Kill histedit.h again. Importing Lite2 brought it back for some reason
...
(although it hasn't changed).
1997-07-03 04:15:01 +00:00
bde
c800b77e17
This commit was generated by cvs2svn to compensate for changes in r27180,
...
which included commits to RCS files with non-trunk default branches.
1997-07-03 03:28:27 +00:00
bde
e2f0a0f35c
Import Lite2's src/lib, except for non-i386 machine-dependent directories,
...
libc/db, libc/gen/crypt.* and libtelnet. All affected files except 3
unimportant ones have already left the vendor branch.
1997-07-03 03:28:27 +00:00
ache
21e75aae31
ctype: portability, sign extension and cleanup fixes
1997-06-27 11:50:56 +00:00
ache
189c9c5d47
Move editrc.5 from MAN3 to MAN5
1997-06-27 11:16:28 +00:00
msmith
087cba271c
Pull histedit.h out, it lives in /usr/src/include, not here.
1997-06-25 09:49:06 +00:00
msmith
47c54a3022
Add extra test functionality.
...
Obtained from: NetBSD
1997-06-25 08:14:45 +00:00
msmith
f4312c45dc
Update libedit with changes from NetBSD. Includes history load/save,
...
some buffer overflow guards and some stylistic cleanups.
Also adds manpages.
Obtained from: NetBSD
1997-06-25 08:14:24 +00:00
imp
c2a7cee0ee
Fix a minor buffer overflow.
...
Obtained from: BSDi by way of Keith Bostic
1997-03-23 23:17:22 +00:00
peter
14cbe8c569
Add missing DPADD, remove duplicate -ltermcap
1996-08-30 01:50:07 +00:00
ache
3c76730132
8bit cleaness (ctype) fixes
1996-08-11 19:20:30 +00:00
jkh
c4d4a99d31
General -Wall warning cleanup, part I.
...
Submitted-By: Kent Vander Velden <graphix@iastate.edu>
1996-07-12 18:57:58 +00:00
peter
9e723d65b3
recording cvs-1.6 file death
1995-12-30 19:02:48 +00:00
peter
c3f352d4ad
This commit was generated by cvs2svn to compensate for changes in r13122,
...
which included commits to RCS files with non-trunk default branches.
1995-12-30 19:02:48 +00:00