If, on the other hand, the applications work fine with xclipboard, then
maybe we will be able to do a better job of handling the selections.
Well actually I can't even get the cygwin one to run let alone do anything.
It pops up a small window with a very confused button set then shows cancel
Hi Chris
Can you build the xwinclip exe and use the dll supplied
(i've put the build_dll.sh in there as well)? Let me know what
happens (and the output).
The copy from X works just like I wrote in my previous mail to
Harold (see log1), but when I try to copy from Windows, the
results are
Hi,
Thanks for the feedback, I will post another version of mine tonight (forgot
to last night). Can you give me the output of my xwinclip when you run these
tests?
I will post the built exe and the dll for my version as well, just to remove
compilation issues.
It seems as though it doesn't
Hi,
Can you build the xwinclip exe and use the dll supplied (i've put the
build_dll.sh in there as well)? Let me know what happens (and the output).
Thanks,
Chris
_
Tired of spam? Get advanced junk mail protection with MSN
Hi!
Sorry for private mail, but I am not sure I can mail to the
list.. reading it from news.
No problems. I had to register with the global posting list (on
sources.redhat.com) to post properly, I had so many returned to me. Using
the global list means you don't have to receive all message
I now remember what it was that I did not like: Ownership of the X
selection
is grabbed when XWin.exe loses focus. Is that correct?
No. It only takes ownership selection when XWin is gaining activation (and
not from another window). When Xwin looses activation (and therefore focus)
it
Hi!
Damn this is interesting.
Just to check (I don't have kde available) this when you
say copy/paste do you mean the edit menu copy and paste?
No.
good good.
Or do you mean highlight in Konsole and then use the middle button.
Yes, this is what I meant.
What does the output of my
Hi,
/usr/lib/gcc-lib/i686-pc-mingw32/3.2/../../../../i686-pc-mingw32/bin/ld.exe
--shared -Bdynamic -e _DllMainCRTStartup@12 -o hello.dll -export-all
/usr/lib/gcc-lib/i686-pc-mingw32/3.2/../../../../i686-pc-mingw32/lib/dllcrt2
.o
/usr/lib/gcc-lib/i686-pc-mingw32/3.2/crtbegin.o
Hi,
this is vastly different then the machine's I have. I have attached an
untouched spec file fresh from setup.exe.
Are there any differences with yours?
I'm away from my machine at the moment, but since you are having problems
with gcc, may I suggest you upgrade to the latest version?
$ cygcheck -c gcc
will show you the version installed.
got the right version on this computer and the spec file is still broken, it
just adds dllcrt2.o not the path as yours does.
Chris
_
Add photos to your e-mail with MSN 8.
ok finally cracked it:
g++ -mno-cygwin -enable-threads=no -nostdlib -shared -v -e _DllMain@12 -o
xwinclip_hook.dll xwinclip_hook.o -lkernel32 -luser32
not that the :-enable-threads=no seems to matter a damn.
I don't use any c++ but it still asks for and unresolved symbol:
__gxx_personality_v0
For how long? This is an ugly hack.
Indeed it is. The 2.95 release is ok though, 3.2 forces this hack.
Are you really trying to compile xwinclip for MinGW? Why?
Not entirely, a version I have written that resolves claiming ownership of
the primary selection. It uses a windows hook and as
hi all,
Under the gcc 2.95 release the :-mno_cygwin option let you link without
cygwin1.dll. The gcc 3.2 release in the latest cygwin build, whilst not
complaining about the option, will link with the cygwin1.dll even when using
the option.
cygcheck for example will show the link. This is
The correct option is -mno-cygwin and it works fine for me (at least for
hello world app).
Thanks Pavel,
Do you not get a :
ld: cannot open dllcrt2.o
message?
Previous postings would seem to indicate this is a specs file issue, which
has been resolved in previous releases. Has it been
No, can't see anything odd.
Maybe adding '-v' to your link-stage invocation of gcc with show something
helpful.
It did no -L/lib/mingw for ld, so the spec file is wrong/incorrect on my
machine does this work properly on others? (Using Wl didn't do much better
either, passing -L/lib/mingw to
Hi,
I'm curious has it been forgotten that I already fixed the selection
grabbing over two months ago?
Either way the latest code does the clipboard chain stuff and handles
multiple windows ( -screen option), and some wierd bug were it doesn't free
the dll properly. I can't get it to link
Hi Harold,
From what I understand, you are grabbing ownership of the selection when
Cygwin/XFree86 loses focus... that is not the correct solution,
Nope, it only grabs X selection when both the windows clipboard has changed
(in latest code) and any cygwin/xfree86 class window is activated.
Well, if you solution is everthing you claim, then you certainly have not
been promoting it correctly.
It's my fault that you have forgotten it? I don't thinks so. If you did
not want to use it then you should have said a long time ago before I wasted
days on it.
The impression I have
Ok, problem resolved. After much digging around and non-help from 3Com I
have sussed the damn thing out. When such a thing happens, either the
ipconfig not returning the whole information or a 20106 error in the system
log (doesn't seem to matter if it's talking about a different interface),
Hi,
At 3Com's behest I tried the card in another laptop that had another
installation of the card:
Yes the card works in another laptop, an xp home one on the same network.
Also the ipconfig works on this machine as well. It looks therefore like a
driver problem, either a bad installation
I have installed the xwinclip-Test06, but the selection not only
dissapears,
after I release the mouse button, but it flashes continously, and I can't
paste the selection either under X, nor in windows.
Has anybody any ideea, why is this so?
The second problem may be related to the first, given
Hi Ago,
Tried it, but it made no difference.
Chris
_
MSN 8 helps eliminate e-mail viruses. Get 2 months FREE*.
http://join.msn.com/?page=features/virus
An additional bit of information, IIS can use the ip address to serve web
pages.
ipconfig is still of course broken.
Chris
_
Add photos to your messages with MSN 8. Get 2 months FREE*.
Bad luck. It seems the ip address is correctly setup, but there is no
interface configured. Maybe reinstalling the drivers for the wireless
card will help.
I've searched the MSDN but there is no comment for the GetIfTable
function
that it would not report wireless interfaces.
I'be build a
here are the results of the latest :
ls_netdev $Id: ls_netdev.c,v 1.3 2002/11/04 21:59:03 ago Exp $
OS Version: Windows NT 5.1 Build 2600
Querying devices using ioctl
lo: family=TCP/IP (0) addr=127.0.0.1
eth0: family=TCP/IP (0) addr=0.0.0.0
Querying devices using internal function
// Dumping
Hi All,
I have a problem using a wireless card (3com) on my home network. I have a
basic wireless setup and a switched setup (for my servers). When using the
wireless card I can use the internet fully and most applications are happy
with it. Bizarly though ipconfig /all doesn't list the
Hi Harold,
I seem to have the latest drivers, I checked a couple of weeks ago, no harm
in doing so on a regular basis.
It just strikes me as weird that although I can telnet into a box over it I
can't start a server on it. Add that to ipconfig /all and it makes it very
confusing.
I'll send
Hi All,
got the problem. When the num-lock is on it won't work properly in nedit:
similar problem non-cygwin related:
www.nedit.org slash archives slash discuss slash 2000-Mar slash 0383.html
(slashed it so it would go through the spam filter)
So it's possibly an application problem I'm
Hi All,
A while ago the point was made that when using X from a solaris system to
cygwin the right mouse button did not work.
Mentions of recompiling x for solaris were mentioned but no conclusion was
shown. Only a post by Harold that someone got it working.
Suffice to say I have such a
Hi Harold,
The address of the old message is here,
http://www.cygwin.com/ml/cygwin-xfree/2001-q4/msg00272.html
David Esposito is the person who said he had everything working.
Just a little info, I checked xmodmap -pp and all the mappings are ok,
running NEdit on the local machine (cygwin to
Hi Harold,
Just got some extra info. Rather curiously holding down ctrl and clicking
the right mouse button works as expected. This further compounds the issue
given that some button 3 messages are definitely getting through.
cheers,
Chris
Hi Brian,
Thanks for the 'extern C', I had forgotten to add those. If you don't
mind however I'll avoid poluting the std namespace.
Chris
_
Choose an Internet access plan right for you -- try MSN!
Hi,
I can send you them directly later (I'm at work now) but..
You say it dies after the messages are displayed, do you mean that xwinclip
then terminates? Or do you mean it doesn't seem to do much?
Also I'm still a little confused as to why you needed to change the build
dll script anyway,
Hi Volker,
I notice you had a mingw error. Could you please try using the gcc provided
with cygwin, as I believe myself and others use. It should remove most of
the problems you're seeing as neither myself nor others seem to have them.
As to the output, that's correct it's debug information
Hi Volker,
Can you try the version I posted last month (there were several versions but
the last post holds the best version).
It solves the clearing of the selection. I am suprised that the test06
solved your problem, it didn't with me or other users. I use NEdit so I
have the same issue
Unfortunately not. The version most recently posted had the ctrl+c and
server reset code in place but nothing much else.
Oh.
It does however contain the code to handle the selections properly. I'm not
sure I made that clear enough. It does what you want it to do but not much
else, is
I thank you for putting so much time into developing xwinclip.
It has been a pleasure anyway.
I really appreciate that you got the long-awaited setjmp lngjmp
functionality implemented so that we are not killed upon X Server shutdown
and restart.
It's cool, I've always wanted an excuse to use
Well according to the specs you're implementation is right. Own clipboard
manager and grab the clipboard when it's been selected, then own it again.
It doesn't seem to work with Motif though. No biggy, primary works v.
well.
That's good to know, but why doesn't it work when we do it
Hi Jean-Claude,
Please forgive the newbie-type question:
http://xfree86.cygwin.com/devel/xwinclip/
gives a thorough explanation on how to get xwinclip running. It must be
running as well as XWin. You'll see if that version is running because when
you select some text the selection will
Hi All,
As promised an updated version of my xwinclip patch.
Major changes:
Now ctrl-c works properly, closes nicely, both the windows hook and the x
display (and anything else after the event loop).
Also a restart works for when the x server crashes/restarts/whatever so will
xwinclip.
Woohoo! So, when do we get to see the beautiful new code?
Hi Brian,
I can clean up what I have now, pre motif clipboard and do another post of
it to the mailing list. Official release wise is down to Harold.
I'll tidy it up tomorrow and send it out.
Chris
Hi All,
Quick update, got the signal working properly for ctrl-c or closing the
windows command window. Solution (as the SIGINT handler is run in a
seperate thread in windows) is to set a variable in the windows loop that
sends the kill message that kill_xwinclip was doing.
That means that
Hi All,
The select statement isn't the problem, it's the restart. I'm pretty
certain that it's just due to the old window sending messages the select
does a peekmessage of NULL for the hwnd, this picks up all messages for that
thread.
The restarter wasn't closing the window so it's probable
The problem seemed to be based around the old window not getting destroyed,
windows still thinks it's there and sends forth more messages to it.
I've destroyed the window in the iohandler and the problem seems to be
solved. Sorry for the multiple posts just spotted it over a few days.
Chris
Hi All,
I think I've just identified a bug with select on /dev/windows. According
to the select code for the windows device it does a if (peekmessage()) then
in xwinclip it does the flushwindows upon select returning.
I've found a wierd circumstance were select returns but when the
I can't tell if you have enough of an understanding of X11 to write a
proposed solution that actually makes sense. At least, I can't make any
sense out of your proposal.
I understand what he's saying but XLib seems quite against the idea :
XSetIOErrorHandler is the first thing and the last
Harold,
As an aside this link explains that the only way is to longjmp/setjmp.
http://www.faqs.org/faqs/Xt-FAQ/section-19.html
If the intention is to fully integrate xwinclip into XWin then this would be
unwanted to say the least. Given XWin would close anyway you'd still want
xwinclip to
, it will therefor not work with
more than one screen.
thanks in advance for the feedback (hopefully positive),
Chris Twiner
_
Chat with friends online, try MSN Messenger: http://messenger.msn.com
xwinclip_chris_twiner.zip
There is some obvious cleaning to do here. First, is to use only tabs or
only spaces (don't remember which one Harold uses). Having a mix of space
and tabs is a big mess for people who don't use the same tab size (8 vs 4
vs 3 vs 2).
I'll figure which one's are used and change the stuff
will release it
when appropriate. Is putting a zip attachment on this mailing list
appropriate?
I have only been working on this for 3 days and it's my first attempt at X
antics so if these are FAQ style items I appologise (I've looked just can't
find them).
Regards,
Chris Twiner
it is helpful,
Chris Twiner
_
Send and receive Hotmail on your mobile device: http://mobile.msn.com
51 matches
Mail list logo