The NetBSD Project

CVS log for src/lib/libedit/editline.3

[BACK] Up to [cvs.NetBSD.org] / src / lib / libedit

Request diff between arbitrary revisions


Default branch: MAIN


Revision 1.102 / (download) - annotate - [select for diffs], Sun Feb 4 18:47:27 2024 UTC (2 months, 1 week ago) by andvar
Branch: MAIN
CVS Tags: HEAD
Changes since 1.101: +2 -2 lines
Diff to previous 1.101 (colored) to selected 1.80.4.1 (colored)

s/interrrupt/interrupt/ in comment and editline(3) man page.

Revision 1.101 / (download) - annotate - [select for diffs], Sun Aug 15 10:12:54 2021 UTC (2 years, 8 months ago) by wiz
Branch: MAIN
CVS Tags: netbsd-10-base, netbsd-10-0-RELEASE, netbsd-10-0-RC6, netbsd-10-0-RC5, netbsd-10-0-RC4, netbsd-10-0-RC3, netbsd-10-0-RC2, netbsd-10-0-RC1, netbsd-10
Changes since 1.100: +3 -3 lines
Diff to previous 1.100 (colored) to selected 1.80.4.1 (colored)

Add verb to sentence.

Revision 1.100 / (download) - annotate - [select for diffs], Sun Aug 15 10:08:41 2021 UTC (2 years, 8 months ago) by christos
Branch: MAIN
Changes since 1.99: +16 -2 lines
Diff to previous 1.99 (colored) to selected 1.80.4.1 (colored)

Disable attempts to handle EINTR and non-blocking I/O by default. It is
confusing to other programs and unexpected behavior. Reported by Ingo Schwarze.
This behavior is now controlled with EL_SAFEREAD.

Revision 1.98.4.1 / (download) - annotate - [select for diffs], Mon Jun 10 22:05:23 2019 UTC (4 years, 10 months ago) by christos
Branch: phil-wifi
Changes since 1.98: +2 -4 lines
Diff to previous 1.98 (colored) next main 1.99 (colored) to selected 1.80.4.1 (colored)

Sync with HEAD

Revision 1.98.2.1 / (download) - annotate - [select for diffs], Mon Nov 26 01:52:12 2018 UTC (5 years, 4 months ago) by pgoyette
Branch: pgoyette-compat
CVS Tags: pgoyette-compat-merge-20190127
Changes since 1.98: +2 -4 lines
Diff to previous 1.98 (colored) next main 1.99 (colored) to selected 1.80.4.1 (colored)

Sync with HEAD, resolve a couple of conflicts

Revision 1.99 / (download) - annotate - [select for diffs], Sun Nov 18 17:09:39 2018 UTC (5 years, 5 months ago) by christos
Branch: MAIN
CVS Tags: phil-wifi-20200421, phil-wifi-20200411, phil-wifi-20200406, phil-wifi-20191119, phil-wifi-20190609, pgoyette-compat-20190127, pgoyette-compat-20190118, pgoyette-compat-1226, pgoyette-compat-1126, netbsd-9-base, netbsd-9-3-RELEASE, netbsd-9-2-RELEASE, netbsd-9-1-RELEASE, netbsd-9-0-RELEASE, netbsd-9-0-RC2, netbsd-9-0-RC1, netbsd-9, is-mlppp-base, is-mlppp, cjep_sun2x-base1, cjep_sun2x-base, cjep_sun2x, cjep_staticlib_x-base1, cjep_staticlib_x-base, cjep_staticlib_x
Changes since 1.98: +2 -4 lines
Diff to previous 1.98 (colored) to selected 1.80.4.1 (colored)

Remove utf-8 requirement (Yuichiro NAITO)

Revision 1.98 / (download) - annotate - [select for diffs], Sat Sep 2 06:48:10 2017 UTC (6 years, 7 months ago) by wiz
Branch: MAIN
CVS Tags: phil-wifi-base, pgoyette-compat-base, pgoyette-compat-1020, pgoyette-compat-0930, pgoyette-compat-0906, pgoyette-compat-0728, pgoyette-compat-0625, pgoyette-compat-0521, pgoyette-compat-0502, pgoyette-compat-0422, pgoyette-compat-0415, pgoyette-compat-0407, pgoyette-compat-0330, pgoyette-compat-0322, pgoyette-compat-0315
Branch point for: phil-wifi, pgoyette-compat
Changes since 1.97: +3 -3 lines
Diff to previous 1.97 (colored) to selected 1.80.4.1 (colored)

Remove trailing whitespace; convert Xr readline to Nm readline, since
we won't get a readline man page in base.

Revision 1.97 / (download) - annotate - [select for diffs], Fri Sep 1 10:19:10 2017 UTC (6 years, 7 months ago) by christos
Branch: MAIN
Changes since 1.96: +9 -2 lines
Diff to previous 1.96 (colored) to selected 1.80.4.1 (colored)

PR/51517: Jay West: Tty settings not restored on exit
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.

Revision 1.93.4.1 / (download) - annotate - [select for diffs], Sun Jul 23 14:41:26 2017 UTC (6 years, 8 months ago) by snj
Branch: netbsd-8
CVS Tags: netbsd-8-2-RELEASE, netbsd-8-1-RELEASE, netbsd-8-1-RC1, netbsd-8-0-RELEASE, netbsd-8-0-RC2, netbsd-8-0-RC1, matt-nb8-mediatek-base, matt-nb8-mediatek
Changes since 1.93: +7 -3 lines
Diff to previous 1.93 (colored) next main 1.94 (colored) to selected 1.80.4.1 (colored)

Pull up following revision(s) (requested by kre in ticket #102):
	lib/libedit/Makefile: 1.64-1.65
	lib/libedit/editline.3: 1.94-1.96
	lib/libedit/editrc.5: 1.33
	lib/libedit/el.c: 1.93-1.94
	lib/libedit/el.h: 1.42
	lib/libedit/literal.c: 1.1-1.3
	lib/libedit/literal.h: 1.1-1.2
	lib/libedit/prompt.c: 1.27
	lib/libedit/read.c: 1.103
	lib/libedit/refresh.c: 1.52-1.54
	lib/libedit/refresh.h: 1.11
	lib/libedit/terminal.c: 1.33
Make the default editrc file be $EDITRC (from env) if set, falling back
to $HOME/.editrc otherwise.    Better support for this in sh coming.
--
Include EDITRC in doc.
--
mention the limitation of the literal sequence delimiter.
--
- handle literal escape sequence printing.
- factor out common code in allocation and freeing of the display.
--
- add literal sequence handling.
--
remove unused variable
--
add literal escape sequence support, patterned after the tcsh ones.
--
fix comment
--
Fix an obvious, but almost invisible typo (avoid some core dumps).
--
Allow wide characters (properly encoded as byte strings according to LC_CTYPE)
to be (perhaps part of) the "invisible" characters in a prompt, or the
required prompt character which follows the literal sequence (this character
must be one with a printing column width >= 1).  The literal indicator
character (which is just a marker, and not printed anywhere) (the PSlit
parameter in sh(1)) can also be a wide char (passed to libedit as a wchar_t,
encoded as that by sh(1) or other applications that support this.)
Note: this has currently only been tested with everything ascii (C locale).
--
Remove workaround for ancient HTML generation code.

Revision 1.96 / (download) - annotate - [select for diffs], Mon Jul 3 21:32:50 2017 UTC (6 years, 9 months ago) by wiz
Branch: MAIN
CVS Tags: perseant-stdc-iso10646-base, perseant-stdc-iso10646
Changes since 1.95: +2 -2 lines
Diff to previous 1.95 (colored) to selected 1.80.4.1 (colored)

Remove workaround for ancient HTML generation code.

Revision 1.95 / (download) - annotate - [select for diffs], Tue Jun 27 23:22:20 2017 UTC (6 years, 9 months ago) by christos
Branch: MAIN
Changes since 1.94: +4 -2 lines
Diff to previous 1.94 (colored) to selected 1.80.4.1 (colored)

mention the limitation of the literal sequence delimiter.

Revision 1.94 / (download) - annotate - [select for diffs], Tue Jun 27 01:22:58 2017 UTC (6 years, 9 months ago) by kre
Branch: MAIN
Changes since 1.93: +3 -1 lines
Diff to previous 1.93 (colored) to selected 1.80.4.1 (colored)


Include EDITRC in doc.

Revision 1.92.2.1 / (download) - annotate - [select for diffs], Wed Apr 26 02:52:55 2017 UTC (6 years, 11 months ago) by pgoyette
Branch: pgoyette-localcount
Changes since 1.92: +2 -2 lines
Diff to previous 1.92 (colored) next main 1.93 (colored) to selected 1.80.4.1 (colored)

Sync with HEAD

Revision 1.92.4.1 / (download) - annotate - [select for diffs], Fri Apr 21 16:53:10 2017 UTC (6 years, 11 months ago) by bouyer
Branch: bouyer-socketcan
Changes since 1.92: +2 -2 lines
Diff to previous 1.92 (colored) next main 1.93 (colored) to selected 1.80.4.1 (colored)

Sync with HEAD

Revision 1.93 / (download) - annotate - [select for diffs], Mon Apr 10 15:02:40 2017 UTC (7 years ago) by abhinav
Branch: MAIN
CVS Tags: prg-localcount2-base3, prg-localcount2-base2, prg-localcount2-base1, prg-localcount2-base, prg-localcount2, pgoyette-localcount-20170426, netbsd-8-base, bouyer-socketcan-base1
Branch point for: netbsd-8
Changes since 1.92: +2 -2 lines
Diff to previous 1.92 (colored) to selected 1.80.4.1 (colored)

Add missing argument for H_SET.

ok christos@

Revision 1.92 / (download) - annotate - [select for diffs], Sun May 22 23:54:20 2016 UTC (7 years, 10 months ago) by christos
Branch: MAIN
CVS Tags: pgoyette-localcount-base, pgoyette-localcount-20170320, pgoyette-localcount-20170107, pgoyette-localcount-20161104, pgoyette-localcount-20160806, pgoyette-localcount-20160726, localcount-20160914, bouyer-socketcan-base
Branch point for: pgoyette-localcount, bouyer-socketcan
Changes since 1.91: +23 -19 lines
Diff to previous 1.91 (colored) to selected 1.80.4.1 (colored)

documentation improvements (Ingo Schwarze)

Revision 1.91 / (download) - annotate - [select for diffs], Sat May 21 17:06:44 2016 UTC (7 years, 10 months ago) by christos
Branch: MAIN
Changes since 1.90: +36 -21 lines
Diff to previous 1.90 (colored) to selected 1.80.4.1 (colored)

Fix the prototype used by EL_GETCFN, mention the associated typedef
name, document the return values, expand the list of affected
functions, warn against using EL_GETCFN, and clarify some wording
and notation. (Ingo Schwarze)

Revision 1.90 / (download) - annotate - [select for diffs], Mon May 9 21:27:55 2016 UTC (7 years, 11 months ago) by christos
Branch: MAIN
Changes since 1.89: +4 -2 lines
Diff to previous 1.89 (colored) to selected 1.80.4.1 (colored)

GNU readline(3) regards history chronologically, that is, from the
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)

Revision 1.89 / (download) - annotate - [select for diffs], Thu Apr 28 15:50:33 2016 UTC (7 years, 11 months ago) by christos
Branch: MAIN
Changes since 1.88: +3 -2 lines
Diff to previous 1.88 (colored) to selected 1.80.4.1 (colored)

new man page from Ingo Schwarze.

Revision 1.88 / (download) - annotate - [select for diffs], Thu Feb 25 14:59:22 2016 UTC (8 years, 1 month ago) by wiz
Branch: MAIN
Changes since 1.87: +7 -7 lines
Diff to previous 1.87 (colored) to selected 1.80.4.1 (colored)

Use \- for minus sign, use Ev, use Er.

Revision 1.87 / (download) - annotate - [select for diffs], Wed Feb 24 19:45:48 2016 UTC (8 years, 1 month ago) by christos
Branch: MAIN
Changes since 1.86: +46 -8 lines
Diff to previous 1.86 (colored) to selected 1.80.4.1 (colored)

Fix el_{w,}getc documentation (Ingo Schwarze)

Revision 1.86 / (download) - annotate - [select for diffs], Wed Feb 24 18:28:54 2016 UTC (8 years, 1 month ago) by christos
Branch: MAIN
Changes since 1.85: +6 -6 lines
Diff to previous 1.85 (colored) to selected 1.80.4.1 (colored)

Fixes from OpenBSD via Ingo Schwarze:
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)

Revision 1.85 / (download) - annotate - [select for diffs], Tue Nov 3 21:36:59 2015 UTC (8 years, 5 months ago) by christos
Branch: MAIN
Changes since 1.84: +34 -27 lines
Diff to previous 1.84 (colored) to selected 1.80.4.1 (colored)

Fix descriptions of el_set functions.
Americanise initialise :-)

Revision 1.82.2.1 / (download) - annotate - [select for diffs], Wed May 13 13:33:55 2015 UTC (8 years, 11 months ago) by martin
Branch: netbsd-7
CVS Tags: netbsd-7-nhusb-base-20170116, netbsd-7-nhusb-base, netbsd-7-nhusb, netbsd-7-2-RELEASE, netbsd-7-1-RELEASE, netbsd-7-1-RC2, netbsd-7-1-RC1, netbsd-7-1-2-RELEASE, netbsd-7-1-1-RELEASE, netbsd-7-1, netbsd-7-0-RELEASE, netbsd-7-0-RC3, netbsd-7-0-RC2, netbsd-7-0-RC1, netbsd-7-0-2-RELEASE, netbsd-7-0-1-RELEASE, netbsd-7-0
Changes since 1.82: +13 -6 lines
Diff to previous 1.82 (colored) next main 1.83 (colored) to selected 1.80.4.1 (colored)

Sync lib/libedit with head, requested by christos in #753:

	lib/libedit/Makefile 1.53
	lib/libedit/chartype.h 1.13
	lib/libedit/editline.3 1.83-1.84
	lib/libedit/editrc.5 1.28-1.29
	lib/libedit/eln.c 1.18
	lib/libedit/filecomplete.c 1.33-1.34
	lib/libedit/readline.c 1.112-1.115

Man page improvements, fix overlapping strcpy, improve readline
compatibility, clang build fix.

Revision 1.84 / (download) - annotate - [select for diffs], Thu Dec 25 13:39:41 2014 UTC (9 years, 3 months ago) by wiz
Branch: MAIN
Changes since 1.83: +2 -2 lines
Diff to previous 1.83 (colored) to selected 1.80.4.1 (colored)

Bump date for previous.

Revision 1.83 / (download) - annotate - [select for diffs], Thu Dec 25 13:39:05 2014 UTC (9 years, 3 months ago) by wiz
Branch: MAIN
Changes since 1.82: +12 -5 lines
Diff to previous 1.82 (colored) to selected 1.80.4.1 (colored)

From Ingo Schwarze, based on changes from Kaspars Bankovskis:
 * 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.

Revision 1.77.2.2 / (download) - annotate - [select for diffs], Wed Aug 20 00:02:17 2014 UTC (9 years, 8 months ago) by tls
Branch: tls-maxphys
Changes since 1.77.2.1: +27 -7 lines
Diff to previous 1.77.2.1 (colored) to branchpoint 1.77 (colored) next main 1.78 (colored) to selected 1.80.4.1 (colored)

Rebase to HEAD as of a few days ago.

Revision 1.80.4.1 / (download) - annotate - [selected], Sun Aug 10 06:51:57 2014 UTC (9 years, 8 months ago) by tls
Branch: tls-earlyentropy
Changes since 1.80: +17 -7 lines
Diff to previous 1.80 (colored) next main 1.81 (colored)

Rebase.

Revision 1.75.4.3 / (download) - annotate - [select for diffs], Thu May 22 11:36:55 2014 UTC (9 years, 10 months ago) by yamt
Branch: yamt-pagecache
Changes since 1.75.4.2: +42 -8 lines
Diff to previous 1.75.4.2 (colored) to branchpoint 1.75 (colored) next main 1.76 (colored) to selected 1.80.4.1 (colored)

sync with head.

for a reference, the tree before this commit was tagged
as yamt-pagecache-tag8.

this commit was splitted into small chunks to avoid
a limitation of cvs.  ("Protocol error: too many arguments")

Revision 1.82 / (download) - annotate - [select for diffs], Sun May 11 09:01:42 2014 UTC (9 years, 11 months ago) by wiz
Branch: MAIN
CVS Tags: yamt-pagecache-base9, tls-maxphys-base, tls-earlyentropy-base, netbsd-7-base
Branch point for: netbsd-7
Changes since 1.81: +12 -7 lines
Diff to previous 1.81 (colored) to selected 1.80.4.1 (colored)

Add An to authors. Wording.

Revision 1.81 / (download) - annotate - [select for diffs], Sun May 11 01:05:17 2014 UTC (9 years, 11 months ago) by christos
Branch: MAIN
Changes since 1.80: +8 -3 lines
Diff to previous 1.80 (colored) to selected 1.80.4.1 (colored)

Add a history function that takes a FILE pointer; needed for Capsicum.
From Eitan Adler

Revision 1.80 / (download) - annotate - [select for diffs], Fri Jul 12 17:48:29 2013 UTC (10 years, 9 months ago) by christos
Branch: MAIN
CVS Tags: riastradh-xf86-video-intel-2-7-1-pre-2-21-15, riastradh-drm2-base3, riastradh-drm2-base2, riastradh-drm2-base1, riastradh-drm2-base, riastradh-drm2
Branch point for: tls-earlyentropy
Changes since 1.79: +12 -2 lines
Diff to previous 1.79 (colored) to selected 1.80.4.1 (colored)

Add a function to move the cursor.

Revision 1.77.2.1 / (download) - annotate - [select for diffs], Mon Feb 25 00:27:56 2013 UTC (11 years, 1 month ago) by tls
Branch: tls-maxphys
Changes since 1.77: +18 -6 lines
Diff to previous 1.77 (colored) to selected 1.80.4.1 (colored)

resync with head

Revision 1.75.4.2 / (download) - annotate - [select for diffs], Wed Jan 23 00:05:24 2013 UTC (11 years, 2 months ago) by yamt
Branch: yamt-pagecache
CVS Tags: yamt-pagecache-tag8
Changes since 1.75.4.1: +3 -5 lines
Diff to previous 1.75.4.1 (colored) to branchpoint 1.75 (colored) to selected 1.80.4.1 (colored)

sync with head

Revision 1.79 / (download) - annotate - [select for diffs], Tue Jan 22 20:23:21 2013 UTC (11 years, 2 months ago) by christos
Branch: MAIN
CVS Tags: agc-symver-base, agc-symver
Changes since 1.78: +17 -3 lines
Diff to previous 1.78 (colored) to selected 1.80.4.1 (colored)

provide an el_init_fd function.

Revision 1.78 / (download) - annotate - [select for diffs], Thu Jan 10 16:03:06 2013 UTC (11 years, 3 months ago) by wiz
Branch: MAIN
CVS Tags: yamt-pagecache-base8
Changes since 1.77: +3 -5 lines
Diff to previous 1.77 (colored) to selected 1.80.4.1 (colored)

In 2000, .editrc reading from $PWD was removed. Update the man page.
From LEVAI Daniel via jmc@OpenBSD.

Revision 1.75.4.1 / (download) - annotate - [select for diffs], Tue Oct 30 18:59:09 2012 UTC (11 years, 5 months ago) by yamt
Branch: yamt-pagecache
Changes since 1.75: +15 -7 lines
Diff to previous 1.75 (colored) to selected 1.80.4.1 (colored)

sync with head

Revision 1.77 / (download) - annotate - [select for diffs], Tue Sep 11 20:29:58 2012 UTC (11 years, 7 months ago) by christos
Branch: MAIN
CVS Tags: yamt-pagecache-base7, yamt-pagecache-base6
Branch point for: tls-maxphys
Changes since 1.76: +5 -2 lines
Diff to previous 1.76 (colored) to selected 1.80.4.1 (colored)

PR/46945: Steffen Nurpmeso; el_getc() doesn't document it's setting errno

Revision 1.76 / (download) - annotate - [select for diffs], Tue Sep 11 11:57:18 2012 UTC (11 years, 7 months ago) by christos
Branch: MAIN
Changes since 1.75: +11 -6 lines
Diff to previous 1.75 (colored) to selected 1.80.4.1 (colored)

PR/46941: Steffen Nurpmeso: document EL_BUFFERED

Revision 1.74.2.1 / (download) - annotate - [select for diffs], Sat Mar 5 15:09:21 2011 UTC (13 years, 1 month ago) by bouyer
Branch: bouyer-quota2
Changes since 1.74: +3 -3 lines
Diff to previous 1.74 (colored) next main 1.75 (colored) to selected 1.80.4.1 (colored)

Sync with HEAD

Revision 1.75 / (download) - annotate - [select for diffs], Sun Feb 27 01:51:37 2011 UTC (13 years, 1 month ago) by christos
Branch: MAIN
CVS Tags: yamt-pagecache-base5, yamt-pagecache-base4, yamt-pagecache-base3, yamt-pagecache-base2, yamt-pagecache-base, netbsd-6-base, netbsd-6-1-RELEASE, netbsd-6-1-RC4, netbsd-6-1-RC3, netbsd-6-1-RC2, netbsd-6-1-RC1, netbsd-6-1-5-RELEASE, netbsd-6-1-4-RELEASE, netbsd-6-1-3-RELEASE, netbsd-6-1-2-RELEASE, netbsd-6-1-1-RELEASE, netbsd-6-1, netbsd-6-0-RELEASE, netbsd-6-0-RC2, netbsd-6-0-RC1, netbsd-6-0-6-RELEASE, netbsd-6-0-5-RELEASE, netbsd-6-0-4-RELEASE, netbsd-6-0-3-RELEASE, netbsd-6-0-2-RELEASE, netbsd-6-0-1-RELEASE, netbsd-6-0, netbsd-6, matt-nb6-plus-nbase, matt-nb6-plus-base, matt-nb6-plus, cherry-xenmp-base, cherry-xenmp, bouyer-quota2-nbase
Branch point for: yamt-pagecache
Changes since 1.74: +3 -3 lines
Diff to previous 1.74 (colored) to selected 1.80.4.1 (colored)

Fix argument for EL_EDITOR from Jess Thrysoee

Revision 1.74 / (download) - annotate - [select for diffs], Thu Dec 16 17:42:28 2010 UTC (13 years, 4 months ago) by wiz
Branch: MAIN
CVS Tags: matt-mips64-premerge-20101231, bouyer-quota2-base
Branch point for: bouyer-quota2
Changes since 1.73: +3 -3 lines
Diff to previous 1.73 (colored) to selected 1.80.4.1 (colored)

Observe the following spelling:
- wide character (noun)
- wide-character (adjective)

Inspired by jmc@OpenBSD.

Revision 1.73 / (download) - annotate - [select for diffs], Sun Jan 3 19:05:26 2010 UTC (14 years, 3 months ago) by wiz
Branch: MAIN
Changes since 1.72: +2 -2 lines
Diff to previous 1.72 (colored) to selected 1.80.4.1 (colored)

Bump date for historyw -> history_w.

Revision 1.72 / (download) - annotate - [select for diffs], Sun Jan 3 18:27:10 2010 UTC (14 years, 3 months ago) by christos
Branch: MAIN
Changes since 1.71: +3 -3 lines
Diff to previous 1.71 (colored) to selected 1.80.4.1 (colored)

rename historyw -> history_w for consistency.
add wide tst code and make it the default.

Revision 1.71 / (download) - annotate - [select for diffs], Thu Dec 31 15:58:26 2009 UTC (14 years, 3 months ago) by christos
Branch: MAIN
Changes since 1.70: +55 -2 lines
Diff to previous 1.70 (colored) to selected 1.80.4.1 (colored)

- Document and enable wide character support.
- Fix read function compatibility.

Revision 1.70 / (download) - annotate - [select for diffs], Sun Jul 5 21:55:24 2009 UTC (14 years, 9 months ago) by perry
Branch: MAIN
CVS Tags: matt-premerge-20091211
Changes since 1.69: +5 -2 lines
Diff to previous 1.69 (colored) to selected 1.80.4.1 (colored)

note that the return value of el_gets doesn't remain valid across
calls.

Revision 1.57.8.1 / (download) - annotate - [select for diffs], Wed May 13 19:18:29 2009 UTC (14 years, 11 months ago) by jym
Branch: jym-xensuspend
Changes since 1.57: +60 -55 lines
Diff to previous 1.57 (colored) next main 1.58 (colored) to selected 1.80.4.1 (colored)

Sync with HEAD.

Third (and last) commit. See http://mail-index.netbsd.org/source-changes/2009/05/13/msg221222.html

Revision 1.69 / (download) - annotate - [select for diffs], Tue May 12 08:14:07 2009 UTC (14 years, 11 months ago) by wiz
Branch: MAIN
CVS Tags: jym-xensuspend-nbase, jym-xensuspend-base
Changes since 1.68: +2 -2 lines
Diff to previous 1.68 (colored) to selected 1.80.4.1 (colored)

Punctuation nit.

Revision 1.68 / (download) - annotate - [select for diffs], Mon May 11 18:33:30 2009 UTC (14 years, 11 months ago) by christos
Branch: MAIN
Changes since 1.67: +9 -4 lines
Diff to previous 1.67 (colored) to selected 1.80.4.1 (colored)

restore binary compatibility by providing new prompt functions that take
an extra literal character.

Revision 1.67 / (download) - annotate - [select for diffs], Sat Apr 11 20:48:26 2009 UTC (15 years ago) by joerg
Branch: MAIN
Changes since 1.66: +15 -47 lines
Diff to previous 1.66 (colored) to selected 1.80.4.1 (colored)

Don't use .Xo/.Xc to avoid ancient macro argument limit.

Revision 1.66 / (download) - annotate - [select for diffs], Wed Apr 1 08:58:47 2009 UTC (15 years ago) by wiz
Branch: MAIN
Changes since 1.65: +5 -4 lines
Diff to previous 1.65 (colored) to selected 1.80.4.1 (colored)

Readability improvement. Whitespace nits.

Revision 1.65 / (download) - annotate - [select for diffs], Tue Mar 31 17:38:27 2009 UTC (15 years ago) by christos
Branch: MAIN
Changes since 1.64: +31 -7 lines
Diff to previous 1.64 (colored) to selected 1.80.4.1 (colored)

Implement literal prompt sequences. Now someone can implement
RL_PROMPT_START_LITERAL/RL_PROMPT_END_LITERAL :-)

Revision 1.64 / (download) - annotate - [select for diffs], Tue Mar 10 22:55:14 2009 UTC (15 years, 1 month ago) by wiz
Branch: MAIN
Changes since 1.63: +2 -4 lines
Diff to previous 1.63 (colored) to selected 1.80.4.1 (colored)

-1 is not a defined value, it is just a value.
On the other hand, minuses need backslashes, otherwise they become hyphens.

Revision 1.63 / (download) - annotate - [select for diffs], Tue Mar 10 20:46:15 2009 UTC (15 years, 1 month ago) by christos
Branch: MAIN
Changes since 1.62: +9 -2 lines
Diff to previous 1.62 (colored) to selected 1.80.4.1 (colored)

make el_gets set the count to -1 on error to distinguish between EOF and
error.

Revision 1.62 / (download) - annotate - [select for diffs], Mon Mar 9 19:24:27 2009 UTC (15 years, 1 month ago) by joerg
Branch: MAIN
Changes since 1.61: +2 -2 lines
Diff to previous 1.61 (colored) to selected 1.80.4.1 (colored)

Fix preamble to match order set out by mdoc(7). Discussed with wiz.

Revision 1.61 / (download) - annotate - [select for diffs], Sat Feb 21 07:58:58 2009 UTC (15 years, 1 month ago) by wiz
Branch: MAIN
Changes since 1.60: +5 -3 lines
Diff to previous 1.60 (colored) to selected 1.80.4.1 (colored)

Restore markup changes (probably accidentally) reverted in previous.

Revision 1.60 / (download) - annotate - [select for diffs], Sat Feb 21 00:05:23 2009 UTC (15 years, 2 months ago) by christos
Branch: MAIN
Changes since 1.59: +5 -11 lines
Diff to previous 1.59 (colored) to selected 1.80.4.1 (colored)

back out all prompt changes. they are not needed.

Revision 1.59 / (download) - annotate - [select for diffs], Thu Feb 19 09:48:08 2009 UTC (15 years, 2 months ago) by wiz
Branch: MAIN
Changes since 1.58: +6 -4 lines
Diff to previous 1.58 (colored) to selected 1.80.4.1 (colored)

Fix wordo, use more markup.

Revision 1.58 / (download) - annotate - [select for diffs], Thu Feb 19 01:18:02 2009 UTC (15 years, 2 months ago) by christos
Branch: MAIN
Changes since 1.57: +7 -3 lines
Diff to previous 1.57 (colored) to selected 1.80.4.1 (colored)

document extra argument.

Revision 1.56.2.1 / (download) - annotate - [select for diffs], Sun May 18 12:30:35 2008 UTC (15 years, 11 months ago) by yamt
Branch: yamt-pf42
Changes since 1.56: +1 -4 lines
Diff to previous 1.56 (colored) next main 1.57 (colored) to selected 1.80.4.1 (colored)

sync with head.

Revision 1.57 / (download) - annotate - [select for diffs], Wed Apr 30 13:10:51 2008 UTC (15 years, 11 months ago) by martin
Branch: MAIN
CVS Tags: yamt-pf42-base4, yamt-pf42-base3, yamt-pf42-base2, wrstuden-revivesa-base-3, wrstuden-revivesa-base-2, wrstuden-revivesa-base-1, wrstuden-revivesa-base, wrstuden-revivesa, netbsd-5-base, netbsd-5-2-RELEASE, netbsd-5-2-RC1, netbsd-5-2-3-RELEASE, netbsd-5-2-2-RELEASE, netbsd-5-2-1-RELEASE, netbsd-5-2, netbsd-5-1-RELEASE, netbsd-5-1-RC4, netbsd-5-1-RC3, netbsd-5-1-RC2, netbsd-5-1-RC1, netbsd-5-1-5-RELEASE, netbsd-5-1-4-RELEASE, netbsd-5-1-3-RELEASE, netbsd-5-1-2-RELEASE, netbsd-5-1-1-RELEASE, netbsd-5-1, netbsd-5-0-RELEASE, netbsd-5-0-RC4, netbsd-5-0-RC3, netbsd-5-0-RC2, netbsd-5-0-RC1, netbsd-5-0-2-RELEASE, netbsd-5-0-1-RELEASE, netbsd-5-0, netbsd-5, matt-nb5-pq3-base, matt-nb5-pq3, matt-nb5-mips64-u2-k2-k4-k7-k8-k9, matt-nb5-mips64-u1-k1-k5, matt-nb5-mips64-premerge-20101231, matt-nb5-mips64-premerge-20091211, matt-nb5-mips64-k15, matt-nb5-mips64, matt-nb4-mips64-k7-u2a-k9b, matt-mips64-base2, hpcarm-cleanup-nbase
Branch point for: jym-xensuspend
Changes since 1.56: +1 -4 lines
Diff to previous 1.56 (colored) to selected 1.80.4.1 (colored)

Convert TNF licenses to new 2 clause variant

Revision 1.56 / (download) - annotate - [select for diffs], Sat Apr 5 15:53:28 2008 UTC (16 years ago) by christos
Branch: MAIN
CVS Tags: yamt-pf42-baseX, yamt-pf42-base
Branch point for: yamt-pf42
Changes since 1.55: +4 -2 lines
Diff to previous 1.55 (colored) to selected 1.80.4.1 (colored)

add EL_REFRESH for the benefit of readline

Revision 1.55 / (download) - annotate - [select for diffs], Fri Jan 12 16:31:13 2007 UTC (17 years, 3 months ago) by christos
Branch: MAIN
CVS Tags: matt-mips64-base, matt-mips64, matt-armv6-prevmlocking, matt-armv6-nbase, matt-armv6-base, matt-armv6, keiichi-mipv6-base, keiichi-mipv6, hpcarm-cleanup-base, hpcarm-cleanup, cube-autoconf-base, cube-autoconf
Changes since 1.54: +4 -4 lines
Diff to previous 1.54 (colored) to selected 1.80.4.1 (colored)

PR/35411: Matthew Wala: inconsistency in editline(3): rename "num" to the
appropriate parameter names.

Revision 1.54 / (download) - annotate - [select for diffs], Mon Dec 18 00:03:43 2006 UTC (17 years, 4 months ago) by wiz
Branch: MAIN
Changes since 1.53: +20 -19 lines
Diff to previous 1.53 (colored) to selected 1.80.4.1 (colored)

Fix xref section. Whitespace cleanups..

Revision 1.53 / (download) - annotate - [select for diffs], Fri Dec 15 22:13:33 2006 UTC (17 years, 4 months ago) by christos
Branch: MAIN
Changes since 1.52: +40 -2 lines
Diff to previous 1.52 (colored) to selected 1.80.4.1 (colored)

add EL_GETFP, and EL_SETFP.

Revision 1.52 / (download) - annotate - [select for diffs], Fri Nov 24 00:01:17 2006 UTC (17 years, 4 months ago) by christos
Branch: MAIN
CVS Tags: wrstuden-fixsa-newbase, wrstuden-fixsa-base-1, wrstuden-fixsa-base, wrstuden-fixsa, netbsd-4-base, netbsd-4-0-RELEASE, netbsd-4-0-RC5, netbsd-4-0-RC4, netbsd-4-0-RC3, netbsd-4-0-RC2, netbsd-4-0-RC1, netbsd-4-0-1-RELEASE, netbsd-4-0, netbsd-4
Changes since 1.51: +12 -3 lines
Diff to previous 1.51 (colored) to selected 1.80.4.1 (colored)

- Add more readline functions, enough for gdb-6.5
- Make el_get varyadic, and implement EL_GETTC.
- XXX: the EL_SETTC api will change in the future.

Revision 1.51 / (download) - annotate - [select for diffs], Mon Aug 21 12:45:30 2006 UTC (17 years, 8 months ago) by christos
Branch: MAIN
Changes since 1.50: +2 -6 lines
Diff to previous 1.50 (colored) to selected 1.80.4.1 (colored)

Change to a 3 clause copyright after permission of the holders.

Revision 1.50 / (download) - annotate - [select for diffs], Wed Oct 12 09:29:43 2005 UTC (18 years, 6 months ago) by wiz
Branch: MAIN
CVS Tags: abandoned-netbsd-4-base, abandoned-netbsd-4
Changes since 1.49: +2 -1 lines
Diff to previous 1.49 (colored) to selected 1.80.4.1 (colored)

Add el_get to SYNOPSIS. From jmc@openbsd.

Revision 1.49 / (download) - annotate - [select for diffs], Fri Sep 9 22:32:56 2005 UTC (18 years, 7 months ago) by wiz
Branch: MAIN
Changes since 1.48: +6 -6 lines
Diff to previous 1.48 (colored) to selected 1.80.4.1 (colored)

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.

Revision 1.48 / (download) - annotate - [select for diffs], Thu Jul 14 15:02:37 2005 UTC (18 years, 9 months ago) by wiz
Branch: MAIN
Changes since 1.47: +2 -2 lines
Diff to previous 1.47 (colored) to selected 1.80.4.1 (colored)

Drop trailing whitespace.

Revision 1.47 / (download) - annotate - [select for diffs], Thu Jul 14 15:00:58 2005 UTC (18 years, 9 months ago) by christos
Branch: MAIN
Changes since 1.46: +10 -2 lines
Diff to previous 1.46 (colored) to selected 1.80.4.1 (colored)

PR/30747: David N. Williams: libedit is missing remove_history()
Added, please test.

Revision 1.46 / (download) - annotate - [select for diffs], Sat Mar 19 17:36:02 2005 UTC (19 years, 1 month ago) by christos
Branch: MAIN
Changes since 1.45: +4 -4 lines
Diff to previous 1.45 (colored) to selected 1.80.4.1 (colored)

PR/29738: Rui Paulo: Incorrect tok_line and tok_str declarations.

Revision 1.45 / (download) - annotate - [select for diffs], Thu Apr 15 08:13:29 2004 UTC (20 years ago) by wiz
Branch: MAIN
CVS Tags: netbsd-3-base, netbsd-3-1-RELEASE, netbsd-3-1-RC4, netbsd-3-1-RC3, netbsd-3-1-RC2, netbsd-3-1-RC1, netbsd-3-1-1-RELEASE, netbsd-3-1, netbsd-3-0-RELEASE, netbsd-3-0-RC6, netbsd-3-0-RC5, netbsd-3-0-RC4, netbsd-3-0-RC3, netbsd-3-0-RC2, netbsd-3-0-RC1, netbsd-3-0-3-RELEASE, netbsd-3-0-2-RELEASE, netbsd-3-0-1-RELEASE, netbsd-3-0, netbsd-3
Changes since 1.44: +2 -2 lines
Diff to previous 1.44 (colored) to selected 1.80.4.1 (colored)

Remove duplicate word, from jfb@openbsd via jmc@openbsd.

Revision 1.44 / (download) - annotate - [select for diffs], Fri Dec 5 13:46:39 2003 UTC (20 years, 4 months ago) by wiz
Branch: MAIN
CVS Tags: netbsd-2-base, netbsd-2-1-RELEASE, netbsd-2-1-RC6, netbsd-2-1-RC5, netbsd-2-1-RC4, netbsd-2-1-RC3, netbsd-2-1-RC2, netbsd-2-1-RC1, netbsd-2-1, netbsd-2-0-base, netbsd-2-0-RELEASE, netbsd-2-0-RC5, netbsd-2-0-RC4, netbsd-2-0-RC3, netbsd-2-0-RC2, netbsd-2-0-RC1, netbsd-2-0-3-RELEASE, netbsd-2-0-2-RELEASE, netbsd-2-0-1-RELEASE, netbsd-2-0, netbsd-2
Changes since 1.43: +10 -5 lines
Diff to previous 1.43 (colored) to selected 1.80.4.1 (colored)

Use Aq instead of <>, quote a minus, drop trailing space.

Revision 1.43 / (download) - annotate - [select for diffs], Fri Dec 5 13:37:48 2003 UTC (20 years, 4 months ago) by lukem
Branch: MAIN
Changes since 1.42: +98 -9 lines
Diff to previous 1.42 (colored) to selected 1.80.4.1 (colored)

Tokenization function enhancements:
* Make tok_init(), tok_end(), tok_reset(), tok_line() and tok_str()
  publically available in <histedit.h>
* Documented the public functions in editline(3)
* Renamed tok_line() -> tok_str()
* Added new tok_line() which takes a "const LineInfo *" instead of
  "const char *" (the former has "cursor" information), and optionally
  return the argv index ("int *cursorc") and offset within that index
  ("int *cursorv").  This means that completion routines can use the
  tokenization code to crack the line and easily find which word the
  cursor is at.  (mmm, context sensitive completion :)
* Fixed TEST/test.c when using "continuation" lines (unmatched quote
  or \ at EOL), and added some more DEBUG messages including highlighting
  where the cursor is (with a `_').

Revision 1.42 / (download) - annotate - [select for diffs], Tue Nov 4 13:22:19 2003 UTC (20 years, 5 months ago) by christos
Branch: MAIN
Changes since 1.41: +2 -2 lines
Diff to previous 1.41 (colored) to selected 1.80.4.1 (colored)

s/wth/with/

Revision 1.41 / (download) - annotate - [select for diffs], Sat Nov 1 23:37:30 2003 UTC (20 years, 5 months ago) by christos
Branch: MAIN
Changes since 1.40: +6 -2 lines
Diff to previous 1.40 (colored) to selected 1.80.4.1 (colored)

Explain H_ADD better. from Otto Moerbeek otto at drijf dot net

Revision 1.40 / (download) - annotate - [select for diffs], Fri Oct 17 15:33:23 2003 UTC (20 years, 6 months ago) by wiz
Branch: MAIN
Changes since 1.39: +3 -3 lines
Diff to previous 1.39 (colored) to selected 1.80.4.1 (colored)

Bump date for previous. Replace > with \*[Gt].

Revision 1.39 / (download) - annotate - [select for diffs], Thu Oct 16 22:26:32 2003 UTC (20 years, 6 months ago) by christos
Branch: MAIN
Changes since 1.38: +3 -1 lines
Diff to previous 1.38 (colored) to selected 1.80.4.1 (colored)

More libedit readline emulation functions from: Gerry Swislow
<gerry at certif dot com>

Revision 1.38 / (download) - annotate - [select for diffs], Fri Sep 26 21:09:13 2003 UTC (20 years, 6 months ago) by wiz
Branch: MAIN
Changes since 1.37: +4 -3 lines
Diff to previous 1.37 (colored) to selected 1.80.4.1 (colored)

New sentence, new line; bump date for previous.

Revision 1.37 / (download) - annotate - [select for diffs], Fri Sep 26 17:44:51 2003 UTC (20 years, 6 months ago) by christos
Branch: MAIN
Changes since 1.36: +5 -1 lines
Diff to previous 1.36 (colored) to selected 1.80.4.1 (colored)

Implement enough of readline's 4.0 async mode to make gdb happy. This is
not complete yet, but it seems to work...
This required to introduce an unbuffered mode to el_gets(), but that was
a minor change.

Revision 1.36 / (download) - annotate - [select for diffs], Wed Jul 16 11:54:44 2003 UTC (20 years, 9 months ago) by wiz
Branch: MAIN
Changes since 1.35: +2 -2 lines
Diff to previous 1.35 (colored) to selected 1.80.4.1 (colored)

Bump date for last.

Revision 1.35 / (download) - annotate - [select for diffs], Mon Jul 14 22:36:22 2003 UTC (20 years, 9 months ago) by jeremy
Branch: MAIN
Changes since 1.34: +2 -1 lines
Diff to previous 1.34 (colored) to selected 1.80.4.1 (colored)

Documented the return values from el_get().

Revision 1.34 / (download) - annotate - [select for diffs], Fri Jun 6 13:33:17 2003 UTC (20 years, 10 months ago) by wiz
Branch: MAIN
Changes since 1.33: +2 -2 lines
Diff to previous 1.33 (colored) to selected 1.80.4.1 (colored)

Use Aq Pa instead of Fd \*[Lt]...\*[Gt]. From jmc@openbsd.

Revision 1.33 / (download) - annotate - [select for diffs], Wed Apr 16 13:35:02 2003 UTC (21 years ago) by wiz
Branch: MAIN
Changes since 1.32: +2 -2 lines
Diff to previous 1.32 (colored) to selected 1.80.4.1 (colored)

Use
.In header.h
instead of
.Fd #include \*[Lt]header.h\*[Gt]
Much easier to read and write, and supported by groff for ages.
Okayed by ross.

Revision 1.32 / (download) - annotate - [select for diffs], Tue Feb 25 10:34:48 2003 UTC (21 years, 1 month ago) by wiz
Branch: MAIN
Changes since 1.31: +2 -2 lines
Diff to previous 1.31 (colored) to selected 1.80.4.1 (colored)

.Nm does not need a dummy argument ("") before punctuation or
for correct formatting of the SYNOPSIS any longer.

Revision 1.31 / (download) - annotate - [select for diffs], Tue Jan 21 23:00:56 2003 UTC (21 years, 3 months ago) by wiz
Branch: MAIN
Changes since 1.30: +9 -9 lines
Diff to previous 1.30 (colored) to selected 1.80.4.1 (colored)

Replace -1 with \-1 for PostScript output; drop a trailing space and fix two typos.

Revision 1.30 / (download) - annotate - [select for diffs], Tue Jan 21 18:40:23 2003 UTC (21 years, 3 months ago) by christos
Branch: MAIN
Changes since 1.29: +19 -2 lines
Diff to previous 1.29 (colored) to selected 1.80.4.1 (colored)

Add a uniquefier for the history function.

Revision 1.29 / (download) - annotate - [select for diffs], Tue Oct 1 19:06:45 2002 UTC (21 years, 6 months ago) by wiz
Branch: MAIN
CVS Tags: fvdl_fs64_base
Changes since 1.28: +5 -4 lines
Diff to previous 1.28 (colored) to selected 1.80.4.1 (colored)

New sentence, new line. From Robert Elz.

Revision 1.28 / (download) - annotate - [select for diffs], Sun Aug 18 07:23:21 2002 UTC (21 years, 8 months ago) by yamt
Branch: MAIN
Changes since 1.27: +3 -3 lines
Diff to previous 1.27 (colored) to selected 1.80.4.1 (colored)

reflect reality.
(3rd arg of el_parse is const.)

Revision 1.27 / (download) - annotate - [select for diffs], Wed Feb 20 11:54:16 2002 UTC (22 years, 2 months ago) by wiz
Branch: MAIN
CVS Tags: netbsd-1-6-base, netbsd-1-6-RELEASE, netbsd-1-6-RC3, netbsd-1-6-RC2, netbsd-1-6-RC1, netbsd-1-6-PATCH002-RELEASE, netbsd-1-6-PATCH002-RC4, netbsd-1-6-PATCH002-RC3, netbsd-1-6-PATCH002-RC2, netbsd-1-6-PATCH002-RC1, netbsd-1-6-PATCH002, netbsd-1-6-PATCH001-RELEASE, netbsd-1-6-PATCH001-RC3, netbsd-1-6-PATCH001-RC2, netbsd-1-6-PATCH001-RC1, netbsd-1-6-PATCH001, netbsd-1-6
Changes since 1.26: +2 -2 lines
Diff to previous 1.26 (colored) to selected 1.80.4.1 (colored)

Close quoting.

Revision 1.26 / (download) - annotate - [select for diffs], Thu Feb 7 07:00:44 2002 UTC (22 years, 2 months ago) by ross
Branch: MAIN
Changes since 1.25: +3 -3 lines
Diff to previous 1.25 (colored) to selected 1.80.4.1 (colored)

Generate <>& symbolically.

Revision 1.25 / (download) - annotate - [select for diffs], Tue Jan 15 02:46:22 2002 UTC (22 years, 3 months ago) by wiz
Branch: MAIN
Changes since 1.24: +6 -6 lines
Diff to previous 1.24 (colored) to selected 1.80.4.1 (colored)

Punctuation and whitespace nits, fix a typo.

Revision 1.24 / (download) - annotate - [select for diffs], Tue Oct 9 13:50:29 2001 UTC (22 years, 6 months ago) by christos
Branch: MAIN
Changes since 1.23: +14 -1 lines
Diff to previous 1.23 (colored) to selected 1.80.4.1 (colored)

PR/14188: Anthony Mallet: Provide an opaque data pointer to client programs.

Revision 1.23 / (download) - annotate - [select for diffs], Thu Oct 4 00:45:19 2001 UTC (22 years, 6 months ago) by lukem
Branch: MAIN
Changes since 1.22: +4 -4 lines
Diff to previous 1.22 (colored) to selected 1.80.4.1 (colored)

a couple of minor fixes.  originally by Ruslan Ermilov <ru@FreeBSD.org>,
highlighted to me by way of Mike Barcroft <mike@FreeBSD.org> (thanks!)

Revision 1.22 / (download) - annotate - [select for diffs], Thu Sep 27 19:29:50 2001 UTC (22 years, 6 months ago) by christos
Branch: MAIN
Changes since 1.21: +15 -1 lines
Diff to previous 1.21 (colored) to selected 1.80.4.1 (colored)

PR/14067: Anthony Mallet: Provide a programmatic way to set the read_char
function via a new el_set() operation.
Thanks, nicely done :-)

Revision 1.21 / (download) - annotate - [select for diffs], Mon Apr 2 18:29:49 2001 UTC (23 years ago) by wiz
Branch: MAIN
Changes since 1.20: +2 -2 lines
Diff to previous 1.20 (colored) to selected 1.80.4.1 (colored)

End sentence with a dot.

Revision 1.20 / (download) - annotate - [select for diffs], Mon Feb 28 17:41:05 2000 UTC (24 years, 1 month ago) by chopps
Branch: MAIN
CVS Tags: netbsd-1-5-base, netbsd-1-5-RELEASE, netbsd-1-5-PATCH003, netbsd-1-5-PATCH002, netbsd-1-5-PATCH001, netbsd-1-5-BETA2, netbsd-1-5-BETA, netbsd-1-5-ALPHA2, netbsd-1-5, minoura-xpg4dl-base, minoura-xpg4dl
Changes since 1.19: +2 -2 lines
Diff to previous 1.19 (colored) to selected 1.80.4.1 (colored)

el_insertstr takes a "const char *" not "char *" now as it doesn't modify
the argument.

Revision 1.17.4.1 / (download) - annotate - [select for diffs], Mon Dec 27 18:29:57 1999 UTC (24 years, 3 months ago) by wrstuden
Branch: wrstuden-devbsize
Changes since 1.17: +27 -5 lines
Diff to previous 1.17 (colored) next main 1.18 (colored) to selected 1.80.4.1 (colored)

Pull up to last week's -current.

Revision 1.19 / (download) - annotate - [select for diffs], Fri Nov 26 18:38:27 1999 UTC (24 years, 4 months ago) by lukem
Branch: MAIN
CVS Tags: wrstuden-devbsize-base, wrstuden-devbsize-19991221
Changes since 1.18: +2 -2 lines
Diff to previous 1.18 (colored) to selected 1.80.4.1 (colored)

missing ,

Revision 1.18 / (download) - annotate - [select for diffs], Fri Nov 12 01:05:07 1999 UTC (24 years, 5 months ago) by lukem
Branch: MAIN
Changes since 1.17: +27 -5 lines
Diff to previous 1.17 (colored) to selected 1.80.4.1 (colored)

- implement printing a right-side prompt. code derived from similar work
  I wrote for tcsh(1) three years ago.
- implement EL_RPROMPT, which allows a setting/getting of a function which
  returns a string to be used as the right-side prompt.
- improve HISTORY and AUTHORS sections in editline(3).
- bump shlib minor version for EL_RPROMPT.

XXX: due to an implementation issue, the rprompt has a 1 space gap before the
     edge of the logical screen. editline's logical screen is 1 space less
     than the full screen width, so there's a 2 space gap between the rprompt
     and the right end of the physical screen. i'm not concerned about this.

Revision 1.17 / (download) - annotate - [select for diffs], Fri Jul 2 15:21:23 1999 UTC (24 years, 9 months ago) by simonb
Branch: MAIN
CVS Tags: comdex-fall-1999-base, comdex-fall-1999
Branch point for: wrstuden-devbsize
Changes since 1.16: +9 -9 lines
Diff to previous 1.16 (colored) to selected 1.80.4.1 (colored)

More trailing white space.

Revision 1.16 / (download) - annotate - [select for diffs], Mon Mar 22 19:45:15 1999 UTC (25 years, 1 month ago) by garbled
Branch: MAIN
CVS Tags: netbsd-1-4-base, netbsd-1-4-RELEASE, netbsd-1-4-PATCH003, netbsd-1-4-PATCH002, netbsd-1-4-PATCH001, netbsd-1-4
Changes since 1.15: +2 -2 lines
Diff to previous 1.15 (colored) to selected 1.80.4.1 (colored)

Last of the .Os cleanups.  .Os is defined in the tmac.doc-common file,
so we shouldn't override it with versions in the manpages.  Wheee!

Revision 1.15 / (download) - annotate - [select for diffs], Tue Jan 5 22:46:22 1999 UTC (25 years, 3 months ago) by lukem
Branch: MAIN
Changes since 1.14: +2 -2 lines
Diff to previous 1.14 (colored) to selected 1.80.4.1 (colored)

fix history() prototype. (d@openbsd.org)

Revision 1.14 / (download) - annotate - [select for diffs], Wed Jul 29 02:26:00 1998 UTC (25 years, 8 months ago) by lukem
Branch: MAIN
Changes since 1.13: +65 -2 lines
Diff to previous 1.13 (colored) to selected 1.80.4.1 (colored)

* add more checks for NULL pointers in passed arguments
* implement el_get(EditLine *, int op, void *result), which does the
  inverse of el_set()
* add EL_EDITMODE operation to el_set and el_get; if non zero editing
  is enabled (the default).
* add "edit  on | off" editrc command, which modifies EL_EDITMODE.
  users can now add '*:edit off' in ~/.editrc as an advisory to
  disable editing.

NOTE: at this time EL_EDITMODE is just an indication of the
state of the 'edit' command. It's up to the application to check
this after el_source() or el_parse() to determine if editing is still
required.

Revision 1.13 / (download) - annotate - [select for diffs], Mon Jun 8 10:56:43 1998 UTC (25 years, 10 months ago) by lukem
Branch: MAIN
Changes since 1.12: +1 -3 lines
Diff to previous 1.12 (colored) to selected 1.80.4.1 (colored)

documentation is always probably incomplete; don't make an issue of it

Revision 1.12 / (download) - annotate - [select for diffs], Mon Jun 1 14:31:26 1998 UTC (25 years, 10 months ago) by lukem
Branch: MAIN
Changes since 1.11: +3 -5 lines
Diff to previous 1.11 (colored) to selected 1.80.4.1 (colored)

* implement CC_REFRESH_BEEP; as per CC_REFRESH but beep as well. this
  is useful in completion when a partial completion is found
* remove entry in BUGS about el_parse(); that was fixed a while ago

Revision 1.11 / (download) - annotate - [select for diffs], Wed May 20 01:37:54 1998 UTC (25 years, 11 months ago) by christos
Branch: MAIN
Changes since 1.10: +5 -3 lines
Diff to previous 1.10 (colored) to selected 1.80.4.1 (colored)

Add H_APPEND to simplify the interface.

Revision 1.10 / (download) - annotate - [select for diffs], Wed May 20 01:05:27 1998 UTC (25 years, 11 months ago) by christos
Branch: MAIN
Changes since 1.9: +10 -6 lines
Diff to previous 1.9 (colored) to selected 1.80.4.1 (colored)

Adjust for changes.

Revision 1.9 / (download) - annotate - [select for diffs], Thu Feb 5 18:51:37 1998 UTC (26 years, 2 months ago) by perry
Branch: MAIN
Changes since 1.8: +3 -1 lines
Diff to previous 1.8 (colored) to selected 1.80.4.1 (colored)

add LIBRARY section to man page

Revision 1.8 / (download) - annotate - [select for diffs], Wed Jan 21 11:12:34 1998 UTC (26 years, 3 months ago) by lukem
Branch: MAIN
Changes since 1.7: +1 -14 lines
Diff to previous 1.7 (colored) to selected 1.80.4.1 (colored)

in el_parse(), use a temporary buffer to store the program name when
comparing, preventing trashing of argv[0]. remove note in man page
warning of former behaviour.

Revision 1.7 / (download) - annotate - [select for diffs], Sun Nov 9 00:13:52 1997 UTC (26 years, 5 months ago) by lukem
Branch: MAIN
Changes since 1.6: +8 -8 lines
Diff to previous 1.6 (colored) to selected 1.80.4.1 (colored)

move description of history() return value

Revision 1.6 / (download) - annotate - [select for diffs], Tue Oct 14 15:05:49 1997 UTC (26 years, 6 months ago) by christos
Branch: MAIN
CVS Tags: netbsd-1-3-base, netbsd-1-3-RELEASE, netbsd-1-3-PATCH003-CANDIDATE2, netbsd-1-3-PATCH003-CANDIDATE1, netbsd-1-3-PATCH003-CANDIDATE0, netbsd-1-3-PATCH003, netbsd-1-3-PATCH002, netbsd-1-3-PATCH001, netbsd-1-3-BETA, netbsd-1-3
Changes since 1.5: +15 -4 lines
Diff to previous 1.5 (colored) to selected 1.80.4.1 (colored)

PR/4257: Jaromir Dolecek: history() has no generic error handling and isn't
reentrant. This changes the interface of the history function, so we need
a major number bump.

Revision 1.5 / (download) - annotate - [select for diffs], Wed Jul 30 23:57:36 1997 UTC (26 years, 8 months ago) by jtc
Branch: MAIN
Changes since 1.4: +3 -3 lines
Diff to previous 1.4 (colored) to selected 1.80.4.1 (colored)

Fix files using old TNF copyright notice

Revision 1.4 / (download) - annotate - [select for diffs], Tue Jan 14 04:17:23 1997 UTC (27 years, 3 months ago) by lukem
Branch: MAIN
Changes since 1.3: +7 -3 lines
Diff to previous 1.3 (colored) to selected 1.80.4.1 (colored)

Implement CC_REDISPLAY, which (unlink 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)

Revision 1.3 / (download) - annotate - [select for diffs], Sat Jan 11 06:47:51 1997 UTC (27 years, 3 months ago) by lukem
Branch: MAIN
Changes since 1.2: +4 -4 lines
Diff to previous 1.2 (colored) to selected 1.80.4.1 (colored)

RCSid police
editline first appeared in 4.4BSD not NetBSD1.0

Revision 1.2 / (download) - annotate - [select for diffs], Sat Jan 11 06:26:30 1997 UTC (27 years, 3 months ago) by lukem
Branch: MAIN
Changes since 1.1: +7 -5 lines
Diff to previous 1.1 (colored) to selected 1.80.4.1 (colored)

* in el_parse(), don't reference argv[0] if argc < 1 (return -1 instead)
* clarify return value of el_parse()

Revision 1.1 / (download) - annotate - [select for diffs], Thu Jan 9 13:12:15 1997 UTC (27 years, 3 months ago) by lukem
Branch: MAIN
Diff to selected 1.80.4.1 (colored)

* 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

[christos - the author of libedit - ok-ed the man pages in general (which I
 wrote from scratch by RTFS) as well as the bugfix]

This form allows you to request diff's between any two revisions of a file. You may select a symbolic revision name using the selection box or you may type in a numeric name using the type-in text box.




CVSweb <webmaster@jp.NetBSD.org>