Bram Moolenaar [Sat, 12 Aug 2017 19:15:34 +0000 (21:15 +0200)]
patch 8.0.0920: cursor wrong after switching altscreen in terminal
Problem: The cursor shape is wrong after switch back from an alternate
screen in a terminal window. (arius Gedminas)
Solution: Change bitfield to unsigned. Set flag that cursor shape was set.
Bram Moolenaar [Sat, 12 Aug 2017 14:39:05 +0000 (16:39 +0200)]
patch 8.0.0917: MS-Windows:CTRL-C handling in terminal window is wrong
Problem: MS-Windows:CTRL-C handling in terminal window is wrong
Solution: Pass CTRL-C as a key. Turn CTRL-BREAK into a key stroke. (Yasuhiro
Matsumoto, closes #1965)
Bram Moolenaar [Sat, 12 Aug 2017 13:12:30 +0000 (15:12 +0200)]
patch 8.0.0914: highlight attributes are always combined
Problem: Highlight attributes are always combined.
Solution: Add the 'nocombine' value to replace attributes instead of
combining them. (scauligi, closes #1963)
Bram Moolenaar [Sat, 12 Aug 2017 12:52:15 +0000 (14:52 +0200)]
patch 8.0.0913: MS-Windows: CTRL-C kills shell in terminal window
Problem: MS-Windows: CTRL-C kills shell in terminal window instead of the
command running in the shell.
Solution: Make CTRL-C only send a CTRL_C_EVENT and have CTRL-BREAK kill the
job. (partly by Yasuhiro Matsumoto, closes #1962)
Bram Moolenaar [Fri, 11 Aug 2017 18:55:55 +0000 (20:55 +0200)]
patch 8.0.0907: with cp932 font names might be misinterpreted
Problem: With cp932 font names might be misinterpreted.
Solution: Do not see "_" as a space when it is the second byte of a double
byte character. (Ken Takata)
Bram Moolenaar [Fri, 11 Aug 2017 17:12:11 +0000 (19:12 +0200)]
patch 8.0.0902: cannot specify directory or environment for a job
Problem: Cannot specify directory or environment for a job.
Solution: Add the "cwd" and "env" arguments to job options. (Yasuhiro
Matsumoto, closes #1160)
Bram Moolenaar [Fri, 11 Aug 2017 14:24:50 +0000 (16:24 +0200)]
patch 8.0.0898: can't use the alternate screen in a terminal window
Problem: Can't use the alternate screen in a terminal window.
Solution: Initialze the alternate screen. (Yasuhiro Matsumoto, closes
#1957) Add term_getaltscreen().
Bram Moolenaar [Thu, 10 Aug 2017 21:15:19 +0000 (23:15 +0200)]
patch 8.0.0896: cannot close a terminal window when the job ends
Problem: Cannot automaticlaly close a terminal window when the job ends.
Solution: Add the ++close argument to :term. Add the term_finish option to
term_start(). (Yasuhiro Matsumoto, closes #1950) Also add
++open.
Bram Moolenaar [Sun, 6 Aug 2017 15:53:31 +0000 (17:53 +0200)]
patch 8.0.0882: term_scrape() and term_getline() require two arguments
Problem: term_scrape() and term_getline() require two arguments but it is
not enforced.
Solution: Correct minimal number of arguments. (Hirohito Higashi) Update
documentation. (Ken Takata)
Bram Moolenaar [Sat, 5 Aug 2017 21:09:31 +0000 (23:09 +0200)]
patch 8.0.0876: backslashes and wildcards in backticks don't work
Problem: MS-Windows: Backslashes and wildcards in backticks don't work.
Solution: Do not handle backslashes inside backticks in the wrong place.
(Yasuhiro Matsumoto, closes #1942)
Bram Moolenaar [Sat, 5 Aug 2017 17:34:47 +0000 (19:34 +0200)]
patch 8.0.0872: no mouse scroll with a terminal window
Problem: Using mouse scroll while a terminal window has focus and the mouse
pointer is on another window does not work. Same for focus in a
non-terminal window ahd the mouse pointer is over a terminal
window.
Solution: Send the scroll action to the right window.
Bram Moolenaar [Sat, 5 Aug 2017 15:13:48 +0000 (17:13 +0200)]
patch 8.0.0868: cannot specify the terminal size on the command line
Problem: Cannot specify the terminal size on the command line.
Solution: Use the address range for the terminal size. (Yasuhiro Matsumoto,
closes #1941)
Bram Moolenaar [Sat, 5 Aug 2017 14:33:56 +0000 (16:33 +0200)]
patch 8.0.0867: job and channel in a dict value not quoted
Problem: When using a job or channel value as a dict value, when turning it
into a string the quotes are missing.
Solution: Add quotes to the job and channel values. (Yasuhiro Matsumoto,
closes #1930)
Bram Moolenaar [Sat, 5 Aug 2017 12:10:48 +0000 (14:10 +0200)]
patch 8.0.0863: a remote command does not work in the terminal window
Problem: A remote command starting with CTRL-\ CTRL-N does not work in the
terminal window. (Christian J. Robinson)
Solution: Use CTRL-\ CTRL-N as a prefix or a Normal mode command.
Bram Moolenaar [Fri, 4 Aug 2017 19:37:54 +0000 (21:37 +0200)]
patch 8.0.0860: side effects when channel appends to a buffer
Problem: There may be side effects when a channel appends to a buffer that
is not the current buffer.
Solution: Properly switch to another buffer before appending. (Yasuhiro
Matsumoto, closes #1926, closes #1937)
Bram Moolenaar [Thu, 3 Aug 2017 18:44:48 +0000 (20:44 +0200)]
patch 8.0.0854: no redraw after terminal was closed
Problem: No redraw after terminal was closed.
Solution: Set typebuf_was_filled. (Yasuhiro Matsumoto, closes #1925, closes
#1924) Add function to check for messages even when input is
available.
Bram Moolenaar [Thu, 3 Aug 2017 15:37:48 +0000 (17:37 +0200)]
patch 8.0.0850: MS-Windows: error message while starting up may be broken
Problem: MS-Windows: Depending on the console encoding, an error message
that is given during startup may be broken.
Solution: Convert the message to the console codepage. (Yasuhiro Matsumoto,
closes #1927)
Bram Moolenaar [Thu, 3 Aug 2017 15:06:45 +0000 (17:06 +0200)]
patch 8.0.0849: crash when job exit callback wipes the terminal
Problem: Crash when job exit callback wipes the terminal.
Solution: Check for b_term to be NULL. (Yasuhiro Matsumoto, closes #1922)
Implement options for term_start() to be able to test.
Make term_wait() more reliable.
Bram Moolenaar [Thu, 3 Aug 2017 11:51:25 +0000 (13:51 +0200)]
patch 8.0.0846: cannot get the name of the pty of a job
Problem: Cannot get the name of the pty of a job.
Solution: Add the "tty" entry to the job info. (Ozaki Kiichi, closes #1920)
Add the term_gettty() function.
Bram Moolenaar [Wed, 2 Aug 2017 20:07:12 +0000 (22:07 +0200)]
patch 8.0.0840: MS-Windows: fopen() and open() prototypes are wrong
Problem: MS-Windows: fopen() and open() prototypes do not match the ones in
the system header file. Can't build without FEAT_MBYTE.
Solution: Add "const". Move macro to after including protoo.h.
Bram Moolenaar [Tue, 1 Aug 2017 15:14:21 +0000 (17:14 +0200)]
patch 8.0.0829: job running in terminal can't communicate with Vim
Problem: A job running in a terminal window cannot easily communicate with
the Vim it is running in.
Solution: Pass v:servername in an environment variable. (closes #1908)
patch 8.0.0824: in Terminal mode the cursor and screen gets redrawn
Problem: In Terminal mode the cursor and screen gets redrawn when the job
produces output.
Solution: Check for tl_terminal_mode. (partly by Yasuhiro Matsumoto, closes
#1904)