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. :(
On 2021/12/10 11:58 AM, Felix Miata wrote:
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 am a bit lost. I thought the original problem was that pasting in vim was indenting incorrectly, which is a well known things. By the way default vim settings does not mean "good settings", vim is well known for not having the best initial setting, mostly for historical reasons (see neovim in comparison). So what exactly is the issue we are discussing?
Cheers Michele
Michele Calgaro composed on 2021-12-12 18:06 (UTC+0900):
Felix Miata wrote:
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 am a bit lost. I thought the original problem was that pasting in vim was indenting incorrectly, which is a well knownthings. By the way default vim settings does not mean "good settings", vim is well known for not having the best initial setting, mostly for historical reasons (see neovim in comparison). So what exactly is the issue we are discussing
I have no idea why David Rankin brought up vim. I wrote the OP, which does not contain the strings " vim " or " vi " in body or subject: https://mail.trinitydesktop.org/mailman3/hyperkitty/list/devels@trinitydesktop.org/message/G7AM4QYHT4RDUOR37NWKI3JNBAG24RQV/
On 2021/12/12 06:24 PM, Felix Miata wrote:
Michele Calgaro composed on 2021-12-12 18:06 (UTC+0900):
Felix Miata wrote:
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.
Hi Felix I just tried to copy-paste in mcedit using two konsoles as per your original post. I don't get any extra indentation. Everything is pasted as it was copied. Not sure why you see otherwise, could be a mcedit setting??
Cheers Michele
Michele Calgaro via tde-devels composed on 2021-12-14 11:45 (UTC+0900):
Felix Miata wrote:
Michele Calgaro composed on 2021-12-12 18:06 (UTC+0900):
Felix Miata wrote:
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 just tried to copy-paste in mcedit using two konsoles as per your original post. I don't get any extra indentation. Everything is pasted as it was copied. Not sure why you see otherwise, could be a mcedit setting??
It's a sometimes thing, meaning some operating system installs and not others. I haven't inventoried, but it seems to be Mageia and Fedora pretty much, possibly in openSUSE too. I can't recall if it has ever shown up in Debian or *buntu. What are you testing in?
It's a sometimes thing, meaning some operating system installs and not others. I haven't inventoried, but it seems to be Mageia and Fedora pretty much, possibly in openSUSE too. I can't recall if it has ever shown up in Debian or *buntu. What are you testing in?
Hi Felix, I am using Debian testing (bookworm). Maybe different distros have different setup for mcedit pasting?? Just speculating of course :-) Cheers Michele
Michele Calgaro via tde-devels composed on 2021-12-15 10:29 (UTC+0900):
It's a sometimes thing, meaning some operating system installs and not others. I haven't inventoried, but it seems to be Mageia and Fedora pretty much, possibly in openSUSE too. I can't recall if it has ever shown up in Debian or *buntu. What are you testing in?
I am using Debian testing (bookworm). Maybe different distros have different setup for mcedit pasting?? Just speculating of course :-)
François builds packages for rpm distros. Maybe he uses one. Are there any other devs here who might be using any rpm distro that can reproduce what is common here, maybe David C Rankin?
On 2021-12-14 20:47:45 Felix Miata wrote:
Michele Calgaro via tde-devels composed on 2021-12-15 10:29 (UTC+0900):
It's a sometimes thing, meaning some operating system installs and not others. I haven't inventoried, but it seems to be Mageia and Fedora pretty much, possibly in openSUSE too. I can't recall if it has ever shown up in Debian or *buntu. What are you testing in?
I am using Debian testing (bookworm). Maybe different distros have different setup for mcedit pasting?? Just speculating of course :-)
François builds packages for rpm distros. Maybe he uses one. Are there any other devs here who might be using any rpm distro that can reproduce what is common here, maybe David C Rankin?
I don't remember ever seeing this on my OpenSUSE (any version).
Leslie
J Leslie Turriff composed on 2021-12-15 19:58 (UTC-0600):
Felix Miata wrote:
others. I haven't inventoried, but it seems to be Mageia and Fedora pretty much, possibly in openSUSE too....
^^^^^^^^ ^^^^^^^^
François builds packages for rpm distros. Maybe he uses one. Are there any other devs here who might be using any rpm distro that can reproduce what is common here, maybe David C Rankin?
I don't remember ever seeing this on my OpenSUSE (any version).
# grep ^NAME /etc/os-release NAME="openSUSE Leap" # grep ^NAME /etc/os-release NAME="openSUSE Tumbleweed"
Please note the spelling of your OS as it uses it. You should do the same.
BTW: I don't remember either. It seems to be a Fedora/Mageia issue.
On 2021/12/15 10:29 AM, Michele Calgaro wrote:
It's a sometimes thing, meaning some operating system installs and not others. I haven't inventoried, but it seems to be Mageia and Fedora pretty much, possibly in openSUSE too. I can't recall if it has ever shown up in Debian or *buntu. What are you testing in?
Hi Felix, I am using Debian testing (bookworm). Maybe different distros have different setup for mcedit pasting?? Just speculating of course :-) Cheers Michele
I managed to reproduce the issue Felix was having. I run Konsole and XTerm side by side, open nvim in both with the exact same setup. Copying and pasting from Kate to nvim in insert mode using the mouse works fine in XTerm, while it comes up with unwanted progressive indentation in Konsole. The settings and operations were exactly the same, so this points to a Konsole issue.
Cheers Michele