Charles Campbell <[email protected]> wrote: > Hello! > > Recently, as in the last year or so, I've been getting unwanted escape > sequences; I've tracked down the issue to a simple operation: > > vim -u NONE -U NONE > :q > > and I get left with <esc>>4;m<esc>>4;2m. My system uses linux (Scientific > Linux 7.9), > xterm-256color, and terminfo. In using infotmp xterm-256color I do not find > any > escape sequences using that format. There are three that are close: > > is2=\E[!p\E[?3;4l\E[4l\E> > rmkx=\E[?1l\E> > rs2=\E[!p\E[?3;4l\E[4l\E> > > (ie. these are the only places in the infocmp output that show \E> anywhere). > > These unwanted escape sequences are normally just annoying, but they have > bothered some scripts I've written (bothered = as in caused to fail). > > Regards, > Chip Campbell
I had the same problem with at least xfce4-terminal or gnome-terminal in Ubuntu-18.04. Adding this at the beginning of ~/.vimrc works around it: " Work around spurious characters in old terminals when doing :!date set t_TE= t_TI= The work around is not needed anymore in Ubuntu-20.04. Regards Dominique -- -- 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/CAON-T_jLS9XgkzbHR7k4400YnJZY6D67j0SUCLDWhcrfxAbn1g%40mail.gmail.com.
