Re: Fw: If you were writing a Windows and X clipboard integration manager...

2003-01-31 Thread G O Economou
- Original Message -
From: Harold L Hunt II [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Thursday, January 30, 2003 11:59 PM
Subject: RE: Fw: If you were writing a Windows and X clipboard integration
manager...


 Havoc,

 See also this thread:
   https://listman.redhat.com/pipermail/xdg-list/2002-November/000881.html
 
 And Keith's X extension to monitor selection changes, though this
 won't be in 4.3.

 Wow!  That looks really cool and it is already in the tree as xfixes,
right?


Xfixes was pulled a while ago.

Georgina

___
Devel mailing list
[EMAIL PROTECTED]
http://XFree86.Org/mailman/listinfo/devel



Re: If you were writing a Windows and X clipboard integration manager...

2003-01-30 Thread G O Economou
- Original Message -
From: Owen Taylor [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Thursday, January 30, 2003 12:30 PM
Subject: Re: If you were writing a Windows and X clipboard integration
manager...


 Harold L Hunt II [EMAIL PROTECTED] writes:

  ...how would you do it, in 150 words or less?
 
  Seriously, I have been working on this for over a year and I would love
to
  hear some of the ideas that people have because I am completely stumped
on
  how to make such a clipboard manager work properly.

 You really want a server extension (or you could do it in the
 server, but that would prevent you from using existing client
 code to retrieve the clipboard contents ... a non-trivial task.)
 See discussion from:

  https://listman.redhat.com/pipermail/xdg-list/2002-November/000881.html

 The extension discussed there will *not* be part of XFree86-4.3,
 but is the right way of doing it and likely will make it in
 at some future point.

  It would be nice if someone responded this time...

 [ Hint, demanding a response is a really good way to discourage
   people from responding ]

 Regard,s
 Owen

Dunno about that Owen.  Seems he got a few;-) And one is a real lead.
I think it's a good method.  

Georgina

___
Devel mailing list
[EMAIL PROTECTED]
http://XFree86.Org/mailman/listinfo/devel



Fw: If you were writing a Windows and X clipboard integration manager...

2003-01-30 Thread G O Economou
- Original Message -
From: Harold L Hunt II [EMAIL PROTECTED]
To: G O Economou [EMAIL PROTECTED]
Sent: Thursday, January 30, 2003 1:01 PM
Subject: Re: If you were writing a Windows and X clipboard integration
manager...



 Oh, but I have already release something:
 http://xfree86.cygwin.com/devel/xwinclip/changelog.html

 In fact, I have made 8 releases :)  I originally copied text from
 CUT_BUFFER0, which worked fine for me.  As soon as I released this
 people started complaining about what it did not do (namely, it didn't
 handle non-U.S. text).

 The way that xwinclip copies text was then rewritten to work with
 non-U.S. text, which introduced the problem of unhighlighting the
 selected text.

 Most recently we integrated the xwinclip functionality into a seperate
 thread in the X Server (XWin.exe) process, which works quite well:
 http://xfree86.cygwin.com/devel/shadow/changelog.html (see Test73)

 I came up with the idea of monitoring CUT_BUFFER0 for changes to let me
 know to copy data from CLIPBOARD only last week.  So, I have not
 implemented that idea yet and I wanted to see if there were other
 options I should explore before moving down that path (since most ideas
 I have had do have some drawbacks that I did not anticipate).

 Thanks for your input,

 Harold

 G O Economou wrote:
  - Original Message -
  From: Harold L Hunt II [EMAIL PROTECTED]
  To: xfree86-devel [EMAIL PROTECTED]
  Sent: Thursday, January 30, 2003 10:59 AM
  Subject: If you were writing a Windows and X clipboard integration
  manager...
 
 
 
 ...how would you do it, in 150 words or less?
 
 Seriously, I have been working on this for over a year and I would love
to
 hear some of the ideas that people have because I am completely stumped
on
 how to make such a clipboard manager work properly.
 
 It would be nice if someone responded this time...
 
 
 Harold Hunt
 Cygwin/XFree86
 
 
 
  Harold you are making this issue unnecessarily complicated.  You are
getting
  lost in the forest for the trees. .. ONe instead of caring about non-US
  users, the few out there that exist, work first on getting something
going.
  Then once that is working work on refining
  the process.  You cannot make it work with every app out there.  MS does
not
  do that either.  There are too many non-compliant progams written by
  organgutans out there to hit them all.
  Make yours compliant what you consider the major issues (Browsers, Mail
  Managers).  Put something out otherwise you marginalise yourself.  Basic
IT
  101 but very non CS thinking.
 
  Georgina
 
 
  Yes, there are at least 3 clipboard/cut-buffer mechanisms.  We
  originally set out to watch for CUT_BUFFER0 to change, at which point we
  would copy it to the Windows clipboard.  That seemed fine, except that
  non-U.S. users screamed bloody murder because CUT_BUFFERs do not let you
  get non ascii/latin1 encoded text.  Also, some users claim that not all
  X applications paste data to CUT_BUFFER0.
 


___
Devel mailing list
[EMAIL PROTECTED]
http://XFree86.Org/mailman/listinfo/devel