gibboris at gmail.com
Sun Jun 27 15:06:25 CEST 2010
On Sat, Jun 26, 2010 at 09:31:16PM +0300, F10 wrote:
> I have made simple script
> http://pastebin.org/360502 , save as /usr/lib/urxvt/perl/gt
> URxvt.keysym.C-M-e: perl:gt:true
> URxvt.gt_lang.dst: ru
> URxvt.gt_lang.src: en
> urxvt -pe gt
> Select some words and press Ctrl+Alt+e
> but it won't work with cyrrilic.
> any ideas?
Quite a nice extension.
I think it would be even nicer to do something like :
So we don't need 2 more Xresources. Perl would just have to split $cmd
in on_user_command() and pass them to gt_upload().
Alson using locale_decode() I still get html entities like (
Maybe decode_entities() from HTML::Entities would be a better alternative.
Thanks for sharing.
More information about the rxvt-unicode