Scott Prager
74aef89720
term: use an argument vector for termopen().
...
Old behaviour: termopen('cmd') would run `&shell &shcf "cmd"`, which
caused the functional tests to fail on some systems due to the process
not "owning" the terminal. Also, it is inconsistent with jobstart().
Modify termopen() so that &shell is not invoked, but maintain the old
behaviour with :terminal. Factor the common code for building the
argument vector from jobstart() and modify the functional tests to call
termopen() instead of :terminal (fixes #2354 ).
Also:
* Add a 'name' option for termopen() so that `:terminal {cmd}` produces
a buffer named "term//{cwd}/{cmd}" and termopen() users can customize
the name.
* Update the documentation.
* Add functional tests for `:terminal` sinse its behaviour now differs
from termopen(). Add "test/functional/fixtures/shell-test.c" and move
"test/functional/job/tty-test.c" there, too.
Helped-by: Justin M. Keyes <@justinmk>
2015-05-02 09:47:29 -04:00
..
2015-03-24 19:33:42 -04:00
2014-07-29 02:12:31 +00:00
2015-04-11 18:32:18 +02:00
2015-04-27 01:08:17 -04:00
2015-04-25 18:00:26 -04:00
2014-07-29 02:12:31 +00:00
2014-10-06 22:43:30 +02:00
2015-04-24 22:17:02 -03:00
2015-02-03 18:52:18 -05:00
2014-07-29 02:12:31 +00:00
2014-07-29 02:12:31 +00:00
2015-04-28 23:08:31 -03:00
2015-05-02 09:47:29 -04:00
2014-07-29 02:12:31 +00:00
2015-03-24 19:33:42 -04:00
2014-07-29 02:12:31 +00:00
2014-07-29 02:12:31 +00:00
2015-03-24 19:33:42 -04:00
2014-07-29 02:12:31 +00:00
2015-03-24 19:29:29 -04:00
2015-03-24 19:29:29 -04:00
2014-07-29 02:12:31 +00:00
2015-04-10 16:38:11 -04:00
2015-04-25 18:00:37 -04:00
2014-07-29 02:12:31 +00:00
2014-07-29 02:12:31 +00:00
2015-04-10 16:38:11 -04:00
2014-07-29 02:12:31 +00:00
2015-04-25 18:00:26 -04:00
2015-04-25 18:00:26 -04:00
2015-04-25 18:00:26 -04:00
2015-03-29 20:35:44 -03:00
2015-04-16 20:22:05 -04:00
2014-09-21 15:20:21 +02:00
2014-07-29 02:12:31 +00:00
2015-04-28 23:08:31 -03:00
2014-12-09 19:25:07 -05:00
2015-04-10 16:38:11 -04:00
2015-01-24 16:50:42 -05:00
2015-04-27 01:08:17 -04:00
2015-04-13 10:20:42 -04:00
2014-12-07 23:45:28 -05:00
2015-03-29 20:35:45 -03:00
2015-03-24 19:29:29 -04:00
2015-04-21 06:20:23 +09:00
2015-04-09 16:38:32 +02:00
2015-04-27 04:58:37 -04:00
2014-08-18 17:45:17 +02:00
2015-03-24 19:33:42 -04:00
2015-03-24 19:29:29 -04:00
2015-01-21 07:27:01 +01:00
2015-01-04 20:28:08 +01:00
2014-07-29 02:12:31 +00:00
2014-07-29 02:12:31 +00:00
2014-07-29 02:12:31 +00:00
2014-07-29 02:12:31 +00:00
2014-07-29 02:12:31 +00:00
2014-07-29 02:12:31 +00:00
2014-07-29 02:12:31 +00:00
2014-07-29 02:12:31 +00:00
2014-12-19 15:28:49 -05:00
2014-12-19 15:28:49 -05:00
2015-04-25 18:00:26 -04:00
2014-07-29 02:12:31 +00:00
2014-12-19 15:28:49 -05:00
2015-03-08 17:23:48 -04:00
2014-10-06 22:43:30 +02:00
2015-03-24 19:33:42 -04:00
2014-07-29 02:12:31 +00:00
2014-07-29 02:12:31 +00:00
2014-07-29 02:12:31 +00:00
2014-10-06 22:43:30 +02:00
2015-04-25 23:32:48 -04:00
2014-07-29 02:12:31 +00:00
2015-03-24 19:33:42 -04:00
2015-04-10 16:38:11 -04:00
2015-04-28 23:08:31 -03:00
2015-01-22 21:57:03 -08:00
2015-03-24 19:29:29 -04:00
2015-04-10 16:38:11 -04:00
2015-04-25 18:00:26 -04:00
2014-10-07 02:45:27 +00:00
2014-12-03 14:46:37 -05:00
2015-03-24 19:33:42 -04:00
2015-03-24 19:33:42 -04:00
2015-03-24 19:33:42 -04:00
2015-01-22 21:57:03 -08:00
2015-03-24 19:33:42 -04:00
2014-07-29 02:12:31 +00:00
2015-01-22 21:57:03 -08:00
2015-02-03 18:52:18 -05:00
2014-07-29 02:12:31 +00:00
2015-01-22 21:57:03 -08:00
2015-02-03 15:15:54 -05:00
2014-07-29 02:12:31 +00:00
2014-07-29 02:12:31 +00:00
2015-01-22 21:57:03 -08:00
2014-07-29 02:12:31 +00:00
2015-01-22 21:57:03 -08:00
2014-07-29 02:12:31 +00:00
2014-07-29 02:12:31 +00:00
2014-07-29 02:12:31 +00:00
2014-07-29 02:12:31 +00:00
2015-02-03 16:51:41 -05:00
2015-01-22 21:57:03 -08:00
2014-07-29 02:12:31 +00:00
2014-07-29 02:12:31 +00:00
2014-07-29 02:12:31 +00:00
2014-07-29 02:12:31 +00:00
2015-04-10 16:38:11 -04:00
2014-07-29 02:12:31 +00:00
2014-07-29 02:12:31 +00:00
2014-07-29 02:12:31 +00:00
2014-07-29 02:12:31 +00:00
2015-04-25 18:00:26 -04:00
2015-02-03 15:15:54 -05:00
2015-05-02 09:47:29 -04:00
2015-05-01 16:17:03 -04:00
2015-04-25 18:00:19 -04:00
2015-01-22 21:57:03 -08:00
2015-04-28 23:08:31 -03:00