Re: [As-users] aterm - copy and paste

Jeff Krebs (jkrebs@tconl.com)
Thu, 25 Oct 2007 12:07:17 -0500


Added to aterm cvs :)

Jeff Krebs


* Kacper Kornet (kornet@camk.edu.pl) wrote:
> Hi,
> 
> I have problem with copy and paste of high-ascii characters in
> aterm-1.0.1. The characters are omitted when I copy from one aterm to
> the other. When I copy to/from xterm everything is correct. Also copying
> in the range of the same aterm works well.
> 
> I have found a solution which works for me (patch enclosed), but as I
> know nearly nothing about xlib, I am not sure about its correctness.
> 
> With best wishes,
> -- 
>   Kacper Kornet

> --- src/screen.c.orig	2006-03-30 00:32:07.000000000 +0200
> +++ src/screen.c	2007-10-25 05:27:46.000000000 +0200
> @@ -2883,7 +2883,7 @@
>          selection.type = 1;
>  		/* "fix" for the high-ascii pasting? : */
>  		/* may need to try all three : aterm_XA_UTF8_STRING, _XA_COMPAUND_TEXT and XA_STRING in that order */
> -		XConvertSelection(Xdisplay, XA_PRIMARY, XA_STRING, aterm_XA_VT_SELECTION, TermWin.vt,tm);
> +		XConvertSelection(Xdisplay, XA_PRIMARY, _XA_COMPAUND_TEXT, aterm_XA_VT_SELECTION, TermWin.vt,tm);
>  /*	XConvertSelection(Xdisplay, XA_PRIMARY, _XA_COMPAUND_TEXT, prop, TermWin.vt,tm); */
>      }
>  }

> _______________________________________________
> As-users mailing list
> As-users@afterstep.org
> http://mail.afterstep.org/mailman/listinfo/as-users

_______________________________________________
As-users mailing list
As-users@afterstep.org
http://mail.afterstep.org/mailman/listinfo/as-users