freebsd-skq/usr.sbin
glebius 92ec9cdef3 MFC:
Add line edit and history support to ngctl(8) via editline(3).

  Details:
  - The main thread runs editline(3) functions, that can block.
  - A separate thread is launched to monitor netgraph sockets.
  - The access to the descriptors is protected by a mutex. At
    runtime the monitoring thread owns the mutex. When the main
    thread reads a command from el_gets() it asks the monitoring
    thread to release a mutex and sleep until the main thread
    processes the command.

  This makes ngctl(8) depend on libedit, and libpthread. Thus, the
  new functionality isn't compiled in if release is being built
  with -DRELEASE_CRUNCH.

  PR:             bin/87352
  Reviewed by:    ru, Nuno Antunes <nuno.antunes gmail.com>
2006-08-10 11:11:49 +00:00
..
ac Sort sections. 2005-01-18 20:02:45 +00:00
accton
acpi MFC: Bring up to HEAD, fixing output format bugs and adding power status 2005-07-29 16:31:58 +00:00
adduser MFC: 2006-01-25 07:43:48 +00:00
amd Generate locale-agnostic configuration date. 2005-02-16 21:02:50 +00:00
ancontrol Expand *n't contractions. 2005-02-13 22:25:33 +00:00
apm Make apm(8) understand AC Line state 2 as "backup power". 2005-05-30 18:44:43 +00:00
apmd POWERSTATECHANGE was misspelled. 2005-03-24 01:26:40 +00:00
arlcontrol Remove unused variables 2005-05-20 12:44:04 +00:00
arp MFC 1.62: 2006-02-16 12:41:18 +00:00
asf MFC my recent changes to asf(8): 2006-07-22 11:58:11 +00:00
atm Fixed the misplaced $FreeBSD$. 2005-02-09 18:07:17 +00:00
audit This commit was manufactured by cvs2svn to create branch 'RELENG_6'. 2006-02-03 01:35:37 +00:00
auditd This commit was manufactured by cvs2svn to create branch 'RELENG_6'. 2006-02-03 01:35:37 +00:00
auditreduce This commit was manufactured by cvs2svn to create branch 'RELENG_6'. 2006-02-03 01:35:37 +00:00
authpf Use libutil in DPADD as well. 2005-05-04 08:57:12 +00:00
bluetooth MFV rev. 1.9: 2006-06-07 22:54:02 +00:00
boot0cfg MFC: use g_ctl for modifying metadata if possible. 2005-08-16 22:45:33 +00:00
boot98cfg MFC: Attempt g_ctl for metadata modification. 2005-08-19 12:43:55 +00:00
bootparamd Pass -C to rpcgen. 2005-02-09 12:17:52 +00:00
bsnmpd Sync bsnmpd with HEAD. 2006-03-31 12:44:51 +00:00
btxld MFC Makefile,v 1.12 and btxld.c,v 1.10: 2006-05-12 02:28:20 +00:00
burncd MFC: 2005-07-17 15:03:36 +00:00
cdcontrol Sort sections. 2005-01-18 20:02:45 +00:00
chkgrp MFC revision 1.11: Fix a bug introduced in revision 1.9 which causes 2005-10-03 21:39:21 +00:00
chown Expand *n't contractions. 2005-02-13 22:25:33 +00:00
chroot
ckdist Sort sections. 2005-01-18 20:02:45 +00:00
config MFC: "nocpu" and "nomakeoptions" directives. 2005-12-01 17:43:09 +00:00
cron MFC rev. 1.24 do_command.c and rev. 1.13 popen.c: check return code 2006-07-01 07:18:16 +00:00
crunch MFC crunchgen.1 revisions 1.29 - 1.30 and crunchgen.c revision 1.36: 2006-05-31 19:11:59 +00:00
ctm Expand *n't contractions. 2005-02-13 22:25:33 +00:00
daemon MFC pidfile(3) function, and convert several applications to make use 2006-01-15 17:50:38 +00:00
dconschat Fix typos in comments. 2005-03-11 14:20:09 +00:00
devinfo
digictl Sort sections. 2005-01-18 20:02:45 +00:00
diskinfo Sort sections. 2005-01-18 20:02:45 +00:00
dnssec-keygen MFC: build BIND without thread support. 2005-07-30 07:56:28 +00:00
dnssec-signzone MFC: build BIND without thread support. 2005-07-30 07:56:28 +00:00
editmap Remove kludges intended to support src trees with partial obj trees. 2005-06-10 06:12:53 +00:00
edquota Sort sections. 2005-01-18 20:02:45 +00:00
eeprom Scheduled mdoc(7) sweep. 2005-01-11 11:47:22 +00:00
elf2exe Sort sections. 2005-01-18 20:02:45 +00:00
extattr
extattrctl Fixed the misplaced $FreeBSD$. 2005-02-09 18:07:17 +00:00
faithd fixed a possible reference to a broken memory 2005-05-02 07:44:24 +00:00
fdcontrol Cleanup usr.sbin/fd* so they can compile under WARNS=6. 2005-01-08 15:46:06 +00:00
fdformat MFC: 1.30: The default fill byte is 0xf6, not 0xf5. 2005-11-16 08:36:10 +00:00
fdread Expand *n't contractions. 2005-02-13 22:25:33 +00:00
fdwrite Expand *n't contractions. 2005-02-13 22:25:33 +00:00
flowctl Implement "verbose" optional keyword for "show" command. This is analog 2005-03-23 09:40:18 +00:00
fwcontrol Remove unused variables. Shorten the path to a WARNS=6 compliance. 2005-05-20 12:50:47 +00:00
getfmac Remove unnecessary SRCS= where could be guessed directly by our 2005-01-27 14:52:47 +00:00
getpmac Remove unnecessary SRCS= where could be guessed directly by our 2005-01-27 14:52:47 +00:00
gstat MFC: 2006-06-10 15:40:10 +00:00
i4b MFC: 2006-08-06 19:03:27 +00:00
ifmcstat Fixed the misplaced $FreeBSD$. 2005-02-09 18:07:17 +00:00
inetd MFC: v1.45, v1.44 2006-05-02 18:32:08 +00:00
iostat MFC rev. 1.28 iostat.8 and revs. 1.29 - 1.31 iostat.c: implement 2006-05-17 19:03:33 +00:00
ip6addrctl Added the EXIT STATUS section where appropriate. 2005-01-17 07:44:44 +00:00
ipfwpcap This commit was manufactured by cvs2svn to create branch 'RELENG_6'. 2006-05-25 04:01:05 +00:00
IPXrouted Spell SHUT_RD as SHUT_RD not 0 as the how argument to shutdown(2). 2005-05-11 02:45:49 +00:00
jail Revert MFC of 1.73, since mounting devfs without a devfs ruleset 2006-05-28 09:49:42 +00:00
jexec MFC: Add -u and -U which functions like the jail(8) that allow 2006-06-08 17:29:05 +00:00
jls MFC: usr.sbin/jls/jls.c 1.4,1.5 2005-08-19 11:09:11 +00:00
kbdcontrol MFC: provide example of how to make two keyboards working at the same time 2005-12-29 20:15:27 +00:00
kbdmap MFC: 2006-01-12 01:26:34 +00:00
kernbb
keyserv The variable `ROOTKEY' has internal linkage in keyserv.c, don't declare it as 2005-02-10 09:09:18 +00:00
kgmon Sort sections. 2005-01-18 20:02:45 +00:00
kgzip Sort sections. 2005-01-18 20:02:45 +00:00
kldxref MFC standardization of the ELF types and update of the ELF constants: 2005-12-30 22:13:59 +00:00
lastlogin
lpr MFC 1.64: Fix checking of the "lock" file in the spool directory 2006-07-17 21:04:52 +00:00
lptcontrol Remove useless mode argument to open(). 2005-01-25 14:25:18 +00:00
mailstats Remove kludges intended to support src trees with partial obj trees. 2005-06-10 06:12:53 +00:00
mailwrapper
makemap Remove kludges intended to support src trees with partial obj trees. 2005-06-10 06:12:53 +00:00
manctl
memcontrol Correct formatting of pointers in the listing by using "0x%" PRIx64 instead of 2005-03-29 20:17:47 +00:00
mergemaster MFC auto updating of files not modified by the user. 2006-06-10 21:42:49 +00:00
mixer MFC: 2006-01-04 00:32:14 +00:00
mld6query Fixed the misplaced $FreeBSD$. 2005-02-09 18:07:17 +00:00
mlxcontrol Sort sections. 2005-01-18 20:02:45 +00:00
mount_nwfs Expand *n't contractions. 2005-02-13 22:25:33 +00:00
mount_portalfs Markup fixes. 2005-06-14 12:26:36 +00:00
mount_smbfs Make smbfs capable to use 16bit char set in filenames. 2005-05-04 15:05:46 +00:00
mountd In get_exportlist(), properly loop over mounted filesystems. 2006-07-08 13:54:49 +00:00
moused MFC: 2006-01-30 00:32:40 +00:00
mptable Expand *n't contractions. 2005-02-13 22:25:33 +00:00
mrouted MFC revs. 1.14 cfparse.y and 1.16 config.c: SIOCGIFCONF -> getifaddrs(3) 2006-07-16 06:53:26 +00:00
mtest
mtree MFC an 'optional' keyword. 2006-07-28 16:27:40 +00:00
named MFC: build BIND without thread support. 2005-07-30 07:56:28 +00:00
named-checkconf MFC: build BIND without thread support. 2005-07-30 07:56:28 +00:00
named-checkzone MFC: build BIND without thread support. 2005-07-30 07:56:28 +00:00
named.reload
ndiscvt MFC: synchronize the NDISulator with the head and RELENG_5 branches, 2005-10-27 17:08:57 +00:00
ndp MFC: sync with KAME in the following points: 2005-11-05 10:56:06 +00:00
newsyslog MFC 1.104->1.105: Remove the "oldorder" processing, and replace 2006-07-24 04:41:20 +00:00
nfsd Bump the default maximum on nfsd processes from 20 to 256. Real-world 2005-01-23 21:34:00 +00:00
ngctl MFC: 2006-08-10 11:11:49 +00:00
nghook Sort sections. 2005-01-18 20:02:45 +00:00
nologin Use __unused macro instead of a bare void for main(). 2005-01-04 20:07:12 +00:00
ntp - MFC 1.20: Fix markup 2006-06-05 08:14:48 +00:00
ofwdump
pccard MFC: 1.10: Remove now redundant NO_SHARED. 2005-11-16 08:35:22 +00:00
pciconf MFC: (1.25, 1.26) whitespace cleanup, parser improvements 2005-12-14 09:13:46 +00:00
pcvt MFC: Remove vttest program, it lives in ports. 2005-08-16 22:40:54 +00:00
periodic Sort sections. 2005-01-18 20:02:45 +00:00
pkg_install MFC: (1.6) turn on libfetch debugging if -v was specified 2006-07-22 06:02:57 +00:00
pmccontrol MFC r1.6: Fix pmccontrol(8) on Intel Xeon's running in 64 bit mode. 2006-02-27 17:36:01 +00:00
pmcstat MFC { r1.4, r1.5 "pmcstat_log.c" } 2005-09-17 13:04:10 +00:00
pnpinfo Remove unnecessary SRCS= where could be guessed directly by our 2005-01-27 14:52:47 +00:00
portsnap MFC usr.sbin/portsnap/phttpget/phttpget.c rev 1.10, 2006-05-26 23:14:16 +00:00
powerd MFC: s/5.5/6.0/ in HISTORY section. 2006-01-24 17:02:39 +00:00
ppp NI_WITHSCOPEID cleanup. Neither RFC 2553 nor RFC 3493 defines 2005-05-13 16:31:11 +00:00
pppctl Expand *n't contractions. 2005-02-13 22:25:33 +00:00
pppd MFC spelling fixes of several manpages. 2005-08-18 15:01:27 +00:00
pppstats Remove libz and pppd redundancy 2005-06-03 15:25:13 +00:00
praliases Remove kludges intended to support src trees with partial obj trees. 2005-06-10 06:12:53 +00:00
praudit This commit was manufactured by cvs2svn to create branch 'RELENG_6'. 2006-02-03 01:35:37 +00:00
procctl
pstat Merge pstat.c:1.96 from HEAD to RELENG_6: 2005-11-20 00:40:03 +00:00
pw MFC: pw_user.c 1.58 2005-08-05 19:39:25 +00:00
pwd_mkdb Correctly handle an input file without a newline on the last line (and 2005-06-15 10:13:04 +00:00
quot MFC: Make quot skip unallocated inodes. 2006-03-04 16:59:09 +00:00
quotaon
rarpd Fixed the misplaced $FreeBSD$. 2005-02-09 18:07:17 +00:00
raycontrol Expand *n't contractions. 2005-02-13 22:25:33 +00:00
repquota Sort sections. 2005-01-18 20:02:45 +00:00
rip6query NI_WITHSCOPEID cleanup. Neither RFC 2553 nor RFC 3493 defines 2005-05-13 16:31:11 +00:00
rmt Remove rexecd(8), a server that implements a particularly insecure 2005-06-10 20:52:36 +00:00
rndc MFC: build BIND without thread support. 2005-07-30 07:56:28 +00:00
rndc-confgen MFC: build BIND without thread support. 2005-07-30 07:56:28 +00:00
route6d Fixed the misplaced $FreeBSD$. 2005-02-09 18:07:17 +00:00
rpc.lockd MFC: 1.19 2006-06-02 01:20:58 +00:00
rpc.statd Sort sections. 2005-01-18 20:02:45 +00:00
rpc.umntall Use clnt_create_timed() instead of clnt_create(). The former has an 2005-05-27 00:05:16 +00:00
rpc.yppasswdd Use socklen_t in place of socket operations, instead of int 2005-05-02 14:02:43 +00:00
rpc.ypupdated Start the dreaded NOFOO -> NO_FOO conversion. 2004-12-21 08:47:35 +00:00
rpc.ypxfrd Expand *n't contractions. 2005-02-13 22:25:33 +00:00
rpcbind MFC: 2006-03-15 07:44:28 +00:00
rrenumd Expand contractions. 2005-02-15 09:27:00 +00:00
rtadvd MFC Rev 1.27 (avoid heap overrun) 2006-03-24 14:53:53 +00:00
rtprio Sort sections. 2005-01-18 20:02:45 +00:00
rtsold MFC Rev 1.15 2006-03-29 21:06:50 +00:00
rwhod - Avoid a memory leak if realloc(3) fails by using reallocf(3) 2005-06-03 17:38:33 +00:00
sa Expand contractions. 2005-02-13 23:45:54 +00:00
sade This commit was manufactured by cvs2svn to create branch 'RELENG_6'. 2006-08-07 23:35:50 +00:00
sendmail MFC: Make links for hoststat(8) and purgestat(8) man pages. 2005-08-20 01:39:08 +00:00
setfmac Remove unnecessary SRCS= where could be guessed directly by our 2005-01-27 14:52:47 +00:00
setpmac Remove unnecessary SRCS= where could be guessed directly by our 2005-01-27 14:52:47 +00:00
sicontrol
sliplogin Remove an unused variable and a useless getuid() declaration. 2005-04-09 15:00:51 +00:00
slstat Stop embedding struct ifnet at the top of driver softcs. Instead the 2005-06-10 16:49:24 +00:00
smbmsg Sort sections. 2005-01-18 20:02:45 +00:00
snapinfo MFC: Fix version number when the feature was added. 2006-04-02 08:07:14 +00:00
spkrtest
spray
sysinstall MFC devices.c, rev. 1.168 to RELENG_6: 2006-08-08 09:44:13 +00:00
syslogd MFC: Add the ability to log to an arbitrary udp port as well as the 2006-06-29 21:22:30 +00:00
tcpdchk NOINET6 -> NO_INET6 2004-12-21 10:49:29 +00:00
tcpdmatch NOINET6 -> NO_INET6 2004-12-21 10:49:29 +00:00
tcpdrop MFC: 2005-07-17 15:03:36 +00:00
tcpdump update for v3.9.1 (releaes) 2005-07-11 04:14:42 +00:00
timed Sort sections. 2005-01-18 20:02:45 +00:00
traceroute NOIPSEC -> TRACEROUTE_NO_IPSEC 2004-12-21 12:44:20 +00:00
traceroute6 MFC 1.16: fix: documentation for -m option was inserted halfway thru the text 2006-01-13 20:02:56 +00:00
trpt Expand *n't contractions. 2005-02-13 22:25:33 +00:00
tzsetup Sort sections. 2005-01-18 20:02:45 +00:00
ugidfw MFC: (1.5) Fixing an off-by-one error. 2005-07-27 12:45:36 +00:00
usbd Up the count of busses supported by usbd(8) from 4 to 40. With the advent 2005-07-01 15:49:52 +00:00
usbdevs
vidcontrol MFC 1.53 2005-10-05 04:29:59 +00:00
vipw MFC: a lot of manpage fixes from HEAD. 2005-09-24 01:59:40 +00:00
vnconfig Start the dreaded NOFOO -> NO_FOO conversion. 2004-12-21 08:47:35 +00:00
watch MFC rev 1.32, 1.33, 1.34: 2005-09-23 23:24:55 +00:00
watchdogd MFC pidfile(3) function, and convert several applications to make use 2006-01-15 17:50:38 +00:00
wicontrol Expand *n't contractions. 2005-02-13 22:25:33 +00:00
wlconfig
wpa MFC 1.11: remove some unnecessary perror calls 2006-07-10 01:03:48 +00:00
yp_mkdb Expand *n't contractions. 2005-02-13 22:25:33 +00:00
ypbind Expand *n't contractions. 2005-02-13 22:25:33 +00:00
yppoll
yppush (handler): When exitting upon an abnormal signal, yppush_exit() should not 2005-04-12 15:02:57 +00:00
ypserv MFC rev. 1.40: fix a condition logic for !do_dns case. 2006-07-08 07:53:57 +00:00
ypset
zic Expand contractions. 2005-02-13 23:45:54 +00:00
zzz
Makefile MFC: Add snapinfo. 2006-03-17 05:08:16 +00:00
Makefile.inc