Serious X11 problem
I have tried to compile an X11 program from the Guile tutorial http://www.gnu.org/software/guile/docs/guile-tut/tortoise1.html. I could compile it but when I run it from bash, I get a core dump. On the Linux system I use for my work, the program runs flawlessly. I cannot tell if this is because the program is badly written (that is not well-behaved) or because there is a bug Cygwin / X11 somewhere. I shall not need X11 (as far as I can tell now) on Windows, but I thought this may be interesting for Cygwin community. (By the way: Cygwin seems to be a phantastic product, now that learnt a few things with a lot of help from this mailing list.) -- Janos Blazi
RE: rootless mode and mousing to other windows
There was some discussion on the list a while back regarding this very thing. They are now using the win32-x11 mailing list. Here's a message announcing the genesis of the project: http://www.cygwin.com/ml/win32-x11/2002-q3/msg00019.html From: "Gerald S. Williams" <[EMAIL PROTECTED]> To: "Thomas Chadwick" <[EMAIL PROTECTED]>, "Harold L Hunt II" <[EMAIL PROTECTED]>, <[EMAIL PROTECTED]> Subject: RE: rootless mode and mousing to other windows Date: Fri, 1 Nov 2002 10:51:54 -0500 MIME-Version: 1.0 Received: from alageremail2.agere.com ([192.19.192.110]) by mc4-f34.law16.hotmail.com with Microsoft SMTPSVC(5.0.2195.5600); Fri, 1 Nov 2002 07:51:55 -0800 Received: from alcerelay.agere.com (alcerelay.agere.com [128.94.213.32])by alageremail2.agere.com (8.10.2+Sun/8.10.2) with ESMTP id gA1FpsN15976;Fri, 1 Nov 2002 10:51:55 -0500 (EST) Received: from almail.agere.com by alcerelay.agere.com (8.9.3+Sun/EMS-1.5 sol2)id KAA26797 for ; Fri, 1 Nov 2002 10:51:53 -0500 (EST) Received: from PAI820G1006951 by almail.agere.com (8.9.3+Sun/EMS-1.5 sol2)id KAA09272; Fri, 1 Nov 2002 10:51:53 -0500 (EST) Message-ID: <[EMAIL PROTECTED]> X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook IMO, Build 9.0.2416 (9.0.2911.0) Importance: Normal In-Reply-To: <[EMAIL PROTECTED]> X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2600. Return-Path: [EMAIL PROTECTED] X-OriginalArrivalTime: 01 Nov 2002 15:51:56.0040 (UTC) FILETIME=[9AC89080:01C281BE] Thomas Chadwick wrote: > Is it as simple as patching XWin to call XSetInputFocus() with a focus > argument of "None" when MS Windows informs it that it has lost focus? That's the type of thing I was hoping for. Harold L Hunt II wrote: > I don't think that such interaction between the X Windows window manager > and, essentially, the Windows window manager is going to be useful in > the end, and it would be overly complicated to implement such an interim > solution. Is that really a fair assessment? For Windows interaction, I'm only talking about hooking into the focus events. This would be a useful addition even without rootless mode or true Windows integration. And it looks like those events are already hooked in order to deal with keyboard modes. Which needs some debugging anyway, since X sometimes gets confused about caps lock (granted I've seen this on Sun workstations also, but not in a very long time). If there's any complexity, it's purely on the X side, and IMO it's something that should be addressed if it hasn't already. Shouldn't there be a way to tell X that you've removed focus from it entirely? > Remember that the ultimate solution is to write calls that make Windows > the window manager for our X apps, so your concern would no longer be an > issue. > > I urge you to focus on the later solution, rather than trying to send > signals between two window managers. That's a bit too much for me to get involved in right now. Besides, I'm not really interested in using the "Windows shell" for managing X-Windows. Ultimately, what you really want is the ability to go both ways--let X applications be managed by Windows and let Windows applications be managed by X window managers (like LiteStep only allowing X calls all the way down--I think LiteStep uses GTK or something). Of course, this can get a bit complicated, especially when the services aren't quite the same between Windows and X. But I suspect others with more experience in XFree86 are already thinking about these things. For now, I wanted to start small. -Jerry _ Broadband? Dial-up? Get reliable MSN Internet Access. http://resourcecenter.msn.com/access/plans/default.asp
Re: how does xwin resolve ip addresses
Chris Twiner wrote: > 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 wireless card as an > ip adapter. I have build a small test program, which extracts the network interface adapters from the system. Please try it and mail the result. It will help me figuring out the problems. http://www-user.tu-chemnitz.de/~goal/xfree/ls_netdev.tar.gz (http://www-user.tu-chemnitz.de/~goal/index.php3?jump=xfree#ls_netdev) > When trying to use cygwin/xfree on the address (given by dhcp) the xserver > doesn't work i.e. no clients can bind to it. Is the discovery mechanism for > the ip address using the same as ipconfig does and hence can't see it? I don't know which API ipconfig is using but I think it's the same interface as the cygwin.dll uses. If it's not listed it might have various reasons: - ipconfig does not know what a wireless lan is and does not display it - MS has build a new API for listing wireless lan interfaces - Something is really broken - and many more The output of ls_netdev will hopefully gie me more hints. bye ago NP: grauzone.02-09-23 -- [EMAIL PROTECTED] http://www.gotti.org ICQ: 126018723
Re: rootless mode and mousing to other windows
Wilhelm, Oh yeah, I see your point. I don''t want to start up that discussion again :) Harold Wilhelm Person wrote: Right now I use cygwin xfree for terminal emulation, more or less. But it would be nice to be able to use an X windowmanager instead of Explorer. So all the applications, even stuff like IE or WinAMP, are managed through the X window manager. As I understand it the current efforts with a rootless mode are going in the other direction, where X apps are managed by Explorer. /W On Fri, 1 Nov 2002, Harold L Hunt II wrote: Wilhelm, Wilhelm Person wrote: Guess I'm in the 1% then, I prefer fvwm to any other window manager I have seen yet. It would be very, very cool to have fvwm on Windows. /W Are you referring to just having fvwm available for Cygwin/XFree86 or are you referring to having the additional feature of current-window-focus synchronization between fvwm and MS Windows? If you just want fvwm, it is already available as a Cygwin/XFree86 package via setup.exe. If you want the later feature, well, then that is what we are discussing. Harold +---+ | Home: http://wilper.cjb.net | | E-mail: [EMAIL PROTECTED]| +---+
Re: rootless mode and mousing to other windows
Right now I use cygwin xfree for terminal emulation, more or less. But it would be nice to be able to use an X windowmanager instead of Explorer. So all the applications, even stuff like IE or WinAMP, are managed through the X window manager. As I understand it the current efforts with a rootless mode are going in the other direction, where X apps are managed by Explorer. /W On Fri, 1 Nov 2002, Harold L Hunt II wrote: > Wilhelm, > > Wilhelm Person wrote: > > >Guess I'm in the 1% then, I prefer fvwm to any other window manager I have > >seen yet. It would be very, very cool to have fvwm on Windows. > > > >/W > > > > > Are you referring to just having fvwm available for Cygwin/XFree86 or > are you referring to having the additional feature of > current-window-focus synchronization between fvwm and MS Windows? If > you just want fvwm, it is already available as a Cygwin/XFree86 package > via setup.exe. If you want the later feature, well, then that is what > we are discussing. > > Harold > +---+ | Home: http://wilper.cjb.net | | E-mail: [EMAIL PROTECTED]| +---+
Re: rootless mode and mousing to other windows
Wilhelm, Wilhelm Person wrote: Guess I'm in the 1% then, I prefer fvwm to any other window manager I have seen yet. It would be very, very cool to have fvwm on Windows. /W Are you referring to just having fvwm available for Cygwin/XFree86 or are you referring to having the additional feature of current-window-focus synchronization between fvwm and MS Windows? If you just want fvwm, it is already available as a Cygwin/XFree86 package via setup.exe. If you want the later feature, well, then that is what we are discussing. Harold
Re: rootless mode and mousing to other windows
Harold L Hunt II wrote: Well, that is not an opinion that I have ever seen expressed here to date and I have not seen any developer announce that they are aiming to provide such functionality. It has always been my understanding that 99% of people are interested in having MS Windows manage the X Windows windows. Isn't what the "X client wrapper for Win apps" (win2x, gdi2X, xgdi, win4x, i-don't-know-what-the-name-is-now) is aiming at? It's actually a broader goal than that but one of the result will be that the Windows apps will be managed by the X windows manager. Gerald, you may want to look at the thread http://sources.redhat.com/ml/cygwin-xfree/2002-09/msg00181.html (and http://sources.redhat.com/ml/cygwin-xfree/2002-09/msg00094.html) for further details Jehan
Re: rootless mode and mousing to other windows
Guess I'm in the 1% then, I prefer fvwm to any other window manager I have seen yet. It would be very, very cool to have fvwm on Windows. /W On Fri, 1 Nov 2002, Harold L Hunt II wrote: > Gerald S. Williams wrote: > > >Ultimately, what you really want is the ability to go both > >ways--let X applications be managed by Windows and let > >Windows applications be managed by X window managers (like > >LiteStep only allowing X calls all the way down--I think > >LiteStep uses GTK or something). Of course, this can get a > >bit complicated, especially when the services aren't quite > >the same between Windows and X. > > > > > > Well, that is not an opinion that I have ever seen expressed here to > date and I have not seen any developer announce that they are aiming to > provide such functionality. It has always been my understanding that > 99% of people are interested in having MS Windows manage the X Windows > windows. > > Harold > +---+ | Home: http://wilper.cjb.net | | E-mail: [EMAIL PROTECTED]| +---+
Re: rootless mode and mousing to other windows
Gerald S. Williams wrote: Ultimately, what you really want is the ability to go both ways--let X applications be managed by Windows and let Windows applications be managed by X window managers (like LiteStep only allowing X calls all the way down--I think LiteStep uses GTK or something). Of course, this can get a bit complicated, especially when the services aren't quite the same between Windows and X. Well, that is not an opinion that I have ever seen expressed here to date and I have not seen any developer announce that they are aiming to provide such functionality. It has always been my understanding that 99% of people are interested in having MS Windows manage the X Windows windows. Harold
RE: rootless mode and mousing to other windows
Thomas Chadwick wrote: > Is it as simple as patching XWin to call XSetInputFocus() with a focus > argument of "None" when MS Windows informs it that it has lost focus? That's the type of thing I was hoping for. Harold L Hunt II wrote: > I don't think that such interaction between the X Windows window manager > and, essentially, the Windows window manager is going to be useful in > the end, and it would be overly complicated to implement such an interim > solution. Is that really a fair assessment? For Windows interaction, I'm only talking about hooking into the focus events. This would be a useful addition even without rootless mode or true Windows integration. And it looks like those events are already hooked in order to deal with keyboard modes. Which needs some debugging anyway, since X sometimes gets confused about caps lock (granted I've seen this on Sun workstations also, but not in a very long time). If there's any complexity, it's purely on the X side, and IMO it's something that should be addressed if it hasn't already. Shouldn't there be a way to tell X that you've removed focus from it entirely? > Remember that the ultimate solution is to write calls that make Windows > the window manager for our X apps, so your concern would no longer be an > issue. > > I urge you to focus on the later solution, rather than trying to send > signals between two window managers. That's a bit too much for me to get involved in right now. Besides, I'm not really interested in using the "Windows shell" for managing X-Windows. Ultimately, what you really want is the ability to go both ways--let X applications be managed by Windows and let Windows applications be managed by X window managers (like LiteStep only allowing X calls all the way down--I think LiteStep uses GTK or something). Of course, this can get a bit complicated, especially when the services aren't quite the same between Windows and X. But I suspect others with more experience in XFree86 are already thinking about these things. For now, I wanted to start small. -Jerry
Re: how does xwin resolve ip addresses
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 a query to 3com. cheers, Chris _ Surf the Web without missing calls! Get MSN Broadband. http://resourcecenter.msn.com/access/plans/freeactivation.asp
Re: how does xwin resolve ip addresses
Chris, XWin.exe doesn't directly get the list of available IP interfaces. Rather, it has cygwin1.dll provide it with that list. There have been problems before with Token Ring cards not showing up in the list of adapters, as well as other little sublities that have been worked out over the past year or so. That your wireless card is not listed in ``ipconfig /all'' suggests to me that there is no chance that cygwin1.dll would see that interface. Alexander Gottwald usually hacks this sort of stuff for us, so hopefully he will see your message and get an idea. I hope that this gets addressed (no pun intended :) if it is an issue common to all wireless cards, because I have really been thinking about setting up some wireless in my apartment. Have you tried the latest drivers/extra software from 3COM? I would not be surprised if a more recent version of the drivers does not have this problem. Harold Chris Twiner wrote: 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 wireless card as an ip adapter. When trying to use cygwin/xfree on the address (given by dhcp) the xserver doesn't work i.e. no clients can bind to it. Is the discovery mechanism for the ip address using the same as ipconfig does and hence can't see it? Does anyone have similar experience? tia, Chris PS (I should get some time today to work on xwinclip, I'll tackle it on the latest release) _ Unlimited Internet access -- and 2 months free! Try MSN. http://resourcecenter.msn.com/access/plans/2monthsfree.asp
how does xwin resolve ip addresses
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 wireless card as an ip adapter. When trying to use cygwin/xfree on the address (given by dhcp) the xserver doesn't work i.e. no clients can bind to it. Is the discovery mechanism for the ip address using the same as ipconfig does and hence can't see it? Does anyone have similar experience? tia, Chris PS (I should get some time today to work on xwinclip, I'll tackle it on the latest release) _ Unlimited Internet access -- and 2 months free! Try MSN. http://resourcecenter.msn.com/access/plans/2monthsfree.asp
Re: rootless mode and mousing to other windows
Hi, From: "Gerald S. Williams" <[EMAIL PROTECTED]> Date: Thu, 31 Oct 2002 13:28:04 -0500 ::I agree -rootless rocks. And a -systray option would be great. It's rocking realy cool! :-) ::But one thing that I'd really like to be able to do now that ::-rootless is around is be able to have all X windows become ::inactive when a Windows window is selected. When I switch to ::X-Windows, all of the Windows-style windows become inactive. ::I'd like the reverse to happen as well. Otherwise, when I ::switch out of X-Windows, the most-recently-selected window ::in X is shown as active even though it isn't. It's actually ::worse than that, since a cursor is shown in both windows. If you just want the cursor to disappear from the xterm in X, you may be able to use the unclutter program, found in X related contrib sites as 'unclutter-8.tar.Z'. Unfortunately, the xterm will be kept in 'activated' mode, even when cursor disappears from the screen. (Well accutually, unclutter was only made to hide the cursor...) Just my $0.02 of info... Haro =--- _ _Munehiro (haro) Matsuda -|- /_\ |_|_| Kubota Graphics Technology Inc. /|\ |_| |_|_| 2-8-8 Shinjuku, Shinjuku-ku Tokyo 160-0022, Japan Tel: +81-3-3225-0931 Fax: +81-3-3225-0930 Email: [EMAIL PROTECTED]