Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.debian.bugs.dist > #1130939

Bug#1027435: ncurses-base: Breaks pasting in vim within tmux

From Antoine Le Gonidec <debian.bugs@dotslashplay.it>
Newsgroups linux.debian.bugs.dist
Subject Bug#1027435: ncurses-base: Breaks pasting in vim within tmux
Date 2022-12-31 14:40 +0100
Message-ID <FIKfD-eBjY-19@gated-at.bofh.it> (permalink)
Organization linux.* mail to news gateway

Show all headers | View raw


Package: ncurses-base
Version: 6.3+20221224-2
Severity: important

Since the 6.3+20221224-2 update, vim pasting behaviour is broken when
TERM is set to "tmux" or "tmux-256color".

To reproduce it, open vim, type a few word, then try to copy/paste them
using selection then middle mouse clic, or Ctrl + Shift + C then Ctrl +
Shift + V. The pasting then has a strange behaviour, it looks like vim
automatically goes back to edition mode (instead of insertion mode) at
the beginning of the paste process, then treat the following characters
as commands (so it will go back to insertion mode at the first "i", "a"
or "s").

This issue does not happen outside of tmux, or if TERM is set to "xterm"
instead of "tmux". Reverting to ncurses-base 6.3+20220423-2 is another
way to work around this unexpected behaviour.

-- System Information:
Debian Release: bookworm/sid
  APT prefers unstable-debug
  APT policy: (500, 'unstable-debug'), (500, 'testing-debug'), (500, 'stable-debug'), (500, 'oldstable-debug'), (500, 'unstable'), (500, 'testing'), (500, 'stable'), (500, 'oldstable'), (1, 'experimental-debug'), (1, 'experimental')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 6.0.0-6-amd64 (SMP w/8 CPU threads; PREEMPT)
Locale: LANG=fr_FR.UTF-8, LC_CTYPE=fr_FR.UTF-8 (charmap=UTF-8), LANGUAGE not set
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

-- no debconf information

Back to linux.debian.bugs.dist | Previous | Next — Next in thread | Find similar | Unroll thread


Thread

Bug#1027435: ncurses-base: Breaks pasting in vim within tmux Antoine Le Gonidec <debian.bugs@dotslashplay.it> - 2022-12-31 14:40 +0100
  Bug#1027435: ncurses-base: Breaks pasting in vim within tmux Thomas Dickey <dickey@his.com> - 2022-12-31 15:00 +0100
    Bug#1027435: ncurses-base: Breaks pasting in vim within tmux Sven Joachim <svenjoac@gmx.de> - 2023-01-01 14:30 +0100
      Bug#1027435: ncurses-base: Breaks pasting in vim within tmux Sven Joachim <svenjoac@gmx.de> - 2023-01-01 17:50 +0100
  Bug#1027435: ncurses-base: Breaks pasting in vim within tmux Sven Joachim <svenjoac@gmx.de> - 2023-01-01 18:30 +0100
    Bug#1027674: vim: bracketed paste is broken before patch 9.0.1117 Sven Joachim <svenjoac@gmx.de> - 2023-01-01 19:00 +0100
      Bug#1027674: vim: bracketed paste is broken before patch 9.0.1117 James McCoy <jamessan@debian.org> - 2023-01-01 22:00 +0100
        Bug#1027674: vim: bracketed paste is broken before patch 9.0.1117 Sven Joachim <svenjoac@gmx.de> - 2023-01-01 22:40 +0100
    Bug#1027435: ncurses-base: Breaks pasting in vim within tmux Sven Joachim <svenjoac@gmx.de> - 2023-01-11 19:00 +0100
      Bug#1027435: ncurses-base: Breaks pasting in vim within tmux Sven Joachim <svenjoac@gmx.de> - 2023-01-22 20:40 +0100
  Bug#1027435: Broke my hold vim* packages 王昊然 <msl0000023508@gmail.com> - 2023-02-15 06:40 +0100

csiph-web