To: vim_dev@googlegroups.com Subject: Patch 8.2.0767 Fcc: outbox From: Bram Moolenaar Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit ------------ Patch 8.2.0767 Problem: ModifyOtherKeys active when using a shell command in autocmd. Solution: Output T_CTE when going to cooked mode. (closes 5617) Files: src/term.c *** ../vim-8.2.0766/src/term.c 2020-04-26 16:52:45.670780537 +0200 --- src/term.c 2020-05-16 14:57:08.201122161 +0200 *************** *** 3474,3483 **** --- 3474,3489 ---- if (termcap_active) { if (tmode != TMODE_RAW) + { out_str(T_BD); // disable bracketed paste mode + out_str(T_CTE); // possibly disables modifyOtherKeys + } else + { out_str(T_BE); // enable bracketed paste mode (should // be before mch_settmode(). + out_str(T_CTI); // possibly enables modifyOtherKeys + } } out_flush(); mch_settmode(tmode); // machine specific function *** ../vim-8.2.0766/src/version.c 2020-05-16 14:07:34.816736239 +0200 --- src/version.c 2020-05-16 14:42:42.752931095 +0200 *************** *** 748,749 **** --- 748,751 ---- { /* Add new patch number below this line */ + /**/ + 767, /**/ -- hundred-and-one symptoms of being an internet addict: 105. When someone asks you for your address, you tell them your URL. /// Bram Moolenaar -- Bram@Moolenaar.net -- http://www.Moolenaar.net \\\ /// sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\ \\\ an exciting new programming language -- http://www.Zimbu.org /// \\\ help me help AIDS victims -- http://ICCF-Holland.org ///