freebsd-skq/usr.sbin
glebius b513ad862a 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-07 14:17:05 +00:00
..
ac Sort sections. 2005-01-18 20:02:45 +00:00
accton
acpi Catch up with ACPI-CA 20051021 import 2005-11-01 22:44:08 +00:00
adduser Add adding_user.8 to SEE ALSO, note that usernames may contain any character 2006-06-07 04:58:54 +00:00
amd Folded WITH_HESIOD_SUPPORT into WITH_HESIOD. 2006-03-21 09:00:51 +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 Refuse to install invalid ARP entries. 2006-02-09 12:49:39 +00:00
asf There is a plenty of arch's out there where sizeof(size_t) != sizeof(int). 2006-06-19 17:12:25 +00:00
atm Fixed the misplaced $FreeBSD$. 2005-02-09 18:07:17 +00:00
audit Enable building of OpenBSM command line tools: 2006-02-02 10:15:30 +00:00
auditd Enable building of OpenBSM command line tools: 2006-02-02 10:15:30 +00:00
auditreduce Enable building of OpenBSM command line tools: 2006-02-02 10:15:30 +00:00
authpf Use libutil in DPADD as well. 2005-05-04 08:57:12 +00:00
bluetooth - Only print a clarifying message about which HCI node has been used if there 2006-06-02 00:29:01 +00:00
boot0cfg Attempt gctl verb "write MBR" when updating. 2005-07-15 08:04:32 +00:00
boot98cfg Merged from boot0cfg. 2005-07-15 15:32:52 +00:00
bootparamd Reimplementation of world/kernel build options. For details, see: 2006-03-17 18:54:44 +00:00
bsnmpd Reduce the memory requirements for the tables by (1) using malloced strings 2006-07-14 09:07:56 +00:00
btxld An old patch from Dan Lukes <dan at obluda.cz>: 2006-01-23 13:55:32 +00:00
burncd - Remove MLINKS to nonexistant manpages 2005-07-14 20:29:08 +00:00
cached If perform-actual-lookups is enabled, getservbyname() matches an entry 2006-05-05 15:01:25 +00:00
cdcontrol Use the new name H_SETSIZE instead of the old H_EVENT to set the history 2005-10-19 15:37:43 +00:00
chkgrp Fix a bug introduced in revision 1.9 which causes chkgrp to coredump on 2005-08-25 17:01:06 +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 Remove unused variables. 2006-07-20 09:38:46 +00:00
cron Don't use "implicit int". Move the opening { of the functions to the next 2006-07-20 09:11:08 +00:00
crunch Bump .Dd before I get told off. 2005-12-23 15:33:31 +00:00
ctm Expand *n't contractions. 2005-02-13 22:25:33 +00:00
daemon Teach daemon(8) how to use pidfile(3). 2005-08-24 17:24:39 +00:00
dconschat Fix typos in comments. 2005-03-11 14:20:09 +00:00
devinfo Follow the rules for the .Dd macro use: use unabbreviated month names. 2005-11-28 13:51:36 +00:00
digictl Sort sections. 2005-01-18 20:02:45 +00:00
diskinfo Sort sections. 2005-01-18 20:02:45 +00:00
dnssec-keygen Disable thread support in BIND. It appears to reduce performance rather 2005-07-25 14:44:11 +00:00
dnssec-signzone Disable thread support in BIND. It appears to reduce performance rather 2005-07-25 14:44:11 +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
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 Make fdcontrol work again. It has been broken for a while. It tries 2005-10-26 22:23:52 +00:00
fdformat The default fill byte is 0xf6, not 0xf5. 2005-11-03 07:28:46 +00:00
fdread Remove unused variables. 2006-07-20 09:38:46 +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 - Add support for filtering the the list of providers by a regular 2006-05-20 19:17:47 +00:00
i4b Extend i4b to support CAPI manager based ISDN controllers (CAPI manager is part of 2006-07-09 21:16:06 +00:00
ifmcstat Fixed the misplaced $FreeBSD$. 2005-02-09 18:07:17 +00:00
inetd inetd and telnetd are not included in the standard release 2006-07-31 19:15:10 +00:00
iostat o De-register local vars. 2006-04-16 22:30:24 +00:00
ip6addrctl Added the EXIT STATUS section where appropriate. 2005-01-17 07:44:44 +00:00
ipfwpcap s/packages/packets/ 2006-05-22 07:36:45 +00:00
IPXrouted Declare iftraceinit() at file scope. 2005-08-05 07:17:23 +00:00
jail Use IP addresses out of "TEST-NET" (for use in documentation and 2006-06-11 12:57:41 +00:00
jexec Add -u and -U which functions like the jail(8) that allow 2006-04-19 10:12:10 +00:00
jls Sync code with the error report: calloc(number, 1) is equivalent to 2005-08-19 11:03:49 +00:00
kbdcontrol Reveal sacred spells necessary for putting kbdmux(4) to real use. 2005-12-29 20:11:46 +00:00
kbdmap Fix -r causing SIGSEGV due to parse_args() being called before font_current is set. 2006-01-09 19:54:28 +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 Correct a typo 2006-06-29 09:18:16 +00:00
kgzip Sort sections. 2005-01-18 20:02:45 +00:00
kldxref Use safe strlcpy rather than unsafe strncpy. After marcel's last fix, 2006-08-05 18:22:11 +00:00
lastlogin
lmcconfig [mdoc] add missing space before a punctuation type argument. 2005-12-13 17:07:52 +00:00
lpr Obey MK_INET6_SUPPORT. 2006-07-27 14:52:12 +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 Update NetBSD and OpenBSD SCM tags to match the reality. Note that 2006-08-07 10:29:18 +00:00
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 Add missed SYNOPSIS flag for auto upgrade. 2006-04-30 22:09:47 +00:00
mixer - Fix possible memory leak due to repetetive strdup(3) without matching 2006-01-01 20:19:49 +00:00
mld6query These IPv6-only tools have no explicit dependency on the INET6 macro. 2006-07-27 15:31:13 +00:00
mlxcontrol Sort sections. 2005-01-18 20:02:45 +00:00
mount_nwfs Use sysctlbyname() instead of sysctl 2006-05-11 17:23:57 +00:00
mount_portalfs Markup fixes. 2005-06-14 12:26:36 +00:00
mount_smbfs Convert mount_smbfs to use nmount(). 2005-11-16 02:47:12 +00:00
mountd In get_exportlist(), properly loop over mounted filesystems. 2006-07-08 13:49:24 +00:00
moused Convert macros to use C99's syntax for macros with a variable number of 2006-07-20 09:47:15 +00:00
mptable Expand *n't contractions. 2005-02-13 22:25:33 +00:00
mrouted o SIOCGIFCONF -> getifaddrs(3) conversion. As a side effect fix 2006-05-17 18:41:05 +00:00
mtest
mtree o Add an 'optional' keyword, which allows files to be in the 2006-07-03 10:55:22 +00:00
named Disable thread support in BIND. It appears to reduce performance rather 2005-07-25 14:44:11 +00:00
named-checkconf Disable thread support in BIND. It appears to reduce performance rather 2005-07-25 14:44:11 +00:00
named-checkzone Disable thread support in BIND. It appears to reduce performance rather 2005-07-25 14:44:11 +00:00
named.reload
ndiscvt Clean up and apply the fix for PR 83477. The calculation for locating 2005-10-26 18:46:27 +00:00
ndp These IPv6-only tools have no explicit dependency on the INET6 macro. 2006-07-27 15:31:13 +00:00
newsyslog Remove mention of the `W' flag, which has been turned to no-op by the 2006-07-21 22:13:06 +00:00
nfsd Previous revision was broken on SPARC, fix it by using more appropriate type. 2005-12-21 10:12:05 +00:00
ngctl Add line edit and history support to ngctl(8) via editline(3). 2006-08-07 14:17:05 +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
nscd If perform-actual-lookups is enabled, getservbyname() matches an entry 2006-05-05 15:01:25 +00:00
ntp - Fix markup 2006-06-04 15:39:19 +00:00
nvram Add device to access and modify Open Firmware NVRAM settings in 2006-08-01 22:19:01 +00:00
ofwdump
pccard Remove now redundant NO_SHARED. 2005-10-17 15:28:25 +00:00
pciconf Use larger buffers to read lines from the vendor list. 2005-08-18 11:11:40 +00:00
periodic Sort sections. 2005-01-18 20:02:45 +00:00
pkg_install Turn on libfetch debugging if -v was specified on the command line. 2006-07-08 14:34:56 +00:00
pmccontrol Fix pmccontrol(8) on Intel Xeon's running in 64 bit mode. 2006-02-27 14:25:32 +00:00
pmcstat When printing a map, print the number of samples recorded by each gmon.out file. 2006-04-05 15:12:25 +00:00
pnpinfo Remove unnecessary SRCS= where could be guessed directly by our 2005-01-27 14:52:47 +00:00
portsnap Use some features of sh(1) which I didn't know about until today ("read" 2006-05-30 07:08:41 +00:00
powerd Back out revs 1.18 and 1.19; they were based on incorrect assumptions. 2006-02-19 00:40:28 +00:00
ppp Reimplementation of world/kernel build options. For details, see: 2006-03-17 18:54:44 +00:00
pppctl Expand *n't contractions. 2005-02-13 22:25:33 +00:00
pppd Reimplementation of world/kernel build options. For details, see: 2006-03-17 18:54:44 +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 Enable building of OpenBSM command line tools: 2006-02-02 10:15:30 +00:00
procctl
pstat Print (total - used) as the amount of available swap for a swap device 2005-11-17 19:31:52 +00:00
pw Change /home symbolic link, so it will point to usr/home instead of /usr/home. 2005-07-31 08:25:53 +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 The quot command expected all inodes contents to be valid, however 2006-02-25 23:50:15 +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 These IPv6-only tools have no explicit dependency on the INET6 macro. 2006-07-27 15:31:13 +00:00
rmt Remove rexecd(8), a server that implements a particularly insecure 2005-06-10 20:52:36 +00:00
rndc Disable thread support in BIND. It appears to reduce performance rather 2005-07-25 14:44:11 +00:00
rndc-confgen Disable thread support in BIND. It appears to reduce performance rather 2005-07-25 14:44:11 +00:00
route6d These IPv6-only tools have no explicit dependency on the INET6 macro. 2006-07-27 15:31:13 +00:00
rpc.lockd Move call to ignore SIGPIPE signals before calling fork(), 2006-05-27 02:37:37 +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 Reimplementation of world/kernel build options. For details, see: 2006-03-17 18:54:44 +00:00
rrenumd These IPv6-only tools have no explicit dependency on the INET6 macro. 2006-07-27 15:31:13 +00:00
rtadvd These IPv6-only tools have no explicit dependency on the INET6 macro. 2006-07-27 15:31:13 +00:00
rtprio Sort sections. 2005-01-18 20:02:45 +00:00
rtsold These IPv6-only tools have no explicit dependency on the INET6 macro. 2006-07-27 15:31:13 +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 Alpha doesn't support linux ABI compat now. 2006-05-10 18:44:10 +00:00
sendmail Reimplementation of world/kernel build options. For details, see: 2006-03-17 18:54:44 +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 Correct xref to systat(1) which was mispelled as ststat(1) in 1.5. 2005-11-29 16:33:44 +00:00
smbmsg Sort sections. 2005-01-18 20:02:45 +00:00
snapinfo Fix version number when the feature was added. 2006-03-23 07:55:33 +00:00
spkrtest
spray
sysinstall Add stge(4) to the list of supported network interface. 2006-07-25 01:03:55 +00:00
syslogd Obey MK_INET6_SUPPORT. 2006-07-27 14:52:12 +00:00
tcpdchk Reimplementation of world/kernel build options. For details, see: 2006-03-17 18:54:44 +00:00
tcpdmatch Reimplementation of world/kernel build options. For details, see: 2006-03-17 18:54:44 +00:00
tcpdrop - Remove MLINKS to nonexistant manpages 2005-07-14 20:29:08 +00:00
tcpdump Reimplementation of world/kernel build options. For details, see: 2006-03-17 18:54:44 +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 These IPv6-only tools have no explicit dependency on the INET6 macro. 2006-07-27 15:31:13 +00:00
trpt Obey MK_INET6_SUPPORT. 2006-07-27 14:52:12 +00:00
tzsetup Sort sections. 2005-01-18 20:02:45 +00:00
ugidfw Add some new options to mac_bsdestended. We can now match on: 2006-04-23 17:06:18 +00:00
usbdevs
vidcontrol Fix so that color changes are not lost when the video mode changes. 2005-09-17 12:52:04 +00:00
vipw s/insure/ensure/ in previous commit. My dictionary and m-w.com say they 2005-10-28 22:47:40 +00:00
vnconfig Style: NO_MAN doesn't need any value. 2006-03-15 10:46:38 +00:00
watch Close the tty file descriptor once we're done with it. 2005-09-21 14:30:14 +00:00
watchdogd Fix usage(). 2006-03-06 07:42:52 +00:00
wicontrol Spell powersavesleep correctly. 2005-08-22 09:59:13 +00:00
wlandebug Style: NO_MAN doesn't need any value. 2006-03-15 10:46:38 +00:00
wlconfig
wpa avoid null ptr deref 2006-05-27 23:04:30 +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 o Re-arrange parentheses and fix a conition logic for !do_dns case. 2006-06-09 14:01:07 +00:00
ypset
zic Expand contractions. 2005-02-13 23:45:54 +00:00
zzz
Makefile Remove remnants of Alpha. 2006-08-02 17:16:48 +00:00
Makefile.inc