Re: [E-devel] Eterm selection_send() and Opera 10.60

2010-08-11 Thread Michael Jennings
On Tuesday, 10 August 2010, at 20:09:08 (+0200), Kim Woelders wrote: > As per commit message this causes a few changes. I guess the change is > good in script.c, not sure about term.c. Everything looks good to me. I'll do some more testing, but so far so good. :-) Thanks! Michael -- Michael

Re: [E-devel] Eterm selection_send() and Opera 10.60

2010-08-10 Thread Kim Woelders
On Tue, 10 Aug 2010 08:20:34 +0200, Michael Jennings wrote: > On Monday, 09 August 2010, at 22:27:00 (+0200), > Kim Woelders wrote: > >> I was thinking something like the attached patch. > > Looks good to me. Would you mind committing? > >> Then I found XA_CLIPBOARD(Xdisplay). Assuming we have X

Re: [E-devel] Eterm selection_send() and Opera 10.60

2010-08-09 Thread Michael Jennings
On Monday, 09 August 2010, at 22:27:00 (+0200), Kim Woelders wrote: > I was thinking something like the attached patch. Looks good to me. Would you mind committing? > Then I found XA_CLIPBOARD(Xdisplay). Assuming we have X11/Xmu/Atoms.h, > which I think practically always is true, XA_CLIPBOAR

Re: [E-devel] Eterm selection_send() and Opera 10.60

2010-08-09 Thread Kim Woelders
On Mon, 09 Aug 2010 01:42:52 +0200, Michael Jennings wrote: On Wednesday, 04 August 2010, at 22:37:21 (+0200), Kim Woelders wrote: I don't think there will be portability issues with this patch unless you somehow get non-matching old Xlib/Xmu versions - not very likely I'd say. If I were in a

Re: [E-devel] Eterm selection_send() and Opera 10.60

2010-08-08 Thread Paolo Ferrario
On Sun, 8 Aug 2010, Michael Jennings wrote: > On Wednesday, 04 August 2010, at 22:37:21 (+0200), > Kim Woelders wrote: > >> A few comments... >> >> The "else if (rq->target == XA_STRING)" case is redundant - same as final >> "else" case. > > You're right. Yes, I know, in my first version I wrote i

Re: [E-devel] Eterm selection_send() and Opera 10.60

2010-08-08 Thread Michael Jennings
On Wednesday, 04 August 2010, at 22:37:21 (+0200), Kim Woelders wrote: > I don't think there will be portability issues with this patch > unless you somehow get non-matching old Xlib/Xmu versions - not very > likely I'd say. > If I were in a cleaning mood I'd get rid of Xmu, which as far as I > ca

Re: [E-devel] Eterm selection_send() and Opera 10.60

2010-08-04 Thread Kim Woelders
On Wed, 04 Aug 2010 16:44:26 +0200, Paolo Ferrario wrote: > > On Tue, 3 Aug 2010, Michael Jennings wrote: > >> If answering back with a string doesn't break clients requesting a >> UTF8_STRING, I'm inclined to go that route. >> >> I don't have a problem, per se, with answering in UTF-8, but I'm

Re: [E-devel] Eterm selection_send() and Opera 10.60

2010-08-04 Thread Paolo Ferrario
On Wed, 4 Aug 2010, Paolo Ferrario wrote: > > On Tue, 3 Aug 2010, Michael Jennings wrote: > >> If answering back with a string doesn't break clients requesting a >> UTF8_STRING, I'm inclined to go that route. >> >> I don't have a problem, per se, with answering in UTF-8, but I'm not >> sure if the

Re: [E-devel] Eterm selection_send() and Opera 10.60

2010-08-04 Thread Paolo Ferrario
On Tue, 3 Aug 2010, Michael Jennings wrote: > If answering back with a string doesn't break clients requesting a > UTF8_STRING, I'm inclined to go that route. > > I don't have a problem, per se, with answering in UTF-8, but I'm not > sure if the new UTF-8 Xlib calls are portable to non-Linux/non-

Re: [E-devel] Eterm selection_send() and Opera 10.60

2010-08-03 Thread Michael Jennings
On Saturday, 31 July 2010, at 09:25:17 (+0200), Kim Woelders wrote: > It looks like many programs request UTF8_STRING and not STRING. > > I'm no expert on selections but if I'm not mistaken this change > would make us give a STRING regardless of what we were asked for. > It would then be up to th

Re: [E-devel] Eterm selection_send() and Opera 10.60

2010-08-01 Thread Paolo Ferrario
slightly modified the UTF8 patch, nothing changed, only added the XA_STRING conditional block for code politeness/readability. P.S. Pasting huge blocks of text using Eterm now is noticeably faster, before I was experiencing random delays. I suspect these were related to lack of UTF8 handling

Re: [E-devel] Eterm selection_send() and Opera 10.60

2010-07-31 Thread Paolo Ferrario
On Sat, 31 Jul 2010, Kim Woelders wrote: > It looks like many programs request UTF8_STRING and not STRING. > > I'm no expert on selections but if I'm not mistaken this change would > make us give a STRING regardless of what we were asked for. > It would then be up to the reques

Re: [E-devel] Eterm selection_send() and Opera 10.60

2010-07-31 Thread Kim Woelders
On Fri, 30 Jul 2010 04:09:49 +0200, Paolo Ferrario wrote: > > Hi all, > > I've applied the Kim Woelders patch [20 Aug 2009] in screen.c > of Eterm 0.9.5. > > All is working ok, except for Opera 10.60, who dont get the clipboard > text from > Eterm. > > But it works if I use instead e.g. > ec

[E-devel] Eterm selection_send() and Opera 10.60

2010-07-29 Thread Paolo Ferrario
Hi all, I've applied the Kim Woelders patch [20 Aug 2009] in screen.c of Eterm 0.9.5. All is working ok, except for Opera 10.60, who dont get the clipboard text from Eterm. But it works if I use instead e.g. echo -n "123" | xclip then I paste in Opera. So I've tried this, Opera now works, no