> > > The following Ex command causes vim to hang and it's not possible to 
> > > recover with CTRL-C:
> > > :e \`yes\`
> > 
> > `/usr/bin/vim` that comes with Ubuntu-18.04.05 i.e. vim-8.1.1453 does not 
> > have the bug.
> > So it's a regression.  Doing a git bisection, I found that:
> > * 8.2.0774 has the bug
> > * 8.2.0773 does not have the bug
> > 
> > So bug was introduced in this patch: 
> > https://github.com/vim/vim/commit/26e86445bf06ab7e7587dfdf75f33f7c70632b46 :
> > ```
> > commit 26e86445bf06ab7e7587dfdf75f33f7c70632b46
> > Author: Bram Moolenaar <[email protected]>
> > Date:   Sun May 17 14:06:16 2020 +0200
> > 
> >     patch 8.2.0774: t_TI and t_TE are output when using 'visualbell'
> >     
> >     Problem:    t_TI and t_TE are output when using 'visualbell'. (Dominique
> >                 Pelle)
> >     Solution:   Do not change the terminal mode for a short sleep.  Do not 
> > output
> >                 t_TI and t_TE when switching to/from TMODE_SLEEP. Make 
> > tmode an
> >                 enum.
> > ```
> 
> Reverting two parts of that indeed helps.  I'll have to see how we can
> fix it without rolling back that patch.

It looks like when modifyOtherKeys is enabled, the system does not
recognize CTRL-C as the interrupt character.  I had the same problem
inside Vim as well.  I'm not sure it works well to change the terminal
properties, thus disabling modifyOtherKeys while the shell is running
seems like the best solution.  I wonder if there is maybe another place
where this should be done.

-- 
Women are probably the main cause of free software starvation.

 /// Bram Moolenaar -- [email protected] -- 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    ///

-- 
-- 
You received this message from the "vim_dev" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php

--- 
You received this message because you are subscribed to the Google Groups 
"vim_dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/vim_dev/202008231310.07NDA8QB977117%40masaka.moolenaar.net.

Raspunde prin e-mail lui