thomas wrote: > On Sun, Feb 09, 2025 at 07:44:21AM +0000, Chris Green wrote: > > > > However I **haven't** turned off bracketed paste for root so I think > > that's when I get bitten, having logged in to root to do somwthing and > > then back out again.
I _think_ it shouldn't matter that it's on, unless a) the root shell dies in a way where it can't clean up (network disconnect, kill -9). But perhaps there are issues with foregrounding/backgrounding vile or the shell. > > agreed - perhaps adding the map that Paul and Brendan came up with to > vileinit.rc will "fix" the problem (for vile). Thinking about it some more, those maps are fine as a way to make it "safe" for bracketed paste to get left on inadvertently somehow. In fact, they make bracketed paste work pretty well, and I'll definitely be leaving them in my .vilerc. But if one were serious about supporting b-p, I believe vile needs to enable it on entry, disable it on exit, and also disable it across suspend and shell invocations. I don't think the hook mechanism is complete enough to allow for a complete DIY solution. paul =---------------------- paul fox, [email protected] (arlington, ma, where it's 24.7 degrees)
