Michele Calgaro composed on 2021-12-10 21:40 (UTC+0900):
Felix Miata wrote:
> I use trackballs that have no middle mouse
buttons, Kensington and Logitech.
> Pasting into vim (36M for software I never use)(running in Konsole)(Shift-INS)
> produces same problem. Pasting into Xterm (Shift-INS) works as expected. Pasting
> into mcedit (Shift-INS) running in Xterm works as expected. Fedora 35 tested here.
Do you mean pasting in Vim in Xterm or simply pasting
in Xterm?
Both. Vim was never installed until I needed to make this test, so no personal
settings to change its defaults, whatever/wherever they are. Just thought need
to test copy from raw Konsole to raw Konsole.....Nope, not definitive. Konsole
thinks it's a bunch of commands to run, spews out lots of command not founds,
but it looks like probably no extra characters. Maybe this is a clue? Pasting
into Xterm it's as if I was pasting into a text editor - extra characters are
absent.
I found /etc/virc dated 2 Dec in F35:
# cat /etc/virc
if v:lang =~ "utf8$" || v:lang =~ "UTF-8$"
set fileencodings=ucs-bom,utf-8,latin1
endif
set nocompatible " Use Vim defaults (much better!)
set bs=indent,eol,start " allow backspacing over everything in insert mode
"set ai " always set autoindenting on
"set backup " keep a backup file
set history=50 " keep 50 lines of command line history
set ruler " show the cursor position all the time
" Only do this part when compiled with support for autocommands
if has("autocmd")
augroup fedora
autocmd!
" In text files, always limit the width of text to 78 characters
" autocmd BufRead *.txt set tw=78
" When editing a file, always jump to the last cursor position
autocmd BufReadPost *
\ if line("'\"") > 0 && line ("'\"")
<= line("$") |
\ exe "normal! g'\"" |
\ endif
" don't write swapfile on most commonly used directories for NFS mounts or USB
sticks
autocmd BufNewFile,BufReadPre /media/*,/run/media/*,/mnt/* set
directory=~/tmp,/var/tmp,/tmp
" start with spec file template
autocmd BufNewFile *.spec 0r /usr/share/vim/vimfiles/template.spec
augroup END
endif
if &term=="xterm"
set t_Co=8
set t_Sb=dm
set t_Sf=dm
endif
Could it be relevant? I removed it, logged out & back in, and no improvement
re $SUBJECT. :(
--
Evolution as taught in public schools is, like religion,
based on faith, not based on science.
Team OS/2 ** Reg. Linux User #211409 ** a11y rocks!
Felix Miata