vile
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Strange problem when pasting text into vile


From: Thomas Dickey
Subject: Re: Strange problem when pasting text into vile
Date: Mon, 28 Oct 2024 16:11:38 -0400

On Mon, Oct 28, 2024 at 04:57:43PM +0100, Steffen Nurpmeso wrote:
> 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

That could be a problem, e.g., if one's running some shell (or script)
which turns it on and doesn't bother to turn it off when running commands.

Not just for vile.
 
>   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.

https://invisible-island.net/xterm/xterm-paste64.html

-- 
Thomas E. Dickey <dickey@invisible-island.net>
https://invisible-island.net

Attachment: signature.asc
Description: PGP signature


reply via email to

[Prev in Thread] Current Thread [Next in Thread]