Re: [dev] [st] pasting to gvim sucks

From: Christoph Lohmann <20h_AT_r-36.net>
Date: Sat, 13 Apr 2013 08:53:08 +0200

Greetings.

On Sat, 13 Apr 2013 08:53:08 +0200 Alexander Sedov <alex0player_AT_gmail.com> wrote:
> > Maybe pasting to st should be fixed too, so when newlines are pasted,
> > they are translated to ^M. But '\n' should be copied, otherwise pasting
> > to graphical programs is broken.
> That's how urxvt does it and this is what my patch originally done
> (sort of, translation was in ttywrite while in should've been in
> selection notify or whatever is it called), but __20h__ applied it
> that way. If someone would convince him, that would be great, because
> making files with xclip -o is also terrible now.

I merged the patches from the list and applied them. St now does on copy
replace ’\r’ with ’\n’ and when it receives some paste item ’\n’ is re‐
placed with ’\r’.

Comrades, please try out the latest st and report back in which applica‐
tion pasting does not work like you want it to behave and in which case
(pasting to or copying from the application) this is happening.


Sincerely,

Christoph Lohmann
Received on Sat Apr 13 2013 - 08:53:08 CEST

This archive was generated by hypermail 2.3.0 : Sat Apr 13 2013 - 09:00:05 CEST