Gleb Smirnoff
b9124a7354
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
..
2005-01-18 20:02:45 +00:00
2004-08-07 04:19:37 +00:00
2005-11-01 22:44:08 +00:00
2006-06-07 04:58:54 +00:00
2006-03-21 09:00:51 +00:00
2005-02-13 22:25:33 +00:00
2005-05-30 18:44:43 +00:00
2005-03-24 01:26:40 +00:00
2005-05-20 12:44:04 +00:00
2006-02-09 12:49:39 +00:00
2006-06-19 17:12:25 +00:00
2005-02-09 18:07:17 +00:00
2006-02-02 10:15:30 +00:00
2006-02-02 10:15:30 +00:00
2006-02-02 10:15:30 +00:00
2005-05-04 08:57:12 +00:00
2006-06-02 00:29:01 +00:00
2005-07-15 08:04:32 +00:00
2005-07-15 15:32:52 +00:00
2006-03-17 18:54:44 +00:00
2006-07-14 09:07:56 +00:00
2006-01-23 13:55:32 +00:00
2005-07-14 20:29:08 +00:00
2006-05-05 15:01:25 +00:00
2005-10-19 15:37:43 +00:00
2005-08-25 17:01:06 +00:00
2005-02-13 22:25:33 +00:00
2004-08-07 04:19:37 +00:00
2005-01-18 20:02:45 +00:00
2006-07-20 09:38:46 +00:00
2006-07-20 09:11:08 +00:00
2005-12-23 15:33:31 +00:00
2005-02-13 22:25:33 +00:00
2005-08-24 17:24:39 +00:00
2005-03-11 14:20:09 +00:00
2005-11-28 13:51:36 +00:00
2005-01-18 20:02:45 +00:00
2005-01-18 20:02:45 +00:00
2005-07-25 14:44:11 +00:00
2005-07-25 14:44:11 +00:00
2005-06-10 06:12:53 +00:00
2005-01-18 20:02:45 +00:00
2005-01-11 11:47:22 +00:00
2005-02-09 18:07:17 +00:00
2005-05-02 07:44:24 +00:00
2005-10-26 22:23:52 +00:00
2005-11-03 07:28:46 +00:00
2006-07-20 09:38:46 +00:00
2005-02-13 22:25:33 +00:00
2005-03-23 09:40:18 +00:00
2005-05-20 12:50:47 +00:00
2005-01-27 14:52:47 +00:00
2005-01-27 14:52:47 +00:00
2006-05-20 19:17:47 +00:00
2006-07-09 21:16:06 +00:00
2005-02-09 18:07:17 +00:00
2006-07-31 19:15:10 +00:00
2006-04-16 22:30:24 +00:00
2005-01-17 07:44:44 +00:00
2006-05-22 07:36:45 +00:00
2005-08-05 07:17:23 +00:00
2006-06-11 12:57:41 +00:00
2006-04-19 10:12:10 +00:00
2005-08-19 11:03:49 +00:00
2005-12-29 20:11:46 +00:00
2006-01-09 19:54:28 +00:00
2004-08-07 04:28:56 +00:00
2005-02-10 09:09:18 +00:00
2006-06-29 09:18:16 +00:00
2005-01-18 20:02:45 +00:00
2006-08-05 18:22:11 +00:00
2004-07-02 23:13:00 +00:00
2005-12-13 17:07:52 +00:00
2006-07-27 14:52:12 +00:00
2005-01-25 14:25:18 +00:00
2005-06-10 06:12:53 +00:00
2006-08-07 10:29:18 +00:00
2005-06-10 06:12:53 +00:00
2005-03-29 20:17:47 +00:00
2006-04-30 22:09:47 +00:00
2006-01-01 20:19:49 +00:00
2006-07-27 15:31:13 +00:00
2005-01-18 20:02:45 +00:00
2006-05-11 17:23:57 +00:00
2005-06-14 12:26:36 +00:00
2005-11-16 02:47:12 +00:00
2006-07-08 13:49:24 +00:00
2006-07-20 09:47:15 +00:00
2005-02-13 22:25:33 +00:00
2006-05-17 18:41:05 +00:00
2004-07-02 23:13:00 +00:00
2006-07-03 10:55:22 +00:00
2005-07-25 14:44:11 +00:00
2005-07-25 14:44:11 +00:00
2005-07-25 14:44:11 +00:00
2004-09-21 19:01:48 +00:00
2005-10-26 18:46:27 +00:00
2006-07-27 15:31:13 +00:00
2006-07-21 22:13:06 +00:00
2005-12-21 10:12:05 +00:00
2006-08-07 14:17:05 +00:00
2005-01-18 20:02:45 +00:00
2005-01-04 20:07:12 +00:00
2006-05-05 15:01:25 +00:00
2006-06-04 15:39:19 +00:00
2006-08-01 22:19:01 +00:00
2004-07-02 23:13:00 +00:00
2005-10-17 15:28:25 +00:00
2005-08-18 11:11:40 +00:00
2005-01-18 20:02:45 +00:00
2006-07-08 14:34:56 +00:00
2006-02-27 14:25:32 +00:00
2006-04-05 15:12:25 +00:00
2005-01-27 14:52:47 +00:00
2006-05-30 07:08:41 +00:00
2006-02-19 00:40:28 +00:00
2006-03-17 18:54:44 +00:00
2005-02-13 22:25:33 +00:00
2006-03-17 18:54:44 +00:00
2005-06-03 15:25:13 +00:00
2005-06-10 06:12:53 +00:00
2006-02-02 10:15:30 +00:00
2005-11-17 19:31:52 +00:00
2005-07-31 08:25:53 +00:00
2005-06-15 10:13:04 +00:00
2006-02-25 23:50:15 +00:00
2004-08-07 04:28:56 +00:00
2005-02-09 18:07:17 +00:00
2005-02-13 22:25:33 +00:00
2005-01-18 20:02:45 +00:00
2006-07-27 15:31:13 +00:00
2005-06-10 20:52:36 +00:00
2005-07-25 14:44:11 +00:00
2005-07-25 14:44:11 +00:00
2006-07-27 15:31:13 +00:00
2006-05-27 02:37:37 +00:00
2005-01-18 20:02:45 +00:00
2005-05-27 00:05:16 +00:00
2005-05-02 14:02:43 +00:00
2004-12-21 08:47:35 +00:00
2005-02-13 22:25:33 +00:00
2006-03-17 18:54:44 +00:00
2006-07-27 15:31:13 +00:00
2006-07-27 15:31:13 +00:00
2005-01-18 20:02:45 +00:00
2006-07-27 15:31:13 +00:00
2005-06-03 17:38:33 +00:00
2005-02-13 23:45:54 +00:00
2006-05-10 18:44:10 +00:00
2006-03-17 18:54:44 +00:00
2005-01-27 14:52:47 +00:00
2005-01-27 14:52:47 +00:00
2004-10-02 18:51:37 +00:00
2005-04-09 15:00:51 +00:00
2005-11-29 16:33:44 +00:00
2005-01-18 20:02:45 +00:00
2006-03-23 07:55:33 +00:00
2006-07-25 01:03:55 +00:00
2006-07-27 14:52:12 +00:00
2006-03-17 18:54:44 +00:00
2006-03-17 18:54:44 +00:00
2005-07-14 20:29:08 +00:00
2006-03-17 18:54:44 +00:00
2005-01-18 20:02:45 +00:00
2004-12-21 12:44:20 +00:00
2006-07-27 15:31:13 +00:00
2006-07-27 14:52:12 +00:00
2005-01-18 20:02:45 +00:00
2006-04-23 17:06:18 +00:00
2004-05-24 13:22:00 +00:00
2005-09-17 12:52:04 +00:00
2005-10-28 22:47:40 +00:00
2006-03-15 10:46:38 +00:00
2005-09-21 14:30:14 +00:00
2006-03-06 07:42:52 +00:00
2005-08-22 09:59:13 +00:00
2006-03-15 10:46:38 +00:00
2004-07-02 23:13:00 +00:00
2006-05-27 23:04:30 +00:00
2005-02-13 22:25:33 +00:00
2005-02-13 22:25:33 +00:00
2004-05-24 16:10:57 +00:00
2005-04-12 15:02:57 +00:00
2006-06-09 14:01:07 +00:00
2004-10-17 19:33:33 +00:00
2005-02-13 23:45:54 +00:00
2004-06-13 18:03:44 +00:00
2006-08-02 17:16:48 +00:00