rxvt-unicode and problem with mouse selection with wget on cs_CZ.UTF-8 locale
Marc Lehmann
schmorp at schmorp.de
Fri May 2 23:38:39 CEST 2008
On Fri, May 02, 2008 at 01:58:48PM +0200, Petr Vorel <pevik at seznam.cz> wrote:
> I've got problem with mouse selection on rxvt-unicode version 9.02 (on Debian GNU/Linux as well as on original version).
>
> When I run wget, I get translated message
this is both a combination of the default selection regexes not helping you
in this case (you can provide your own) and a performance-workaround for perl
5.8 + unicode. once 5.10 becomes widespread, this can be removed, bringing
back full unicode capabilities to the pattern matching.
> When I switch to locale C, it works ok.
Yes, because there is a regex for `'.
> How can I persuade rxvt-unicode not to copy czech quotation marks? („ and “)
> I read http://pod.tst.eu/http://cvs.schmorp.de/rxvt-unicode/doc/rxvt.7.pod#Keyboard_Mouse_amp_User_Interaction
> and tried to put
> URxvt.selection.pattern-0: ([^"„“&'()*,;<=>?@[\\\\]^`{|})]+)
This currently fails because matching is done in utf-8 space and not in
unicode-space, so the quotaiton marks will be interpreted as multiple
characters.
You cna try getting an alternation to work („|...), but I am too tired to
come up with a regex. An easy first try would be: „(.*?)“
This will work even in utf-8 space.
--
The choice of a Deliantra, the free code+content MORPG
-----==- _GNU_ http://www.deliantra.net
----==-- _ generation
---==---(_)__ __ ____ __ Marc Lehmann
--==---/ / _ \/ // /\ \/ / pcg at goof.com
-=====/_/_//_/\_,_/ /_/\_\
More information about the rxvt-unicode
mailing list