[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Strange problem when pasting text into vile
From: |
Steffen Nurpmeso |
Subject: |
Re: Strange problem when pasting text into vile |
Date: |
Mon, 28 Oct 2024 16:57:43 +0100 |
User-agent: |
s-nail v14.9.25-623-g805238bd9b |
Chris Green wrote in
<Zx9nWJdYiodXGkK3@q957>:
|On Mon, Oct 28, 2024 at 10:13:44AM +0000, Chris Green wrote:
|> I have a peculiar problem when pasting text into vile.
|>
|> When I paste text vile seems to see a collection of rather random
|> commands rather than just the pasted text. I've checked thoroughly
|> that the past doesn't contain any extra control characters or anything
|> like that, everywhere else I paste the same text I get just the pasted
|> characters and nothing else.
|>
|> The same text pastes into xvile with no problems.
|>
|> This is 'middle button' paste on xubuntu Linux.
|>
|>
|> For example when I select the word 'pasting' in this E-Mail and paste
|> it into an empty buffer of another instance of file I get 'MSTINGEPI'
|> at the top of the empty buffer.
|>
|> Even more wierdly pasting the same text into this instance of vile
|> (being used to compose this E-Mail works perfectly).
|>
|> So maybe this is something to do with the terminal window that vile is
|> running in. But pasting the same text in the terminal outside of vile
|> shows no oddities.
|>
|> Any ideas what might be causing this? It's been happening for quite a
|> while now but I've only just got fed up enough with it to do
|> something! :-)
|>
|Ah, doing 'reset' in the terminal window where vile is acting oddly
|fixes the problem. Now all I have to do is work out what changes the
|terminal state such that vile goes wonky.
|
|I'll just have to check when it next happens and then look back
|through the shell history to see what might have caused the problem.
|I can also maybe look at the terminal settings next time it happens to
|see what specific setting is causing the issue.
Does vile support bracketed paste mode? Doing a
git grep -i 'bracketed' master
does not show something relevant.
That would be fun given how causal Thomas Dickey was for the
feature as such, *if* i recall correctly.
--steffen
|
|Der Kragenbaer, The moon bear,
|der holt sich munter he cheerfully and one by one
|einen nach dem anderen runter wa.ks himself off
|(By Robert Gernhardt)
|
|And in Fall, feel "The Dropbear Bard"s ball(s).
|
|The banded bear
|without a care,
|Banged on himself fore'er and e'er
|
|Farewell, dear collar bear