1
0
mirror of https://github.com/openbsd/src.git synced 2024-12-22 16:42:56 -08:00
Commit Graph

33 Commits

Author SHA1 Message Date
jmc
48c01a1f20 ce examples of "Ar arg Ar arg" with "Ar arg arg" and stop the spread; 2020-04-23 21:28:08 +00:00
schwarze
f19fdde8fe Document el_wpush(3) and fix the description of el_push(3).
Improve precision in the description of the "bind" builtin command.
Tweak terminology to better match editline(7).
2016-05-22 22:08:42 +00:00
schwarze
081fbbfb3e New editline(7) manual, explaining to end-users how line editing works
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>.
2016-04-20 01:11:45 +00:00
schwarze
55643de9d4 Delete redundant, empty callbacks;
no functional change, minus hundred lines of code.
OK martijn@;
also proof-read by Christian Heckendorf <mbie at ulmus dot me>.
2016-04-18 20:13:07 +00:00
zhuk
ee46766511 Zap extraneous SYNOPSIS sections.
The gettytab(5) and termcap(5) get FILES, others don't need anything.

With input from & okay schwarze@
2016-01-08 20:26:54 +00:00
schwarze
088fff53b0 merge improvements from NetBSD; ok jmc@ nicm@ 2014-12-15 22:35:41 +00:00
schwarze
29b9d79946 markup fixes from Kaspars at Bankovskis dot net;
some of this is already contained upstream in NetBSD,
the rest will be sent there
2014-12-12 17:04:22 +00:00
jmc
77505841a0 editline.3: editrc only read from $HOME; from LEVAI Daniel
editrc.5: add FILES for ~/.editrc

patches passed onto net/free
2013-01-10 14:21:47 +00:00
jmc
952d5a667a there's no tcsh page in base, so don;t bother xr'ing it; 2010-06-30 07:34:38 +00:00
nicm
aed0ee816f Update libedit to bring it into sync with the latest version from NetBSD.
ok deraadt
2010-06-30 00:05:35 +00:00
sobrado
d96383d864 ellipses are not optional arguments; while here, fix a double .Ar/.Ar
in the roff source.

ok jmc@
2010-01-25 17:23:43 +00:00
sobrado
c2bf7f334c fix double full stop, find out by jmc@ when looking into another issue. 2010-01-25 17:14:50 +00:00
ray
d874cce4b1 First pass at removing clauses 3 and 4 from NetBSD licenses.
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@
2008-06-26 05:42:03 +00:00
jmc
9490d37cb6 convert to new .Dd format; 2007-05-31 19:19:00 +00:00
otto
6e02e0734f Sync libedit to NetBSD libedit as of Nov 8, 2003.
Tested by jmc@ djm@ and myself
2003-11-25 20:12:38 +00:00
otto
a89596efb8 Sync command table to code. Spotted by jmc@. 2003-11-01 07:00:07 +00:00
otto
411cf6d144 Man pages fixes from jmc@ 2003-10-31 08:57:10 +00:00
otto
d484b7d03a Update to NetBSD libedit (from Oct 1, 2003), adding some string
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@
2003-10-31 08:42:23 +00:00
jmc
fc6c8c1f29 emptry -> empty; from Jared Yanovich 2003-10-22 07:49:03 +00:00
jmc
aa74ceadb6 typo; 2003-05-10 18:42:24 +00:00
jmc
238522a806 files with dead .Xr's;
left .Xr, but removed man page number
as suggested by mpech@

more help and ok millert@
2003-03-11 08:11:08 +00:00
jmc
77f5c21281 .Xr typos;
ok deraadt@
2003-03-06 20:13:15 +00:00
aaron
f885a5274d Mostly punctuation fixes. 2000-04-15 02:15:09 +00:00
aaron
4267197969 Suffix "i.e." and "e.g." with a comma. Just another really picky man page
commit, as we want our documentation to be as consistently formatted as
possible (it's getting there :-)).
2000-03-14 21:31:34 +00:00
alex
f7de5c7b0a Typo fixes. 1999-09-23 04:11:58 +00:00
aaron
5c3dced36c - remove all trailing whitespace
* 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...
1999-07-09 13:35:13 +00:00
aaron
7f3168a29b The proper order of the ``introductory'' macros in a man page is .Dd/.Dt/.Os.
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.
1999-07-07 10:50:04 +00:00
aaron
fc8533a33f remove argument from .Os macros so value in /usr/share/tmac/mdoc/doc-common
is used instead; kwesterback@home.com
1999-05-23 14:10:46 +00:00
aaron
17e1143f9c builtin -> built-in 1999-05-12 21:58:32 +00:00
aaron
7349792ab9 always give .Nm macros an argument in SYNOPSIS sections; krw@tcn.net 1998-12-15 01:20:16 +00:00
millert
84d7b780dc Updates from NetBSD (christos@netbsd.org)
* 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)
1997-06-29 23:40:46 +00:00
millert
f840f2e031 fix el_source() - a block needed braces around it (from NetBSD)
Some strcpy() -> strncpy (from NetBSD)
Some KNF
Add current NetBSD tags
1997-03-14 05:12:41 +00:00
millert
9f6474d4a4 Man pages for libedit, from NetBSD. 1997-01-16 05:20:28 +00:00