From haro@kgt.co.jp Fri Nov 1 01:08:00 2002 From: haro@kgt.co.jp (haro@kgt.co.jp) Date: Fri, 01 Nov 2002 01:08:00 -0000 Subject: rootless mode and mousing to other windows In-Reply-To: References: Message-ID: <20021101.181343.09582165.haro@kgt.co.jp> Hi, From: "Gerald S. Williams" 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: haro@kgt.co.jp From c_twiner@hotmail.com Fri Nov 1 01:24:00 2002 From: c_twiner@hotmail.com (Chris Twiner) Date: Fri, 01 Nov 2002 01:24:00 -0000 Subject: how does xwin resolve ip addresses Message-ID: 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 From huntharo@msu.edu Fri Nov 1 05:02:00 2002 From: huntharo@msu.edu (Harold L Hunt II) Date: Fri, 01 Nov 2002 05:02:00 -0000 Subject: how does xwin resolve ip addresses In-Reply-To: References: Message-ID: <3DC27B71.1000000@msu.edu> 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 > From c_twiner@hotmail.com Fri Nov 1 05:42:00 2002 From: c_twiner@hotmail.com (Chris Twiner) Date: Fri, 01 Nov 2002 05:42:00 -0000 Subject: how does xwin resolve ip addresses Message-ID: 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 From gsw@agere.com Fri Nov 1 07:52:00 2002 From: gsw@agere.com (Gerald S. Williams) Date: Fri, 01 Nov 2002 07:52:00 -0000 Subject: rootless mode and mousing to other windows In-Reply-To: <3DC1AF07.8080005@msu.edu> Message-ID: 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 From huntharo@msu.edu Fri Nov 1 08:01:00 2002 From: huntharo@msu.edu (Harold L Hunt II) Date: Fri, 01 Nov 2002 08:01:00 -0000 Subject: rootless mode and mousing to other windows In-Reply-To: References: Message-ID: <3DC2A568.5010707@msu.edu> 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 From wilper-8@ludd.luth.se Fri Nov 1 08:04:00 2002 From: wilper-8@ludd.luth.se (Wilhelm Person) Date: Fri, 01 Nov 2002 08:04:00 -0000 Subject: rootless mode and mousing to other windows In-Reply-To: <3DC2A568.5010707@msu.edu> Message-ID: 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: wilper@home.se | +-------------------------------+ From nahor@bravobrava.com Fri Nov 1 09:30:00 2002 From: nahor@bravobrava.com (Jehan) Date: Fri, 01 Nov 2002 09:30:00 -0000 Subject: rootless mode and mousing to other windows In-Reply-To: <3DC2A568.5010707@msu.edu> References: <3DC2A568.5010707@msu.edu> Message-ID: 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 From huntharo@msu.edu Fri Nov 1 10:07:00 2002 From: huntharo@msu.edu (Harold L Hunt II) Date: Fri, 01 Nov 2002 10:07:00 -0000 Subject: rootless mode and mousing to other windows In-Reply-To: References: Message-ID: <3DC2C2FB.4090809@msu.edu> 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 From wilper-8@ludd.luth.se Fri Nov 1 10:16:00 2002 From: wilper-8@ludd.luth.se (Wilhelm Person) Date: Fri, 01 Nov 2002 10:16:00 -0000 Subject: rootless mode and mousing to other windows In-Reply-To: <3DC2C2FB.4090809@msu.edu> Message-ID: 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: wilper@home.se | +-------------------------------+ From huntharo@msu.edu Fri Nov 1 10:20:00 2002 From: huntharo@msu.edu (Harold L Hunt II) Date: Fri, 01 Nov 2002 10:20:00 -0000 Subject: rootless mode and mousing to other windows In-Reply-To: References: Message-ID: <3DC2C5E4.9020807@msu.edu> 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: wilper@home.se | >+-------------------------------+ > > > From Alexander.Gottwald@informatik.tu-chemnitz.de Fri Nov 1 11:17:00 2002 From: Alexander.Gottwald@informatik.tu-chemnitz.de (Alexander Gottwald) Date: Fri, 01 Nov 2002 11:17:00 -0000 Subject: how does xwin resolve ip addresses In-Reply-To: Message-ID: 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 -- Alexander.Gottwald@informatik.tu-chemnitz.de http://www.gotti.org ICQ: 126018723 From j_tetazoo@hotmail.com Fri Nov 1 11:55:00 2002 From: j_tetazoo@hotmail.com (Thomas Chadwick) Date: Fri, 01 Nov 2002 11:55:00 -0000 Subject: rootless mode and mousing to other windows Message-ID: 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" >To: "Thomas Chadwick" , "Harold L Hunt II" >, >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: >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: <3DC1AF07.8080005@msu.edu> >X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2600.0000 >Return-Path: gsw@agere.com >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 From jblazi@gmx.de Fri Nov 1 23:09:00 2002 From: jblazi@gmx.de (jblazi) Date: Fri, 01 Nov 2002 23:09:00 -0000 Subject: Serious X11 problem Message-ID: <200211020820.11149.jblazi@gmx.de> 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 From steven.obrien2@ntlworld.com Sat Nov 2 03:45:00 2002 From: steven.obrien2@ntlworld.com (Steven O'Brien) Date: Sat, 02 Nov 2002 03:45:00 -0000 Subject: Serious X11 problem Message-ID: <20021102114558.3860b90c.steven.obrien2@ntlworld.com> jblazi wrote: > 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. I have just tried it with the latest cygwin, xfree and tools, and I do not get a core dump. The program runs OK, but with some interesting behaviour (on win 2k sp2) If I run it with *no window manager*, just XWin, then I get a window containing a square which closes after 10 seconds. All as expected by reading the code. This is true with all XWin engines. However, when I run a window manager, then the square is sometimes missing, sometimes has only two or three sides. Which result I get appears to be non-deterministic. I have tried this with twm, wmaker, fvwm2, icewm, and sawfish. Same behaviour in all cases. Does this indicate a race condition somewhere in the window manager protocol implementation in cygwin XFree86? Steven From Alexander.Gottwald@s1999.tu-chemnitz.de Sat Nov 2 07:51:00 2002 From: Alexander.Gottwald@s1999.tu-chemnitz.de (Alexander Gottwald) Date: Sat, 02 Nov 2002 07:51:00 -0000 Subject: how does xwin resolve ip addresses Message-ID: 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 give me more hints. bye ago NP: grauzone.02-09-23 -- Alexander.Gottwald@informatik.tu-chemnitz.de http://www.gotti.org ICQ: 126018723 From skoehler@upb.de Sat Nov 2 13:32:00 2002 From: skoehler@upb.de (=?ISO-8859-1?Q?Sven_K=F6hler?=) Date: Sat, 02 Nov 2002 13:32:00 -0000 Subject: XWin.exe crashes Message-ID: executing XWin & export DISPLAY=:0.0 setxkbmap de crashes XWin.exe with a segmentation fault. i also get a "core dump" i hope it can be reproduced on your systems. Thx Sven From Alexander.Gottwald@s1999.tu-chemnitz.de Sun Nov 3 04:07:00 2002 From: Alexander.Gottwald@s1999.tu-chemnitz.de (Alexander Gottwald) Date: Sun, 03 Nov 2002 04:07:00 -0000 Subject: XWin.exe crashes In-Reply-To: Message-ID: Sven K??hler wrote: > executing > XWin & > export DISPLAY=:0.0 > setxkbmap de > crashes XWin.exe with a segmentation fault. > i also get a "core dump" please check if /tmp is mounted in binmode > i hope it can be reproduced on your systems. xkb is working perfectly for me bye ago NP: grauzone.02-10-07 -- Alexander.Gottwald@informatik.tu-chemnitz.de http://www.gotti.org ICQ: 126018723 From skoehler@upb.de Sun Nov 3 06:01:00 2002 From: skoehler@upb.de (=?ISO-8859-1?Q?Sven_K=F6hler?=) Date: Sun, 03 Nov 2002 06:01:00 -0000 Subject: XWin.exe crashes In-Reply-To: References: Message-ID: > >executing > > XWin & > > export DISPLAY=:0.0 > > setxkbmap de > >crashes XWin.exe with a segmentation fault. > >i also get a "core dump" > > please check if /tmp is mounted in binmode good hint, now it works why? what's the problem using text-mounts with XWin? From Alexander.Gottwald@s1999.tu-chemnitz.de Sun Nov 3 06:25:00 2002 From: Alexander.Gottwald@s1999.tu-chemnitz.de (Alexander Gottwald) Date: Sun, 03 Nov 2002 06:25:00 -0000 Subject: XWin.exe crashes In-Reply-To: Message-ID: Sven K??hler wrote: > good hint, now it works > why? what's the problem using text-mounts with XWin? either xkbcomp or XWin opens the file in the wrong mode (they do not specify if the data is binary or text) so it get's opened in the mode which was specified with mount. I've just fixed the line in XWin but have not tested if it fails too. But I guess it's xkbcomp which is the problem. bye ago NP: grauzone.02-10-14 -- Alexander.Gottwald@informatik.tu-chemnitz.de http://www.gotti.org ICQ: 126018723 From Alexander.Gottwald@s1999.tu-chemnitz.de Sun Nov 3 07:10:00 2002 From: Alexander.Gottwald@s1999.tu-chemnitz.de (Alexander Gottwald) Date: Sun, 03 Nov 2002 07:10:00 -0000 Subject: XWin.exe crashes In-Reply-To: Message-ID: Alexander Gottwald wrote: > Sven K??hler wrote: > > > good hint, now it works > > why? what's the problem using text-mounts with XWin? > > either xkbcomp or XWin opens the file in the wrong mode (they do not > specify if the data is binary or text) so it get's opened in the mode > which was specified with mount. I've just fixed the line in XWin but > have not tested if it fails too. But I guess it's xkbcomp which is the > problem. xkbcomp was not aware of binary or text files. I've changed it and xkbcomp now produces files with same length for binary and text mounts. Attached is a patch for this. It also patches the Xserver to open the files in binmode. A test binary is available: http://www-user.tu-chemnitz.de/~goal/xfree/xkbcomp.exe.bz2 replace the one in /usr/X11R6/bin und /usr/X11R6/lib/X11/xkb or /etc/X11/xkb If it still fails, please test the patched XWin.exe too http://www-user.tu-chemnitz.de/~goal/xfree/XWin-binmode.exe.bz2 bye ago NP: Blutengel - Schmerz 2 - Lust -- Alexander.Gottwald@informatik.tu-chemnitz.de http://www.gotti.org ICQ: 126018723 -------------- next part -------------- Index: programs/Xserver/xkb/ddxLoad.c =================================================================== RCS file: /cvs/xc/programs/Xserver/xkb/ddxLoad.c,v retrieving revision 3.30 diff -u -r3.30 ddxLoad.c --- programs/Xserver/xkb/ddxLoad.c 2002/05/31 18:46:06 3.30 +++ programs/Xserver/xkb/ddxLoad.c 2002/11/03 12:29:17 @@ -413,7 +413,7 @@ else if (strlen(xkm_output_dir)+strlen(mapName)+5 <= PATH_MAX) sprintf(buf,"%s%s.xkm",xkm_output_dir,mapName); if (buf[0] != '\0') - file= fopen(buf,"r"); + file= fopen(buf,"rb"); else file= NULL; } else file= NULL; Index: programs/xkbcomp/xkbcomp.c =================================================================== RCS file: /cvs/xc/programs/xkbcomp/xkbcomp.c,v retrieving revision 3.17 diff -u -r3.17 xkbcomp.c --- programs/xkbcomp/xkbcomp.c 2002/06/05 00:00:37 3.17 +++ programs/xkbcomp/xkbcomp.c 2002/11/03 14:57:04 @@ -873,16 +873,30 @@ * -- Branden Robinson */ int outputFileFd; + int binMode = 0; + const char *openMode = "w"; unlink(outputFile); +#ifdef O_BINARY + switch (outputFormat) { + case WANT_XKM_FILE: + binMode = O_BINARY; + openMode = "wb"; + break; + default: + binMode = 0; + break; + } +#endif outputFileFd= open(outputFile, O_WRONLY|O_CREAT|O_EXCL, - S_IRUSR|S_IWUSR|S_IRGRP|S_IWGRP|S_IROTH|S_IWOTH); + S_IRUSR|S_IWUSR|S_IRGRP|S_IWGRP|S_IROTH|S_IWOTH|binMode); if (outputFileFd<0) { ERROR1("Cannot open \"%s\" to write keyboard description\n", outputFile); ACTION("Exiting\n"); exit(1); } - out= fdopen(outputFileFd, "w"); + + out= fdopen(outputFileFd, openMode); /* end BR */ if (out==NULL) { ERROR1("Cannot open \"%s\" to write keyboard description\n", From andreas@schessner.de Sun Nov 3 08:42:00 2002 From: andreas@schessner.de (Andreas Schessner) Date: Sun, 03 Nov 2002 08:42:00 -0000 Subject: AltGR problems with Windows XP Message-ID: <3DC551E2.4080803@schessner.de> Hello, I use the X server of Cygwin/XFree86 (XWin) and it is working fine on my Windows 2000 Workstation but running the same version on my Notebook (Windows XP) causes problems with the AltGr handling. I've noticed that pressing the AltGr Key produces a KeyPress-Control_L KeyPress-Mode_switch KeyRelease-Control_L KeyRelease-Mode_switch event sequence (see xev output at the end of this mail). I began to trace the code (winkeybd.c, function winIsFakeCtrl_L) and found out that on my XP notebook the windows messages VK_CONTROL (the faked Control_L) and VK_MENU don't have the same timestamp and it is not always possible to get the following VK_MENU message by issuing the PeekMessage(). I don't know if this problem is relating to my Notebook (Dell Latitude) or to Windows XP. Are there other people having the same problems? Andreas PS. For now I've implemented a workarround. I'm using a translation of the incomming windows messages, which recognizes the fake Control_L messages and filters them out. Changes were made on following sources: win.h, winkeybd.c, winwndproc.c The modified sources can be obtained from mee if desired: This works fine for me... The algorithm is desccribed below as a deterministic finite automata (DFA) input \ state | 0 (start) | 1 | 2 | 3 -------------------------------------------------------------------------------- KeyPressed-CtrlL (PCL) | 1 - | 1 - | 2 PCL | 1 - KeyReleased-CtrlL (RCL) | 0 RCL | 0 PCL,RCL | 3 - | 0 RCL KeyPressed-AltR (PAR) | 0 PAR | 2 PAR | 2 PAR | 0 PAR KeyReleased-AltR (RAR) | 0 RAR | 0 PCL,RAR | 1 RAR | 0 RAR any other key (*) | 0 * | 0 PCL,* | 2 * | 0 * States: 0 (start),1,2,3 input and output alphabet: KeyPressed-CtrlL (PCL), KeyReleased-CtrlL (RCL), KeyPressed-AltR (PAR), KeyReleased-AltR (RAR), no key (-), any other key(*) the table shows the transitions: e.g. assume you are in state "1" and you receive a KeyReleased-CtrlL message then the new state of the DFA would be "0" and the events for KeyPressed-CtrlL and KeyReleased-CtrlL are sent to the XWin X-Server. Implementation: ========================================================= void winProcessKeyEvent (DWORD dwVirtualKey, DWORD dwKeyData) { static int iState = 0; /* initial State of DFA */ static int iCtrlCode = 0; /* initialized when first pressed... */ Bool fDown = ((dwKeyData & 0x80000000) == 0); Bool fExt = ((HIWORD(dwKeyData) & KF_EXTENDED) != 0); int iPreKeyCode = XK_VoidSymbol; Bool fCtrlUp, fCtrlDown, fMenuUp, fMenuDown; int iKeyCode, i; winTranslateKey (dwVirtualKey, dwKeyData, &iKeyCode); /* * determine the input for the DFA * (we use boolean indicators instead of an real alphabet) */ fCtrlUp = fCtrlDown = fMenuUp = fMenuDown = FALSE; if (dwVirtualKey == VK_CONTROL) { iCtrlCode = iKeyCode; /* save the scan code for VK_CONTROL */ if (fDown) fCtrlDown=TRUE; else fCtrlUp =TRUE; } else if (dwVirtualKey == VK_MENU && fExt) { if (fDown) fMenuDown=TRUE; else fMenuUp =TRUE; } #if CYGDEBUG ErrorF("winProcessKeyEvent: 0x%0x, 0x%0x\n",dwVirtualKey,dwKeyData); ErrorF("State=%d Input=0x%0x (%s) ",iState,dwVirtualKey,(fDown?"DOWN":"UP")); #endif switch (iState) { default: case 0 : if (fCtrlDown) { iState=1; iKeyCode=XK_VoidSymbol; } else { iState=0; } break; case 1 : if (fCtrlDown) { iState=1; } else if (fMenuDown) { iState=2; } else { iState=0; iPreKeyCode=iCtrlCode; } break; case 2 : if (fCtrlUp) { iState=3; } else if (fMenuUp) { iState=1; } else { iState=2; } break; case 3 : if (fCtrlDown) { iState=1; iKeyCode=XK_VoidSymbol; } else { iState=0; } break; } #if CYGDEBUG ErrorF(" -> State=%d", iState); if (iPreKeyCode != XK_VoidSymbol) ErrorF(" 0x%0x [0x0],",iPreKeyCode); ErrorF(" 0x%0x [0x%0x]\n",iKeyCode,dwKeyData); #endif if (iPreKeyCode != XK_VoidSymbol) winSendKeyEvent(iPreKeyCode,TRUE); if (iKeyCode != XK_VoidSymbol) for (i = 0; i < LOWORD(dwKeyData); ++i) winSendKeyEvent(iKeyCode, (dwKeyData & 0x80000000)==0); } Output of xev with the original XWin: ========================================================= KeyPress event, serial 22, synthetic NO, window 0xa00001, root 0x36, subw 0xa00002, time 249118172, (38,43), root:(591,66), state 0x0, keycode 37 (keysym 0xffe3, Control_L), same_screen YES, XLookupString gives 0 characters: "" KeyPress event, serial 22, synthetic NO, window 0xa00001, root 0x36, subw 0xa00002, time 249118172, (38,43), root:(591,66), state 0x4, keycode 113 (keysym 0xff7e, Mode_switch), same_screen YES, XLookupString gives 0 characters: "" KeyRelease event, serial 22, synthetic NO, window 0xa00001, root 0x36, subw 0xa00002, time 249118303, (38,43), root:(591,66), state 0x2004, keycode 37 (keysym 0xffe3, Control_L), same_screen YES, XLookupString gives 0 characters: "" KeyRelease event, serial 22, synthetic NO, window 0xa00001, root 0x36, subw 0xa00002, time 249118303, (38,43), root:(591,66), state 0x2000, keycode 113 (keysym 0xff7e, Mode_switch), same_screen YES, XLookupString gives 0 characters: "" KeyPress event, serial 22, synthetic NO, window 0xa00001, root 0x36, subw 0xa00002, time 249119024, (38,43), root:(591,66), state 0x0, keycode 38 (keysym 0x61, a), same_screen YES, XLookupString gives 1 characters: "a" .... KeyPress event, serial 22, synthetic NO, window 0xa00001, root 0x36, subw 0xa00002, time 249131181, (38,43), root:(591,66), state 0x0, keycode 37 (keysym 0xffe3, Control_L), same_screen YES, XLookupString gives 0 characters: "" KeyPress event, serial 22, synthetic NO, window 0xa00001, root 0x36, subw 0xa00002, time 249131191, (38,43), root:(591,66), state 0x4, keycode 113 (keysym 0xff7e, Mode_switch), same_screen YES, XLookupString gives 0 characters: "" KeyRelease event, serial 22, synthetic NO, window 0xa00001, root 0x36, subw 0xa00002, time 249131381, (38,43), root:(591,66), state 0x2004, keycode 113 (keysym 0xff7e, Mode_switch), same_screen YES, XLookupString gives 0 characters: "" KeyPress event, serial 22, synthetic NO, window 0xa00001, root 0x36, subw 0xa00002, time 249132383, (38,43), root:(591,66), state 0x4, keycode 38 (keysym 0x61, a), same_screen YES, XLookupString gives 1 characters: "" From cgf@redhat.com Sun Nov 3 09:26:00 2002 From: cgf@redhat.com (Christopher Faylor) Date: Sun, 03 Nov 2002 09:26:00 -0000 Subject: XWin.exe crashes In-Reply-To: References: Message-ID: <20021103172812.GA13849@redhat.com> On Sun, Nov 03, 2002 at 04:10:28PM +0100, Alexander Gottwald wrote: >Alexander Gottwald wrote: > >> Sven K?hler wrote: >> >> > good hint, now it works >> > why? what's the problem using text-mounts with XWin? >> >> either xkbcomp or XWin opens the file in the wrong mode (they do not >> specify if the data is binary or text) so it get's opened in the mode >> which was specified with mount. I've just fixed the line in XWin but >> have not tested if it fails too. But I guess it's xkbcomp which is the >> problem. > >xkbcomp was not aware of binary or text files. I've changed it and xkbcomp >now produces files with same length for binary and text mounts. Attached is >a patch for this. It also patches the Xserver to open the files in binmode. > >A test binary is available: >http://www-user.tu-chemnitz.de/~goal/xfree/xkbcomp.exe.bz2 >replace the one in /usr/X11R6/bin und /usr/X11R6/lib/X11/xkb or >/etc/X11/xkb Maybe everything in Cygwin/XFree86 should be linked with /usr/lib/binmode.o? cgf From lists@shemeshdirectory.co.il Sun Nov 3 10:30:00 2002 From: lists@shemeshdirectory.co.il (Lisi) Date: Sun, 03 Nov 2002 10:30:00 -0000 Subject: XWin.exe crashes In-Reply-To: References: Message-ID: <5.0.0.25.0.20021103201950.00a57d80@mail.shemeshdirectory.co.il> I just installed KDE-cygwin, and I haven't gotten it start properly. Based on the errors I'm getting and the FAQs I've read, the suggestion was to make sure the paths are mounted in binmode, which involves changing a registry key. Since I'd prefer not to do that, will this patch work for me as well? I am running Cygwin 1.3.13-2, XFree86 4.2.0-2, and KDE 2.2.2-b1 on Win 98. I realize I am not being very specific about the problem, I am not looking for a personalized solution (yet!) I just want to know if this solution might apply to KDE as well. Any other advice is appreciated as well. Thanks, -Lisi At 04:10 PM 11/3/02 +0100, Alexander Gottwald wrote: >Alexander Gottwald wrote: > > > Sven K?hler wrote: > > > > > good hint, now it works > > > why? what's the problem using text-mounts with XWin? > > > > either xkbcomp or XWin opens the file in the wrong mode (they do not > > specify if the data is binary or text) so it get's opened in the mode > > which was specified with mount. I've just fixed the line in XWin but > > have not tested if it fails too. But I guess it's xkbcomp which is the > > problem. > >xkbcomp was not aware of binary or text files. I've changed it and xkbcomp >now produces files with same length for binary and text mounts. Attached is >a patch for this. It also patches the Xserver to open the files in binmode. > >A test binary is available: >http://www-user.tu-chemnitz.de/~goal/xfree/xkbcomp.exe.bz2 >replace the one in /usr/X11R6/bin und /usr/X11R6/lib/X11/xkb or >/etc/X11/xkb > >If it still fails, please test the patched XWin.exe too >http://www-user.tu-chemnitz.de/~goal/xfree/XWin-binmode.exe.bz2 > >bye > ago > >NP: Blutengel - Schmerz 2 - Lust >-- > Alexander.Gottwald@informatik.tu-chemnitz.de > http://www.gotti.org ICQ: 126018723 From skoehler@upb.de Sun Nov 3 12:41:00 2002 From: skoehler@upb.de (=?ISO-8859-1?Q?Sven_K=F6hler?=) Date: Sun, 03 Nov 2002 12:41:00 -0000 Subject: XWin.exe crashes In-Reply-To: References: <5.0.0.25.0.20021103201950.00a57d80@mail.shemeshdirectory.co.il> Message-ID: <3DC58B20.5080801@upb.de> > I just installed KDE-cygwin, and I haven't gotten it start properly. > Based on the errors I'm getting and the FAQs I've read, the suggestion > was to make sure the paths are mounted in binmode, which involves > changing a registry key. Since I'd prefer not to do that, will this > patch work for me as well? you can use setup.exe to change back from textmode to binmode, but the problem is, that most of the programs won't be abled to read the text-files they've writte in textmode. Christopher Faylor always suggests linking with binmode.o - and i would recomm that too, for the KDE-cygwin project. i don't know, why they don't do it - perhaps because binmode.o is too unknown yet. but to request, that the user runs cygwin in binmode is not always possible, because migrating back from text- to binmode takes much time (you have to convert every text-file) From skoehler@upb.de Sun Nov 3 14:00:00 2002 From: skoehler@upb.de (=?ISO-8859-1?Q?Sven_K=F6hler?=) Date: Sun, 03 Nov 2002 14:00:00 -0000 Subject: XWin.exe crashes In-Reply-To: References: <5.0.0.25.0.20021103201950.00a57d80@mail.shemeshdirectory.co.il> Message-ID: <3DC58B20.5080801@upb.de> > I just installed KDE-cygwin, and I haven't gotten it start properly. > Based on the errors I'm getting and the FAQs I've read, the suggestion > was to make sure the paths are mounted in binmode, which involves > changing a registry key. Since I'd prefer not to do that, will this > patch work for me as well? you can use setup.exe to change back from textmode to binmode, but the problem is, that most of the programs won't be abled to read the text-files they've writte in textmode. Christopher Faylor always suggests linking with binmode.o - and i would recomm that too, for the KDE-cygwin project. i don't know, why they don't do it - perhaps because binmode.o is too unknown yet. but to request, that the user runs cygwin in binmode is not always possible, because migrating back from text- to binmode takes much time (you have to convert every text-file) From Alexander.Gottwald@s1999.tu-chemnitz.de Sun Nov 3 14:02:00 2002 From: Alexander.Gottwald@s1999.tu-chemnitz.de (Alexander Gottwald) Date: Sun, 03 Nov 2002 14:02:00 -0000 Subject: XWin.exe crashes In-Reply-To: <20021103172812.GA13849@redhat.com> Message-ID: Christopher Faylor wrote: > Maybe everything in Cygwin/XFree86 should be linked with /usr/lib/binmode.o? What about compilers (as xkbcomp) they read a textfile and write a binary file. What happens if input is textfile on text-mount (with CRLF) and the program does not check for \r as possible line ending. IMHO the better way is to fix the programs to use fopen(..,"rb") and O_BINARY. bye ago NP: Blutengel - Weg zu mir -- Alexander.Gottwald@informatik.tu-chemnitz.de http://www.gotti.org ICQ: 126018723 From Alexander.Gottwald@s1999.tu-chemnitz.de Sun Nov 3 15:04:00 2002 From: Alexander.Gottwald@s1999.tu-chemnitz.de (Alexander Gottwald) Date: Sun, 03 Nov 2002 15:04:00 -0000 Subject: XWin.exe crashes In-Reply-To: <5.0.0.25.0.20021103201950.00a57d80@mail.shemeshdirectory.co.il> Message-ID: Lisi wrote: > I just installed KDE-cygwin, and I haven't gotten it start properly. Based > on the errors I'm getting and the FAQs I've read, the suggestion was to > make sure the paths are mounted in binmode, which involves changing a > registry key. Since I'd prefer not to do that, will this patch work for me > as well? the binmode answers in the FAQ do refer to the fonts. The patch does not change anything in the fontreading code. So this patch will most likely not solve your problem. bye ago NP: Blutengel - My time -- Alexander.Gottwald@informatik.tu-chemnitz.de http://www.gotti.org ICQ: 126018723 From cgf@redhat.com Sun Nov 3 19:59:00 2002 From: cgf@redhat.com (Christopher Faylor) Date: Sun, 03 Nov 2002 19:59:00 -0000 Subject: XWin.exe crashes In-Reply-To: References: <20021103172812.GA13849@redhat.com> Message-ID: <20021103230618.GA22347@redhat.com> On Sun, Nov 03, 2002 at 11:00:09PM +0100, Alexander Gottwald wrote: >Christopher Faylor wrote: > >> Maybe everything in Cygwin/XFree86 should be linked with /usr/lib/binmode.o? > >What about compilers (as xkbcomp) they read a textfile and write a binary >file. What happens if input is textfile on text-mount (with CRLF) and the >program does not check for \r as possible line ending. /usr/lib/automode.o cgf From huntharo@msu.edu Sun Nov 3 20:16:00 2002 From: huntharo@msu.edu (Harold L Hunt II) Date: Sun, 03 Nov 2002 20:16:00 -0000 Subject: XWin.exe crashes In-Reply-To: <20021103230618.GA22347@redhat.com> References: <20021103172812.GA13849@redhat.com> <20021103230618.GA22347@redhat.com> Message-ID: <3DC5F058.1070700@msu.edu> Yup, automode.o is what XWin.exe has been linking with for quite some time now. This fixed all the problems with the fonts directory not being mounted in binmode. It would be a pain to change all X binaries to link automode.o, but we can easily change the few binaries that are known to have problems, like xkbcomp. Harold Christopher Faylor wrote: >On Sun, Nov 03, 2002 at 11:00:09PM +0100, Alexander Gottwald wrote: > > >>Christopher Faylor wrote: >> >> >> >>>Maybe everything in Cygwin/XFree86 should be linked with /usr/lib/binmode.o? >>> >>> >>What about compilers (as xkbcomp) they read a textfile and write a binary >>file. What happens if input is textfile on text-mount (with CRLF) and the >>program does not check for \r as possible line ending. >> >> > >/usr/lib/automode.o > >cgf > > From cgf@redhat.com Mon Nov 4 01:38:00 2002 From: cgf@redhat.com (Christopher Faylor) Date: Mon, 04 Nov 2002 01:38:00 -0000 Subject: XWin.exe crashes In-Reply-To: <3DC5F058.1070700@msu.edu> References: <20021103172812.GA13849@redhat.com> <20021103230618.GA22347@redhat.com> <3DC5F058.1070700@msu.edu> Message-ID: <20021104041805.GA17336@redhat.com> On Sun, Nov 03, 2002 at 10:58:16PM -0500, Harold L Hunt II wrote: >Yup, automode.o is what XWin.exe has been linking with for quite some >time now. This fixed all the problems with the fonts directory not >being mounted in binmode. It would be a pain to change all X binaries >to link automode.o, but we can easily change the few binaries that are >known to have problems, like xkbcomp. It didn't sound like the xkbcomp problem would be solved by linking with automode.o. Since that was reading a binary file, it would need to be linked with binmode.o. cgf -- Please do not send me personal email with cygwin questions or observations. Use the resources at http://cygwin.com/ . From lists@shemeshdirectory.co.il Mon Nov 4 02:39:00 2002 From: lists@shemeshdirectory.co.il (Lisi) Date: Mon, 04 Nov 2002 02:39:00 -0000 Subject: XWin.exe crashes In-Reply-To: <3DC58B20.5080801@upb.de> References: <5.0.0.25.0.20021103201950.00a57d80@mail.shemeshdirectory.co.il> Message-ID: <5.0.0.25.0.20021104113645.00a4dd30@mail.shemeshdirectory.co.il> At 09:46 PM 11/3/02 +0100, Sven K?hler wrote: >>I just installed KDE-cygwin, and I haven't gotten it start properly. >>Based on the errors I'm getting and the FAQs I've read, the suggestion >>was to make sure the paths are mounted in binmode, which involves >>changing a registry key. Since I'd prefer not to do that, will this >>patch work for me as well? > >you can use setup.exe to change back from textmode to binmode, but the >problem is, that most of the programs won't be abled to read the >text-files they've writte in textmode. How would I do this with setup? Which option is this, and do I have to reinstall everything (i.e. Cygwin, XFree86, individual packages, etc)? >Christopher Faylor always suggests linking with binmode.o - and i would >recomm that too, for the KDE-cygwin project. i don't know, why they don't >do it - perhaps because binmode.o is too unknown yet. > >but to request, that the user runs cygwin in binmode is not always >possible, because migrating back from text- to binmode takes much time >(you have to convert every text-file) Once it's been switched back to binmode, would files written after that be in binmode as well? Or would I continue to have a conflict? TIA, -Lisi From rasjidw@openminddev.net Mon Nov 4 03:05:00 2002 From: rasjidw@openminddev.net (Rasjid Wilcox) Date: Mon, 04 Nov 2002 03:05:00 -0000 Subject: XWin.exe crashes In-Reply-To: <5.0.0.25.0.20021104113645.00a4dd30@mail.shemeshdirectory.co.il> References: <5.0.0.25.0.20021103201950.00a57d80@mail.shemeshdirectory.co.il> <5.0.0.25.0.20021104113645.00a4dd30@mail.shemeshdirectory.co.il> Message-ID: <200211042139.36400.rasjidw@openminddev.net> On Mon, 4 Nov 2002 8:39 pm, Lisi wrote: > At 09:46 PM 11/3/02 +0100, Sven K??hler wrote: > >you can use setup.exe to change back from textmode to binmode, but the > >problem is, that most of the programs won't be abled to read the > >text-files they've writte in textmode. > > How would I do this with setup? Which option is this, and do I have to > reinstall everything (i.e. Cygwin, XFree86, individual packages, etc)? Just go through the normal install questions (probably best to choose your local cache as the Download Source), and choose 'Default Text File Type' = 'Unix'. At 'Select Packages' make sure you don't remove or add any packages. Setup will then proceed to install zero packages, but change the default mount mode for you. > >Christopher Faylor always suggests linking with binmode.o - and i would > >recomm that too, for the KDE-cygwin project. i don't know, why they don't > >do it - perhaps because binmode.o is too unknown yet. > > > >but to request, that the user runs cygwin in binmode is not always > >possible, because migrating back from text- to binmode takes much time > >(you have to convert every text-file) > > Once it's been switched back to binmode, would files written after that be > in binmode as well? Yes. So files written with vi under cygwin will not look so good in notepad. > Or would I continue to have a conflict? As Sven says, you will now possibly have the problem that files created while in text mode may not be able to be read correctly. Rasjid. From hj.beckers@kreis-steinfurt.de Mon Nov 4 04:26:00 2002 From: hj.beckers@kreis-steinfurt.de (hj.beckers@kreis-steinfurt.de) Date: Mon, 04 Nov 2002 04:26:00 -0000 Subject: German keyboard-file for Cygwin/Xfree? Message-ID: I can't get Xfree to work with a german keyboard. (The problems seems to sit in front of the keyboard.) As I'm connecting to IBMs AIX, I can't use the Xkb-Extensions. Xkeycaps generates an off-by-one keyboard (asdf -> sdfg) or an xmodmap-file, where the umlaut-keys still generate the brackets, even if the graphical display shows the correct umlauts. So: Could someone send me a working german .xmodmap-file off-list (hj.beckers at kreis-steinfurt.de)? One is enough ... Yours hjb From alexander.gottwald@s1999.tu-chemnitz.de Mon Nov 4 05:10:00 2002 From: alexander.gottwald@s1999.tu-chemnitz.de (Alexander Gottwald) Date: Mon, 04 Nov 2002 05:10:00 -0000 Subject: XWin.exe crashes In-Reply-To: <20021104041805.GA17336@redhat.com> Message-ID: On Sun, 3 Nov 2002, Christopher Faylor wrote: > It didn't sound like the xkbcomp problem would be solved by linking with > automode.o. Since that was reading a binary file, it would need to be > linked with binmode.o. xkbcomp is reading some textfiles and writes a binary file. bye ago -- Alexander.Gottwald@informatik.tu-chemnitz.de http://www.gotti.org ICQ: 126018723 From BrianGenisio@yahoo.com Mon Nov 4 05:23:00 2002 From: BrianGenisio@yahoo.com (Brian Genisio) Date: Mon, 04 Nov 2002 05:23:00 -0000 Subject: multiple windows References: <001a01c2782c$0a949900$5e05cf9b@pharm.auth.gr> Message-ID: <3DC67164.2020407@yahoo.com> Hmmmm... Are you running a window manager? It sounds like you are not. Try running twm (Tiny Window Manager) before you run anything else. There are lots of other window managers out there, but twm is packaged with the XFree86 cygwin package. Brian Kyriakos Kachrimanis wrote: > Dear list members, > > I want to start Xfree in multiple window mode. By default it starts as > single window and this causes some problems when I run the xgobi program > because several windows appear overlayed and I cannot move them aside. How > can I configure it to start in multiple windows? > My question may be too easy to bother this list, but I'm new to cygwin-xfree > and I couldn't find anything relevant on the mail archives or the user's > guide. > Thanks in advance, > Kyriakos Kachrimanis. > > From FRANZW@dk.ibm.com Mon Nov 4 06:47:00 2002 From: FRANZW@dk.ibm.com (Franz Wolfhagen) Date: Mon, 04 Nov 2002 06:47:00 -0000 Subject: German keyboard-file for Cygwin/Xfree? Message-ID: If you turn off your numlock before starting Xwin Xkbextensions works fine on AIX (at least here...) Med venlig hilsen / Regards Franz Wolfhagen >I can't get Xfree to work with a german keyboard. (The problems seems to >sit in front of the keyboard.) As I'm connecting to IBMs AIX, I can't use >the Xkb-Extensions. Xkeycaps generates an off-by-one keyboard (asdf -> >sdfg) or an xmodmap-file, where the umlaut-keys still generate the >brackets, >even if the graphical display shows the correct umlauts. > >So: Could someone send me a working german .xmodmap-file off-list >(hj.beckers at kreis-steinfurt.de)? One is enough ... From j_tetazoo@hotmail.com Mon Nov 4 07:18:00 2002 From: j_tetazoo@hotmail.com (Thomas Chadwick) Date: Mon, 04 Nov 2002 07:18:00 -0000 Subject: [ANNOUNCEMENT] Updated Cygwin/XFree86 Package: x2x-1.27-2 Message-ID: ANNOUCEMENT An update to the Cygwin/XFree86 package 'x2x' is now available. DESCRIPTION The usefulness of this utility will become apparent to anyone with a PC side-by-side with an *ix workstation. Simply bring up an XWindows session on each machine, run x2x on the PC, and use your PC's mouse and keyboard to control your *ix workstation's display. Works better and is cheaper than a KVM (Keyboard/Video/Mouse) switch. It also works much like a multi-headed X session. RELEASE HISTORY x2x-1.27-2 (current release): Bugfix and enhancement release. Changes are: 1) Fixed problem in which x2x consumes nearly 100% of the CPU. This was due to a problem in setting up a call to select(), which was causing it to be non-blocking. 2) Added some includes and cleaned-up some code to cut down on compiler warnings. 3) Added a whole new feature! Invoking x2d with a command-line flag of "-capslockhack"causes it to wrap Shift key Press/ Release events around alpha keystrokes. I discovered I needed this feature because the "to" display I have uses the state of CapsLock on its attached keyboard to determine if CapsLock is on (instead of obeying the CapsLock Press/Release keyboard events). x2x-1.27-1: Initial Release. Vendor code built and package as-is. KNOWN BUGS Doesn't "work" very well with the new rootless mode of XWin. I plan to fix this in a future release. INSTALLATION INSTRUCTIONS To update your installation, click on the "Install Cygwin now" link on the http://cygwin.com/ web page. This downloads setup.exe to your system. Save it and run setup, answer the questions and pick up 'x2x' from the 'XFree86' category. You may need to click the "Full" button if it doesn't show up. Note that downloads from sources.redhat.com (aka cygwin.com) aren't allowed due to bandwidth limitations. This means that you will need to find a mirror which has this update. In the US, ftp://archive.progeny.com/cygwin/ is a reliable high bandwidth connection. In Japan, ftp://ftp.u-aizu.ac.jp/pub/gnu/gnu-win32/ is usually up-to-date. In DK, http://mirrors.sunsite.dk/cygwin/ is usually up-to-date. If one of the above doesn't have the latest version of this package you can either wait for the site to be updated or find another mirror. Please send questions or comments to the Cygwin/XFree86 mailing list (mailto:cygwin-xfree@sources.redhat.com). If you want to subscribe go to http://cygwin.com/lists.html. I would appreciate it if you would use the mailing list rather than emailing me directly. This includes ideas and comments about the setup utility or Cygwin/XFree86 in general. If you want to make a point or ask a question, the Cygwin/XFree86 mailing list is the appropriate place. _________________________________________________________________ Protect your PC - get McAfee.com VirusScan Online http://clinic.mcafee.com/clinic/ibuy/campaign.asp?cid=3963 From jc.gervais@videotron.ca Mon Nov 4 07:41:00 2002 From: jc.gervais@videotron.ca (Jean-Claude Gervais) Date: Mon, 04 Nov 2002 07:41:00 -0000 Subject: [ANNOUNCEMENT] Updated Cygwin/XFree86 Package: x2x-1.27-2 In-Reply-To: Message-ID: <00aa01c28415$14cbdec0$6501a8c0@sprymusic.com> Great news Thomas, Um, since you know so much about dual-displays, maybe you could help me? I'm running Cygwin XFree on a machine inside which I have installed two video cards; this in effect creates a really large Windows desktop. I'm just wondering if you know of any way to get the Cygwin XFree display to either use the full desktop surface, or failing that, is there a way to get Cygwin XFree to start up on the right-hand side of the display, because it never seems to want to start on the second display... Thanks in advance. -----Original Message----- From: cygwin-xfree-owner@cygwin.com [mailto:cygwin-xfree-owner@cygwin.com]On Behalf Of Thomas Chadwick Sent: Monday, November 04, 2002 9:47 AM To: cygwin-xfree-announce@cygwin.com Cc: cygwin-xfree@cygwin.com Subject: [ANNOUNCEMENT] Updated Cygwin/XFree86 Package: x2x-1.27-2 ANNOUCEMENT An update to the Cygwin/XFree86 package 'x2x' is now available. DESCRIPTION The usefulness of this utility will become apparent to anyone with a PC side-by-side with an *ix workstation. Simply bring up an XWindows session on each machine, run x2x on the PC, and use your PC's mouse and keyboard to control your *ix workstation's display. Works better and is cheaper than a KVM (Keyboard/Video/Mouse) switch. It also works much like a multi-headed X session. RELEASE HISTORY x2x-1.27-2 (current release): Bugfix and enhancement release. Changes are: 1) Fixed problem in which x2x consumes nearly 100% of the CPU. This was due to a problem in setting up a call to select(), which was causing it to be non-blocking. 2) Added some includes and cleaned-up some code to cut down on compiler warnings. 3) Added a whole new feature! Invoking x2d with a command-line flag of "-capslockhack"causes it to wrap Shift key Press/ Release events around alpha keystrokes. I discovered I needed this feature because the "to" display I have uses the state of CapsLock on its attached keyboard to determine if CapsLock is on (instead of obeying the CapsLock Press/Release keyboard events). x2x-1.27-1: Initial Release. Vendor code built and package as-is. KNOWN BUGS Doesn't "work" very well with the new rootless mode of XWin. I plan to fix this in a future release. INSTALLATION INSTRUCTIONS To update your installation, click on the "Install Cygwin now" link on the http://cygwin.com/ web page. This downloads setup.exe to your system. Save it and run setup, answer the questions and pick up 'x2x' from the 'XFree86' category. You may need to click the "Full" button if it doesn't show up. Note that downloads from sources.redhat.com (aka cygwin.com) aren't allowed due to bandwidth limitations. This means that you will need to find a mirror which has this update. In the US, ftp://archive.progeny.com/cygwin/ is a reliable high bandwidth connection. In Japan, ftp://ftp.u-aizu.ac.jp/pub/gnu/gnu-win32/ is usually up-to-date. In DK, http://mirrors.sunsite.dk/cygwin/ is usually up-to-date. If one of the above doesn't have the latest version of this package you can either wait for the site to be updated or find another mirror. Please send questions or comments to the Cygwin/XFree86 mailing list (mailto:cygwin-xfree@sources.redhat.com). If you want to subscribe go to http://cygwin.com/lists.html. I would appreciate it if you would use the mailing list rather than emailing me directly. This includes ideas and comments about the setup utility or Cygwin/XFree86 in general. If you want to make a point or ask a question, the Cygwin/XFree86 mailing list is the appropriate place. _________________________________________________________________ Protect your PC - get McAfee.com VirusScan Online http://clinic.mcafee.com/clinic/ibuy/campaign.asp?cid=3963 From j_tetazoo@hotmail.com Mon Nov 4 07:49:00 2002 From: j_tetazoo@hotmail.com (Thomas Chadwick) Date: Mon, 04 Nov 2002 07:49:00 -0000 Subject: [ANNOUNCEMENT] Updated Cygwin/XFree86 Package: x2x-1.27-2 Message-ID: Sorry, can't help you. I don't have this type of setup, so I've never encountered the problem you are seeing. I know I've seen this very question posted to this mailing list in the past. Perhaps you can find the answer you seek by searching the archives? Tip: Try using google with "site:cygwin.com" as the last search term. >From: Jean-Claude Gervais >Reply-To: cygwin-xfree@cygwin.com >To: cygwin-xfree@cygwin.com >Subject: RE: [ANNOUNCEMENT] Updated Cygwin/XFree86 Package: x2x-1.27-2 >Date: Mon, 04 Nov 2002 10:15:58 -0500 >MIME-Version: 1.0 >Received: from sources.redhat.com ([209.249.29.67]) by >mc4-f19.law16.hotmail.com with Microsoft SMTPSVC(5.0.2195.5600); Mon, 4 Nov >2002 07:18:35 -0800 >Received: (qmail 28666 invoked by alias); 4 Nov 2002 15:18:28 -0000 >Received: (qmail 28589 invoked from network); 4 Nov 2002 15:18:27 -0000 >Received: from unknown (HELO VL-MS-MR002.sc1.videotron.ca) (24.201.245.36) >by sources.redhat.com with SMTP; 4 Nov 2002 15:18:27 -0000 >Received: from mercury ([24.200.89.140]) by VL-MS-MR002.sc1.videotron.ca >(iPlanet Messaging Server 5.2 HotFix 0.9 (built Jul 29 2002)) with SMTP id ><0H52002YJ552A7@VL-MS-MR002.sc1.videotron.ca> for cygwin-xfree@cygwin.com; >Mon, 04 Nov 2002 10:17:27 -0500 (EST) >Mailing-List: contact cygwin-xfree-help@cygwin.com; run by ezmlm >Precedence: bulk >List-Unsubscribe: > >List-Subscribe: >List-Archive: >List-Post: >List-Help: , > >Sender: cygwin-xfree-owner@cygwin.com >Mail-Followup-To: cygwin-xfree@cygwin.com >Delivered-To: mailing list cygwin-xfree@cygwin.com >In-reply-to: >Message-id: <00aa01c28415$14cbdec0$6501a8c0@sprymusic.com> >X-MIMEOLE: Produced By Microsoft MimeOLE V6.00.2800.1106 >Importance: Normal >X-Priority: 3 (Normal) >X-MSMail-priority: Normal >Return-Path: cygwin-xfree-return-12005-j_tetazoo=hotmail.com@cygwin.com >X-OriginalArrivalTime: 04 Nov 2002 15:18:35.0647 (UTC) >FILETIME=[71B210F0:01C28415] > >Great news Thomas, > > Um, since you know so much about dual-displays, maybe you could help me? > > I'm running Cygwin XFree on a machine inside which I have installed two >video cards; this in effect creates a really large Windows desktop. > > I'm just wondering if you know of any way to get the Cygwin XFree display >to either use the full desktop surface, or failing that, is there a way to >get Cygwin XFree to start up on the right-hand side of the display, because >it never seems to want to start on the second display... > >Thanks in advance. > > >-----Original Message----- >From: cygwin-xfree-owner@cygwin.com >[mailto:cygwin-xfree-owner@cygwin.com]On >Behalf Of Thomas Chadwick >Sent: Monday, November 04, 2002 9:47 AM >To: cygwin-xfree-announce@cygwin.com >Cc: cygwin-xfree@cygwin.com >Subject: [ANNOUNCEMENT] Updated Cygwin/XFree86 Package: x2x-1.27-2 > >ANNOUCEMENT > >An update to the Cygwin/XFree86 package 'x2x' is now available. > > >DESCRIPTION > >The usefulness of this utility will become apparent to anyone with a PC >side-by-side with an *ix workstation. Simply bring up an XWindows session >on each machine, run x2x on the PC, and use your PC's mouse and keyboard to >control your *ix workstation's display. Works better and is cheaper than a >KVM (Keyboard/Video/Mouse) switch. It also works much like a multi-headed >X >session. > > >RELEASE HISTORY > >x2x-1.27-2 (current release): > > Bugfix and enhancement release. Changes are: > > 1) Fixed problem in which x2x consumes nearly 100% of the CPU. > This was due to a problem in setting up a call to select(), > which was causing it to be non-blocking. > > 2) Added some includes and cleaned-up some code to cut down > on compiler warnings. > > 3) Added a whole new feature! Invoking x2d with a command-line > flag of "-capslockhack"causes it to wrap Shift key Press/ > Release events around alpha keystrokes. I discovered I > needed this feature because the "to" display I have uses the > state of CapsLock on its attached keyboard to determine if > CapsLock is on (instead of obeying the CapsLock Press/Release > keyboard events). > >x2x-1.27-1: > > Initial Release. Vendor code built and package as-is. > > >KNOWN BUGS > > Doesn't "work" very well with the new rootless mode of XWin. > I plan to fix this in a future release. > > >INSTALLATION INSTRUCTIONS > >To update your installation, click on the "Install Cygwin now" link on the >http://cygwin.com/ web page. This downloads setup.exe to your system. >Save >it and run setup, answer the questions and pick up 'x2x' from the 'XFree86' >category. You may need to click the "Full" button if it doesn't show up. > >Note that downloads from sources.redhat.com (aka cygwin.com) aren't allowed >due to bandwidth limitations. This means that you will need to find a >mirror which has this update. > >In the US, ftp://archive.progeny.com/cygwin/ is a reliable high bandwidth >connection. > >In Japan, ftp://ftp.u-aizu.ac.jp/pub/gnu/gnu-win32/ is usually up-to-date. > >In DK, http://mirrors.sunsite.dk/cygwin/ is usually up-to-date. > >If one of the above doesn't have the latest version of this package you can >either wait for the site to be updated or find another mirror. > >Please send questions or comments to the Cygwin/XFree86 mailing list >(mailto:cygwin-xfree@sources.redhat.com). If you want to subscribe go to >http://cygwin.com/lists.html. I would appreciate it if you would use the >mailing list rather than emailing me directly. This includes ideas and >comments about the setup utility or Cygwin/XFree86 in general. > >If you want to make a point or ask a question, the Cygwin/XFree86 mailing >list is the appropriate place. > > >_________________________________________________________________ >Protect your PC - get McAfee.com VirusScan Online >http://clinic.mcafee.com/clinic/ibuy/campaign.asp?cid=3963 _________________________________________________________________ Surf the Web without missing calls!??Get MSN Broadband. http://resourcecenter.msn.com/access/plans/freeactivation.asp From huntharo@msu.edu Mon Nov 4 07:54:00 2002 From: huntharo@msu.edu (Harold L Hunt II) Date: Mon, 04 Nov 2002 07:54:00 -0000 Subject: [ANNOUNCEMENT] Updated Cygwin/XFree86 Package: x2x-1.27-2 In-Reply-To: <00aa01c28415$14cbdec0$6501a8c0@sprymusic.com> References: <00aa01c28415$14cbdec0$6501a8c0@sprymusic.com> Message-ID: <3DC696F5.8020100@msu.edu> Jean-Claude, No, there is not way for Cygwin/XFree86 to use the entire area of the dual-display; that is pretty much a limitation of DirectDraw, if I recall correctly (I seem to remember that a surface can only span a single physical monitor). You could probably pass the ``-engine 1'' argument to use the GDI-based blitter, but that would still be limited to a single physical display because Cygwin/XFree86 trims the specified size to fit on the primary monitor. We would need some sort of new command-line argument to indicate that the specified size is not to be trimmed in anyway, or we could have a flag that says to use the entire virtual desktop size. I prefer the later. In any case, some coding will need to happen before your request can be realized. Harold Jean-Claude Gervais wrote: >Great news Thomas, > > Um, since you know so much about dual-displays, maybe you could help me? > > I'm running Cygwin XFree on a machine inside which I have installed two >video cards; this in effect creates a really large Windows desktop. > > I'm just wondering if you know of any way to get the Cygwin XFree display >to either use the full desktop surface, or failing that, is there a way to >get Cygwin XFree to start up on the right-hand side of the display, because >it never seems to want to start on the second display... > >Thanks in advance. > > >-----Original Message----- >From: cygwin-xfree-owner@cygwin.com [mailto:cygwin-xfree-owner@cygwin.com]On >Behalf Of Thomas Chadwick >Sent: Monday, November 04, 2002 9:47 AM >To: cygwin-xfree-announce@cygwin.com >Cc: cygwin-xfree@cygwin.com >Subject: [ANNOUNCEMENT] Updated Cygwin/XFree86 Package: x2x-1.27-2 > >ANNOUCEMENT > >An update to the Cygwin/XFree86 package 'x2x' is now available. > > >DESCRIPTION > >The usefulness of this utility will become apparent to anyone with a PC >side-by-side with an *ix workstation. Simply bring up an XWindows session >on each machine, run x2x on the PC, and use your PC's mouse and keyboard to >control your *ix workstation's display. Works better and is cheaper than a >KVM (Keyboard/Video/Mouse) switch. It also works much like a multi-headed X >session. > > >RELEASE HISTORY > >x2x-1.27-2 (current release): > > Bugfix and enhancement release. Changes are: > > 1) Fixed problem in which x2x consumes nearly 100% of the CPU. > This was due to a problem in setting up a call to select(), > which was causing it to be non-blocking. > > 2) Added some includes and cleaned-up some code to cut down > on compiler warnings. > > 3) Added a whole new feature! Invoking x2d with a command-line > flag of "-capslockhack"causes it to wrap Shift key Press/ > Release events around alpha keystrokes. I discovered I > needed this feature because the "to" display I have uses the > state of CapsLock on its attached keyboard to determine if > CapsLock is on (instead of obeying the CapsLock Press/Release > keyboard events). > >x2x-1.27-1: > > Initial Release. Vendor code built and package as-is. > > >KNOWN BUGS > > Doesn't "work" very well with the new rootless mode of XWin. > I plan to fix this in a future release. > > >INSTALLATION INSTRUCTIONS > >To update your installation, click on the "Install Cygwin now" link on the >http://cygwin.com/ web page. This downloads setup.exe to your system. Save >it and run setup, answer the questions and pick up 'x2x' from the 'XFree86' >category. You may need to click the "Full" button if it doesn't show up. > >Note that downloads from sources.redhat.com (aka cygwin.com) aren't allowed >due to bandwidth limitations. This means that you will need to find a >mirror which has this update. > >In the US, ftp://archive.progeny.com/cygwin/ is a reliable high bandwidth >connection. > >In Japan, ftp://ftp.u-aizu.ac.jp/pub/gnu/gnu-win32/ is usually up-to-date. > >In DK, http://mirrors.sunsite.dk/cygwin/ is usually up-to-date. > >If one of the above doesn't have the latest version of this package you can >either wait for the site to be updated or find another mirror. > >Please send questions or comments to the Cygwin/XFree86 mailing list >(mailto:cygwin-xfree@sources.redhat.com). If you want to subscribe go to >http://cygwin.com/lists.html. I would appreciate it if you would use the >mailing list rather than emailing me directly. This includes ideas and >comments about the setup utility or Cygwin/XFree86 in general. > >If you want to make a point or ask a question, the Cygwin/XFree86 mailing >list is the appropriate place. > > >_________________________________________________________________ >Protect your PC - get McAfee.com VirusScan Online >http://clinic.mcafee.com/clinic/ibuy/campaign.asp?cid=3963 > > > From cgf@redhat.com Mon Nov 4 08:07:00 2002 From: cgf@redhat.com (Christopher Faylor) Date: Mon, 04 Nov 2002 08:07:00 -0000 Subject: XWin.exe crashes In-Reply-To: References: <20021104041805.GA17336@redhat.com> Message-ID: <20021104155650.GA25557@redhat.com> On Mon, Nov 04, 2002 at 01:26:36PM +0100, Alexander Gottwald wrote: >On Sun, 3 Nov 2002, Christopher Faylor wrote: > >> It didn't sound like the xkbcomp problem would be solved by linking with >> automode.o. Since that was reading a binary file, it would need to be >> linked with binmode.o. > >xkbcomp is reading some textfiles and writes a binary file. I thought your patch only added a "b" to reads and writes which would indicate that it needed to operate entirely in "binmode". However, I see that in some cases, it doesn't add the "b". Not sure why. This seems to be the opposite of what you're implying though. cgf Index: programs/Xserver/xkb/ddxLoad.c =================================================================== RCS file: /cvs/xc/programs/Xserver/xkb/ddxLoad.c,v retrieving revision 3.30 diff -u -r3.30 ddxLoad.c --- programs/Xserver/xkb/ddxLoad.c 2002/05/31 18:46:06 3.30 +++ programs/Xserver/xkb/ddxLoad.c 2002/11/03 12:29:17 @@ -413,7 +413,7 @@ else if (strlen(xkm_output_dir)+strlen(mapName)+5 <= PATH_MAX) sprintf(buf,"%s%s.xkm",xkm_output_dir,mapName); if (buf[0] != '\0') - file= fopen(buf,"r"); + file= fopen(buf,"rb"); else file= NULL; } else file= NULL; Index: programs/xkbcomp/xkbcomp.c =================================================================== RCS file: /cvs/xc/programs/xkbcomp/xkbcomp.c,v retrieving revision 3.17 diff -u -r3.17 xkbcomp.c --- programs/xkbcomp/xkbcomp.c 2002/06/05 00:00:37 3.17 +++ programs/xkbcomp/xkbcomp.c 2002/11/03 14:57:04 @@ -873,16 +873,30 @@ * -- Branden Robinson */ int outputFileFd; + int binMode = 0; + const char *openMode = "w"; unlink(outputFile); +#ifdef O_BINARY + switch (outputFormat) { + case WANT_XKM_FILE: + binMode = O_BINARY; + openMode = "wb"; + break; + default: + binMode = 0; + break; + } +#endif outputFileFd= open(outputFile, O_WRONLY|O_CREAT|O_EXCL, - S_IRUSR|S_IWUSR|S_IRGRP|S_IWGRP|S_IROTH|S_IWOTH); + S_IRUSR|S_IWUSR|S_IRGRP|S_IWGRP|S_IROTH|S_IWOTH|binMode); if (outputFileFd<0) { ERROR1("Cannot open \"%s\" to write keyboard description\n", outputFile); ACTION("Exiting\n"); exit(1); } - out= fdopen(outputFileFd, "w"); + + out= fdopen(outputFileFd, openMode); /* end BR */ if (out==NULL) { ERROR1("Cannot open \"%s\" to write keyboard description\n", From huntharo@msu.edu Mon Nov 4 08:15:00 2002 From: huntharo@msu.edu (Harold L Hunt II) Date: Mon, 04 Nov 2002 08:15:00 -0000 Subject: Fun weekend Message-ID: <3DC69B4F.9050505@msu.edu> This weekend was interesting. On Saturday I picked up a Samsung SyncMaster 191T, using the funds that have been donated by the generous Cygwin/XFree86 supporters (I also chipped in a substantial amount of money on my own, for anyone keeping score :) This gives me a nice readable display and it replaces the hideous 15 inch LCD that I had caused two permanent vertical lines (one blue, one yellow) by not wiping off the windex before it ran down under the bezel (stupid, stupid me). I hated looking at the monitor because it reminded me of my own stupidity. :) I then ran back to the store and picked up an ATI All In Wonder Radeon 8500 DV since it has a DVI-I output. This was necessary because I was getting some interference patterns when running in 1280x1024 with the analog DB-15 input. The DVI input cleared up the interference completely and my display is now beautifuly. However, getting the display to work perfectly took about 8 hours, as it was dropping frames when playing DVDs (the motion was extremely jerky) and recording video was dropping tons of frames as well. I was misled by the ATI documentation and utilities into thinking that this was either due to a misconfiguration of the hard drive interface (i.e., UDMA may not be enabled) or due to a poorly synchronized clock on my sound card (which is used for decoding the audio). I stumbled upon the correct solution, more on that below, after an entire day of poking around. I thought that the solution was the hard drive drivers, but I was wrong. Anyway, on Sunday morning I booted up the machine, after having spent all of Saturday and Saturday night until 3:00 AM configuring it. Windows reported that WINNT\SYSTEM32\CONFIG\SYSTEM could not be found. Great. I ran setup to a repair, but setup could not find my Windows installation. So, I ran the recovery console. All of my data was still there, but chkdsk reported errors. This totally agrees with the fact that running some executables over the past two weeks would completely lock the machine. These executables were most likely corrupt. In any case, I needed a new hard drive. (Luckily, I could copy data from the damaged drive to the Zip drive). I returned to the store again and bought an 80 GB Western Digital HD. I reinstalled Windows 2000, only to find that the drive letter assigned to the new drive was F and the old drive was C. So, I changed the old drive to C, and reinstalled Windows 2000 again (since it will not let you change the drive letter of the boot drive, yay). Now the new drive was C and the old drive was D, perfect. I then copied over all of my data. Thank god none of that was lost. Unfortunately, I had lost the entire weekend due to computer troubles. As for the video problems, I would have known exactly what was wrong had I tried to run XWin.exe at any point during my attempts to fix the jerky DVDs and video recording. The first time I ran XWin.exe after setting up the new hard drive, I noticed that the X background took about 4 seconds to draw, and directory listings were visibly crawling. This new card was 10 times slower than my old card when using the DirectDraw engines; the GDI engine, on the other hand, ran very quickly. So, I uninstalled my graphics card drivers (keeping the Hardware Manager applet open, otherwise this does not work), then reran the setup.exe for the updated ATI drivers that I had downloaded. I then rebooted the machine and the DirectDraw engines were as blazingly fast as expected. The problems with the DVD playback and video recording were also fixed. I had originally installed the downloaded drivers, thinking that they would not be overwritten with an older version when I installed the ATI software from the enclosed CD-ROM, but the drivers were, in fact, overwritten with an older version. That older version has terrible performance. The newer version is amazing. In sum total, I now have a machine that I can actually stand to use for programming again. You could probably chart my fall-off in involvement with Cygwin/XFree86 and notice that it has only been happening since I damanaged my monitor. Now that I have a normal monitor, I expect to get a little patching done now and then. Thanks once again to all of those who have contributed (source code, donations, anything) to the Cygwin/XFree86 project! Harold From j_tetazoo@hotmail.com Mon Nov 4 08:18:00 2002 From: j_tetazoo@hotmail.com (Thomas Chadwick) Date: Mon, 04 Nov 2002 08:18:00 -0000 Subject: [ANNOUNCEMENT] Updated Cygwin/XFree86 Package: x2x-1.27-2 Message-ID: For kicks, I did some poking around at http://msdn.microsoft.com by searching on "multiple monitors". Found lots of good reading. You might want to do the same. I noticed a hint that said something to the effect of "an application will try to create its window on the same monitor on which it's shortcut is located". What happens if you run startxwin.bat via a shortcut on the secondary monitor? >From: Harold L Hunt II >Reply-To: cygwin-xfree@cygwin.com >To: cygwin-xfree@cygwin.com >Subject: Re: [ANNOUNCEMENT] Updated Cygwin/XFree86 Package: x2x-1.27-2 >Date: Mon, 04 Nov 2002 10:49:09 -0500 >MIME-Version: 1.0 >Received: from sources.redhat.com ([209.249.29.67]) by >mc3-f41.law16.hotmail.com with Microsoft SMTPSVC(5.0.2195.5600); Mon, 4 Nov >2002 07:51:18 -0800 >Received: (qmail 24961 invoked by alias); 4 Nov 2002 15:49:16 -0000 >Received: (qmail 24899 invoked from network); 4 Nov 2002 15:49:15 -0000 >Received: from unknown (HELO sargasso.cse.msu.edu) (35.9.20.10) by >sources.redhat.com with SMTP; 4 Nov 2002 15:49:15 -0000 >Received: from msu.edu (ajboggs.tcimet.net [198.109.162.133])by >sargasso.cse.msu.edu (8.12.5/8.12.5) with ESMTP id gA4Fn9fF024848for >; Mon, 4 Nov 2002 10:49:09 -0500 (EST) >Mailing-List: contact cygwin-xfree-help@cygwin.com; run by ezmlm >Precedence: bulk >List-Unsubscribe: > >List-Subscribe: >List-Archive: >List-Post: >List-Help: , > >Sender: cygwin-xfree-owner@cygwin.com >Mail-Followup-To: cygwin-xfree@cygwin.com >Delivered-To: mailing list cygwin-xfree@cygwin.com >Message-ID: <3DC696F5.8020100@msu.edu> >User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.2b) >Gecko/20021014 >X-Accept-Language: en-us, en >References: <00aa01c28415$14cbdec0$6501a8c0@sprymusic.com> >In-Reply-To: <00aa01c28415$14cbdec0$6501a8c0@sprymusic.com> >Return-Path: cygwin-xfree-return-12007-j_tetazoo=hotmail.com@cygwin.com >X-OriginalArrivalTime: 04 Nov 2002 15:51:18.0726 (UTC) >FILETIME=[03C82660:01C2841A] > >Jean-Claude, > >No, there is not way for Cygwin/XFree86 to use the entire area of the >dual-display; that is pretty much a limitation of DirectDraw, if I recall >correctly (I seem to remember that a surface can only span a single >physical monitor). You could probably pass the ``-engine 1'' argument to >use the GDI-based blitter, but that would still be limited to a single >physical display because Cygwin/XFree86 trims the specified size to fit on >the primary monitor. We would need some sort of new command-line argument >to indicate that the specified size is not to be trimmed in anyway, or we >could have a flag that says to use the entire virtual desktop size. I >prefer the later. > >In any case, some coding will need to happen before your request can be >realized. > >Harold > >Jean-Claude Gervais wrote: > >>Great news Thomas, >> >> Um, since you know so much about dual-displays, maybe you could help me? >> >> I'm running Cygwin XFree on a machine inside which I have installed two >>video cards; this in effect creates a really large Windows desktop. >> >> I'm just wondering if you know of any way to get the Cygwin XFree display >>to either use the full desktop surface, or failing that, is there a way to >>get Cygwin XFree to start up on the right-hand side of the display, >>because >>it never seems to want to start on the second display... >> >>Thanks in advance. >> >> >>-----Original Message----- >>From: cygwin-xfree-owner@cygwin.com >>[mailto:cygwin-xfree-owner@cygwin.com]On >>Behalf Of Thomas Chadwick >>Sent: Monday, November 04, 2002 9:47 AM >>To: cygwin-xfree-announce@cygwin.com >>Cc: cygwin-xfree@cygwin.com >>Subject: [ANNOUNCEMENT] Updated Cygwin/XFree86 Package: x2x-1.27-2 >> >>ANNOUCEMENT >> >>An update to the Cygwin/XFree86 package 'x2x' is now available. >> >> >>DESCRIPTION >> >>The usefulness of this utility will become apparent to anyone with a PC >>side-by-side with an *ix workstation. Simply bring up an XWindows session >>on each machine, run x2x on the PC, and use your PC's mouse and keyboard >>to >>control your *ix workstation's display. Works better and is cheaper than >>a >>KVM (Keyboard/Video/Mouse) switch. It also works much like a multi-headed >>X >>session. >> >> >>RELEASE HISTORY >> >>x2x-1.27-2 (current release): >> >> Bugfix and enhancement release. Changes are: >> >> 1) Fixed problem in which x2x consumes nearly 100% of the CPU. >> This was due to a problem in setting up a call to select(), >> which was causing it to be non-blocking. >> >> 2) Added some includes and cleaned-up some code to cut down >> on compiler warnings. >> >> 3) Added a whole new feature! Invoking x2d with a command-line >> flag of "-capslockhack"causes it to wrap Shift key Press/ >> Release events around alpha keystrokes. I discovered I >> needed this feature because the "to" display I have uses the >> state of CapsLock on its attached keyboard to determine if >> CapsLock is on (instead of obeying the CapsLock Press/Release >> keyboard events). >> >>x2x-1.27-1: >> >> Initial Release. Vendor code built and package as-is. >> >> >>KNOWN BUGS >> >> Doesn't "work" very well with the new rootless mode of XWin. >> I plan to fix this in a future release. >> >> >>INSTALLATION INSTRUCTIONS >> >>To update your installation, click on the "Install Cygwin now" link on the >>http://cygwin.com/ web page. This downloads setup.exe to your system. >>Save >>it and run setup, answer the questions and pick up 'x2x' from the >>'XFree86' >>category. You may need to click the "Full" button if it doesn't show up. >> >>Note that downloads from sources.redhat.com (aka cygwin.com) aren't >>allowed >>due to bandwidth limitations. This means that you will need to find a >>mirror which has this update. >> >>In the US, ftp://archive.progeny.com/cygwin/ is a reliable high bandwidth >>connection. >> >>In Japan, ftp://ftp.u-aizu.ac.jp/pub/gnu/gnu-win32/ is usually up-to-date. >> >>In DK, http://mirrors.sunsite.dk/cygwin/ is usually up-to-date. >> >>If one of the above doesn't have the latest version of this package you >>can >>either wait for the site to be updated or find another mirror. >> >>Please send questions or comments to the Cygwin/XFree86 mailing list >>(mailto:cygwin-xfree@sources.redhat.com). If you want to subscribe go to >>http://cygwin.com/lists.html. I would appreciate it if you would use the >>mailing list rather than emailing me directly. This includes ideas and >>comments about the setup utility or Cygwin/XFree86 in general. >> >>If you want to make a point or ask a question, the Cygwin/XFree86 mailing >>list is the appropriate place. >> >> >>_________________________________________________________________ >>Protect your PC - get McAfee.com VirusScan Online >>http://clinic.mcafee.com/clinic/ibuy/campaign.asp?cid=3963 >> >> >> _________________________________________________________________ Get a speedy connection with MSN Broadband.?? Join now! http://resourcecenter.msn.com/access/plans/freeactivation.asp From j_tetazoo@hotmail.com Mon Nov 4 09:06:00 2002 From: j_tetazoo@hotmail.com (Thomas Chadwick) Date: Mon, 04 Nov 2002 09:06:00 -0000 Subject: [ANNOUNCEMENT] Updated Cygwin/XFree86 Package: x2x-1.27-2 Message-ID: By the way, this reponse was directed at Jean-Claude, not you, Harold. >From: "Thomas Chadwick" >Reply-To: cygwin-xfree@cygwin.com >To: cygwin-xfree@cygwin.com >Subject: Re: [ANNOUNCEMENT] Updated Cygwin/XFree86 Package: x2x-1.27-2 >Date: Mon, 04 Nov 2002 11:15:09 -0500 > >For kicks, I did some poking around at http://msdn.microsoft.com by >searching on "multiple monitors". Found lots of good reading. You might >want to do the same. > >I noticed a hint that said something to the effect of "an application will >try to create its window on the same monitor on which it's shortcut is >located". > >What happens if you run startxwin.bat via a shortcut on the secondary >monitor? > >>From: Harold L Hunt II >>Reply-To: cygwin-xfree@cygwin.com >>To: cygwin-xfree@cygwin.com >>Subject: Re: [ANNOUNCEMENT] Updated Cygwin/XFree86 Package: x2x-1.27-2 >>Date: Mon, 04 Nov 2002 10:49:09 -0500 >>MIME-Version: 1.0 >>Received: from sources.redhat.com ([209.249.29.67]) by >>mc3-f41.law16.hotmail.com with Microsoft SMTPSVC(5.0.2195.5600); Mon, 4 >>Nov 2002 07:51:18 -0800 >>Received: (qmail 24961 invoked by alias); 4 Nov 2002 15:49:16 -0000 >>Received: (qmail 24899 invoked from network); 4 Nov 2002 15:49:15 -0000 >>Received: from unknown (HELO sargasso.cse.msu.edu) (35.9.20.10) by >>sources.redhat.com with SMTP; 4 Nov 2002 15:49:15 -0000 >>Received: from msu.edu (ajboggs.tcimet.net [198.109.162.133])by >>sargasso.cse.msu.edu (8.12.5/8.12.5) with ESMTP id gA4Fn9fF024848for >>; Mon, 4 Nov 2002 10:49:09 -0500 (EST) >>Mailing-List: contact cygwin-xfree-help@cygwin.com; run by ezmlm >>Precedence: bulk >>List-Unsubscribe: >> >>List-Subscribe: >>List-Archive: >>List-Post: >>List-Help: , >> >>Sender: cygwin-xfree-owner@cygwin.com >>Mail-Followup-To: cygwin-xfree@cygwin.com >>Delivered-To: mailing list cygwin-xfree@cygwin.com >>Message-ID: <3DC696F5.8020100@msu.edu> >>User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.2b) >>Gecko/20021014 >>X-Accept-Language: en-us, en >>References: <00aa01c28415$14cbdec0$6501a8c0@sprymusic.com> >>In-Reply-To: <00aa01c28415$14cbdec0$6501a8c0@sprymusic.com> >>Return-Path: cygwin-xfree-return-12007-j_tetazoo=hotmail.com@cygwin.com >>X-OriginalArrivalTime: 04 Nov 2002 15:51:18.0726 (UTC) >>FILETIME=[03C82660:01C2841A] >> >>Jean-Claude, >> >>No, there is not way for Cygwin/XFree86 to use the entire area of the >>dual-display; that is pretty much a limitation of DirectDraw, if I recall >>correctly (I seem to remember that a surface can only span a single >>physical monitor). You could probably pass the ``-engine 1'' argument to >>use the GDI-based blitter, but that would still be limited to a single >>physical display because Cygwin/XFree86 trims the specified size to fit on >>the primary monitor. We would need some sort of new command-line argument >>to indicate that the specified size is not to be trimmed in anyway, or we >>could have a flag that says to use the entire virtual desktop size. I >>prefer the later. >> >>In any case, some coding will need to happen before your request can be >>realized. >> >>Harold >> >>Jean-Claude Gervais wrote: >> >>>Great news Thomas, >>> >>> Um, since you know so much about dual-displays, maybe you could help me? >>> >>> I'm running Cygwin XFree on a machine inside which I have installed two >>>video cards; this in effect creates a really large Windows desktop. >>> >>> I'm just wondering if you know of any way to get the Cygwin XFree >>>display >>>to either use the full desktop surface, or failing that, is there a way >>>to >>>get Cygwin XFree to start up on the right-hand side of the display, >>>because >>>it never seems to want to start on the second display... >>> >>>Thanks in advance. >>> >>> >>>-----Original Message----- >>>From: cygwin-xfree-owner@cygwin.com >>>[mailto:cygwin-xfree-owner@cygwin.com]On >>>Behalf Of Thomas Chadwick >>>Sent: Monday, November 04, 2002 9:47 AM >>>To: cygwin-xfree-announce@cygwin.com >>>Cc: cygwin-xfree@cygwin.com >>>Subject: [ANNOUNCEMENT] Updated Cygwin/XFree86 Package: x2x-1.27-2 >>> >>>ANNOUCEMENT >>> >>>An update to the Cygwin/XFree86 package 'x2x' is now available. >>> >>> >>>DESCRIPTION >>> >>>The usefulness of this utility will become apparent to anyone with a PC >>>side-by-side with an *ix workstation. Simply bring up an XWindows >>>session >>>on each machine, run x2x on the PC, and use your PC's mouse and keyboard >>>to >>>control your *ix workstation's display. Works better and is cheaper than >>>a >>>KVM (Keyboard/Video/Mouse) switch. It also works much like a >>>multi-headed X >>>session. >>> >>> >>>RELEASE HISTORY >>> >>>x2x-1.27-2 (current release): >>> >>> Bugfix and enhancement release. Changes are: >>> >>> 1) Fixed problem in which x2x consumes nearly 100% of the CPU. >>> This was due to a problem in setting up a call to select(), >>> which was causing it to be non-blocking. >>> >>> 2) Added some includes and cleaned-up some code to cut down >>> on compiler warnings. >>> >>> 3) Added a whole new feature! Invoking x2d with a command-line >>> flag of "-capslockhack"causes it to wrap Shift key Press/ >>> Release events around alpha keystrokes. I discovered I >>> needed this feature because the "to" display I have uses the >>> state of CapsLock on its attached keyboard to determine if >>> CapsLock is on (instead of obeying the CapsLock Press/Release >>> keyboard events). >>> >>>x2x-1.27-1: >>> >>> Initial Release. Vendor code built and package as-is. >>> >>> >>>KNOWN BUGS >>> >>> Doesn't "work" very well with the new rootless mode of XWin. >>> I plan to fix this in a future release. >>> >>> >>>INSTALLATION INSTRUCTIONS >>> >>>To update your installation, click on the "Install Cygwin now" link on >>>the >>>http://cygwin.com/ web page. This downloads setup.exe to your system. >>>Save >>>it and run setup, answer the questions and pick up 'x2x' from the >>>'XFree86' >>>category. You may need to click the "Full" button if it doesn't show up. >>> >>>Note that downloads from sources.redhat.com (aka cygwin.com) aren't >>>allowed >>>due to bandwidth limitations. This means that you will need to find a >>>mirror which has this update. >>> >>>In the US, ftp://archive.progeny.com/cygwin/ is a reliable high bandwidth >>>connection. >>> >>>In Japan, ftp://ftp.u-aizu.ac.jp/pub/gnu/gnu-win32/ is usually >>>up-to-date. >>> >>>In DK, http://mirrors.sunsite.dk/cygwin/ is usually up-to-date. >>> >>>If one of the above doesn't have the latest version of this package you >>>can >>>either wait for the site to be updated or find another mirror. >>> >>>Please send questions or comments to the Cygwin/XFree86 mailing list >>>(mailto:cygwin-xfree@sources.redhat.com). If you want to subscribe go to >>>http://cygwin.com/lists.html. I would appreciate it if you would use the >>>mailing list rather than emailing me directly. This includes ideas and >>>comments about the setup utility or Cygwin/XFree86 in general. >>> >>>If you want to make a point or ask a question, the Cygwin/XFree86 mailing >>>list is the appropriate place. >>> >>> >>>_________________________________________________________________ >>>Protect your PC - get McAfee.com VirusScan Online >>>http://clinic.mcafee.com/clinic/ibuy/campaign.asp?cid=3963 >>> >>> >>> > > >_________________________________________________________________ >Get a speedy connection with MSN Broadband.?? Join now! >http://resourcecenter.msn.com/access/plans/freeactivation.asp _________________________________________________________________ Get a speedy connection with MSN Broadband.?? Join now! http://resourcecenter.msn.com/access/plans/freeactivation.asp From jc.gervais@videotron.ca Mon Nov 4 09:11:00 2002 From: jc.gervais@videotron.ca (Jean-Claude Gervais) Date: Mon, 04 Nov 2002 09:11:00 -0000 Subject: Fun weekend In-Reply-To: <3DC69B4F.9050505@msu.edu> Message-ID: <00b201c28424$3f6f67f0$6501a8c0@sprymusic.com> Really cool post-mortem Harold! I've also got an 80GB HD (UDMA) and a Radeon All-In-Wonder (but the older model) And yeah, been there, done that too! When Windows gets in a funk like that, there isn't a whole lot to do. If I remember correctly though, you can run Regedit in DOS mode and make changes to the registry. At least you could, some time ago; MS had built Regedit with a DOS-mode stub that could spit the registry out to a textfile or read a text file and apply the changes in it to the system registry. This stub is usually a little program that says "This program requires Microsoft Windows to run", but you can actually use a different stub (of your own creation) if you want to when you build your app. Anyhow, I'm not sure if even that could have saved you :-O -----Original Message----- From: cygwin-xfree-owner@cygwin.com [mailto:cygwin-xfree-owner@cygwin.com]On Behalf Of Harold L Hunt II Sent: Monday, November 04, 2002 11:08 AM To: cygwin-xfree@cygwin.com Subject: Fun weekend This weekend was interesting. On Saturday I picked up a Samsung SyncMaster 191T, using the funds that have been donated by the generous Cygwin/XFree86 supporters (I also chipped in a substantial amount of money on my own, for anyone keeping score :) This gives me a nice readable display and it replaces the hideous 15 inch LCD that I had caused two permanent vertical lines (one blue, one yellow) by not wiping off the windex before it ran down under the bezel (stupid, stupid me). I hated looking at the monitor because it reminded me of my own stupidity. :) I then ran back to the store and picked up an ATI All In Wonder Radeon 8500 DV since it has a DVI-I output. This was necessary because I was getting some interference patterns when running in 1280x1024 with the analog DB-15 input. The DVI input cleared up the interference completely and my display is now beautifuly. However, getting the display to work perfectly took about 8 hours, as it was dropping frames when playing DVDs (the motion was extremely jerky) and recording video was dropping tons of frames as well. I was misled by the ATI documentation and utilities into thinking that this was either due to a misconfiguration of the hard drive interface (i.e., UDMA may not be enabled) or due to a poorly synchronized clock on my sound card (which is used for decoding the audio). I stumbled upon the correct solution, more on that below, after an entire day of poking around. I thought that the solution was the hard drive drivers, but I was wrong. Anyway, on Sunday morning I booted up the machine, after having spent all of Saturday and Saturday night until 3:00 AM configuring it. Windows reported that WINNT\SYSTEM32\CONFIG\SYSTEM could not be found. Great. I ran setup to a repair, but setup could not find my Windows installation. So, I ran the recovery console. All of my data was still there, but chkdsk reported errors. This totally agrees with the fact that running some executables over the past two weeks would completely lock the machine. These executables were most likely corrupt. In any case, I needed a new hard drive. (Luckily, I could copy data from the damaged drive to the Zip drive). I returned to the store again and bought an 80 GB Western Digital HD. I reinstalled Windows 2000, only to find that the drive letter assigned to the new drive was F and the old drive was C. So, I changed the old drive to C, and reinstalled Windows 2000 again (since it will not let you change the drive letter of the boot drive, yay). Now the new drive was C and the old drive was D, perfect. I then copied over all of my data. Thank god none of that was lost. Unfortunately, I had lost the entire weekend due to computer troubles. As for the video problems, I would have known exactly what was wrong had I tried to run XWin.exe at any point during my attempts to fix the jerky DVDs and video recording. The first time I ran XWin.exe after setting up the new hard drive, I noticed that the X background took about 4 seconds to draw, and directory listings were visibly crawling. This new card was 10 times slower than my old card when using the DirectDraw engines; the GDI engine, on the other hand, ran very quickly. So, I uninstalled my graphics card drivers (keeping the Hardware Manager applet open, otherwise this does not work), then reran the setup.exe for the updated ATI drivers that I had downloaded. I then rebooted the machine and the DirectDraw engines were as blazingly fast as expected. The problems with the DVD playback and video recording were also fixed. I had originally installed the downloaded drivers, thinking that they would not be overwritten with an older version when I installed the ATI software from the enclosed CD-ROM, but the drivers were, in fact, overwritten with an older version. That older version has terrible performance. The newer version is amazing. In sum total, I now have a machine that I can actually stand to use for programming again. You could probably chart my fall-off in involvement with Cygwin/XFree86 and notice that it has only been happening since I damanaged my monitor. Now that I have a normal monitor, I expect to get a little patching done now and then. Thanks once again to all of those who have contributed (source code, donations, anything) to the Cygwin/XFree86 project! Harold From huntharo@msu.edu Mon Nov 4 09:16:00 2002 From: huntharo@msu.edu (Harold L Hunt II) Date: Mon, 04 Nov 2002 09:16:00 -0000 Subject: [ANNOUNCEMENT] Updated Cygwin/XFree86 Package: x2x-1.27-2 In-Reply-To: References: Message-ID: <3DC6AA33.4090806@msu.edu> Thomas, Heh... I read your response and figured that you were not talking to me :) Harold Thomas Chadwick wrote: > By the way, this reponse was directed at Jean-Claude, not you, Harold. > >> From: "Thomas Chadwick" >> Reply-To: cygwin-xfree@cygwin.com >> To: cygwin-xfree@cygwin.com >> Subject: Re: [ANNOUNCEMENT] Updated Cygwin/XFree86 Package: x2x-1.27-2 >> Date: Mon, 04 Nov 2002 11:15:09 -0500 >> >> For kicks, I did some poking around at http://msdn.microsoft.com by >> searching on "multiple monitors". Found lots of good reading. You >> might want to do the same. >> >> I noticed a hint that said something to the effect of "an application >> will try to create its window on the same monitor on which it's >> shortcut is located". >> >> What happens if you run startxwin.bat via a shortcut on the secondary >> monitor? >> >>> From: Harold L Hunt II >>> Reply-To: cygwin-xfree@cygwin.com >>> To: cygwin-xfree@cygwin.com >>> Subject: Re: [ANNOUNCEMENT] Updated Cygwin/XFree86 Package: x2x-1.27-2 >>> Date: Mon, 04 Nov 2002 10:49:09 -0500 >>> MIME-Version: 1.0 >>> Received: from sources.redhat.com ([209.249.29.67]) by >>> mc3-f41.law16.hotmail.com with Microsoft SMTPSVC(5.0.2195.5600); >>> Mon, 4 Nov 2002 07:51:18 -0800 >>> Received: (qmail 24961 invoked by alias); 4 Nov 2002 15:49:16 -0000 >>> Received: (qmail 24899 invoked from network); 4 Nov 2002 15:49:15 -0000 >>> Received: from unknown (HELO sargasso.cse.msu.edu) (35.9.20.10) by >>> sources.redhat.com with SMTP; 4 Nov 2002 15:49:15 -0000 >>> Received: from msu.edu (ajboggs.tcimet.net [198.109.162.133])by >>> sargasso.cse.msu.edu (8.12.5/8.12.5) with ESMTP id gA4Fn9fF024848for >>> ; Mon, 4 Nov 2002 10:49:09 -0500 (EST) >>> Mailing-List: contact cygwin-xfree-help@cygwin.com; run by ezmlm >>> Precedence: bulk >>> List-Unsubscribe: >>> >>> List-Subscribe: >>> List-Archive: >>> List-Post: >>> List-Help: , >>> >>> Sender: cygwin-xfree-owner@cygwin.com >>> Mail-Followup-To: cygwin-xfree@cygwin.com >>> Delivered-To: mailing list cygwin-xfree@cygwin.com >>> Message-ID: <3DC696F5.8020100@msu.edu> >>> User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.2b) >>> Gecko/20021014 >>> X-Accept-Language: en-us, en >>> References: <00aa01c28415$14cbdec0$6501a8c0@sprymusic.com> >>> In-Reply-To: <00aa01c28415$14cbdec0$6501a8c0@sprymusic.com> >>> Return-Path: cygwin-xfree-return-12007-j_tetazoo=hotmail.com@cygwin.com >>> X-OriginalArrivalTime: 04 Nov 2002 15:51:18.0726 (UTC) >>> FILETIME=[03C82660:01C2841A] >>> >>> Jean-Claude, >>> >>> No, there is not way for Cygwin/XFree86 to use the entire area of >>> the dual-display; that is pretty much a limitation of DirectDraw, if >>> I recall correctly (I seem to remember that a surface can only span >>> a single physical monitor). You could probably pass the ``-engine >>> 1'' argument to use the GDI-based blitter, but that would still be >>> limited to a single physical display because Cygwin/XFree86 trims >>> the specified size to fit on the primary monitor. We would need >>> some sort of new command-line argument to indicate that the >>> specified size is not to be trimmed in anyway, or we could have a >>> flag that says to use the entire virtual desktop size. I prefer the >>> later. >>> >>> In any case, some coding will need to happen before your request can >>> be realized. >>> >>> Harold >>> >>> Jean-Claude Gervais wrote: >>> >>>> Great news Thomas, >>>> >>>> Um, since you know so much about dual-displays, maybe you could >>>> help me? >>>> >>>> I'm running Cygwin XFree on a machine inside which I have >>>> installed two >>>> video cards; this in effect creates a really large Windows desktop. >>>> >>>> I'm just wondering if you know of any way to get the Cygwin >>>> XFree display >>>> to either use the full desktop surface, or failing that, is there a >>>> way to >>>> get Cygwin XFree to start up on the right-hand side of the display, >>>> because >>>> it never seems to want to start on the second display... >>>> >>>> Thanks in advance. >>>> >>>> >>>> -----Original Message----- >>>> From: cygwin-xfree-owner@cygwin.com >>>> [mailto:cygwin-xfree-owner@cygwin.com]On >>>> Behalf Of Thomas Chadwick >>>> Sent: Monday, November 04, 2002 9:47 AM >>>> To: cygwin-xfree-announce@cygwin.com >>>> Cc: cygwin-xfree@cygwin.com >>>> Subject: [ANNOUNCEMENT] Updated Cygwin/XFree86 Package: x2x-1.27-2 >>>> >>>> ANNOUCEMENT >>>> >>>> An update to the Cygwin/XFree86 package 'x2x' is now available. >>>> >>>> >>>> DESCRIPTION >>>> >>>> The usefulness of this utility will become apparent to anyone with a PC >>>> side-by-side with an *ix workstation. Simply bring up an XWindows >>>> session >>>> on each machine, run x2x on the PC, and use your PC's mouse and >>>> keyboard to >>>> control your *ix workstation's display. Works better and is >>>> cheaper than a >>>> KVM (Keyboard/Video/Mouse) switch. It also works much like a >>>> multi-headed X >>>> session. >>>> >>>> >>>> RELEASE HISTORY >>>> >>>> x2x-1.27-2 (current release): >>>> >>>> Bugfix and enhancement release. Changes are: >>>> >>>> 1) Fixed problem in which x2x consumes nearly 100% of the CPU. >>>> This was due to a problem in setting up a call to select(), >>>> which was causing it to be non-blocking. >>>> >>>> 2) Added some includes and cleaned-up some code to cut down >>>> on compiler warnings. >>>> >>>> 3) Added a whole new feature! Invoking x2d with a command-line >>>> flag of "-capslockhack"causes it to wrap Shift key Press/ >>>> Release events around alpha keystrokes. I discovered I >>>> needed this feature because the "to" display I have uses the >>>> state of CapsLock on its attached keyboard to determine if >>>> CapsLock is on (instead of obeying the CapsLock Press/Release >>>> keyboard events). >>>> >>>> x2x-1.27-1: >>>> >>>> Initial Release. Vendor code built and package as-is. >>>> >>>> >>>> KNOWN BUGS >>>> >>>> Doesn't "work" very well with the new rootless mode of XWin. >>>> I plan to fix this in a future release. >>>> >>>> >>>> INSTALLATION INSTRUCTIONS >>>> >>>> To update your installation, click on the "Install Cygwin now" link >>>> on the >>>> http://cygwin.com/ web page. This downloads setup.exe to your >>>> system. Save >>>> it and run setup, answer the questions and pick up 'x2x' from the >>>> 'XFree86' >>>> category. You may need to click the "Full" button if it doesn't >>>> show up. >>>> >>>> Note that downloads from sources.redhat.com (aka cygwin.com) aren't >>>> allowed >>>> due to bandwidth limitations. This means that you will need to find a >>>> mirror which has this update. >>>> >>>> In the US, ftp://archive.progeny.com/cygwin/ is a reliable high >>>> bandwidth >>>> connection. >>>> >>>> In Japan, ftp://ftp.u-aizu.ac.jp/pub/gnu/gnu-win32/ is usually >>>> up-to-date. >>>> >>>> In DK, http://mirrors.sunsite.dk/cygwin/ is usually up-to-date. >>>> >>>> If one of the above doesn't have the latest version of this package >>>> you can >>>> either wait for the site to be updated or find another mirror. >>>> >>>> Please send questions or comments to the Cygwin/XFree86 mailing list >>>> (mailto:cygwin-xfree@sources.redhat.com). If you want to subscribe >>>> go to >>>> http://cygwin.com/lists.html. I would appreciate it if you would >>>> use the >>>> mailing list rather than emailing me directly. This includes ideas and >>>> comments about the setup utility or Cygwin/XFree86 in general. >>>> >>>> If you want to make a point or ask a question, the Cygwin/XFree86 >>>> mailing >>>> list is the appropriate place. >>>> >>>> >>>> _________________________________________________________________ >>>> Protect your PC - get McAfee.com VirusScan Online >>>> http://clinic.mcafee.com/clinic/ibuy/campaign.asp?cid=3963 >>>> >>>> >>>> >> >> >> _________________________________________________________________ >> Get a speedy connection with MSN Broadband. Join now! >> http://resourcecenter.msn.com/access/plans/freeactivation.asp > > > > _________________________________________________________________ > Get a speedy connection with MSN Broadband. Join now! > http://resourcecenter.msn.com/access/plans/freeactivation.asp > From jc.gervais@videotron.ca Mon Nov 4 09:23:00 2002 From: jc.gervais@videotron.ca (Jean-Claude Gervais) Date: Mon, 04 Nov 2002 09:23:00 -0000 Subject: [ANNOUNCEMENT] Updated Cygwin/XFree86 Package: x2x-1.27-2 In-Reply-To: <3DC696F5.8020100@msu.edu> Message-ID: <00b301c28425$b58ba740$6501a8c0@sprymusic.com> Thomas - Yes, I've tried invoking XWin from the second display, but no dice. Harold - Yup, of course; all good things take time. I'm currently learning more and more about X anyway, so I might even be able to help out at some point; It seems that to be able to contribute to a project like Cygwin, you have to know Win32 and *nix equally well. Here's the work-around that I've found; brace yourselves - I grab the taskbar and drag it onto the second display (the reason for this will become clearer in a moment) Using the "-engine 1", I start XWin in rootless mode (Yay! Rootless mode rocks!) I drag the taskbar back to the primary display, now that XWin has calculated the window-size excluding the task-bar. I right-click on XWin's taskbar icon and select MOVE, then I use the arrow-keys to move XWin's display across to the other screen, and press enter once it's properly positioned. Alternatively, I could just LEAVE the taskbar on the second display, but then I have a problem remote-controlling the box with another Microsoft gem, Netmeeting. Thanks for your reading. -----Original Message----- From: cygwin-xfree-owner@cygwin.com [mailto:cygwin-xfree-owner@cygwin.com]On Behalf Of Harold L Hunt II Sent: Monday, November 04, 2002 10:49 AM To: cygwin-xfree@cygwin.com Subject: Re: [ANNOUNCEMENT] Updated Cygwin/XFree86 Package: x2x-1.27-2 Jean-Claude, No, there is not way for Cygwin/XFree86 to use the entire area of the dual-display; that is pretty much a limitation of DirectDraw, if I recall correctly (I seem to remember that a surface can only span a single physical monitor). You could probably pass the ``-engine 1'' argument to use the GDI-based blitter, but that would still be limited to a single physical display because Cygwin/XFree86 trims the specified size to fit on the primary monitor. We would need some sort of new command-line argument to indicate that the specified size is not to be trimmed in anyway, or we could have a flag that says to use the entire virtual desktop size. I prefer the later. In any case, some coding will need to happen before your request can be realized. Harold Jean-Claude Gervais wrote: >Great news Thomas, > > Um, since you know so much about dual-displays, maybe you could help me? > > I'm running Cygwin XFree on a machine inside which I have installed two >video cards; this in effect creates a really large Windows desktop. > > I'm just wondering if you know of any way to get the Cygwin XFree display >to either use the full desktop surface, or failing that, is there a way to >get Cygwin XFree to start up on the right-hand side of the display, because >it never seems to want to start on the second display... > >Thanks in advance. > > >-----Original Message----- >From: cygwin-xfree-owner@cygwin.com [mailto:cygwin-xfree-owner@cygwin.com]On >Behalf Of Thomas Chadwick >Sent: Monday, November 04, 2002 9:47 AM >To: cygwin-xfree-announce@cygwin.com >Cc: cygwin-xfree@cygwin.com >Subject: [ANNOUNCEMENT] Updated Cygwin/XFree86 Package: x2x-1.27-2 > >ANNOUCEMENT > >An update to the Cygwin/XFree86 package 'x2x' is now available. > > >DESCRIPTION > >The usefulness of this utility will become apparent to anyone with a PC >side-by-side with an *ix workstation. Simply bring up an XWindows session >on each machine, run x2x on the PC, and use your PC's mouse and keyboard to >control your *ix workstation's display. Works better and is cheaper than a >KVM (Keyboard/Video/Mouse) switch. It also works much like a multi-headed X >session. > > >RELEASE HISTORY > >x2x-1.27-2 (current release): > > Bugfix and enhancement release. Changes are: > > 1) Fixed problem in which x2x consumes nearly 100% of the CPU. > This was due to a problem in setting up a call to select(), > which was causing it to be non-blocking. > > 2) Added some includes and cleaned-up some code to cut down > on compiler warnings. > > 3) Added a whole new feature! Invoking x2d with a command-line > flag of "-capslockhack"causes it to wrap Shift key Press/ > Release events around alpha keystrokes. I discovered I > needed this feature because the "to" display I have uses the > state of CapsLock on its attached keyboard to determine if > CapsLock is on (instead of obeying the CapsLock Press/Release > keyboard events). > >x2x-1.27-1: > > Initial Release. Vendor code built and package as-is. > > >KNOWN BUGS > > Doesn't "work" very well with the new rootless mode of XWin. > I plan to fix this in a future release. > > >INSTALLATION INSTRUCTIONS > >To update your installation, click on the "Install Cygwin now" link on the >http://cygwin.com/ web page. This downloads setup.exe to your system. Save >it and run setup, answer the questions and pick up 'x2x' from the 'XFree86' >category. You may need to click the "Full" button if it doesn't show up. > >Note that downloads from sources.redhat.com (aka cygwin.com) aren't allowed >due to bandwidth limitations. This means that you will need to find a >mirror which has this update. > >In the US, ftp://archive.progeny.com/cygwin/ is a reliable high bandwidth >connection. > >In Japan, ftp://ftp.u-aizu.ac.jp/pub/gnu/gnu-win32/ is usually up-to-date. > >In DK, http://mirrors.sunsite.dk/cygwin/ is usually up-to-date. > >If one of the above doesn't have the latest version of this package you can >either wait for the site to be updated or find another mirror. > >Please send questions or comments to the Cygwin/XFree86 mailing list >(mailto:cygwin-xfree@sources.redhat.com). If you want to subscribe go to >http://cygwin.com/lists.html. I would appreciate it if you would use the >mailing list rather than emailing me directly. This includes ideas and >comments about the setup utility or Cygwin/XFree86 in general. > >If you want to make a point or ask a question, the Cygwin/XFree86 mailing >list is the appropriate place. > > >_________________________________________________________________ >Protect your PC - get McAfee.com VirusScan Online >http://clinic.mcafee.com/clinic/ibuy/campaign.asp?cid=3963 > > > From huntharo@msu.edu Mon Nov 4 09:23:00 2002 From: huntharo@msu.edu (Harold L Hunt II) Date: Mon, 04 Nov 2002 09:23:00 -0000 Subject: [ANNOUNCEMENT] Updated Cygwin/XFree86 Package: x2x-1.27-2 In-Reply-To: <00b301c28425$b58ba740$6501a8c0@sprymusic.com> References: <00b301c28425$b58ba740$6501a8c0@sprymusic.com> Message-ID: <3DC6ACFD.40000@msu.edu> Jean-Claude, So, what you really want is to be able to say ``start screen 0 on physical monitor x'', right? That way the rootless X would pop up on the desired monitor. Additionally, you want to make sure that the sreen size is not reduced by the size of the taskbar, which is not present on the pysical monitor that X will be displayed on? I think I can work something like that. I am actually in a slightly better position to help you now too. I don't have two monitors (I gave the old one away, to get it out of my sight), but I do have two video cards and a dual-input monitor that I can easily switch between inputs on. Thus, I can setup a rudimentary dual-display system that I can at least use to test if dual displays are handled correctly. I may give this a try, but this is going to be a rough week with programming projects for my classes, so it may have to wait a little while. Harold Jean-Claude Gervais wrote: >Thomas - Yes, I've tried invoking XWin from the second display, but no dice. >Harold - Yup, of course; all good things take time. I'm currently learning >more and more about X anyway, so I might even be able to help out at some >point; It seems that to be able to contribute to a project like Cygwin, you >have to know Win32 and *nix equally well. > >Here's the work-around that I've found; brace yourselves - > >I grab the taskbar and drag it onto the second display (the reason for this >will become clearer in a moment) >Using the "-engine 1", I start XWin in rootless mode (Yay! Rootless mode >rocks!) >I drag the taskbar back to the primary display, now that XWin has calculated >the window-size excluding the task-bar. >I right-click on XWin's taskbar icon and select MOVE, then I use the >arrow-keys to move XWin's display across to the other screen, and press >enter once it's properly positioned. > >Alternatively, I could just LEAVE the taskbar on the second display, but >then I have a problem remote-controlling the box with another Microsoft gem, >Netmeeting. > > >Thanks for your reading. > > >-----Original Message----- >From: cygwin-xfree-owner@cygwin.com [mailto:cygwin-xfree-owner@cygwin.com]On >Behalf Of Harold L Hunt II >Sent: Monday, November 04, 2002 10:49 AM >To: cygwin-xfree@cygwin.com >Subject: Re: [ANNOUNCEMENT] Updated Cygwin/XFree86 Package: x2x-1.27-2 > >Jean-Claude, > >No, there is not way for Cygwin/XFree86 to use the entire area of the >dual-display; that is pretty much a limitation of DirectDraw, if I >recall correctly (I seem to remember that a surface can only span a >single physical monitor). You could probably pass the ``-engine 1'' >argument to use the GDI-based blitter, but that would still be limited >to a single physical display because Cygwin/XFree86 trims the specified >size to fit on the primary monitor. We would need some sort of new >command-line argument to indicate that the specified size is not to be >trimmed in anyway, or we could have a flag that says to use the entire >virtual desktop size. I prefer the later. > >In any case, some coding will need to happen before your request can be >realized. > >Harold > >Jean-Claude Gervais wrote: > > > >>Great news Thomas, >> >> Um, since you know so much about dual-displays, maybe you could help >> >> >me? > > >> I'm running Cygwin XFree on a machine inside which I have installed >> >> >two > > >>video cards; this in effect creates a really large Windows desktop. >> >> I'm just wondering if you know of any way to get the Cygwin XFree >> >> >display > > >>to either use the full desktop surface, or failing that, is there a way to >>get Cygwin XFree to start up on the right-hand side of the display, because >>it never seems to want to start on the second display... >> >>Thanks in advance. >> >> >>-----Original Message----- >>From: cygwin-xfree-owner@cygwin.com >> >> >[mailto:cygwin-xfree-owner@cygwin.com]On > > >>Behalf Of Thomas Chadwick >>Sent: Monday, November 04, 2002 9:47 AM >>To: cygwin-xfree-announce@cygwin.com >>Cc: cygwin-xfree@cygwin.com >>Subject: [ANNOUNCEMENT] Updated Cygwin/XFree86 Package: x2x-1.27-2 >> >>ANNOUCEMENT >> >>An update to the Cygwin/XFree86 package 'x2x' is now available. >> >> >>DESCRIPTION >> >>The usefulness of this utility will become apparent to anyone with a PC >>side-by-side with an *ix workstation. Simply bring up an XWindows session >>on each machine, run x2x on the PC, and use your PC's mouse and keyboard to >>control your *ix workstation's display. Works better and is cheaper than a >>KVM (Keyboard/Video/Mouse) switch. It also works much like a multi-headed >> >> >X > > >>session. >> >> >>RELEASE HISTORY >> >>x2x-1.27-2 (current release): >> >> Bugfix and enhancement release. Changes are: >> >> 1) Fixed problem in which x2x consumes nearly 100% of the CPU. >> This was due to a problem in setting up a call to select(), >> which was causing it to be non-blocking. >> >> 2) Added some includes and cleaned-up some code to cut down >> on compiler warnings. >> >> 3) Added a whole new feature! Invoking x2d with a command-line >> flag of "-capslockhack"causes it to wrap Shift key Press/ >> Release events around alpha keystrokes. I discovered I >> needed this feature because the "to" display I have uses the >> state of CapsLock on its attached keyboard to determine if >> CapsLock is on (instead of obeying the CapsLock Press/Release >> keyboard events). >> >>x2x-1.27-1: >> >> Initial Release. Vendor code built and package as-is. >> >> >>KNOWN BUGS >> >> Doesn't "work" very well with the new rootless mode of XWin. >> I plan to fix this in a future release. >> >> >>INSTALLATION INSTRUCTIONS >> >>To update your installation, click on the "Install Cygwin now" link on the >>http://cygwin.com/ web page. This downloads setup.exe to your system. >> >> >Save > > >>it and run setup, answer the questions and pick up 'x2x' from the 'XFree86' >>category. You may need to click the "Full" button if it doesn't show up. >> >>Note that downloads from sources.redhat.com (aka cygwin.com) aren't allowed >>due to bandwidth limitations. This means that you will need to find a >>mirror which has this update. >> >>In the US, ftp://archive.progeny.com/cygwin/ is a reliable high bandwidth >>connection. >> >>In Japan, ftp://ftp.u-aizu.ac.jp/pub/gnu/gnu-win32/ is usually up-to-date. >> >>In DK, http://mirrors.sunsite.dk/cygwin/ is usually up-to-date. >> >>If one of the above doesn't have the latest version of this package you can >>either wait for the site to be updated or find another mirror. >> >>Please send questions or comments to the Cygwin/XFree86 mailing list >>(mailto:cygwin-xfree@sources.redhat.com). If you want to subscribe go to >>http://cygwin.com/lists.html. I would appreciate it if you would use the >>mailing list rather than emailing me directly. This includes ideas and >>comments about the setup utility or Cygwin/XFree86 in general. >> >>If you want to make a point or ask a question, the Cygwin/XFree86 mailing >>list is the appropriate place. >> >> >>_________________________________________________________________ >>Protect your PC - get McAfee.com VirusScan Online >>http://clinic.mcafee.com/clinic/ibuy/campaign.asp?cid=3963 >> >> >> >> >> > > > From Alexander.Gottwald@s1999.tu-chemnitz.de Mon Nov 4 09:27:00 2002 From: Alexander.Gottwald@s1999.tu-chemnitz.de (Alexander Gottwald) Date: Mon, 04 Nov 2002 09:27:00 -0000 Subject: XWin.exe crashes In-Reply-To: <20021104155650.GA25557@redhat.com> Message-ID: Christopher Faylor wrote: > I thought your patch only added a "b" to reads and writes which would > indicate that it needed to operate entirely in "binmode". However, I > see that in some cases, it doesn't add the "b". Not sure why. > > This seems to be the opposite of what you're implying though. I'm not sure for the other cases. So I just changed the case where the "wb" was definitly missing. Fixing bugs at work showed me one thing: Changing not exactly the condition where the bug occured will likely introduce a new one. If the XFree maintainer which applies the patch is sure about the other cases, he can easily add the "t" where it belongs. > > cgf > > Index: programs/Xserver/xkb/ddxLoad.c > =================================================================== > RCS file: /cvs/xc/programs/Xserver/xkb/ddxLoad.c,v > retrieving revision 3.30 > diff -u -r3.30 ddxLoad.c > --- programs/Xserver/xkb/ddxLoad.c 2002/05/31 18:46:06 3.30 > +++ programs/Xserver/xkb/ddxLoad.c 2002/11/03 12:29:17 > @@ -413,7 +413,7 @@ > else if (strlen(xkm_output_dir)+strlen(mapName)+5 <= PATH_MAX) > sprintf(buf,"%s%s.xkm",xkm_output_dir,mapName); > if (buf[0] != '\0') > - file= fopen(buf,"r"); > + file= fopen(buf,"rb"); > else file= NULL; > } > else file= NULL; This is the server. It reads the binary file. So the "b" should be there. The automode maybe fixed this automaticly, but this is the IMHO the better way. > Index: programs/xkbcomp/xkbcomp.c > =================================================================== > RCS file: /cvs/xc/programs/xkbcomp/xkbcomp.c,v > retrieving revision 3.17 > diff -u -r3.17 xkbcomp.c > --- programs/xkbcomp/xkbcomp.c 2002/06/05 00:00:37 3.17 > +++ programs/xkbcomp/xkbcomp.c 2002/11/03 14:57:04 > @@ -873,16 +873,30 @@ > * -- Branden Robinson > */ > int outputFileFd; > + int binMode = 0; > + const char *openMode = "w"; > unlink(outputFile); > +#ifdef O_BINARY > + switch (outputFormat) { > + case WANT_XKM_FILE: > + binMode = O_BINARY; > + openMode = "wb"; > + break; > + default: > + binMode = 0; > + break; > + } > +#endif > outputFileFd= open(outputFile, O_WRONLY|O_CREAT|O_EXCL, > - S_IRUSR|S_IWUSR|S_IRGRP|S_IWGRP|S_IROTH|S_IWOTH); > + S_IRUSR|S_IWUSR|S_IRGRP|S_IWGRP|S_IROTH|S_IWOTH|binMode); > if (outputFileFd<0) { > ERROR1("Cannot open \"%s\" to write keyboard description\n", > outputFile); > ACTION("Exiting\n"); > exit(1); > } > - out= fdopen(outputFileFd, "w"); > + > + out= fdopen(outputFileFd, openMode); > /* end BR */ > if (out==NULL) { > ERROR1("Cannot open \"%s\" to write keyboard description\n", This is for xkbcomp. Here the binary file gets written. So I added "wb" where it was needed and left the other unchanged. bye ago -- From huntharo@msu.edu Mon Nov 4 09:30:00 2002 From: huntharo@msu.edu (Harold L Hunt II) Date: Mon, 04 Nov 2002 09:30:00 -0000 Subject: XWin.exe crashes In-Reply-To: References: Message-ID: <3DC6AE0D.20906@msu.edu> Alan, Do you want to apply Alexander's patch directly, or do you want me to apply it locally, test it, then submit it for inclusion in the trunk? Note, this applies to xkb stuff. Harold Alexander Gottwald wrote: >Christopher Faylor wrote: > > > >>I thought your patch only added a "b" to reads and writes which would >>indicate that it needed to operate entirely in "binmode". However, I >>see that in some cases, it doesn't add the "b". Not sure why. >> >>This seems to be the opposite of what you're implying though. >> >> > >I'm not sure for the other cases. So I just changed the case where the >"wb" was definitly missing. > >Fixing bugs at work showed me one thing: Changing not exactly the condition >where the bug occured will likely introduce a new one. If the XFree maintainer >which applies the patch is sure about the other cases, he can easily add the >"t" where it belongs. > > > >>cgf >> >>Index: programs/Xserver/xkb/ddxLoad.c >>=================================================================== >>RCS file: /cvs/xc/programs/Xserver/xkb/ddxLoad.c,v >>retrieving revision 3.30 >>diff -u -r3.30 ddxLoad.c >>--- programs/Xserver/xkb/ddxLoad.c 2002/05/31 18:46:06 3.30 >>+++ programs/Xserver/xkb/ddxLoad.c 2002/11/03 12:29:17 >>@@ -413,7 +413,7 @@ >> else if (strlen(xkm_output_dir)+strlen(mapName)+5 <= PATH_MAX) >> sprintf(buf,"%s%s.xkm",xkm_output_dir,mapName); >> if (buf[0] != '\0') >>- file= fopen(buf,"r"); >>+ file= fopen(buf,"rb"); >> else file= NULL; >> } >> else file= NULL; >> >> > >This is the server. It reads the binary file. So the "b" should be there. >The automode maybe fixed this automaticly, but this is the IMHO the better >way. > > > > >>Index: programs/xkbcomp/xkbcomp.c >>=================================================================== >>RCS file: /cvs/xc/programs/xkbcomp/xkbcomp.c,v >>retrieving revision 3.17 >>diff -u -r3.17 xkbcomp.c >>--- programs/xkbcomp/xkbcomp.c 2002/06/05 00:00:37 3.17 >>+++ programs/xkbcomp/xkbcomp.c 2002/11/03 14:57:04 >>@@ -873,16 +873,30 @@ >> * -- Branden Robinson >> */ >> int outputFileFd; >>+ int binMode = 0; >>+ const char *openMode = "w"; >> unlink(outputFile); >>+#ifdef O_BINARY >>+ switch (outputFormat) { >>+ case WANT_XKM_FILE: >>+ binMode = O_BINARY; >>+ openMode = "wb"; >>+ break; >>+ default: >>+ binMode = 0; >>+ break; >>+ } >>+#endif >> outputFileFd= open(outputFile, O_WRONLY|O_CREAT|O_EXCL, >>- S_IRUSR|S_IWUSR|S_IRGRP|S_IWGRP|S_IROTH|S_IWOTH); >>+ S_IRUSR|S_IWUSR|S_IRGRP|S_IWGRP|S_IROTH|S_IWOTH|binMode); >> if (outputFileFd<0) { >> ERROR1("Cannot open \"%s\" to write keyboard description\n", >> outputFile); >> ACTION("Exiting\n"); >> exit(1); >> } >>- out= fdopen(outputFileFd, "w"); >>+ >>+ out= fdopen(outputFileFd, openMode); >> /* end BR */ >> if (out==NULL) { >> ERROR1("Cannot open \"%s\" to write keyboard description\n", >> >> > >This is for xkbcomp. Here the binary file gets written. So I added "wb" >where it was needed and left the other unchanged. > >bye > ago > > From huntharo@msu.edu Mon Nov 4 09:35:00 2002 From: huntharo@msu.edu (Harold L Hunt II) Date: Mon, 04 Nov 2002 09:35:00 -0000 Subject: XWin.exe crashes In-Reply-To: References: <3DC6AE0D.20906@msu.edu> Message-ID: <3DC6AEBA.8010201@msu.edu> Oh, now this is just great. I opened this email in Mozilla, hit reply, changed the address to send this only to Alan, and it still got sent to the mailing list. Time for a new nightly of Mozilla... Harold Harold L Hunt II wrote: > Alan, > > Do you want to apply Alexander's patch directly, or do you want me to > apply it locally, test it, then submit it for inclusion in the trunk? > Note, this applies to xkb stuff. > > Harold > > Alexander Gottwald wrote: > >> Christopher Faylor wrote: >> >> >> >>> I thought your patch only added a "b" to reads and writes which would >>> indicate that it needed to operate entirely in "binmode". However, I >>> see that in some cases, it doesn't add the "b". Not sure why. >>> >>> This seems to be the opposite of what you're implying though. >>> >> >> >> I'm not sure for the other cases. So I just changed the case where the >> "wb" was definitly missing. >> >> Fixing bugs at work showed me one thing: Changing not exactly the >> condition >> where the bug occured will likely introduce a new one. If the XFree >> maintainer which applies the patch is sure about the other cases, he >> can easily add the >> "t" where it belongs. >> >> >> >>> cgf >>> >>> Index: programs/Xserver/xkb/ddxLoad.c >>> =================================================================== >>> RCS file: /cvs/xc/programs/Xserver/xkb/ddxLoad.c,v >>> retrieving revision 3.30 >>> diff -u -r3.30 ddxLoad.c >>> --- programs/Xserver/xkb/ddxLoad.c 2002/05/31 18:46:06 3.30 >>> +++ programs/Xserver/xkb/ddxLoad.c 2002/11/03 12:29:17 >>> @@ -413,7 +413,7 @@ >>> else if (strlen(xkm_output_dir)+strlen(mapName)+5 <= PATH_MAX) >>> sprintf(buf,"%s%s.xkm",xkm_output_dir,mapName); >>> if (buf[0] != '\0') >>> - file= fopen(buf,"r"); >>> + file= fopen(buf,"rb"); >>> else file= NULL; >>> } >>> else file= NULL; >>> >> >> >> This is the server. It reads the binary file. So the "b" should be >> there. The automode maybe fixed this automaticly, but this is the >> IMHO the better >> way. >> >> >> >> >>> Index: programs/xkbcomp/xkbcomp.c >>> =================================================================== >>> RCS file: /cvs/xc/programs/xkbcomp/xkbcomp.c,v >>> retrieving revision 3.17 >>> diff -u -r3.17 xkbcomp.c >>> --- programs/xkbcomp/xkbcomp.c 2002/06/05 00:00:37 3.17 >>> +++ programs/xkbcomp/xkbcomp.c 2002/11/03 14:57:04 >>> @@ -873,16 +873,30 @@ >>> * -- Branden Robinson >>> */ >>> int outputFileFd; >>> + int binMode = 0; >>> + const char *openMode = "w"; >>> unlink(outputFile); >>> +#ifdef O_BINARY >>> + switch (outputFormat) { >>> + case WANT_XKM_FILE: >>> + binMode = O_BINARY; >>> + openMode = "wb"; >>> + break; >>> + default: >>> + binMode = 0; >>> + break; >>> + } >>> +#endif >>> outputFileFd= open(outputFile, O_WRONLY|O_CREAT|O_EXCL, >>> - S_IRUSR|S_IWUSR|S_IRGRP|S_IWGRP|S_IROTH|S_IWOTH); >>> + >>> S_IRUSR|S_IWUSR|S_IRGRP|S_IWGRP|S_IROTH|S_IWOTH|binMode); >>> if (outputFileFd<0) { >>> ERROR1("Cannot open \"%s\" to write keyboard description\n", >>> outputFile); >>> ACTION("Exiting\n"); >>> exit(1); >>> } >>> - out= fdopen(outputFileFd, "w"); >>> + + out= fdopen(outputFileFd, openMode); >>> /* end BR */ >>> if (out==NULL) { >>> ERROR1("Cannot open \"%s\" to write keyboard description\n", >>> >> >> >> This is for xkbcomp. Here the binary file gets written. So I added "wb" >> where it was needed and left the other unchanged. >> bye >> ago >> >> > From Alexander.Gottwald@s1999.tu-chemnitz.de Mon Nov 4 10:14:00 2002 From: Alexander.Gottwald@s1999.tu-chemnitz.de (Alexander Gottwald) Date: Mon, 04 Nov 2002 10:14:00 -0000 Subject: [ANNOUNCEMENT] Updated Cygwin/XFree86 Package: x2x-1.27-2 In-Reply-To: <3DC6ACFD.40000@msu.edu> Message-ID: Harold L Hunt II wrote: > I am actually in a slightly better position to help you now too. I > don't have two monitors (I gave the old one away, to get it out of my > sight), but I do have two video cards and a dual-input monitor that I > can easily switch between inputs on. Sounds like a crazy "where-is-my-mouse" search. Hint: It's always on the "monitor" which is not displayed *g* > Thus, I can setup a rudimentary > dual-display system that I can at least use to test if dual displays are > handled correctly. I believe some people on this list are happy to hear this. Good luck, ago From jc.gervais@videotron.ca Mon Nov 4 10:25:00 2002 From: jc.gervais@videotron.ca (Jean-Claude Gervais) Date: Mon, 04 Nov 2002 10:25:00 -0000 Subject: Multiple monitors In-Reply-To: <3DC6ACFD.40000@msu.edu> Message-ID: <00b401c2842d$d8811c50$6501a8c0@sprymusic.com> -----Original Message----- From: cygwin-xfree-owner@cygwin.com [mailto:cygwin-xfree-owner@cygwin.com]On Behalf Of Harold L Hunt II Sent: Monday, November 04, 2002 12:23 PM So, what you really want is to be able to say ``start screen 0 on physical monitor x'', right? That way the rootless X would pop up on the desired monitor. Additionally, you want to make sure that the sreen size is not reduced by the size of the taskbar, which is not present on the pysical monitor that X will be displayed on? I think I can work something like that. EXACLTY! Also, calling GetSystemMetrics( SM_CXVIRTUALSCREEN ), GetSystemMetrics( SM_CXVIRTUALSCREEN ), when the -engine 1 option is in effect can yield the TRUE size of the display, so if the -engine 1 option and say, he -wholedesktop option is ALSO in effect, maybe XWin could create a window that would fill both displays? From jozsefke@freemail.hu Mon Nov 4 10:29:00 2002 From: jozsefke@freemail.hu (Kercso Jozsef) Date: Mon, 04 Nov 2002 10:29:00 -0000 Subject: Strange xhost behavior- Please help!! Message-ID: <5.1.1.6.2.20021104185929.00a160f0@pop.chello.hu> Hi! I have the following problem: - I have started a bash consol window as usual with "cygwin.bat" $> XWin.exe & $> export DISPLAY=127.0.0.1:0.0 $> xhost + Then from another host: [einstein]$ export DISPLAY=127.0.0.1:0.0 [einstein]$ xterm & Xlib: connection to "127.0.01:0.0" refused by server Xlib: No protocol specified Then at the original host: $> xterm & # The window was accepted and displayed Second try from einstein: [einstein]$ xterm & Xlib: connection to "127.0.01:0.0" refused by server Xlib: No protocol specified Then at the original host: $> xhost + Third try from einstein: [einstein]$ xterm & # The window was accepted and displayed So, the X server first needs an xterm from the original host, only after that will accept connection from another hosts. I have found, that the second "xhost +" works from the in the X server previously displayed xterm too. Why is this so? Why the first "xhost +" does not work? Can anybody help me? (I have the latest X server:4.2.0-1). Thanks, Jozsef Kercso From huntharo@msu.edu Mon Nov 4 10:31:00 2002 From: huntharo@msu.edu (Harold L Hunt II) Date: Mon, 04 Nov 2002 10:31:00 -0000 Subject: Strange xhost behavior- Please help!! In-Reply-To: <5.1.1.6.2.20021104185929.00a160f0@pop.chello.hu> References: <5.1.1.6.2.20021104185929.00a160f0@pop.chello.hu> Message-ID: <3DC6BCA5.5080508@msu.edu> Jozsef, You example makes no sense at all. The problem is that 127.0.0.1 is a fake address that is only used for connections that loop back to the local machine that you are on. You cannot connect across the network to the machine with address 127.0.0.1 because *every* machine on the network has the idea that it is machine 127.0.0.1. You need to use the real IP address of that machine that you want to connect to, and make sure that you can actually ping it before trying this again. Harold Kercso Jozsef wrote: > Hi! > > I have the following problem: > - I have started a bash consol window as usual with "cygwin.bat" > $> XWin.exe & > $> export DISPLAY=127.0.0.1:0.0 > $> xhost + > > Then from another host: > [einstein]$ export DISPLAY=127.0.0.1:0.0 > [einstein]$ xterm & > Xlib: connection to "127.0.01:0.0" refused by server > Xlib: No protocol specified > > Then at the original host: > $> xterm & > # The window was accepted and displayed > > Second try from einstein: > [einstein]$ xterm & > Xlib: connection to "127.0.01:0.0" refused by server > Xlib: No protocol specified > > Then at the original host: > $> xhost + > > > Third try from einstein: > [einstein]$ xterm & > # The window was accepted and displayed > > So, the X server first needs an xterm from the original host, only > after that will accept connection from another hosts. I have found, that > the second "xhost +" works from the in the X server previously > displayed xterm too. > > Why is this so? Why the first "xhost +" does not work? > Can anybody help me? (I have the latest X server:4.2.0-1). > > Thanks, > Jozsef Kercso > From huntharo@msu.edu Mon Nov 4 10:35:00 2002 From: huntharo@msu.edu (Harold L Hunt II) Date: Mon, 04 Nov 2002 10:35:00 -0000 Subject: Strange xhost behavior- Please help!! In-Reply-To: <5.1.1.6.2.20021104185929.00a160f0@pop.chello.hu> References: <5.1.1.6.2.20021104185929.00a160f0@pop.chello.hu> Message-ID: <3DC6BCE1.8020903@msu.edu> Jozsef, Wait a minute... you will have to excuse me. You meant ``from another xhost terminal'', not ``from another machine on the network.''. Forget what I said in my previous email. Harold Kercso Jozsef wrote: > Hi! > > I have the following problem: > - I have started a bash consol window as usual with "cygwin.bat" > $> XWin.exe & > $> export DISPLAY=127.0.0.1:0.0 > $> xhost + > > Then from another host: > [einstein]$ export DISPLAY=127.0.0.1:0.0 > [einstein]$ xterm & > Xlib: connection to "127.0.01:0.0" refused by server > Xlib: No protocol specified > > Then at the original host: > $> xterm & > # The window was accepted and displayed > > Second try from einstein: > [einstein]$ xterm & > Xlib: connection to "127.0.01:0.0" refused by server > Xlib: No protocol specified > > Then at the original host: > $> xhost + > > > Third try from einstein: > [einstein]$ xterm & > # The window was accepted and displayed > > So, the X server first needs an xterm from the original host, only > after that will accept connection from another hosts. I have found, that > the second "xhost +" works from the in the X server previously > displayed xterm too. > > Why is this so? Why the first "xhost +" does not work? > Can anybody help me? (I have the latest X server:4.2.0-1). > > Thanks, > Jozsef Kercso > From huntharo@msu.edu Mon Nov 4 11:07:00 2002 From: huntharo@msu.edu (Harold L Hunt II) Date: Mon, 04 Nov 2002 11:07:00 -0000 Subject: Strange xhost behavior- Please help!! In-Reply-To: <5.1.1.6.2.20021104185929.00a160f0@pop.chello.hu> References: <5.1.1.6.2.20021104185929.00a160f0@pop.chello.hu> Message-ID: <3DC6BDF3.7040601@msu.edu> Jozsef, Use /usr/X11R6/bin/startxwin.bat to start Cygwin/XFree86. Then go to your bash terminal and run these commands: cd /usr/X11R6/bin export DISPLAY=127.0.0.1:0.0 xterm See if that works. Part of your problem could be starting XWin.exe from a bash prompt... which I never do, though other users swear by it. Harold Kercso Jozsef wrote: > Hi! > > I have the following problem: > - I have started a bash consol window as usual with "cygwin.bat" > $> XWin.exe & > $> export DISPLAY=127.0.0.1:0.0 > $> xhost + > > Then from another host: > [einstein]$ export DISPLAY=127.0.0.1:0.0 > [einstein]$ xterm & > Xlib: connection to "127.0.01:0.0" refused by server > Xlib: No protocol specified > > Then at the original host: > $> xterm & > # The window was accepted and displayed > > Second try from einstein: > [einstein]$ xterm & > Xlib: connection to "127.0.01:0.0" refused by server > Xlib: No protocol specified > > Then at the original host: > $> xhost + > > > Third try from einstein: > [einstein]$ xterm & > # The window was accepted and displayed > > So, the X server first needs an xterm from the original host, only > after that will accept connection from another hosts. I have found, that > the second "xhost +" works from the in the X server previously > displayed xterm too. > > Why is this so? Why the first "xhost +" does not work? > Can anybody help me? (I have the latest X server:4.2.0-1). > > Thanks, > Jozsef Kercso > From david.w.dawson@lmco.com Mon Nov 4 11:29:00 2002 From: david.w.dawson@lmco.com (Dawson, David W) Date: Mon, 04 Nov 2002 11:29:00 -0000 Subject: Strange xhost behavior- Please help!! Message-ID: <0C73AA5F720CD311AC2A0008C7DBA9B407794B45@emss09m13.ems.lmco.com> The problem is a "feeture" of all X-servers: When the X-server detects that the last client connection terminates, the server does a full reset. xhost is NOT a persistent connection. As soon as the xhost program completes it's job (telling the X-Server host to change the permissions), the xhost program closes it's connection with the X-server. Since (in your case) it is the ONLY connection at that time, the X-server resets and promptly eradicates the xhost setting. You need to open a persistent connection first: an xterm, a window manager, xclock, something.... -D. --------------------- David Dawson david.w.dawson@lmco.com 703-367-3885 -----Original Message----- From: Kercso Jozsef [mailto:jozsefke@freemail.hu] Sent: Monday, November 04, 2002 1:25 PM To: cygwin-xfree@cygwin.com Subject: Strange xhost behavior- Please help!! Hi! I have the following problem: - I have started a bash consol window as usual with "cygwin.bat" $> XWin.exe & $> export DISPLAY=127.0.0.1:0.0 $> xhost + Then from another host: [einstein]$ export DISPLAY=127.0.0.1:0.0 [einstein]$ xterm & Xlib: connection to "127.0.01:0.0" refused by server Xlib: No protocol specified Then at the original host: $> xterm & # The window was accepted and displayed Second try from einstein: [einstein]$ xterm & Xlib: connection to "127.0.01:0.0" refused by server Xlib: No protocol specified Then at the original host: $> xhost + Third try from einstein: [einstein]$ xterm & # The window was accepted and displayed So, the X server first needs an xterm from the original host, only after that will accept connection from another hosts. I have found, that the second "xhost +" works from the in the X server previously displayed xterm too. Why is this so? Why the first "xhost +" does not work? Can anybody help me? (I have the latest X server:4.2.0-1). Thanks, Jozsef Kercso From keith@keithtyler.com Mon Nov 4 12:54:00 2002 From: keith@keithtyler.com (Keith D. Tyler) Date: Mon, 04 Nov 2002 12:54:00 -0000 Subject: Strange xhost behavior- Please help!! In-Reply-To: <0C73AA5F720CD311AC2A0008C7DBA9B407794B45@emss09m13.ems.lmco.com> from "Dawson, David W" at Nov 04, 2002 02:00:20 PM Message-ID: <200211041929.gA4JT1407165@shell.faradic.net> Dawson, David W was recently quoted as saying... > > When the X-server detects that the last client connection terminates, the > server does a full reset. > > xhost is NOT a persistent connection. > As soon as the xhost program completes it's job (telling the X-Server host > to change the permissions), the xhost program closes it's connection with > the X-server. Since (in your case) it is the ONLY connection at that time, > the X-server resets and promptly eradicates the xhost setting. > > You need to open a persistent connection first: an xterm, a window manager, > xclock, something.... ... or run XWin.exe with the -noreset option. ================================================================== Keith D. Tyler keith@keithtyler.com Federal Way, WA http://www.keithtyler.com ------------------------------------------------------------------ If Tyrrany and Oppresion come to this land, it will be under the guise of fighting a foreign enemy. - James Madison, U.S. President 1809-1817 ================================================================== From rodmedina@cantv.net Mon Nov 4 13:06:00 2002 From: rodmedina@cantv.net (rodmedina@cantv.net) Date: Mon, 04 Nov 2002 13:06:00 -0000 Subject: Inconvinient colormap Message-ID: <309920-220021114205442522@cantv.net> Dear sirs, I have used the new version of XFree86 since August. I am happy with it. Some fine tunning is still needed. One problem is related to the 256-colors colormap, (I am using windows95). This colormap is not convenient because some important colors, such as green3 or red3, are not included. For example the color features of RXVT cannot be used. I suppose that the colormap is inherited from Windows (?), so that it connot be modified. If such is the case, I sugest to modify instead the /llib/X11/rgb.txt table. The color red3=205-0-0 is not in the colormap, but 204-0-0 is there. So if one modifies the definition (red3=204-0-0) the problem is solved. This should be done to few colors such as red3, green3, blue3,yellow3, magenta3, cyan3 and the grey scale. Many of the greys in the colormap have no name, but are very close to some standard greys that are not included in the colormap. Example: grey80=204-204-204 is not in the colormap, but there is a 203-203-203 grey that has no standard name. I hope this comments could be useful. Rodrigo Medina rmedina@ivic.ve From huntharo@msu.edu Mon Nov 4 13:08:00 2002 From: huntharo@msu.edu (Harold L Hunt II) Date: Mon, 04 Nov 2002 13:08:00 -0000 Subject: AltGR problems with Windows XP In-Reply-To: <3DC551E2.4080803@schessner.de> References: <3DC551E2.4080803@schessner.de> Message-ID: <3DC6E168.3070206@msu.edu> Andreas, Interesting. I think you may have found the reason (and solution) for why a select few users with non-U.S. keyboard layouts are still having problems with fake Control_L presses and releases. I appreciate the FSM state transition table, but could you give me a few sentences describing how the new code detects the fake Control_L presses and releases? That will make it a little easier for me to understand your table. Thanks for the patch, Harold Andreas Schessner wrote: > Hello, > > I use the X server of Cygwin/XFree86 (XWin) and it is working fine on my > Windows 2000 Workstation but > running the same version on my Notebook (Windows XP) causes problems > with the AltGr handling. > > I've noticed that pressing the AltGr Key produces a > KeyPress-Control_L > KeyPress-Mode_switch > KeyRelease-Control_L > KeyRelease-Mode_switch > event sequence (see xev output at the end of this mail). > > I began to trace the code (winkeybd.c, function winIsFakeCtrl_L) and > found out that on my XP notebook the windows messages VK_CONTROL (the > faked Control_L) and VK_MENU don't have the same timestamp and it is not > always possible to get the following VK_MENU message by issuing the > PeekMessage(). > > I don't know if this problem is relating to my Notebook (Dell Latitude) > or to Windows XP. Are there other people having the same problems? > > Andreas > > > PS. > For now I've implemented a workarround. I'm using a translation of the > incomming windows messages, which recognizes the fake Control_L messages > and filters them out. > Changes were made on following sources: win.h, winkeybd.c, winwndproc.c > The modified sources can be obtained from mee if desired: > This works fine for me... > > > The algorithm is desccribed below as a deterministic finite automata > (DFA) > > input \ state | 0 (start) | 1 | 2 | 3 > -------------------------------------------------------------------------------- > > KeyPressed-CtrlL (PCL) | 1 - | 1 - | 2 PCL | 1 - > KeyReleased-CtrlL (RCL) | 0 RCL | 0 PCL,RCL | 3 - | 0 RCL > KeyPressed-AltR (PAR) | 0 PAR | 2 PAR | 2 PAR | 0 PAR > KeyReleased-AltR (RAR) | 0 RAR | 0 PCL,RAR | 1 RAR | 0 RAR > any other key (*) | 0 * | 0 PCL,* | 2 * | 0 * > > States: > 0 (start),1,2,3 > input and output alphabet: > KeyPressed-CtrlL (PCL), KeyReleased-CtrlL (RCL), > KeyPressed-AltR (PAR), KeyReleased-AltR (RAR), > no key (-), any other key(*) > > the table shows the transitions: > > > e.g. assume you are in state "1" and you receive a KeyReleased-CtrlL > message > then the new state of the DFA would be "0" and the events for > KeyPressed-CtrlL and KeyReleased-CtrlL > are sent to the XWin X-Server. > > > Implementation: > ========================================================= > > void winProcessKeyEvent (DWORD dwVirtualKey, DWORD dwKeyData) > { > static int iState = 0; /* initial State of DFA */ > static int iCtrlCode = 0; /* initialized when first pressed... */ > > Bool fDown = ((dwKeyData & 0x80000000) == 0); > Bool fExt = ((HIWORD(dwKeyData) & KF_EXTENDED) != 0); > int iPreKeyCode = XK_VoidSymbol; > > Bool fCtrlUp, fCtrlDown, fMenuUp, fMenuDown; > int iKeyCode, i; > > > winTranslateKey (dwVirtualKey, dwKeyData, &iKeyCode); > > /* > * determine the input for the DFA > * (we use boolean indicators instead of an real alphabet) > */ > fCtrlUp = fCtrlDown = fMenuUp = fMenuDown = FALSE; > > if (dwVirtualKey == VK_CONTROL) { > iCtrlCode = iKeyCode; /* save the scan code for VK_CONTROL */ > if (fDown) fCtrlDown=TRUE; > else fCtrlUp =TRUE; > } > else if (dwVirtualKey == VK_MENU && fExt) { > if (fDown) fMenuDown=TRUE; > else fMenuUp =TRUE; > } > > #if CYGDEBUG > ErrorF("winProcessKeyEvent: 0x%0x, 0x%0x\n",dwVirtualKey,dwKeyData); > ErrorF("State=%d Input=0x%0x (%s) > ",iState,dwVirtualKey,(fDown?"DOWN":"UP")); > #endif > > switch (iState) { > > default: > case 0 : > if (fCtrlDown) { iState=1; iKeyCode=XK_VoidSymbol; } > else { iState=0; } > break; > > > case 1 : > if (fCtrlDown) { iState=1; } > else if (fMenuDown) { iState=2; } > else { iState=0; iPreKeyCode=iCtrlCode; } > break; > > > case 2 : > if (fCtrlUp) { iState=3; } > else if (fMenuUp) { iState=1; } > else { iState=2; } > break; > > case 3 : > if (fCtrlDown) { iState=1; iKeyCode=XK_VoidSymbol; } > else { iState=0; } > break; > > } > > #if CYGDEBUG > ErrorF(" -> State=%d", iState); > if (iPreKeyCode != XK_VoidSymbol) ErrorF(" 0x%0x [0x0],",iPreKeyCode); > ErrorF(" 0x%0x [0x%0x]\n",iKeyCode,dwKeyData); > #endif > > if (iPreKeyCode != XK_VoidSymbol) > winSendKeyEvent(iPreKeyCode,TRUE); > > if (iKeyCode != XK_VoidSymbol) > for (i = 0; i < LOWORD(dwKeyData); ++i) > winSendKeyEvent(iKeyCode, (dwKeyData & 0x80000000)==0); > > } > > > Output of xev with the original XWin: > ========================================================= > KeyPress event, serial 22, synthetic NO, window 0xa00001, > root 0x36, subw 0xa00002, time 249118172, (38,43), root:(591,66), > state 0x0, keycode 37 (keysym 0xffe3, Control_L), same_screen YES, > XLookupString gives 0 characters: "" > > KeyPress event, serial 22, synthetic NO, window 0xa00001, > root 0x36, subw 0xa00002, time 249118172, (38,43), root:(591,66), > state 0x4, keycode 113 (keysym 0xff7e, Mode_switch), same_screen YES, > XLookupString gives 0 characters: "" > > KeyRelease event, serial 22, synthetic NO, window 0xa00001, > root 0x36, subw 0xa00002, time 249118303, (38,43), root:(591,66), > state 0x2004, keycode 37 (keysym 0xffe3, Control_L), same_screen YES, > XLookupString gives 0 characters: "" > > KeyRelease event, serial 22, synthetic NO, window 0xa00001, > root 0x36, subw 0xa00002, time 249118303, (38,43), root:(591,66), > state 0x2000, keycode 113 (keysym 0xff7e, Mode_switch), > same_screen YES, > XLookupString gives 0 characters: "" > > KeyPress event, serial 22, synthetic NO, window 0xa00001, > root 0x36, subw 0xa00002, time 249119024, (38,43), root:(591,66), > state 0x0, keycode 38 (keysym 0x61, a), same_screen YES, > XLookupString gives 1 characters: "a" > > .... > > KeyPress event, serial 22, synthetic NO, window 0xa00001, > root 0x36, subw 0xa00002, time 249131181, (38,43), root:(591,66), > state 0x0, keycode 37 (keysym 0xffe3, Control_L), same_screen YES, > XLookupString gives 0 characters: "" > > KeyPress event, serial 22, synthetic NO, window 0xa00001, > root 0x36, subw 0xa00002, time 249131191, (38,43), root:(591,66), > state 0x4, keycode 113 (keysym 0xff7e, Mode_switch), same_screen YES, > XLookupString gives 0 characters: "" > > KeyRelease event, serial 22, synthetic NO, window 0xa00001, > root 0x36, subw 0xa00002, time 249131381, (38,43), root:(591,66), > state 0x2004, keycode 113 (keysym 0xff7e, Mode_switch), > same_screen YES, > XLookupString gives 0 characters: "" > > KeyPress event, serial 22, synthetic NO, window 0xa00001, > root 0x36, subw 0xa00002, time 249132383, (38,43), root:(591,66), > state 0x4, keycode 38 (keysym 0x61, a), same_screen YES, > XLookupString gives 1 characters: "" > > > From hschiretz@anbe.cdscc.nasa.gov Mon Nov 4 13:13:00 2002 From: hschiretz@anbe.cdscc.nasa.gov (Schiretz, Helmut F) Date: Mon, 04 Nov 2002 13:13:00 -0000 Subject: Cygwin-Xfree86 and XP and Solaris 8 Message-ID: Hi, I have successfully installed and used Cygwin-Xfree86 (1.3.13 I believe - which I got from nas.nasa.gov) on a Windows 2000 machine and I am able to remotely connect to a Solaris 2.6 machine, but not to a Solaris 8 machine (it freezes whilst trying to connect). I have successfully installed Cygwin (1.3.14 I believe) on a Windows XP machine - it runs fine, but the X server locks up (freezes) whilst trying to connect to either the Solaris 2.6 machine. I have looked everywhere for the answer to these problems and how to resolve them - to no avail. I would greatly appreciate your input on these matters, Regards ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Helmut F. Schiretz Complex Maintenance Facility, Canberra Deep Space Communication Complex. BAE SYSTEMS, PO Box 638,FYSHWICK, ACT, Australia 2609 Tel: +61 2 6201 7850 Fax: +61 2 6201 7929 email: hschiretz@anbe.cdscc.nasa.gov ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ##################################################################################### This e-mail message has been scanned for Viruses and Content and cleared by MailMarshal ##################################################################################### From huntharo@msu.edu Mon Nov 4 13:16:00 2002 From: huntharo@msu.edu (Harold L Hunt II) Date: Mon, 04 Nov 2002 13:16:00 -0000 Subject: Inconvinient colormap In-Reply-To: <309920-220021114205442522@cantv.net> References: <309920-220021114205442522@cantv.net> Message-ID: <3DC6E305.6000600@msu.edu> Rodrigo, Hmm... that is potentially a very helpful observation. I cannot remember off-hand whether the color map is arbitrarily constructed, or whether I read the colors from the Windows color table. In either case, it is possible that I have a simple off-by-one error in how the colors are set. Could you send in your /tmp/XWin.log file from when you run in 256 color mode? I need to know a few things that are contained in that log file. Thanks, Harold rodmedina@cantv.net wrote: >Dear sirs, > I have used the new version of XFree86 since August. I am happy with it. > Some fine tunning is still needed. One problem is related to the 256-colors > colormap, (I am using windows95). This colormap is not convenient because > some important colors, such as green3 or red3, are not included. For >example > the color features of RXVT cannot be used. I suppose that the colormap is > inherited from Windows (?), so that it connot be modified. If such is the > case, I sugest to modify instead the /llib/X11/rgb.txt table. The color > red3=205-0-0 is not in the colormap, but 204-0-0 is there. So if one >modifies > the definition (red3=204-0-0) the problem is solved. This should be done > to few colors such as red3, green3, blue3,yellow3, magenta3, cyan3 and the >grey > scale. Many of the greys in the colormap have no name, but are very close > to some standard greys that are not included in the colormap. Example: > grey80=204-204-204 is not in the colormap, but there is a 203-203-203 grey > that has no standard name. > I hope this comments could be useful. > > Rodrigo Medina rmedina@ivic.ve > > > > > From huntharo@msu.edu Mon Nov 4 13:40:00 2002 From: huntharo@msu.edu (Harold L Hunt II) Date: Mon, 04 Nov 2002 13:40:00 -0000 Subject: Cygwin-Xfree86 and XP and Solaris 8 In-Reply-To: References: Message-ID: <3DC6E3C9.8040805@msu.edu> Helmut, I think you need to point your ``font path'' at the font server running on the Solaris 8 machine. You can do this with the XWin.exe command-line parameter ``-fp''. There are examples on the web, and there is an example in the Cygwin/XFree86 FAQ: http://xfree86.cygwin.com/docs/faq/cygwin-xfree-faq.html#q-solaris-fonts Note that ``-fp'' and the ``font path'' are not specific to Cygwin/XFree86, so they are not documented in the Cygwin/XFree86 User's Guide. Rather, these two items are generic to all XFree86 X Servers and therefore you can find lots of information about them from many sources on the web. Let us know if you have further questions, and be sure to let us know if the ``-fp'' parameter solves your problem. Harold Schiretz, Helmut F wrote: >Hi, > I have successfully installed and used Cygwin-Xfree86 (1.3.13 I believe - >which I got from nas.nasa.gov) on a Windows 2000 machine and I am able to >remotely connect to a Solaris 2.6 machine, but not to a Solaris 8 machine >(it freezes whilst >trying to connect). > >I have successfully installed Cygwin (1.3.14 I believe) on a Windows XP >machine - it runs fine, but the X server >locks up (freezes) whilst trying to connect to either the Solaris 2.6 >machine. > >I have looked everywhere for the answer to these problems and how to resolve >them - to no avail. > >I would greatly appreciate your input on these matters, > >Regards > >~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ > Helmut F. Schiretz > Complex Maintenance Facility, > Canberra Deep Space Communication Complex. > BAE SYSTEMS, > PO Box 638,FYSHWICK, ACT, Australia 2609 > Tel: +61 2 6201 7850 Fax: +61 2 6201 7929 > email: hschiretz@anbe.cdscc.nasa.gov >~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ > > >##################################################################################### >This e-mail message has been scanned for Viruses and Content and cleared by MailMarshal >##################################################################################### > > From Alexander.Gottwald@s1999.tu-chemnitz.de Mon Nov 4 13:54:00 2002 From: Alexander.Gottwald@s1999.tu-chemnitz.de (Alexander Gottwald) Date: Mon, 04 Nov 2002 13:54:00 -0000 Subject: how does xwin resolve ip addresses In-Reply-To: Message-ID: Chris Twiner wrote: > Hi Alexander, > > I ran the program, the results are attached. I have the microsoft loopback > service as 10.10.1.1 . When the wireless is attached it's dhcp, but that > doesn't affect ipconfigs results. I commented the output. ls_netdev $Id: ls_netdev.c,v 1.2 2002/08/01 08:35:17 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=10.10.1.1 eth1: family=TCP/IP (0) addr=0.0.0.0 Querying devices using internal function // Result from GetIpAddrTable dwAddr=00000000 // 0.0.0.0 (DHCP?) dwIndex=65540 // Intel 8255x-based PCI Ethernet Adapter (10/100) dwMask=00000000 // 0.0.0.0 dwBCastAddr=00000001 // 1.0.0.0 dwReasmSize=65535 dwAddr=01010a0a // 10.10.1.1 dwIndex=2 // Microsoft Loopback Adapter dwMask=000000ff // 255.0.0.0 dwBCastAddr=00000001 // 1.0.0.0 dwReasmSize=65535 dwAddr=0100007f // 127.0.0.1 dwIndex=1 // Internal loopback interface for 127.0.0 network dwMask=000000ff // 255.0.0.0 dwBCastAddr=00000001 // 1.0.0.0 dwReasmSize=65535 dwAddr=2301a8c0 // 192.168.1.35 dwIndex=65541 // Wireless ? Interface is missing in the list below dwMask=00ffffff // 255.255.255.0 dwBCastAddr=00000001 // 1.0.0.0 dwReasmSize=65535 // Result from GetIfTable wszName=L dwIndex=1 dwType=24 bDescr=Internal loopback interface for 127.0.0 network wszName={ dwIndex=2 dwType=6 bDescr=Microsoft Loopback Adapter wszName={ dwIndex=65540 dwType=6 bDescr=Intel 8255x-based PCI Ethernet Adapter (10/100) // One interface is missing (65541) :-/ eth0: family=TCP/IP (0) addr=0.0.0.0 eth1: family=TCP/IP (0) addr=10.10.1.1 lo: family=TCP/IP (0) addr=127.0.0.1 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. bye ago BTW: I threw the message back to the ML. Might be of interest there too. NP: Zeraphine - Siehst Du mich -- Alexander.Gottwald@informatik.tu-chemnitz.de http://www.gotti.org ICQ: 126018723 From kostya@rice.edu Mon Nov 4 14:05:00 2002 From: kostya@rice.edu (Konstantin N. Kudin) Date: Mon, 04 Nov 2002 14:05:00 -0000 Subject: XFree leaking memory? Message-ID: Hi all I am using the cygwin + xfree combination for my X server. I run the program for days on a W2k laptop and put the machine on stand by every night. W2k and xfree are restarted quite infrequently (once every 2-4 weeks). I have noticed in Task Manager that XWin process slowly but surely grows in size adding about 2Mb every day. It starts from 13 Mb but over the course of few days may become as large as 150 Mb (I have seen that). I tried to update XFree to the latest version a couple of weeks ago yet it did not stop growing in size. I mostly run fvwm and 2-3 xterms. I also occasionally display xterms and other things from other machines. I am curious if the developers are aware of/working on this issue? I could provide more details if needed/technically possible. Sincerely, Konstantin From Alexander.Gottwald@s1999.tu-chemnitz.de Mon Nov 4 14:51:00 2002 From: Alexander.Gottwald@s1999.tu-chemnitz.de (Alexander Gottwald) Date: Mon, 04 Nov 2002 14:51:00 -0000 Subject: how does xwin resolve ip addresses In-Reply-To: Message-ID: > 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 new version, which queries the interface for each ip address. Can you please try it too? http://www-usercgi.tu-chemnitz.de/~goal/xfree/ls_netdev.tar.gz bye ago NP: Zeraphine - Deine Welt -- Alexander.Gottwald@informatik.tu-chemnitz.de http://www.gotti.org ICQ: 126018723 From huntharo@msu.edu Mon Nov 4 14:56:00 2002 From: huntharo@msu.edu (Harold L Hunt II) Date: Mon, 04 Nov 2002 14:56:00 -0000 Subject: XFree leaking memory? In-Reply-To: References: Message-ID: <3DC6F9D8.9030104@msu.edu> Konstantin, Are you using the ``-rootless'' command-line parameter? If so, the developer of that feature mentioned that there was a memory leak and that he was working on fixing it. If not, then we might need to look into your problem as a previously unknown problem. Harold Konstantin N. Kudin wrote: > Hi all > > I am using the cygwin + xfree combination for my X server. >I run the program for days on a W2k laptop and put the machine on stand by >every night. W2k and xfree are restarted quite infrequently (once every >2-4 weeks). > I have noticed in Task Manager that XWin process slowly but surely grows >in size adding about 2Mb every day. It starts from 13 Mb but over the >course of few days may become as large as 150 Mb (I have seen that). I >tried to update XFree to the latest version a couple of weeks ago yet it >did not stop growing in size. > I mostly run fvwm and 2-3 xterms. I also occasionally display xterms and >other things from other machines. > I am curious if the developers are aware of/working on this issue? > I could provide more details if needed/technically possible. > > Sincerely, > Konstantin > > > From elik@bhphotovideo.com Mon Nov 4 15:02:00 2002 From: elik@bhphotovideo.com (Eli Kleinman - IT Dept.) Date: Mon, 04 Nov 2002 15:02:00 -0000 Subject: using XWinClip on windows 2000 it works but not on windows nt Message-ID: <200211042302.gA4N2mk28486@bnhpop1.bhphotovideo.com> any help? this is what I run I add a line in the startxwin.exe after the line start xwin ---------------------------------------- start /B xwin -ac -noreset -screen 0 1152 864 -query "Host_ip_address" -fp tcp/host_ip_address:7100 -from my_local_ip_address & after 10 seconds I run SET DISPLAY=localhost:0.0 start /B xwinclip.exe this same commends will work perfect in windows 2000(for xwinclip), but in windows nt it will say LocalDisplay_ip_address refused and will time out after five attempt's any help is appreciated =============================== Eli Kleinman B&H Photo - Video Pro Audio 420 9th Ave. New York, NY 10001 Tel: (212) 239-7500 Ext. 2154 Fax: (212) 239-7770 Email: elik@bhphotovideo.com =============================== From huntharo@msu.edu Mon Nov 4 15:22:00 2002 From: huntharo@msu.edu (Harold L Hunt II) Date: Mon, 04 Nov 2002 15:22:00 -0000 Subject: using XWinClip on windows 2000 it works but not on windows nt In-Reply-To: <200211042302.gA4N2mk28486@bnhpop1.bhphotovideo.com> References: <200211042302.gA4N2mk28486@bnhpop1.bhphotovideo.com> Message-ID: <3DC6FC6A.50002@msu.edu> Eli, Try 127.0.0.1 instead of localhost. Harold Eli Kleinman - IT Dept. wrote: >any help? > >this is what I run > >I add a line in the startxwin.exe >after the line start xwin >---------------------------------------- >start /B xwin -ac -noreset -screen 0 1152 864 -query "Host_ip_address" -fp >tcp/host_ip_address:7100 -from my_local_ip_address & > >after 10 seconds I run > >SET DISPLAY=localhost:0.0 >start /B xwinclip.exe > >this same commends will work perfect in windows 2000(for xwinclip), but in >windows nt it will say LocalDisplay_ip_address refused and will time out after >five attempt's > >any help is appreciated > >=============================== >Eli Kleinman >B&H Photo - Video Pro Audio >420 9th Ave. >New York, NY 10001 >Tel: (212) 239-7500 Ext. 2154 >Fax: (212) 239-7770 >Email: elik@bhphotovideo.com >=============================== > > > From andreas@schessner.de Mon Nov 4 17:05:00 2002 From: andreas@schessner.de (Andreas Schessner) Date: Mon, 04 Nov 2002 17:05:00 -0000 Subject: AltGR problems with Windows XP Message-ID: <3DC7011A.3060403@schessner.de> Hi Harold, the FSM is doing something like a "lookahead". This "lookahead" is only done when the first "Control_L press" is detected. Normally the FSM stays in the initial state "0" and passes all input through. So there is no real transformation. But if the FSM detects a "Control_L press" it keeps this symbol (no output) and memorizes this event in the state "1" If the following input symbol is anything else but a "AltGr press", the memorized Control_L will be prepended to the actual input symbol. The output would be "Control_L press", " press" or "Control_L press", " release" The state would return to the initial state "0" (or stay in state "1" if the following symbol was another Control_L) Remark: The output of a "Control_L press" is delayed. This seems to be the only weakness (IMHO) of the algorithm. But it's not so bad as it's looking at the first sight. Normally a "Control_L press" key is mostly followed by another key press, which will end the delay. In worst case another "Control_L press" caused by the automatic repeat capability of your keyboard will end the delay. So the maximum delay for a "Control_L press" (for example if your are just holding down your left Control key) is the typmatic delay. In all other cases (a "Control_L press" followed by any other key press or release) the following key breaks the delay. The best way to prove the behaviour of the algorithm is to open the "xev" and look at the received events. Now, if we are in state "1", corresponding to a memorized "Control_L press" and the following input symbol is an "AltGr press" we discard the "Control_L press" by sending only the "AltGr press" to the output. The following state would be "2", memorizing that we have also to discrard the final "Control_l release" If we are in state "2", we are waiting for the final "Control_L release". Getting this input symbol, we discard the "Control_L release" and return to the initial state (0). The state transition table shows one more state (state "3") . This state is obsolete and can be reduced (leftover from my tests). I will recode the FSM later. Resulting state transition table: input \ state | 0 (start) | 1 | 2 | -------------------------------------------------------------- KeyPressed-CtrlL (PCL) | 1 - | 1 PCL | 2 PCL | KeyReleased-CtrlL (RCL) | 0 RCL | 0 PCL,RCL | 0 - | KeyPressed-AltR (PAR) | 0 PAR | 2 PAR | 2 PAR | KeyReleased-AltR (RAR) | 0 RAR | 0 PCL,RAR | 1 RAR | any other key (*) | 0 * | 0 PCL,* | 2 * | Andreas -------------- next part -------------- A non-text attachment was scrubbed... Name: FSM.jpg Type: image/jpeg Size: 20064 bytes Desc: not available URL: From rodmedina@cantv.net Mon Nov 4 17:48:00 2002 From: rodmedina@cantv.net (rodmedina@cantv.net) Date: Mon, 04 Nov 2002 17:48:00 -0000 Subject: Inconvinient colormap Message-ID: <227070-220021125157503@cantv.net> Hi Harold, Here is what I get when running rxvt inside XWindow: rmedina@LIMON /Cartas >rxvt & [1] 1007841 rmedina@LIMON /Cartas >rxvt: can't load color "Red3" rxvt: can't load color "Red3" rxvt: can't load color "Green3" rxvt: can't load color "Green3" rxvt: can't load color "Yellow3" rxvt: can't load color "Yellow3" rxvt: can't load color "Blue3" rxvt: can't load color "Blue3" rxvt: can't load color "Magenta3" rxvt: can't load color "Magenta3" rxvt: can't load color "Cyan3" rxvt: can't load color "Cyan3" rxvt: can't load color "AntiqueWhite" rxvt: can't load color "AntiqueWhite" rxvt: can't load color "Grey25" rxvt: can't load color "Grey25" rxvt: can't load color "#B2B2B2" rxvt: can't load color "#B2B2B2" rxvt: can't allocate Color_bottomShadow ------------------------------------------ Here follows /tmp/Xwin.log ------------------------------------------- OsVendorInit - Creating bogus screen 0 winInitializeDefaultScreens - w 1024 h 768 winInitializeDefaultScreens - Returning _XSERVTransmkdir: Owner of /tmp/.X11-unix should be set to root (EE) Unable to locate/open config file InitOutput - Error reading config file winDetectSupportedEngines - Windows 95/98/Me winDetectSupportedEngines - DirectDraw installed winDetectSupportedEngines - DirectDraw4 installed winDetectSupportedEngines - Returning, supported engines 00000017 InitOutput - g_iNumScreens: 1 iMaxConsecutiveScreen: 1 winSetEngine - Windowed && PseudoColor => ShadowGDI winAdjustVideoModeShadowGDI - Using Windows display depth of 8 bits per pixel winCreateBoundingWindowWindowed - Initial w: 1024 h: 768 winAdjustForAutoHide - Original WorkArea: 0 0 768 1024 winAdjustForAutoHide - Taskbar is auto hide winAdjustForAutoHide - Found BOTTOM auto-hide taskbar winAdjustForAutoHide - Adjusted WorkArea: 0 0 767 1024 winCreateBoundingWindowWindowed - WindowClient w 1018 h 737 r 1018 l 0 b 737 t 0 winCreateBoundingWindowWindowed - Returning winFinishScreenInitFB - Masks: 00000000 00000000 00000000 winInitVisualsShadowGDI - Masks 00000000 00000000 00000000 BPRGB 8 d 8 bpp 8 winScreenInit - returning (EE) No primary keyboard configured (==) Using compiletime defaults for keyboard Rules = "xfree86" Model = "pc101" Layout = "us" Variant = "(null)" Options = "(null)" _XSERVTransSocketUNIXAccept: accept() failed _XSERVTransSocketUNIXAccept: accept() failed _XSERVTransSocketUNIXAccept: accept() failed ------------------------------------------------- bye From kostya@rice.edu Mon Nov 4 23:43:00 2002 From: kostya@rice.edu (Konstantin N. Kudin) Date: Mon, 04 Nov 2002 23:43:00 -0000 Subject: XFree leaking memory? In-Reply-To: <3DC6F9D8.9030104@msu.edu> Message-ID: Harold I do not think I am using "-rootless" since I am running the standard *.bat file supplied with XFree and have a separate workspace for X. So this leak appears to be a separate issue. Is there a way to generate memory usage statistics for X? Konstantin On Mon, 4 Nov 2002, it was written: > Konstantin, > > Are you using the ``-rootless'' command-line parameter? If so, the > developer of that feature mentioned that there was a memory leak and > that he was working on fixing it. If not, then we might need to look > into your problem as a previously unknown problem. > > Harold > > Konstantin N. Kudin wrote: > > > Hi all > > > > I am using the cygwin + xfree combination for my X server. > >I run the program for days on a W2k laptop and put the machine on stand by > >every night. W2k and xfree are restarted quite infrequently (once every > >2-4 weeks). > > I have noticed in Task Manager that XWin process slowly but surely grows > >in size adding about 2Mb every day. It starts from 13 Mb but over the > >course of few days may become as large as 150 Mb (I have seen that). I > >tried to update XFree to the latest version a couple of weeks ago yet it > >did not stop growing in size. > > I mostly run fvwm and 2-3 xterms. I also occasionally display xterms and > >other things from other machines. > > I am curious if the developers are aware of/working on this issue? > > I could provide more details if needed/technically possible. > > > > Sincerely, > > Konstantin > > > From jozsefke@freemail.hu Mon Nov 4 23:47:00 2002 From: jozsefke@freemail.hu (Kercso Jozsef) Date: Mon, 04 Nov 2002 23:47:00 -0000 Subject: Strange xhost behavior- Please help!! Message-ID: <3DC7765D.4050301@freemail.hu> Hi! You have right, I've made a mistake in the presentation of the problem: the "export DISPLAY=127.0.0.1:0.0" at the second host must be: "export DISPLAY=:0.0" However only the presentation was bad, the problem is the same. I can ping the first machine from the second. Best Regards Jozsef Kercso >Jozsef, >You example makes no sense at all. The problem is that 127.0.0.1 > is a fake address that is only used for connections that loop back > to the local machine that you are on. You cannot connect across the > network to the machine with address 127.0.0.1 because *every* machine > on the network has the idea that it is machine 127.0.0.1. You need to use the > real IP address of that machine that you want to connect to, and make sure > that you can actually ping it before trying this again. > Harold From jozsefke@freemail.hu Tue Nov 5 00:39:00 2002 From: jozsefke@freemail.hu (Kercso Jozsef) Date: Tue, 05 Nov 2002 00:39:00 -0000 Subject: Strange xhost behavior- Please help!! Message-ID: <3DC777AB.2060002@freemail.hu> Hi! > Dawson, David W was recently quoted as saying... > > > > When the X-server detects that the last client connection terminates, the > > server does a full reset. > > > > xhost is NOT a persistent connection. > > As soon as the xhost program completes it's job (telling the X-Server host > > to change the permissions), the xhost program closes it's connection with > > the X-server. Since (in your case) it is the ONLY connection at that time, > > the X-server resets and promptly eradicates the xhost setting. > > > > You need to open a persistent connection first: an xterm, a window manager, > > xclock, something.... > ... or run XWin.exe with the -noreset option. Yes, that was the problem, thanks. Best regards, Jozsef Kercso From c_twiner@hotmail.com Tue Nov 5 01:04:00 2002 From: c_twiner@hotmail.com (Chris Twiner) Date: Tue, 05 Nov 2002 01:04:00 -0000 Subject: how does xwin resolve ip addresses Message-ID: > > 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 new version, which queries the interface for each ip address. >Can you please try it too? >http://www-usercgi.tu-chemnitz.de/~goal/xfree/ls_netdev.tar.gz > Hi Ago, I'll try it later today (it's at home, I'm at work :). Chris _________________________________________________________________ Get faster connections??-- switch to??MSN Internet Access! http://resourcecenter.msn.com/access/plans/default.asp From mario.ohnewald@gmx.de Tue Nov 5 02:05:00 2002 From: mario.ohnewald@gmx.de (Mario Ohnewald) Date: Tue, 05 Nov 2002 02:05:00 -0000 Subject: Own XWin start batch file Message-ID: <003b01c284aa$66fc6940$350aa8c0@aradex.local> Hello! I would like to know if it is possible to start XWin.exe with these parameters from a batch file: XWin -ac -screen 0 1024 768 -nowinkill -unixkill -query 192.168.10.6 -from 192.168.10.53 I want just to click on my batch file and my Remote Desktop should come up. I dont want to use --rcfile. Cheers, Mario From alexander.gottwald@s1999.tu-chemnitz.de Tue Nov 5 02:16:00 2002 From: alexander.gottwald@s1999.tu-chemnitz.de (Alexander Gottwald) Date: Tue, 05 Nov 2002 02:16:00 -0000 Subject: Own XWin start batch file In-Reply-To: <003b01c284aa$66fc6940$350aa8c0@aradex.local> Message-ID: On Tue, 5 Nov 2002, Mario Ohnewald wrote: > Hello! > I would like to know if it is possible to start XWin.exe with these > parameters from a batch file: > XWin -ac -screen 0 1024 768 -nowinkill -unixkill -query 192.168.10.6 -from > 192.168.10.53 you can even put that into a shortcut. BTW: Please note that the parameter -ac should _NEVER_ be used in any network which is used by other persons too. bye ago -- Alexander.Gottwald@informatik.tu-chemnitz.de http://www.gotti.org ICQ: 126018723 From mario.ohnewald@gmx.de Tue Nov 5 02:21:00 2002 From: mario.ohnewald@gmx.de (Mario Ohnewald) Date: Tue, 05 Nov 2002 02:21:00 -0000 Subject: Own XWin start batch file In-Reply-To: Message-ID: <004101c284b4$76998ef0$350aa8c0@aradex.local> Hi, > -----Original Message----- > From: cygwin-xfree-owner@cygwin.com > [mailto:cygwin-xfree-owner@cygwin.com]On Behalf Of Alexander Gottwald > > > On Tue, 5 Nov 2002, Mario Ohnewald wrote: > > > Hello! > > I would like to know if it is possible to start XWin.exe with these > > parameters from a batch file: > > XWin -ac -screen 0 1024 768 -nowinkill -unixkill -query > 192.168.10.6 -from > > 192.168.10.53 > > you can even put that into a shortcut. > BTW: Please note that the parameter -ac should _NEVER_ be > used in any network > which is used by other persons too. Why? What does ac do? (Sorry, man XWin and XWin --help couldnt help me) > > bye > ago From rasjidw@openminddev.net Tue Nov 5 02:31:00 2002 From: rasjidw@openminddev.net (Rasjid Wilcox) Date: Tue, 05 Nov 2002 02:31:00 -0000 Subject: Own XWin start batch file In-Reply-To: <004101c284b4$76998ef0$350aa8c0@aradex.local> References: <004101c284b4$76998ef0$350aa8c0@aradex.local> Message-ID: <200211052121.16620.rasjidw@openminddev.net> On Tue, 5 Nov 2002 9:16 pm, Mario Ohnewald wrote: > > Why? What does ac do? (Sorry, man XWin and XWin --help couldnt help me) > >From the linux 'man Xserver' page: -ac disables host-based access control mechanisms. Enables access by any host, and permits any host to modify the access control list. Use with extreme caution. This option exists primarily for running test suites remotely. --- Rasjid. From mario.ohnewald@gmx.de Tue Nov 5 02:33:00 2002 From: mario.ohnewald@gmx.de (Mario Ohnewald) Date: Tue, 05 Nov 2002 02:33:00 -0000 Subject: Own XWin start batch file In-Reply-To: <200211052121.16620.rasjidw@openminddev.net> Message-ID: <004301c284b6$95e56bb0$350aa8c0@aradex.local> muchas gracias! ;) > -----Original Message----- > From: cygwin-xfree-owner@cygwin.com > [mailto:cygwin-xfree-owner@cygwin.com]On Behalf Of Rasjid Wilcox > Sent: Dienstag, 5. November 2002 11:21 > To: cygwin-xfree@cygwin.com; Mario Ohnewald > Subject: Re: Own XWin start batch file > > > On Tue, 5 Nov 2002 9:16 pm, Mario Ohnewald wrote: > > > > Why? What does ac do? (Sorry, man XWin and XWin --help > couldnt help me) > > > > From the linux 'man Xserver' page: > > -ac disables host-based access control > mechanisms. Enables access > by any host, and permits any host to modify > the access control > list. Use with extreme caution. This option > exists primarily for running test suites remotely. > > --- > > Rasjid. > From suresh.rajpurohit@wipro.com Tue Nov 5 02:58:00 2002 From: suresh.rajpurohit@wipro.com (Suresh Rajpurohit) Date: Tue, 05 Nov 2002 02:58:00 -0000 Subject: Unsubscribe from mailing list Message-ID: <51E40E63D8A6314D8E4A411EF110AC283DD998@blr-m2-msg.wipro.com> Hi How to unsubscribe from this mailing list.. -------------- next part -------------- An embedded and charset-unspecified text was scrubbed... Name: Wipro_Disclaimer.txt URL: From rasjidw@openminddev.net Tue Nov 5 03:03:00 2002 From: rasjidw@openminddev.net (Rasjid Wilcox) Date: Tue, 05 Nov 2002 03:03:00 -0000 Subject: Unsubscribe from mailing list In-Reply-To: <51E40E63D8A6314D8E4A411EF110AC283DD998@blr-m2-msg.wipro.com> References: <51E40E63D8A6314D8E4A411EF110AC283DD998@blr-m2-msg.wipro.com> Message-ID: <200211052158.38780.rasjidw@openminddev.net> On Tue, 5 Nov 2002 9:33 pm, Suresh Rajpurohit wrote: > Hi > How to unsubscribe from this mailing list.. >From http://cygwin.com/lists.html You can subscribe to or unsubscribe from any of the above lists by sending email to themailinglistname-subscribe@cygwin.com or themailinglistname-unsubscribe@cygwin.com respectively. ---------- So try mailing: cygwin-xfree-unsubscribe@cygwin.com The only problem might be if you are subscribed under a different address to the one you currently use. In which case look at the headers of the email. All mail clients should have this ability somewhere. Rasjid. From suresh.rajpurohit@wipro.com Tue Nov 5 03:25:00 2002 From: suresh.rajpurohit@wipro.com (Suresh Rajpurohit) Date: Tue, 05 Nov 2002 03:25:00 -0000 Subject: Unsubscribe from mailing list Message-ID: <51E40E63D8A6314D8E4A411EF110AC283DD9A7@blr-m2-msg.wipro.com> thanks -----Original Message----- From: Rasjid Wilcox [mailto:rasjidw@openminddev.net] Sent: Tuesday, November 05, 2002 4:29 PM To: cygwin-xfree@cygwin.com; Suresh Rajpurohit Subject: Re: Unsubscribe from mailing list On Tue, 5 Nov 2002 9:33 pm, Suresh Rajpurohit wrote: > Hi > How to unsubscribe from this mailing list.. >From http://cygwin.com/lists.html You can subscribe to or unsubscribe from any of the above lists by sending email to themailinglistname-subscribe@cygwin.com or themailinglistname-unsubscribe@cygwin.com respectively. ---------- So try mailing: cygwin-xfree-unsubscribe@cygwin.com The only problem might be if you are subscribed under a different address to the one you currently use. In which case look at the headers of the email. All mail clients should have this ability somewhere. Rasjid. -------------- next part -------------- An embedded and charset-unspecified text was scrubbed... Name: Wipro_Disclaimer.txt URL: From alexander.gottwald@s1999.tu-chemnitz.de Tue Nov 5 03:42:00 2002 From: alexander.gottwald@s1999.tu-chemnitz.de (Alexander Gottwald) Date: Tue, 05 Nov 2002 03:42:00 -0000 Subject: Own XWin start batch file In-Reply-To: <004101c284b4$76998ef0$350aa8c0@aradex.local> Message-ID: On Tue, 5 Nov 2002, Mario Ohnewald wrote: > Why? What does ac do? (Sorry, man XWin and XWin --help couldnt help me) -ac switches the access control off. This is equivalent to xhost + and will allow _anybody_ to connect to the XServer. One could easily grab all keypresses and window contents. Or present fake password dialogs. bye ago -- Alexander.Gottwald@informatik.tu-chemnitz.de http://www.gotti.org ICQ: 126018723 From clyons@crosspaths.net Tue Nov 5 03:43:00 2002 From: clyons@crosspaths.net (Christopher M. Lyons) Date: Tue, 05 Nov 2002 03:43:00 -0000 Subject: rootless window management? Message-ID: <004401c284c0$5cc5a840$8742400c@blackmage> I was wondering where I might find information on window management for rootless XFree. I know there's been talk of doing some work and making some progress on a taskbar icon based window manager, but there a website with news about such work? From mario.ohnewald@gmx.de Tue Nov 5 03:56:00 2002 From: mario.ohnewald@gmx.de (Mario Ohnewald) Date: Tue, 05 Nov 2002 03:56:00 -0000 Subject: Spiekey proudly presents - the Cygwin tool Message-ID: <004c01c284c0$99084b00$350aa8c0@aradex.local> Hello! I have been coding in this since a little while, now its almost finished!! http://spiekey.dyndns.org/spiekey/screenshot.jpg I know that it might seem as wasted time to you, but i think it can be really nice and useful. Especially for beginners. Its written in Visual Basic and i want to put it under the GPL License as soon as i have "optimized" the source code for nomal human beeings ;P Its my first project really, and i would call myself a bloody coder newbie. But hey, that was fun! ;) Any tips, hints ideas would be great! Cheers, Spiekey From clyons@crosspaths.net Tue Nov 5 04:02:00 2002 From: clyons@crosspaths.net (Christopher M. Lyons) Date: Tue, 05 Nov 2002 04:02:00 -0000 Subject: Package Management, app and util distributions, etc. Message-ID: <004a01c284c2$6fed9c00$8742400c@blackmage> I've been looking for application and utility disttributions for Cygwin, as well as for XFree under Cygwin. It seems as though there's not a good way to find packages (or catagories of packages) for Cygwin unless you already know the name of a package you want. Sometimes, even that's spotty. I was wondering if there's any work towards a continually updated repository or mirroring of packages for Cygwin other than the packages installed by the Cygwin Setup Utility. or if there were any plans to add more packages to the Setup utility itself? There seems like there's a lot of stuff missing (configuration utilities, how-to documents, sendmail, pop3 server, no /etc/services file, lack of sample configuration files, etc). I'm not really complaining, I mean I realize that Cygwin is reletively new, but I was just wondering what some of the short and long term plans are, what is going to be implemented, 3rd party efforts towards compiling and distributing packages, etc. From clyons@crosspaths.net Tue Nov 5 05:04:00 2002 From: clyons@crosspaths.net (Christopher M. Lyons) Date: Tue, 05 Nov 2002 05:04:00 -0000 Subject: Spiekey proudly presents - the Cygwin tool References: <004c01c284c0$99084b00$350aa8c0@aradex.local> Message-ID: <005201c284c3$48f35170$8742400c@blackmage> ----- Original Message ----- From: "Mario Ohnewald" To: Sent: Tuesday, November 05, 2002 5:43 AM Subject: Spiekey proudly presents - the Cygwin tool > Hello! > I have been coding in this since a little while, now its almost finished!! > http://spiekey.dyndns.org/spiekey/screenshot.jpg Looks interesting. > I know that it might seem as wasted time to you, but i think it can be > really nice and useful. > Especially for beginners. Well, tell me, what all does it do? > Its written in Visual Basic and i want to put it under the GPL License as > soon as i have > "optimized" the source code for nomal human beeings ;P > > Its my first project really, and i would call myself a bloody coder newbie. > But hey, that was fun! ;) > Any tips, hints ideas would be great! I'm just a bloody end-user, trying to get some *nix useability without vmware or dual boot. From edi@serbski-institut.de Tue Nov 5 06:06:00 2002 From: edi@serbski-institut.de (PD Dr. Edward Wornar) Date: Tue, 05 Nov 2002 06:06:00 -0000 Subject: Inconvinient colormap In-Reply-To: <227070-220021125157503@cantv.net> References: <227070-220021125157503@cantv.net> Message-ID: <20021105.140146.74750570.edi@serbski-institut.de> I'm just wondering: I can't get links in graphics mode to work in a cygwin/xfree session (I'm using cygwin/xfree only to turn Windows PCs int X-terminals). Maybe the problems are related? Edi From: "rodmedina@cantv.net" Subject: RE: Inconvinient colormap Date: Mon, 4 Nov 2002 21:05:07 -0400 > Hi Harold, > > Here is what I get when running rxvt inside XWindow: > > rmedina@LIMON /Cartas >rxvt & > [1] 1007841 > rmedina@LIMON /Cartas >rxvt: can't load color "Red3" > rxvt: can't load color "Red3" > rxvt: can't load color "Green3" > rxvt: can't load color "Green3" > rxvt: can't load color "Yellow3" > rxvt: can't load color "Yellow3" > rxvt: can't load color "Blue3" > rxvt: can't load color "Blue3" > rxvt: can't load color "Magenta3" > rxvt: can't load color "Magenta3" > rxvt: can't load color "Cyan3" > rxvt: can't load color "Cyan3" > rxvt: can't load color "AntiqueWhite" > rxvt: can't load color "AntiqueWhite" > rxvt: can't load color "Grey25" > rxvt: can't load color "Grey25" > rxvt: can't load color "#B2B2B2" > rxvt: can't load color "#B2B2B2" > rxvt: can't allocate Color_bottomShadow > ------------------------------------------ > Here follows /tmp/Xwin.log > ------------------------------------------- > OsVendorInit - Creating bogus screen 0 > winInitializeDefaultScreens - w 1024 h 768 > winInitializeDefaultScreens - Returning > _XSERVTransmkdir: Owner of /tmp/.X11-unix should be set to root > (EE) Unable to locate/open config file > InitOutput - Error reading config file > winDetectSupportedEngines - Windows 95/98/Me > winDetectSupportedEngines - DirectDraw installed > winDetectSupportedEngines - DirectDraw4 installed > winDetectSupportedEngines - Returning, supported engines 00000017 > InitOutput - g_iNumScreens: 1 iMaxConsecutiveScreen: 1 > winSetEngine - Windowed && PseudoColor => ShadowGDI > winAdjustVideoModeShadowGDI - Using Windows display depth of 8 bits per > pixel > winCreateBoundingWindowWindowed - Initial w: 1024 h: 768 > winAdjustForAutoHide - Original WorkArea: 0 0 768 1024 > winAdjustForAutoHide - Taskbar is auto hide > winAdjustForAutoHide - Found BOTTOM auto-hide taskbar > winAdjustForAutoHide - Adjusted WorkArea: 0 0 767 1024 > winCreateBoundingWindowWindowed - WindowClient w 1018 h 737 r 1018 l 0 b > 737 t 0 > winCreateBoundingWindowWindowed - Returning > winFinishScreenInitFB - Masks: 00000000 00000000 00000000 > winInitVisualsShadowGDI - Masks 00000000 00000000 00000000 BPRGB 8 d 8 bpp 8 > winScreenInit - returning > (EE) No primary keyboard configured > (==) Using compiletime defaults for keyboard > Rules = "xfree86" Model = "pc101" Layout = "us" Variant = "(null)" Options > = "(null)" > _XSERVTransSocketUNIXAccept: accept() failed > _XSERVTransSocketUNIXAccept: accept() failed > _XSERVTransSocketUNIXAccept: accept() failed > ------------------------------------------------- > > bye > > From ayoung@erggroup.com Tue Nov 5 06:13:00 2002 From: ayoung@erggroup.com (Adam Young) Date: Tue, 05 Nov 2002 06:13:00 -0000 Subject: Xwin, XDM and Solaris Message-ID: I've been attempting over a period to use XWin (current stable) via xdm running on a Solaris 2.8 host without any success, as the xdm server always resolves the display name as "Starting display 0.0.0.0:0,XWIN". Ideas ? Thanks in advance --------------------------------------------------------- XWin host: (10.247.32.243) Xwin -query 10.247.32.5 -class XWIN Solaris host: (10.247.32.5) # /usr/openwin/bin/xdm -debug 1 DisplayManager.errorLogFile/DisplayManager.ErrorLogFile value /usr/openwin/lib/X11/xdm/xdm-errors DisplayManager.daemonMode/DisplayManager.DaemonMode value true DisplayManager.pidFile/DisplayManager.PidFile value /usr/openwin/lib/X11/xdm/xdm-pid DisplayManager.lockPidFile/DisplayManager.LockPidFile value true DisplayManager.authDir/DisplayManager.authDir value /usr/openwin/lib/X11/xdm DisplayManager.autoRescan/DisplayManager.AutoRescan value true DisplayManager.removeDomainname/DisplayManager.RemoveDomainname value true DisplayManager.keyFile/DisplayManager.KeyFile value /usr/openwin/lib/X11/xdm/xdm-keys DisplayManager.accessFile/DisplayManager.AccessFile value /usr/openwin/lib/X11/xdm/Xaccess DisplayManager.exportList/DisplayManager.ExportList value DisplayManager.randomFile/DisplayManager.RandomFile value /dev/mem DisplayManager.greeterLib/DisplayManager.GreeterLib value /usr/openwin/lib/X11/xdm/libXdmGreet.so DisplayManager.choiceTimeout/DisplayManager.ChoiceTimeout value 15 creating socket 177 Created chooser socket 5 WaitForSomething select returns 1. Rescan: 0 ChildReady: 0 ProcessRequestSocket header: 1 2 1 Query respond 1 ConvertAddr returning 0 for family 2 all_query_respond: conntype=0, addr=a, len=4 Send willing Willing to manage WaitForSomething select returns 1. Rescan: 0 ChildReady: 0 ProcessRequestSocket header: 1 7 68 Request respond 68 FindProtoDisplay NewProtoDisplay NewProtoDisplay 0x28b98 Got 0x24340 (18 MIT-MAGIC-COOKIE-1) Accept Session ID 317952001 WaitForSomething select returns 1. Rescan: 0 ChildReady: 0 ProcessRequestSocket header: 1 10 12 Manage 12 FindProtoDisplay Manage Session ID 317952001, pdpy 0x28b98 Computed display name: 0.0.0.0:0 <==== why ???? ConvertAddr returning 0 for family 2 Starting display 0.0.0.0:0,XWIN StartDisplay 0.0.0.0:0 ---------------------------- ERG Group -------------------------- The contents of this email and any attachments are confidential and may only be read by the intended recipient. ----------------------------------------------------------------- From Brian.Dunbar@plexus.com Tue Nov 5 06:20:00 2002 From: Brian.Dunbar@plexus.com (Brian Dunbar) Date: Tue, 05 Nov 2002 06:20:00 -0000 Subject: Xwin, XDM and Solaris Message-ID: <93EF56FF0BD1234E8D1C74B9813E0EA00197A73E@neen-mail-003.na.plexus.com> Try it with this format. It's a feature of Solaris .... xwin.exe -query hostname -fp tcp/hostname:7100 ~brian -----Original Message----- From: Adam Young [mailto:ayoung@erggroup.com] Sent: Tuesday, November 05, 2002 7:59 AM To: cygwin-xfree@cygwin.com Subject: Xwin, XDM and Solaris I've been attempting over a period to use XWin (current stable) via xdm running on a Solaris 2.8 host without any success, as the xdm server always resolves the display name as "Starting display 0.0.0.0:0,XWIN". Ideas ? Thanks in advance --------------------------------------------------------- XWin host: (10.247.32.243) Xwin -query 10.247.32.5 -class XWIN Solaris host: (10.247.32.5) # /usr/openwin/bin/xdm -debug 1 DisplayManager.errorLogFile/DisplayManager.ErrorLogFile value /usr/openwin/lib/X11/xdm/xdm-errors DisplayManager.daemonMode/DisplayManager.DaemonMode value true DisplayManager.pidFile/DisplayManager.PidFile value /usr/openwin/lib/X11/xdm/xdm-pid DisplayManager.lockPidFile/DisplayManager.LockPidFile value true DisplayManager.authDir/DisplayManager.authDir value /usr/openwin/lib/X11/xdm DisplayManager.autoRescan/DisplayManager.AutoRescan value true DisplayManager.removeDomainname/DisplayManager.RemoveDomainname value true DisplayManager.keyFile/DisplayManager.KeyFile value /usr/openwin/lib/X11/xdm/xdm-keys DisplayManager.accessFile/DisplayManager.AccessFile value /usr/openwin/lib/X11/xdm/Xaccess DisplayManager.exportList/DisplayManager.ExportList value DisplayManager.randomFile/DisplayManager.RandomFile value /dev/mem DisplayManager.greeterLib/DisplayManager.GreeterLib value /usr/openwin/lib/X11/xdm/libXdmGreet.so DisplayManager.choiceTimeout/DisplayManager.ChoiceTimeout value 15 creating socket 177 Created chooser socket 5 WaitForSomething select returns 1. Rescan: 0 ChildReady: 0 ProcessRequestSocket header: 1 2 1 Query respond 1 ConvertAddr returning 0 for family 2 all_query_respond: conntype=0, addr=a, len=4 Send willing Willing to manage WaitForSomething select returns 1. Rescan: 0 ChildReady: 0 ProcessRequestSocket header: 1 7 68 Request respond 68 FindProtoDisplay NewProtoDisplay NewProtoDisplay 0x28b98 Got 0x24340 (18 MIT-MAGIC-COOKIE-1) Accept Session ID 317952001 WaitForSomething select returns 1. Rescan: 0 ChildReady: 0 ProcessRequestSocket header: 1 10 12 Manage 12 FindProtoDisplay Manage Session ID 317952001, pdpy 0x28b98 Computed display name: 0.0.0.0:0 <==== why ???? ConvertAddr returning 0 for family 2 Starting display 0.0.0.0:0,XWIN StartDisplay 0.0.0.0:0 ---------------------------- ERG Group -------------------------- The contents of this email and any attachments are confidential and may only be read by the intended recipient. ----------------------------------------------------------------- From elik@bhphotovideo.com Tue Nov 5 07:24:00 2002 From: elik@bhphotovideo.com (Eli Kleinman - IT Dept.) Date: Tue, 05 Nov 2002 07:24:00 -0000 Subject: Xwin, XDM and Solaris Message-ID: <200211051427.gA5ERGk10076@bnhpop1.bhphotovideo.com> try using this set DISPLAY=127.0.0.1 start /B xwin -ac -noreset -screen 0 1152 864 -query "Host_ip_address" -fp tcp/host_ip_address:7100 -from my_local_ip_address & also make sure on the solaris box in /etc/inetd.conf that you have not comment out the line (this is for your fonts) fs stream tcp wait nobody /usr/openwin/lib/fs.auto fs hope this helps Eli >Mailing-List: contact cygwin-xfree-help@cygwin.com; run by ezmlm >List-Unsubscribe: >List-Subscribe: >List-Archive: >List-Post: >List-Help: , >Mail-Followup-To: cygwin-xfree@cygwin.com >Delivered-To: mailing list cygwin-xfree@cygwin.com >Subject: Xwin, XDM and Solaris >To: cygwin-xfree@cygwin.com >From: "Adam Young" >Date: Tue, 5 Nov 2002 13:58:39 +0000 >MIME-Version: 1.0 > > >I've been attempting over a period to use XWin (current stable) via xdm >running on a Solaris 2.8 host without any success, as the >xdm server always resolves the display name as "Starting display >0.0.0.0:0,XWIN". Ideas ? > >Thanks in advance > >--------------------------------------------------------- >XWin host: (10.247.32.243) > Xwin -query 10.247.32.5 -class XWIN > >Solaris host: (10.247.32.5) > # /usr/openwin/bin/xdm -debug 1 > DisplayManager.errorLogFile/DisplayManager.ErrorLogFile value >/usr/openwin/lib/X11/xdm/xdm-errors > DisplayManager.daemonMode/DisplayManager.DaemonMode value true > DisplayManager.pidFile/DisplayManager.PidFile value >/usr/openwin/lib/X11/xdm/xdm-pid > DisplayManager.lockPidFile/DisplayManager.LockPidFile value true > DisplayManager.authDir/DisplayManager.authDir value >/usr/openwin/lib/X11/xdm > DisplayManager.autoRescan/DisplayManager.AutoRescan value true > DisplayManager.removeDomainname/DisplayManager.RemoveDomainname value >true > DisplayManager.keyFile/DisplayManager.KeyFile value >/usr/openwin/lib/X11/xdm/xdm-keys > DisplayManager.accessFile/DisplayManager.AccessFile value >/usr/openwin/lib/X11/xdm/Xaccess > DisplayManager.exportList/DisplayManager.ExportList value > DisplayManager.randomFile/DisplayManager.RandomFile value /dev/mem > DisplayManager.greeterLib/DisplayManager.GreeterLib value >/usr/openwin/lib/X11/xdm/libXdmGreet.so > DisplayManager.choiceTimeout/DisplayManager.ChoiceTimeout value 15 > creating socket 177 > Created chooser socket 5 > WaitForSomething > select returns 1. Rescan: 0 ChildReady: 0 > ProcessRequestSocket > header: 1 2 1 > Query respond 1 > ConvertAddr returning 0 for family 2 > all_query_respond: conntype=0, addr=a, len=4 > Send willing Willing to manage > WaitForSomething > select returns 1. Rescan: 0 ChildReady: 0 > ProcessRequestSocket > header: 1 7 68 > Request respond 68 > FindProtoDisplay > NewProtoDisplay > NewProtoDisplay 0x28b98 > Got 0x24340 (18 MIT-MAGIC-COOKIE-1) > Accept Session ID 317952001 > WaitForSomething > select returns 1. Rescan: 0 ChildReady: 0 > ProcessRequestSocket > header: 1 10 12 > Manage 12 > FindProtoDisplay > Manage Session ID 317952001, pdpy 0x28b98 > Computed display name: 0.0.0.0:0 <==== why ???? > ConvertAddr returning 0 for family 2 > Starting display 0.0.0.0:0,XWIN > StartDisplay 0.0.0.0:0 > >---------------------------- ERG Group -------------------------- > The contents of this email and any attachments are confidential > and may only be read by the intended recipient. >----------------------------------------------------------------- =============================== Eli Kleinman B&H Photo - Video Pro Audio 420 9th Ave. New York, NY 10001 Tel: (212) 239-7500 Ext. 2154 Fax: (212) 239-7770 Email: elik@bhphotovideo.com =============================== From rrschulz@cris.com Tue Nov 5 07:27:00 2002 From: rrschulz@cris.com (Randall R Schulz) Date: Tue, 05 Nov 2002 07:27:00 -0000 Subject: Package Management, app and util distributions, etc. Message-ID: <5.1.0.14.2.20021105072315.01fea200@pop3.cris.com> Christopher, [ There's really no need to cross-post this. Even though you mention looking for XFree86/Cygwin, the questions are all about how Cygwin is packaged and made available. ] At 03:56 2002-11-05, you wrote: >I've been looking for application and utility disttributions for Cygwin, as >well as for XFree under Cygwin. It seems as though there's not a good way >to find packages (or catagories of packages) for Cygwin unless you already >know the name of a package you want. Sometimes, even that's spotty. Perhaps you're unaware of the package list and search page at the Cygwin site: ? You can enter the name of a file or a regular expression pattern and you will be told which packages, if any, contain that file. That's usually enough to locate the package you're interested in. >I was wondering if there's any work towards a continually updated repository >or mirroring of packages for Cygwin other than the packages installed by the >Cygwin Setup Utility. or if there were any plans to add more packages to the >Setup utility itself? There seems like there's a lot of stuff missing >(configuration utilities, how-to documents, sendmail, pop3 server, no >/etc/services file, lack of sample configuration files, etc). Of course, new packages are being added to Cygwin on an ongoing, though irregular basis. I think you need to look harder. Much of what you say you're looking for is indeed available. If you have the right combination of available disk space, network connectivity bandwidth and patience, you could just download and install everything and then explore. >I'm not really complaining, I mean I realize that Cygwin is reletively new, >but I was just wondering what some of the short and long term plans are, >what is going to be implemented, 3rd party efforts towards compiling and >distributing packages, etc. New to you, perhaps. In the time scales of the world of information technology, I'd say something that's been around for over 5 years to be some place beyond youth--middle age, perhaps? Certainly Cygwin is not "new" and is certainly mature. Randall Schulz Mountain View, CA USA Randy From Alexander.Gottwald@s1999.tu-chemnitz.de Tue Nov 5 07:30:00 2002 From: Alexander.Gottwald@s1999.tu-chemnitz.de (Alexander Gottwald) Date: Tue, 05 Nov 2002 07:30:00 -0000 Subject: Xwin, XDM and Solaris In-Reply-To: Message-ID: Adam Young wrote: > > I've been attempting over a period to use XWin (current stable) via xdm > running on a Solaris 2.8 host without any success, as the > xdm server always resolves the display name as "Starting display > 0.0.0.0:0,XWIN". Ideas ? > --------------------------------------------------------- > XWin host: (10.247.32.243) > Xwin -query 10.247.32.5 -class XWIN please try Xwin -query 10.247.32.5 -class XWIN -from 10.247.32.243 bye ago -- Alexander.Gottwald@informatik.tu-chemnitz.de http://www.gotti.org ICQ: 126018723 From rrschulz@cris.com Tue Nov 5 08:13:00 2002 From: rrschulz@cris.com (Randall R Schulz) Date: Tue, 05 Nov 2002 08:13:00 -0000 Subject: rootless window management? In-Reply-To: <004401c284c0$5cc5a840$8742400c@blackmage> Message-ID: <5.1.0.14.2.20021105072551.028f6eb0@pop3.cris.com> Christopher, We encourage people to search the mailing list archives before asking questions. Please consult thoroughly. Rootless operation is a recent topic and the information is readily available in the list archive. But if you just want to jump in, the option to XWin is "-rootless". Good luck. Randall Schulz Mountain View, CA USA At 03:42 2002-11-05, Christopher M. Lyons wrote: >I was wondering where I might find information on window management for >rootless XFree. I know there's been talk of doing some work and making some >progress on a taskbar icon based window manager, but there a website with >news about such work? From huntharo@pilot.msu.edu Tue Nov 5 08:18:00 2002 From: huntharo@pilot.msu.edu (Harold L Hunt II) Date: Tue, 05 Nov 2002 08:18:00 -0000 Subject: Spiekey proudly presents - the Cygwin tool In-Reply-To: <004c01c284c0$99084b00$350aa8c0@aradex.local> Message-ID: Okay, but the only ``official'' version of something like this will have to be written in C, C++, or some other language that has a free compiler on Cygwin so that other people can contribute without paying for a specific commercial development tool. Harold -----Original Message----- From: cygwin-xfree-owner@cygwin.com [mailto:cygwin-xfree-owner@cygwin.com]On Behalf Of Mario Ohnewald Sent: Tuesday, November 05, 2002 6:44 AM To: cygwin-xfree@cygwin.com Subject: Spiekey proudly presents - the Cygwin tool Hello! I have been coding in this since a little while, now its almost finished!! http://spiekey.dyndns.org/spiekey/screenshot.jpg I know that it might seem as wasted time to you, but i think it can be really nice and useful. Especially for beginners. Its written in Visual Basic and i want to put it under the GPL License as soon as i have "optimized" the source code for nomal human beeings ;P Its my first project really, and i would call myself a bloody coder newbie. But hey, that was fun! ;) Any tips, hints ideas would be great! Cheers, Spiekey From huntharo@pilot.msu.edu Tue Nov 5 08:35:00 2002 From: huntharo@pilot.msu.edu (Harold L Hunt II) Date: Tue, 05 Nov 2002 08:35:00 -0000 Subject: XFree leaking memory? In-Reply-To: Message-ID: Konstantin, Interesting. So, this appears to be a new memory leak that has nothing to do with rootless mode. At this point I think we will need suggestions from others as to how we can find the source of this memory leak. There are not too many calls in the Windows-specific portion of XWin.exe that could result in continual memory leaks like this. However, I hope that the bug is in the Windows-specific portion of XWin.exe and not in either the rest of the XWin.exe code or in cygwin1.dll. Finding a memory leak in either of those would be tedious. Anybody got any suggestions? Harold -----Original Message----- From: cygwin-xfree-owner@cygwin.com [mailto:cygwin-xfree-owner@cygwin.com]On Behalf Of Konstantin N. Kudin Sent: Monday, November 04, 2002 8:49 PM To: cygwin-xfree@cygwin.com Subject: Re: XFree leaking memory? Harold I do not think I am using "-rootless" since I am running the standard *.bat file supplied with XFree and have a separate workspace for X. So this leak appears to be a separate issue. Is there a way to generate memory usage statistics for X? Konstantin On Mon, 4 Nov 2002, it was written: > Konstantin, > > Are you using the ``-rootless'' command-line parameter? If so, the > developer of that feature mentioned that there was a memory leak and > that he was working on fixing it. If not, then we might need to look > into your problem as a previously unknown problem. > > Harold > > Konstantin N. Kudin wrote: > > > Hi all > > > > I am using the cygwin + xfree combination for my X server. > >I run the program for days on a W2k laptop and put the machine on stand by > >every night. W2k and xfree are restarted quite infrequently (once every > >2-4 weeks). > > I have noticed in Task Manager that XWin process slowly but surely grows > >in size adding about 2Mb every day. It starts from 13 Mb but over the > >course of few days may become as large as 150 Mb (I have seen that). I > >tried to update XFree to the latest version a couple of weeks ago yet it > >did not stop growing in size. > > I mostly run fvwm and 2-3 xterms. I also occasionally display xterms and > >other things from other machines. > > I am curious if the developers are aware of/working on this issue? > > I could provide more details if needed/technically possible. > > > > Sincerely, > > Konstantin > > > From jc.gervais@videotron.ca Tue Nov 5 08:59:00 2002 From: jc.gervais@videotron.ca (Jean-Claude Gervais) Date: Tue, 05 Nov 2002 08:59:00 -0000 Subject: XFree leaking memory? In-Reply-To: Message-ID: <00d501c284e9$294a0b40$6501a8c0@sprymusic.com> BoundsChecker. I use it all the time to find memory leaks. I wonder if you can use it on something compiled with GCC... It should be able to see bad parameters and leaks resulting from calls to the Win32 API, but I wonder if that would be the extent of what it can trap. In other words, it might not be able to follow NEW or MALLOC, because the object format might be too different. Tell you what, unless someone has actually tried BoundsChecker on GCC code and has a capsule about how well it works, I'll give it a shot and post back results. PS - I should say that I am NOT affiliated with the makers of BoundsChecker in any way, and on the whole, I find BoundsChecker pretty buggy itself and not very reliable that it won't crash during a run, so don't bother pointing that out. ;-) -----Original Message----- From: cygwin-xfree-owner@cygwin.com [mailto:cygwin-xfree-owner@cygwin.com]On Behalf Of Harold L Hunt II Sent: Tuesday, November 05, 2002 11:18 AM To: cygwin-xfree@cygwin.com Subject: RE: XFree leaking memory? Konstantin, Interesting. So, this appears to be a new memory leak that has nothing to do with rootless mode. At this point I think we will need suggestions from others as to how we can find the source of this memory leak. There are not too many calls in the Windows-specific portion of XWin.exe that could result in continual memory leaks like this. However, I hope that the bug is in the Windows-specific portion of XWin.exe and not in either the rest of the XWin.exe code or in cygwin1.dll. Finding a memory leak in either of those would be tedious. Anybody got any suggestions? Harold -----Original Message----- From: cygwin-xfree-owner@cygwin.com [mailto:cygwin-xfree-owner@cygwin.com]On Behalf Of Konstantin N. Kudin Sent: Monday, November 04, 2002 8:49 PM To: cygwin-xfree@cygwin.com Subject: Re: XFree leaking memory? Harold I do not think I am using "-rootless" since I am running the standard *.bat file supplied with XFree and have a separate workspace for X. So this leak appears to be a separate issue. Is there a way to generate memory usage statistics for X? Konstantin On Mon, 4 Nov 2002, it was written: > Konstantin, > > Are you using the ``-rootless'' command-line parameter? If so, the > developer of that feature mentioned that there was a memory leak and > that he was working on fixing it. If not, then we might need to look > into your problem as a previously unknown problem. > > Harold > > Konstantin N. Kudin wrote: > > > Hi all > > > > I am using the cygwin + xfree combination for my X server. > >I run the program for days on a W2k laptop and put the machine on stand by > >every night. W2k and xfree are restarted quite infrequently (once every > >2-4 weeks). > > I have noticed in Task Manager that XWin process slowly but surely grows > >in size adding about 2Mb every day. It starts from 13 Mb but over the > >course of few days may become as large as 150 Mb (I have seen that). I > >tried to update XFree to the latest version a couple of weeks ago yet it > >did not stop growing in size. > > I mostly run fvwm and 2-3 xterms. I also occasionally display xterms and > >other things from other machines. > > I am curious if the developers are aware of/working on this issue? > > I could provide more details if needed/technically possible. > > > > Sincerely, > > Konstantin > > > From kostya@rice.edu Tue Nov 5 11:30:00 2002 From: kostya@rice.edu (Konstantin N. Kudin) Date: Tue, 05 Nov 2002 11:30:00 -0000 Subject: XFree leaking memory? In-Reply-To: Message-ID: Harold, I did some tests and basically when I open an xterm the XWin size goes up by about 30-50 Kb. When I close it, it stays the same (enlarged). When I open a remote xterm and display it on my machine, same thing happens, i.e. XWin size increases when xterm appears and stays at the same level when xterm is closed. Another issue is that xclock manages to grow from about 5 Mb when fresh to about 10 Mb in a week. Also, all the xfree components seem to require obscene amounts of memory, 7 Mb per each xterm, 5 Mb for xclock, 5 Mb for fvwm pager, etc. Is this because the required libraries are statically linked with these applications such that everything has to keep its own set of libraries? The end result of this behaviour is that 512 Mb of RAM that I have become insufficient in a few days and I have to restart Xwin to get things under control. I hope this helps ... Konstantin On Tue, 5 Nov 2002, it was written: > Konstantin, > > Interesting. So, this appears to be a new memory leak that has nothing to > do with rootless mode. > > At this point I think we will need suggestions from others as to how we can > find the source of this memory leak. > > There are not too many calls in the Windows-specific portion of XWin.exe > that could result in continual memory leaks like this. However, I hope that > the bug is in the Windows-specific portion of XWin.exe and not in either the > rest of the XWin.exe code or in cygwin1.dll. Finding a memory leak in > either of those would be tedious. > > Anybody got any suggestions? > > Harold > > -----Original Message----- > From: cygwin-xfree-owner@cygwin.com > [mailto:cygwin-xfree-owner@cygwin.com]On Behalf Of Konstantin N. Kudin > Sent: Monday, November 04, 2002 8:49 PM > To: cygwin-xfree@cygwin.com > Subject: Re: XFree leaking memory? > > > Harold > > I do not think I am using "-rootless" since I am running the standard > *.bat file supplied with XFree and have a separate workspace for X. So > this leak appears to be a separate issue. > > Is there a way to generate memory usage statistics for X? > > Konstantin > > On Mon, 4 Nov 2002, it was written: > > > Konstantin, > > > > Are you using the ``-rootless'' command-line parameter? If so, the > > developer of that feature mentioned that there was a memory leak and > > that he was working on fixing it. If not, then we might need to look > > into your problem as a previously unknown problem. > > > > Harold > > > > Konstantin N. Kudin wrote: > > > > > Hi all > > > > > > I am using the cygwin + xfree combination for my X server. > > >I run the program for days on a W2k laptop and put the machine on stand > by > > >every night. W2k and xfree are restarted quite infrequently (once every > > >2-4 weeks). > > > I have noticed in Task Manager that XWin process slowly but surely grows > > >in size adding about 2Mb every day. It starts from 13 Mb but over the > > >course of few days may become as large as 150 Mb (I have seen that). I > > >tried to update XFree to the latest version a couple of weeks ago yet it > > >did not stop growing in size. > > > I mostly run fvwm and 2-3 xterms. I also occasionally display xterms and > > >other things from other machines. > > > I am curious if the developers are aware of/working on this issue? > > > I could provide more details if needed/technically possible. > > > > > > Sincerely, > > > Konstantin > > > > > > > From c_twiner@hotmail.com Tue Nov 5 11:55:00 2002 From: c_twiner@hotmail.com (Chris Twiner) Date: Tue, 05 Nov 2002 11:55:00 -0000 Subject: how does xwin resolve ip addresses Message-ID: 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 IpAddrTable // IPADDRROW dwAddr=00000000 dwIndex=65540 dwMask=00000000 dwBCastAddr=00000001 dwReasmSize=65535 // IFROW wszName= dwIndex=65540 dwType=6 bDescr=Intel 8255x-based PCI Ethernet Adapter (10/100) // IPADDRROW dwAddr=00000000 dwIndex=65541 dwMask=00000000 dwBCastAddr=00000001 dwReasmSize=65535 // IFROW wszName= dwIndex=65541 dwType=6 bDescr=3Com 3CRSHPW_96 Wireless LAN PC Card // IPADDRROW dwAddr=0100007f dwIndex=1 dwMask=000000ff dwBCastAddr=00000001 dwReasmSize=65535 // IFROW wszName= dwIndex=1 dwType=24 bDescr=MS TCP Loopback interface // Dumping IfTable wszName=Loopback dwIndex=1 dwType=24 bDescr=Internal loopback interface for 127.0.0 network wszName={562C1C1F-F3B0-49E1-98D6-C44DF1084DD8} dwIndex=65540 dwType=6 bDescr=Intel 8255x-based PCI Ethernet Adapter (10/100) eth0: family=TCP/IP (0) addr=0.0.0.0 lo: family=TCP/IP (0) addr=127.0.0.1 And just for completeness the route print: c:\home\Chris>route print =========================================================================== Interface List 0x1 ........................... MS TCP Loopback interface 0x2 ...02 00 4c 4f 4f 50 ...... Microsoft Loopback Adapter 0x10004 ...00 20 e0 70 70 16 ...... Intel 8255x-based PCI Ethernet Adapter (10/1 00) 0x10005 ...00 04 75 c4 55 6e ...... 3Com 3CRSHPW_96 Wireless LAN PC Card =========================================================================== =========================================================================== Active Routes: Network Destination Netmask Gateway Interface Metric 0.0.0.0 0.0.0.0 192.168.1.1 192.168.1.35 30 10.0.0.0 255.0.0.0 10.10.1.1 10.10.1.1 30 10.10.1.1 255.255.255.255 127.0.0.1 127.0.0.1 30 10.255.255.255 255.255.255.255 10.10.1.1 10.10.1.1 30 127.0.0.0 255.0.0.0 127.0.0.1 127.0.0.1 1 192.168.1.0 255.255.255.0 192.168.1.35 192.168.1.35 30 192.168.1.35 255.255.255.255 127.0.0.1 127.0.0.1 30 192.168.1.255 255.255.255.255 192.168.1.35 192.168.1.35 30 224.0.0.0 240.0.0.0 10.10.1.1 10.10.1.1 30 224.0.0.0 240.0.0.0 192.168.1.35 192.168.1.35 30 255.255.255.255 255.255.255.255 10.10.1.1 10.10.1.1 1 255.255.255.255 255.255.255.255 10.10.1.1 10.10.1.1 1 255.255.255.255 255.255.255.255 192.168.1.35 10004 1 255.255.255.255 255.255.255.255 192.168.1.35 192.168.1.35 1 Default Gateway: 192.168.1.1 =========================================================================== Persistent Routes: None Hope it helps. 3com rather quickly referred me to the cygwin/xfree86 documentation so I'll not hold out much hope of useful help from them. Chris _________________________________________________________________ Unlimited Internet access -- and 2 months free!?? Try MSN. http://resourcecenter.msn.com/access/plans/2monthsfree.asp From Alexander.Gottwald@s1999.tu-chemnitz.de Tue Nov 5 12:18:00 2002 From: Alexander.Gottwald@s1999.tu-chemnitz.de (Alexander Gottwald) Date: Tue, 05 Nov 2002 12:18:00 -0000 Subject: how does xwin resolve ip addresses In-Reply-To: Message-ID: Chris Twiner wrote: > // IPADDRROW > dwAddr=00000000 > dwIndex=65541 > dwMask=00000000 > dwBCastAddr=00000001 > dwReasmSize=65535 > // IFROW > wszName= > dwIndex=65541 > dwType=6 > bDescr=3Com 3CRSHPW_96 Wireless LAN PC Card That's good, good, good *g* Await a patch in the next days. > wszName={562C1C1F-F3B0-49E1-98D6-C44DF1084DD8} That's good too. The widestrings are now printed correctly. bye ago -- Alexander.Gottwald@informatik.tu-chemnitz.de http://www.gotti.org ICQ: 126018723 From Ralf.Habacker@freenet.de Tue Nov 5 13:24:00 2002 From: Ralf.Habacker@freenet.de (Ralf Habacker) Date: Tue, 05 Nov 2002 13:24:00 -0000 Subject: XFree leaking memory? In-Reply-To: <00d501c284e9$294a0b40$6501a8c0@sprymusic.com> Message-ID: <00af01c28508$6f487f90$0a1c440a@BRAMSCHE> > In other words, it might not be able to follow NEW or MALLOC, because the > object format might be too different. > Try the mem_watch tool in the kde-cygwin cvs area http://sourceforge.net/cvs/?group_id=27249, which hooks any memory relating call. $ less README Memory Watcher ============== This is a little library for tracing memory related api calls on win32 using gcc. Features: - detection of unfree'd memory regions - traces each malloc(), calloc(), realloc() and free() call - collects size and addresses of allocated area - runtime switchable logging support of hooked function See INSTALL for installation hints. The only thing you have to do is to adding a call after main() and perhaps one call for printing the results at the end of main(). Try $cvs -d:pserver:anonymous@cvs.kde-cygwin.sourceforge.net:/cvsroot/kde-cygwin login $cvs -z3 -d:pserver:anonymous@cvs.kde-cygwin.sourceforge.net:/cvsroot/kde-cygwin co tools/mem_watch $ make $ make check $ test.exe From jensen@physics.unr.edu Tue Nov 5 13:33:00 2002 From: jensen@physics.unr.edu (Lars Jensen) Date: Tue, 05 Nov 2002 13:33:00 -0000 Subject: HOWTO rootless mode?? Message-ID: I can't find any documentation on how to use rootless mode (or even what it is)? How so I start rootless mode? Can anyone point me to some sourses of help? Is it available with the latest (stable) distribution of cygwin/xfree? Thanks, Lars. -- Lars Jensen, TMCC/Vista B200, 7000 Dandini Blvd, Reno NV 89512-3999. Internet: , http://www.scsr.nevada.edu/~jensen Tel: 775.673.7113 FAX: 775.674.7592 From rrschulz@cris.com Tue Nov 5 13:35:00 2002 From: rrschulz@cris.com (Randall R Schulz) Date: Tue, 05 Nov 2002 13:35:00 -0000 Subject: HOWTO rootless mode?? In-Reply-To: Message-ID: <5.1.0.14.2.20021105132707.02a79598@pop3.cris.com> Grrrrr... At 13:24 2002-11-05, you wrote: >I can't find any documentation on how to use rootless mode (or even what >it is)? If you don't know what it is, how do you know _of_ if? Wherever you heard about it (could it be this list?), that's where you'll find other answers. But that does require looking... >How do I start rootless mode? XWin -rootless Imagine that! >Can anyone point me to some sources of help? >Is it available with the latest (stable) distribution of cygwin/xfree? XFree86-xserv 4.2.0-15 (experimental) >Thanks. >Lars. Randall Schulz Mountain View, CA USA From jc.gervais@videotron.ca Tue Nov 5 13:41:00 2002 From: jc.gervais@videotron.ca (Jean-Claude Gervais) Date: Tue, 05 Nov 2002 13:41:00 -0000 Subject: XFree leaking memory? In-Reply-To: <00af01c28508$6f487f90$0a1c440a@BRAMSCHE> Message-ID: <00e501c28513$0ac8f490$6501a8c0@sprymusic.com> Thanks Ralf, There is also this tool - http://devel-home.kde.org/~sewardj/ Not sure if it can be used on Cygwin, but I think it might. Anyhow, I'll run some tests and report back. -----Original Message----- From: cygwin-xfree-owner@cygwin.com [mailto:cygwin-xfree-owner@cygwin.com]On Behalf Of Ralf Habacker Sent: Tuesday, November 05, 2002 3:18 PM To: cygwin-xfree@cygwin.com Subject: RE: XFree leaking memory? > In other words, it might not be able to follow NEW or MALLOC, because the > object format might be too different. > Try the mem_watch tool in the kde-cygwin cvs area http://sourceforge.net/cvs/?group_id=27249, which hooks any memory relating call. $ less README Memory Watcher ============== This is a little library for tracing memory related api calls on win32 using gcc. Features: - detection of unfree'd memory regions - traces each malloc(), calloc(), realloc() and free() call - collects size and addresses of allocated area - runtime switchable logging support of hooked function See INSTALL for installation hints. The only thing you have to do is to adding a call after main() and perhaps one call for printing the results at the end of main(). Try $cvs -d:pserver:anonymous@cvs.kde-cygwin.sourceforge.net:/cvsroot/kde-cygwin login $cvs -z3 -d:pserver:anonymous@cvs.kde-cygwin.sourceforge.net:/cvsroot/kde-cy gwin co tools/mem_watch $ make $ make check $ test.exe From keith@keithtyler.com Tue Nov 5 13:42:00 2002 From: keith@keithtyler.com (Keith D. Tyler) Date: Tue, 05 Nov 2002 13:42:00 -0000 Subject: HOWTO rootless mode?? In-Reply-To: <5.1.0.14.2.20021105132707.02a79598@pop3.cris.com> from "Randall R Schulz" at Nov 05, 2002 01:33:35 PM Message-ID: <200211052141.gA5Lffo30005@shell.faradic.net> Is it worth asking if the option has been added to the XWin.1 manpage? (If it isn't, then... er...) Kdt Randall R Schulz was recently quoted as saying... > Grrrrr... > At 13:24 2002-11-05, you wrote: > >I can't find any documentation on how to use rootless mode (or even what > >it is)? From Ralf.Habacker@freenet.de Tue Nov 5 13:54:00 2002 From: Ralf.Habacker@freenet.de (Ralf Habacker) Date: Tue, 05 Nov 2002 13:54:00 -0000 Subject: XFree leaking memory? In-Reply-To: <00e501c28513$0ac8f490$6501a8c0@sprymusic.com> Message-ID: <00b101c28514$4511a6a0$0a1c440a@BRAMSCHE> > There is also this tool - > http://devel-home.kde.org/~sewardj/ > > Not sure if it can be used on Cygwin, but I think it might. > It depends on the glibc and this isn't ported to cygwin yet. Ralf From rrschulz@cris.com Tue Nov 5 13:56:00 2002 From: rrschulz@cris.com (Randall R Schulz) Date: Tue, 05 Nov 2002 13:56:00 -0000 Subject: HOWTO rootless mode?? In-Reply-To: <200211052141.gA5Lffo30005@shell.faradic.net> References: <5.1.0.14.2.20021105132707.02a79598@pop3.cris.com> Message-ID: <5.1.0.14.2.20021105135145.028e0d38@pop3.cris.com> At 13:41 2002-11-05, you wrote: >Is it worth asking if the option has been added to the XWin.1 manpage? Why don't you just find out for yourself? >(If it isn't, then... er...) "Er..." what?? Say what you mean, please. If you don't find the software or the documentation acceptable, then you know what to do. Hint: Put up or shut up. >Kdt > >Randall R Schulz was recently quoted as saying... > > Grrrrr... > > At 13:24 2002-11-05, you wrote: > > >I can't find any documentation on how to use rootless mode (or even > what it is)? From huntharo@msu.edu Tue Nov 5 14:00:00 2002 From: huntharo@msu.edu (Harold L Hunt II) Date: Tue, 05 Nov 2002 14:00:00 -0000 Subject: HOWTO rootless mode?? References: <5.1.0.14.2.20021105132707.02a79598@pop3.cris.com> Message-ID: <3DC83E94.6000009@msu.edu> Randall, Be nice. I posted an announcement for XFree86-xserv-4.2.0-15, but I did not mention that you should use the ``-rootless'' parameter for the rootless mode. Rootless mode is in the stable release, but it is still considered experimental because it may leak memory and it may have certain undesireable behaviors. Although, it seems that rootless mode is pretty much complete because there have not been any significant complaints. I did a little SNAFU with respect to the man page because I updated the man page, but I did not roll a new release of the man pages package. I should probably do that, but I don't think many users will be pleased with redownloading all XFree86 man pages just to get one new one. I will have to think about that one. Harold Randall R Schulz wrote: > > Grrrrr... > > > At 13:24 2002-11-05, you wrote: > >> I can't find any documentation on how to use rootless mode (or even >> what it is)? > > > If you don't know what it is, how do you know _of_ if? Wherever you > heard about it (could it be this list?), that's where you'll find other > answers. But that does require looking... > > >> How do I start rootless mode? > > > XWin -rootless > > Imagine that! > > >> Can anyone point me to some sources of help? > > > > > > > >> Is it available with the latest (stable) distribution of cygwin/xfree? > > > XFree86-xserv 4.2.0-15 (experimental) > > >> Thanks. >> Lars. > > > > Randall Schulz > Mountain View, CA USA > From huntharo@msu.edu Tue Nov 5 14:07:00 2002 From: huntharo@msu.edu (Harold L Hunt II) Date: Tue, 05 Nov 2002 14:07:00 -0000 Subject: XFree leaking memory? References: <00e501c28513$0ac8f490$6501a8c0@sprymusic.com> Message-ID: <3DC83F97.9050502@msu.edu> It was mentioned that the memory size increased when a new X window (such as an xterm) is opened, but that it does not decrease when that window is destroyed. This indicates one of a few things to me: 1) We are not freeing our window privates (directly or indirectly). This seems plausible, but I don't think our window privates are even 1 kilobyte. 2) Windows is not being notified that our allocated memory has been released, so Task Manager reports more memory allocated to our process than there actually is. Task Manager is notorious for this. I would not be surprised if there was no memory leak whatsoever. Please keep an eye on your memory allocated at the system level... if XWin.exe is reported as using 200 MB but you are only using 120 MB of system memory, then you know that the numbers are just not adding up correctly. 3) Some other portion of the XWin.exe code is not freeing its window privates correctly. Harold From rrschulz@cris.com Tue Nov 5 14:31:00 2002 From: rrschulz@cris.com (Randall R Schulz) Date: Tue, 05 Nov 2002 14:31:00 -0000 Subject: HOWTO rootless mode?? In-Reply-To: <3DC83E94.6000009@msu.edu> References: <5.1.0.14.2.20021105132707.02a79598@pop3.cris.com> Message-ID: <5.1.0.14.2.20021105140552.02118560@pop3.cris.com> At 13:56 2002-11-05, you wrote: >Randall, > >Be nice. Yes, sir. From Alexander.Gottwald@s1999.tu-chemnitz.de Tue Nov 5 15:32:00 2002 From: Alexander.Gottwald@s1999.tu-chemnitz.de (Alexander Gottwald) Date: Tue, 05 Nov 2002 15:32:00 -0000 Subject: how does xwin resolve ip addresses (fwd) Message-ID: And it got cancelled again. The patch is no longer attached and will be sent by pm after explicit request. bye ago, now very upset Date: Tue, 5 Nov 2002 23:29:09 +0100 (MET) From: Alexander Gottwald To: cygwin-xfree@cygwin.com Cc: Chris Twiner Subject: Re: how does xwin resolve ip addresses Alexander Gottwald wrote: > Await a patch in the next days. And here it is. Please try the modified cygwin1.dll. http://www-usercgi.tu-chemnitz.de/~goal/xfree/cygwin1-wireless.dll Please report if it works or not. Patch is attached. If it works, I'll send the patch to cygwin-patches. Hey, It's late. If have to get up in less than 6 hours. I hack the cygwin library and the mailer-deamon says i'm a spammer. What the f*** is going on? Is this the price of freedom? Do we have to accept restrictions to be free from spam? This is the third message that got cancelled in the last days and I have to rewrite. Maybe some hints _why_ the message was declared as spam would help to prevent such extra work. bye ago, upset NP: Blutengel - Angel Dust I -- Alexander.Gottwald@informatik.tu-chemnitz.de http://www.gotti.org ICQ: 126018723 From jensen@physics.unr.edu Tue Nov 5 15:44:00 2002 From: jensen@physics.unr.edu (Lars Jensen) Date: Tue, 05 Nov 2002 15:44:00 -0000 Subject: Randall, please don't post here Message-ID: Hi Randall, If you can't be civilized, please don't post to this list. It is better not to post than to post comments like the one you just posted. Apparently, judging from your comments, you're not interested in any newbies figuring out how to use cygwin/xfree. What is the matter with folks posting questions to learn new stuff? Aren't you interesting in helping to spread this great software across the globe? Lars. -- Lars Jensen, TMCC/Vista B200, 7000 Dandini Blvd, Reno NV 89512-3999. Internet: , http://www.scsr.nevada.edu/~jensen Tel: 775.673.7113 FAX: 775.674.7592 From rrschulz@cris.com Tue Nov 5 15:47:00 2002 From: rrschulz@cris.com (Randall R Schulz) Date: Tue, 05 Nov 2002 15:47:00 -0000 Subject: Randall, please don't post here In-Reply-To: Message-ID: <5.1.0.14.2.20021105153915.02c3ad48@pop3.cris.com> Lars, I have no intention of catering to your delicate sensibilities. Participants in these lists are expected to do their homework, and that includes searching the list archives before posting questions. Innuendo about inadequate documentation, such as you posted, is far more inappropriate than the slightly harsh tone I took with you. One aspect of promoting this software, which I agree is impressive and immensely valuable, is suppressing redundancy on the mailing lists so information is more accessible to newcomers. I think you need to reconsider your own expectations rather than try to impose them on others. Randall Schulz Mountain View, CA USA At 14:10 2002-11-05, you wrote: >Hi Randall, > >If you can't be civilized, please don't post to this list. It is better >not to post than to post comments like the one you just posted. Apparently, >judging from your comments, you're not interested in any newbies >figuring out how to use cygwin/xfree. What is the matter with folks >posting questions to learn new stuff? Aren't you interesting in >helping to spread this great software across the globe? > >Lars. From keith@keithtyler.com Tue Nov 5 15:58:00 2002 From: keith@keithtyler.com (Keith D. Tyler) Date: Tue, 05 Nov 2002 15:58:00 -0000 Subject: Randall, please don't post here In-Reply-To: from "Lars Jensen" at Nov 05, 2002 02:10:11 PM Message-ID: <200211052347.gA5Nlh104783@shell.faradic.net> Randall, I'm sorry for asking about the man page. Incidentally, I *did* check mine, which should be up to date since I updated my cygwin install yesterday (mainly to get the stable rootless mode binary), and didn't see the option. My question had more to do with probing if there was an edited copy in existence, and if it had been pushed out, the answers to which would determine 1) if the edit was needed (in which case I'd certainly be happy to contribute a few strings if needed, though I'm hardly the most appropriate person), 2) if it wasnt needed and was just a matter of waiting for it to be pushed, or 3) if my last cygwin update got farked up somehow. And lastly, when I said "if it isn't", I was referring to the "If it's worth asking" part, not whether the man page was updated. Apparently it wasn't worth asking, and for that I apologize. I'm not sure that this list has collectively determined whether this is a Cygwin/XFree *discussion* list, or a Cygwin/XFree *development* list. Please, for those of us who either a) aren't programmatically inclined, or b) don't have the luxury of vast expanses of time to get up to speed on the required languages and source materials, someone figure out. Maybe two lists are needed. Regards, ================================================================== Keith D. Tyler keith@keithtyler.com Federal Way, WA http://www.keithtyler.com ------------------------------------------------------------------ If Tyrrany and Oppresion come to this land, it will be under the guise of fighting a foreign enemy. - James Madison, U.S. President 1809-1817 ================================================================== From rrschulz@cris.com Tue Nov 5 18:06:00 2002 From: rrschulz@cris.com (Randall R Schulz) Date: Tue, 05 Nov 2002 18:06:00 -0000 Subject: One Apology & An Acknowledgement of Error Message-ID: <5.1.0.14.2.20021105155208.02c07d78@pop3.cris.com> To Whom It May Concern (and Keith and Lars), OK. The "put up or shut up" comment was too harsh and unwarranted as such. I should have politely said: "Patches gratefully accepted." Furthermore, I mistakenly thought that Keith's statement "(If it isn't, then... er...)" was written by Lars, so I should not have accused him of "innuendo." Apparently I also simply misinterpreted it as innuendo. Mea culpa! Lastly, I've got to say that I don't think the issue is about what's "worth asking," it's about which questions can be reasonably expected to be answered by participants on the list which should be the responsibility of the inquisitor. Are we good? Randy From cgf@redhat.com Tue Nov 5 18:25:00 2002 From: cgf@redhat.com (Christopher Faylor) Date: Tue, 05 Nov 2002 18:25:00 -0000 Subject: xfree leaking memory? In-Reply-To: <3DC83F97.9050502@msu.edu> References: <00e501c28513$0ac8f490$6501a8c0@sprymusic.com> <3DC83F97.9050502@msu.edu> Message-ID: <20021106020756.GA4680@redhat.com> On Tue, Nov 05, 2002 at 05:00:55PM -0500, Harold L Hunt II wrote: >It was mentioned that the memory size increased when a new X window >(such as an xterm) is opened, but that it does not decrease when that >window is destroyed. This indicates one of a few things to me: > >1) We are not freeing our window privates (directly or indirectly). >This seems plausible, but I don't think our window privates are even 1 >kilobyte. I thought I should point out that Cygwin doesn't currently return deallocated memory to the windows pool. So, the heap only gets larger. It does reuse previously allocated memory, of course. So, a malloc/free/malloc will not necessarily consume any more system memory. So, if the memory size grows every time an xterm is opened but then does not get any larger if subsequent xterms are closed and opened, then that is probably expected behavior. cgf From cgf@redhat.com Tue Nov 5 18:50:00 2002 From: cgf@redhat.com (Christopher Faylor) Date: Tue, 05 Nov 2002 18:50:00 -0000 Subject: Randall, please don't post here In-Reply-To: <200211052347.gA5Nlh104783@shell.faradic.net> References: <200211052347.gA5Nlh104783@shell.faradic.net> Message-ID: <20021106022749.GB4680@redhat.com> On Tue, Nov 05, 2002 at 06:47:43PM -0500, Keith D. Tyler wrote: >I'm not sure that this list has collectively determined whether this is a >Cygwin/XFree *discussion* list, or a Cygwin/XFree *development* list. From http://cygwin.com/lists.html # cygwin-xfree: a list for discussion of all things related to XFree86 on Cygwin (Cygwin/XFree86). If you have questions about how to use, configure, install, build, or develop with Cygwin/XFree86, this is the list for you. If you have general questions about using Cygwin/XFree86, please see the Cygwin/XFree86 User's Guide or the Cygwin/XFree86 FAQ. >Please, for those of us who either a) aren't programmatically inclined, >or b) don't have the luxury of vast expanses of time to get up to speed >on the required languages and source materials, someone figure out. >Maybe two lists are needed. I'm not sure what you are pleading for but I don't see why asking people to contribute is a terrible thing on any list. And, pointing out that it is ludicrous to ask hundreds of people (i.e., the people on this mailing list) to check on something like "Is it in the man page yet" when one could easily check this on their on system is not something that even a (shudder) "newbie" should have problems with. Of course we all make mistakes and sometimes send email without thinking but falling back on the old, tired "We're not all programmers!" or "We don't have time!" defenses is really missing the point here, IMO. If you have time to write email, you have time to check a man page. cgf From Alexander.Gottwald@s1999.tu-chemnitz.de Tue Nov 5 18:52:00 2002 From: Alexander.Gottwald@s1999.tu-chemnitz.de (Alexander Gottwald) Date: Tue, 05 Nov 2002 18:52:00 -0000 Subject: how does xwin resolve ip addresses Message-ID: Alexander Gottwald wrote: > Await a patch in the next days. And here it is. Please try the modified cygwin1.dll. http://www-usercgi.tu-chemnitz.de/~goal/xfree/cygwin1-wireless.dll Please report if it works or not. Patch is attached. If it works, I'll send the patch to cygwin-patches. Hey, It's late. If have to get up in less than 6 hours. I hack the cygwin library and the mailer-deamon says i'm a spammer. What the f*** is going on? Is this the price of freedom? Do we have to accept restrictions to be free from spam? This is the third message that got cancelled in the last days and I have to rewrite. Maybe some hints _why_ the message was declared as spam would help to prevent such extra work. bye ago, upset NP: Blutengel - Angel Dust I -- Alexander.Gottwald@informatik.tu-chemnitz.de http://www.gotti.org ICQ: 126018723 -------------- next part -------------- --- winsup/cygwin/net.cc.orig Wed Jul 3 01:57:48 2002 +++ winsup/cygwin/net.cc Tue Nov 5 22:41:47 2002 @@ -1212,125 +1212,167 @@ get_2k_ifconf (struct ifconf *ifc, int what) { int cnt = 0; - char eth[2] = "/", ppp[2] = "/", slp[2] = "/", sub[2] = "0", tok[2] = "/"; +// char eth[2] = "/", ppp[2] = "/", slp[2] = "/", sub[2] = "0", tok[2] = "/"; + int ethId = 0, pppId = 0, slpId = 0, tokId = 0; /* Union maps buffer to correct struct */ struct ifreq *ifr = ifc->ifc_req; - DWORD if_cnt, ip_cnt, lip, lnp; - DWORD siz_if_table = 0; + DWORD ip_cnt, lip, lnp; DWORD siz_ip_table = 0; - PMIB_IFTABLE ift; PMIB_IPADDRTABLE ipt; + PMIB_IFROW ifrow; struct sockaddr_in *sa = NULL; struct sockaddr *so = NULL; - if (GetIfTable(NULL, &siz_if_table, TRUE) == ERROR_INSUFFICIENT_BUFFER && - GetIpAddrTable(NULL, &siz_ip_table, TRUE) == ERROR_INSUFFICIENT_BUFFER && - (ift = (PMIB_IFTABLE) alloca (siz_if_table)) && - (ipt = (PMIB_IPADDRTABLE) alloca (siz_ip_table)) && - !GetIfTable(ift, &siz_if_table, TRUE) && - !GetIpAddrTable(ipt, &siz_ip_table, TRUE)) + typedef struct ifcount_t { + DWORD ifIndex; + size_t count; + unsigned int enumerated; // for eth0:1 + unsigned int classId; // for eth0, tok0 ... + + }; + ifcount_t *iflist; + + if (GetIpAddrTable (NULL, &siz_ip_table, TRUE) == ERROR_INSUFFICIENT_BUFFER + && (ifrow = (PMIB_IFROW) alloca (sizeof (MIB_IFROW))) + && (ipt = (PMIB_IPADDRTABLE) alloca (siz_ip_table)) + && !GetIpAddrTable (ipt, &siz_ip_table, TRUE)) { - /* Iterate over all known interfaces */ - for (if_cnt = 0; if_cnt < ift->dwNumEntries; ++if_cnt) + iflist = (ifcount_t *)alloca(sizeof(ifcount_t) * (ipt->dwNumEntries + 1)); + memset(iflist, 0, sizeof(ifcount_t) * (ipt->dwNumEntries + 1)); + for (ip_cnt = 0; ip_cnt < ipt->dwNumEntries; ++ip_cnt) + { + ifcount_t *ifEntry = iflist; + /* search for matching entry (and stop at first free entry) */ + while (ifEntry->count != 0) { + if (ifEntry->ifIndex == ipt->table[ip_cnt].dwIndex) + break; + ifEntry++; + } + ifEntry->count++; + ifEntry->ifIndex = ipt->table[ip_cnt].dwIndex; + } + // reset the last element. This is just the stopper for the loop. + iflist[ipt->dwNumEntries].count = 0; + + /* Iterate over all configured IP-addresses */ + for (ip_cnt = 0; ip_cnt < ipt->dwNumEntries; ++ip_cnt) { - *sub = '0'; - /* Iterate over all configured IP-addresses */ - for (ip_cnt = 0; ip_cnt < ipt->dwNumEntries; ++ip_cnt) + memset (ifrow, 0, sizeof (MIB_IFROW)); + ifrow->dwIndex = ipt->table[ip_cnt].dwIndex; + if (GetIfEntry (ifrow) != NO_ERROR) + continue; + + ifcount_t *ifEntry = iflist; + /* search for matching entry (and stop at first free entry) */ + while (ifEntry->count != 0) { + if (ifEntry->ifIndex == ipt->table[ip_cnt].dwIndex) + break; + ifEntry++; + } + + /* Setup the interface name */ + switch (ifrow->dwType) { - /* Does the IP address belong to the interface? */ - if (ipt->table[ip_cnt].dwIndex == ift->table[if_cnt].dwIndex) - { - /* Setup the interface name */ - switch (ift->table[if_cnt].dwType) - { - case MIB_IF_TYPE_TOKENRING: - ++*tok; - strcpy (ifr->ifr_name, "tok"); - strcat (ifr->ifr_name, tok); - break; - case MIB_IF_TYPE_ETHERNET: - if (*sub == '0') - ++*eth; - strcpy (ifr->ifr_name, "eth"); - strcat (ifr->ifr_name, eth); - break; - case MIB_IF_TYPE_PPP: - ++*ppp; - strcpy (ifr->ifr_name, "ppp"); - strcat (ifr->ifr_name, ppp); - break; - case MIB_IF_TYPE_SLIP: - ++*slp; - strcpy (ifr->ifr_name, "slp"); - strcat (ifr->ifr_name, slp); - break; - case MIB_IF_TYPE_LOOPBACK: - strcpy (ifr->ifr_name, "lo"); - break; - default: - continue; - } - if (*sub > '0') - { - strcat (ifr->ifr_name, ":"); - strcat (ifr->ifr_name, sub); - } - ++*sub; - /* setup sockaddr struct */ - switch (what) - { - case SIOCGIFCONF: - case SIOCGIFADDR: - sa = (struct sockaddr_in *) &ifr->ifr_addr; - sa->sin_addr.s_addr = ipt->table[ip_cnt].dwAddr; - sa->sin_family = AF_INET; - sa->sin_port = 0; - break; - case SIOCGIFBRDADDR: - sa = (struct sockaddr_in *) &ifr->ifr_broadaddr; + case MIB_IF_TYPE_TOKENRING: + if (ifEntry->enumerated == 0) { + ifEntry->classId = tokId++; + __small_sprintf(ifr->ifr_name, "tok%d", ifEntry->classId); + } else { + __small_sprintf(ifr->ifr_name, "tok%d:%d", ifEntry->classId, + ifEntry->enumerated); + } + ifEntry->enumerated++; + break; + case MIB_IF_TYPE_ETHERNET: + if (ifEntry->enumerated == 0) { + ifEntry->classId = ethId++; + __small_sprintf(ifr->ifr_name, "eth%d", ifEntry->classId); + } else { + __small_sprintf(ifr->ifr_name, "eth%d:%d", ifEntry->classId, + ifEntry->enumerated); + } + ifEntry->enumerated++; + break; + case MIB_IF_TYPE_PPP: + if (ifEntry->enumerated == 0) { + ifEntry->classId = pppId++; + __small_sprintf(ifr->ifr_name, "ppp%d", ifEntry->classId); + } else { + __small_sprintf(ifr->ifr_name, "ppp%d:%d", ifEntry->classId, + ifEntry->enumerated); + } + ifEntry->enumerated++; + break; + case MIB_IF_TYPE_SLIP: + if (ifEntry->enumerated == 0) { + ifEntry->classId = slpId++; + __small_sprintf(ifr->ifr_name, "slp%d", ifEntry->classId); + } else { + __small_sprintf(ifr->ifr_name, "slp%d:%d", ifEntry->classId, + ifEntry->enumerated); + } + ifEntry->enumerated++; + break; + case MIB_IF_TYPE_LOOPBACK: + strcpy (ifr->ifr_name, "lo"); + break; + default: + continue; + } + /* setup sockaddr struct */ + switch (what) + { + case SIOCGIFCONF: + case SIOCGIFADDR: + sa = (struct sockaddr_in *) &ifr->ifr_addr; + sa->sin_addr.s_addr = ipt->table[ip_cnt].dwAddr; + sa->sin_family = AF_INET; + sa->sin_port = 0; + break; + case SIOCGIFBRDADDR: + sa = (struct sockaddr_in *) &ifr->ifr_broadaddr; #if 0 - /* Unfortunately, the field returns only crap. */ - sa->sin_addr.s_addr = ipt->table[ip_cnt].dwBCastAddr; + /* Unfortunately, the field returns only crap. */ + sa->sin_addr.s_addr = ipt->table[ip_cnt].dwBCastAddr; #else - lip = ipt->table[ip_cnt].dwAddr; - lnp = ipt->table[ip_cnt].dwMask; - sa->sin_addr.s_addr = lip & lnp | ~lnp; - sa->sin_family = AF_INET; - sa->sin_port = 0; + lip = ipt->table[ip_cnt].dwAddr; + lnp = ipt->table[ip_cnt].dwMask; + sa->sin_addr.s_addr = lip & lnp | ~lnp; + sa->sin_family = AF_INET; + sa->sin_port = 0; #endif - break; - case SIOCGIFNETMASK: - sa = (struct sockaddr_in *) &ifr->ifr_netmask; - sa->sin_addr.s_addr = ipt->table[ip_cnt].dwMask; - sa->sin_family = AF_INET; - sa->sin_port = 0; - break; - case SIOCGIFHWADDR: - so = &ifr->ifr_hwaddr; - for (UINT i = 0; i < IFHWADDRLEN; ++i) - if (i >= ift->table[if_cnt].dwPhysAddrLen) - so->sa_data[i] = '\0'; - else - so->sa_data[i] = ift->table[if_cnt].bPhysAddr[i]; - so->sa_family = AF_INET; - break; - case SIOCGIFMETRIC: - ifr->ifr_metric = 1; - break; - case SIOCGIFMTU: - ifr->ifr_mtu = ift->table[if_cnt].dwMtu; - break; - } - ++cnt; - if ((caddr_t) ++ifr > - ifc->ifc_buf + ifc->ifc_len - sizeof (struct ifreq)) - goto done; - } + break; + case SIOCGIFNETMASK: + sa = (struct sockaddr_in *) &ifr->ifr_netmask; + sa->sin_addr.s_addr = ipt->table[ip_cnt].dwMask; + sa->sin_family = AF_INET; + sa->sin_port = 0; + break; + case SIOCGIFHWADDR: + so = &ifr->ifr_hwaddr; + for (UINT i = 0; i < IFHWADDRLEN; ++i) + if (i >= ifrow->dwPhysAddrLen) + so->sa_data[i] = '\0'; + else + so->sa_data[i] = ifrow->bPhysAddr[i]; + so->sa_family = AF_INET; + break; + case SIOCGIFMETRIC: + ifr->ifr_metric = 1; + break; + case SIOCGIFMTU: + ifr->ifr_mtu = ifrow->dwMtu; + break; } + ++cnt; + if ((caddr_t)++ ifr > + ifc->ifc_buf + ifc->ifc_len - sizeof (struct ifreq)) + goto done; } } + done: /* Set the correct length */ ifc->ifc_len = cnt * sizeof (struct ifreq); --- winsup/cygwin/autoload.cc Wed Jul 3 21:28:10 2002 +++ winsup/cygwin/autoload.cc Tue Nov 5 21:41:03 2002 @@ -484,6 +484,7 @@ LoadDLLfuncEx (WSAEnumNetworkEvents, 12, ws2_32, 1) LoadDLLfuncEx (GetIfTable, 12, iphlpapi, 1) +LoadDLLfuncEx (GetIfEntry, 4, iphlpapi, 1) LoadDLLfuncEx (GetIpAddrTable, 12, iphlpapi, 1) LoadDLLfunc (CoInitialize, 4, ole32) From cgf@redhat.com Tue Nov 5 19:45:00 2002 From: cgf@redhat.com (Christopher Faylor) Date: Tue, 05 Nov 2002 19:45:00 -0000 Subject: how does xwin resolve ip addresses (fwd) In-Reply-To: References: Message-ID: <20021106025453.GC4680@redhat.com> On Tue, Nov 05, 2002 at 11:31:26PM +0100, Alexander Gottwald wrote: >And it got cancelled again. The patch is no longer attached and will be >sent by pm after explicit request. Let's all say it together "Subscribers to a mailing list are not subjected to spam blocking". Your email was blocked because you are apparently sending email from an account that is not subscribed to cygwin-xfree. You can also subscribe to a global allow list which allow you to post to sources.redhat.com mailing lists without receiving mailing list traffic. In your case, apparently you were misled by a faulty message telling you how to unblock yourself. I apologize for the miscommunication caused by the software that I wrote. It was my fault and I have corrected the error. However, AFAICT, the bounce message that you received accurately gave you the email address to which you could send questions about your being blocked. You didn't avail yourself of that address. Instead, you are now "very upset" because a computer determined that your email is spam. Had, you sent email explaining your problem to the correct mailing list (in this case cygwin-owner at cygwin dot com) I would have fixed the problem hours ago instead of when I got around to reading the cygwin-xfree mailing list where *surprise* I get to see YA spam complaint. It's a safe bet that I can't go a day without someone either complaining about spam or complaining about the spam blocker. Anyway, I've added the email address of your last blocked message to the sources.redhat.com global allow list. I've also redirected your last blocked email back to this mailing list. Have a nice day. cgf From kostya@rice.edu Tue Nov 5 23:04:00 2002 From: kostya@rice.edu (Konstantin N. Kudin) Date: Tue, 05 Nov 2002 23:04:00 -0000 Subject: xfree leaking memory? In-Reply-To: <20021106020756.GA4680@redhat.com> Message-ID: The non-return of the free memory to Windows could explain things if XWin stopped growing after a while. Yet it easily goes from 12 to 20 Mb (I have seen even 150 Mb) and generally shows no signs of slowing down. The memory usage in the 150 Mb case was real since I heard swapping and the total consumed memory exceeded RAM. Is it possible that free() calls with a small memory leak leave the heap sufficiently fragmented such that new requests have to be fulfilled by going to Windows and getting larger chunks from there? I will attach the Windows performance monitor to XWin and collect some statistics on what is happening with the memory. Konstantin On Tue, 5 Nov 2002, it was written: > On Tue, Nov 05, 2002 at 05:00:55PM -0500, Harold L Hunt II wrote: > >It was mentioned that the memory size increased when a new X window > >(such as an xterm) is opened, but that it does not decrease when that > >window is destroyed. This indicates one of a few things to me: > > > >1) We are not freeing our window privates (directly or indirectly). > >This seems plausible, but I don't think our window privates are even 1 > >kilobyte. > > I thought I should point out that Cygwin doesn't currently return deallocated > memory to the windows pool. So, the heap only gets larger. > > It does reuse previously allocated memory, of course. So, a > malloc/free/malloc will not necessarily consume any more system memory. > > So, if the memory size grows every time an xterm is opened but then > does not get any larger if subsequent xterms are closed and opened, > then that is probably expected behavior. > > cgf > > > From jc.gervais@videotron.ca Wed Nov 6 03:33:00 2002 From: jc.gervais@videotron.ca (Jean-Claude Gervais) Date: Wed, 06 Nov 2002 03:33:00 -0000 Subject: xfree leaking memory? - XWin trace.zip Message-ID: <00ed01c28562$88bafc00$6501a8c0@sprymusic.com> I ran XWin under Boundschecker with the following parameters: :0 -engine 1 -rootless -lesspointer Note that I didn't recompile or modify XWin from its current distribution version to do this. After starting it, I ran another instance of Boundschecker and under this one, I started WMAKER. Once both of these were under way, I opened three XTerms, and then closed them again. Then I closed both apps by right-clicking the XWin taskbar icon and selecting close. The really strange thing is that Wmaker generated NO WARNINGS OR LEAKS AT ALL! That really is odd... I've no idea why this would happen, because as a rule, Boundschecker usually gives at least a few false reports of errors and leaks. In the case of XWin, the results are different. Many errors and leaks were reported, but a lot of these are in fact false alarms often times caused by Boundschecker being unmapped from memory before it can "see" an application (or one of its dependant DLLs) releasing an allocation the module made previously. So I've included the output, but I must warn - Since I didn't have the freshly-compiled applications, the stack information is rudimentary. Also, events reported as taking place in CYGWIN1.DLL might best be ignored, as they probably represent cases of false alarms as mentioned above. I will at some point recompile XWin and give it another go, but it might take a little time. PS - Here's hoping the attachment will make it through. PPS - Personally, I think the leaks reported resulting from calls to CreatePopupMenu and CreateRectRgn may in fact be genuine. Jean-Claude -------------- next part -------------- A non-text attachment was scrubbed... Name: XWin trace.zip Type: application/x-zip-compressed Size: 4304 bytes Desc: not available URL: From alexander.gottwald@s1999.tu-chemnitz.de Wed Nov 6 06:50:00 2002 From: alexander.gottwald@s1999.tu-chemnitz.de (Alexander Gottwald) Date: Wed, 06 Nov 2002 06:50:00 -0000 Subject: how does xwin resolve ip addresses (fwd) In-Reply-To: <20021106025453.GC4680@redhat.com> Message-ID: On Tue, 5 Nov 2002, Christopher Faylor wrote: > complaint. It's a safe bet that I can't go a day without someone either > complaining about spam or complaining about the spam blocker. > > Anyway, I've added the email address of your last blocked message to the > sources.redhat.com global allow list. I've also redirected your last > blocked email back to this mailing list. Thanks. Now, after I got some sleep, I feel better now :) bye ago -- Alexander.Gottwald@informatik.tu-chemnitz.de http://www.gotti.org ICQ: 126018723 From jc.gervais@videotron.ca Wed Nov 6 07:12:00 2002 From: jc.gervais@videotron.ca (Jean-Claude Gervais) Date: Wed, 06 Nov 2002 07:12:00 -0000 Subject: Rootless mode with Query mode Message-ID: <010a01c285a3$74fb87c0$6501a8c0@sprymusic.com> Hi, If I start XWin with the following parameters, :0 -rootless -query hostname I get the Redhat login dialog box, which appears with NO background. This is good. Then when I log in, whether I select GNOME or KDE, the KDE/GNOME desktop background always appears. Is there a way to prevent this? I'd like to have the Gnome or KDE taskbar and start menu, but not a desktop like it does. And even if I configure KDE/GNOME to have NO desktop, they both still want to at least draw a color background. Anyone? From staf.verhaegen@imec.be Wed Nov 6 08:06:00 2002 From: staf.verhaegen@imec.be (Staf Verhaegen) Date: Wed, 06 Nov 2002 08:06:00 -0000 Subject: Rootless mode with Query mode References: <010a01c285a3$74fb87c0$6501a8c0@sprymusic.com> Message-ID: <3DC9315E.14785236@imec.be> Jean-Claude Gervais wrote: > > Hi, > > If I start XWin with the following parameters, :0 -rootless -query hostname > > I get the Redhat login dialog box, which appears with NO background. > > This is good. > > Then when I log in, whether I select GNOME or KDE, the KDE/GNOME desktop > background always appears. > > Is there a way to prevent this? > > I'd like to have the Gnome or KDE taskbar and start menu, but not a desktop > like it does. > > And even if I configure KDE/GNOME to have NO desktop, they both still want > to at least draw a color background. I'm not familiar with KDE but for gnome the file manager (nautilus) is also resposible for drawing the desktop icons and these are drawn in a full size window. I think you can disable that somewhere in the nautilus preferences. I suppose the KDE file manager has the same behaviour. Staf. +----------------------------------------+-----------------------------+ |Staf Verhaegen (staf.verhaegen@imec.be) |ADRESS: IMEC vzw. - ASP/LITHO| |tel: 016/ 281 783 | Kapeldreef 75 | |fax: 016/ 281 214 | 3001 Leuven (Belgium)| +----------------------------------------+-----------------------------+ For every tool there are at least 2 uses: the one it was designed for and the other for which it wasn't. From jc.gervais@videotron.ca Wed Nov 6 08:11:00 2002 From: jc.gervais@videotron.ca (Jean-Claude Gervais) Date: Wed, 06 Nov 2002 08:11:00 -0000 Subject: Rootless mode with Query mode In-Reply-To: <3DC9315E.14785236@imec.be> Message-ID: <000201c285ae$4131c660$6501a8c0@sprymusic.com> Staf, Right on! I booted Nautilus, set the preference to advanced, then selected EDIT PREFERENCES, and unselected "Use Nautilus to draw desktop" And that did the trick. However, I find it strange that the Gnome Configuration panel, which also has a Desktop section, doesn't have this option... Oh well. Now if I could only figure out how to do that with KDE, I'd be set. Thanks again, Staf. Jean-Claude -----Original Message----- From: cygwin-xfree-owner@cygwin.com [mailto:cygwin-xfree-owner@cygwin.com]On Behalf Of Staf Verhaegen Sent: Wednesday, November 06, 2002 10:13 AM To: cygwin-xfree@cygwin.com Subject: Re: Rootless mode with Query mode Jean-Claude Gervais wrote: > > Hi, > > If I start XWin with the following parameters, :0 -rootless -query hostname > > I get the Redhat login dialog box, which appears with NO background. > > This is good. > > Then when I log in, whether I select GNOME or KDE, the KDE/GNOME desktop > background always appears. > > Is there a way to prevent this? > > I'd like to have the Gnome or KDE taskbar and start menu, but not a desktop > like it does. > > And even if I configure KDE/GNOME to have NO desktop, they both still want > to at least draw a color background. I'm not familiar with KDE but for gnome the file manager (nautilus) is also resposible for drawing the desktop icons and these are drawn in a full size window. I think you can disable that somewhere in the nautilus preferences. I suppose the KDE file manager has the same behaviour. Staf. +----------------------------------------+-----------------------------+ |Staf Verhaegen (staf.verhaegen@imec.be) |ADRESS: IMEC vzw. - ASP/LITHO| |tel: 016/ 281 783 | Kapeldreef 75 | |fax: 016/ 281 214 | 3001 Leuven (Belgium)| +----------------------------------------+-----------------------------+ For every tool there are at least 2 uses: the one it was designed for and the other for which it wasn't. From cygwin-xfree@cygwin.com Wed Nov 6 08:57:00 2002 From: cygwin-xfree@cygwin.com (Christopher Faylor) Date: Wed, 06 Nov 2002 08:57:00 -0000 Subject: [franl@world.std.com: Anyone want a Windows bitmap font version of the X11 6x10 font?] Message-ID: <20021106161327.GG10719@redhat.com> Redirected to correct mailing list. ----- Forwarded message from Francis Litterio ----- From: Francis Litterio To: cygwin@cygwin.com Subject: Anyone want a Windows bitmap font version of the X11 6x10 font? Date: Wed, 06 Nov 2002 09:07:48 -0500 Mail-Followup-To: cygwin@cygwin.com I wasn't able to find a Windows version of the classic X11 6x10 bitmap font, so I made one myself. I've got it to work with NT Emacs and Cygwin's rxvt. If anyone wants it, email me. -- Francis Litterio franl@world.std.com http://world.std.com/~franl/ GPG and PGP public keys available on keyservers. ----- End forwarded message ----- From zakki@peppermint.jp Wed Nov 6 09:06:00 2002 From: zakki@peppermint.jp (Matsuzaki Kensuke) Date: Wed, 06 Nov 2002 09:06:00 -0000 Subject: [patch]Rootless mode resouce leak Message-ID: Hello, Here is a patch which make it sure that rootless mode delete region. And I cleaned up the code for handling region. I tested it, and "DeleteObject or SetWindowRgn" are surely called for every "CreateRectRegion". But still the memory size increased. Please help. Mastuzaki Kensuke. -------------- next part -------------- A non-text attachment was scrubbed... Name: rootless_leak.patch Type: application/octet-stream Size: 2341 bytes Desc: not available URL: From huntharo@msu.edu Wed Nov 6 09:08:00 2002 From: huntharo@msu.edu (Harold L Hunt II) Date: Wed, 06 Nov 2002 09:08:00 -0000 Subject: xfree leaking memory? In-Reply-To: <00e501c28513$0ac8f490$6501a8c0@sprymusic.com> References: <00e501c28513$0ac8f490$6501a8c0@sprymusic.com> <3DC83F97.9050502@msu.edu> <20021106020756.GA4680@redhat.com> Message-ID: <3DC94C1B.70206@msu.edu> Kensuke --- This may be related to why you do not see the XWin.exe memory usage decrease even with your new patch. Chris, Interesting. I guess you learn something new everyday. Hmm... it seems like the memory should be returned to the Windows heap at some point (yeah yeah, patches accepted) if only for the reason that a user with 256 MB of RAM and a 512 MB swap file maximum may at one point have 512 MB allocated in Cygwin... when most of this 512 MB was freed it would end up being swapped to disk (even though it contained no data) and it would sit there plugging the virtual memory file until the user unloaded all applications that use cygwin1.dll. I think this design may have been okay before Cygwin/XFree86 became popular, but now people are using applications on Cygwin that do indeed have the potential to allocate several hundred megabytes of memory, so perhaps it is time for a redesign. With that being said, are there any volunteers out there willing to spend a few months looking into this and developing a robust solution? :) Harold Christopher Faylor wrote: >On Tue, Nov 05, 2002 at 05:00:55PM -0500, Harold L Hunt II wrote: > > >>It was mentioned that the memory size increased when a new X window >>(such as an xterm) is opened, but that it does not decrease when that >>window is destroyed. This indicates one of a few things to me: >> >>1) We are not freeing our window privates (directly or indirectly). >>This seems plausible, but I don't think our window privates are even 1 >>kilobyte. >> >> > >I thought I should point out that Cygwin doesn't currently return deallocated >memory to the windows pool. So, the heap only gets larger. > >It does reuse previously allocated memory, of course. So, a >malloc/free/malloc will not necessarily consume any more system memory. > >So, if the memory size grows every time an xterm is opened but then >does not get any larger if subsequent xterms are closed and opened, >then that is probably expected behavior. > >cgf > > From huntharo@msu.edu Wed Nov 6 09:46:00 2002 From: huntharo@msu.edu (Harold L Hunt II) Date: Wed, 06 Nov 2002 09:46:00 -0000 Subject: [patch]Rootless mode resouce leak In-Reply-To: References: Message-ID: <3DC94C94.10408@msu.edu> Excellent. I have put this in my queue. Harold Matsuzaki Kensuke wrote: >Hello, > >Here is a patch which make it sure that rootless mode delete region. >And I cleaned up the code for handling region. > >I tested it, and "DeleteObject or SetWindowRgn" are surely called for every >"CreateRectRegion". >But still the memory size increased. > >Please help. > >Mastuzaki Kensuke. > > > From Cary.Jamison@powerquest.com Wed Nov 6 11:11:00 2002 From: Cary.Jamison@powerquest.com (Cary Jamison) Date: Wed, 06 Nov 2002 11:11:00 -0000 Subject: Mousewheel stops scrolling Message-ID: I have found a strange case where the mousewheel will stop working. I have a virtual desktop manager (goScreen). When I switch from another desktop to my XWin desktop the mousewheel will not work until I move the pointer off XWin and back on again. All other mouse buttons continue to work fine, it is only the wheel (buttons 4/5) for scrolling up/down that stops working. I've tried to duplicate this using similar methods such as minimizing and maximizing XWin and using alt-tab to switch other windows in front of XWin but those seem to work fine. Cary ---- Cary Jamison Cary.Jamison@PowerQuest.com (801) 705-8685 voice (801) 705-4685 fax From keith@keithtyler.com Wed Nov 6 11:22:00 2002 From: keith@keithtyler.com (Keith D. Tyler) Date: Wed, 06 Nov 2002 11:22:00 -0000 Subject: Randall, please don't post here In-Reply-To: <20021106022749.GB4680@redhat.com> from "Christopher Faylor" at Nov 05, 2002 09:27:49 PM Message-ID: <200211061910.gA6JAwx32392@shell.faradic.net> For the record, I checked my copy. It didn't have any mention of -rootless. That doesn't mean that someone has or hasnt thought to add such a section to it. Instead of flogging an obvious novice (lars) who couldn't find the option, which is partially understandable as it wasn't documented, I thought perhaps that reflection on the current-ness of the packaged documentation would be more productive and positive than vented impatience. Granted, as Russell pointed out to me, it is preferred that people search the archives before pestering the discussion list, and I agree with that philosophy in theory and practice, but not everyone gets it. (Including my boss.) On the other hand, it seems one could argue that we would never need man pages in the Internet age, as everyone who needs to know how to use something can just search through the archives of the mailing list dedicated to that program. I'm not sure that's the best method of disseminating documentation, though. As for me, I'll be sure to be more specific in the future. Regards, Kdt Christopher Faylor was recently quoted as saying... > > I'm not sure what you are pleading for but I don't see why asking people > to contribute is a terrible thing on any list. And, pointing out that > it is ludicrous to ask hundreds of people (i.e., the people on this > mailing list) to check on something like "Is it in the man page yet" > when one could easily check this on their on system is not something > that even a (shudder) "newbie" should have problems with. From huntharo@msu.edu Wed Nov 6 15:35:00 2002 From: huntharo@msu.edu (Harold L Hunt II) Date: Wed, 06 Nov 2002 15:35:00 -0000 Subject: Randall, please don't post here In-Reply-To: <200211061910.gA6JAwx32392@shell.faradic.net> References: <200211061910.gA6JAwx32392@shell.faradic.net> Message-ID: <3DC96C05.2010805@msu.edu> Keith, I mentioned that I had updated the man page, but not the XFree86-man package. This thread has been resolved to my satisfaction: people flew off the handle, people appologized, it is all over now. Please let this be the last message in this thread. Harold Keith D. Tyler wrote: >For the record, I checked my copy. It didn't have any mention of -rootless. >That doesn't mean that someone has or hasnt thought to add such a section to it. >Instead of flogging an obvious novice (lars) who couldn't find the option, which >is partially understandable as it wasn't documented, I thought perhaps that >reflection on the current-ness of the packaged documentation would be more >productive and positive than vented impatience. > >Granted, as Russell pointed out to me, it is preferred that people search the >archives before pestering the discussion list, and I agree with that philosophy in >theory and practice, but not everyone gets it. (Including my boss.) On the other >hand, it seems one could argue that we would never need man pages in the Internet >age, as everyone who needs to know how to use something can just search through the >archives of the mailing list dedicated to that program. I'm not sure that's the >best method of disseminating documentation, though. > >As for me, I'll be sure to be more specific in the future. > >Regards, > >Kdt > >Christopher Faylor was recently quoted as saying... > > >>I'm not sure what you are pleading for but I don't see why asking people >>to contribute is a terrible thing on any list. And, pointing out that >>it is ludicrous to ask hundreds of people (i.e., the people on this >>mailing list) to check on something like "Is it in the man page yet" >>when one could easily check this on their on system is not something >>that even a (shudder) "newbie" should have problems with. >> >> From sharris@newedgenetworks.com Wed Nov 6 15:42:00 2002 From: sharris@newedgenetworks.com (Harris, Shane) Date: Wed, 06 Nov 2002 15:42:00 -0000 Subject: Problem with keymap under cygwin-xfree Message-ID: <170830AA1EB8D611AD2300508B6BD10A8AA98E@smaug.newedgenetworks.com> I have looked all over the list archive for the answer to this, with no results. So I am going to ask. Apologies if this has been covered somewhere before. I am having a maddening problem with xfree86 not recognizing some keys on my keyboard. And what is odd about this is that they are just the number keys (not the number pad), the backspace key and the tab key that appear to not be recognized. These keys work in other win32 applications, as well as the cygwin bash shell. I am at a total loss on this. If anyone can help, it would be much appreciated. From rrschulz@cris.com Wed Nov 6 18:12:00 2002 From: rrschulz@cris.com (Randall R Schulz) Date: Wed, 06 Nov 2002 18:12:00 -0000 Subject: Randall, please don't post here In-Reply-To: <200211061910.gA6JAwx32392@shell.faradic.net> References: <20021106022749.GB4680@redhat.com> Message-ID: <5.1.0.14.2.20021106153620.01fed210@pop3.cris.com> Keith, [ My own given name being a sensitive point with me, I'm posting this despite Harold's request to let his message be the last on this thread. So "for the record..." ] At 11:10 2002-11-06, you wrote: >For the record, I checked my copy. It didn't have any mention of -rootless. >That doesn't mean that someone has or hasnt thought to add such a section >to it. >Instead of flogging an obvious novice (lars) who couldn't find the option, >which >is partially understandable as it wasn't documented, I thought perhaps that >reflection on the current-ness of the packaged documentation would be more >productive and positive than vented impatience. Harold Hunt posted this as part of the original thread that made me so cranky: >>Randall, >> >>Be nice. >> >>I posted an announcement for XFree86-xserv-4.2.0-15, but I did not >>mention that you should use the ``-rootless'' parameter for the rootless >>mode. Rootless mode is in the stable release, but it is still considered >>experimental because it may leak memory and it may have certain >>undesireable behaviors. Although, it seems that rootless mode is pretty >>much complete because there have not been any significant complaints. >> >>I did a little SNAFU with respect to the man page because I updated the >>man page, but I did not roll a new release of the man pages package. I >>should probably do that, but I don't think many users will be pleased >>with redownloading all XFree86 man pages just to get one new one. I will >>have to think about that one. >> >>Harold This, then, is part of the answer to Keith's inability to find a mention of "-rootless" in the on-line documentation. >Granted, as Russell pointed out to me, it is preferred that people search the >archives before pestering the discussion list, and I agree with that >philosophy in >theory and practice, but not everyone gets it. (Including my boss.) On the >other >hand, it seems one could argue that we would never need man pages in the >Internet >age, as everyone who needs to know how to use something can just search >through the >archives of the mailing list dedicated to that program. I'm not sure >that's the >best method of disseminating documentation, though. Given that I see no Russell in this discussion or anywhere in my Cygwin-XFree86 archive, I assume Kevin's referring to me. I'm Randall. "Randy" if you can say it without snickering... >As for me, I'll be sure to be more specific in the future. > >Regards, > >Kdt > >Christopher Faylor was recently quoted as saying... > > > > I'm not sure what you are pleading for but I don't see why asking people > > to contribute is a terrible thing on any list. And, pointing out that > > it is ludicrous to ask hundreds of people (i.e., the people on this > > mailing list) to check on something like "Is it in the man page yet" > > when one could easily check this on their on system is not something > > that even a (shudder) "newbie" should have problems with. Randall Schulz Mountain View, CA USA From j_tetazoo@hotmail.com Wed Nov 6 18:43:00 2002 From: j_tetazoo@hotmail.com (Thomas Chadwick) Date: Wed, 06 Nov 2002 18:43:00 -0000 Subject: Problem with keymap under cygwin-xfree Message-ID: Make sure NumLock and CapsLock are both OFF. That can sometimes cause problem with certain X clients. If that's not the culprit, try running xev and see if X is even getting the keypress events. If xev spews a bunch of messages when pressing one of the keys in questions, cut-and-paste them to the list and we'll have a look-see. One other thing, post the contents of /tmp/XWin.log. >From: "Harris, Shane" >Reply-To: cygwin-xfree@cygwin.com >To: "'cygwin-xfree@cygwin.com'" >Subject: Problem with keymap under cygwin-xfree >Date: Wed, 6 Nov 2002 15:35:37 -0800 > >I have looked all over the list archive for the answer to this, with no >results. So I am going to ask. Apologies if this has been covered somewhere >before. > >I am having a maddening problem with xfree86 not recognizing some keys on >my >keyboard. And what is odd about this is that they are just the number keys >(not the number pad), the backspace key and the tab key that appear to not >be recognized. These keys work in other win32 applications, as well as the >cygwin bash shell. I am at a total loss on this. If anyone can help, it >would be much appreciated. _________________________________________________________________ Add photos to your messages with MSN 8. Get 2 months FREE*. http://join.msn.com/?page=features/featuredemail From huntharo@pilot.msu.edu Wed Nov 6 21:32:00 2002 From: huntharo@pilot.msu.edu (Harold L Hunt II) Date: Wed, 06 Nov 2002 21:32:00 -0000 Subject: AltGR problems with Windows XP In-Reply-To: <3DC551E2.4080803@schessner.de> Message-ID: Andreas, You obviously changed a heck of a lot more than just winProcessKeyEvent is only defined when WIN_NEW_KEYBOARD_SUPPORT is YES (while it is NO by default and basically comments out an incomplete experimental feature so that I could make a release). However, you call the other version of winTranslateKey. Can you just send me a diff against the current CVS? Harold -----Original Message----- From: cygwin-xfree-owner@cygwin.com [mailto:cygwin-xfree-owner@cygwin.com]On Behalf Of Andreas Schessner Sent: Sunday, November 03, 2002 11:42 AM To: cygwin-xfree@cygwin.com Subject: AltGR problems with Windows XP Hello, I use the X server of Cygwin/XFree86 (XWin) and it is working fine on my Windows 2000 Workstation but running the same version on my Notebook (Windows XP) causes problems with the AltGr handling. I've noticed that pressing the AltGr Key produces a KeyPress-Control_L KeyPress-Mode_switch KeyRelease-Control_L KeyRelease-Mode_switch event sequence (see xev output at the end of this mail). I began to trace the code (winkeybd.c, function winIsFakeCtrl_L) and found out that on my XP notebook the windows messages VK_CONTROL (the faked Control_L) and VK_MENU don't have the same timestamp and it is not always possible to get the following VK_MENU message by issuing the PeekMessage(). I don't know if this problem is relating to my Notebook (Dell Latitude) or to Windows XP. Are there other people having the same problems? Andreas PS. For now I've implemented a workarround. I'm using a translation of the incomming windows messages, which recognizes the fake Control_L messages and filters them out. Changes were made on following sources: win.h, winkeybd.c, winwndproc.c The modified sources can be obtained from mee if desired: This works fine for me... The algorithm is desccribed below as a deterministic finite automata (DFA) input \ state | 0 (start) | 1 | 2 | 3 ---------------------------------------------------------------------------- ---- KeyPressed-CtrlL (PCL) | 1 - | 1 - | 2 PCL | 1 - KeyReleased-CtrlL (RCL) | 0 RCL | 0 PCL,RCL | 3 - | 0 RCL KeyPressed-AltR (PAR) | 0 PAR | 2 PAR | 2 PAR | 0 PAR KeyReleased-AltR (RAR) | 0 RAR | 0 PCL,RAR | 1 RAR | 0 RAR any other key (*) | 0 * | 0 PCL,* | 2 * | 0 * States: 0 (start),1,2,3 input and output alphabet: KeyPressed-CtrlL (PCL), KeyReleased-CtrlL (RCL), KeyPressed-AltR (PAR), KeyReleased-AltR (RAR), no key (-), any other key(*) the table shows the transitions: e.g. assume you are in state "1" and you receive a KeyReleased-CtrlL message then the new state of the DFA would be "0" and the events for KeyPressed-CtrlL and KeyReleased-CtrlL are sent to the XWin X-Server. Implementation: ========================================================= void winProcessKeyEvent (DWORD dwVirtualKey, DWORD dwKeyData) { static int iState = 0; /* initial State of DFA */ static int iCtrlCode = 0; /* initialized when first pressed... */ Bool fDown = ((dwKeyData & 0x80000000) == 0); Bool fExt = ((HIWORD(dwKeyData) & KF_EXTENDED) != 0); int iPreKeyCode = XK_VoidSymbol; Bool fCtrlUp, fCtrlDown, fMenuUp, fMenuDown; int iKeyCode, i; winTranslateKey (dwVirtualKey, dwKeyData, &iKeyCode); /* * determine the input for the DFA * (we use boolean indicators instead of an real alphabet) */ fCtrlUp = fCtrlDown = fMenuUp = fMenuDown = FALSE; if (dwVirtualKey == VK_CONTROL) { iCtrlCode = iKeyCode; /* save the scan code for VK_CONTROL */ if (fDown) fCtrlDown=TRUE; else fCtrlUp =TRUE; } else if (dwVirtualKey == VK_MENU && fExt) { if (fDown) fMenuDown=TRUE; else fMenuUp =TRUE; } #if CYGDEBUG ErrorF("winProcessKeyEvent: 0x%0x, 0x%0x\n",dwVirtualKey,dwKeyData); ErrorF("State=%d Input=0x%0x (%s) ",iState,dwVirtualKey,(fDown?"DOWN":"UP")); #endif switch (iState) { default: case 0 : if (fCtrlDown) { iState=1; iKeyCode=XK_VoidSymbol; } else { iState=0; } break; case 1 : if (fCtrlDown) { iState=1; } else if (fMenuDown) { iState=2; } else { iState=0; iPreKeyCode=iCtrlCode; } break; case 2 : if (fCtrlUp) { iState=3; } else if (fMenuUp) { iState=1; } else { iState=2; } break; case 3 : if (fCtrlDown) { iState=1; iKeyCode=XK_VoidSymbol; } else { iState=0; } break; } #if CYGDEBUG ErrorF(" -> State=%d", iState); if (iPreKeyCode != XK_VoidSymbol) ErrorF(" 0x%0x [0x0],",iPreKeyCode); ErrorF(" 0x%0x [0x%0x]\n",iKeyCode,dwKeyData); #endif if (iPreKeyCode != XK_VoidSymbol) winSendKeyEvent(iPreKeyCode,TRUE); if (iKeyCode != XK_VoidSymbol) for (i = 0; i < LOWORD(dwKeyData); ++i) winSendKeyEvent(iKeyCode, (dwKeyData & 0x80000000)==0); } Output of xev with the original XWin: ========================================================= KeyPress event, serial 22, synthetic NO, window 0xa00001, root 0x36, subw 0xa00002, time 249118172, (38,43), root:(591,66), state 0x0, keycode 37 (keysym 0xffe3, Control_L), same_screen YES, XLookupString gives 0 characters: "" KeyPress event, serial 22, synthetic NO, window 0xa00001, root 0x36, subw 0xa00002, time 249118172, (38,43), root:(591,66), state 0x4, keycode 113 (keysym 0xff7e, Mode_switch), same_screen YES, XLookupString gives 0 characters: "" KeyRelease event, serial 22, synthetic NO, window 0xa00001, root 0x36, subw 0xa00002, time 249118303, (38,43), root:(591,66), state 0x2004, keycode 37 (keysym 0xffe3, Control_L), same_screen YES, XLookupString gives 0 characters: "" KeyRelease event, serial 22, synthetic NO, window 0xa00001, root 0x36, subw 0xa00002, time 249118303, (38,43), root:(591,66), state 0x2000, keycode 113 (keysym 0xff7e, Mode_switch), same_screen YES, XLookupString gives 0 characters: "" KeyPress event, serial 22, synthetic NO, window 0xa00001, root 0x36, subw 0xa00002, time 249119024, (38,43), root:(591,66), state 0x0, keycode 38 (keysym 0x61, a), same_screen YES, XLookupString gives 1 characters: "a" .... KeyPress event, serial 22, synthetic NO, window 0xa00001, root 0x36, subw 0xa00002, time 249131181, (38,43), root:(591,66), state 0x0, keycode 37 (keysym 0xffe3, Control_L), same_screen YES, XLookupString gives 0 characters: "" KeyPress event, serial 22, synthetic NO, window 0xa00001, root 0x36, subw 0xa00002, time 249131191, (38,43), root:(591,66), state 0x4, keycode 113 (keysym 0xff7e, Mode_switch), same_screen YES, XLookupString gives 0 characters: "" KeyRelease event, serial 22, synthetic NO, window 0xa00001, root 0x36, subw 0xa00002, time 249131381, (38,43), root:(591,66), state 0x2004, keycode 113 (keysym 0xff7e, Mode_switch), same_screen YES, XLookupString gives 0 characters: "" KeyPress event, serial 22, synthetic NO, window 0xa00001, root 0x36, subw 0xa00002, time 249132383, (38,43), root:(591,66), state 0x4, keycode 38 (keysym 0x61, a), same_screen YES, XLookupString gives 1 characters: "" From huntharo@pilot.msu.edu Wed Nov 6 21:35:00 2002 From: huntharo@pilot.msu.edu (Harold L Hunt II) Date: Wed, 06 Nov 2002 21:35:00 -0000 Subject: Cygwin/XFree86 patch Message-ID: Changes ======= 1) Fix memory leaks in rootless mode. (Kensuke Matsuzaki) Harold -------------- next part -------------- A non-text attachment was scrubbed... Name: xwin-20021107-0015.diff Type: application/octet-stream Size: 2496 bytes Desc: not available URL: From huntharo@pilot.msu.edu Wed Nov 6 22:01:00 2002 From: huntharo@pilot.msu.edu (Harold L Hunt II) Date: Wed, 06 Nov 2002 22:01:00 -0000 Subject: Cygwin/XFree86 patch - Supercedes previous message Message-ID: [Oops, forgot to turn off layer support in win.h] Changes ======= 1) Fix memory leaks in rootless mode. (Kensuke Matsuzaki) Harold -------------- next part -------------- A non-text attachment was scrubbed... Name: xwin-20021107-0015.diff Type: application/octet-stream Size: 3019 bytes Desc: not available URL: From huntharo@pilot.msu.edu Wed Nov 6 23:06:00 2002 From: huntharo@pilot.msu.edu (Harold L Hunt II) Date: Wed, 06 Nov 2002 23:06:00 -0000 Subject: [ANNOUNCEMENT] Server Test 69 Message-ID: Links: I just posted Test 69 to the server development page: http://xfree86.cygwin.com/devel/shadow/ You can install the Test 69 package via setup.exe by selecting the 'test' package (and be sure to check the 'Bin' box): XFree86-xserv-4.2.0-16 Server Test Series binary and source code releases are now available via the sources.redhat.com ftp mirror network (http://cygwin.com/mirrors.html) in the pub/cygwin/xfree/devel/shadow/ directory. You may wish to note the desired filename in the links below, then download from your closest mirror (http://cygwin.com/mirrors.html). Server binary, direct link: http://www.msu.edu/~huntharo/xwin/shadow/XWin-Test69.exe.bz2 (1192 KiB) Server source, direct link: http://www.msu.edu/~huntharo/xwin/shadow/xwin-20021107-0015.tar.bz2 (90 KiB) xc/programs/Xserver/hw/xwin (all files) diff against 20021107 XFree86 CVS: http://www.msu.edu/~huntharo/xwin/shadow/xwin-20021107-0015.diff (3 KiB) Changes: 1) Fix memory leaks in rootless mode. (Kensuke Matsuzaki) [Note: the rootless mode is enabled with the ``-rootless'' command-line parameter.] 2) The test releases, and all future stable releases, are now built with GCC 3.2. There were no problems encountered when switching to the new compiler version. (Harold Hunt) Enjoy, Harold From tuckkhai@yahoo.com Thu Nov 7 07:58:00 2002 From: tuckkhai@yahoo.com (Lee Tuck) Date: Thu, 07 Nov 2002 07:58:00 -0000 Subject: running postgresql command in cygwin environment from windows environment Message-ID: <20021107070605.8454.qmail@web10506.mail.yahoo.com> Hi, i check through the mailing list and i still can't find the answer for the above question. I hope to run the postgresql command (for e.g. pg_dump) in the cygwin environment from windows platform. I was hoping to click on a bat file to execute the process. How can this be done? Thanks. Regards, Lee __________________________________________________ Do you Yahoo!? U2 on LAUNCH - Exclusive greatest hits videos http://launch.yahoo.com/u2 From cygwin@cygwin.com Thu Nov 7 08:41:00 2002 From: cygwin@cygwin.com (cygwin@cygwin.com) Date: Thu, 07 Nov 2002 08:41:00 -0000 Subject: running postgresql command in cygwin environment from windows environment In-Reply-To: <20021107070605.8454.qmail@web10506.mail.yahoo.com> References: <20021107070605.8454.qmail@web10506.mail.yahoo.com> Message-ID: <20021107160004.GA28177@redhat.com> Wrong mailing list. Redirected. On Wed, Nov 06, 2002 at 11:06:05PM -0800, Lee Tuck wrote: >Hi, >i check through the mailing list and i still can't >find the answer for the above question. I hope to run >the postgresql command (for e.g. pg_dump) in the >cygwin environment from windows platform. I was hoping >to click on a bat file to execute the process. How can >this be done? >Thanks. >Regards, >Lee From sharris@newedgenetworks.com Thu Nov 7 10:44:00 2002 From: sharris@newedgenetworks.com (Harris, Shane) Date: Thu, 07 Nov 2002 10:44:00 -0000 Subject: Problem with keymap under cygwin-xfree Message-ID: <170830AA1EB8D611AD2300508B6BD10A8AA98F@smaug.newedgenetworks.com> Thank you. I have made sure NumLock And CapsLock are OFF. I have attached the output of xev when I strike the keys 0-9, backspace, -, = and tab. I included some of the standard letter keys which do, in fact, work. Also attached is /tmp/Xwin.log. One thing I did try in all of this was ensuring I had a valid 104 key us pc .Xmodmap in ~. that produced exactly the same results I am seeing now. Thanks. -----Original Message----- From: Thomas Chadwick [mailto:j_tetazoo@hotmail.com] Sent: Wednesday, November 06, 2002 6:12 PM To: cygwin-xfree@cygwin.com Subject: Re: Problem with keymap under cygwin-xfree Make sure NumLock and CapsLock are both OFF. That can sometimes cause problem with certain X clients. If that's not the culprit, try running xev and see if X is even getting the keypress events. If xev spews a bunch of messages when pressing one of the keys in questions, cut-and-paste them to the list and we'll have a look-see. One other thing, post the contents of /tmp/XWin.log. >From: "Harris, Shane" >Reply-To: cygwin-xfree@cygwin.com >To: "'cygwin-xfree@cygwin.com'" >Subject: Problem with keymap under cygwin-xfree >Date: Wed, 6 Nov 2002 15:35:37 -0800 > >I have looked all over the list archive for the answer to this, with no >results. So I am going to ask. Apologies if this has been covered somewhere >before. > >I am having a maddening problem with xfree86 not recognizing some keys on >my >keyboard. And what is odd about this is that they are just the number keys >(not the number pad), the backspace key and the tab key that appear to not >be recognized. These keys work in other win32 applications, as well as the >cygwin bash shell. I am at a total loss on this. If anyone can help, it >would be much appreciated. _________________________________________________________________ Add photos to your messages with MSN 8. Get 2 months FREE*. http://join.msn.com/?page=features/featuredemail -------------- next part -------------- A non-text attachment was scrubbed... Name: XWin.log Type: application/octet-stream Size: 2227 bytes Desc: not available URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: xev.log Type: application/octet-stream Size: 16384 bytes Desc: not available URL: From c_twiner@hotmail.com Thu Nov 7 10:51:00 2002 From: c_twiner@hotmail.com (Chris Twiner) Date: Thu, 07 Nov 2002 10:51:00 -0000 Subject: how does xwin resolve ip addresses Message-ID: 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 From c_twiner@hotmail.com Thu Nov 7 11:06:00 2002 From: c_twiner@hotmail.com (Chris Twiner) Date: Thu, 07 Nov 2002 11:06:00 -0000 Subject: how does xwin resolve ip addresses Message-ID: 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*. http://join.msn.com/?page=features/featuredemail From salah_z@yahoo.com Thu Nov 7 11:27:00 2002 From: salah_z@yahoo.com (Salah Zerrougui) Date: Thu, 07 Nov 2002 11:27:00 -0000 Subject: Running multiple servers from Windows Terminal Server Message-ID: <20021107190648.90549.qmail@web10402.mail.yahoo.com> Hello, I have used Cygwin/Xfree86 on PCs for around a year now, without any problems. Now i have some users who run their applications on Thin clients Terminals hooked to a Windows NT 4 (Terminal server edition) (RDP protocol). I installed the latest version of Cygwin/Xfree86 and created two batch files : X0.bat ---------- SET DISPLAY=127.0.0.1:0.0 . . start /B XWin -ac -query peis07 -screen 0 1024x768x16 -engine 4 And X1.bat SET DISPLAY=127.0.0.1:1.1 . . start /B XWin -ac -query peis07 -screen 1 1024x768x16 -engine 4 I set two Terminals one running X0.bat and the other one X1.bat, now each of them works fine as long as i don't launch the other. Probably TCP Port problem ??? My questions are : 1) Can this work properly ? is there any other parameters to pass to Xwin ? 2) Is someone using Cygwin/Xfree86 in a Terminal Server Environement ? What are the issues that you may have encounter, and what solutions did you implement to solve them ? Thank you for your help in advance, Salah Zerrougui __________________________________________________ Do you Yahoo!? U2 on LAUNCH - Exclusive greatest hits videos http://launch.yahoo.com/u2 From Cary.Jamison@powerquest.com Thu Nov 7 11:37:00 2002 From: Cary.Jamison@powerquest.com (Cary Jamison) Date: Thu, 07 Nov 2002 11:37:00 -0000 Subject: Mousewheel stops scrolling Message-ID: "Cary Jamison" wrote in message news:... > I have found a strange case where the mousewheel will stop working. > > I have a virtual desktop manager (goScreen). When I switch from another desktop to my XWin desktop the mousewheel will not work until I move the pointer off XWin and back on again. All other mouse buttons continue to work fine, it is only the wheel (buttons 4/5) for scrolling up/down that stops working. > > I've tried to duplicate this using similar methods such as minimizing and maximizing XWin and using alt-tab to switch other windows in front of XWin but those seem to work fine. > > Cary An additional piece of information...I tried xev and it doesn't see anything from the wheel, either. Cary ---- Cary Jamison Cary.Jamison@PowerQuest.com (801) 705-8685 voice (801) 705-4685 fax From Alexander.Gottwald@s1999.tu-chemnitz.de Thu Nov 7 11:39:00 2002 From: Alexander.Gottwald@s1999.tu-chemnitz.de (Alexander Gottwald) Date: Thu, 07 Nov 2002 11:39:00 -0000 Subject: how does xwin resolve ip addresses In-Reply-To: Message-ID: Chris Twiner wrote: > Tried it, but it made no difference. Have you copied the cygwin1-net.dll to /bin/cygwin1.dll? After what the ls_netdev log showed, the change should report the interface. Can you please run ls_netdev again? bye ago NP: Project Pitchfork - We Are One -- Alexander.Gottwald@informatik.tu-chemnitz.de http://www.gotti.org ICQ: 126018723 From jc.gervais@videotron.ca Thu Nov 7 11:43:00 2002 From: jc.gervais@videotron.ca (Jean-Claude Gervais) Date: Thu, 07 Nov 2002 11:43:00 -0000 Subject: Running multiple servers from Windows Terminal Server In-Reply-To: <20021107190648.90549.qmail@web10402.mail.yahoo.com> Message-ID: <002c01c28695$1f965470$6501a8c0@sprymusic.com> Hi Salah, I can attest that XWin will work over RDP and over Netmeeting too. One thing, I usually use -engine 1, so that the drawing will be done by GDI because RDP didn't seem to be able to get the data (all I would get was a big white square or a big transparent square). I use these on a workstation though, either Windows XP, sharing its desktop or Windows 2000 with Netmeeting Remote Desktop Sharing (they are two different things). Both work fine. As for Windows Terminal Server, I can't say. -----Original Message----- From: cygwin-xfree-owner@cygwin.com [mailto:cygwin-xfree-owner@cygwin.com]On Behalf Of Salah Zerrougui Sent: Thursday, November 07, 2002 2:07 PM To: cygwin-xfree@cygwin.com Subject: Running multiple servers from Windows Terminal Server Hello, I have used Cygwin/Xfree86 on PCs for around a year now, without any problems. Now i have some users who run their applications on Thin clients Terminals hooked to a Windows NT 4 (Terminal server edition) (RDP protocol). I installed the latest version of Cygwin/Xfree86 and created two batch files : X0.bat ---------- SET DISPLAY=127.0.0.1:0.0 . . start /B XWin -ac -query peis07 -screen 0 1024x768x16 -engine 4 And X1.bat SET DISPLAY=127.0.0.1:1.1 . . start /B XWin -ac -query peis07 -screen 1 1024x768x16 -engine 4 I set two Terminals one running X0.bat and the other one X1.bat, now each of them works fine as long as i don't launch the other. Probably TCP Port problem ??? My questions are : 1) Can this work properly ? is there any other parameters to pass to Xwin ? 2) Is someone using Cygwin/Xfree86 in a Terminal Server Environement ? What are the issues that you may have encounter, and what solutions did you implement to solve them ? Thank you for your help in advance, Salah Zerrougui __________________________________________________ Do you Yahoo!? U2 on LAUNCH - Exclusive greatest hits videos http://launch.yahoo.com/u2 From Alexander.Gottwald@s1999.tu-chemnitz.de Thu Nov 7 11:56:00 2002 From: Alexander.Gottwald@s1999.tu-chemnitz.de (Alexander Gottwald) Date: Thu, 07 Nov 2002 11:56:00 -0000 Subject: Running multiple servers from Windows Terminal Server In-Reply-To: <20021107190648.90549.qmail@web10402.mail.yahoo.com> Message-ID: Salah Zerrougui wrote: > start /B XWin -ac -query peis07 -screen 0 1024x768x16 > start /B XWin -ac -query peis07 -screen 1 1024x768x16 Some terminology: In X, a display is an Xserver listening on a specific port. The TCP port is 6000 + display number The screen is a subsection of a display. Each display is one XServer. But there can be multiple screens on one display. You have to start the first with XWin :0 more_options and the second with XWin :1 more_options You can omit the :0 since this is the default value. bye ago NP: Project Pitchfork - We Are One -- Alexander.Gottwald@informatik.tu-chemnitz.de http://www.gotti.org ICQ: 126018723 From huntharo@msu.edu Thu Nov 7 11:58:00 2002 From: huntharo@msu.edu (Harold L Hunt) Date: Thu, 07 Nov 2002 11:58:00 -0000 Subject: Running multiple servers from Windows Terminal Server Message-ID: <200211071956.gA7Ju1936510@pilot27.cl.msu.edu> Salah, There are three components to the DISPLAY variable: IP_ADDRESS_OR_HOSTNAME:DISPLAY_NUMBER.SCREEN_NUMBER Your X1.bat sets DISPLAY to 127.0.0.1:1.1, but you never tell XWin.exe that it is using display 1. You tell XWin.exe to use a different display number with the ``:n'' parameter: XWin :1 -screen 1 -query host_foo Also, it is a really bad idea to use the ``-ac'' parameter on a network with other users... this allows any host to connect and snoop on the X display, possibly grabbing passwords and/or screenshots, etc. You do not need to specify the 1024x768x16 information with the ``-screen'' parameter and it is probably better that you do not (in which case XWin.exe will size its window to fit the available desktop area). You do not need the ``/B'' parameter on start anymore. XWin.exe automatically detaches from the console now. Finally, you do not need to, and it is recommended that you do not, specify the ``-engine n'' parameter. The server automatically determines which engine to use based upon which version of DirectDraw is installed. In fact, it will ignore your request to use an engine that conflicts with the version of DirectDraw installed, so you might as well just leave off the -engine and let XWin.exe figure it out for you. I would have the following: X0.bat: set DISPLAY=127.0.0.1:0.0 start XWin -query peis07 X1.bat: set DISPLAY=127.0.0.1:1.0 start XWin :1 -query peis07 Good luck. Harold Salah Zerrougui said: > Hello, > > I have used Cygwin/Xfree86 on PCs for around a year > now, without any > problems. > Now i have some users who run their applications on > Thin clients Terminals > hooked to > a Windows NT 4 (Terminal server edition) (RDP > protocol). > I installed the latest version of Cygwin/Xfree86 and > created two batch > files : > > X0.bat > ---------- > SET DISPLAY=127.0.0.1:0.0 > . > . > start /B XWin -ac -query peis07 -screen 0 1024x768x16 > -engine 4 > > And > > X1.bat > SET DISPLAY=127.0.0.1:1.1 > . > . > start /B XWin -ac -query peis07 -screen 1 1024x768x16 > -engine 4 > > I set two Terminals one running X0.bat and the other > one X1.bat, now each > of them works fine as long as i don't launch the > other. > Probably TCP Port problem ??? > > My questions are : > 1) Can this work properly ? is there any other > parameters to pass to Xwin > ? > 2) Is someone using Cygwin/Xfree86 in a Terminal > Server Environement ? > What are the issues > that you may have encounter, and what solutions > did you implement to > solve them ? > > Thank you for your help in advance, > > Salah Zerrougui > > __________________________________________________ > Do you Yahoo!? > U2 on LAUNCH - Exclusive greatest hits videos > http://launch.yahoo.com/u2 > From salah_z@yahoo.com Thu Nov 7 12:22:00 2002 From: salah_z@yahoo.com (Salah Zerrougui) Date: Thu, 07 Nov 2002 12:22:00 -0000 Subject: Running multiple servers from Windows Terminal Server Message-ID: <20021107195844.51267.qmail@web10407.mail.yahoo.com> Alexander, Thank you for the clarifications, but it still did not work. Now i have X0.bat SET DISPLAY=127.0.0.1:0.0 . . start /B XWin :0 -ac -query peis07 -screen 0 1024x768x16 -engine 1 X1.bat SET DISPLAY=127.0.0.1:1.1 . . start /B XWin :1 -ac -query peis07 -screen 1 1024x768x16 -engine 1 Am'i missing something ? Thank you, Salah. __________________________________________________ Do you Yahoo!? U2 on LAUNCH - Exclusive greatest hits videos http://launch.yahoo.com/u2 From salah_z@yahoo.com Thu Nov 7 12:43:00 2002 From: salah_z@yahoo.com (Salah Zerrougui) Date: Thu, 07 Nov 2002 12:43:00 -0000 Subject: Running multiple servers from Windows Terminal Server Message-ID: <20021107204309.72535.qmail@web10405.mail.yahoo.com> Harold, With these 2 scripts, i could open 2 sessions, but Keystrokes i enter on the second, results are displayed on the first. But Im quite sure that it is related to the script taht launches the software which is (Derby Associates REX. -For -ac, i could not find a way to avoid it, it seems that the client needs to authenticate to the server. Users In our environement have not the knowledge to snoop or otherwise so it is not big issue for now. However if there is a way to implement it easily, please point me to the howto, and i'll be more than happy to give it a try. Thank you for your help, i really appreciate it. Salah. Thank you, Salah. Harold wrote >I would have the following: >X0.bat: >set DISPLAY=127.0.0.1:0.0 >start XWin -query peis07 >X1.bat: >set DISPLAY=127.0.0.1:1.0 >start XWin :1 -query peis07 __________________________________________________ Do you Yahoo!? U2 on LAUNCH - Exclusive greatest hits videos http://launch.yahoo.com/u2 From j_tetazoo@hotmail.com Thu Nov 7 12:43:00 2002 From: j_tetazoo@hotmail.com (Thomas Chadwick) Date: Thu, 07 Nov 2002 12:43:00 -0000 Subject: Problem with keymap under cygwin-xfree Message-ID: Looking at XWin.log, I can tell you're using an XF86Config file. However, your settings seem to match mine, which is good, I think, since I don't use an XF86Config file at all (resulting in defaults). Since xev is telling us that the X server is at least getting the keystrokes, a work-around would be to systematically figure out the keycodes using xev, and then add them to your .Xmodmap file. For instance, if xev reports that pressing the "1" key gives you keycode 200, then put "keycode 200 = 1 exclam" in .Xmodmap. As for the root cause? I'm at a loss to explain it. However, I'm not exactly an expert on the subject, so hopefully someone else on the list may be able to figure it out. One other thought: Maybe your keyboard isn't a "standard 101/102-key keyboard"? What does the Windows Device Manager identify your keyboard as? >From: "Harris, Shane" >Reply-To: cygwin-xfree@cygwin.com >To: "'cygwin-xfree@cygwin.com'" >Subject: RE: Problem with keymap under cygwin-xfree >Date: Thu, 7 Nov 2002 08:41:22 -0800 > >Thank you. I have made sure NumLock And CapsLock are OFF. I have attached >the output of xev when I strike the keys 0-9, backspace, -, = and tab. I >included some of the standard letter keys which do, in fact, work. Also >attached is /tmp/Xwin.log. > >One thing I did try in all of this was ensuring I had a valid 104 key us pc >.Xmodmap in ~. >that produced exactly the same results I am seeing now. > >Thanks. > >-----Original Message----- >From: Thomas Chadwick [mailto:j_tetazoo@hotmail.com] >Sent: Wednesday, November 06, 2002 6:12 PM >To: cygwin-xfree@cygwin.com >Subject: Re: Problem with keymap under cygwin-xfree > > >Make sure NumLock and CapsLock are both OFF. That can sometimes cause >problem with certain X clients. > >If that's not the culprit, try running xev and see if X is even getting the >keypress events. If xev spews a bunch of messages when pressing one of the >keys in questions, cut-and-paste them to the list and we'll have a >look-see. > >One other thing, post the contents of /tmp/XWin.log. > > >From: "Harris, Shane" > >Reply-To: cygwin-xfree@cygwin.com > >To: "'cygwin-xfree@cygwin.com'" > >Subject: Problem with keymap under cygwin-xfree > >Date: Wed, 6 Nov 2002 15:35:37 -0800 > > > >I have looked all over the list archive for the answer to this, with no > >results. So I am going to ask. Apologies if this has been covered >somewhere > >before. > > > >I am having a maddening problem with xfree86 not recognizing some keys on > >my > >keyboard. And what is odd about this is that they are just the number >keys > >(not the number pad), the backspace key and the tab key that appear to >not > >be recognized. These keys work in other win32 applications, as well as >the > >cygwin bash shell. I am at a total loss on this. If anyone can help, it > >would be much appreciated. > > >_________________________________________________________________ >Add photos to your messages with MSN 8. Get 2 months FREE*. >http://join.msn.com/?page=features/featuredemail > ><< XWin.log >> ><< xev.log >> _________________________________________________________________ Protect your PC - get McAfee.com VirusScan Online http://clinic.mcafee.com/clinic/ibuy/campaign.asp?cid=3963 From Alexander.Gottwald@s1999.tu-chemnitz.de Thu Nov 7 13:07:00 2002 From: Alexander.Gottwald@s1999.tu-chemnitz.de (Alexander Gottwald) Date: Thu, 07 Nov 2002 13:07:00 -0000 Subject: how does xwin resolve ip addresses In-Reply-To: Message-ID: Alexander Gottwald wrote: > Can you please run ls_netdev again? I've sync the ls_netdev source to use the same algorithm as the cygwin.dll. So please get the archive again. http://www.tu-chemnitz.de/~goal/xfree/ls_netdev.tar.gz bye ago NP: Project Pitchfork - Fear -- Alexander.Gottwald@informatik.tu-chemnitz.de http://www.gotti.org ICQ: 126018723 From cygwin-xfree@cygwin.com Thu Nov 7 13:18:00 2002 From: cygwin-xfree@cygwin.com (cygwin-xfree@cygwin.com) Date: Thu, 07 Nov 2002 13:18:00 -0000 Subject: Xwin.exe application failed to initialize errors with KDE In-Reply-To: <20021107205455.93088.qmail@web10505.mail.yahoo.com> References: <20021107205455.93088.qmail@web10505.mail.yahoo.com> Message-ID: <20021107210924.GD22698@redhat.com> Wrong mailing list. Redirected. (and discussion blocked from cygwin at cygwin dot com) On Thu, Nov 07, 2002 at 12:54:55PM -0800, Reginald Roberts wrote: >Hi, I installed cygwin today. It works fine, and the >XFree86 systemworks fine as weel. > >I then installed KDE2.2.2.1 ( I had errors when using >the setup.exe download tool, so I downloaded the *.bz2 >files by hand and extracted them like the instructions >said to do), and now XWin.exe and other applications >are giving me an error which says "The Application >failed to initialize properly (0xc0000022)..." > >Does anyone know what causes this to happen? > >-reggie From sharris@newedgenetworks.com Thu Nov 7 13:28:00 2002 From: sharris@newedgenetworks.com (Harris, Shane) Date: Thu, 07 Nov 2002 13:28:00 -0000 Subject: Problem with keymap under cygwin-xfree Message-ID: <170830AA1EB8D611AD2300508B6BD10A8AA9A3@smaug.newedgenetworks.com> Device Manager identifies it as a Standard 101/102-Key. The problem with the workaround is that pressing the '1' key reports as keycode 43 and generates an h. Pressing an 'h' also reports as keycode 43 and generates an h. Hence, if I remap keycode 43, I now have a 1, but no h. This is so freakin mystifying. Why would two keys report the same keycode when pressed?? -----Original Message----- From: Thomas Chadwick [mailto:j_tetazoo@hotmail.com] Sent: Thursday, November 07, 2002 12:22 PM To: sharris@newedgenetworks.com; cygwin-xfree@cygwin.com Subject: RE: Problem with keymap under cygwin-xfree Looking at XWin.log, I can tell you're using an XF86Config file. However, your settings seem to match mine, which is good, I think, since I don't use an XF86Config file at all (resulting in defaults). Since xev is telling us that the X server is at least getting the keystrokes, a work-around would be to systematically figure out the keycodes using xev, and then add them to your .Xmodmap file. For instance, if xev reports that pressing the "1" key gives you keycode 200, then put "keycode 200 = 1 exclam" in .Xmodmap. As for the root cause? I'm at a loss to explain it. However, I'm not exactly an expert on the subject, so hopefully someone else on the list may be able to figure it out. One other thought: Maybe your keyboard isn't a "standard 101/102-key keyboard"? What does the Windows Device Manager identify your keyboard as? >From: "Harris, Shane" >Reply-To: cygwin-xfree@cygwin.com >To: "'cygwin-xfree@cygwin.com'" >Subject: RE: Problem with keymap under cygwin-xfree >Date: Thu, 7 Nov 2002 08:41:22 -0800 > >Thank you. I have made sure NumLock And CapsLock are OFF. I have attached >the output of xev when I strike the keys 0-9, backspace, -, = and tab. I >included some of the standard letter keys which do, in fact, work. Also >attached is /tmp/Xwin.log. > >One thing I did try in all of this was ensuring I had a valid 104 key us pc >.Xmodmap in ~. >that produced exactly the same results I am seeing now. > >Thanks. > >-----Original Message----- >From: Thomas Chadwick [mailto:j_tetazoo@hotmail.com] >Sent: Wednesday, November 06, 2002 6:12 PM >To: cygwin-xfree@cygwin.com >Subject: Re: Problem with keymap under cygwin-xfree > > >Make sure NumLock and CapsLock are both OFF. That can sometimes cause >problem with certain X clients. > >If that's not the culprit, try running xev and see if X is even getting the >keypress events. If xev spews a bunch of messages when pressing one of the >keys in questions, cut-and-paste them to the list and we'll have a >look-see. > >One other thing, post the contents of /tmp/XWin.log. > > >From: "Harris, Shane" > >Reply-To: cygwin-xfree@cygwin.com > >To: "'cygwin-xfree@cygwin.com'" > >Subject: Problem with keymap under cygwin-xfree > >Date: Wed, 6 Nov 2002 15:35:37 -0800 > > > >I have looked all over the list archive for the answer to this, with no > >results. So I am going to ask. Apologies if this has been covered >somewhere > >before. > > > >I am having a maddening problem with xfree86 not recognizing some keys on > >my > >keyboard. And what is odd about this is that they are just the number >keys > >(not the number pad), the backspace key and the tab key that appear to >not > >be recognized. These keys work in other win32 applications, as well as >the > >cygwin bash shell. I am at a total loss on this. If anyone can help, it > >would be much appreciated. > > >_________________________________________________________________ >Add photos to your messages with MSN 8. Get 2 months FREE*. >http://join.msn.com/?page=features/featuredemail > ><< XWin.log >> ><< xev.log >> _________________________________________________________________ Protect your PC - get McAfee.com VirusScan Online http://clinic.mcafee.com/clinic/ibuy/campaign.asp?cid=3963 From Alexander.Gottwald@s1999.tu-chemnitz.de Thu Nov 7 13:31:00 2002 From: Alexander.Gottwald@s1999.tu-chemnitz.de (Alexander Gottwald) Date: Thu, 07 Nov 2002 13:31:00 -0000 Subject: Xwin.exe application failed to initialize errors with KDE In-Reply-To: <20021107210924.GD22698@redhat.com> Message-ID: cygwin-xfree@cygwin.com wrote: > >I then installed KDE2.2.2.1 ( I had errors when using > >the setup.exe download tool, so I downloaded the *.bz2 > >files by hand and extracted them like the instructions > >said to do), and now XWin.exe and other applications > >are giving me an error which says "The Application > >failed to initialize properly (0xc0000022)..." please check if you have more than one cygwin1.dll installed on your system (search all drives for this file). If you have more than one of these libraries delete all _except_ c:\cygwin\bin\cygwin1.dll (if you've installed cygwin in c:\cygwin) bye ago NP: Funker Vogt - History -- Alexander.Gottwald@informatik.tu-chemnitz.de http://www.gotti.org ICQ: 126018723 From cgf@redhat.com Thu Nov 7 14:06:00 2002 From: cgf@redhat.com (Christopher Faylor) Date: Thu, 07 Nov 2002 14:06:00 -0000 Subject: Xwin.exe application failed to initialize errors with KDE In-Reply-To: References: <20021107210924.GD22698@redhat.com> Message-ID: <20021107213353.GA23508@redhat.com> On Thu, Nov 07, 2002 at 10:28:16PM +0100, Alexander Gottwald wrote: >cygwin-xfree@cygwin.com wrote: > >> >I then installed KDE2.2.2.1 ( I had errors when using >> >the setup.exe download tool, so I downloaded the *.bz2 >> >files by hand and extracted them like the instructions >> >said to do), and now XWin.exe and other applications >> >are giving me an error which says "The Application >> >failed to initialize properly (0xc0000022)..." > >please check if you have more than one cygwin1.dll installed on your >system (search all drives for this file). >If you have more than one of these libraries delete all _except_ >c:\cygwin\bin\cygwin1.dll (if you've installed cygwin in c:\cygwin) This is sometimes a problem with executables not being properly set to "executable". A "chmod a+x *.exe *.dll" might also solve the problem. cgf From regrob2@yahoo.com Thu Nov 7 14:22:00 2002 From: regrob2@yahoo.com (Reginald Roberts) Date: Thu, 07 Nov 2002 14:22:00 -0000 Subject: Xwin.exe application failed to initialize errors with KDE In-Reply-To: Message-ID: <20021107220623.28446.qmail@web10503.mail.yahoo.com> I only have one occurance of the dll on my system. It's in the proper place. -reggie --- Alexander Gottwald wrote: > cygwin-xfree@cygwin.com wrote: > > > >I then installed KDE2.2.2.1 ( I had errors when > using > > >the setup.exe download tool, so I downloaded the > *.bz2 > > >files by hand and extracted them like the > instructions > > >said to do), and now XWin.exe and other > applications > > >are giving me an error which says "The > Application > > >failed to initialize properly (0xc0000022)..." > > please check if you have more than one cygwin1.dll > installed on your > system (search all drives for this file). > If you have more than one of these libraries delete > all _except_ > c:\cygwin\bin\cygwin1.dll (if you've installed > cygwin in c:\cygwin) > > bye > ago > > NP: Funker Vogt - History > -- > Alexander.Gottwald@informatik.tu-chemnitz.de > http://www.gotti.org ICQ: 126018723 > __________________________________________________ Do you Yahoo!? U2 on LAUNCH - Exclusive greatest hits videos http://launch.yahoo.com/u2 From huntharo@msu.edu Thu Nov 7 14:35:00 2002 From: huntharo@msu.edu (Harold L Hunt II) Date: Thu, 07 Nov 2002 14:35:00 -0000 Subject: Mousewheel stops scrolling References: Message-ID: <3DCAE7B8.60702@msu.edu> Cary, I will have to produce a Win32 message tester for you to run and send me the output of. I am a little bit strapped down right now with homework, so it will have to wait a little while. Harold Cary Jamison wrote: > "Cary Jamison" wrote in message > news:... > >>I have found a strange case where the mousewheel will stop working. >> >>I have a virtual desktop manager (goScreen). When I switch from > > another desktop to my XWin desktop the mousewheel will not work until I > move the pointer off XWin and back on again. All other mouse buttons > continue to work fine, it is only the wheel (buttons 4/5) for scrolling > up/down that stops working. > >>I've tried to duplicate this using similar methods such as minimizing > > and maximizing XWin and using alt-tab to switch other windows in front > of XWin but those seem to work fine. > >>Cary > > > An additional piece of information...I tried xev and it doesn't see > anything from the wheel, either. > > Cary > > ---- > Cary Jamison > Cary.Jamison@PowerQuest.com > (801) 705-8685 voice > (801) 705-4685 fax From mario.ohnewald@gmx.de Thu Nov 7 14:37:00 2002 From: mario.ohnewald@gmx.de (Mario Ohnewald) Date: Thu, 07 Nov 2002 14:37:00 -0000 Subject: Cygwin Connection Tool for Windows Message-ID: Hello! I wrote a little tool and called it Cygwin Connection Tool. You can find infos about it on http://thelinuxbeat.nu-sec.de/cygwin_tool/ I its under the GPL license, and written in Visual Basic. My Aim is to write it in C++ some time. I was wondering if i do/did something illegal by using its Icon, Name, whatever. I do not want something wich the Cygewin Team/Developer do not want. I wrote it as a little helpful tool, and why should i not share it with others? It??s my very first Project, so please forgive and tell me if i did something wrong. Cheers, Mario From huntharo@msu.edu Thu Nov 7 23:36:00 2002 From: huntharo@msu.edu (Harold L Hunt II) Date: Thu, 07 Nov 2002 23:36:00 -0000 Subject: Xwin.exe application failed to initialize errors with KDE References: <20021107220623.28446.qmail@web10503.mail.yahoo.com> Message-ID: <3DCAEB14.3070300@msu.edu> Reginald, Follow Chris's suggestion about setting the flags on the files. If that doesn't work, I once helped a user install KDE on Cygwin/XFree86. I don't know why, but for some reason that user felt the need to copy about five random Cygwin and KDE dlls into \WINNT\SYSTEM32. His system was giving roughly the same errors and failing to start Cygwin/XFree86. I started poking around, found those DLLs, removed them, and everything worked fine. Point being: try to remember if you copied any DLLs anywhere and delete those extra copies. You did get the KDE package that replaces a few of the XFree86 DLLs with SHM-enabled versions, right? That package is essential. Harold Reginald Roberts wrote: > I only have one occurance of the dll on my system. > It's in the proper place. > > -reggie > > --- Alexander Gottwald > wrote: > >>cygwin-xfree@cygwin.com wrote: >> >> >>>>I then installed KDE2.2.2.1 ( I had errors when >>> >>using >> >>>>the setup.exe download tool, so I downloaded the >>> >>*.bz2 >> >>>>files by hand and extracted them like the >>> >>instructions >> >>>>said to do), and now XWin.exe and other >>> >>applications >> >>>>are giving me an error which says "The >>> >>Application >> >>>>failed to initialize properly (0xc0000022)..." >>> >>please check if you have more than one cygwin1.dll >>installed on your >>system (search all drives for this file). >>If you have more than one of these libraries delete >>all _except_ >>c:\cygwin\bin\cygwin1.dll (if you've installed >>cygwin in c:\cygwin) >> >>bye >> ago >> >>NP: Funker Vogt - History >>-- >> Alexander.Gottwald@informatik.tu-chemnitz.de >> http://www.gotti.org ICQ: 126018723 >> > > > > __________________________________________________ > Do you Yahoo!? > U2 on LAUNCH - Exclusive greatest hits videos > http://launch.yahoo.com/u2 From Thomas.Waelde@equant.com Fri Nov 8 01:25:00 2002 From: Thomas.Waelde@equant.com (Thomas.Waelde@equant.com) Date: Fri, 08 Nov 2002 01:25:00 -0000 Subject: XServer with no local GUI like KDE Message-ID: Dear all, pls, provide. I want to have a non-visible X11-Server via Cygwin. This means, i want to open xterms from remote Servers on the normal Microsoft - Windows. Pls, who can i start the Cygwin-X-Server being absolutely in the backgroud ? Pls, is there any way to do this with Cygwin. Thks in advance n brgds Thomas Eschborn, 5th Floor Rahmannstr. 11, 65760 Eschborn, Germany Phone: +49 (0) 6196 / 962 173 CVN: 205 - 2173 Mobile: +49 (0) 173 / 347 2757 Fax: +49 (0) 6196 / 962222 E-Mail: Thomas.Waelde@Equant.com From mbardiaux@peaktime.be Fri Nov 8 03:59:00 2002 From: mbardiaux@peaktime.be (Michel Bardiaux) Date: Fri, 08 Nov 2002 03:59:00 -0000 Subject: XServer with no local GUI like KDE References: Message-ID: <3DCB82E2.9338EB99@peaktime.be> Thomas.Waelde@equant.com wrote: > > Dear all, > > pls, provide. > > I want to have a non-visible X11-Server via Cygwin. > This means, i want to open xterms from remote Servers on > the normal Microsoft - Windows. > > Pls, who can i start the Cygwin-X-Server being absolutely in the backgroud > ? > > Pls, is there any way to do this with Cygwin. > > Thks in advance n brgds > Thomas > With X11, the server is the display, not the machine running the application. If you want xterm running on A with display on B, both being Windows machines, you need to run an X server on B (cygwin or other), then run xterm (possibly the cygwin one) on A. If that is not what you want, please clarify. Cheers, -- Michel Bardiaux Peaktime Belgium S.A. Bd. du Souverain, 191 B-1160 Bruxelles Tel : +32 2 790.29.41 From colin.harrison@virgin.net Fri Nov 8 05:28:00 2002 From: colin.harrison@virgin.net (Colin Harrison) Date: Fri, 08 Nov 2002 05:28:00 -0000 Subject: Xwin.exe application failed to initialize errors with KDE Message-ID: <200211081158.gA8Bwwi12061@chamonix.straightrunning.com> Hi, May not be related but.. I can confirm that the latest cygwin/xfree stuff now fails with the kde-cygwin 2.2.2 beta 1. It used to run like a dog anyway, but now freezes up. Eventually get in pretty crippled. I've got the startx log, if anyone interested? Colin From danilo.turina@alcatel.it Fri Nov 8 08:18:00 2002 From: danilo.turina@alcatel.it (Danilo Turina) Date: Fri, 08 Nov 2002 08:18:00 -0000 Subject: XServer with no local GUI like KDE In-Reply-To: References: Message-ID: <3DCBBBAE.9060509@alcatel.it> I don't understand clearly what you want, but maybe the -rootless parameter of XWin.exe could be useful. With "-rootless" applications displayed by the XServer seems notive Windows applications in that they lay on Windows desktop. In any case you need to start a window manager (twm, WindowMaker, icewm, ecc.). Bye, Danilo Turina Thomas.Waelde@equant.com wrote: > Dear all, > > pls, provide. > > I want to have a non-visible X11-Server via Cygwin. > This means, i want to open xterms from remote Servers on > the normal Microsoft - Windows. > > Pls, who can i start the Cygwin-X-Server being absolutely in the backgroud > ? > > Pls, is there any way to do this with Cygwin. > > Thks in advance n brgds > Thomas > > > Eschborn, 5th Floor > Rahmannstr. 11, 65760 Eschborn, Germany > Phone: +49 (0) 6196 / 962 173 > CVN: 205 - 2173 > Mobile: +49 (0) 173 / 347 2757 > Fax: +49 (0) 6196 / 962222 > E-Mail: Thomas.Waelde@Equant.com > > From danilo.turina@alcatel.it Fri Nov 8 09:49:00 2002 From: danilo.turina@alcatel.it (Danilo Turina) Date: Fri, 08 Nov 2002 09:49:00 -0000 Subject: XServer with no local GUI like KDE In-Reply-To: References: Message-ID: <3DCBBBAE.9060509@alcatel.it> I don't understand clearly what you want, but maybe the -rootless parameter of XWin.exe could be useful. With "-rootless" applications displayed by the XServer seems notive Windows applications in that they lay on Windows desktop. In any case you need to start a window manager (twm, WindowMaker, icewm, ecc.). Bye, Danilo Turina Thomas.Waelde@equant.com wrote: > Dear all, > > pls, provide. > > I want to have a non-visible X11-Server via Cygwin. > This means, i want to open xterms from remote Servers on > the normal Microsoft - Windows. > > Pls, who can i start the Cygwin-X-Server being absolutely in the backgroud > ? > > Pls, is there any way to do this with Cygwin. > > Thks in advance n brgds > Thomas > > > Eschborn, 5th Floor > Rahmannstr. 11, 65760 Eschborn, Germany > Phone: +49 (0) 6196 / 962 173 > CVN: 205 - 2173 > Mobile: +49 (0) 173 / 347 2757 > Fax: +49 (0) 6196 / 962222 > E-Mail: Thomas.Waelde@Equant.com > > From satimis@writeme.com Fri Nov 8 12:02:00 2002 From: satimis@writeme.com (Stephen Liu) Date: Fri, 08 Nov 2002 12:02:00 -0000 Subject: Cygwin Connection Tool for Windows In-Reply-To: Message-ID: <5.1.1.6.0.20021109001907.02bf2850@pop.net-yan.com> Hi Mario, Re your tool for Windows. I have it downloaded. Is it just unzip it and install it on Windows then it will work. Any configuration needed? Thanks Stephen At 11:38 PM 2002/11/8 +0100, you wrote: >Hello! >I wrote a little tool and called it Cygwin Connection Tool. >You can find infos about it on http://thelinuxbeat.nu-sec.de/cygwin_tool/ >I its under the GPL license, and written in Visual Basic. >My Aim is to write it in C++ some time. > >I was wondering if i do/did something illegal by using its Icon, Name, >whatever. >I do not want something wich the Cygewin Team/Developer do not want. >I wrote it as a little helpful tool, and why should i not share it with >others? > >It?s my very first Project, so please forgive and tell me if i did something >wrong. > >Cheers, Mario From mario.ohnewald@gmx.de Fri Nov 8 14:06:00 2002 From: mario.ohnewald@gmx.de (Mario Ohnewald) Date: Fri, 08 Nov 2002 14:06:00 -0000 Subject: Cygwin Connection Tool for Windows In-Reply-To: <5.1.1.6.0.20021109001907.02bf2850@pop.net-yan.com> Message-ID: Hi Stephen, you need to set: - XWin.exe file location - Resolution - IP you want to connect to optional: - Network (e.g. 192.169.10.0 --> must end with an 0 !) Plese let me know if it worked for you! Regards, Mario >From: cygwin-xfree-owner@cygwin.com >[mailto:cygwin-xfree-owner@cygwin.com]On Behalf Of Stephen Liu >Hi Mario, >Re your tool for Windows. >I have it downloaded. >Is it just unzip it and install it on Windows then it will work. Any >configuration needed? >Thanks >Stephen >At 11:38 PM 2002/11/8 +0100, you wrote: >>Hello! >>I wrote a little tool and called it Cygwin Connection Tool. >>You can find infos about it on http://thelinuxbeat.nu-sec.de/cygwin_tool/ >>I its under the GPL license, and written in Visual Basic. >>My Aim is to write it in C++ some time. >> >>I was wondering if i do/did something illegal by using its Icon, Name, >>whatever. >>I do not want something wich the Cygewin Team/Developer do not want. >>I wrote it as a little helpful tool, and why should i not share it with >>others? >> >>It??s my very first Project, so please forgive and tell me if i did something >>wrong. >> >>Cheers, Mario > > From j_tetazoo@hotmail.com Fri Nov 8 14:36:00 2002 From: j_tetazoo@hotmail.com (Thomas Chadwick) Date: Fri, 08 Nov 2002 14:36:00 -0000 Subject: [ATTN: Harold] RE: Problem with keymap under cygwin-xfree Message-ID: Strange. I was under the impression that pressing "1" gave you nothing. Given that you're pressing "1" and getting the same keycode as if you pressed "h" is definitely strange. Time for Harold to get involved with this one. >From: "Harris, Shane" >Reply-To: cygwin-xfree@cygwin.com >To: "'cygwin-xfree@cygwin.com'" >Subject: RE: Problem with keymap under cygwin-xfree >Date: Thu, 7 Nov 2002 13:18:49 -0800 > >Device Manager identifies it as a Standard 101/102-Key. >The problem with the workaround is that pressing the '1' key reports as >keycode 43 and generates an h. >Pressing an 'h' also reports as keycode 43 and generates an h. >Hence, if I remap keycode 43, I now have a 1, but no h. >This is so freakin mystifying. Why would two keys report the same keycode >when pressed?? > > >-----Original Message----- >From: Thomas Chadwick [mailto:j_tetazoo@hotmail.com] >Sent: Thursday, November 07, 2002 12:22 PM >To: sharris@newedgenetworks.com; cygwin-xfree@cygwin.com >Subject: RE: Problem with keymap under cygwin-xfree > > >Looking at XWin.log, I can tell you're using an XF86Config file. However, >your settings seem to match mine, which is good, I think, since I don't use >an XF86Config file at all (resulting in defaults). > >Since xev is telling us that the X server is at least getting the >keystrokes, a work-around would be to systematically figure out the >keycodes > >using xev, and then add them to your .Xmodmap file. > >For instance, if xev reports that pressing the "1" key gives you keycode >200, then put "keycode 200 = 1 exclam" in .Xmodmap. > >As for the root cause? I'm at a loss to explain it. However, I'm not >exactly an expert on the subject, so hopefully someone else on the list may >be able to figure it out. > >One other thought: Maybe your keyboard isn't a "standard 101/102-key >keyboard"? What does the Windows Device Manager identify your keyboard as? > > >From: "Harris, Shane" > >Reply-To: cygwin-xfree@cygwin.com > >To: "'cygwin-xfree@cygwin.com'" > >Subject: RE: Problem with keymap under cygwin-xfree > >Date: Thu, 7 Nov 2002 08:41:22 -0800 > > > >Thank you. I have made sure NumLock And CapsLock are OFF. I have attached > >the output of xev when I strike the keys 0-9, backspace, -, = and tab. I > >included some of the standard letter keys which do, in fact, work. Also > >attached is /tmp/Xwin.log. > > > >One thing I did try in all of this was ensuring I had a valid 104 key us >pc > >.Xmodmap in ~. > >that produced exactly the same results I am seeing now. > > > >Thanks. > > > >-----Original Message----- > >From: Thomas Chadwick [mailto:j_tetazoo@hotmail.com] > >Sent: Wednesday, November 06, 2002 6:12 PM > >To: cygwin-xfree@cygwin.com > >Subject: Re: Problem with keymap under cygwin-xfree > > > > > >Make sure NumLock and CapsLock are both OFF. That can sometimes cause > >problem with certain X clients. > > > >If that's not the culprit, try running xev and see if X is even getting >the > >keypress events. If xev spews a bunch of messages when pressing one of >the > >keys in questions, cut-and-paste them to the list and we'll have a > >look-see. > > > >One other thing, post the contents of /tmp/XWin.log. > > > > >From: "Harris, Shane" > > >Reply-To: cygwin-xfree@cygwin.com > > >To: "'cygwin-xfree@cygwin.com'" > > >Subject: Problem with keymap under cygwin-xfree > > >Date: Wed, 6 Nov 2002 15:35:37 -0800 > > > > > >I have looked all over the list archive for the answer to this, with no > > >results. So I am going to ask. Apologies if this has been covered > >somewhere > > >before. > > > > > >I am having a maddening problem with xfree86 not recognizing some keys >on > > >my > > >keyboard. And what is odd about this is that they are just the number > >keys > > >(not the number pad), the backspace key and the tab key that appear to > >not > > >be recognized. These keys work in other win32 applications, as well as > >the > > >cygwin bash shell. I am at a total loss on this. If anyone can help, it > > >would be much appreciated. > > > > > >_________________________________________________________________ > >Add photos to your messages with MSN 8. Get 2 months FREE*. > >http://join.msn.com/?page=features/featuredemail > > > ><< XWin.log >> > ><< xev.log >> > > >_________________________________________________________________ >Protect your PC - get McAfee.com VirusScan Online >http://clinic.mcafee.com/clinic/ibuy/campaign.asp?cid=3963 _________________________________________________________________ MSN 8 with e-mail virus protection service: 2 months FREE* http://join.msn.com/?page=features/virus From gk@proliberty.com Fri Nov 8 15:04:00 2002 From: gk@proliberty.com (gk) Date: Fri, 08 Nov 2002 15:04:00 -0000 Subject: How to set Xresources when using startxwin.bat? Message-ID: <5.1.0.14.2.20021108120700.00ae7598@proliberty.com> I have tried many ways but could not find any documentation on this on the web site or in list archives, etc. I am using startxwin.bat to launch cygwin xfree86. There is a problem using xterm unless I use the twm main menu to set the Xresource: XTerm*deleteIsDEL: true I would like to have cygwin read this config at startup rather than having to manually set it every time. I tried adding the above resource setting to: $HOME/.Xresources - that file doesn't seem to get read though Then I found some discussion where people referred to a different location for Xresources: $HOME/.config/Xresources - that file is not being read either. I have also tried putting this setting in the file: $HOME/.twmrc - this file is being read by twm just fine, but the twm menu doesn't reflect the resource value, if it is being read at all. I would appreciate any help on how Cygwin XFree86, XTerm, twm read set resources and what config files are used. It seems that perhaps there are differences depending on if you start with startxwin.bat or with .xinitrc. I would really like to stick with startxwin.bat if there is a way to get this working. Thanks. Where does - Greg Keraunen From gk@proliberty.com Fri Nov 8 15:34:00 2002 From: gk@proliberty.com (gk) Date: Fri, 08 Nov 2002 15:34:00 -0000 Subject: How to set Xresources when using startxwin.bat? In-Reply-To: <5.1.0.14.2.20021108120700.00ae7598@proliberty.com> Message-ID: <5.1.0.14.2.20021108144000.00af5b38@proliberty.com> I have found the answer to my question. Edited the file: C:\cygwin\etc\x11\app-defaults\XTerm Added the following line at the top: *deleteIsDEL: true At 02:10 PM 11/8/2002 -0800, you wrote: >I have tried many ways but could not find any documentation on this on the >web site or in list archives, etc. > >I am using startxwin.bat to launch cygwin xfree86. >There is a problem using xterm unless I use the twm main menu to set the >Xresource: >XTerm*deleteIsDEL: true > >I would like to have cygwin read this config at startup rather than having >to manually set it every time. >I tried adding the above resource setting to: >$HOME/.Xresources >- that file doesn't seem to get read though > >Then I found some discussion where people referred to a different location >for Xresources: >$HOME/.config/Xresources >- that file is not being read either. > >I have also tried putting this setting in the file: >$HOME/.twmrc >- this file is being read by twm just fine, but the twm menu doesn't >reflect the resource value, if it is being read at all. > >I would appreciate any help on how Cygwin XFree86, XTerm, twm read set >resources and what config files are used. >It seems that perhaps there are differences depending on if you start with >startxwin.bat or with .xinitrc. >I would really like to stick with startxwin.bat if there is a way to get >this working. >Thanks. > >Where does > > >- Greg Keraunen > - Greg Keraunen From huntharo@pilot.msu.edu Fri Nov 8 15:47:00 2002 From: huntharo@pilot.msu.edu (Harold L Hunt II) Date: Fri, 08 Nov 2002 15:47:00 -0000 Subject: Keyboard testing - does anybody have this file? Message-ID: I have made a keyboard message tester before, but I do not seem to have the source code, or even an executable version of the program anymore. The program was announced in the following message on 2001/04/21: http://cygwin.com/ml/cygwin-xfree/2001-q2/msg00843.html The link to the original download, which is no longer there, was: http://www.msu.edu/~huntharo/xwin/KeyboardMessages.zip Does anyone happen to have a copy of the executable and/or the source code? Thanks, Harold From huntharo@pilot.msu.edu Fri Nov 8 20:28:00 2002 From: huntharo@pilot.msu.edu (Harold L Hunt II) Date: Fri, 08 Nov 2002 20:28:00 -0000 Subject: [ATTN: Harold] RE: Problem with keymap under cygwin-xfree In-Reply-To: Message-ID: Okay, run this keyboard tester, press some keys, such as H, Num Lock, Num 1, etc. and send in the results to the mailing list. http://www.msu.edu/~huntharo/xwin/keytest.exe.bz2 (6 KiB) Harold Hunt From sharris@newedgenetworks.com Fri Nov 8 21:03:00 2002 From: sharris@newedgenetworks.com (Harris, Shane) Date: Fri, 08 Nov 2002 21:03:00 -0000 Subject: [ATTN: Harold] RE: Problem with keymap under cygwin-xfree Message-ID: <170830AA1EB8D611AD2300508B6BD10A8AA9AF@smaug.newedgenetworks.com> Ok, the keys i pressed, in order: the 1 (on the top row, NOT on the number pad) the h the numlock, twice the 2 (on the top row, NOT on the number pad) the , as you can see, the 1 and the h are interpreted as the same key, as is the 2 and the , This behaviour holds true for the rest of the number keys across the top row , the dash, the equal sign, the backspace key and the tab key. To the best of my knowledge, all other keys are working correctly. Attached is the output of keytest -----Original Message----- From: Harold L Hunt II [mailto:huntharo@pilot.msu.edu] Sent: Friday, November 08, 2002 3:35 PM To: cygwin-xfree@cygwin.com Subject: RE: [ATTN: Harold] RE: Problem with keymap under cygwin-xfree Okay, run this keyboard tester, press some keys, such as H, Num Lock, Num 1, etc. and send in the results to the mailing list. http://www.msu.edu/~huntharo/xwin/keytest.exe.bz2 (6 KiB) Harold Hunt -------------- next part -------------- A non-text attachment was scrubbed... Name: keytest.log Type: application/octet-stream Size: 784 bytes Desc: not available URL: From dean.bishop@tcdsb.org Sat Nov 9 11:02:00 2002 From: dean.bishop@tcdsb.org (Bishop, Dean) Date: Sat, 09 Nov 2002 11:02:00 -0000 Subject: win95+cygwin1.3.10+Xwin+oldbox=dead network? Message-ID: Good morning, i am quite perplexed with this problem. i am using cygwin on an old Pentium Pro with 128M RAM. i use cygwin to connect to my Redhat 7.3 box. i am using this setup on a couple of other machines (one a p-III and one P-133 each connecting to a different Redhat 7.3 box) The problem here is that after an apparently arbitrary period of time, my Xwindows sessions freezes. As i move my mouse over the window, the display refreshes. Once i stop moving the mouse the refreshes stop. This will continue for about 10 seconds after which the Xwindows session just closes. i am using the clock tick as an indicator of refresh. Additionally, when the Xwindows session dies, so does the rest of my network connection from the win95 box. i am not sure whether the connection is flooded or lost, either way i cannot see other machines on the network (ping fails) nor can i surf the web. Killing the Xwindows session and restarting it corrects the problem. There is a firewall between boxes but i just don't think that this is the problem as all i have to do is close the Xwindows session to regain my network. Any advice would be appreciated. later, dean CYGWIN_95-4.0 SHE 1.3.10(0.51/3/2) 2002-02-25 11:14 i586 unknown From spetreolle@yahoo.fr Sat Nov 9 12:32:00 2002 From: spetreolle@yahoo.fr (=?iso-8859-1?q?Sylvain=20Petreolle?=) Date: Sat, 09 Nov 2002 12:32:00 -0000 Subject: win95+cygwin1.3.10+Xwin+oldbox=dead network? In-Reply-To: Message-ID: <20021109050302.7215.qmail@web10108.mail.yahoo.com> coud you try to update your cygwin ? it's pretty old (2002-02). you didn't give the version of XWin you're using. ___________________________________________________________ Do You Yahoo!? -- Une adresse @yahoo.fr gratuite et en fran??ais ! Yahoo! Mail : http://fr.mail.yahoo.com From nospam@krid.de Sat Nov 9 13:53:00 2002 From: nospam@krid.de (Dirk Bernhardt) Date: Sat, 09 Nov 2002 13:53:00 -0000 Subject: ivtools Message-ID: <3DCD5B95.9040402@krid.de> Hi, I need idraw on this machine. Trying to compile tha package on ivtools.org failed - "make World" complains about headers etc. I guess it is a gcc 3.1 problem? Has anyone managed to compile idraw? If so, how? Thanks, Dirk From mario.ohnewald@gmx.de Sat Nov 9 14:14:00 2002 From: mario.ohnewald@gmx.de (Mario Ohnewald) Date: Sat, 09 Nov 2002 14:14:00 -0000 Subject: Quake3 Arena Dedicated Message-ID: Hello! I tried to run Quake3 dedicated under Cygwin, this is what i get: ---------- Administrator@SPIEKEY ~/quake3_arena $ ./linuxq3apoint-1.32.x86.run Verifying archive integrity...OK Uncompressing Quake III Arena Point Release 1.32 ............................... ............................................................................ .... .................................. source: not found This installation doesn't support glibc-2.1 on CYGWIN_NT-5.0 / x86 (tried to run setup) Fatal error, no tech support email configured in this setup The setup program seems to have failed on x86/glibc-2.1 Fatal error, no tech support email configured in this setup The program returned an error code (1) ---------- Has someone an idea how to solve this? Cheers, Mario From nahor@bravobrava.com Sat Nov 9 18:37:00 2002 From: nahor@bravobrava.com (Jehan) Date: Sat, 09 Nov 2002 18:37:00 -0000 Subject: Quake3 Arena Dedicated In-Reply-To: References: Message-ID: Mario Ohnewald wrote: > Hello! > I tried to run Quake3 dedicated under Cygwin, this is what i get: > > ---------- > Administrator@SPIEKEY ~/quake3_arena > $ ./linuxq3apoint-1.32.x86.run > Verifying archive integrity...OK > Uncompressing Quake III Arena Point Release 1.32 > ............................... > ............................................................................ > .... > .................................. > source: not found > This installation doesn't support glibc-2.1 on CYGWIN_NT-5.0 / x86 > (tried to run setup) > Fatal error, no tech support email configured in this setup > The setup program seems to have failed on x86/glibc-2.1 > > Fatal error, no tech support email configured in this setup > The program returned an error code (1) > ---------- > > > Has someone an idea how to solve this? Yes, run the program on a Linux machine or use the Windows version. Seriously, Cygwin isn't Linux, it's just a layer that gives a source level compatibility with Unix. A program has to be compiled specifically for cygwin to run. And last, if you want to run a dedicated server, why do you ask on the cygwin/xfree mailing list? Asking on the cygwin mailing list would be more appriopriate Jehan From THETOYS@hetnet.nl Sun Nov 10 09:00:00 2002 From: THETOYS@hetnet.nl (Richard Toy) Date: Sun, 10 Nov 2002 09:00:00 -0000 Subject: Unable to get XDMCP to work after cygwin apgrade Message-ID: <000001c2883d$96571ff0$0100a8c0@pluto> Hi I recently upgraded my Cygwin installation on my XP SP1 machine. I used setup to retrieve and then to completely reinstall but once I had finished I could no longer get my Mandrake 9.0 desktop to appear. It is still displayed if I use an older Cygwin installation on a laptop that I have (also XP SP1) but it will not work with the new installation. The only line I change in the standard startwin.bat file is: - start XWin -screen 0 1024 768 -ac -from pluto -query moon This is the contents of the XWin.log file after a failed attempt: - winCreatePrimarySurfaceShadowDDNL - Creating primary surface winCreatePrimarySurfaceShadowDDNL - Created primary surface winCreatePrimarySurfaceShadowDDNL - Attached clipper to primary surface winAllocateFBShadowDDNL - lPitch: 4096 winFinishScreenInitFB - Masks: 00ff0000 0000ff00 000000ff winInitVisualsShadowDDNL - Masks 00ff0000 0000ff00 000000ff BPRGB 8 d 24 bpp 32 winCreateDefColormap - Deferring to fbCreateDefColormap () winScreenInit - returning (EE) No primary keyboard configured (==) Using compiletime defaults for keyboard Rules = "xfree86" Model = "pc101" Layout = "us" Variant = "(null)" Options = "(null)" Could not init font path element /usr/X11R6/lib/X11/fonts/100dpi/, removing from list! (EE) Unable to locate/open config file InitOutput - Error reading config file winDetectSupportedEngines - Windows NT/2000/XP winDetectSupportedEngines - DirectDraw installed winDetectSupportedEngines - Allowing PrimaryDD winDetectSupportedEngines - DirectDraw4 installed winDetectSupportedEngines - Returning, supported engines 0000001f InitOutput - g_iNumScreens: 1 iMaxConsecutiveScreen: 1 winSetEngine - Using Shadow DirectDraw NonLocking winCreateBoundingWindowWindowed - Initial w: 1024 h: 768 winAdjustForAutoHide - Original WorkArea: 0 0 1200 1600 winAdjustForAutoHide - Taskbar is auto hide winAdjustForAutoHide - Found BOTTOM auto-hide taskbar winAdjustForAutoHide - Adjusted WorkArea: 0 0 1199 1600 winCreateBoundingWindowWindowed - WindowClient w 1024 h 768 r 1024 l 0 b 768 t 0 winCreateBoundingWindowWindowed - Returning winCreatePrimarySurfaceShadowDDNL - Creating primary surface winCreatePrimarySurfaceShadowDDNL - Created primary surface winCreatePrimarySurfaceShadowDDNL - Attached clipper to primary surface winAllocateFBShadowDDNL - lPitch: 4096 winFinishScreenInitFB - Masks: 00ff0000 0000ff00 000000ff winInitVisualsShadowDDNL - Masks 00ff0000 0000ff00 000000ff BPRGB 8 d 24 bpp 32 winCreateDefColormap - Deferring to fbCreateDefColormap () winScreenInit - returning (EE) No primary keyboard configured (==) Using compiletime defaults for keyboard Rules = "xfree86" Model = "pc101" Layout = "us" Variant = "(null)" Options = "(null)" Could not init font path element /usr/X11R6/lib/X11/fonts/100dpi/, removing from list! Fatal server error: XDMCP fatal error: Session failed Session 40592002 failed for display :0: cannot open display Anybody got any answers? As I have already said, It worked before the upgrade and the upgrade was a *complete* install After the old C:\Cygwin directory had been removed. Thanks for any help Richard From spetreolle@yahoo.fr Sun Nov 10 10:49:00 2002 From: spetreolle@yahoo.fr (=?iso-8859-1?q?Sylvain=20Petreolle?=) Date: Sun, 10 Nov 2002 10:49:00 -0000 Subject: ivtools In-Reply-To: <3DCD5B95.9040402@krid.de> Message-ID: <20021110023727.47551.qmail@web10102.mail.yahoo.com> --- Dirk Bernhardt a ??crit??: > Hi, > > I need idraw on this machine. Trying to compile tha package on > ivtools.org failed - "make World" complains about headers etc. I > guess > it is a gcc 3.1 problem? Has anyone managed to compile idraw? If > so, how? > > Thanks, > Dirk > Report errors - and notice that a new gcc 3.2 package is out. ___________________________________________________________ Do You Yahoo!? -- Une adresse @yahoo.fr gratuite et en fran??ais ! Yahoo! Mail : http://fr.mail.yahoo.com From jc.gervais@videotron.ca Sun Nov 10 12:43:00 2002 From: jc.gervais@videotron.ca (Jean-Claude Gervais) Date: Sun, 10 Nov 2002 12:43:00 -0000 Subject: Quake3 Arena Dedicated In-Reply-To: Message-ID: <005b01c288da$53d3c230$6501a8c0@sprymusic.com> A hopeless case! I love it. Seriously, Mario, are you trying to simply run Quake3 or are you trying to port it? I think you might be able to get Quake3 to run natively on Cygwin easily, if you had its source code and simply recompiled it. After all, it's mostly a question of running the 3D calculation engine, not doing the rendering, and serving UDP sockets, which Cygwin can do quite well, I'm certain. -----Original Message----- From: cygwin-xfree-owner@cygwin.com [mailto:cygwin-xfree-owner@cygwin.com]On Behalf Of Mario Ohnewald Sent: Saturday, November 09, 2002 3:37 PM To: cygwin-xfree@cygwin.com Subject: Quake3 Arena Dedicated Hello! I tried to run Quake3 dedicated under Cygwin, this is what i get: ---------- Administrator@SPIEKEY ~/quake3_arena $ ./linuxq3apoint-1.32.x86.run Verifying archive integrity...OK Uncompressing Quake III Arena Point Release 1.32 ............................... ............................................................................ .... .................................. source: not found This installation doesn't support glibc-2.1 on CYGWIN_NT-5.0 / x86 (tried to run setup) Fatal error, no tech support email configured in this setup The setup program seems to have failed on x86/glibc-2.1 Fatal error, no tech support email configured in this setup The program returned an error code (1) ---------- Has someone an idea how to solve this? Cheers, Mario From mario.ohnewald@gmx.de Sun Nov 10 13:17:00 2002 From: mario.ohnewald@gmx.de (Mario Ohnewald) Date: Sun, 10 Nov 2002 13:17:00 -0000 Subject: Quake3 Arena Dedicated In-Reply-To: <005b01c288da$53d3c230$6501a8c0@sprymusic.com> Message-ID: Hi I was talking about a dedicated server, no rendering, no frames, no X ;) the thing is that We will get 4Servers Sponsored for our LAN-Party, each with 2GHz, 1GB RAM. Unfortunatelly we will run Windows on it, cause of Battlefield. So, me, Mario thought, NO WAY, i still want UNIX to handle my Gameserver stuff.. The fact that its a dedicated, this is no the right list. Sorry! I thought i sent it to cygwin. Cheers, Mario btw. I got sshd working, did a passwd Administrator, but still cant log in. ;( -----Original Message----- From: cygwin-xfree-owner@cygwin.com [mailto:cygwin-xfree-owner@cygwin.com]On Behalf Of Jean-Claude Gervais Sent: Sunday, November 10, 2002 5:58 PM To: cygwin-xfree@cygwin.com Subject: RE: Quake3 Arena Dedicated A hopeless case! I love it. Seriously, Mario, are you trying to simply run Quake3 or are you trying to port it? I think you might be able to get Quake3 to run natively on Cygwin easily, if you had its source code and simply recompiled it. After all, it's mostly a question of running the 3D calculation engine, not doing the rendering, and serving UDP sockets, which Cygwin can do quite well, I'm certain. -----Original Message----- From: cygwin-xfree-owner@cygwin.com [mailto:cygwin-xfree-owner@cygwin.com]On Behalf Of Mario Ohnewald Sent: Saturday, November 09, 2002 3:37 PM To: cygwin-xfree@cygwin.com Subject: Quake3 Arena Dedicated Hello! I tried to run Quake3 dedicated under Cygwin, this is what i get: ---------- Administrator@SPIEKEY ~/quake3_arena $ ./linuxq3apoint-1.32.x86.run Verifying archive integrity...OK Uncompressing Quake III Arena Point Release 1.32 ............................... ............................................................................ .... .................................. source: not found This installation doesn't support glibc-2.1 on CYGWIN_NT-5.0 / x86 (tried to run setup) Fatal error, no tech support email configured in this setup The setup program seems to have failed on x86/glibc-2.1 Fatal error, no tech support email configured in this setup The program returned an error code (1) ---------- Has someone an idea how to solve this? Cheers, Mario From philippe.bastiani@wanadoo.fr Sun Nov 10 15:05:00 2002 From: philippe.bastiani@wanadoo.fr (Philippe Bastiani) Date: Sun, 10 Nov 2002 15:05:00 -0000 Subject: Lesstif problem ? Message-ID: Hi, Since the last update of Cygwin/XFree86, all my programs hang on startup :( Do you think that it is about a problem of installation? thanks in adcance for your reply, Philippe Cygwin Package Information Package Version Sun 1.13 XFree86-base 4.2.0-1 XFree86-bin 4.2.0-2 XFree86-etc 4.2.0-1 XFree86-fenc 4.2.0-2 XFree86-fnts 4.2.0-2 XFree86-lib 4.2.0-3 XFree86-man 4.2.0-1 XFree86-nest 4.2.0-1 XFree86-prog 4.2.0-1 XFree86-startup-scripts4.2.0-3 XFree86-vfb 4.2.0-1 XFree86-xserv 4.2.0-15 _update-info-dir 00083-1 cygrunsrv 0.95-1 cygutils 1.1.2-1 cygwin 1.3.15-1 cygwin-doc 1.2-1 gcc 3.2-1 gcc-mingw 3.2-20020817-1 gdb 20010428-3 ... From philippe.bastiani@wanadoo.fr Sun Nov 10 15:14:00 2002 From: philippe.bastiani@wanadoo.fr (Philippe Bastiani) Date: Sun, 10 Nov 2002 15:14:00 -0000 Subject: editres Message-ID: Hi, I have already indicated the following problem: i cannot view/edit the values of the resources. Am I the only one in that case? Regard, Philippe From Alexander.Gottwald@s1999.tu-chemnitz.de Sun Nov 10 15:16:00 2002 From: Alexander.Gottwald@s1999.tu-chemnitz.de (Alexander Gottwald) Date: Sun, 10 Nov 2002 15:16:00 -0000 Subject: editres In-Reply-To: Message-ID: Philippe Bastiani wrote: > Hi, > > I have already indicated the following problem: i cannot view/edit the > values of the resources. Lets do it step by step. Start a xterm start editres Menu:Commands|Get Tree Click on the xterm window Select vt100 in the tree Menu:Commands|Show Resource Box Click with mouse button 2 (the one in the middle) on "color0" You should see "black" in the window below Enter text "red" Click on "Apply" Thats it. Now what step does not work for you. > Am I the only one in that case? Guess so. bye ago -- Alexander.Gottwald@informatik.tu-chemnitz.de http://www.gotti.org ICQ: 126018723 From Alexander.Gottwald@s1999.tu-chemnitz.de Mon Nov 11 00:39:00 2002 From: Alexander.Gottwald@s1999.tu-chemnitz.de (Alexander Gottwald) Date: Mon, 11 Nov 2002 00:39:00 -0000 Subject: Cgywin XFree86 assertion failure... In-Reply-To: <20021110203645.84397.qmail@web20509.mail.yahoo.com> Message-ID: Network-Web Admin wrote: > Hi, I googled the exact same error that appeared for > me and found your xfree86 post. And did you understand the message? I wrote something about a mailing list. Why haven't you asked there? > However, the error > appeared for me on a strictly non development machine, > running only windows 2k. It's the first time it's > appeared, so i have virus/trojan concerns as no > software or user habbits have changed, just web > browsing and email. > > MSDN lists a similar error in regards to MS project > and macro debugging, but it wouldn't apply for me (not > installed). Did you ever pin down the cause? - would > really like to know. No. As you can easily figure out from the mailinglist archives, the user never gave further information. And btw: The assert message he sent me named a file which does not exist in cygwin nor the XFree86 source tree. So I can't track this error. And from the little information you and the other poster have given to me, I can not reproduce the error nor have I any clue how it could happen. bye ago BTW: citing the original posting would have it much easier for me to find out what you're talking about. -- Alexander.Gottwald@informatik.tu-chemnitz.de http://www.gotti.org ICQ: 126018723 From Alexander.Gottwald@s1999.tu-chemnitz.de Mon Nov 11 01:11:00 2002 From: Alexander.Gottwald@s1999.tu-chemnitz.de (Alexander Gottwald) Date: Mon, 11 Nov 2002 01:11:00 -0000 Subject: Quake3 Arena Dedicated In-Reply-To: Message-ID: Mario Ohnewald wrote: > So, me, Mario thought, NO WAY, i still want UNIX to handle my Gameserver > stuff.. Cygwin is not UNIX. It's just a layer for POSIX compatiblity. You will not get any advantages of an unix os apart from the programs. bye ago -- Alexander.Gottwald@informatik.tu-chemnitz.de http://www.gotti.org ICQ: 126018723 From c_twiner@hotmail.com Mon Nov 11 01:36:00 2002 From: c_twiner@hotmail.com (Chris Twiner) Date: Mon, 11 Nov 2002 01:36:00 -0000 Subject: how does xwin resolve ip addresses Message-ID: 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 on my part or some conflicting software. I will do the following : 1) re-install the software 2) check dll dependencies and versions between the two machines I'll reply with the results. .... , and I'll do the same here. Ago, I'll try these changes first because it looks much like a bad software installation and nothing to do with cygwin. Unless you'd like to try and get it working with this installation first, in which case I'll delay the changes. Chris _________________________________________________________________ Help STOP SPAM with the new MSN 8 and get 2 months FREE* http://join.msn.com/?page=features/junkmail From jozsefke@freemail.hu Mon Nov 11 02:37:00 2002 From: jozsefke@freemail.hu (Kercso Jozsef) Date: Mon, 11 Nov 2002 02:37:00 -0000 Subject: Problems with xwinclip version 0.5/0.6 Message-ID: <3DCF7445.6060006@freemail.hu> Hi! > o xwinclip-Test06: > The first difference I see when using the latest version of xwinclip > is the marked regions in X windows stay marked after releasing the > left mouse button !! 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? Thanks, Jozsef Kercso From jozsefke@freemail.hu Mon Nov 11 03:19:00 2002 From: jozsefke@freemail.hu (Kercso Jozsef) Date: Mon, 11 Nov 2002 03:19:00 -0000 Subject: -pseudocolor option doesn't work. Please help! Message-ID: <3DCF79CB.1050404@freemail.hu> Hi! I have tried several option, to invoke th pseudocolor mode, but unfortunatelly my program says : "Cannot allocate colors". The program works however under ReflectionX and eXceed. The program is unfortunatelly not free, and I can't share any other information about it. I know, that it's inconvenient, but I can't do anything to change it. The options, that I try, are: - run XWin with -pseudocolor option - run XWin with -depth 8 -fullscreen options - run XWin with -engine 1 in 256 color mode With any of theese options my application doesn't start at all. Has anybody any ideea about it? Thanks Jozsef Kercso From jozsefke@freemail.hu Mon Nov 11 08:08:00 2002 From: jozsefke@freemail.hu (Kercso Jozsef) Date: Mon, 11 Nov 2002 08:08:00 -0000 Subject: Problems with xwinclip version 0.5/0.6 Message-ID: <3DCF8859.1060501@freemail.hu> Hi! In my previous mail I don't said, that I found this behaviour of xwinclip only under Solaris using the CDE desktop. Best Regards Jozsef Kercso From c_twiner@hotmail.com Mon Nov 11 12:23:00 2002 From: c_twiner@hotmail.com (Chris Twiner) Date: Mon, 11 Nov 2002 12:23:00 -0000 Subject: Problems with xwinclip version 0.5/0.6 Message-ID: >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 the flashing continuously. It seems like the application you are using remotely tries to capture the x primary selection as well. This release of xwinclip claims the x selection as soon as a selection has been made. The other application may be doing the same, hence the continuous flashing. You can try using the version I uploaded to the list. It needs to be compiled though, and if you have the latest version of cygwin it probably won't work. I should be able to release a new version of the xwinclip to the mailing list tonight which should work with the latest version, I hope. Regards, Chris _________________________________________________________________ Add photos to your e-mail with MSN 8. Get 2 months FREE*. http://join.msn.com/?page=features/featuredemail From c_twiner@hotmail.com Mon Nov 11 12:56:00 2002 From: c_twiner@hotmail.com (Chris Twiner) Date: Mon, 11 Nov 2002 12:56:00 -0000 Subject: right mouse button again, motif on solaris Message-ID: Hi All, An application, Razor (Motif) that I'm running won't allow the right button to work. After investigation this appears to be a bug in the Motif libraries within Solaris. However as it appears different on different Xservers the common factor seems to be the mouse setting. A post : http://groups.google.co.uk/groups?hl=en&lr=&ie=UTF-8&oe=UTF-8&threadm=3717E713.BBD3D2F1%40soest.hawaii.edu&rnum=2&prev=/groups%3Fq%3Dmotif%2Bproblem%2Bright%2Bmouse%2Bbutton%2Bsolaris%26ie%3DUTF-8%26oe%3DUTF-8%26hl%3Den Seems to indicate that the server tells the client how many mouse buttons are supported. This seems to be a motif issue. Under NEdit for example it is possible to get the right mouse button menu by disabling num-lock, scoll-lock and caps-lock. Of course Razor doesn't work this way. (basic problem is drag and drop doesn't work over ssh, since it uses it's own protocol, so a right mouse button is the only other way to work it). Exceed doesn't share the problem cygwin has. Cygwin's problem seems very similar to the problem indicated by the above post. i.e. cygwin tells the motif version there are X number of buttons and it chooses the last button for right button as default. Is there any way of checking what an individual application believes or indeed checking/changing what the cygwin is telling the clients? Your's confused further, Chris _________________________________________________________________ MSN 8 with e-mail virus protection service: 2 months FREE* http://join.msn.com/?page=features/virus From Cary.Jamison@powerquest.com Mon Nov 11 13:17:00 2002 From: Cary.Jamison@powerquest.com (Cary Jamison) Date: Mon, 11 Nov 2002 13:17:00 -0000 Subject: Mousewheel stops scrolling Message-ID: "Harold L Hunt II" wrote in message news:<3DCAE7B8.60702@msu.edu>... > Cary, > > I will have to produce a Win32 message tester for you to run and send > me > the output of. I am a little bit strapped down right now with homework, > so it will have to wait a little while. > > Harold > That should be fine...I don't consider this very high priority since I have an easy workaround. Thanks! Cary ---- Cary Jamison Cary.Jamison@PowerQuest.com (801) 705-8685 voice (801) 705-4685 fax From STEPHEN.Bovy@ca.com Mon Nov 11 14:09:00 2002 From: STEPHEN.Bovy@ca.com (Bovy, Stephen) Date: Mon, 11 Nov 2002 14:09:00 -0000 Subject: Rootless Mode Anyone ??? Message-ID: <8C6B052884783549B5D30C166853A514EE244F@usilms21.ca.com> I would like to try the new rootless mode, but I cant find any Info on how to use it ... Any suggestions ??? From rrschulz@cris.com Mon Nov 11 23:21:00 2002 From: rrschulz@cris.com (Randall R Schulz) Date: Mon, 11 Nov 2002 23:21:00 -0000 Subject: Rootless Mode Anyone ??? In-Reply-To: <8C6B052884783549B5D30C166853A514EE244F@usilms21.ca.com> Message-ID: <5.1.0.14.2.20021111130049.02c9fc90@pop3.cris.com> OK. Whose turn is it to chastise this? RTFMLA! At 12:56 2002-11-11, Bovy, Stephen wrote: >I would like to try the new rootless mode, but I cant find any >Info on how to use it ... > >Any suggestions ??? From huntharo@msu.edu Tue Nov 12 02:58:00 2002 From: huntharo@msu.edu (Harold L Hunt II) Date: Tue, 12 Nov 2002 02:58:00 -0000 Subject: Rootless Mode Anyone ??? In-Reply-To: <8C6B052884783549B5D30C166853A514EE244F@usilms21.ca.com> References: <8C6B052884783549B5D30C166853A514EE244F@usilms21.ca.com> Message-ID: <3DD02A7F.3060408@msu.edu> Stephen, Use the ``-rootless'' command line parameter for XWin.exe. Harold Bovy, Stephen wrote: >I would like to try the new rootless mode, but I cant find any >Info on how to use it ... > >Any suggestions ??? > > From Dirk.Buehler@DaimlerChrysler.com Tue Nov 12 03:34:00 2002 From: Dirk.Buehler@DaimlerChrysler.com (Dirk.Buehler@DaimlerChrysler.com) Date: Tue, 12 Nov 2002 03:34:00 -0000 Subject: Problems with xedit, xcalc, xfontsel, emacs Message-ID: <0057440040919847000002L472*@MHS> Hi, after a recent update of my cygwin installation on windows 2000, I have experienced the same problems with xedit and xcalc, as described previously in http://sources.redhat.com/ml/cygwin-xfree/2002-06/msg00372.html . Specifically the problems are: - xedit fails with "Error: Shell widget fileMenu has zero width and/or height" - xcalc shows incorrect layout - xfontsel shows incorrect layout and displays "Warning: app-defaults file not properly installed." - emacs does not start up but consumes nearly 100% of the cpu time I have not been using ntsec so far, and the proposed changes to /etc/passwd do not seem to have an effect on the behaviour of the above applications. I did not have the xterm problem. I would be very grateful for any hints to resolve the problem. Best regards, Dirk From civario@mimosa.ceng.ceano.spam.fr Tue Nov 12 03:54:00 2002 From: civario@mimosa.ceng.ceano.spam.fr (gilles civario) Date: Tue, 12 Nov 2002 03:54:00 -0000 Subject: Problems with xedit, xcalc, xfontsel, emacs Message-ID: <3DD0DEB9.706@mimosa.ceng.ceano.spam.fr> It seems that a simlink is broken. civario@HEPATIQUE ~ $ ls -l /usr/X11R6/lib/X11/app-defaults/ total 9 -rwxrwxrwx 1 Administ Aucun 8779 May 11 2002 Mwm* lrwxrwxrwx 1 civario Aucun 131 Jun 6 09:52 app-defaults -> /etc/X11/app-defaults/ civario@HEPATIQUE ~ $ xedit point.f Error: Shell widget fileMenu has zero width and/or height civario@HEPATIQUE ~ $ export XENVIRONMENT=/etc/X11/app-defaults/Xedit civario@HEPATIQUE ~ $ xedit point.f (it works) Gilles. From Cygwin/X Tue Nov 12 04:30:00 2002 From: Cygwin/X (Cygwin/X) Date: Tue, 12 Nov 2002 04:30:00 -0000 Subject: Adding a german keyboard to a default installation ... Message-ID: Hello, I recently downloaded the Cygwin default packages and additionally the complete X11 package, because I have to access several Unix machines via VPN + X-Server from a laptop. I had no problems with the installation and with some try&error I was successful getting the CDE of our AIX on my local screen typing: "xwin -query ... -from ..." (The -from parameter was a must, I suppose because of the VPN access.) Unfortunately I'm not able to install a german keyboard layout even though I tried to apply the tips in this forum. (I hope I did my inquiries with enough care.) That's what I've already tried (without success): (1) Appending "xmodmap -display ... /etc/X11/xmodmap.de" to xinitrc (with and without -display VPN-IP or 127.0.0.1 and different path names) (2) Creating a .xsession file in my home directory with usermodmap=$HOME/.Xmodmap sysmodmap=/usr/lib/X11/xinit/.Xmodmap (the latter folder does not exit on my installation ...) if [ -f $sysmodmap ]; then xmodmap $sysmodmap fi if [ -f $usermodmap ]; then xmodmap $usermodmap fi (3) Trying all combinations of naming the modmap file, i.e. .Xmodmap, xmodmap.de in the different locations Calling the program xmodmap with a map file results in the error message "unable to open display ''". This does not not change when I explicitly enter the IP of my VPN access or 127.0.0.1 ... CAN ANYONE TELL ME IN SIMPLE WORDS WHAT I HAVE TO DO TO ADD A GERMAN KEYBOARD STARTING FROM A SIMPLE DEFAULT INSTALLATION FROM http://cygwin.com/ (+ X11 PACKAGES)? Many thanks! From spetreolle@yahoo.fr Tue Nov 12 04:49:00 2002 From: spetreolle@yahoo.fr (=?iso-8859-1?q?Sylvain=20Petreolle?=) Date: Tue, 12 Nov 2002 04:49:00 -0000 Subject: XF86Config sample / doc Message-ID: <20021112115419.31258.qmail@web10102.mail.yahoo.com> Hi, after upgrading my XFree86 packages I have problems with keyboard (ie set the keymap) so I would now if the packages includes some doc / sample. I know I could log into linux and 'man XF86Config' but it's dead at the moment. ___________________________________________________________ Do You Yahoo!? -- Une adresse @yahoo.fr gratuite et en fran??ais ! Yahoo! Mail : http://fr.mail.yahoo.com From Dirk.Buehler@DaimlerChrysler.com Tue Nov 12 04:57:00 2002 From: Dirk.Buehler@DaimlerChrysler.com (Dirk.Buehler@DaimlerChrysler.com) Date: Tue, 12 Nov 2002 04:57:00 -0000 Subject: Problems with xedit, xcalc, xfontsel, emacs Message-ID: <0057440040975995000002L452*@MHS> Hi Gilles, thanks for your quick help. Indeed it seems that in /usr/X11R6/lib/X11 there existed two entries for "app-defaults". One was a *.lnk and the other was a regular Windows folder that contained the same files as indicated in your email. I renamed the Windows folder and xedit & co work. The emacs problem seems to be a different one, however. Cheers, Dirk From satimis@writeme.com Tue Nov 12 06:19:00 2002 From: satimis@writeme.com (Stephen Liu) Date: Tue, 12 Nov 2002 06:19:00 -0000 Subject: Cygwin Connection Tool for Windows In-Reply-To: References: <5.1.1.6.0.20021109001907.02bf2850@pop.net-yan.com> Message-ID: <5.1.1.6.0.20021112194158.00abc950@pop.net-yan.com> Hi Mario, I encountered problem in installing the "connection tool" OS = WinXP Start -> Run -> setup.exe Following warning pop-up at time of installation Cygwin Connection Tool Setup C:\Windows\Setup.LTS Invalid line in Setup information file Section: Setup 1 File ......... I could not proceed further. Kindly advise. Thanks in advance. Stephen Liu At 06:52 PM 2002/11/9 +0100, you wrote: >Hi Stephen, >you need to set: >- XWin.exe file location >- Resolution >- IP you want to connect to > >optional: >- Network (e.g. 192.169.10.0 --> must end with an 0 !) > > >Plese let me know if it worked for you! > >Regards, Mario > > >From: cygwin-xfree-owner@cygwin.com > >[mailto:cygwin-xfree-owner@cygwin.com]On Behalf Of Stephen Liu > > >Hi Mario, > > >Re your tool for Windows. > > >I have it downloaded. > > >Is it just unzip it and install it on Windows then it will work. Any > >configuration needed? > > >Thanks > > >Stephen > > > >At 11:38 PM 2002/11/8 +0100, you wrote: > >>Hello! > >>I wrote a little tool and called it Cygwin Connection Tool. > >>You can find infos about it on http://thelinuxbeat.nu-sec.de/cygwin_tool/ > >>I its under the GPL license, and written in Visual Basic. > >>My Aim is to write it in C++ some time. > >> > >>I was wondering if i do/did something illegal by using its Icon, Name, > >>whatever. > >>I do not want something wich the Cygewin Team/Developer do not want. > >>I wrote it as a little helpful tool, and why should i not share it with > >>others? > >> > >>It?s my very first Project, so please forgive and tell me if i did >something > >>wrong. > >> > >>Cheers, Mario > > > > From mario.ohnewald@gmx.de Tue Nov 12 06:25:00 2002 From: mario.ohnewald@gmx.de (Mario Ohnewald) Date: Tue, 12 Nov 2002 06:25:00 -0000 Subject: Cygwin Connection Tool for Windows In-Reply-To: <5.1.1.6.0.20021112194158.00abc950@pop.net-yan.com> Message-ID: <000501c28a4b$26788c90$350aa8c0@aradex.local> Hi Liu, > -----Original Message----- > From: cygwin-xfree-owner@cygwin.com > [mailto:cygwin-xfree-owner@cygwin.com]On Behalf Of Stephen Liu > > > Hi Mario, > > I encountered problem in installing the "connection tool" > > OS = WinXP > > Start -> Run -> setup.exe Following warning pop-up at time > of installation > > Cygwin Connection Tool Setup > C:\Windows\Setup.LTS > Invalid line in Setup information file > Section: Setup 1 File > ......... UPS, havent tested it on XP Yet ;( I will try to fix this as soon as i have installed XP on VMWare ;P Did you get it running on Win2k? Changelog: --- 08.11.2002 --- - BUg discovert, it wont load XWin.exe. --> Copy cygwin1.dll and cygz.dll into the system32 directory. This Bug will be fixed soon. > > I could not proceed further. Kindly advise. > > Thanks in advance. > > Stephen Liu > > > At 06:52 PM 2002/11/9 +0100, you wrote: > >Hi Stephen, > >you need to set: > >- XWin.exe file location > >- Resolution > >- IP you want to connect to > > > >optional: > >- Network (e.g. 192.169.10.0 --> must end with an 0 !) > > > > > >Plese let me know if it worked for you! > > > >Regards, Mario > > > > >From: cygwin-xfree-owner@cygwin.com > > >[mailto:cygwin-xfree-owner@cygwin.com]On Behalf Of Stephen Liu > > > > >Hi Mario, > > > > >Re your tool for Windows. > > > > >I have it downloaded. > > > > >Is it just unzip it and install it on Windows then it will > work. Any > > >configuration needed? > > > > >Thanks > > > > >Stephen > > > > > > >At 11:38 PM 2002/11/8 +0100, you wrote: > > >>Hello! > > >>I wrote a little tool and called it Cygwin Connection Tool. > > >>You can find infos about it on > http://thelinuxbeat.nu-sec.de/cygwin_tool/ > > >>I its under the GPL license, and written in Visual Basic. > > >>My Aim is to write it in C++ some time. > > >> > > >>I was wondering if i do/did something illegal by using > its Icon, Name, > > >>whatever. > > >>I do not want something wich the Cygewin Team/Developer > do not want. > > >>I wrote it as a little helpful tool, and why should i not > share it with > > >>others? > > >> > > >>It??s my very first Project, so please forgive and tell me if i did > >something > > >>wrong. > > >> > > >>Cheers, Mario > > > > > > > > From schyllb@algonet.se Tue Nov 12 06:52:00 2002 From: schyllb@algonet.se (Michael Schyllberg) Date: Tue, 12 Nov 2002 06:52:00 -0000 Subject: cygpcre.dll is missing Message-ID: <002701c28a56$74a9c9a0$d360d7d9@zeppelin> Hi! When trying to install xfree86 for the first time on my xp-machine I get an error message that cygpcre.dll is missing. Where do I get this file? Is it a part of Cygwin? Thanks /Michael Schyllberg From jblazi@gmx.de Tue Nov 12 08:18:00 2002 From: jblazi@gmx.de (Janos Blazi) Date: Tue, 12 Nov 2002 08:18:00 -0000 Subject: cygpcre.dll is missing References: <002701c28a56$74a9c9a0$d360d7d9@zeppelin> Message-ID: <000701c28a58$d13bd670$69de90d4@papua8zrg78jqb> Hi! When trying to install xfree86 for the first time on my xp-machine I get an error message that cygpcre.dll is missing. Where do I get this file? Is it a part of Cygwin? This is frequently asked. Just go to the cygwin home page and download the file separately. Janos Blazi From cgf-cygwin-xfree@cygwin.com Tue Nov 12 08:20:00 2002 From: cgf-cygwin-xfree@cygwin.com (Christopher Faylor) Date: Tue, 12 Nov 2002 08:20:00 -0000 Subject: cygpcre.dll is missing In-Reply-To: <002701c28a56$74a9c9a0$d360d7d9@zeppelin> References: <002701c28a56$74a9c9a0$d360d7d9@zeppelin> Message-ID: <20021112145229.GD12205@redhat.com> On Tue, Nov 12, 2002 at 03:19:03PM +0100, Michael Schyllberg wrote: >When trying to install xfree86 for the first time on my xp-machine I >get an error message that cygpcre.dll is missing. Where do I get this >file? Is it a part of Cygwin? http://cygwin.com/packages/ cgf From satimis@writeme.com Tue Nov 12 08:20:00 2002 From: satimis@writeme.com (Stephen Liu) Date: Tue, 12 Nov 2002 08:20:00 -0000 Subject: Cygwin Connection Tool for Windows In-Reply-To: <000501c28a4b$26788c90$350aa8c0@aradex.local> References: <5.1.1.6.0.20021112194158.00abc950@pop.net-yan.com> Message-ID: <5.1.1.6.0.20021113001313.00b279a0@pop.net-yan.com> Hi Mario, At 01:58 PM 11/12/2002 +0100, you wrote: >Hi Liu, > > > -----Original Message----- > > From: cygwin-xfree-owner@cygwin.com > > [mailto:cygwin-xfree-owner@cygwin.com]On Behalf Of Stephen Liu > > > > > > Hi Mario, > > > > I encountered problem in installing the "connection tool" > > > > OS = WinXP > > > > Start -> Run -> setup.exe Following warning pop-up at time > > of installation > > > > Cygwin Connection Tool Setup > > C:\Windows\Setup.LTS > > Invalid line in Setup information file > > Section: Setup 1 File > > ......... >UPS, havent tested it on XP Yet ;( >I will try to fix this as soon as i have installed XP on VMWare ;P >Did you get it running on Win2k? Sorry. At this moment I only have a WinXP box available for test. I am prepared to build a Win2K box but it will take about 1-2 days because I have to empty all existing stuffs on a PII-350 box for its installation. Stephen >Changelog: >--- 08.11.2002 --- >- BUg discovert, it wont load XWin.exe. >--> Copy cygwin1.dll and cygz.dll into the system32 directory. This Bug will >be fixed soon. > > > > > > I could not proceed further. Kindly advise. > > > > Thanks in advance. > > > > Stephen Liu > > > > > > At 06:52 PM 2002/11/9 +0100, you wrote: > > >Hi Stephen, > > >you need to set: > > >- XWin.exe file location > > >- Resolution > > >- IP you want to connect to > > > > > >optional: > > >- Network (e.g. 192.169.10.0 --> must end with an 0 !) > > > > > > > > >Plese let me know if it worked for you! > > > > > >Regards, Mario > > > > > > >From: cygwin-xfree-owner@cygwin.com > > > >[mailto:cygwin-xfree-owner@cygwin.com]On Behalf Of Stephen Liu > > > > > > >Hi Mario, > > > > > > >Re your tool for Windows. > > > > > > >I have it downloaded. > > > > > > >Is it just unzip it and install it on Windows then it will > > work. Any > > > >configuration needed? > > > > > > >Thanks > > > > > > >Stephen > > > > > > > > > >At 11:38 PM 2002/11/8 +0100, you wrote: > > > >>Hello! > > > >>I wrote a little tool and called it Cygwin Connection Tool. > > > >>You can find infos about it on > > http://thelinuxbeat.nu-sec.de/cygwin_tool/ > > > >>I its under the GPL license, and written in Visual Basic. > > > >>My Aim is to write it in C++ some time. > > > >> > > > >>I was wondering if i do/did something illegal by using > > its Icon, Name, > > > >>whatever. > > > >>I do not want something wich the Cygewin Team/Developer > > do not want. > > > >>I wrote it as a little helpful tool, and why should i not > > share it with > > > >>others? > > > >> > > > >>It?s my very first Project, so please forgive and tell me if i did > > >something > > > >>wrong. > > > >> > > > >>Cheers, Mario > > > > > > > > > > > > From huntharo@msu.edu Tue Nov 12 08:44:00 2002 From: huntharo@msu.edu (Harold L Hunt II) Date: Tue, 12 Nov 2002 08:44:00 -0000 Subject: right mouse button again, motif on solaris In-Reply-To: Message-ID: Chris, This is way beyond me. I implemented the mouse and keyboard code as best I could with the crappy documentation that is available. Since then I have not seen anything that explains what the ``real'' way to do things is, so I will just leave the code be until either someone else messes with it (fine by me) or until someone can find some better documentation. Harold -----Original Message----- From: cygwin-xfree-owner@cygwin.com [mailto:cygwin-xfree-owner@cygwin.com]On Behalf Of Chris Twiner Sent: Monday, November 11, 2002 11:09 AM To: cygwin-xfree@cygwin.com Subject: right mouse button again, motif on solaris Hi All, An application, Razor (Motif) that I'm running won't allow the right button to work. After investigation this appears to be a bug in the Motif libraries within Solaris. However as it appears different on different Xservers the common factor seems to be the mouse setting. A post : http://groups.google.co.uk/groups?hl=en&lr=&ie=UTF-8&oe=UTF-8&threadm=3717E7 13.BBD3D2F1%40soest.hawaii.edu&rnum=2&prev=/groups%3Fq%3Dmotif%2Bproblem%2Br ight%2Bmouse%2Bbutton%2Bsolaris%26ie%3DUTF-8%26oe%3DUTF-8%26hl%3Den Seems to indicate that the server tells the client how many mouse buttons are supported. This seems to be a motif issue. Under NEdit for example it is possible to get the right mouse button menu by disabling num-lock, scoll-lock and caps-lock. Of course Razor doesn't work this way. (basic problem is drag and drop doesn't work over ssh, since it uses it's own protocol, so a right mouse button is the only other way to work it). Exceed doesn't share the problem cygwin has. Cygwin's problem seems very similar to the problem indicated by the above post. i.e. cygwin tells the motif version there are X number of buttons and it chooses the last button for right button as default. Is there any way of checking what an individual application believes or indeed checking/changing what the cygwin is telling the clients? Your's confused further, Chris _________________________________________________________________ MSN 8 with e-mail virus protection service: 2 months FREE* http://join.msn.com/?page=features/virus From mdharnois@stthomas.edu Tue Nov 12 09:08:00 2002 From: mdharnois@stthomas.edu (Michael Harnois) Date: Tue, 12 Nov 2002 09:08:00 -0000 Subject: Cygwin Connection Tool for Windows In-Reply-To: <5.1.1.6.0.20021113001313.00b279a0@pop.net-yan.com> Message-ID: It dies with the same error in Win2K. Michael D. Harnois 2L, UST School of Law Minneapolis, Minnesota The first thing you should do when you get up is read the obituaries. You never know when you'll see a name that will just make your day. --Ed Salisbury -----Original Message----- From: cygwin-xfree-owner@cygwin.com [mailto:cygwin-xfree-owner@cygwin.com]On Behalf Of Stephen Liu Sent: Tuesday, November 12, 2002 10:18 To: cygwin-xfree@cygwin.com Subject: RE: Cygwin Connection Tool for Windows Hi Mario, At 01:58 PM 11/12/2002 +0100, you wrote: >Hi Liu, > > > -----Original Message----- > > From: cygwin-xfree-owner@cygwin.com > > [mailto:cygwin-xfree-owner@cygwin.com]On Behalf Of Stephen Liu > > > > > > Hi Mario, > > > > I encountered problem in installing the "connection tool" > > > > OS = WinXP > > > > Start -> Run -> setup.exe Following warning pop-up at time > > of installation > > > > Cygwin Connection Tool Setup > > C:\Windows\Setup.LTS > > Invalid line in Setup information file > > Section: Setup 1 File > > ......... >UPS, havent tested it on XP Yet ;( >I will try to fix this as soon as i have installed XP on VMWare ;P >Did you get it running on Win2k? Sorry. At this moment I only have a WinXP box available for test. I am prepared to build a Win2K box but it will take about 1-2 days because I have to empty all existing stuffs on a PII-350 box for its installation. Stephen >Changelog: >--- 08.11.2002 --- >- BUg discovert, it wont load XWin.exe. >--> Copy cygwin1.dll and cygz.dll into the system32 directory. This Bug will >be fixed soon. > > > > > > I could not proceed further. Kindly advise. > > > > Thanks in advance. > > > > Stephen Liu > > > > > > At 06:52 PM 2002/11/9 +0100, you wrote: > > >Hi Stephen, > > >you need to set: > > >- XWin.exe file location > > >- Resolution > > >- IP you want to connect to > > > > > >optional: > > >- Network (e.g. 192.169.10.0 --> must end with an 0 !) > > > > > > > > >Plese let me know if it worked for you! > > > > > >Regards, Mario > > > > > > >From: cygwin-xfree-owner@cygwin.com > > > >[mailto:cygwin-xfree-owner@cygwin.com]On Behalf Of Stephen Liu > > > > > > >Hi Mario, > > > > > > >Re your tool for Windows. > > > > > > >I have it downloaded. > > > > > > >Is it just unzip it and install it on Windows then it will > > work. Any > > > >configuration needed? > > > > > > >Thanks > > > > > > >Stephen > > > > > > > > > >At 11:38 PM 2002/11/8 +0100, you wrote: > > > >>Hello! > > > >>I wrote a little tool and called it Cygwin Connection Tool. > > > >>You can find infos about it on > > http://thelinuxbeat.nu-sec.de/cygwin_tool/ > > > >>I its under the GPL license, and written in Visual Basic. > > > >>My Aim is to write it in C++ some time. > > > >> > > > >>I was wondering if i do/did something illegal by using > > its Icon, Name, > > > >>whatever. > > > >>I do not want something wich the Cygewin Team/Developer > > do not want. > > > >>I wrote it as a little helpful tool, and why should i not > > share it with > > > >>others? > > > >> > > > >>It??s my very first Project, so please forgive and tell me if i did > > >something > > > >>wrong. > > > >> > > > >>Cheers, Mario > > > > > > > > > > > > From vola_ray@yahoo.com Tue Nov 12 09:54:00 2002 From: vola_ray@yahoo.com (vola ray) Date: Tue, 12 Nov 2002 09:54:00 -0000 Subject: Questions on Xwin.exe arguments Message-ID: <20021112164441.83926.qmail@web11706.mail.yahoo.com> Hi! I am running XWindo under Windows95 using the startxwin.bat where I have start XWin -emulate3buttons 100 run xterm -bg white -fg black -bd blue -ms blue -e 'source ~/.login' & run twm run xsetroot -solid blue Do U know what should I have with XWin.exe so that the xterm behaves the way it behaves under LINUX, i.e when U have 2 xterm windows one over the other and U go to one of them and click your mouse and that xterm becomes active. Whereas what I see now is that I have to click the Top Border of the xterm to make it Active; I would Greatly Appreciate if U suggest something I should do..... [by the way I used -lesspointer option to find out the same behavior!!!] Thanks in advance, regards, vola __________________________________________________ Do you Yahoo!? U2 on LAUNCH - Exclusive greatest hits videos http://launch.yahoo.com/u2 From rrschulz@cris.com Tue Nov 12 10:02:00 2002 From: rrschulz@cris.com (Randall R Schulz) Date: Tue, 12 Nov 2002 10:02:00 -0000 Subject: Questions on Xwin.exe arguments In-Reply-To: <20021112164441.83926.qmail@web11706.mail.yahoo.com> Message-ID: <5.1.0.14.2.20021112084844.0294f020@pop3.cris.com> Vola, Are you imploring some university to answer your questions? If you're addressing a human being from whom you wish to solicit an answer to your questions, then please use the English word "you." While I am just one man and most certainly not an institution of any kind, I can tell you that window activation behavior in X is handled by the window manager. By default, twm uses the "classic" X focus-follows-mouse behavior. If twm allows this to be changed, the twm documentation probably holds that answer to how. Look for the word "focus" or "Focus" for starters. Also read the options regarding window raising behavior ("raise" / "Raise"). By the way, the activation behavior you want (that expected by most personal computer users who've never used X) is the default in Window Maker. Perhaps you'd like to try it. It's a lot "fancier" than twm, which you may or may not find desirable. Twm is pretty much the most elementary window manager available for XFree86/Cygwin. The next step up in terms of features and sophistication would be "fvwm2." I think it also has the kind of default window activation behavior you want. Randall Schulz Mountain View, CA USA At 08:44 2002-11-12, you wrote: >Hi! >I am running XWindo under Windows95 using the startxwin.bat where I have > >start XWin -emulate3buttons 100 >run xterm -bg white -fg black -bd blue -ms blue -e 'source ~/.login' & >run twm >run xsetroot -solid blue > >Do U know what should I have with XWin.exe so that the xterm behaves the >way it >behaves under LINUX, i.e when U have 2 xterm windows one over the other >and U go >to one of them and click your mouse and that xterm becomes active. Whereas >what >I see now is that I have to click the Top Border of the xterm to make it >Active; > >I would Greatly Appreciate if U suggest something I should do..... >[by the way I used -lesspointer option to find out the same behavior!!!] > >Thanks in advance, >regards, >vola From JDrash@eesus.jnj.com Tue Nov 12 12:53:00 2002 From: JDrash@eesus.jnj.com (Jim Drash) Date: Tue, 12 Nov 2002 12:53:00 -0000 Subject: Questions on XWin.exe arguments Message-ID: This is not a fuction of XWin at all. It is a fuction of the window manager you are running. twm has this behaviior. If you want a different behavior use a different window manager. From moser@decodon.com Tue Nov 12 12:57:00 2002 From: moser@decodon.com (Frank-Michael Moser) Date: Tue, 12 Nov 2002 12:57:00 -0000 Subject: Problems with xedit, xcalc, xfontsel, emacs References: <3DD0DEB9.706@mimosa.ceng.ceano.spam.fr> Message-ID: <3DD14244.6010704@decodon.com> > It seems that a simlink is broken. ... but I wonder what is the reason for that. I had the same problem on my machine. After a lot of debugging I gave up for the first time. Then I installed Cygwin with XFree on a friend's box and - voila - xedit&co worked fine. So I decided to reinstall my Cygwin. First I renamed the old Cygwin folder and removed all entries from the registry. Then I installed everything what I had in my old local package directory from ftp://mirrors.rcn.net. But ;( the same problem again. The only difference (checking cygcheck) to my friend's box was that on his box I only installed a subset of my packages. Now I guess that this must be a problem which is related to the order of installing certain X-packages. There must be a package which creates app-defaults as a regular folder before any symbolic link is created such that instead of moser@PIP /tmp/test $ ls -l drwxr-xr-x 2 moser Kein 0 Nov 12 18:51 a/ total 0 moser@PIP /tmp/test $ ln -s a b moser@PIP /tmp/test $ ls -l total 0 drwxr-xr-x 2 moser Kein 0 Nov 12 18:51 a/ lrwxrwxrwx 1 moser Kein 82 Nov 12 18:51 b -> a/ later it looks like this: moser@PIP /tmp/test $ ls -l total 0 drwxr-xr-x 2 moser Kein 0 Nov 12 18:51 a/ drwxr-xr-x 2 moser Kein 0 Nov 12 18:53 b/ moser@PIP /tmp/test $ ln -s a b moser@PIP /tmp/test $ ls -l total 0 drwxr-xr-x 2 moser Kein 0 Nov 12 18:51 a/ drwxr-xr-x 2 moser Kein 0 Nov 12 18:54 b/ moser@PIP /tmp/test $ ls -l b total 0 lrwxrwxrwx 1 moser Kein 82 Nov 12 18:54 a -> a I guess the package which installs app-defaults/Mwm must be culprit. Frank-Michael From JDrash@eesus.jnj.com Tue Nov 12 13:05:00 2002 From: JDrash@eesus.jnj.com (Jim Drash) Date: Tue, 12 Nov 2002 13:05:00 -0000 Subject: Emacs in XWin is performing oddly Message-ID: I have installed all of the cygwin emacs packages and I now am experiencing problems with emacs with the X server. Launching emaces causes one of the following: 1) the application never displays its window (CPU utilization to 100%) 2) the application displays its window but it is unresponsive (CPU utilization to 100%) 3) About 1 in 4 times it runs correctly even after a clean reboot of the PC Any clues would be very helpful. thanks in advance, jim drash From JDrash@eesus.jnj.com Tue Nov 12 14:14:00 2002 From: JDrash@eesus.jnj.com (Jim Drash) Date: Tue, 12 Nov 2002 14:14:00 -0000 Subject: Emacs in XWin is performing oddly Message-ID: Sorry for the typos in my last message. It is nearing the end of the business day and my brain is fried . From pechtcha@cs.nyu.edu Tue Nov 12 16:59:00 2002 From: pechtcha@cs.nyu.edu (Igor Pechtchanski) Date: Tue, 12 Nov 2002 16:59:00 -0000 Subject: Problems with xedit, xcalc, xfontsel, emacs In-Reply-To: <3DD14244.6010704@decodon.com> Message-ID: On Tue, 12 Nov 2002, Frank-Michael Moser wrote: > > It seems that a simlink is broken. > > ... but I wonder what is the reason for that. > > I had the same problem on my machine. After a lot of debugging I gave up > for the first time. Then I installed Cygwin with XFree on a friend's box > and - voila - xedit&co worked fine. > > So I decided to reinstall my Cygwin. First I renamed the old Cygwin > folder and removed all entries from the registry. Then I installed > everything what I had in my old local package directory from > ftp://mirrors.rcn.net. But ;( the same problem again. > > The only difference (checking cygcheck) to my friend's box was that on > his box I only installed a subset of my packages. Now I guess that this > must be a problem which is related to the order of installing certain > X-packages. There must be a package which creates app-defaults as a > regular folder before any symbolic link is created such that instead of > > moser@PIP /tmp/test > $ ls -l > drwxr-xr-x 2 moser Kein 0 Nov 12 18:51 a/ > total 0 > > moser@PIP /tmp/test > $ ln -s a b > > moser@PIP /tmp/test > $ ls -l > total 0 > drwxr-xr-x 2 moser Kein 0 Nov 12 18:51 a/ > lrwxrwxrwx 1 moser Kein 82 Nov 12 18:51 b -> a/ > > later it looks like this: > > moser@PIP /tmp/test > $ ls -l > total 0 > drwxr-xr-x 2 moser Kein 0 Nov 12 18:51 a/ > drwxr-xr-x 2 moser Kein 0 Nov 12 18:53 b/ > > moser@PIP /tmp/test > $ ln -s a b > > moser@PIP /tmp/test > $ ls -l > total 0 > drwxr-xr-x 2 moser Kein 0 Nov 12 18:51 a/ > drwxr-xr-x 2 moser Kein 0 Nov 12 18:54 b/ > > moser@PIP /tmp/test > $ ls -l b > total 0 > lrwxrwxrwx 1 moser Kein 82 Nov 12 18:54 a -> a > > I guess the package which installs app-defaults/Mwm must be culprit. > > Frank-Michael Frank-Michael, Actions of this sort (creating symbolic links, directories, etc) are usually performed in postinstall scripts. The postinstall scripts remain after they are executed, but are renamed to .done. They are located in /etc/postinstall. If you suspect a particular package, you should be able to browse through its postinstall script. If there is indeed a bug (as you seem to indicate), I'm sure the maintainer of the package would appreciate a patch (or at least a note on how to fix things). Igor -- http://cs.nyu.edu/~pechtcha/ |\ _,,,---,,_ pechtcha@cs.nyu.edu ZZZzz /,`.-'`' -. ;-;;,_ igor@watson.ibm.com |,4- ) )-,_. ,\ ( `'-' Igor Pechtchanski '---''(_/--' `-'\_) fL a.k.a JaguaR-R-R-r-r-r-.-.-. Meow! "Water molecules expand as they grow warmer" (C) Popular Science, Oct'02, p.51 From c_twiner@hotmail.com Wed Nov 13 00:32:00 2002 From: c_twiner@hotmail.com (Chris Twiner) Date: Wed, 13 Nov 2002 00:32:00 -0000 Subject: how does xwin resolve ip addresses Message-ID: 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), the RRAS service is the damned culprit. So answer was disable the damn thing. Thanks to all that helped and many thanks to Ago, Chris _________________________________________________________________ Help STOP SPAM with the new MSN 8 and get 2 months FREE* http://join.msn.com/?page=features/junkmail From cygwin-xfree@cygwin.com Wed Nov 13 00:42:00 2002 From: cygwin-xfree@cygwin.com (Christopher Faylor) Date: Wed, 13 Nov 2002 00:42:00 -0000 Subject: Searching on Mailing list and Update on fvwm2 for cygwin In-Reply-To: <200211121801.AA63897748@mail.ev1.net> References: <200211121801.AA63897748@mail.ev1.net> Message-ID: <20021113005934.GB29561@redhat.com> This isn't an issue for the cygwin mailing list. We actually have a mailing list for Cygwin XFree86 issues. I've redirected this email there. I'll also be blocking this subject from future helpful followups in cygwin at cygwin dot com. On Tue, Nov 12, 2002 at 06:01:01PM -0600, markem wrote: >Cygwin and fvwm2: > >I finished downloading and updating Cygwin. My original version >was the one I downloaded on August 5th. I have not had the time >to re-try the compilation of Lesstif (I'm on a 56K modem and it >took almost the entire day to download all of the updates). >However, I would like to thank whoever it is that worked on the >fvwm2 update. Under the August 5th release I could not make the >up/down/left/right arrow keys work properly. By "properly" I mean >that I like to set them so when I hold down the control key and >then type one of them my screen flips to the next screen (3x3 >matrix). In this way I can have several things all going at the >same time. Well, under the previous version I either had to have >A)ll turned on or just forget being able to do this and having to >use the mouse to select individual screens. > >Original Configuration: > >Key Left A C Scroll -100 0 >Key Right A C Scroll +100 0 >etc.... > >I wound up having: > >Key Left RW A Scroll -100 0 >etc.... > >So I could use the feature. > >Under the current release (as of 11/11/2002) The original command >now works properly! So kudos to whoever fixed it! :-) > >I'll post again after attempting to re-compile Lesstif. Whether >or not it completes the compilation so everyone will know one way >or the other if that problem was fixed also in the latest >release. Thanks again guys and gals! :-) > >Mark Manning > > >________________________________________________________________ >Sent via the EV1 webmail system at mail.ev1.net > > > > > >-- >Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple >Bug reporting: http://cygwin.com/bugs.html >Documentation: http://cygwin.com/docs.html >FAQ: http://cygwin.com/faq/ From taishin@imap.cc Wed Nov 13 02:16:00 2002 From: taishin@imap.cc (Kin Taishin) Date: Wed, 13 Nov 2002 02:16:00 -0000 Subject: an idea for building win32 based xfd Message-ID: <3DD20E0E.7020501@imap.cc> Please let me have your comments on my idea that aims to build win32 based x font server which is capable of exporting fonts installed on a Windows machine. By using this server, cygwin/xfree users do not need to install X-specific fonts aside from Windows fonts. This server is expected to behave as xfd. So any X server will benefit from this server. Since font installation is done in Windows side, almost no font configuration effort is required in X side. I'd like to have your opinion about this. I guess this kind of idea has already poped up in many peoples' mind. There might be a similar project or software proposed by someone else before... Any comment? Thanks, Taishin From geert.pille@vandemoortele.com Wed Nov 13 02:22:00 2002 From: geert.pille@vandemoortele.com (Pille Geert (bizvdm)) Date: Wed, 13 Nov 2002 02:22:00 -0000 Subject: Questions on Xwin.exe arguments Message-ID: <2FAEFC2A851BD211AD820008C7286BA402D7E384@NBIZ205> Hallo Randall, If U cn rd ths U cn gt a gd jb Gerard -----Original Message----- From: Randall R Schulz [mailto:rrschulz@cris.com] Sent: dinsdag 12 november 2002 18:09 To: cygwin-xfree@cygwin.com Subject: Re: Questions on Xwin.exe arguments Vola, Are you imploring some university to answer your questions? If you're addressing a human being from whom you wish to solicit an answer to your questions, then please use the English word "you." While I am just one man and most certainly not an institution of any kind, I can tell you that window activation behavior in X is handled by the window manager. By default, twm uses the "classic" X focus-follows-mouse behavior. If twm allows this to be changed, the twm documentation probably holds that answer to how. Look for the word "focus" or "Focus" for starters. Also read the options regarding window raising behavior ("raise" / "Raise"). By the way, the activation behavior you want (that expected by most personal computer users who've never used X) is the default in Window Maker. Perhaps you'd like to try it. It's a lot "fancier" than twm, which you may or may not find desirable. Twm is pretty much the most elementary window manager available for XFree86/Cygwin. The next step up in terms of features and sophistication would be "fvwm2." I think it also has the kind of default window activation behavior you want. Randall Schulz Mountain View, CA USA At 08:44 2002-11-12, you wrote: >Hi! >I am running XWindo under Windows95 using the startxwin.bat where I have > >start XWin -emulate3buttons 100 >run xterm -bg white -fg black -bd blue -ms blue -e 'source ~/.login' & >run twm >run xsetroot -solid blue > >Do U know what should I have with XWin.exe so that the xterm behaves the >way it >behaves under LINUX, i.e when U have 2 xterm windows one over the other >and U go >to one of them and click your mouse and that xterm becomes active. Whereas >what >I see now is that I have to click the Top Border of the xterm to make it >Active; > >I would Greatly Appreciate if U suggest something I should do..... >[by the way I used -lesspointer option to find out the same behavior!!!] > >Thanks in advance, >regards, >vola =============================== This email is confidential and intended solely for the use of the individual to whom it is addressed. If you are not the intended recipient, be advised that you have received this email in error and that any use, dissemination, forwarding, printing, or copying of this email is strictly prohibited. You are explicitly requested to notify the sender of this email that the intended recipient was not reached. From spetreolle@yahoo.fr Wed Nov 13 02:52:00 2002 From: spetreolle@yahoo.fr (=?iso-8859-1?q?Sylvain=20Petreolle?=) Date: Wed, 13 Nov 2002 02:52:00 -0000 Subject: Cygwin Connection Tool for Windows In-Reply-To: <000501c28a4b$26788c90$350aa8c0@aradex.local> Message-ID: <20021113101655.78659.qmail@web10106.mail.yahoo.com> Oh, Cygwin running X-Server on Vmware. What a ...<= don't know how to say that :) > UPS, havent tested it on XP Yet ;( > I will try to fix this as soon as i have installed XP on VMWare ;P > Did you get it running on Win2k? > ___________________________________________________________ Do You Yahoo!? -- Une adresse @yahoo.fr gratuite et en fran??ais ! Yahoo! Mail : http://fr.mail.yahoo.com From alexander.gottwald@s1999.tu-chemnitz.de Wed Nov 13 03:30:00 2002 From: alexander.gottwald@s1999.tu-chemnitz.de (Alexander Gottwald) Date: Wed, 13 Nov 2002 03:30:00 -0000 Subject: Emacs in XWin is performing oddly In-Reply-To: Message-ID: On Tue, 12 Nov 2002, Jim Drash wrote: > I have installed all of the cygwin emacs packages and I now am > experiencing problems with emacs with the X server. Launching emaces > causes one of the following: > > 1) the application never displays its window (CPU utilization to 100%) > 2) the application displays its window but it is unresponsive (CPU > utilization to 100%) > 3) About 1 in 4 times it runs correctly even after a clean reboot of the > PC Has anyone tested cygwin emacs with linux xserver? Does the same happen? From rasjidw@openminddev.net Wed Nov 13 04:12:00 2002 From: rasjidw@openminddev.net (Rasjid Wilcox) Date: Wed, 13 Nov 2002 04:12:00 -0000 Subject: Cygwin Connection Tool for Windows In-Reply-To: <20021113101655.78659.qmail@web10106.mail.yahoo.com> References: <20021113101655.78659.qmail@web10106.mail.yahoo.com> Message-ID: <200211132152.32735.rasjidw@openminddev.net> On Wed, 13 Nov 2002 9:16 pm, Sylvain Petreolle wrote: > Oh, Cygwin running X-Server on Vmware. > What a ...<= don't know how to say that :) And what is wrong with that?? How else do you test Cygwin when you run Linux at home?? (Or, Why dual boot when you can VMWare? ;-) Rasjid. From alexander.gottwald@s1999.tu-chemnitz.de Wed Nov 13 04:14:00 2002 From: alexander.gottwald@s1999.tu-chemnitz.de (Alexander Gottwald) Date: Wed, 13 Nov 2002 04:14:00 -0000 Subject: Cygwin Connection Tool for Windows In-Reply-To: <20021113101655.78659.qmail@web10106.mail.yahoo.com> Message-ID: On Wed, 13 Nov 2002, Sylvain Petreolle wrote: > Oh, Cygwin running X-Server on Vmware. > What a ...<= don't know how to say that :) > > > UPS, havent tested it on XP Yet ;( > > I will try to fix this as soon as i have installed XP on VMWare ;P > > Did you get it running on Win2k? Guess what I'm doing all the time. I have a cross-compiler running on linux and test all cygwin/Cygwin XFree changes in a VmWare. This was the only way to fix some bugs in the cygwin network handling on _very_ old win95. This was _much_ better than breaking my workstation. bye ago From spetreolle@yahoo.fr Wed Nov 13 06:34:00 2002 From: spetreolle@yahoo.fr (=?iso-8859-1?q?Sylvain=20Petreolle?=) Date: Wed, 13 Nov 2002 06:34:00 -0000 Subject: Cygwin Connection Tool for Windows In-Reply-To: <200211132152.32735.rasjidw@openminddev.net> Message-ID: <20021113121218.92320.qmail@web10106.mail.yahoo.com> --- Rasjid Wilcox a ??crit??: > On Wed, 13 Nov 2002 9:16 pm, Sylvain Petreolle wrote: > > Oh, Cygwin running X-Server on Vmware. > > What a ...<= don't know how to say that :) Excuse if I made you misunderstand me. Is because of my bad english. But I was really surprised to see someone using VmWare for that. (I'm currently trying to run Cygwin under Wine ;)) > And what is wrong with that?? How else do you test Cygwin when you > run Linux > at home?? (Or, Why dual boot when you can VMWare? ;-) > > Rasjid. > ___________________________________________________________ Do You Yahoo!? -- Une adresse @yahoo.fr gratuite et en fran??ais ! Yahoo! Mail : http://fr.mail.yahoo.com From wislaj23@wp.pl Wed Nov 13 07:03:00 2002 From: wislaj23@wp.pl (Artur Hefczyc) Date: Wed, 13 Nov 2002 07:03:00 -0000 Subject: Emacs in XWin is performing oddly References: Message-ID: <002001c28b0e$7cb4c560$9900010a@nutech.com.pl> > > I have installed all of the cygwin emacs packages and I now am > > experiencing problems with emacs with the X server. Launching emaces > > causes one of the following: > > > > 1) the application never displays its window (CPU utilization to 100%) > > 2) the application displays its window but it is unresponsive (CPU > > utilization to 100%) > > 3) About 1 in 4 times it runs correctly even after a clean reboot of the > > PC I have exactly the same problem! I am not sure if this is emacs problem. It looks like new version of XWin have this problem. Emacs in terminal works well. Tried to return to previous versions of X, hm it doesn't work. Now I have real problem so please if someone knows how to avoid this send message. Artur -- Artur Hefczyc artur.hefczyc@plusnet.pl Open Source Developer http://wttools.sourceforge.net/ From j_tetazoo@hotmail.com Wed Nov 13 07:30:00 2002 From: j_tetazoo@hotmail.com (Thomas Chadwick) Date: Wed, 13 Nov 2002 07:30:00 -0000 Subject: an idea for building win32 based xfd Message-ID: >Please let me have your comments on my idea that >aims to build win32 based x font server which is capable of >exporting fonts installed on a Windows machine. >By using this server, cygwin/xfree users do not need to >install X-specific fonts aside from Windows fonts. >This server is expected to behave as xfd. So any X server >will benefit from this server. >Since font installation is done in Windows side, almost no >font configuration effort is required in X side. >I'd like to have your opinion about this. I guess this kind of >idea has already poped up in many peoples' mind. >There might be a similar project or software proposed by >someone else before... >Any comment? > >Thanks, >Taishin First of all, don't you mean xfs, not xfd? Secondly, how is this different from running the stock xfs that's in the XFree86 distro using free-type to support the Windows fonts? _________________________________________________________________ MSN 8 with e-mail virus protection service: 2 months FREE* http://join.msn.com/?page=features/virus From j_tetazoo@hotmail.com Wed Nov 13 07:30:00 2002 From: j_tetazoo@hotmail.com (Thomas Chadwick) Date: Wed, 13 Nov 2002 07:30:00 -0000 Subject: Emacs in XWin is performing oddly Message-ID: On Tue, 12 Nov 2002, Alexander Gottwald wrote: >>I have installed all of the cygwin emacs packages and I now am >>experiencing problems with emacs with the X server. Launching emaces >>causes one of the following: >> >>1) the application never displays its window (CPU utilization to >100%) >>2) the application displays its window but it is unresponsive (CPU >>utilization to 100%) >>3) About 1 in 4 times it runs correctly even after a clean reboot of the >>PC > >Has anyone tested cygwin emacs with linux xserver? > >Does the same happen? I don't have a Linux X-server nearby, but I do have AIXWindows running nearby. I changed my DISPLAY variable and launched emacs. It popped up very quickly on the AIXWindows display (much faster than I normally see in the XWin server). However, pointer movement on the target display was sluggish, and the Win2k Task Manager says it is using upwards of 95% CPU all the time. There is definitely something wrong with emacs in X11 mode, and I think this experiment shows that it's a client-side problem, not server-side. _________________________________________________________________ The new MSN 8: advanced junk mail protection and 2 months FREE* http://join.msn.com/?page=features/junkmail From csardin@sopragroup.com Wed Nov 13 08:22:00 2002 From: csardin@sopragroup.com (Christian SARDIN) Date: Wed, 13 Nov 2002 08:22:00 -0000 Subject: Two colormaps ? Message-ID: <9E035BE80785AA4EAA456959ECB4A30D03426ECF@nt036.an.sopra> Hello, I try to explain my problem. I have a graphic application running fine on HP-UX, and displaying OK on HP workstation. I try to have it display (correctly ! ) on my notebook. The notebook : HP VT 6200 , 15" , 1400x1050 resolution, Windows XP Pro. I installed Cygwin version 1.3.13-2 including XFree 86 4.2.15 twm is the only window manager installed. So I use it. The application (staticcaly linked with X11R5 lib) requires 2 colormaps... and use XtConvertAndStore for various colors. So I need PseudoColor mode, I use : startx -- -emulatepseudo -depth 8 -fullscreen I rlogin Hp-Ux-Workstation and start the application. It is mostly OK but ...: The application opens windows, with drawings... and it is not re-drawn (I have to ask for redraw through an application fonctionality) ! Any suggest whould be welcome ! The other problem is for the drawings requiring the second colormap, of course.. Is there a way to have it ? By now, I have only tried Cygwin, but I expect to install Mandrake 9 soon (but I miss the disk driver !). May be Xf86config will help ? I hope that someone can help me to solve that. (And that my english can be understood) Thanks a lot. Christian From csardin@sopragroup.com Wed Nov 13 08:26:00 2002 From: csardin@sopragroup.com (Christian SARDIN) Date: Wed, 13 Nov 2002 08:26:00 -0000 Subject: Colormap problems Message-ID: <9E035BE80785AA4EAA456959ECB4A30D03426ED0@nt036.an.sopra> Hello , I try to explain my problem. I have a graphic application running fine on HP-UX, and displaying OK on HP workstation. I try to have it display (correctly ! ) on my notebook. The notebook : HP VT 6200 , 15" , 1400x1050 resolution, Windows XP Pro. I installed Cygwin version 1.3.13-2 including XFree 86 4.2.15 twm is the only window manager installed. So I use it. The application (staticcaly linked with X11R5 lib) uses XtConvertAndStore for various colors. So I need PseudoColor mode, I use : startx -- -emulatepseudo If I only do that it is the 3rd Visual which is in PseudoColor, and I don't know how to use it ? Is there a bug or a "good" way to use it ? So I have used startx -- -emulatepseudo -depth 8 -fullscreen I rlogin Hp-Ux-Workstation and start the application. It is mostly OK but XtConvertAndStore do not all succeed : OK for from_value.addr = * "#94949494949494" * "#dededededede" * "#adadadadadad" * "#424242424242" * "#bdbdbdbdbdbd" * "#212121212121" * "#ffffffff0000" * "#c2c2c2c2c2c2" * "#4fff4fff4fff" And fails for * "#737373737373" * "#636363636363" * "#280028002800" Do you have any idea of what can be the reason ? I hope that one can tell me how to solve this. (And that my english can be understood) Thanks Christian From huntharo@msu.edu Wed Nov 13 08:27:00 2002 From: huntharo@msu.edu (Harold L Hunt II) Date: Wed, 13 Nov 2002 08:27:00 -0000 Subject: Emacs in XWin is performing oddly In-Reply-To: References: <002001c28b0e$7cb4c560$9900010a@nutech.com.pl> Message-ID: <3DD27C37.2040709@msu.edu> Hmm... I am beginning to wonder if I built the last release with the munged binutils release that was only around for a day or two. That same release of binutils caused my class project code to segfault on startup everytime... updating to the latest bintuils cured the problem. Maybe I will make a new release soon... Harold Artur Hefczyc wrote: >>>I have installed all of the cygwin emacs packages and I now am >>>experiencing problems with emacs with the X server. Launching emaces >>>causes one of the following: >>> >>>1) the application never displays its window (CPU utilization to 100%) >>>2) the application displays its window but it is unresponsive (CPU >>>utilization to 100%) >>>3) About 1 in 4 times it runs correctly even after a clean reboot of the >>>PC >>> >>> >I have exactly the same problem! >I am not sure if this is emacs problem. It looks like >new version of XWin have this problem. >Emacs in terminal works well. >Tried to return to previous versions of X, hm it doesn't work. >Now I have real problem so please if someone knows how >to avoid this send message. > >Artur >-- >Artur Hefczyc artur.hefczyc@plusnet.pl >Open Source Developer >http://wttools.sourceforge.net/ > > > > From huntharo@msu.edu Wed Nov 13 08:34:00 2002 From: huntharo@msu.edu (Harold L Hunt II) Date: Wed, 13 Nov 2002 08:34:00 -0000 Subject: Two colormaps ? In-Reply-To: <9E035BE80785AA4EAA456959ECB4A30D03426ECF@nt036.an.sopra> References: <9E035BE80785AA4EAA456959ECB4A30D03426ECF@nt036.an.sopra> Message-ID: <3DD27D44.3020209@msu.edu> Christian, Do NOT use the -emulatepseudo parameter. It does not do what you think it does. ONLY use the following parameters: startx -- -depth 8 -fullscreen Give that a try and report back. Harold Christian SARDIN wrote: >Hello, >I try to explain my problem. > >I have a graphic application running fine on HP-UX, and displaying OK on HP >workstation. I try to have it display (correctly ! ) on my notebook. > >The notebook : HP VT 6200 , 15" , 1400x1050 resolution, Windows XP Pro. > >I installed Cygwin version 1.3.13-2 including XFree 86 4.2.15 >twm is the only window manager installed. So I use it. > >The application (staticcaly linked with X11R5 lib) requires 2 colormaps... >and use XtConvertAndStore for various colors. So I need PseudoColor mode, I >use : > startx -- -emulatepseudo -depth 8 -fullscreen > >I rlogin Hp-Ux-Workstation and start the application. >It is mostly OK but ...: >The application opens windows, with drawings... and it is not re-drawn (I >have to ask for redraw through an application fonctionality) ! Any suggest >whould be welcome ! > >The other problem is for the drawings requiring the second colormap, of >course.. Is there a way to have it ? > >By now, I have only tried Cygwin, but I expect to install Mandrake 9 soon >(but I miss the disk driver !). >May be Xf86config will help ? > > I hope that someone can help me to solve that. (And that my english can be >understood) > > >Thanks a lot. >Christian > > > > > From starksb@ebi.ac.uk Wed Nov 13 08:36:00 2002 From: starksb@ebi.ac.uk (David Starks-Browning) Date: Wed, 13 Nov 2002 08:36:00 -0000 Subject: Emacs in XWin is performing oddly In-Reply-To: <3DD27C37.2040709@msu.edu> References: <002001c28b0e$7cb4c560$9900010a@nutech.com.pl> <3DD27C37.2040709@msu.edu> Message-ID: <1499-Wed13Nov2002162708+0000-starksb@ebi.ac.uk> On Wednesday 13 Nov 02, Harold L Hunt II writes: > Hmm... > > I am beginning to wonder if I built the last release with the munged > binutils release that was only around for a day or two. That same > release of binutils caused my class project code to segfault on startup > everytime... updating to the latest bintuils cured the problem. Maybe I > will make a new release soon... > > Harold Harold, I've been posting to the main cygwin list. I don't know about your segfaults, but the "spinning" described below is reproducible outside of X. Regards, David > Artur Hefczyc wrote: > > >>>I have installed all of the cygwin emacs packages and I now am > >>>experiencing problems with emacs with the X server. Launching emaces > >>>causes one of the following: > >>> > >>>1) the application never displays its window (CPU utilization to 100%) > >>>2) the application displays its window but it is unresponsive (CPU > >>>utilization to 100%) From huntharo@msu.edu Wed Nov 13 08:49:00 2002 From: huntharo@msu.edu (Harold L Hunt II) Date: Wed, 13 Nov 2002 08:49:00 -0000 Subject: Emacs in XWin is performing oddly In-Reply-To: References: <002001c28b0e$7cb4c560$9900010a@nutech.com.pl> <3DD27C37.2040709@msu.edu> <1499-Wed13Nov2002162708+0000-starksb@ebi.ac.uk> Message-ID: <3DD27F02.5030006@msu.edu> David, Excellent. I believe I can now punt this problem over to the emacs packagers. :) Hey, are you the emacs packager for Cygwin? Harold David Starks-Browning wrote: >On Wednesday 13 Nov 02, Harold L Hunt II writes: > > >>Hmm... >> >>I am beginning to wonder if I built the last release with the munged >>binutils release that was only around for a day or two. That same >>release of binutils caused my class project code to segfault on startup >>everytime... updating to the latest bintuils cured the problem. Maybe I >>will make a new release soon... >> >>Harold >> >> > >Harold, > >I've been posting to the main cygwin list. I don't know about your >segfaults, but the "spinning" described below is reproducible outside >of X. > >Regards, >David > > > >>Artur Hefczyc wrote: >> >> >> >>>>>I have installed all of the cygwin emacs packages and I now am >>>>>experiencing problems with emacs with the X server. Launching emaces >>>>>causes one of the following: >>>>> >>>>>1) the application never displays its window (CPU utilization to 100%) >>>>>2) the application displays its window but it is unresponsive (CPU >>>>>utilization to 100%) >>>>> >>>>> > > > From starksb@ebi.ac.uk Wed Nov 13 10:32:00 2002 From: starksb@ebi.ac.uk (David Starks-Browning) Date: Wed, 13 Nov 2002 10:32:00 -0000 Subject: Emacs in XWin is performing oddly In-Reply-To: <3DD27F02.5030006@msu.edu> References: <002001c28b0e$7cb4c560$9900010a@nutech.com.pl> <3DD27C37.2040709@msu.edu> <1499-Wed13Nov2002162708+0000-starksb@ebi.ac.uk> <3DD27F02.5030006@msu.edu> Message-ID: <443-Wed13Nov2002163655+0000-starksb@ebi.ac.uk> On Wednesday 13 Nov 02, Harold L Hunt II writes: > David, > > Excellent. I believe I can now punt this problem over to the emacs > packagers. No, it's not just emacs, either. > Hey, are you the emacs packager for Cygwin? No, just a grateful user. Regards, David From taishin@imap.cc Wed Nov 13 11:01:00 2002 From: taishin@imap.cc (Kin Taishin) Date: Wed, 13 Nov 2002 11:01:00 -0000 Subject: an idea for building win32 based xfs References: Message-ID: <3DD281E0.8000409@imap.cc> Thanks for dropping me your comments. > First of all, don't you mean xfs, not xfd? That's my mistake. It's xfs. Sorry. > Secondly, how is this different from running the stock xfs that's in the > XFree86 distro using free-type to support the Windows fonts? I should have stated my point more clearly. I want to get rid of fonts.dir file. mkfontdir doesn't work for me. Although FreeType provides decent font handling functions, win32 API does it better because fonts for Windows are made for Windows use. And I believe cygwin/xfree gains better performance with more exploitation of win32 API. So I have three options: 1) remake mkfontdir using win32 API the easiest work but still inside of fonts.dir world. 2) remake xfs using win32 API don't know how much work should be done but worth to try? 3) replace Xft layer of XFree86 with win32-based code may be...but I'm not an X guru! Fontconfig will eventually resolve this problem but I wonder if win32-based xfs sounds no nice? Taishin From mario.ohnewald@gmx.de Wed Nov 13 11:25:00 2002 From: mario.ohnewald@gmx.de (Mario Ohnewald) Date: Wed, 13 Nov 2002 11:25:00 -0000 Subject: Cygwin Connection Tool for Windows -- new release In-Reply-To: Message-ID: Hi! You can find the new release at www.thelinuxbeat.com --> projects --> cygwin tool The Setup error is fixed and the binary setup file shrank to 2,4MB (from ~8MB). Check it out!! From alexander.gottwald@s1999.tu-chemnitz.de Wed Nov 13 12:15:00 2002 From: alexander.gottwald@s1999.tu-chemnitz.de (Alexander Gottwald) Date: Wed, 13 Nov 2002 12:15:00 -0000 Subject: an idea for building win32 based xfs In-Reply-To: <3DD281E0.8000409@imap.cc> Message-ID: On Thu, 14 Nov 2002, Kin Taishin wrote: > Thanks for dropping me your comments. > > > First of all, don't you mean xfs, not xfd? > > That's my mistake. It's xfs. Sorry. > > > Secondly, how is this different from running the stock xfs that's in the > > XFree86 distro using free-type to support the Windows fonts? > > I should have stated my point more clearly. > I want to get rid of fonts.dir file. mkfontdir doesn't work for me. > Although FreeType provides decent font handling functions, > win32 API does it better because fonts for Windows are made for > Windows use. And I believe cygwin/xfree gains better performance with > more exploitation of win32 API. > So I have three options: > 1) remake mkfontdir using win32 API > the easiest work but still inside of fonts.dir world. there is a mkfontdir for truetype fonts. (ttmkfdir) > 2) remake xfs using win32 API > don't know how much work should be done but worth to try? A lot. the fontserver renders the truetype font to a bitmap font if it receives a request for font x at size y. You would have to do this for all characters. > 3) replace Xft layer of XFree86 with win32-based code > may be...but I'm not an X guru! never. This would break a lot of remote programs which require X11 fonts. Better idea: Take xfs, strip all font handling except TTF and replace reading of fonts.dir by an inline ttmkfdir or build the datastructure using simple w32api TrueType functions. bye ago From gsw@agere.com Wed Nov 13 12:18:00 2002 From: gsw@agere.com (Gerald S. Williams) Date: Wed, 13 Nov 2002 12:18:00 -0000 Subject: rootless mode and mousing to other windows In-Reply-To: <3DC2C5E4.9020807@msu.edu> Message-ID: So how was it that you start rootless mode again? Just kidding. I guess I should have mentioned that I was about to go on vacation for over a week after I sent my last message. My impression of XOpenWin was that it was going to replace the low-level graphic calls from Windows with calls to X. Ambitious, but sounds like a great deal of overhead. This does solve some of the problems you'll run into trying to get Windows to manage X applications, though. I'll have to join the win32-x11 mailing list and see what's happening there. The current direction you're taking is to allow Windows to manage the X windows (please keep this a separate feature from -rootless). I hope somebody's thinking about keeping this compatible with XOpenWin, since there could be some serious benefits to using both together. There are a number of other ways that integration between Windows and X could have been approached, although these are the most straightforward approaches. Both approaches wrap everything of interest, albeit at opposite ends (and the end results look totally different). But right now I'm interested in something much simpler: just removing focus from all windows when X itself loses focus. I've looked at this briefly, but I'd better follow up in another e-mail, rather than causing this thread to fork too much. -Jerry From philippe.bastiani@wanadoo.fr Wed Nov 13 12:31:00 2002 From: philippe.bastiani@wanadoo.fr (Philippe Bastiani) Date: Wed, 13 Nov 2002 12:31:00 -0000 Subject: Lesstif problem ? References: Message-ID: Of course: the problem appears after the rebuilding of the Lesstif modules... -- Philippe From philippe.bastiani@wanadoo.fr Wed Nov 13 12:38:00 2002 From: philippe.bastiani@wanadoo.fr (Philippe Bastiani) Date: Wed, 13 Nov 2002 12:38:00 -0000 Subject: About editres Message-ID: Sorry, the beginning of this thread does not appear on the gname server... To reply to Alexander: well step by step... >Start a xterm >start editres >Menu:Commands|Get Tree > Click on the xterm window >Select vt100 in the tree >Menu:Commands|Show Resource Box OK >Click with mouse button 2 (the one in the middle) on "color0" >You should see "black" in the window below NOK (there is a black cursor; and no color...) >Enter text "red" NOK (I cannot modify the value) >Click on "Apply" A+ Philippe Bastiani From philippe.bastiani@wanadoo.fr Wed Nov 13 14:06:00 2002 From: philippe.bastiani@wanadoo.fr (Philippe Bastiani) Date: Wed, 13 Nov 2002 14:06:00 -0000 Subject: Adding a german keyboard to a default installation ... References: Message-ID: -1- Copy .Xmodmap in your c:\cygwin\etc\X11\xinit -2- Add the following command in the in your startxwin.bat: "start /B xmodmap /usr/X11R6/lib/X11/xinit/.Xmodmap" A+ Philippe From huntharo@msu.edu Wed Nov 13 18:31:00 2002 From: huntharo@msu.edu (Harold L Hunt II) Date: Wed, 13 Nov 2002 18:31:00 -0000 Subject: Adding a german keyboard to a default installation ... In-Reply-To: References: Message-ID: <3DD2B837.9080204@msu.edu> Philippe, Be careful, the ``/B'' is not supported on Windows 95/98/Me. Besides, the startxwin.bat file is now distributed with the ``run.exe'' program that performs the same function as ``start /B'' on all Windows platforms, so you should have said: -2- Add the following command in your startxwin.bat: ``run xmodmap /usr/X11R6/lib/X11/xinit/.Xmodmap'' Harold Philippe Bastiani wrote: >-1- Copy .Xmodmap in your c:\cygwin\etc\X11\xinit >-2- Add the following command in the in your startxwin.bat: "start /B >xmodmap /usr/X11R6/lib/X11/xinit/.Xmodmap" > >A+ >Philippe > > > > > > From jakester@wsu.edu Wed Nov 13 20:37:00 2002 From: jakester@wsu.edu (Jake D. Stern) Date: Wed, 13 Nov 2002 20:37:00 -0000 Subject: xterm consumes all cpu Message-ID: <001201c28b60$ea68e760$02f07986@cypher> [ This is a bug report. ] What happens: boot winxp, start cygwin, run startxwin.bat, and XWin starts normally. If the first action is anything other than to close the xterm, for example, open the desktop menu, then everything will run fine. However, if the first action is to close the xterm, either by typing 'exit' or by clicking on the button in the window bar, the xterm process will consume 100% of my cpu (according to winxp task manager, assuming that was opened previously, because it will take forever to open after.) Interestingly, after killing the zombie xterm and window manager processes in winxp task manager and restart xwin, I can close xterm either by typing exit or clicking on the button in the window bar first and everything will run fine. So, it is only the first time after rebooting that this happens. I've tried this with wmaker, twm and fvwm2 window managers, and the problem persists except for the window manager that forces me to click to place the xterm, because that forces a first action other than to close the xterm. As this is a very strange and unlikely to be stumbled upon, I thought you'd want to know about it. Config attached. [ Thanks, Mark Harig. ] -------------- next part -------------- An embedded and charset-unspecified text was scrubbed... Name: cygcheck.txt URL: From satimis@writeme.com Wed Nov 13 21:13:00 2002 From: satimis@writeme.com (Stephen Liu) Date: Wed, 13 Nov 2002 21:13:00 -0000 Subject: Cygwin Connection Tool for Windows -- new release In-Reply-To: References: Message-ID: <5.1.1.6.0.20021114102908.00b26530@pop.net-yan.com> Hi Mario, At 07:36 PM 11/13/2002 +0100, Mario Ohnewald wrote: >Hi! >You can find the new release at www.thelinuxbeat.com --> projects --> cygwin >tool Is the website down. I could not connect it. Thanks Stephen Liu >The Setup error is fixed and the binary setup file shrank to 2,4MB (from >~8MB). > >Check it out!! From cgf@redhat.com Wed Nov 13 22:49:00 2002 From: cgf@redhat.com (Christopher Faylor) Date: Wed, 13 Nov 2002 22:49:00 -0000 Subject: xfree leaking memory? In-Reply-To: <20021106020756.GA4680@redhat.com> References: <00e501c28513$0ac8f490$6501a8c0@sprymusic.com> <3DC83F97.9050502@msu.edu> <20021106020756.GA4680@redhat.com> Message-ID: <20021114043749.GA24122@redhat.com> On Tue, Nov 05, 2002 at 09:07:56PM -0500, Christopher Faylor wrote: >On Tue, Nov 05, 2002 at 05:00:55PM -0500, Harold L Hunt II wrote: >>It was mentioned that the memory size increased when a new X window >>(such as an xterm) is opened, but that it does not decrease when that >>window is destroyed. This indicates one of a few things to me: >> >>1) We are not freeing our window privates (directly or indirectly). >>This seems plausible, but I don't think our window privates are even 1 >>kilobyte. > >I thought I should point out that Cygwin doesn't currently return >deallocated memory to the windows pool. So, the heap only gets larger. I thought I should point out that, while I wrote the function in question, the above statement was completely wrong. I was investigating sbrk() operation for an unrelated matter and noticed that it was dutifully releasing unused memory back to the system. I don't know why I thought things behaved any differently than this but I thought I should correct any misperceptions that I caused. cgf From mario.ohnewald@gmx.de Thu Nov 14 00:35:00 2002 From: mario.ohnewald@gmx.de (Mario Ohnewald) Date: Thu, 14 Nov 2002 00:35:00 -0000 Subject: Cygwin Connection Tool for Windows -- new release In-Reply-To: <5.1.1.6.0.20021114102908.00b26530@pop.net-yan.com> Message-ID: nope, it worked for me ;) -----Original Message----- From: cygwin-xfree-owner@cygwin.com [mailto:cygwin-xfree-owner@cygwin.com]On Behalf Of Stephen Liu Sent: Thursday, November 14, 2002 3:31 AM To: Mario Ohnewald; cygwin-xfree@cygwin.com; mharnois@cpinternet.com Subject: RE: Cygwin Connection Tool for Windows -- new release Hi Mario, At 07:36 PM 11/13/2002 +0100, Mario Ohnewald wrote: >Hi! >You can find the new release at www.thelinuxbeat.com --> projects --> cygwin >tool Is the website down. I could not connect it. Thanks Stephen Liu >The Setup error is fixed and the binary setup file shrank to 2,4MB (from >~8MB). > >Check it out!! From taishin@imap.cc Thu Nov 14 01:44:00 2002 From: taishin@imap.cc (Kin Taishin) Date: Thu, 14 Nov 2002 01:44:00 -0000 Subject: an idea for building win32 based xfs References: Message-ID: <3DD3476E.4060801@imap.cc> Thank you for your comments. Alexander Gottwald wrote: >there is a mkfontdir for truetype fonts. (ttmkfdir) > I forgot to mention. But ttmkfdir does not support TrueType Collection files (*.ttc). And this one is based on FreeType 1, I guess. >> 2) remake xfs using win32 API >> don't know how much work should be done but worth to try? >> > >A lot. the fontserver renders the truetype font to a bitmap font if it >receives a request for font x at size y. You would have to do this for >all characters. > I will use w32api to render fonts. Anti-aliasing would be a thing to be implemented later. >> 3) replace Xft layer of XFree86 with win32-based code >> may be...but I'm not an X guru! >> > >never. This would break a lot of remote programs which require X11 fonts. > >Better idea: Take xfs, strip all font handling except TTF and replace reading >of fonts.dir by an inline ttmkfdir or build the datastructure using simple >w32api TrueType functions. > I see. I'll take the latter approach. I really appreciate your giving me an advice! Thanks, Taishin From satimis@writeme.com Thu Nov 14 03:55:00 2002 From: satimis@writeme.com (Stephen Liu) Date: Thu, 14 Nov 2002 03:55:00 -0000 Subject: Cygwin Connection Tool for Windows -- new release In-Reply-To: References: <5.1.1.6.0.20021114102908.00b26530@pop.net-yan.com> Message-ID: <5.1.1.6.0.20021114162952.00b27548@pop.net-yan.com> Hi Mario, It seems working now. But clicking "www.thelinuxbeat.com" brought me to "http://thelinuxbeat.nu-sec.de/" a German website. Only "Service kostenlos" has a link there, nothing else. Thanks Stephen Liu At 06:17 AM 11/14/2002 +0100, you wrote: >nope, it worked for me ;) > >-----Original Message----- >From: cygwin-xfree-owner@cygwin.com >[mailto:cygwin-xfree-owner@cygwin.com]On Behalf Of Stephen Liu >Sent: Thursday, November 14, 2002 3:31 AM >To: Mario Ohnewald; cygwin-xfree@cygwin.com; mharnois@cpinternet.com >Subject: RE: Cygwin Connection Tool for Windows -- new release > > >Hi Mario, > >At 07:36 PM 11/13/2002 +0100, Mario Ohnewald wrote: > >Hi! > >You can find the new release at www.thelinuxbeat.com --> projects --> >cygwin > >tool > >Is the website down. I could not connect it. > >Thanks > >Stephen Liu > > > > >The Setup error is fixed and the binary setup file shrank to 2,4MB (from > >~8MB). > > > >Check it out!! From spetreolle@yahoo.fr Thu Nov 14 06:39:00 2002 From: spetreolle@yahoo.fr (=?iso-8859-1?q?Sylvain=20Petreolle?=) Date: Thu, 14 Nov 2002 06:39:00 -0000 Subject: Cygwin Connection Tool for Windows -- new release In-Reply-To: <5.1.1.6.0.20021114162952.00b27548@pop.net-yan.com> Message-ID: <20021114094452.57258.qmail@web10101.mail.yahoo.com> --- Stephen Liu a ??crit??: > Hi Mario, > > It seems working now. But clicking "www.thelinuxbeat.com" brought me > to > "http://thelinuxbeat.nu-sec.de/" a German website. Only "Service > kostenlos" has a link there, nothing else. > This is the right site, reread Mario's instructions : > > >You can find the new release at www.thelinuxbeat.com --> projects > --> cygwin tool ___________________________________________________________ Do You Yahoo!? -- Une adresse @yahoo.fr gratuite et en fran??ais ! Yahoo! Mail : http://fr.mail.yahoo.com From mario.Ohnewald@gmx.de Thu Nov 14 08:52:00 2002 From: mario.Ohnewald@gmx.de (Mario Ohnewald) Date: Thu, 14 Nov 2002 08:52:00 -0000 Subject: Cygwin Connection Tool for Windows -- new release References: <5.1.1.6.0.20021114162952.00b27548@pop.net-yan.com> Message-ID: <15984.1037274929@www54.gmx.net> Hi, > Hi Mario, > > It seems working now. But clicking "www.thelinuxbeat.com" brought me to > "http://thelinuxbeat.nu-sec.de/" a German website. Only "Service > kostenlos" has a link there, nothing else. Hehe, yes, this was the correct page, on the left there should appear a menu, where you can select the Project link (english). I might have to think about a redesign again ;P > > Thanks > > Stephen Liu > Mario -- +++ GMX - Mail, Messaging & more http://www.gmx.net +++ NEU: Mit GMX ins Internet. Rund um die Uhr f??r 1 ct/ Min. surfen! From huntharo@msu.edu Thu Nov 14 09:14:00 2002 From: huntharo@msu.edu (Harold L Hunt II) Date: Thu, 14 Nov 2002 09:14:00 -0000 Subject: xfree leaking memory? In-Reply-To: <00e501c28513$0ac8f490$6501a8c0@sprymusic.com> References: <00e501c28513$0ac8f490$6501a8c0@sprymusic.com> <3DC83F97.9050502@msu.edu> <20021106020756.GA4680@redhat.com> <20021114043749.GA24122@redhat.com> Message-ID: <3DD3B5B4.103@msu.edu> Chris, Thanks for clearing that up. That's a lot better than what you had thought. Harold Christopher Faylor wrote: >On Tue, Nov 05, 2002 at 09:07:56PM -0500, Christopher Faylor wrote: > > >>On Tue, Nov 05, 2002 at 05:00:55PM -0500, Harold L Hunt II wrote: >> >> >>>It was mentioned that the memory size increased when a new X window >>>(such as an xterm) is opened, but that it does not decrease when that >>>window is destroyed. This indicates one of a few things to me: >>> >>>1) We are not freeing our window privates (directly or indirectly). >>>This seems plausible, but I don't think our window privates are even 1 >>>kilobyte. >>> >>> >>I thought I should point out that Cygwin doesn't currently return >>deallocated memory to the windows pool. So, the heap only gets larger. >> >> > >I thought I should point out that, while I wrote the function in >question, the above statement was completely wrong. I was investigating >sbrk() operation for an unrelated matter and noticed that it was >dutifully releasing unused memory back to the system. > >I don't know why I thought things behaved any differently than this but >I thought I should correct any misperceptions that I caused. > >cgf > > From satimis@writeme.com Thu Nov 14 09:40:00 2002 From: satimis@writeme.com (Stephen Liu) Date: Thu, 14 Nov 2002 09:40:00 -0000 Subject: Virus Warning (RE: Cygwin Connection Tool for Windows -- new release) In-Reply-To: <15984.1037274929@www54.gmx.net> References: <5.1.1.6.0.20021114162952.00b27548@pop.net-yan.com> Message-ID: <5.1.1.6.0.20021115004232.00b4fd48@pop.net-yan.com> Hi Mario, The file got infected with worm W32.Bugbear@mm and it spread to the whole WinXP machine immediately. Fortunately I was able to fix it removing the worm. Another strange thing is your mentioned menu on the left of the website disappeared on IE but can be seen on Mozilla. Stephen Liu At 12:55 PM 11/14/2002 +0100, Mario Ohnewald wrote: >Hi, > > > Hi Mario, > > > > It seems working now. But clicking "www.thelinuxbeat.com" brought me to > > "http://thelinuxbeat.nu-sec.de/" a German website. Only "Service > > kostenlos" has a link there, nothing else. >Hehe, yes, this was the correct page, on the left there should appear a >menu, where you can select the Project link (english). >I might have to think about a redesign again ;P > > > > > Thanks > > > > Stephen Liu > > > >Mario > >-- >+++ GMX - Mail, Messaging & more http://www.gmx.net +++ >NEU: Mit GMX ins Internet. Rund um die Uhr f?r 1 ct/ Min. surfen! From mario.ohnewald@gmx.de Thu Nov 14 09:49:00 2002 From: mario.ohnewald@gmx.de (Mario Ohnewald) Date: Thu, 14 Nov 2002 09:49:00 -0000 Subject: Virus Warning (RE: Cygwin Connection Tool for Windows -- new release) In-Reply-To: <5.1.1.6.0.20021115004232.00b4fd48@pop.net-yan.com> Message-ID: hi! I took it from the net imeediately!!! I have just checked the file and it seems to be ok, but i will check it another time with different Programms, too. Thank you! MArio From: cygwin-xfree-owner@cygwin.com [mailto:cygwin-xfree-owner@cygwin.com]On Behalf Of Stephen Liu Sent: Thursday, November 14, 2002 5:52 PM To: cygwin-xfree@cygwin.com Subject: Virus Warning (RE: Cygwin Connection Tool for Windows -- new release) Hi Mario, The file got infected with worm W32.Bugbear@mm and it spread to the whole WinXP machine immediately. Fortunately I was able to fix it removing the worm. Another strange thing is your mentioned menu on the left of the website disappeared on IE but can be seen on Mozilla. Stephen Liu At 12:55 PM 11/14/2002 +0100, Mario Ohnewald wrote: >Hi, > > > Hi Mario, > > > > It seems working now. But clicking "www.thelinuxbeat.com" brought me to > > "http://thelinuxbeat.nu-sec.de/" a German website. Only "Service > > kostenlos" has a link there, nothing else. >Hehe, yes, this was the correct page, on the left there should appear a >menu, where you can select the Project link (english). >I might have to think about a redesign again ;P > > > > > Thanks > > > > Stephen Liu > > > >Mario > >-- >+++ GMX - Mail, Messaging & more http://www.gmx.net +++ >NEU: Mit GMX ins Internet. Rund um die Uhr f??r 1 ct/ Min. surfen! From mario.ohnewald@gmx.de Thu Nov 14 10:00:00 2002 From: mario.ohnewald@gmx.de (Mario Ohnewald) Date: Thu, 14 Nov 2002 10:00:00 -0000 Subject: Virus Warning (RE: Cygwin Connection Tool for Windows -- new release) In-Reply-To: <5.1.1.6.0.20021115004232.00b4fd48@pop.net-yan.com> Message-ID: Hi! I have checked my System and the setup file with AntiVir/XP and Norton Antivirus 2002 (both uptodate). I could not find any viruses. Please check your system, it might have infected the setup file. Please keep me up to date ;) Regards, Mario p.s. Anyone else with same problem? By the way, how to i get the ">" for reply messages, i cant find it anymore! :/ -----Original Message----- From: cygwin-xfree-owner@cygwin.com [mailto:cygwin-xfree-owner@cygwin.com]On Behalf Of Stephen Liu Sent: Thursday, November 14, 2002 5:52 PM To: cygwin-xfree@cygwin.com Subject: Virus Warning (RE: Cygwin Connection Tool for Windows -- new release) Hi Mario, The file got infected with worm W32.Bugbear@mm and it spread to the whole WinXP machine immediately. Fortunately I was able to fix it removing the worm. Another strange thing is your mentioned menu on the left of the website disappeared on IE but can be seen on Mozilla. Stephen Liu At 12:55 PM 11/14/2002 +0100, Mario Ohnewald wrote: >Hi, > > > Hi Mario, > > > > It seems working now. But clicking "www.thelinuxbeat.com" brought me to > > "http://thelinuxbeat.nu-sec.de/" a German website. Only "Service > > kostenlos" has a link there, nothing else. >Hehe, yes, this was the correct page, on the left there should appear a >menu, where you can select the Project link (english). >I might have to think about a redesign again ;P > > > > > Thanks > > > > Stephen Liu > > > >Mario > >-- >+++ GMX - Mail, Messaging & more http://www.gmx.net +++ >NEU: Mit GMX ins Internet. Rund um die Uhr f??r 1 ct/ Min. surfen! From gsw@agere.com Thu Nov 14 11:07:00 2002 From: gsw@agere.com (Gerald S. Williams) Date: Thu, 14 Nov 2002 11:07:00 -0000 Subject: Removing focus from X In-Reply-To: Message-ID: I had meant to try this, but I'm having some build problems at the moment. I backed out my patch, and found that the build still fails on the CVS snapshot I took 2 weeks ago. It reports this error when I run "make" in xc/programs/Xserver: [...] gcc -o XWin.exe -O2 -fno-strength-reduce -Wall -Wpointer-arith -mwindows -e _ma inCRTStartup -L../../exports/lib hw/xwin/stubs.o hw/xwin/XWin.res dix /libdix.a os/libos.a ../../exports/lib/libXau.a ../../exports/lib/libXdmcp.a hw /xwin/libXwin.a fb/libfb.a dix/libxpstubs.a mi/libmi.a Xext/libext.a xkb/libxkb. a Xi/libxinput.a lbx/liblbx.a ../../lib/lbx util/liblbxutil.a dbe/libdbe.a record/librecord.a XTrap/libxt rap.a GL/glx/libglx.a GL/mesa/GLcore/libGLcore.a render/librender.a miext/shadow/libshadow.a hw/xfree86/parser/libxf 86config.a -L/usr/X11R6/lib ../../lib/font/libXfont.a dix/libxpstubs.a -lfr eetype -L../../exports/lib -lXext -lX11 -lz.dll -lgdi32 -Wl, --enable-auto-import hw/xwin/libXwin.a(winscrinit.o)(.text+0x9ce):winscrinit.c: undefined reference to `_LayerStartInit' hw/xwin/libXwin.a(winscrinit.o)(.text+0xa2e):winscrinit.c: undefined reference to `_LayerFinishInit' hw/xwin/libXwin.a(winlayer.o)(.text+0xa9):winlayer.c: undefined reference to `_LayerCreate' hw/xwin/libXwin.a(winlayer.o)(.text+0xfd):winlayer.c: undefined reference to `_LayerWindowAdd' hw/xwin/libXwin.a(winlayer.o)(.text+0x15d):winlayer.c: undefined reference to `_LayerWindowRemove' collect2: ld returned 1 exit status make: *** [XWin.exe] Error 1 Was there a problem with the CVS snapshot, or am I just doing something wrong? Any ideas? ======================== Anyway, here are the changes that I had made to the file xc/programs/Xserver/hw/xwin/winwndproc.c: Index: xc/programs/Xserver/hw/xwin/winwndproc.c =================================================================== RCS file: /cvs/xc/programs/Xserver/hw/xwin/winwndproc.c,v retrieving revision 1.23 diff -u -1 -0 -r1.23 winwndproc.c --- xc/programs/Xserver/hw/xwin/winwndproc.c 2002/10/17 08:18:25 1.23 +++ xc/programs/Xserver/hw/xwin/winwndproc.c 2002/11/14 17:36:39 @@ -29,20 +29,40 @@ * Suhaib M Siddiqi * Peter Busch * Harold L Hunt II * MATSUZAKI Kensuke */ /* $XFree86: xc/programs/Xserver/hw/xwin/winwndproc.c,v 1.23 2002/10/17 08:18:25 alanh Exp $ */ #include "win.h" #include +#define KILL_FOCUS_ENHANCEMENT +#ifdef KILL_FOCUS_ENHANCEMENT + +#define INCLUDE_XLIB_WORKAROUND +#ifdef INCLUDE_XLIB_WORKAROUND +typedef void Display; + +extern Display *XOpenDisplay( + const char* /* display_name */ +); + +extern void XSetInputFocus( + Display* /* display */, + Window /* focus */, + int /* revert_to */, + Time /* time */ +); +#endif /* INCLUDE_XLIB_WORKAROUND */ +#endif /* KILL_FOCUS_ENHANCEMENT */ + BOOL CALLBACK winChangeDepthDlgProc (HWND hDialog, UINT message, WPARAM wParam, LPARAM lParam); /* * Called by winWakeupHandler * Processes current Windows message */ @@ -831,20 +851,33 @@ case WM_KILLFOCUS: if (s_pScreenPriv == NULL || s_pScreenInfo->fIgnoreInput) break; /* Store the state of all mode keys */ winStoreModeKeyStates (s_pScreen); /* Release any pressed keys */ winKeybdReleaseKeys (); + +#ifdef KILL_FOCUS_ENHANCEMENT + /* Remove focus from all X windows (crude implementation) */ + { + Display *display = XOpenDisplay(NULL); + + if (display) + { + /* Revert is ignored... */ + XSetInputFocus(display,None,RevertToNone,CurrentTime); + } + } +#endif /* KILL_FOCUS_ENHANCEMENT */ return 0; #if WIN_NEW_KEYBOARD_SUPPORT case WM_SYSKEYDOWN: case WM_KEYDOWN: case WM_SYSKEYUP: case WM_KEYUP: if (s_pScreenPriv == NULL || s_pScreenInfo->fIgnoreInput) break; ======================== As you can see, it simply sets the input focus to NONE when the KILLFOCUS event is received. Does this sound like a reasonable approach? Sorry about the weird declarations at the top--if you try to #include in this file, you get some duplicate declarations (another thing for me to look into). I'm not sure if anything needs to be done with the SETFOCUS event or not--I figured I'd try this change out first. For mouse-initiated focus changes, I would expect the focus to be updated anyway. I suppose alt-tab initiated changes may not get the focus updated (I haven't tracked it through). Perhaps a WarpCursor call could be added to SETFOCUS (if needed). -Jerry From mailspam1@robf.de Thu Nov 14 11:11:00 2002 From: mailspam1@robf.de (Robert Fenk) Date: Thu, 14 Nov 2002 11:11:00 -0000 Subject: xwinclip test 6 hacked to leave selection untouched Message-ID: <15827.58527.984865.157209@sunbayer71.informatik.tu-muenchen.de> Hi, I found it quite annoying that xwinclip-test6 was grabbing the ownership of the selection every-time it looses it while IMHO it should just grab it when there is a new selection in the MS-Windows clipboard. Grabbing means the original application is loosing it and with xterm and xemacs it means that the selection is really lost, dehighlighted and not available anymore. So I did some googling how to detect clipboard changes on MS-Windows and added the code for this to wndproc.c and modified xevents.c to just grab the selection if a MS-Windows clipboard change is detected which is not caused by xwinclip itself (this part is really a hack). The code might be helpful for those working on improved xwinclip versions, but I do not have any intention on more hacking. I actually have no idea about MS-Windows API and X11 so there are probably new bugs ... http://www.robf.de/Hacking/xwinclip-test7.tgz Bye Robert PS: I have not subscribed to this list so you should address questions with a CC to me. From huntharo@msu.edu Thu Nov 14 11:12:00 2002 From: huntharo@msu.edu (Harold L Hunt II) Date: Thu, 14 Nov 2002 11:12:00 -0000 Subject: [Lesstif] "mwm" on Cygwin : heavy load In-Reply-To: <9E035BE80785AA4EAA456959ECB4A30D03426ED7@nt036.an.sopra> References: <9E035BE80785AA4EAA456959ECB4A30D03426ED7@nt036.an.sopra> Message-ID: <3DD3F466.5090902@msu.edu> Christian, See, the problem here is that you are not reading what I am telling you about the -emulatepseudo parameter. Let me explain. Imagine that you would really like to have Cygwin/XFree86 running in 16 bit color, but that you would like to still be able to run applications that require a PseudoColor visual. Well, the -emulatepseudo option creates a fake PseudoColor visual in addition to the standard TrueColor visual when running in TrueColor modes. Therefore, -emulatepseudo does nothing beneficial when you are already running in 8 bit color mode, as there is already a PseudoColor visual when you run in 8 bit color mode (both in windowed and in fullscreen modes). Thus, LEAVE OFF THE FREAKING -emulatepseudo PARAMETER!!! There, thanks for reading it this time. Now, as to the additional information you supplied, you did not specify if you left off the -emulatepseudo parameter when you ran with -depth 16 and -fullscreen. If you did not leave off the -emulatepseudo parameter, then I am not surprised that your problem did not go away, as PseudoColor emulation in TrueColor modes is a hack that is nowhere near completion, so it could very well be causing your problems. On the other hand, Cygwin has gone through many revisions in the past few days (including new versions of the Cygwin DLL) and some of these revisions have been causing great problems for many users. I suggest that you run Cygwin's setup.exe again and let it download and install any updated packages. Could someone from Lesstif give him some notes on possibly renaming any configuration files for Lesstif so that we can rule out any custom configuration as the cause of this problem? Thanks, Harold Christian SARDIN wrote: >Thanks for answering. > >But, no change if -depth 16 in TrueColor. (I do need pseudo color because I >want to display an application which plays with colormap >-XtConvertAndStore-) > >With the task manager I changed priority from normal to a lower level, it >doesnt change the 100% rated (By the way I run XP ) , but moves seems more >fluid... I can't try my application to see its speed (needing pseudo color >! ) >And it is difficult to guess what is responsible for slowlyness : PC, >Cygwin, or Xfree - mwm / memory-swap ???? > >May be the information given by XP is wrong ! >I expect a driver soon to try installing Linux (Red Hat 7.3 probably) and >compare ! > >Christian > >-----Message d'origine----- >De: Harold L Hunt II [SMTP:huntharo@msu.edu] >Date: jeudi 14 novembre 2002 16:00 >A: csardin@sopragroup.com >Cc: lesstif@lesstif.org >Objet: Re: [Lesstif] "mwm" on Cygwin : heavy load > >Christian, > >Do NOT use the -emulatepseudo option for XWin.exe. That is a >development-only feature and it more than likely does not do what you >think it does. > >That could be the root of your problem. > >I actually use MWM was my primary window manager for Cygwin/XFree86 and >I have never had a problem with it taking 100% of the CPU. Try passing >``-depth 16'' and see if it works better then, as this could be isolated >to 8-bit color. > >Harold > >Christian SARDIN wrote: > > > >>Hello >> >>I discovered less tif recently, and am surprisedthat CYGWIN does not >> >> >appear > > >>in the list of platforms supported. Anyway I had it with Cygwin package. >> >>My problem is that it uses 100% CPU ! Even if I reduce the virtual desktop >>at ONE screen area. Do you know that problem ? Have you a solution ? >> >>Thanks a lot >> >>Christian >> >>I start with >>startx -- -emulatepseudo -fullscreen -depth 8 >> >>in app-defaults, The onlu uncommented lines are finally : >> >> >>!! $Id: Mwm.ad,v 1.2 2001/10/27 18:32:58 amai Exp $ >>!! >>!! app defaults for mwm >>*multiScreen: False >>*maximumMaximumSize: "screen_width x screen_height" >> >> >> >> >>My .xinitrc includes : >>setxkbmap -layout fr >>xset fp= tcp/192.168.191.109:7000 >> >># start some nice programs >> >>xclock -geometry 50x50-1+1 & >>xterm -geometry 80x50+494+51 & >>xhost + >> >>mwm >> >> >>And the PC is a VT6200 HP, laptop notebook P4 M 1.7 GHz, 256 Mo, ATI >> >> >radeon > > >>Mobility M6 with 32 Mo. >> >> >>_______________________________________________ >>Lesstif mailing list >>Lesstif@lesstif.org >>https://terror.hungry.com/mailman/listinfo/lesstif >> >> >> >> > > > From salahz@look.ca Thu Nov 14 11:19:00 2002 From: salahz@look.ca (salahz@look.ca) Date: Thu, 14 Nov 2002 11:19:00 -0000 Subject: Running Xwin in 8 bit depth Message-ID: <53444.205.233.28.40.1037301050.squirrel@webmail1.look.ca> Hello, I have succeded to run Xwin on a thin client Terminal connected to a Windows NT 4 Terminal Server Edition (RDP protocol). Now i noticed the following behaviour, and was wondering if there is a way to avoid it: Situation 1: On Terminal or PC (set to 256 Colors) - XWin :0 -query host i get the logon in about three minutes. - XWin :0 -query host -fullscreen i get the logon in 20 seconds but the whole screen is black, except the cursor, i can however login but the screen is ugly (black and white). Note: i tried -engine 1 2 4 Situation 2: On the same PC Set to (65536 Colors) XWin :0 -query host I get the logon in about 20 seconds. I could not test it on a terminal Max resolution 256 Colors. It seems that the fact that the depth is 8 bits is slowing the logon display (three minutes is an eternity for some users) but once in, the application displays at normal rate. Any help is greatly appreciated, Thank you, Salah. From huntharo@msu.edu Thu Nov 14 11:28:00 2002 From: huntharo@msu.edu (Harold L Hunt II) Date: Thu, 14 Nov 2002 11:28:00 -0000 Subject: Removing focus from X In-Reply-To: References: Message-ID: <3DD3F5B1.9020601@msu.edu> Jerry, Yeah, a mistaken flag got checked into CVS... be sure to look in win.h and set WIN_LAYER_SUPPORT (or something similar) to NO. Then do a ``make clean all'' in xc/programs/Xserver/hw/xwin followed by a ``make XWin.exe'' in xc/programs/Xserver. I can see two problems with the patch right off the bat: 1) You are leaking memory like crazy because you create a display each time that code is executed but you never close the display. 2) Because you never close the display, XWin.exe will be terminated if the server ever resets. Try it by running XWin.exe, then xterm.exe, and ``exit'' the xterm. The server should kill it self. Harold Gerald S. Williams wrote: >I had meant to try this, but I'm having some build problems >at the moment. I backed out my patch, and found that the >build still fails on the CVS snapshot I took 2 weeks ago. It >reports this error when I run "make" in xc/programs/Xserver: > >[...] >gcc -o XWin.exe -O2 -fno-strength-reduce -Wall -Wpointer-arith -mwindows -e _ma >inCRTStartup -L../../exports/lib hw/xwin/stubs.o hw/xwin/XWin.res dix >/libdix.a os/libos.a ../../exports/lib/libXau.a ../../exports/lib/libXdmcp.a hw >/xwin/libXwin.a fb/libfb.a dix/libxpstubs.a mi/libmi.a Xext/libext.a xkb/libxkb. >a Xi/libxinput.a lbx/liblbx.a ../../lib/lbx >util/liblbxutil.a dbe/libdbe.a record/librecord.a XTrap/libxt >rap.a GL/glx/libglx.a GL/mesa/GLcore/libGLcore.a > render/librender.a miext/shadow/libshadow.a hw/xfree86/parser/libxf >86config.a -L/usr/X11R6/lib ../../lib/font/libXfont.a dix/libxpstubs.a -lfr >eetype -L../../exports/lib -lXext -lX11 -lz.dll -lgdi32 -Wl, >--enable-auto-import >hw/xwin/libXwin.a(winscrinit.o)(.text+0x9ce):winscrinit.c: undefined reference to `_LayerStartInit' >hw/xwin/libXwin.a(winscrinit.o)(.text+0xa2e):winscrinit.c: undefined reference to `_LayerFinishInit' >hw/xwin/libXwin.a(winlayer.o)(.text+0xa9):winlayer.c: undefined reference to `_LayerCreate' >hw/xwin/libXwin.a(winlayer.o)(.text+0xfd):winlayer.c: undefined reference to `_LayerWindowAdd' >hw/xwin/libXwin.a(winlayer.o)(.text+0x15d):winlayer.c: undefined reference to `_LayerWindowRemove' >collect2: ld returned 1 exit status >make: *** [XWin.exe] Error 1 > >Was there a problem with the CVS snapshot, or am I just >doing something wrong? Any ideas? > >======================== > >Anyway, here are the changes that I had made to the file >xc/programs/Xserver/hw/xwin/winwndproc.c: > >Index: xc/programs/Xserver/hw/xwin/winwndproc.c >=================================================================== >RCS file: /cvs/xc/programs/Xserver/hw/xwin/winwndproc.c,v >retrieving revision 1.23 >diff -u -1 -0 -r1.23 winwndproc.c >--- xc/programs/Xserver/hw/xwin/winwndproc.c 2002/10/17 08:18:25 1.23 >+++ xc/programs/Xserver/hw/xwin/winwndproc.c 2002/11/14 17:36:39 >@@ -29,20 +29,40 @@ > * Suhaib M Siddiqi > * Peter Busch > * Harold L Hunt II > * MATSUZAKI Kensuke > */ > /* $XFree86: xc/programs/Xserver/hw/xwin/winwndproc.c,v 1.23 2002/10/17 08:18:25 alanh Exp $ */ > > #include "win.h" > #include > >+#define KILL_FOCUS_ENHANCEMENT >+#ifdef KILL_FOCUS_ENHANCEMENT >+ >+#define INCLUDE_XLIB_WORKAROUND >+#ifdef INCLUDE_XLIB_WORKAROUND >+typedef void Display; >+ >+extern Display *XOpenDisplay( >+ const char* /* display_name */ >+); >+ >+extern void XSetInputFocus( >+ Display* /* display */, >+ Window /* focus */, >+ int /* revert_to */, >+ Time /* time */ >+); >+#endif /* INCLUDE_XLIB_WORKAROUND */ >+#endif /* KILL_FOCUS_ENHANCEMENT */ >+ > BOOL CALLBACK > winChangeDepthDlgProc (HWND hDialog, UINT message, > WPARAM wParam, LPARAM lParam); > > > /* > * Called by winWakeupHandler > * Processes current Windows message > */ > >@@ -831,20 +851,33 @@ > > case WM_KILLFOCUS: > if (s_pScreenPriv == NULL || s_pScreenInfo->fIgnoreInput) > break; > > /* Store the state of all mode keys */ > winStoreModeKeyStates (s_pScreen); > > /* Release any pressed keys */ > winKeybdReleaseKeys (); >+ >+#ifdef KILL_FOCUS_ENHANCEMENT >+ /* Remove focus from all X windows (crude implementation) */ >+ { >+ Display *display = XOpenDisplay(NULL); >+ >+ if (display) >+ { >+ /* Revert is ignored... */ >+ XSetInputFocus(display,None,RevertToNone,CurrentTime); >+ } >+ } >+#endif /* KILL_FOCUS_ENHANCEMENT */ > return 0; > > #if WIN_NEW_KEYBOARD_SUPPORT > case WM_SYSKEYDOWN: > case WM_KEYDOWN: > case WM_SYSKEYUP: > case WM_KEYUP: > if (s_pScreenPriv == NULL || s_pScreenInfo->fIgnoreInput) > break; > >======================== > >As you can see, it simply sets the input focus to NONE when >the KILLFOCUS event is received. Does this sound like a >reasonable approach? Sorry about the weird declarations at >the top--if you try to #include in this file, >you get some duplicate declarations (another thing for me >to look into). > >I'm not sure if anything needs to be done with the SETFOCUS >event or not--I figured I'd try this change out first. For >mouse-initiated focus changes, I would expect the focus to >be updated anyway. I suppose alt-tab initiated changes may >not get the focus updated (I haven't tracked it through). >Perhaps a WarpCursor call could be added to SETFOCUS (if >needed). > >-Jerry > > From huntharo@msu.edu Thu Nov 14 11:40:00 2002 From: huntharo@msu.edu (Harold L Hunt II) Date: Thu, 14 Nov 2002 11:40:00 -0000 Subject: xwinclip test 6 hacked to leave selection untouched In-Reply-To: <15827.58527.984865.157209@sunbayer71.informatik.tu-muenchen.de> References: <15827.58527.984865.157209@sunbayer71.informatik.tu-muenchen.de> Message-ID: <3DD3F749.6050101@msu.edu> Robert, First, this might be really cool. I had code in xwinclip a long time ago that watched the Windows clipboard and did almost exactly the same thing that you have done... except that our processing of Windows messages was not yet correct so xwinclip ended up hanging when its message queue overflowed. Now that the message processing is fixed this new patch should work well. I won't have a chance to test this until tonight or later. One side note though... please do not call your xwinclip releases test7, or test8, etc. as this will create a great amount of confusion when trying to determine if a user has a problem with an official release or an independent developer's release. Call them something like xwincip-robf1.tgz. Thanks for the patch, Harold Robert Fenk wrote: >Hi, > >I found it quite annoying that xwinclip-test6 was grabbing >the ownership of the selection every-time it looses it while >IMHO it should just grab it when there is a new selection in >the MS-Windows clipboard. Grabbing means the original >application is loosing it and with xterm and xemacs it means >that the selection is really lost, dehighlighted and not >available anymore. > >So I did some googling how to detect clipboard changes on >MS-Windows and added the code for this to wndproc.c and >modified xevents.c to just grab the selection if a >MS-Windows clipboard change is detected which is not caused >by xwinclip itself (this part is really a hack). > >The code might be helpful for those working on improved xwinclip >versions, but I do not have any intention on more hacking. >I actually have no idea about MS-Windows API and X11 so >there are probably new bugs ... > >http://www.robf.de/Hacking/xwinclip-test7.tgz > >Bye Robert > >PS: I have not subscribed to this list so you should address > questions with a CC to me. > > > From huntharo@msu.edu Thu Nov 14 11:52:00 2002 From: huntharo@msu.edu (Harold L Hunt II) Date: Thu, 14 Nov 2002 11:52:00 -0000 Subject: Hey hey, I now have the emacs 100% cpu usage bug too [CGF, this one is for you] Message-ID: <3DD3F96E.4010705@msu.edu> I have seen plenty of reports that emacs is going into an infinite loop upon startup, but I have not been able to offer any solution to help people fix this problem. Well, now I have the same problem on my machine. This is obviously due to a bug in some new Cygwin package, and I am guessing that cygwin1.dll is most likely the culprit (as there have been no new XWin.exe nor emacs releases in quite some time). The problem showed up after I ran setup.exe on Monday, I believe... but I did not run emacs again until today. So, which release do we think caused this problem? I am running cygwin1.dll version 1.3.15-1 from November 7th. I will check now if there is another update available that fixes the problem. Harold From huntharo@msu.edu Thu Nov 14 13:30:00 2002 From: huntharo@msu.edu (Harold L Hunt II) Date: Thu, 14 Nov 2002 13:30:00 -0000 Subject: Hey hey, I now have the emacs 100% cpu usage bug too [CGF, this one is for you] In-Reply-To: <3DD3F96E.4010705@msu.edu> References: <3DD3F96E.4010705@msu.edu> Message-ID: <3DD3FC14.80904@msu.edu> More information: cygcheck reports cygwin1.dll is version 1.3.15-1, yet /etc/setup/installed.db is reporting that cygwin-1.3.15-2.dll is installed. Setup.exe claimed that it needed to restart the computer to replace in-use files both times that I installed cygwin-1.3.15-2, yet upon reboot the cygwin1.dll file is still 1.3.15-1. Was the version number of the DLL accidentally not bumped, is setup.exe flubbing the replacement of cygwin1.dll, or is this the correct version number of the DLL contained in this package (even though the version numbers do not agree)? Harold From starksb@ebi.ac.uk Thu Nov 14 13:50:00 2002 From: starksb@ebi.ac.uk (David Starks-Browning) Date: Thu, 14 Nov 2002 13:50:00 -0000 Subject: Hey hey, I now have the emacs 100% cpu usage bug too [CGF, this one is for you] In-Reply-To: <3DD3F96E.4010705@msu.edu> References: <3DD3F96E.4010705@msu.edu> Message-ID: <661-Thu14Nov2002195158+0000-starksb@ebi.ac.uk> Harold, I identify the latest snapshot without the problem here: Regards, David On Thursday 14 Nov 02, Harold L Hunt II writes: > I have seen plenty of reports that emacs is going into an infinite loop > upon startup, but I have not been able to offer any solution to help > people fix this problem. > > Well, now I have the same problem on my machine. This is obviously due > to a bug in some new Cygwin package, and I am guessing that cygwin1.dll > is most likely the culprit (as there have been no new XWin.exe nor emacs > releases in quite some time). > > The problem showed up after I ran setup.exe on Monday, I believe... but > I did not run emacs again until today. > > So, which release do we think caused this problem? I am running > cygwin1.dll version 1.3.15-1 from November 7th. From gsw@agere.com Thu Nov 14 14:22:00 2002 From: gsw@agere.com (Gerald S. Williams) Date: Thu, 14 Nov 2002 14:22:00 -0000 Subject: Removing focus from X In-Reply-To: Message-ID: Thanks Harold, that change to win.h did the trick. Too bad my patch didn't work as well. :-( As per Harold's advice, I added a call to XCloseDisplay(). Here is the revised (still crude) patch to winwndproc.c: Index: winwndproc.c =================================================================== RCS file: /cvs/xc/programs/Xserver/hw/xwin/winwndproc.c,v retrieving revision 1.23 diff -u -1 -0 -r1.23 winwndproc.c --- winwndproc.c 2002/10/17 08:18:25 1.23 +++ winwndproc.c 2002/11/14 21:19:55 @@ -29,20 +29,44 @@ * Suhaib M Siddiqi * Peter Busch * Harold L Hunt II * MATSUZAKI Kensuke */ /* $XFree86: xc/programs/Xserver/hw/xwin/winwndproc.c,v 1.23 2002/10/17 08:18:25 alanh Exp $ */ #include "win.h" #include +#define KILL_FOCUS_ENHANCEMENT 1 +#if KILL_FOCUS_ENHANCEMENT + +#define INCLUDE_XLIB_WORKAROUND 1 +#if INCLUDE_XLIB_WORKAROUND +typedef void Display; + +extern Display *XOpenDisplay( + const char* /* display_name */ +); + +extern void XSetInputFocus( + Display* /* display */, + Window /* focus */, + int /* revert_to */, + Time /* time */ +); + +extern int XCloseDisplay( + Display* /* display */ +); +#endif /* INCLUDE_XLIB_WORKAROUND */ +#endif /* KILL_FOCUS_ENHANCEMENT */ + BOOL CALLBACK winChangeDepthDlgProc (HWND hDialog, UINT message, WPARAM wParam, LPARAM lParam); /* * Called by winWakeupHandler * Processes current Windows message */ @@ -831,20 +855,34 @@ case WM_KILLFOCUS: if (s_pScreenPriv == NULL || s_pScreenInfo->fIgnoreInput) break; /* Store the state of all mode keys */ winStoreModeKeyStates (s_pScreen); /* Release any pressed keys */ winKeybdReleaseKeys (); + +#if KILL_FOCUS_ENHANCEMENT + /* Remove focus from all X windows (crude implementation) */ + { + Display *display = XOpenDisplay(NULL); + + if (display) + { + /* Revert is ignored... */ + XSetInputFocus(display,None,RevertToNone,CurrentTime); + XCloseDisplay(display); + } + } +#endif /* KILL_FOCUS_ENHANCEMENT */ return 0; #if WIN_NEW_KEYBOARD_SUPPORT case WM_SYSKEYDOWN: case WM_KEYDOWN: case WM_SYSKEYUP: case WM_KEYUP: if (s_pScreenPriv == NULL || s_pScreenInfo->fIgnoreInput) break; =============================== However, in -rootless mode, the patch doesn't seem to make any difference. And without -rootless, all of X seems to hang as soon as I launch wmaker (I'm using WindowMaker as my current window manager). I realize that the patch needs cleaning up, but I wasn't expecting the results I saw. Any thoughts? -Jerry From darko.palic@gmx.de Thu Nov 14 15:50:00 2002 From: darko.palic@gmx.de (Palic, Darko) Date: Thu, 14 Nov 2002 15:50:00 -0000 Subject: Virus Warning (RE: Cygwin Connection Tool for Windows -- new release) In-Reply-To: Message-ID: Hi Mario! do you spread viruses, bahhhh tell your admin to fix it immediately :-) Seems to be a typical windows/outlook user :-) Under Outlook you could find it under options/settings/email options cu Darko > -----Original Message----- > From: cygwin-xfree-owner@cygwin.com > [mailto:cygwin-xfree-owner@cygwin.com]On Behalf Of Mario Ohnewald > Sent: Thursday, November 14, 2002 6:44 PM > To: cygwin-xfree@cygwin.com > Subject: RE: Virus Warning (RE: Cygwin Connection Tool for Windows -- > new release) > > > Hi! > I have checked my System and the setup file with AntiVir/XP and Norton > Antivirus 2002 (both uptodate). > I could not find any viruses. Please check your system, it might have > infected the setup file. > Please keep me up to date ;) > > Regards, Mario > > p.s. Anyone else with same problem? > > By the way, how to i get the ">" for reply messages, i cant find > it anymore! > :/ > > > > -----Original Message----- > From: cygwin-xfree-owner@cygwin.com > [mailto:cygwin-xfree-owner@cygwin.com]On Behalf Of Stephen Liu > Sent: Thursday, November 14, 2002 5:52 PM > To: cygwin-xfree@cygwin.com > Subject: Virus Warning (RE: Cygwin Connection Tool for Windows -- new > release) > > > Hi Mario, > > The file got infected with worm W32.Bugbear@mm and it spread to the whole > WinXP machine immediately. Fortunately I was able to fix it removing the > worm. > > Another strange thing is your mentioned menu on the left of the website > disappeared on IE but can be seen on Mozilla. > > Stephen Liu > > > At 12:55 PM 11/14/2002 +0100, Mario Ohnewald wrote: > >Hi, > > > > > Hi Mario, > > > > > > It seems working now. But clicking "www.thelinuxbeat.com" > brought me to > > > "http://thelinuxbeat.nu-sec.de/" a German website. Only "Service > > > kostenlos" has a link there, nothing else. > >Hehe, yes, this was the correct page, on the left there should appear a > >menu, where you can select the Project link (english). > >I might have to think about a redesign again ;P > > > > > > > > Thanks > > > > > > Stephen Liu > > > > > > >Mario > > > >-- > >+++ GMX - Mail, Messaging & more http://www.gmx.net +++ > >NEU: Mit GMX ins Internet. Rund um die Uhr f??r 1 ct/ Min. surfen! > > > > From mario.ohnewald@gmx.de Thu Nov 14 15:51:00 2002 From: mario.ohnewald@gmx.de (Mario Ohnewald) Date: Thu, 14 Nov 2002 15:51:00 -0000 Subject: NO VIRUS (Virus Warning (RE: Cygwin Connection Tool for Windows -- new release)) In-Reply-To: Message-ID: Hi Darko, >From: cygwin-xfree-owner@cygwin.com >[mailto:cygwin-xfree-owner@cygwin.com]On Behalf Of Palic, Darko >Sent: Thursday, November 14, 2002 10:51 PM >To: cygwin-xfree@cygwin.com >Subject: RE: Virus Warning (RE: Cygwin Connection Tool for Windows -- >new release) > > >Hi Mario! > >do you spread viruses, bahhhh tell your admin to fix it immediately :-) muhahaah ;P > >Seems to be a typical windows/outlook user :-) I admit, i am soooo sorry, but i would blame it on Battlefield! hehe >Under Outlook you could find it under options/settings/email options Muchas Gracias!! p.s. I gave this setup.exe file to 4different users, with different virus scanners, all uptodate! Noone found a Virus. If you are not sure weather to use it or not, use the Sourcecode and compile it yourself! > >cu Darko > >> -----Original Message----- >> From: cygwin-xfree-owner@cygwin.com >> [mailto:cygwin-xfree-owner@cygwin.com]On Behalf Of Mario Ohnewald >> Sent: Thursday, November 14, 2002 6:44 PM >> To: cygwin-xfree@cygwin.com >> Subject: RE: Virus Warning (RE: Cygwin Connection Tool for Windows -- >> new release) >> >> >> Hi! >> I have checked my System and the setup file with AntiVir/XP and Norton >> Antivirus 2002 (both uptodate). >> I could not find any viruses. Please check your system, it might have >> infected the setup file. >> Please keep me up to date ;) >> >> Regards, Mario >> >> p.s. Anyone else with same problem? >> >> By the way, how to i get the ">" for reply messages, i cant find >> it anymore! >> :/ >> >> >> >> -----Original Message----- >> From: cygwin-xfree-owner@cygwin.com >> [mailto:cygwin-xfree-owner@cygwin.com]On Behalf Of Stephen Liu >> Sent: Thursday, November 14, 2002 5:52 PM >> To: cygwin-xfree@cygwin.com >> Subject: Virus Warning (RE: Cygwin Connection Tool for Windows -- new >> release) >> >> >> Hi Mario, >> >> The file got infected with worm W32.Bugbear@mm and it spread to the whole >> WinXP machine immediately. Fortunately I was able to fix it removing the >> worm. >> >> Another strange thing is your mentioned menu on the left of the website >> disappeared on IE but can be seen on Mozilla. >> >> Stephen Liu >> >> >> At 12:55 PM 11/14/2002 +0100, Mario Ohnewald wrote: >> >Hi, >> > >> > > Hi Mario, >> > > >> > > It seems working now. But clicking "www.thelinuxbeat.com" >> brought me to >> > > "http://thelinuxbeat.nu-sec.de/" a German website. Only "Service >> > > kostenlos" has a link there, nothing else. >> >Hehe, yes, this was the correct page, on the left there should appear a >> >menu, where you can select the Project link (english). >> >I might have to think about a redesign again ;P >> > >> > > >> > > Thanks >> > > >> > > Stephen Liu >> > > >> > >> >Mario >> > From huntharo@msu.edu Thu Nov 14 16:16:00 2002 From: huntharo@msu.edu (Harold L Hunt II) Date: Thu, 14 Nov 2002 16:16:00 -0000 Subject: xwinclip test 6 hacked to leave selection untouched References: <15827.58527.984865.157209@sunbayer71.informatik.tu-muenchen.de> <3DD3F749.6050101@msu.edu> <15828.13363.90218.549106@sunbayer71.informatik.tu-muenchen.de> Message-ID: <3DD436DF.8060304@msu.edu> Robert, Hmm... I forgot that not grabbing the selection causes the problem that you mention below, namely, that we are no longer notified of further changes to the X Selection. In that case, your patch won't make much of a difference, as there is already an earlier version of xwinclip that has that precise behavior. It does not make much sense to toggle back and forth between releasing verions that do or do not grab the selection. There must be some part of the X clipboard mechanism that we just are not understanding. I picked up two X Window System books today from the ACM book sale on campus today... perhaps one of these will have a better description of the clipboard system than the other books I have. Harold Robert Fenk wrote: > On Thursday, November 14, 2002 at 14:19:37, Harold L Hunt II wrote: > [...] > >>One side note though... please do not call your xwinclip releases >>test7, or test8, etc. as this will create a great amount of >>confusion when trying to determine if a user has a problem with an >>official release or an independent developer's release. Call them >>something like xwincip-robf1.tgz. > > > Well you are right, I just was about to let you know without > knowing your email and thinking too much. I probably will > remove the file from my homepage tomorrow. > > >>Thanks for the patch, > > > Sorry for not providing a patch, but the modified code, I > had been reindenting it ... ;/ but you should be able to > create a diff with --irgnore-all-space ... > > Anyway some more notes on the changes: > > The MS$-Code is from: > > http://msdn.microsoft.com/library/default.asp?url=/library/en-us/winui/WinUI/WindowsUserInterface/DataExchange/Clipboard/UsingtheClipboard.asp > > To detect selection changes in X11 I used the PropertyNotify > event from the RootWindow (XSelectInput in xwinclip.c) if > event.xproperty.atom != XA_CUT_BUFFER0 > which I just assumed to be right when looking at "xev -id > root" ... the problem is that you do not get a > SelectionNotify anymore if you do not hold the selection ... > > > Bye Robert > From mailspam1@robf.de Thu Nov 14 16:41:00 2002 From: mailspam1@robf.de (Robert Fenk) Date: Thu, 14 Nov 2002 16:41:00 -0000 Subject: xwinclip test 6 hacked to leave selection untouched In-Reply-To: <3DD3F749.6050101@msu.edu> References: <15827.58527.984865.157209@sunbayer71.informatik.tu-muenchen.de> <3DD3F749.6050101@msu.edu> Message-ID: <15828.14041.184825.933308@sunbayer71.informatik.tu-muenchen.de> On Thursday, November 14, 2002 at 14:19:37, Harold L Hunt II wrote: [...] > One side note though... please do not call your xwinclip releases > test7, or test8, etc. as this will create a great amount of > confusion when trying to determine if a user has a problem with an > official release or an independent developer's release. Call them > something like xwincip-robf1.tgz. [...] http://www.robf.de/Hacking/xwinclip-test6-robf1.tar.gz Without any warranty and support ;c) Cheers Robert From satimis@writeme.com Thu Nov 14 18:02:00 2002 From: satimis@writeme.com (Stephen Liu) Date: Thu, 14 Nov 2002 18:02:00 -0000 Subject: Virus Warning (RE: Cygwin Connection Tool for Windows -- new release) In-Reply-To: References: <5.1.1.6.0.20021115004232.00b4fd48@pop.net-yan.com> Message-ID: <5.1.1.6.0.20021115080709.00b4c670@pop.net-yan.com> Hi Mario, The setup file concerned has been removed by Norton Antivirus 2002 (updated). I can't check again. Now my P box resumes normal. Also it worked perfect before downloading the setup file. It is protected by Norton Antivirus 2002. B.Regards Stephen At 06:44 PM 11/14/2002 +0100, you wrote: >Hi! >I have checked my System and the setup file with AntiVir/XP and Norton >Antivirus 2002 (both uptodate). >I could not find any viruses. Please check your system, it might have >infected the setup file. >Please keep me up to date ;) > >Regards, Mario > >p.s. Anyone else with same problem? > >By the way, how to i get the ">" for reply messages, i cant find it anymore! >:/ > > > >-----Original Message----- >From: cygwin-xfree-owner@cygwin.com >[mailto:cygwin-xfree-owner@cygwin.com]On Behalf Of Stephen Liu >Sent: Thursday, November 14, 2002 5:52 PM >To: cygwin-xfree@cygwin.com >Subject: Virus Warning (RE: Cygwin Connection Tool for Windows -- new >release) > > >Hi Mario, > >The file got infected with worm W32.Bugbear@mm and it spread to the whole >WinXP machine immediately. Fortunately I was able to fix it removing the >worm. > >Another strange thing is your mentioned menu on the left of the website >disappeared on IE but can be seen on Mozilla. > >Stephen Liu > > >At 12:55 PM 11/14/2002 +0100, Mario Ohnewald wrote: > >Hi, > > > > > Hi Mario, > > > > > > It seems working now. But clicking "www.thelinuxbeat.com" brought me to > > > "http://thelinuxbeat.nu-sec.de/" a German website. Only "Service > > > kostenlos" has a link there, nothing else. > >Hehe, yes, this was the correct page, on the left there should appear a > >menu, where you can select the Project link (english). > >I might have to think about a redesign again ;P > > > > > > > > Thanks > > > > > > Stephen Liu > > > > > > >Mario > > > >-- > >+++ GMX - Mail, Messaging & more http://www.gmx.net +++ > >NEU: Mit GMX ins Internet. Rund um die Uhr f?r 1 ct/ Min. surfen! From zakki@peppermint.jp Thu Nov 14 19:26:00 2002 From: zakki@peppermint.jp (Kensuke Matsuzaki) Date: Thu, 14 Nov 2002 19:26:00 -0000 Subject: Removing focus from X In-Reply-To: References: Message-ID: Perhaps "XOpenDisplay" connects to X server and waits for reply. But X server is blocked by "XOpenDisplay", so it can't do anything, and hang up. I integrated window manager to X server for rootless mode at the trial. At that time I had same problem. Creating X client thread solved it. Kensuke Matsuzaki From huntharo@msu.edu Fri Nov 15 00:44:00 2002 From: huntharo@msu.edu (Harold L Hunt II) Date: Fri, 15 Nov 2002 00:44:00 -0000 Subject: Removing focus from X In-Reply-To: References: Message-ID: <3DD455C3.5030400@msu.edu> Kensuke, Excellent point. What Jerry tried to do cannot work because the X Server is single-threaded. Harold Kensuke Matsuzaki wrote: >Perhaps "XOpenDisplay" connects to X server and waits >for reply. But X server is blocked by "XOpenDisplay", >so it can't do anything, and hang up. > >I integrated window manager to X server for rootless >mode at the trial. At that time I had same problem. >Creating X client thread solved it. > >Kensuke Matsuzaki > > > From dirk.fassbender@debitel.net Fri Nov 15 02:14:00 2002 From: dirk.fassbender@debitel.net (dirk.fassbender@debitel.net) Date: Fri, 15 Nov 2002 02:14:00 -0000 Subject: Cygwin Connection Tool for Windows -- new release Message-ID: <20021115032638.5537.qmail@psmtp2.dnsg.net> Hi all, the Cygwin Connection Tool for Windows installs two dll files into the system directory. Two lines from the uninstall.ini P0,C:\WINNT\System32\cygz.dll,0 P0,C:\WINNT\System32\cygwin1.dll,0 This is not good. I have ininstalled the program. Regards Dirk From csardin@sopragroup.com Fri Nov 15 02:14:00 2002 From: csardin@sopragroup.com (Christian SARDIN) Date: Fri, 15 Nov 2002 02:14:00 -0000 Subject: [Lesstif] "mwm" on Cygwin : heavy load Message-ID: <9E035BE80785AA4EAA456959ECB4A30D03426ED8@nt036.an.sopra> Harold, I did read, and made my test as you suggested (startx -- -fullscreen -depth 16) for the same result as with pseudo ... About that option emulatepseudo , of course I found it almost by accident. My goal is to display on the notebook the GUI of an application running under HP-UX on a workstation. That application needs 1280x1024, and "plays" with colors : It uses XtConvertAndStore and a second colormap for some drawings ! When I started, I was on a desktop and I got to set Display to 1280x1024 / 256 colors before starting (with no special option) Xxin. On the notebook I can't set 256 colors. Fortunately, I had downloaded a recent Cygwin Cygwin version 1.3.13-2 including XFree 86 4.2.15 and discovered that option "emulate pseudo". It created a 3rd visual in 256 pseudo colors... But I don't know how to use it (I can modify GUI source code if required). So I added fullscreen and depth 8 options. That way I can display (poorly) the GUI. Using "mwm" improves the behavior (closer to HP), but it is slow... Anyway on both 256 color desktop or with emulatepseudo , XtConvertAndStore does not always succeed, at best the result is : OK for from_value.addr = * "#94949494949494" * "#dededededede" * "#adadadadadad" * "#424242424242" * "#bdbdbdbdbdbd" * "#212121212121" * "#ffffffff0000" * "#c2c2c2c2c2c2" * "#4fff4fff4fff" And fails for * "#737373737373" * "#636363636363" * "#280028002800" Does it ring a bell ? Other problems are * the windows starts iconised * it is not redrawn (when exposed, ...) * there is only ONE colormap [ If I do an X -query , on the HP hosts, I get no icons, but drawings and colors are still not there ! ] I hope that someone can give me clues. (I also hope that my english can be understood !) Thanks for your help, Harold. I wish I won't bother you too much. Christian PS : what about Cygwin versions ? should I get any special patch ? -----Message d'origine----- De: Harold L Hunt II [SMTP:huntharo@msu.edu] Date: jeudi 14 novembre 2002 20:07 A: csardin@sopragroup.com Cc: lesstif@lesstif.org; cygwin-xfree@cygwin.com Objet: Re: [Lesstif] "mwm" on Cygwin : heavy load Christian, See, the problem here is that you are not reading what I am telling you about the -emulatepseudo parameter. Let me explain. Imagine that you would really like to have Cygwin/XFree86 running in 16 bit color, but that you would like to still be able to run applications that require a PseudoColor visual. Well, the -emulatepseudo option creates a fake PseudoColor visual in addition to the standard TrueColor visual when running in TrueColor modes. Therefore, -emulatepseudo does nothing beneficial when you are already running in 8 bit color mode, as there is already a PseudoColor visual when you run in 8 bit color mode (both in windowed and in fullscreen modes). Thus, LEAVE OFF THE FREAKING -emulatepseudo PARAMETER!!! There, thanks for reading it this time. Now, as to the additional information you supplied, you did not specify if you left off the -emulatepseudo parameter when you ran with -depth 16 and -fullscreen. If you did not leave off the -emulatepseudo parameter, then I am not surprised that your problem did not go away, as PseudoColor emulation in TrueColor modes is a hack that is nowhere near completion, so it could very well be causing your problems. On the other hand, Cygwin has gone through many revisions in the past few days (including new versions of the Cygwin DLL) and some of these revisions have been causing great problems for many users. I suggest that you run Cygwin's setup.exe again and let it download and install any updated packages. Could someone from Lesstif give him some notes on possibly renaming any configuration files for Lesstif so that we can rule out any custom configuration as the cause of this problem? Thanks, Harold Christian SARDIN wrote: >Thanks for answering. > >But, no change if -depth 16 in TrueColor. (I do need pseudo color because I >want to display an application which plays with colormap >-XtConvertAndStore-) > >With the task manager I changed priority from normal to a lower level, it >doesnt change the 100% rated (By the way I run XP ) , but moves seems more >fluid... I can't try my application to see its speed (needing pseudo color >! ) >And it is difficult to guess what is responsible for slowlyness : PC, >Cygwin, or Xfree - mwm / memory-swap ???? > >May be the information given by XP is wrong ! >I expect a driver soon to try installing Linux (Red Hat 7.3 probably) and >compare ! > >Christian > >-----Message d'origine----- >De: Harold L Hunt II [SMTP:huntharo@msu.edu] >Date: jeudi 14 novembre 2002 16:00 >A: csardin@sopragroup.com >Cc: lesstif@lesstif.org >Objet: Re: [Lesstif] "mwm" on Cygwin : heavy load > >Christian, > >Do NOT use the -emulatepseudo option for XWin.exe. That is a >development-only feature and it more than likely does not do what you >think it does. > >That could be the root of your problem. > >I actually use MWM was my primary window manager for Cygwin/XFree86 and >I have never had a problem with it taking 100% of the CPU. Try passing >``-depth 16'' and see if it works better then, as this could be isolated >to 8-bit color. > >Harold > >Christian SARDIN wrote: > > > >>Hello >> >>I discovered less tif recently, and am surprisedthat CYGWIN does not >> >> >appear > > >>in the list of platforms supported. Anyway I had it with Cygwin package. >> >>My problem is that it uses 100% CPU ! Even if I reduce the virtual desktop >>at ONE screen area. Do you know that problem ? Have you a solution ? >> >>Thanks a lot >> >>Christian >> >>I start with >>startx -- -emulatepseudo -fullscreen -depth 8 >> >>in app-defaults, The onlu uncommented lines are finally : >> >> >>!! $Id: Mwm.ad,v 1.2 2001/10/27 18:32:58 amai Exp $ >>!! >>!! app defaults for mwm >>*multiScreen: False >>*maximumMaximumSize: "screen_width x screen_height" >> >> >> >> >>My .xinitrc includes : >>setxkbmap -layout fr >>xset fp= tcp/192.168.191.109:7000 >> >># start some nice programs >> >>xclock -geometry 50x50-1+1 & >>xterm -geometry 80x50+494+51 & >>xhost + >> >>mwm >> >> >>And the PC is a VT6200 HP, laptop notebook P4 M 1.7 GHz, 256 Mo, ATI >> >> >radeon > > >>Mobility M6 with 32 Mo. >> >> >>_______________________________________________ >>Lesstif mailing list >>Lesstif@lesstif.org >>https://terror.hungry.com/mailman/listinfo/lesstif >> >> >> >> > > > From choice15@gmx.de Fri Nov 15 02:52:00 2002 From: choice15@gmx.de (choice15@gmx.de) Date: Fri, 15 Nov 2002 02:52:00 -0000 Subject: Is there an Way to Cluster (Loadbalance) X11 Free86? References: <9E035BE80785AA4EAA456959ECB4A30D03426ED7@nt036.an.sopra> <3DD3F466.5090902@msu.edu> Message-ID: <013001c28c8f$cc95da60$4c64a8c0@ibsfreiburg.de> Hi all, At my Connectiontoolprojekt (Win-GUI-Client for Cygwin) i have think by my self whats happend if a heavy load Situation is comming up and How can it be solved? Is there an Way to Make XFree scalable or is there an J2EE based Container for a Free XFree avaiable thadt can be integrated as Part of a Java Serverapplication- Cluster such as ORACLE 9iAS Appserver Modul? (Oracle self has implemented an E-Mailserver, na Fileserver, an Faxserver, LDAP and so thadt resides in the Applicationserver Middlewarelayer, thadt can be empowered by an Oracle Realapplication Cluster thadt Spans over the Network to other Machines they are Member of the Cluster) If no Project is launched at this Time then my X.NET Projekt at Sourceforge will by Upgraded to this Projektfeature. http://sourceforge.net/projects/ibsxnet/ Greetings From choice15@gmx.de Fri Nov 15 03:33:00 2002 From: choice15@gmx.de (choice15@gmx.de) Date: Fri, 15 Nov 2002 03:33:00 -0000 Subject: X11 and Heavy loadbalancing? References: <9E035BE80785AA4EAA456959ECB4A30D03426ED8@nt036.an.sopra> Message-ID: <013101c28c8f$cd03de70$4c64a8c0@ibsfreiburg.de> Hi all, At my Connectiontoolprojekt (Win-GUI-Client for Cygwin) i have think by my self whats happend if a heavy load Situation is comming up and How can it be solved? Is there an Way to Make XFree scalable or is there an J2EE based Container for a Free XFree avaiable thadt can be integrated as Part of a Java Serverapplication- Cluster such as ORACLE 9iAS Appserver Modul? (Oracle self has implemented an E-Mailserver, na Fileserver, an Faxserver, LDAP and so thadt resides in the Applicationserver Middlewarelayer, thadt can be empowered by an Oracle Realapplication Cluster thadt Spans over the Network to other Machines they are Member of the Cluster) If no Project is launched at this Time then my X.NET Projekt at Sourceforge will by Upgraded to this Projektfeature. http://sourceforge.net/projects/ibsxnet/ Greetings From moser@decodon.com Fri Nov 15 04:58:00 2002 From: moser@decodon.com (Frank-Michael Moser) Date: Fri, 15 Nov 2002 04:58:00 -0000 Subject: xwinclip test 6 hacked to leave selection untouched References: <15827.58527.984865.157209@sunbayer71.informatik.tu-muenchen.de> <3DD3F749.6050101@msu.edu> <15828.14041.184825.933308@sunbayer71.informatik.tu-muenchen.de> Message-ID: <3DD4D1CE.4000704@decodon.com> I installed your xwinclip and it works fine. But in rootless mode I noticed that every time when the mouse enters a X-window the entry point is marked with semi-transparent darkgray square (~40 pixels). Not a problem - but ugly ;) Frank-Michael -------------- next part -------------- An embedded and charset-unspecified text was scrubbed... Name: cygcheck.txt URL: From alexander.gottwald@s1999.tu-chemnitz.de Fri Nov 15 05:26:00 2002 From: alexander.gottwald@s1999.tu-chemnitz.de (Alexander Gottwald) Date: Fri, 15 Nov 2002 05:26:00 -0000 Subject: X11 and Heavy loadbalancing? In-Reply-To: <013101c28c8f$cd03de70$4c64a8c0@ibsfreiburg.de> Message-ID: On Fri, 15 Nov 2002 choice15@gmx.de wrote: > Hi all, > > At my Connectiontoolprojekt (Win-GUI-Client for Cygwin) > i have think by my self whats happend if a heavy load Situation is comming > up and How can it be solved? > > Is there an Way to Make XFree scalable or is there an J2EE based Container > for a Free XFree avaiable thadt can be integrated as Part of a Java > Serverapplication- > Cluster such as ORACLE 9iAS Appserver Modul? XFree is a implementation of X11. X11 is a server, clients and the protocol. Which parts do you mean? > > (Oracle self has implemented an E-Mailserver, na Fileserver, an Faxserver, > LDAP and so thadt resides in the Applicationserver Middlewarelayer, thadt > can be empowered by an Oracle Realapplication Cluster thadt Spans over the > Network to other Machines they are Member of the Cluster) > > If no Project is launched at this Time then my X.NET Projekt at > Sourceforge will by Upgraded to this Projektfeature. I don't understand what you want to do. The XServer is bound to a output device. So there is no way to let a cluster do the work for it. The XClients work over network. So there is no problem with spreading them on a cluster. If you want to handle a lot of workstations with few compute servers, you can use the -broadcast to select the first answering compute server instead of selecting one with -query. The first responding is likely to have a low load. bye ago -- Alexander.Gottwald@informatik.tu-chemnitz.de http://www.gotti.org ICQ: 126018723 From choice15@gmx.de Fri Nov 15 05:31:00 2002 From: choice15@gmx.de (choice15@gmx.de) Date: Fri, 15 Nov 2002 05:31:00 -0000 Subject: X11 and Heavy loadbalancing? References: Message-ID: <016701c28ca6$9d058680$4c64a8c0@ibsfreiburg.de> > I don't understand what you want to do. The XServer is bound to a output > device. So there is no way to let a cluster do the work for it. Ok i try it more detailed again to describe: An J2EE (Java) implemented Applicationserver act as an centralized Server instance for Java writen Applications. The main Benefit of an J2EE conform Applicationserver is, to write code in Java as an non-visual Programm, thadt can on the fly integrated into the running Appserver to add an Feature. Typical Serverdriven Applications such as SMTP, POP, IMAP4, Telnet, Fileservice or waht ever) without the needs to implement first an TCP-Server Socket to host the Next Layer (the Serviceprotocol such as HTTP). The Only things to do is to implement the Serviceprotocol such as RFC 1945 HTTP 1.0. > The XClients work over network. So there is no problem with spreading them > on a cluster. Loadbalancing, Scalability, Avaiability is only a Task of the Appserver, and its Environment (in an Oracle Realapplicationcluster the AppServer can be connected to other AppServers to share its Performance ressouces to the involved System automatically and takes care for Failover Situations) For Example: Oracle has implement an E-Mailserver as an J2EE Container for the Oracle AppServer. If you have 2x Machines the Power aof Your E-mailsystems automatically scales up the Performance (while Sharing Client Tasks like MS-Outlook) My simple Questions is: Is there an Java based (EJB) X11R6 J2EE 1.2 / 1.3 Servercontainer Software released thadt can act as Part of an J2EE Applicationserver to act as an X11-Server? > If you want to handle a lot of workstations with few compute servers, you > can use the -broadcast to select the first answering compute server instead > of selecting one with -query. The first responding is likely to have a low > load. I think the Java Part is a little bit more easly to manage for setting up an "Userfriendly" and Crossplatform compliant System thadt runs anywhere without Bash or other Shell/Terminalconsoles (Just like Hit & Run and better and Costsaver as an Propritary Windows based CITRIX Metaframeterminalserver) License GPL: Any Questions? Greetings from Freiburg, Germany From alexander.gottwald@s1999.tu-chemnitz.de Fri Nov 15 05:49:00 2002 From: alexander.gottwald@s1999.tu-chemnitz.de (Alexander Gottwald) Date: Fri, 15 Nov 2002 05:49:00 -0000 Subject: X11 and Heavy loadbalancing? In-Reply-To: <016701c28ca6$9d058680$4c64a8c0@ibsfreiburg.de> Message-ID: On Fri, 15 Nov 2002 choice15@gmx.de wrote: > My simple Questions is: > Is there an Java based (EJB) X11R6 J2EE 1.2 / 1.3 Servercontainer Software > released > thadt can act as Part of an J2EE Applicationserver to act as an > X11-Server? Why would anyone want that? The X server is running on your local workstation If you have the X server running on a remote host, you can not see the visual output. > > If you want to handle a lot of workstations with few compute servers, you > > can use the -broadcast to select the first answering compute server > instead > > of selecting one with -query. The first responding is likely to have a low > > load. > > I think the Java Part is a little bit more easly to manage for setting up an > "Userfriendly" and Crossplatform compliant System thadt runs anywhere > without Bash or other Shell/Terminalconsoles (Just like Hit & Run and better > and Costsaver as an Propritary Windows based CITRIX Metaframeterminalserver) The terms server and client are switched in the X1 world. The Windows Application server is the X client and The Terminal Client is like the X Server. What you want (If I understood that correctly) is a login server running in the Applicationserver which connects to your local X11 display. The problem here is to implement a shell, or a desktop in java which acts as UI for the logged in user. Smth. like KDE or Gnome for Java. bye ago -- Alexander.Gottwald@informatik.tu-chemnitz.de http://www.gotti.org ICQ: 126018723 From rasjidw@openminddev.net Fri Nov 15 06:14:00 2002 From: rasjidw@openminddev.net (Rasjid Wilcox) Date: Fri, 15 Nov 2002 06:14:00 -0000 Subject: X11 and Heavy loadbalancing? In-Reply-To: <016701c28ca6$9d058680$4c64a8c0@ibsfreiburg.de> References: <016701c28ca6$9d058680$4c64a8c0@ibsfreiburg.de> Message-ID: <200211160031.02642.rasjidw@openminddev.net> On Fri, 15 Nov 2002 11:57 pm, choice15@gmx.de wrote: > > I don't understand what you want to do. The XServer is bound to a output > > device. So there is no way to let a cluster do the work for it. > > Ok i try it more detailed again to describe: > > An J2EE (Java) implemented Applicationserver act as an > centralized Server instance for Java writen Applications. > The main Benefit of an J2EE conform Applicationserver is, > to write code in Java as an non-visual Programm, thadt can on > the fly integrated into the running Appserver to add an Feature. > Typical Serverdriven Applications such as SMTP, POP, IMAP4, > Telnet, Fileservice or waht ever) without the needs to implement > first an TCP-Server Socket to host the Next Layer (the Serviceprotocol > such as HTTP). > The Only things to do is to implement the Serviceprotocol such as > RFC 1945 HTTP 1.0. > > > The XClients work over network. So there is no problem with spreading > > them on a cluster. > > Loadbalancing, Scalability, Avaiability is only a Task of the Appserver, > and its Environment (in an Oracle Realapplicationcluster the AppServer > can be connected to other AppServers to share its Performance ressouces > to the involved System automatically and takes care for Failover > Situations) > > For Example: > Oracle has implement an E-Mailserver as an J2EE Container > for the Oracle AppServer. If you have 2x Machines the Power aof Your > E-mailsystems automatically scales up the Performance (while Sharing Client > Tasks > like MS-Outlook) > > My simple Questions is: > Is there an Java based (EJB) X11R6 J2EE 1.2 / 1.3 Servercontainer > Software released > thadt can act as Part of an J2EE Applicationserver to act as an > X11-Server? On the whole I still have no idea what you are saying either. My guess is that you are confused about the terms 'Server' and 'Client' in the X context. The 'X Server' runs on the machine that the user is sitting in front of. It does not run the applications, it just draws picutre on the screen. In the Citrix world it would be considered the client (terminal). The X application can be pretty much anything, running as part of a distributed application or whatever. I know I've read about using a linux mosix cluster with XDMCP ('X Terminal Clients'). In this case, the machine the user sits in front of could be a P100, but all their applications would be running on a Linux cluster. To add more computing power, you just add more nodes to the cluster. It doesn't have anything to do with Java though. Just to be clear again. X applications do not run on the X Server. They run on the application server, and they simply talk to the X Server (ie, your screen). A 486DX66 with a good graphics card will make a passible X Server (but a hopeless application server). I think your question has nothing to do with X Servers at all, but application servers. Do a search on Linux clustering, or have a look at Mosix. Rasjid. From huntharo@msu.edu Fri Nov 15 07:07:00 2002 From: huntharo@msu.edu (Harold L Hunt II) Date: Fri, 15 Nov 2002 07:07:00 -0000 Subject: X11 and Heavy loadbalancing? In-Reply-To: References: <016701c28ca6$9d058680$4c64a8c0@ibsfreiburg.de> <200211160031.02642.rasjidw@openminddev.net> Message-ID: <3DD4FB5D.8050403@msu.edu> Yup, I am equally confused. Keep in mind that the X Server is ``serving'' your display, mouse, and keyboard hardware to applications that would like to utilize them. A ``client'' of your X Server is utilizing the display, mouse, and keyboard on the X Server by drawing a window and accepting user input via the mouse and keyboard. Alexander is right: clustering the X Server makes absolutely no sense. How can you server multiple instances of your display, mouse, and keyboard? Why would you want to? If, on the other hand, you want to cluster X Clients, then you need to look at the individual clients to determine your answer. For example, yes, you could right a Java X Client application that displays itself via the X Server and you could install your Java app on many machines and use some form of load-balancing to determine which of those machines would handle particular instances of your application. You will notice that the X Server is not load-balanced here... only the client applications that you write. Harold From choice15@gmx.de Fri Nov 15 07:41:00 2002 From: choice15@gmx.de (choice15@gmx.de) Date: Fri, 15 Nov 2002 07:41:00 -0000 Subject: X11 and Heavy loadbalancing? References: Message-ID: <017201c28cb1$4b851c70$4c64a8c0@ibsfreiburg.de> > > I think the Java Part is a little bit more easly to manage for setting up an > > "Userfriendly" and Crossplatform compliant System thadt runs anywhere > > without Bash or other Shell/Terminalconsoles (Just like Hit & Run and better > > and Costsaver as an Propritary Windows based CITRIX Metaframeterminalserver) > > The terms server and client are switched in the X1 world. The Windows Application > server is the X client and The Terminal Client is like the X Server. > > What you want (If I understood that correctly) is a login server running in > the Applicationserver which connects to your local X11 display. > The problem here is to implement a shell, or a desktop in java which acts > as UI for the logged in user. Smth. like KDE or Gnome for Java. Thanks for fast Reply. Yes. Thadts is exactly waht i wahnt. By looking at the Web for Reference Implementations i have found the "Weirdx Project" from JCraft. http://www.jcraft.com/weirdx/index.html JCraft has developed an Java-Programm thadt Supports the Core Protocols of X11R6.3 partially as OpenSource. The next step is to evalute the Refdefenitiontasks thadt are nacessary to redirect the Clientrequests to the X11-Server Logincontainer (EJB) on the J2EE Appserver. I Hope a Java J2EE X11-Loginserver Module is allready with Source released. Greetings from Freiburg, Germany From choice15@gmx.de Fri Nov 15 07:44:00 2002 From: choice15@gmx.de (choice15@gmx.de) Date: Fri, 15 Nov 2002 07:44:00 -0000 Subject: X11 and Heavy loadbalancing? References: <016701c28ca6$9d058680$4c64a8c0@ibsfreiburg.de> <200211160031.02642.rasjidw@openminddev.net> <3DD4FB5D.8050403@msu.edu> Message-ID: <018101c28cb8$a18b0970$4c64a8c0@ibsfreiburg.de> > Yup, I am equally confused. I am realy sorry > > Keep in mind that the X Server is ``serving'' your display, mouse, and > keyboard hardware to applications that would like to utilize them. A > ``client'' of your X Server is utilizing the display, mouse, and > keyboard on the X Server by drawing a window and accepting user input > via the mouse and keyboard. Ok, my Syntax for my Request is an little bit urly wurly. (I know thadt the Client has the hardest Job on a X-Session, but it was no clear to me how much is the X-Server involved at this Time) > Alexander is right: clustering the X Server makes absolutely no sense. > How can you server multiple instances of your display, mouse, and > keyboard? Why would you want to? The I/O Traffic producing by the Apps on X-Serverside (Harddisk access to the Partitions) I assume thadt a lot of Officeuser thadt would connect to the X-Server, slow down the Machine. With Oracle IFS, (Fileservermodule in the AppServer) the Filesystemoperations would be redirect to the Databasesystem (more and faster then ext2/ext3 or Raiser) while using the Databaseengine to lookup for the File. The Idea: Layer 1: The Oracle 9i R2 J2EE Applicationserver (Internetfilesystem - IFS-Module) managing the in-comming Filerequests and handles, takes care vor Failoversituations and delegating Requests to other RealApplication Cluster. Layer 2: The Oracle 9i R2 Databasesystem handle the IFS-Fileobjects and put it into its Tablepsaces (Databasefiles and its Pratitions) as an Datarecord (BLOB) Next Questions: Ist there an JAVA (or J2EE) Implementation of an X11 Server avaiable thadt can be used for studying? Is it heavy to implement the Programmlgoic (Functional?) if C/C++ to Java Translation is necesarry? Thanks From kris.thielemans@csc.mrc.ac.uk Fri Nov 15 07:47:00 2002 From: kris.thielemans@csc.mrc.ac.uk (Thielemans, Kris) Date: Fri, 15 Nov 2002 07:47:00 -0000 Subject: heap errors when running in gdb Message-ID: <292581CF68F7D31182440090273CE0B17847A0@icex8.cc.ic.ac.uk> Hi, I'm trying to debug my X program. However, when I run it in gdb, I get a SIGTRAP when stepping over XOpenDisplay(""). Continuing I get it another time (sorry, not exactly sure where), continuing, my program runs fine (except for the bugs that I introduce...). Should this worry me? I've downloaded cygwin an dXfree 1 week ago, so am running the latest of everything. gdb screenshot: --------------- warning: HEAP[test_display.exe]: warning: Heap block at 002541A8 modified at 002544FA past requested size of 34a Program received signal SIGTRAP, Trace/breakpoint trap. 0x77fa018d in ?? () (gdb) c Continuing. warning: HEAP[test_display.exe]: warning: Invalid Address specified to RtlReAllocateHeap( 230000, 2541b0 ) Program received signal SIGTRAP, Trace/breakpoint trap. 0x77fa018d in ?? () (gdb) c Continuing. -------------------------- Thanks! Kris Thielemans From peter.oliver@aquila-networks.co.uk Fri Nov 15 09:30:00 2002 From: peter.oliver@aquila-networks.co.uk (Oliver, Peter) Date: Fri, 15 Nov 2002 09:30:00 -0000 Subject: Preventing X server resets Message-ID: <6B0EDF5A1525D5119C000008C786454845D3A0@ntkfem02.meb.co.uk> I'm using XDMCP for my session, from where I run X applications on various different servers. If the machine I logged onto with XDMCP is rebooted, or suffers network difficulties, the X server resets and I loose my whole session. I would prefer the X server and it's remaining clients to continue running, so that I can just start a window manager on a different box and carry on working. Is there some way to prevent this reset from happening? I gave the -noreset option a try but it made no difference. -- Peter Oliver Midrange Services Aquila Networks Services Ltd **************************************************************************************************** Confidentiality: This e-mail and any files transmitted with it are confidential and intended solely for the use of the individual or entity to whom they are addressed. If you have received this e-mail in error, use of this information (including disclosure, copying or distribution) may be unlawful. Please notify postmaster@aquila-networks.co.uk. and delete the message immediately. Security: Internet e-mail is not a 100% secure communications medium. Viruses: This e-mail (and any attachments) has been checked (using Sophos Sweep 3.58 + patches) and found to be clean from any virus infection before leaving. Therefore neither Aquila Networks Services Ltd nor Midlands Electricity plc or any of their group undertakings (as defined by the Companies Act 1989) (together referred to as the "Companies") accept legal responsibility for this message or liability for the consequences of any computer viruses which may have been transmitted by this e-mail. Monitoring: All electronic communications with the Companies may be monitored in accordance with the UK Regulation of Investigatory Powers Act, Lawful Business Practice Regulations, 2000. If you do not consent to such monitoring, you should contact the sender of this e-mail. Aquila Networks Services Limited, Registered office: Whittington Hall, Whittington, Worcester, WR5 2RB Registered in England and Wales number 3600545 This e-mail may be sent on behalf of any of the Companies. **************************************************************************************************** From kris.thielemans@csc.mrc.ac.uk Fri Nov 15 09:34:00 2002 From: kris.thielemans@csc.mrc.ac.uk (Thielemans, Kris) Date: Fri, 15 Nov 2002 09:34:00 -0000 Subject: depth in pixmap Message-ID: <292581CF68F7D31182440090273CE0B17847A1@icex8.cc.ic.ac.uk> Hi, do I gather correctly from the FAQ that it is impossible to open an depth 8 window and display and 8 depth ZPixmap on a 24 bit depth screen? It seems that the depth settings are largerly ignored (aside from size issues). That is, I don't seem to get an error message at all when I ask for 8bit depth, but then it does not seem to work properly. Is this a general restrictiion of X servers, or only of XFree on Windows? Oh, while I'm taking some bandwith here. Can anybody point me to some online documentation on how to put up a bitmap in 24bit mode? (I'm constructing my bitmap myself, and do that in 8bit mode with ZPixmap that essentially indexes in a colormap, but I get the impression that my ZPixmap has to be 24bit per pixel now. What format is it in? Is the colormap ignored?) Thanks for any help! Kris Thielemans From Alexander.Gottwald@s1999.tu-chemnitz.de Fri Nov 15 09:36:00 2002 From: Alexander.Gottwald@s1999.tu-chemnitz.de (Alexander Gottwald) Date: Fri, 15 Nov 2002 09:36:00 -0000 Subject: X11 and Heavy loadbalancing? In-Reply-To: <018101c28cb8$a18b0970$4c64a8c0@ibsfreiburg.de> Message-ID: choice15@gmx.de wrote: > The I/O Traffic producing by the Apps on X-Serverside (Harddisk access to > the Partitions) I assume thadt a lot of Officeuser thadt would connect to > the X-Server, slow down the > Machine. You can only connect one Officeuser to a XServer .-----. .----. .----. o | | | | | | -+- <----> |_____| <----> | | | | | ------ | | | | / \ / \ |____| |____| -------- Officeuser Terminal Cluster (XServer) But the Officeuser can of course open several office applications on the cluster. > With Oracle IFS, (Fileservermodule in the AppServer) the > Filesystemoperations > would be redirect to the Databasesystem (more and faster then ext2/ext3 or > Raiser) > while using the Databaseengine to lookup for the File. Cool. But what about the overhead. Store a 2MB file and require 5MB storage in the database. > The Idea: > > Layer 1: > > The Oracle 9i R2 J2EE Applicationserver (Internetfilesystem - IFS-Module) > managing the in-comming Filerequests and handles, takes care vor > Failoversituations and delegating > Requests to other RealApplication Cluster. > > Layer 2: > > The Oracle 9i R2 Databasesystem handle the IFS-Fileobjects and put it into > its Tablepsaces (Databasefiles and its Pratitions) as an Datarecord (BLOB) buzzword overflow error > Next Questions: > Ist there an JAVA (or J2EE) Implementation of an X11 > Server avaiable thadt can be used for studying? ^^^^^ do you mean that? weird X bye ago NP: Apoptygma Berzerk - Bitch -- Alexander.Gottwald@informatik.tu-chemnitz.de http://www.gotti.org ICQ: 126018723 From Alexander.Gottwald@s1999.tu-chemnitz.de Fri Nov 15 10:59:00 2002 From: Alexander.Gottwald@s1999.tu-chemnitz.de (Alexander Gottwald) Date: Fri, 15 Nov 2002 10:59:00 -0000 Subject: Preventing X server resets In-Reply-To: <6B0EDF5A1525D5119C000008C786454845D3A0@ntkfem02.meb.co.uk> Message-ID: Oliver, Peter wrote: > I'm using XDMCP for my session, from where I run X applications on > various different servers. If the machine I logged onto with XDMCP is > rebooted, or suffers network difficulties, the X server resets and I > loose my whole session. I would prefer the X server and it's remaining > clients to continue running, so that I can just start a window manager > on a different box and carry on working. Is there some way to prevent > this reset from happening? I gave the -noreset option a try but it made > no difference. There is no way to prevent this. If the remote host reboots, you'll loose all session information anyway since the XServer is only the display. Image you are working locally with a computer and it resets. Do you expect that you can still see what was last on the graphiccard? The same is with the XServer. It only displays what the program wanted to show you. NP: Apoptygma Berzerk - Snutt 7 -- Alexander.Gottwald@informatik.tu-chemnitz.de http://www.gotti.org ICQ: 126018723 From Alexander.Gottwald@s1999.tu-chemnitz.de Fri Nov 15 11:02:00 2002 From: Alexander.Gottwald@s1999.tu-chemnitz.de (Alexander Gottwald) Date: Fri, 15 Nov 2002 11:02:00 -0000 Subject: depth in pixmap In-Reply-To: <292581CF68F7D31182440090273CE0B17847A1@icex8.cc.ic.ac.uk> Message-ID: Thielemans, Kris wrote: > Hi, > > do I gather correctly from the FAQ that it is impossible to open an depth 8 > window and display and 8 depth ZPixmap on a 24 bit depth screen? > > It seems that the depth settings are largerly ignored (aside from size > issues). That is, I don't seem to get an error message at all when I ask for > 8bit depth, but then it does not seem to work properly. > > > Is this a general restrictiion of X servers, or only of XFree on Windows? > Oh, while I'm taking some bandwith here. Can anybody point me to some online > documentation on how to put up a bitmap in 24bit mode? (I'm constructing my > bitmap myself, and do that in 8bit mode with ZPixmap that essentially > indexes in a colormap, but I get the impression that my ZPixmap has to be > 24bit per pixel now. What format is it in? Is the colormap ignored?) maybe the -fullscreen option helps. For some -engine modes it changes the displaydepth for the requested depth. If you don't use fullscreen, the depth setting is ignored. bye ago NP: Apoptygma Berzerk - Paranoia -- Alexander.Gottwald@informatik.tu-chemnitz.de http://www.gotti.org ICQ: 126018723 From huntharo@msu.edu Fri Nov 15 11:11:00 2002 From: huntharo@msu.edu (Harold L Hunt II) Date: Fri, 15 Nov 2002 11:11:00 -0000 Subject: X11 and Heavy loadbalancing? In-Reply-To: References: <016701c28ca6$9d058680$4c64a8c0@ibsfreiburg.de> <200211160031.02642.rasjidw@openminddev.net> <3DD4FB5D.8050403@msu.edu> <018101c28cb8$a18b0970$4c64a8c0@ibsfreiburg.de> Message-ID: <3DD54417.2000506@msu.edu> I still don't understand you, but if you want a Java-based X Server, then there certainly is one available. It is called WeirdX and it is available here, licensed under the GPL: http://www.jcraft.com/weirdx/ Harold choice15@gmx.de wrote: >>Yup, I am equally confused. >> >> > >I am realy sorry > > >>Keep in mind that the X Server is ``serving'' your display, mouse, and >>keyboard hardware to applications that would like to utilize them. A >>``client'' of your X Server is utilizing the display, mouse, and >>keyboard on the X Server by drawing a window and accepting user input >>via the mouse and keyboard. >> >> > >Ok, my Syntax for my Request is an little bit urly wurly. >(I know thadt the Client has the hardest Job on a X-Session, >but it was no clear to me how much is the X-Server involved at this Time) > > > >>Alexander is right: clustering the X Server makes absolutely no sense. >> How can you server multiple instances of your display, mouse, and >>keyboard? Why would you want to? >> >> > >The I/O Traffic producing by the Apps on X-Serverside (Harddisk access to >the Partitions) I assume thadt a lot of Officeuser thadt would connect to >the X-Server, slow down the >Machine. > >With Oracle IFS, (Fileservermodule in the AppServer) the >Filesystemoperations >would be redirect to the Databasesystem (more and faster then ext2/ext3 or >Raiser) >while using the Databaseengine to lookup for the File. > >The Idea: > >Layer 1: > >The Oracle 9i R2 J2EE Applicationserver (Internetfilesystem - IFS-Module) >managing the in-comming Filerequests and handles, takes care vor >Failoversituations and delegating >Requests to other RealApplication Cluster. > >Layer 2: > >The Oracle 9i R2 Databasesystem handle the IFS-Fileobjects and put it into >its Tablepsaces (Databasefiles and its Pratitions) as an Datarecord (BLOB) > >Next Questions: >Ist there an JAVA (or J2EE) Implementation of an X11 >Server avaiable thadt can be used for studying? > >Is it heavy to implement the Programmlgoic (Functional?) if C/C++ to Java >Translation is necesarry? > >Thanks > > > From huntharo@msu.edu Fri Nov 15 11:14:00 2002 From: huntharo@msu.edu (Harold L Hunt II) Date: Fri, 15 Nov 2002 11:14:00 -0000 Subject: heap errors when running in gdb In-Reply-To: <292581CF68F7D31182440090273CE0B17847A0@icex8.cc.ic.ac.uk> References: <292581CF68F7D31182440090273CE0B17847A0@icex8.cc.ic.ac.uk> Message-ID: <3DD544BE.8060902@msu.edu> Kris, You know, you bring up a good point. I used to use gdb on Cygwin all the time for debugging both XWin.exe and non-X applications that I write. However, gdb has been broken for me on Cygwin for months now; it never works properly anymore. I think I recall CGF insisting that gdb works for him, so I must be doing something wrong. I do recall getting the SIGTRAP errors, and I generally have to kill gdb via Task Manager anytime I try to use it, but I do not recall getting any HEAP errors. I don't know what to tell you :( Harold Thielemans, Kris wrote: >Hi, > >I'm trying to debug my X program. However, when I run it in gdb, I get a >SIGTRAP when stepping over XOpenDisplay(""). Continuing I get it another >time (sorry, not exactly sure where), continuing, my program runs fine >(except for the bugs that I introduce...). >Should this worry me? > >I've downloaded cygwin an dXfree 1 week ago, so am running the latest of >everything. > >gdb screenshot: >--------------- > >warning: HEAP[test_display.exe]: >warning: Heap block at 002541A8 modified at 002544FA past requested size of >34a > > >Program received signal SIGTRAP, Trace/breakpoint trap. >0x77fa018d in ?? () >(gdb) c >Continuing. >warning: HEAP[test_display.exe]: >warning: Invalid Address specified to RtlReAllocateHeap( 230000, 2541b0 ) > > >Program received signal SIGTRAP, Trace/breakpoint trap. >0x77fa018d in ?? () >(gdb) c >Continuing. > >-------------------------- > > >Thanks! > > >Kris Thielemans > > From huntharo@msu.edu Fri Nov 15 12:21:00 2002 From: huntharo@msu.edu (Harold L Hunt II) Date: Fri, 15 Nov 2002 12:21:00 -0000 Subject: Preventing X server resets In-Reply-To: <6B0EDF5A1525D5119C000008C786454845D3A0@ntkfem02.meb.co.uk> References: <6B0EDF5A1525D5119C000008C786454845D3A0@ntkfem02.meb.co.uk> Message-ID: <3DD546F2.4070703@msu.edu> Peter, Let me rephrase your question and ask you if it makes sense: ``If I am talking on the phone to my mother and she unplugs her phone, can I just continue talking to her?'' The answer is no. You have established a connection with a server that is supposed to manage your X session... if that server fails, or if the connection to it is unreliable, then you X Session is terminated. Unfortunately, the way the system is designed is that applications you launch from your X session are managed by the remote XDMCP machine... if that machine goes down there is no way to transfer control of those applications to another machine. You basically have a system problem here: 1) Take steps to stop the machine from crashing or being rebooted (this may involve convincing your sysadmin to change his ways, via a baseball bat if necessary) 2) Remedy the network connection problems between you and the server. There should not be such problems, and the X protocol generally deals quite well with long-distance connections. For example, I XDMCP into my home machine which sits on a cable modem that has 256 kbits/sec upstream... my connection paths to this machine go through many thousands of miles of Internet links before arriving at my laptop machine, yet the connection is responsive and reliable. If you are on a local network and you have problems, then you have some inherent flaw in your network that must be resolved. 3) If you can't do anything about the machine or the network, then you need to adjust your quality-of-service expectations. With that being said, you may be able to alter your working habits, such as opening remote applications via ssh with X forwarding... this will tend to be a little less resource intensive that opening a full XDMCP session on the remote machine (http://xfree86.cygwin.com/docs/ug/using-remote-apps.html#using-remote-apps-ssh). I hope that clarifies the way X works and I hope it gives you a few other ideas to try. Harold Oliver, Peter wrote: >I'm using XDMCP for my session, from where I run X applications on >various different servers. If the machine I logged onto with XDMCP is >rebooted, or suffers network difficulties, the X server resets and I >loose my whole session. I would prefer the X server and it's remaining >clients to continue running, so that I can just start a window manager >on a different box and carry on working. Is there some way to prevent >this reset from happening? I gave the -noreset option a try but it made >no difference. > > > From huntharo@msu.edu Fri Nov 15 12:34:00 2002 From: huntharo@msu.edu (Harold L Hunt II) Date: Fri, 15 Nov 2002 12:34:00 -0000 Subject: depth in pixmap In-Reply-To: <292581CF68F7D31182440090273CE0B17847A1@icex8.cc.ic.ac.uk> References: <292581CF68F7D31182440090273CE0B17847A1@icex8.cc.ic.ac.uk> Message-ID: <3DD547A7.9060207@msu.edu> Kris, You gathered correctly. The depth parameter is only used in fullscreen mode where we can actually change the display depth to match the requested depth. In windowed mode we are stuck with the display depth that Windows is currently running at. Other X Servers support 8 bit visuals on top of 24 bit visuals, but Cygwin/XFree86 does not currently have this support. There is an experimental feature (enabled with -pseudoemulation, I think) that creates an 8 bit visual, however, this visual does not have a real colormap and we do not translate between colormap colors and 24 bit colors... in other words, the colors will be all messed up, but you may find this acceptable. Harold Thielemans, Kris wrote: >Hi, > >do I gather correctly from the FAQ that it is impossible to open an depth 8 >window and display and 8 depth ZPixmap on a 24 bit depth screen? > >It seems that the depth settings are largerly ignored (aside from size >issues). That is, I don't seem to get an error message at all when I ask for >8bit depth, but then it does not seem to work properly. > > >Is this a general restrictiion of X servers, or only of XFree on Windows? > > >Oh, while I'm taking some bandwith here. Can anybody point me to some online >documentation on how to put up a bitmap in 24bit mode? (I'm constructing my >bitmap myself, and do that in 8bit mode with ZPixmap that essentially >indexes in a colormap, but I get the impression that my ZPixmap has to be >24bit per pixel now. What format is it in? Is the colormap ignored?) > > >Thanks for any help! > >Kris Thielemans > > From cgf@redhat.com Fri Nov 15 12:46:00 2002 From: cgf@redhat.com (Christopher Faylor) Date: Fri, 15 Nov 2002 12:46:00 -0000 Subject: Hey hey, I now have the emacs 100% cpu usage bug too [CGF, this one is for you] In-Reply-To: <661-Thu14Nov2002195158+0000-starksb@ebi.ac.uk> References: <3DD3F96E.4010705@msu.edu> <661-Thu14Nov2002195158+0000-starksb@ebi.ac.uk> Message-ID: <20021115202204.GB5230@redhat.com> On Thu, Nov 14, 2002 at 07:51:59PM +0000, David Starks-Browning wrote: >Harold, > >I identify the latest snapshot without the problem here: > > And, for the record, David reports that the *latest* snapshot seems to solve his problem. Note that there were multiple snapshots generated yesterday so if you grabbed one and it didn't work, it's worthwhile to grab the latest. cgf From starksb@ebi.ac.uk Fri Nov 15 12:49:00 2002 From: starksb@ebi.ac.uk (David Starks-Browning) Date: Fri, 15 Nov 2002 12:49:00 -0000 Subject: Hey hey, I now have the emacs 100% cpu usage bug too [CGF, this one is for you] In-Reply-To: <20021115202204.GB5230@redhat.com> References: <3DD3F96E.4010705@msu.edu> <661-Thu14Nov2002195158+0000-starksb@ebi.ac.uk> <20021115202204.GB5230@redhat.com> Message-ID: <9910-Fri15Nov2002203400+0000-starksb@ebi.ac.uk> On Friday 15 Nov 02, Christopher Faylor writes: > Note that there were multiple snapshots generated yesterday so if you > grabbed one and it didn't work, it's worthwhile to grab the latest. Multiple versions dated 2002-11-14? Could that explain why Bill still sees the problem with his 2002-11-14 snapshot? David From huntharo@msu.edu Fri Nov 15 13:02:00 2002 From: huntharo@msu.edu (Harold L Hunt II) Date: Fri, 15 Nov 2002 13:02:00 -0000 Subject: Hey hey, I now have the emacs 100% cpu usage bug too [CGF, this one is for you] In-Reply-To: <3DD3F96E.4010705@msu.edu> References: <3DD3F96E.4010705@msu.edu> <661-Thu14Nov2002195158+0000-starksb@ebi.ac.uk> <20021115202204.GB5230@redhat.com> <9910-Fri15Nov2002203400+0000-starksb@ebi.ac.uk> Message-ID: <3DD55D11.8030503@msu.edu> On a side note, I didn't see an answer to my question about why the cygwin1.dll version number does not agree with the cygwin package version number (1.3.15-1 vs. 1.3.15-2, respectively). Is setup.exe goofing, was the version number of the DLL not bumped on accident, or are the version numbers commonly out of agreement for valid reasons? Harold David Starks-Browning wrote: >On Friday 15 Nov 02, Christopher Faylor writes: > > >>Note that there were multiple snapshots generated yesterday so if you >>grabbed one and it didn't work, it's worthwhile to grab the latest. >> >> > >Multiple versions dated 2002-11-14? > >Could that explain why Bill still sees the problem with his 2002-11-14 >snapshot? > >David > > > From cgf@redhat.com Fri Nov 15 13:34:00 2002 From: cgf@redhat.com (Christopher Faylor) Date: Fri, 15 Nov 2002 13:34:00 -0000 Subject: Hey hey, I now have the emacs 100% cpu usage bug too [CGF, this one is for you] In-Reply-To: <3DD55D11.8030503@msu.edu> References: <3DD3F96E.4010705@msu.edu> <661-Thu14Nov2002195158+0000-starksb@ebi.ac.uk> <20021115202204.GB5230@redhat.com> <9910-Fri15Nov2002203400+0000-starksb@ebi.ac.uk> <3DD55D11.8030503@msu.edu> Message-ID: <20021115204939.GA4814@redhat.com> On Fri, Nov 15, 2002 at 03:46:09PM -0500, Harold L Hunt II wrote: >On a side note, I didn't see an answer to my question about why the >cygwin1.dll version number does not agree with the cygwin package >version number (1.3.15-1 vs. 1.3.15-2, respectively). Is setup.exe >goofing, was the version number of the DLL not bumped on accident, or >are the version numbers commonly out of agreement for valid reasons? The cygwin version number is 1.3.15. There is no -1 or -2 so the only way to know what version of the cygwin *package* you have is to use cygcheck. In other words the -x is only used for the package version numbering. cgf From huntharo@msu.edu Fri Nov 15 14:03:00 2002 From: huntharo@msu.edu (Harold L Hunt II) Date: Fri, 15 Nov 2002 14:03:00 -0000 Subject: Hey hey, I now have the emacs 100% cpu usage bug too [CGF, this one is for you] In-Reply-To: <3DD3F96E.4010705@msu.edu> References: <3DD3F96E.4010705@msu.edu> <661-Thu14Nov2002195158+0000-starksb@ebi.ac.uk> <20021115202204.GB5230@redhat.com> Message-ID: <3DD560EC.7070707@msu.edu> Chris, The latest 2002-11-14 snapshot works for me. Emacs launches without freezing. Harold Christopher Faylor wrote: >On Thu, Nov 14, 2002 at 07:51:59PM +0000, David Starks-Browning wrote: > > >>Harold, >> >>I identify the latest snapshot without the problem here: >> >> >> >> > >And, for the record, David reports that the *latest* snapshot seems to >solve his problem. > >Note that there were multiple snapshots generated yesterday so if you >grabbed one and it didn't work, it's worthwhile to grab the latest. > >cgf > > From cgf@redhat.com Fri Nov 15 14:07:00 2002 From: cgf@redhat.com (Christopher Faylor) Date: Fri, 15 Nov 2002 14:07:00 -0000 Subject: Hey hey, I now have the emacs 100% cpu usage bug too [CGF, this one is for you] In-Reply-To: <9910-Fri15Nov2002203400+0000-starksb@ebi.ac.uk> References: <3DD3F96E.4010705@msu.edu> <661-Thu14Nov2002195158+0000-starksb@ebi.ac.uk> <20021115202204.GB5230@redhat.com> <9910-Fri15Nov2002203400+0000-starksb@ebi.ac.uk> Message-ID: <20021115213524.GA27583@redhat.com> On Fri, Nov 15, 2002 at 08:34:00PM +0000, David Starks-Browning wrote: >On Friday 15 Nov 02, Christopher Faylor writes: >> Note that there were multiple snapshots generated yesterday so if you >> grabbed one and it didn't work, it's worthwhile to grab the latest. > >Multiple versions dated 2002-11-14? > >Could that explain why Bill still sees the problem with his 2002-11-14 >snapshot? Yes, that's why I mentioned this, actually. It occurred to me as I was typing in the response. FWIW, I've just generated a *new* snapshot so there is a 2002-11-15 version up there now. So, that's the one to try. No confusion about dates necessary. cgf From jc.gervais@videotron.ca Fri Nov 15 14:13:00 2002 From: jc.gervais@videotron.ca (Jean-Claude Gervais) Date: Fri, 15 Nov 2002 14:13:00 -0000 Subject: Newbie question - Message-ID: <006f01c28cf2$b5c5ab40$6501a8c0@sprymusic.com> Is there a way to invoke XDMCP AFTER the fact? Once I have started a local window manager, I'd like to do an XDMCP query, but running XWin again creates a second instance of X that is independent of my current window session. I tried running XDM ?!? And it replies only root wants to run xdm... But there is no user called root on my system... Thanks. From huntharo@msu.edu Fri Nov 15 14:24:00 2002 From: huntharo@msu.edu (Harold L Hunt II) Date: Fri, 15 Nov 2002 14:24:00 -0000 Subject: Newbie question - In-Reply-To: <006f01c28cf2$b5c5ab40$6501a8c0@sprymusic.com> References: <006f01c28cf2$b5c5ab40$6501a8c0@sprymusic.com> Message-ID: <3DD5700F.5070800@msu.edu> Jean-Claude, No. XDMCP manages your entire X Windows session. Either you use it at startup or you don't use it at all. If all you want is a local window manager and remote applications, then you should launch XWin with your local window manager, then ssh into your remote host with X forwarding enabled and launch your X Clients in the background (e.g. ``xterm&''). What did you envision would happen if you were running a local window manager and you logged into a remote XDMCP session at the same time, assuming that this was possible? Did you assume that the window managers would share the screen, that a new window would popup with the XDMCP session? What were you envisioning? Harold Harold Jean-Claude Gervais wrote: >Is there a way to invoke XDMCP AFTER the fact? >Once I have started a local window manager, I'd like to do an XDMCP query, >but running XWin again creates a second instance of X that is independent of >my current window session. >I tried running XDM ?!? And it replies only root wants to run xdm... But >there is no user called root on my system... >Thanks. > > > From davidf@sjsoft.com Fri Nov 15 15:13:00 2002 From: davidf@sjsoft.com (David Fraser) Date: Fri, 15 Nov 2002 15:13:00 -0000 Subject: Running XDMCP "server" References: <006f01c28cf2$b5c5ab40$6501a8c0@sprymusic.com> Message-ID: <3DD57164.5000300@sjsoft.com> Jean-Claude Gervais wrote: >I tried running XDM ?!? And it replies only root wants to run xdm... But >there is no user called root on my system... >Thanks. > > > An equal and opposite reaction... Is it possible to run XDMCP as a "server" (sorry probably wrong terminology) on the cygwin side, so I can run say Xnest from Linux, connect to XDMCP on Cygwin, login...? And what does the xdm running as root message mean ... I even tried creating a user called root and that didn't work... Just out of interest David From rrschulz@cris.com Fri Nov 15 15:17:00 2002 From: rrschulz@cris.com (Randall R Schulz) Date: Fri, 15 Nov 2002 15:17:00 -0000 Subject: X11 and Heavy loadbalancing? In-Reply-To: <013101c28c8f$cd03de70$4c64a8c0@ibsfreiburg.de> References: <9E035BE80785AA4EAA456959ECB4A30D03426ED8@nt036.an.sopra> Message-ID: <5.1.0.14.2.20021115141353.031757a8@pop3.cris.com> Hi, Since the native GUI model for Java programs running on Unix and Linux hosts is X11, any and all Java GUI applications running on such hosts are inherently able to have their human user interaction take place on a separate host (or X terminal) from the host on which they execute. Likewise, multiple application clients (in the X sense of client--an application that wants to interact with a user via keyboard, moust and raster display) can share a single server (again, in the X sense--i.e., user interaction hardware). This should make it possible to handle migration or load balancing of the Java application while the user remains at a single workstation. So, any Java software with an AWT or Swing GUI when running on a Unix platform with X support (all of them except MacOS X, I believe) should be able to do what I think you're contemplating. Now usually one does not put conventional Java GUIs on J2EE applications (to my limited knowledge), but I doubt there's any technical reason why it could not be done. Is this at all an answer to your question? Randall Schulz Mountain View, CA USA At 02:14 2002-11-15, choice15@gmx.de wrote: >Hi all, > >At my Connectiontoolprojekt (Win-GUI-Client for Cygwin) >i have think by my self whats happend if a heavy load Situation is comming >up and How can it be solved? > >Is there an Way to Make XFree scalable or is there an J2EE based Container >for a Free XFree avaiable thadt can be integrated as Part of a Java >Serverapplication- >Cluster such as ORACLE 9iAS Appserver Modul? > >(Oracle self has implemented an E-Mailserver, na Fileserver, an Faxserver, > LDAP and so thadt resides in the Applicationserver Middlewarelayer, thadt >can be empowered by an Oracle Realapplication Cluster thadt Spans over the > Network to other Machines they are Member of the Cluster) > >If no Project is launched at this Time then my X.NET Projekt at >Sourceforge will by Upgraded to this Projektfeature. > >http://sourceforge.net/projects/ibsxnet/ > >Greetings Randy From rasjidw@openminddev.net Fri Nov 15 15:28:00 2002 From: rasjidw@openminddev.net (Rasjid Wilcox) Date: Fri, 15 Nov 2002 15:28:00 -0000 Subject: Preventing X server resets In-Reply-To: <6B0EDF5A1525D5119C000008C786454845D3A0@ntkfem02.meb.co.uk> References: <6B0EDF5A1525D5119C000008C786454845D3A0@ntkfem02.meb.co.uk> Message-ID: <200211161007.44331.rasjidw@openminddev.net> On Sat, 16 Nov 2002 2:41 am, Oliver, Peter wrote: > I'm using XDMCP for my session, from where I run X applications on > various different servers. If the machine I logged onto with XDMCP is > rebooted, or suffers network difficulties, the X server resets and I > loose my whole session. I would prefer the X server and it's remaining > clients to continue running, so that I can just start a window manager > on a different box and carry on working. Is there some way to prevent > this reset from happening? I gave the -noreset option a try but it made > no difference. As other posts have indicated, you can't solve this with XDMCP. The only (open source) solution that I'm aware of is to use VNC. There are several different VNC versions out there. http://www.realvnc.com is the new version by the original developers. (There is also Tridia VNC, Tight VNC, esVNC and probably others.) This adds an extra layer between the user and the applications. In essence VNC runs a virtual X-Server on the machine running the applications. (Actually, it could be some other machine, but lets keep this simple.) To illustrate, suppose you have a machine 'Server', and a machine 'Desktop'. The user is sitting in front of 'Desktop', and the applications live on 'Server'. With XDMCP: Process Machine Application A Server | | X Protocol | X-Server Desktop With VNC: Process Machine Application A Server | | X Protocol | VNC Server Server | | VNC Protocol | VNC Client Desktop | | X Protocol | X-Server Desktop If the 'Desktop' is running Windows, you don't need the last step, since there is a native Windows VNC Client. The advantage with VNC is you can kill the VNC client and not lose you X-Session. You can for example, log in at work (using VNC), leave stuff running but kill the VNC client, go home, and re-connect with a new VNC client at home, and still be running the original session you left going at work. The disadvantage (over a LAN) is the 'smoothness' of the display, although I believe the new versions are pretty good. You also can't use XDMCP, so no nice login screen. But for keeping an X-Session going even when your desktop crashes, it is just what the doctor ordered. (VNC is also useful for low bandwidth connections.) Anyway, since there is a Win32 VNC Client (and server), this is not somewhat offtop for this list. OTOH, I wonder what the performance of the *nix vnc client would be under XFree-Cygwin? Might have a look sometime. Cheers, Rasjid. From rasjidw@openminddev.net Fri Nov 15 15:37:00 2002 From: rasjidw@openminddev.net (Rasjid Wilcox) Date: Fri, 15 Nov 2002 15:37:00 -0000 Subject: Preventing X server resets In-Reply-To: <6B0EDF5A1525D5119C000008C786454845D3A0@ntkfem02.meb.co.uk> References: <6B0EDF5A1525D5119C000008C786454845D3A0@ntkfem02.meb.co.uk> Message-ID: <200211161007.44331.rasjidw@openminddev.net> On Sat, 16 Nov 2002 2:41 am, Oliver, Peter wrote: > I'm using XDMCP for my session, from where I run X applications on > various different servers. If the machine I logged onto with XDMCP is > rebooted, or suffers network difficulties, the X server resets and I > loose my whole session. I would prefer the X server and it's remaining > clients to continue running, so that I can just start a window manager > on a different box and carry on working. Is there some way to prevent > this reset from happening? I gave the -noreset option a try but it made > no difference. As other posts have indicated, you can't solve this with XDMCP. The only (open source) solution that I'm aware of is to use VNC. There are several different VNC versions out there. http://www.realvnc.com is the new version by the original developers. (There is also Tridia VNC, Tight VNC, esVNC and probably others.) This adds an extra layer between the user and the applications. In essence VNC runs a virtual X-Server on the machine running the applications. (Actually, it could be some other machine, but lets keep this simple.) To illustrate, suppose you have a machine 'Server', and a machine 'Desktop'. The user is sitting in front of 'Desktop', and the applications live on 'Server'. With XDMCP: Process Machine Application A Server | | X Protocol | X-Server Desktop With VNC: Process Machine Application A Server | | X Protocol | VNC Server Server | | VNC Protocol | VNC Client Desktop | | X Protocol | X-Server Desktop If the 'Desktop' is running Windows, you don't need the last step, since there is a native Windows VNC Client. The advantage with VNC is you can kill the VNC client and not lose you X-Session. You can for example, log in at work (using VNC), leave stuff running but kill the VNC client, go home, and re-connect with a new VNC client at home, and still be running the original session you left going at work. The disadvantage (over a LAN) is the 'smoothness' of the display, although I believe the new versions are pretty good. You also can't use XDMCP, so no nice login screen. But for keeping an X-Session going even when your desktop crashes, it is just what the doctor ordered. (VNC is also useful for low bandwidth connections.) Anyway, since there is a Win32 VNC Client (and server), this is not somewhat offtop for this list. OTOH, I wonder what the performance of the *nix vnc client would be under XFree-Cygwin? Might have a look sometime. Cheers, Rasjid. From jc.gervais@videotron.ca Fri Nov 15 15:45:00 2002 From: jc.gervais@videotron.ca (Jean-Claude Gervais) Date: Fri, 15 Nov 2002 15:45:00 -0000 Subject: Preventing X server resets In-Reply-To: <200211161007.44331.rasjidw@openminddev.net> Message-ID: <007001c28cfd$17747d80$6501a8c0@sprymusic.com> Hi, Would xmove also be a possibility? From what I understand, xmove can be used to disconnect an X session from a host without the session actually closing. You can then "move" the display to another machineand resume where you left off.. You can also simply reattach to the X session from the machine that originally requested it. Is that what you're after? -----Original Message----- From: cygwin-xfree-owner@cygwin.com [mailto:cygwin-xfree-owner@cygwin.com]On Behalf Of Rasjid Wilcox Sent: Friday, November 15, 2002 6:08 PM To: cygwin-xfree@cygwin.com; Oliver, Peter; 'cygwin-xfree@cygwin.com' Subject: Re: Preventing X server resets On Sat, 16 Nov 2002 2:41 am, Oliver, Peter wrote: > I'm using XDMCP for my session, from where I run X applications on > various different servers. If the machine I logged onto with XDMCP is > rebooted, or suffers network difficulties, the X server resets and I > loose my whole session. I would prefer the X server and it's remaining > clients to continue running, so that I can just start a window manager > on a different box and carry on working. Is there some way to prevent > this reset from happening? I gave the -noreset option a try but it made > no difference. As other posts have indicated, you can't solve this with XDMCP. The only (open source) solution that I'm aware of is to use VNC. There are several different VNC versions out there. http://www.realvnc.com is the new version by the original developers. (There is also Tridia VNC, Tight VNC, esVNC and probably others.) This adds an extra layer between the user and the applications. In essence VNC runs a virtual X-Server on the machine running the applications. (Actually, it could be some other machine, but lets keep this simple.) To illustrate, suppose you have a machine 'Server', and a machine 'Desktop'. The user is sitting in front of 'Desktop', and the applications live on 'Server'. With XDMCP: Process Machine Application A Server | | X Protocol | X-Server Desktop With VNC: Process Machine Application A Server | | X Protocol | VNC Server Server | | VNC Protocol | VNC Client Desktop | | X Protocol | X-Server Desktop If the 'Desktop' is running Windows, you don't need the last step, since there is a native Windows VNC Client. The advantage with VNC is you can kill the VNC client and not lose you X-Session. You can for example, log in at work (using VNC), leave stuff running but kill the VNC client, go home, and re-connect with a new VNC client at home, and still be running the original session you left going at work. The disadvantage (over a LAN) is the 'smoothness' of the display, although I believe the new versions are pretty good. You also can't use XDMCP, so no nice login screen. But for keeping an X-Session going even when your desktop crashes, it is just what the doctor ordered. (VNC is also useful for low bandwidth connections.) Anyway, since there is a Win32 VNC Client (and server), this is not somewhat offtop for this list. OTOH, I wonder what the performance of the *nix vnc client would be under XFree-Cygwin? Might have a look sometime. Cheers, Rasjid. From jc.gervais@videotron.ca Fri Nov 15 15:49:00 2002 From: jc.gervais@videotron.ca (Jean-Claude Gervais) Date: Fri, 15 Nov 2002 15:49:00 -0000 Subject: Running XDMCP "server" In-Reply-To: <3DD57164.5000300@sjsoft.com> Message-ID: <007101c28cfe$96971220$6501a8c0@sprymusic.com> *snort* I can't help but laugh, David! No, not at your predicament, but rather at the funny coincidence that you and I are both looking at the same problem but from opposite ends! LOL So I take it that you're running Windows, and you'd like Windows to be the "server" (you're right - probably the wrong terminology here) and permit Linux boxes to XDMCP to your Windows machine? If that is the case, I *think* your Windows machine should run Xnest and your Linux machines should then connect to it. Looks like I'm probably backward... OK, more reading of the docs is in order. I will get back to you if I figure anything out. Please do the same. Thanks Jean-Claude -----Original Message----- From: cygwin-xfree-owner@cygwin.com [mailto:cygwin-xfree-owner@cygwin.com]On Behalf Of David Fraser Sent: Friday, November 15, 2002 5:13 PM To: cygwin-xfree@cygwin.com Subject: Re: Running XDMCP "server" Jean-Claude Gervais wrote: >I tried running XDM ?!? And it replies only root wants to run xdm... But >there is no user called root on my system... >Thanks. > > > An equal and opposite reaction... Is it possible to run XDMCP as a "server" (sorry probably wrong terminology) on the cygwin side, so I can run say Xnest from Linux, connect to XDMCP on Cygwin, login...? And what does the xdm running as root message mean ... I even tried creating a user called root and that didn't work... Just out of interest David From rasjidw@openminddev.net Fri Nov 15 17:00:00 2002 From: rasjidw@openminddev.net (Rasjid Wilcox) Date: Fri, 15 Nov 2002 17:00:00 -0000 Subject: Newbie question - In-Reply-To: <006f01c28cf2$b5c5ab40$6501a8c0@sprymusic.com> References: <006f01c28cf2$b5c5ab40$6501a8c0@sprymusic.com> Message-ID: <200211161037.26254.rasjidw@openminddev.net> On Sat, 16 Nov 2002 9:02 am, Jean-Claude Gervais wrote: > Is there a way to invoke XDMCP AFTER the fact? > Once I have started a local window manager, I'd like to do an XDMCP query, > but running XWin again creates a second instance of X that is independent > of my current window session. > I tried running XDM ?!? And it replies only root wants to run xdm... But > there is no user called root on my system... > Thanks. You could try $ Xnest :1 -query This will give you an XDMCP session in a window inside your current XSession. Rasjid. From jc.gervais@videotron.ca Fri Nov 15 17:31:00 2002 From: jc.gervais@videotron.ca (Jean-Claude Gervais) Date: Fri, 15 Nov 2002 17:31:00 -0000 Subject: Newbie question - In-Reply-To: <3DD5700F.5070800@msu.edu> Message-ID: <007201c28d01$0617c520$6501a8c0@sprymusic.com> Hi Harold! OK, I'll tell you what I'm up to: What I do these days is start XWin -rootless -query host I have the host set up so that I log in using gnome, and I have set the remote Gnome to NOT set a background. That way, all I have is the Gnome taskbar, which I dock on the top of my monitor while the Windows taskbar is docked at the bottom of the monitor. That way, it really is quite like being logged onto both computers simultaneously. The only thing is, I haven't figured out how to run local X applications at the same time. I'd like WindowMaker's desktop launcher come up on the display also. I could probably run a bash shell as a Windows console mode app and from it start some X applications, but this seems inelegant. I'm trying to get all three at the same time, and then, (hopefully) hook Xwinclip into the chain and be able to paste data from one computer to another... Does that sound cogent? I can't really be sure, often I've noticed there are even better ways of doing what I want with *nix, only I am still ignorant of many of them. Thanks -----Original Message----- From: cygwin-xfree-owner@cygwin.com [mailto:cygwin-xfree-owner@cygwin.com]On Behalf Of Harold L Hunt II Sent: Friday, November 15, 2002 5:07 PM To: cygwin-xfree@cygwin.com Subject: Re: Newbie question - Jean-Claude, No. XDMCP manages your entire X Windows session. Either you use it at startup or you don't use it at all. If all you want is a local window manager and remote applications, then you should launch XWin with your local window manager, then ssh into your remote host with X forwarding enabled and launch your X Clients in the background (e.g. ``xterm&''). What did you envision would happen if you were running a local window manager and you logged into a remote XDMCP session at the same time, assuming that this was possible? Did you assume that the window managers would share the screen, that a new window would popup with the XDMCP session? What were you envisioning? Harold Harold Jean-Claude Gervais wrote: >Is there a way to invoke XDMCP AFTER the fact? >Once I have started a local window manager, I'd like to do an XDMCP query, >but running XWin again creates a second instance of X that is independent of >my current window session. >I tried running XDM ?!? And it replies only root wants to run xdm... But >there is no user called root on my system... >Thanks. > > > From lists.ASkwar@email-server.info Fri Nov 15 17:54:00 2002 From: lists.ASkwar@email-server.info (Alexander Skwar) Date: Fri, 15 Nov 2002 17:54:00 -0000 Subject: Getting AltGr on German keyboard to work Message-ID: <20021115234832.GB28397@teich.Garten.DigitalProjects.com> Hello! I'm trying to get the AltGr key on my Dell Precision m50 keyboard to work with a German keyboard layout. The notebook is running Windows XP SP 1 and latest cygwin. The "plain" keys like y and z work fine. However, umlauts like ?, ? and ? don't get displayed at all. And also the AltGr key (for characters like | or @) doesn't seem to work at all. Pressing AltGr shows me these signals when running xev: KeyPress event, serial 26, synthetic NO, window 0x2400001, root 0x36, subw 0x0, time 2220092, (58,87), root:(1242,107), state 0x10, keycode 37 (keysym 0xffe3, Control_L), same_screen YES, XLookupString gives 0 characters: "" KeyPress event, serial 26, synthetic NO, window 0x2400001, root 0x36, subw 0x0, time 2220092, (58,87), root:(1242,107), state 0x14, keycode 113 (keysym 0xff7e, Mode_switch), same_screen YES, XLookupString gives 0 characters: "" KeyRelease event, serial 26, synthetic NO, window 0x2400001, root 0x36, subw 0x0, time 2220112, (58,87), root:(1242,107), state 0x2014, keycode 37 (keysym 0xffe3, Control_L), same_screen YES, XLookupString gives 0 characters: "" KeyRelease event, serial 26, synthetic NO, window 0x2400001, root 0x36, subw 0x0, time 2220112, (58,87), root:(1242,107), state 0x2010, keycode 113 (keysym 0xff7e, Mode_switch), same_screen YES, XLookupString gives 0 characters: "" When I press Alt Gr on my Linux desktop, I just get the Mode_switch keysyms. When I press ?, xev shows that it get's the "odiaresis" keysym just fine and in the characters line it shows the ?. What do I have to do, to get the Alt Gr key to work (most important) and also the umlauts? I'd really like to get a fix on the server side, because (once setup) I'll connect to quite a number of different hosts running all sorts of OS, like HP-UX 11.00, Solaris and Linux. I don't know if all of these machines have xmodmap installed. Thanks, Alexander Skwar -- How to quote: http://learn.to/quote (german) http://quote.6x.to (english) Homepage: http://www.iso-top.biz | Jabber: askwar@a-message.de iso-top.biz - Die g?nstige Art an Linux Distributionen zu kommen Uptime: 2 days 5 hours 21 minutes From kennyho80@softhome.net Sat Nov 16 03:21:00 2002 From: kennyho80@softhome.net (Kenny) Date: Sat, 16 Nov 2002 03:21:00 -0000 Subject: Origin (Where You From?) Message-ID: Hi, Where about on the Globe do you reside? (In other words, Where You From?) Best regards, Kenny Ho This email is sent in compliance with strict anti-abuse and NO SPAM regulations. Your address was collected as a result of posting to a link, a classified ad or you are on a list that I have purchased. To remove your E-mail address, simply reply with REMOVE on SUBJECT line. From rasjidw@openminddev.net Sat Nov 16 05:34:00 2002 From: rasjidw@openminddev.net (Rasjid Wilcox) Date: Sat, 16 Nov 2002 05:34:00 -0000 Subject: Newbie question - In-Reply-To: <007201c28d01$0617c520$6501a8c0@sprymusic.com> References: <007201c28d01$0617c520$6501a8c0@sprymusic.com> Message-ID: <200211161231.32468.rasjidw@openminddev.net> On Sat, 16 Nov 2002 10:45 am, Jean-Claude Gervais wrote: > > What I do these days is start XWin -rootless -query host > I have the host set up so that I log in using gnome, and I have set the > remote Gnome to NOT set a background. That way, all I have is the Gnome > taskbar, which I dock on the top of my monitor while the Windows taskbar is > docked at the bottom of the monitor. > > That way, it really is quite like being logged onto both computers > simultaneously. > > The only thing is, I haven't figured out how to run local X applications at > the same time. I'd like WindowMaker's desktop launcher come up on the > display also. I could probably run a bash shell as a Windows console mode > app and from it start some X applications, but this seems inelegant. Based on the above, I'm not sure that Xnest will do what you want after all. Instead, I've had success using your original: $ start XWin -rootless -query host Then in your XDMCP session, run $ xhost +localhost to allow local X apps to connect to the server. (I'm sure you could get fancy and do some proper Xauthority stuff here.) I then created a script called 'startxapp.bat': Essentially just the first part of 'startxwin.bat' which sets up the path, and then: run %1 Create a shortcut to this, passing the name of the local X app you wish to run as a paramater. It all works very nicely. Rasjid. From papafox888@hotmail.com Sat Nov 16 06:19:00 2002 From: papafox888@hotmail.com (Papa Fox) Date: Sat, 16 Nov 2002 06:19:00 -0000 Subject: X11 and Heavy loadbalancing? References: <9E035BE80785AA4EAA456959ECB4A30D03426ED8@nt036.an.sopra> <5.1.0.14.2.20021115141353.031757a8@pop3.cris.com> Message-ID: Hi, I *think* I understand what choice15@gmx.de is trying to do. The normal term for what he is attempting is host integration. This is where host-based applications are integrated into web-based applications. The most common example of this is the IBM product Host On Demand. The obvious way to do host integration with X Windows is to use the same approach as HOD. Use a java applet implementation of X (WeirdX) and place the applet in a web page. This approach has the same problem as HOD - a very heavy applet download. PapaFox ----- Original Message ----- From: "Randall R Schulz" To: Sent: Saturday, November 16, 2002 9:24 AM Subject: Re: X11 and Heavy loadbalancing? > Hi, > > Since the native GUI model for Java programs running on Unix and Linux > hosts is X11, any and all Java GUI applications running on such hosts are > inherently able to have their human user interaction take place on a > separate host (or X terminal) from the host on which they execute. > Likewise, multiple application clients (in the X sense of client--an > application that wants to interact with a user via keyboard, moust and > raster display) can share a single server (again, in the X sense--i.e., > user interaction hardware). This should make it possible to handle > migration or load balancing of the Java application while the user remains > at a single workstation. > > So, any Java software with an AWT or Swing GUI when running on a Unix > platform with X support (all of them except MacOS X, I believe) should be > able to do what I think you're contemplating. > > Now usually one does not put conventional Java GUIs on J2EE applications > (to my limited knowledge), but I doubt there's any technical reason why it > could not be done. > > Is this at all an answer to your question? > > Randall Schulz > Mountain View, CA USA > > > At 02:14 2002-11-15, choice15@gmx.de wrote: > >Hi all, > > > >At my Connectiontoolprojekt (Win-GUI-Client for Cygwin) > >i have think by my self whats happend if a heavy load Situation is comming > >up and How can it be solved? > > > >Is there an Way to Make XFree scalable or is there an J2EE based Container > >for a Free XFree avaiable thadt can be integrated as Part of a Java > >Serverapplication- > >Cluster such as ORACLE 9iAS Appserver Modul? > > > >(Oracle self has implemented an E-Mailserver, na Fileserver, an Faxserver, > > LDAP and so thadt resides in the Applicationserver Middlewarelayer, thadt > >can be empowered by an Oracle Realapplication Cluster thadt Spans over the > > Network to other Machines they are Member of the Cluster) > > > >If no Project is launched at this Time then my X.NET Projekt at > >Sourceforge will by Upgraded to this Projektfeature. > > > >http://sourceforge.net/projects/ibsxnet/ > > > >Greetings > > > Randy > From wislaj23@wp.pl Sat Nov 16 06:20:00 2002 From: wislaj23@wp.pl (Artur Hefczyc) Date: Sat, 16 Nov 2002 06:20:00 -0000 Subject: Origin (Where You From?) Message-ID: <004301c28d62$6c3550a0$8d364cd4@kobit> > Where about on the Globe do you reside? > (In other words, Where You From?) Poland Artur Hefczyc From mailspam1@robf.de Sat Nov 16 06:54:00 2002 From: mailspam1@robf.de (Robert Fenk) Date: Sat, 16 Nov 2002 06:54:00 -0000 Subject: xwinclip test 6 hacked to leave selection untouched In-Reply-To: <3DD436DF.8060304@msu.edu> References: <15827.58527.984865.157209@sunbayer71.informatik.tu-muenchen.de> <3DD3F749.6050101@msu.edu> <15828.13363.90218.549106@sunbayer71.informatik.tu-muenchen.de> <3DD436DF.8060304@msu.edu> Message-ID: <15830.18748.297901.771397@sunbayer71.informatik.tu-muenchen.de> I have not subscribed to cygwin-xfree and I will not ... On Thursday, November 14, 2002 at 18:50:55, Harold L Hunt II wrote: > Hmm... I forgot that not grabbing the selection causes the > problem that you mention below, namely, that we are no > longer notified of further changes to the X Selection. Dear Harold, the event PropertyNotify with event.xproperty.atom == XA_CUT_BUFFER is the solution (hopefully) ... give it a try! I could not find anything about X11 selection change detection as for MS-windows, but I have been using the event above to detect changes and at least for the applications (xterm/xemacs) I am using it seems to work well! They cause this event for the root window in case of a selection change and so xwinclip knows that it has to grab the new content and it does not require to grab the selection ownership!!! > In that case, your patch won't make much of a difference, as > there is already an earlier version of xwinclip that has > that precise behavior. It does not make much sense to toggle > back and forth between releasing verions that do or do not > grab the selection. I have no idea about the earlier version, but I think mine is different since it is detecting changes without grabbing ownership of the selection! From j_tetazoo@hotmail.com Sat Nov 16 07:08:00 2002 From: j_tetazoo@hotmail.com (Thomas Chadwick) Date: Sat, 16 Nov 2002 07:08:00 -0000 Subject: Newbie question - Message-ID: The problem with what you describe is that you can have 1 and only 1 window manager per X display at a time. In other words, you can't connect through XDMCP, which launches a window manager, and then launch a local window manager on the same display. I don't see what would be wrong with running 2 instances of XWin. You could start the first one with DISPLAY=:0, and do the XDMCP query and all that. The second instance of XWin could be on DISPLAY=:1 and launch a local window manager. The only thing that would give away the fact that they are not the same DISPLAY would be the fact that they would apear to occupy different "planes" in the "z-axis". You should be able to make this relatively seemless in your "startxwin" script. Come to think of it, an alternative to launching a second XWin instance would be to use the Windows Start button to launch local X apps. As I've seen mentioned here before, you should be able to write a simple "startxapp.bat" script which sets the path, DISPLAY, etc. and then runs an x app that can be passed in as a command-line argument. You could then create a group off the Start button with a different shortcut for each X app you want to be able to launch. The drawback to this would be that you'll get a separate icon for each local X app launched in this manner which, when un-minimized, is nothing but an empty box. >From: Jean-Claude Gervais >Reply-To: cygwin-xfree@cygwin.com >To: cygwin-xfree@cygwin.com >Subject: RE: Newbie question - >Date: Fri, 15 Nov 2002 18:45:05 -0500 > >Hi Harold! > > OK, I'll tell you what I'm up to: > >What I do these days is start XWin -rootless -query host >I have the host set up so that I log in using gnome, and I have set the >remote Gnome to NOT set a background. That way, all I have is the Gnome >taskbar, which I dock on the top of my monitor while the Windows taskbar is >docked at the bottom of the monitor. > >That way, it really is quite like being logged onto both computers >simultaneously. > >The only thing is, I haven't figured out how to run local X applications at >the same time. I'd like WindowMaker's desktop launcher come up on the >display also. I could probably run a bash shell as a Windows console mode >app and from it start some X applications, but this seems inelegant. > >I'm trying to get all three at the same time, and then, (hopefully) hook >Xwinclip into the chain and be able to paste data from one computer to >another... > >Does that sound cogent? I can't really be sure, often I've noticed there >are >even better ways of doing what I want with *nix, only I am still ignorant >of >many of them. > >Thanks > > > >-----Original Message----- >From: cygwin-xfree-owner@cygwin.com >[mailto:cygwin-xfree-owner@cygwin.com]On >Behalf Of Harold L Hunt II >Sent: Friday, November 15, 2002 5:07 PM >To: cygwin-xfree@cygwin.com >Subject: Re: Newbie question - > >Jean-Claude, > >No. > >XDMCP manages your entire X Windows session. Either you use it at >startup or you don't use it at all. > >If all you want is a local window manager and remote applications, then >you should launch XWin with your local window manager, then ssh into >your remote host with X forwarding enabled and launch your X Clients in >the background (e.g. ``xterm&''). > >What did you envision would happen if you were running a local window >manager and you logged into a remote XDMCP session at the same time, >assuming that this was possible? Did you assume that the window >managers would share the screen, that a new window would popup with the >XDMCP session? What were you envisioning? > >Harold > >Harold > >Jean-Claude Gervais wrote: > > >Is there a way to invoke XDMCP AFTER the fact? > >Once I have started a local window manager, I'd like to do an XDMCP >query, > >but running XWin again creates a second instance of X that is independent >of > >my current window session. > >I tried running XDM ?!? And it replies only root wants to run xdm... But > >there is no user called root on my system... > >Thanks. > > > > > > _________________________________________________________________ Add photos to your messages with MSN 8. Get 2 months FREE*. http://join.msn.com/?page=features/featuredemail From jc.gervais@videotron.ca Sat Nov 16 07:39:00 2002 From: jc.gervais@videotron.ca (Jean-Claude Gervais) Date: Sat, 16 Nov 2002 07:39:00 -0000 Subject: XWin.exe <--> xinit link Message-ID: <008001c28d7b$3bb114f0$6501a8c0@sprymusic.com> Hello, If I start xinit, it in turn seems to start XWin. My question is What parameters does it use to start XWin? Where does it get the parameters? Is it executing a script? From wislaj23@wp.pl Sat Nov 16 07:40:00 2002 From: wislaj23@wp.pl (Artur Hefczyc) Date: Sat, 16 Nov 2002 07:40:00 -0000 Subject: XWin.exe <--> xinit link References: <008001c28d7b$3bb114f0$6501a8c0@sprymusic.com> Message-ID: <001301c28d80$3f964c20$8d364cd4@kobit> > What parameters does it use to start XWin? Where does it get the parameters? You can find manual and parameters for XWin from command: man XWin > Is it executing a script? /usr/X11R6/bin/startxwin.bat /usr/X11R6/bin/startxwin.sh Artur Hefczyc -- Artur Hefczyc http://wttools.sf.net/ From jc.gervais@videotron.ca Sat Nov 16 08:32:00 2002 From: jc.gervais@videotron.ca (Jean-Claude Gervais) Date: Sat, 16 Nov 2002 08:32:00 -0000 Subject: XWin.exe <--> xinit link In-Reply-To: <001301c28d80$3f964c20$8d364cd4@kobit> Message-ID: <008301c28d81$f8b786f0$6501a8c0@sprymusic.com> Thanks Artur, But that's not quite the info I was looking for; You see, when I type startxwin.bat or startxwin.sh, I get a DIFFERENT result than from starting xinit by itself. Yet, xinit does start XWin, only it is starting it in windowed mode... Which is OK, but I'm just wondering WHERE does xinit get this from? Is it executing a script? -----Original Message----- From: cygwin-xfree-owner@cygwin.com [mailto:cygwin-xfree-owner@cygwin.com]On Behalf Of Artur Hefczyc Sent: Saturday, November 16, 2002 9:56 AM To: cygwin-xfree@cygwin.com Subject: Re: XWin.exe <--> xinit link > What parameters does it use to start XWin? Where does it get the parameters? You can find manual and parameters for XWin from command: man XWin > Is it executing a script? /usr/X11R6/bin/startxwin.bat /usr/X11R6/bin/startxwin.sh Artur Hefczyc -- Artur Hefczyc http://wttools.sf.net/ From wislaj23@wp.pl Sat Nov 16 09:44:00 2002 From: wislaj23@wp.pl (Artur Hefczyc) Date: Sat, 16 Nov 2002 09:44:00 -0000 Subject: XWin.exe <--> xinit link References: <008301c28d81$f8b786f0$6501a8c0@sprymusic.com> Message-ID: <001b01c28d86$70f8c1c0$8d364cd4@kobit> > But that's not quite the info I was looking for; > You see, when I type startxwin.bat or startxwin.sh, I get a DIFFERENT > result than from starting xinit by itself. > Yet, xinit does start XWin, only it is starting it in windowed mode... > Which is OK, but I'm just wondering WHERE does xinit get this from? Is it > executing a script? Hm, there is also similar to XWin info in system manual (in my installation) 'man xinit' under bash shell You get different results because these are different programs which use different runtime scripts. for XWin.exe all parameters are in startxwin.bat or startxwin.sh where it is executed. xinit.exe presents different approach for running xwindows environment. In my configuration it uses /etc/X11/xinit/xinitrc file to set all xwindows parameters. Look in these 2 files and everything should be clear I hope. I don't know yet how to run xinit in fullscreen mode. Maybe there are some parameters to X or xdm to set it but I don't know how. regards Artur Heczyc -- Artur Hefczyc http://wttools.sf.net/ From hyoung@operamail.com Sat Nov 16 10:09:00 2002 From: hyoung@operamail.com (Hansom Young) Date: Sat, 16 Nov 2002 10:09:00 -0000 Subject: Cygwin GNOME 1.4 binary packages Message-ID: <20021116154029.2874.qmail@operamail.com> Hi, guys! I've build nearly all the GNOME 1.4 core packages on Cygwin, following the hints and patches gaven out by Steven O'Brien (http://homepage.ntlworld.com/steven.obrien2). Although I haven't time to maintain them, I think they might be useful. But the problem is that I can't find a place to hold these packags. They need about 50M. Could anybody give me a hint? -- _______________________________________________ Get your free email from http://mymail.operamail.com Powered by Outblaze From cgf@redhat.com Sat Nov 16 11:55:00 2002 From: cgf@redhat.com (Christopher Faylor) Date: Sat, 16 Nov 2002 11:55:00 -0000 Subject: Origin (Where You From?) In-Reply-To: <004301c28d62$6c3550a0$8d364cd4@kobit> References: <004301c28d62$6c3550a0$8d364cd4@kobit> Message-ID: <20021116163326.GD6496@redhat.com> On Sat, Nov 16, 2002 at 12:22:06PM +0100, Artur Hefczyc wrote: >> Where about on the Globe do you reside? >> (In other words, Where You From?) >Poland > >Artur Hefczyc Um. This message spam. Even if it isn't spam, it's off-topic. Please don't respond to it. cgf From jc.gervais@videotron.ca Sat Nov 16 16:01:00 2002 From: jc.gervais@videotron.ca (Jean-Claude Gervais) Date: Sat, 16 Nov 2002 16:01:00 -0000 Subject: Cygwin GNOME 1.4 binary packages In-Reply-To: <20021116154029.2874.qmail@operamail.com> Message-ID: <008401c28d97$7f89ca70$6501a8c0@sprymusic.com> Howabout hosting the diffs on sourceforge.net? -----Original Message----- From: cygwin-xfree-owner@cygwin.com [mailto:cygwin-xfree-owner@cygwin.com]On Behalf Of Hansom Young Sent: Saturday, November 16, 2002 10:40 AM To: cygwin-xfree@cygwin.com Subject: Cygwin GNOME 1.4 binary packages Hi, guys! I've build nearly all the GNOME 1.4 core packages on Cygwin, following the hints and patches gaven out by Steven O'Brien (http://homepage.ntlworld.com/steven.obrien2). Although I haven't time to maintain them, I think they might be useful. But the problem is that I can't find a place to hold these packags. They need about 50M. Could anybody give me a hint? -- _______________________________________________ Get your free email from http://mymail.operamail.com Powered by Outblaze From dcalk@verizon.net Sat Nov 16 18:02:00 2002 From: dcalk@verizon.net (David Calkins) Date: Sat, 16 Nov 2002 18:02:00 -0000 Subject: XDMCP Message-ID: <5.1.1.6.0.20021116131019.00a96a70@mail.verizon.net> I'm trying to connect up to a machine at work using XDMCP. My home machine is Win2k + Cygwin + XFree86. I made sure to use the cygwin setup program to get the latest packages. I'm using the -query option to do this, i.e. XWin -depth 32 -engine 4 -fullscreen -refresh 85 -screen 0 1024 768 -query $remotehost I get the login screen, enter my username and password and attempt to login. For some reason, I just get bounced back to the login screen again. I've been unable to get this to work. Any ideas as to what could cause this? From jc.gervais@videotron.ca Sat Nov 16 20:15:00 2002 From: jc.gervais@videotron.ca (Jean-Claude Gervais) Date: Sat, 16 Nov 2002 20:15:00 -0000 Subject: XDMCP In-Reply-To: <5.1.1.6.0.20021116131019.00a96a70@mail.verizon.net> Message-ID: <008701c28daa$175d4360$6501a8c0@sprymusic.com> Maybe the session is starting up on the remote host, but then shutting down unexpectedly because of security or a file-not-found condition or something like that. It sounds like CygwinXFree IS working for you, because you say that you DO get the login screen, right? So it must be something in the remote session that is making your link go down... Sorry I can't help more. -----Original Message----- From: cygwin-xfree-owner@cygwin.com [mailto:cygwin-xfree-owner@cygwin.com]On Behalf Of David Calkins Sent: Saturday, November 16, 2002 1:11 PM To: cygwin-xfree@cygwin.com Subject: XDMCP I'm trying to connect up to a machine at work using XDMCP. My home machine is Win2k + Cygwin + XFree86. I made sure to use the cygwin setup program to get the latest packages. I'm using the -query option to do this, i.e. XWin -depth 32 -engine 4 -fullscreen -refresh 85 -screen 0 1024 768 -query $remotehost I get the login screen, enter my username and password and attempt to login. For some reason, I just get bounced back to the login screen again. I've been unable to get this to work. Any ideas as to what could cause this? From lapo@lapo.it Sat Nov 16 21:46:00 2002 From: lapo@lapo.it (Lapo Luchini) Date: Sat, 16 Nov 2002 21:46:00 -0000 Subject: Cygwin GNOME 1.4 binary packages In-Reply-To: <20021116154029.2874.qmail@operamail.com> References: <20021116154029.2874.qmail@operamail.com> Message-ID: <3DD6DC50.9070200@lapo.it> > > >I've build nearly all the GNOME 1.4 core packages on Cygwin, >following the hints and patches gaven out by Steven O'Brien (http://homepage.ntlworld.com/steven.obrien2). >Although I haven't time to maintain them, I think they might be useful. > Actually a mantainer is *needed* to have new packages, moreover those patches are a bit "unclean".. some times ago I decided to build those packages too, but the list told me that the correct way to do DLLs is to relibtoolize the package, and not creating custom scripts. I converted libungif in the "clean way" but I have too few time to convert all of them (though I would like to port at least glib and gtk someday, and maybe finisi freeciv gtk port), but they're not straightforward and I lack the necessary X-Windows know-how. Volunteers gladly accepted, as usual 0=) >Could anybody give me a hint? > Once good packages are created and a mantainer is found there is no problem in hosting them in cygwin official mirrors, I bet. Lapo -- Lapo 'Raist' Luchini lapo@lapo.it (PGP & X.509 keys available) http://www.lapo.it (ICQ UIN: 529796) -------------- next part -------------- A non-text attachment was scrubbed... Name: smime.p7s Type: application/x-pkcs7-signature Size: 3441 bytes Desc: S/MIME Cryptographic Signature URL: From hzhr@21cn.com Sat Nov 16 21:54:00 2002 From: hzhr@21cn.com (Huang.) Date: Sat, 16 Nov 2002 21:54:00 -0000 Subject: Cygwin GNOME 1.4 binary packages References: <1037491288.5587.ezmlm@cygwin.com> Message-ID: <3DD6F9D1.6080903@21cn.com> "Hansom Young" wrote: >> >>Hi, guys! >> >>I've build nearly all the GNOME 1.4 core packages on Cygwin, >>following the hints and patches gaven out by Steven O'Brien (http://homepage.ntlworld.com/steven.obrien2). >>Although I haven't time to maintain them, I think they might be useful. >> >>But the problem is that I can't find a place to hold these packags. They need about 50M. >> >>Could anybody give me a hint? >> >> Hi! Can these packages support NLS(or i18n, eg zh_CN locale)? I means i had built gtk1 once, but it can't display Chinese characters though I set the right gtkrc(even cp right one from Linux box), it seems that X fontset not work. Later i find that maybe because of the cygwin1.dll limited setlocale and mbstowcs series support, when i debug some X apps with multibyte characters(need fontset), i find if i use cygwin1.dll's setlocale, the multibyte characters can't display, but if i define X_LOCALE force X's setlocale to use _Xsetlocale, it is OK. Because the X lib has full setlocale (how about mbstowcs series?) implementation, i think. So, which setlocale your packages use? I hope GNOME can be parts of cygwin distribute. BTW: And how about GNOME2? I know GTK+2 can run under cygwin good. Does anyone try to port GNOME2 to cygwin? And to cygwin-developers list, when will cygwin1.dll have full setlocale and mbstowcs series support? Thanks. From bconway@alum.wpi.edu Sat Nov 16 23:41:00 2002 From: bconway@alum.wpi.edu (Brian J. Conway) Date: Sat, 16 Nov 2002 23:41:00 -0000 Subject: Moving windows in rootless mode not showing border Message-ID: <20021116231516.0e35d068.bconway@alum.wpi.edu> Greetings, I had a question about rootless mode (excellent work, BTW). I'm logged into a Solaris 2.6 XDMCP server and using CDE, and if I go to move a window, the window will move correctly, and I get the little square in the middle of the screen showing the coordinate position, but I don't see the silver border of the window I'm moving except within the existing window or any other X window. This is the only difference I've been able to see between -rootless mode and using Reflection X, which I'm trying to replace (our users have simple needs, but a rootless mode is one of them). Any ideas if this is an issue specific to Cygwin/XFree86 rootless mode or if there's somewhere else I should report it? I don't have screenshots on hand at the moment to send, but I can on Monday if people don't know what I'm talking about. Thanks in advance for your time, great work guys. -b From hyoung@operamail.com Sun Nov 17 05:57:00 2002 From: hyoung@operamail.com (Hansom Young) Date: Sun, 17 Nov 2002 05:57:00 -0000 Subject: Cygwin GNOME 1.4 binary packages Message-ID: <20021117054642.2149.qmail@operamail.com> I think it doesn't. I'm a Chinese guy,too. I've noticed that the Chinese charactor couldn't show up properly. But I have no time to investigate this. I share out these packages only in hope that they might be useful to those want to use GNOME applications under Cygwin, esp. for some lazy guys. And maybe we can take them just as a start of Cygwin GNOME project. BTW: How do you know that "GTK+2 can run under cygwin good"? You mean you have built GNOME2 packages under Cygwin, by saying that? PS: I'm not on the mailing list. Please CC me. ----- Original Message ----- From: "Huang." Date: Sun, 17 Nov 2002 10:07:13 +0800 To: Hansom Young Subject: Re: Cygwin GNOME 1.4 binary packages > "Hansom Young" wrote: > >> > >>Hi, guys! > >> > >>I've build nearly all the GNOME 1.4 core packages on Cygwin, > >>following the hints and patches gaven out by Steven O'Brien (http://homepage.ntlworld.com/steven.obrien2). > >>Although I haven't time to maintain them, I think they might be useful. > >> > >>But the problem is that I can't find a place to hold these packags. They need about 50M. > >> > >>Could anybody give me a hint? > >> > >> > Hi! Can these packages support NLS(or i18n, eg zh_CN locale)? I means i had built gtk1 once, > but it can't display Chinese characters though I set the right gtkrc(even cp right one from > Linux box), it seems that X fontset not work. > Later i find that maybe because of the cygwin1.dll limited setlocale and mbstowcs series support, > when i debug some X apps with multibyte characters(need fontset), i find if i use cygwin1.dll's setlocale, > the multibyte characters can't display, but if i define X_LOCALE force X's setlocale to use _Xsetlocale, it is OK. > Because the X lib has full setlocale (how about mbstowcs series?) implementation, i think. > So, which setlocale your packages use? I hope GNOME can be parts of cygwin distribute. > > BTW: And how about GNOME2? I know GTK+2 can run under cygwin good. > Does anyone try to port GNOME2 to cygwin? > And to cygwin-developers list, when will cygwin1.dll have full setlocale and mbstowcs series support? > > Thanks. > > > > -- _______________________________________________ Get your free email from http://mymail.operamail.com Powered by Outblaze From cgf-cygwin-xfree@redhat.com Sun Nov 17 06:31:00 2002 From: cgf-cygwin-xfree@redhat.com (Christopher Faylor) Date: Sun, 17 Nov 2002 06:31:00 -0000 Subject: cygwin GNOME 1.4 binary packages In-Reply-To: <3DD6F9D1.6080903@21cn.com> References: <1037491288.5587.ezmlm@cygwin.com> <3DD6F9D1.6080903@21cn.com> Message-ID: <20021117055459.GA20387@redhat.com> On Sun, Nov 17, 2002 at 10:07:13AM +0800, Huang. wrote: >And to cygwin-developers list, when will cygwin1.dll have full >setlocale and mbstowcs series support? I'm not sure why I always have to make this point but here goes: New features get added by people who care to add them. There is no conspiracy against adding top notch setlocale support. There is just no one interested in doing it, apparently. So, the answer to the question is "never" unless someone steps up to do the work. cgf From hzhr@21cn.com Sun Nov 17 07:31:00 2002 From: hzhr@21cn.com (Huang.) Date: Sun, 17 Nov 2002 07:31:00 -0000 Subject: Cygwin GNOME 1.4 binary packages References: <20021117054642.2149.qmail@operamail.com> Message-ID: <3DD74938.3090207@21cn.com> Hansom Young wrote: > I think it doesn't. > > I'm a Chinese guy,too. I've noticed that the Chinese charactor couldn't show up properly. But I have no time to investigate this. > Yes, what i guess is right, that is because of cygwin1.dll's limited setlocale support. I re-compile gtk1 with -DX_LOCALE flag defined today, find things OK, now gtk can display Chinese characters rightly! > I share out these packages only in hope that they might be useful to those want to use GNOME applications under Cygwin, esp. for some lazy guys. > And maybe we can take them just as a start of Cygwin GNOME project. > > BTW: How do you know that "GTK+2 can run under cygwin good"? > You mean you have built GNOME2 packages under Cygwin, by saying that? > Yes, see http://mail.gnome.org/archives/gtk-devel-list/2002-November/msg00025.html http://mail.gnome.org/archives/gtk-devel-list/2002-November/msg00050.html Good luck! > PS: I'm not on the mailing list. Please CC me. > > > From staf.verhaegen@imec.be Sun Nov 17 09:53:00 2002 From: staf.verhaegen@imec.be (Staf Verhaegen) Date: Sun, 17 Nov 2002 09:53:00 -0000 Subject: XDMCP References: <5.1.1.6.0.20021116131019.00a96a70@mail.verizon.net> Message-ID: <3DD7A05E.3448A0C4@imec.be> David Calkins wrote: > > I'm trying to connect up to a machine at work using XDMCP. My home machine > is Win2k + Cygwin + XFree86. I made sure to use the cygwin setup program > to get the latest packages. I'm using the -query option to do this, i.e. > XWin -depth 32 -engine 4 -fullscreen -refresh 85 -screen 0 1024 768 -query > $remotehost > I get the login screen, enter my username and password and attempt to > login. For some reason, I just get bounced back to the login screen > again. I've been unable to get this to work. > > Any ideas as to what could cause this? > What is the machine you are connecting to ? Is it running a CDE environment ? I've seen this happen for CDE when not all the needed fonts are available for the CDE session. Contact your system adminstrator to see if they have a font server running in your company. Staf. From dcalk@verizon.net Sun Nov 17 17:32:00 2002 From: dcalk@verizon.net (David Calkins) Date: Sun, 17 Nov 2002 17:32:00 -0000 Subject: XDMCP In-Reply-To: <3DD7A05E.3448A0C4@imec.be> References: <5.1.1.6.0.20021116131019.00a96a70@mail.verizon.net> Message-ID: <5.1.1.6.0.20021117093034.00a86f10@mail.verizon.net> At 02:57 PM 11/17/2002 +0100, you wrote: >David Calkins wrote: > > > > I'm trying to connect up to a machine at work using XDMCP. My home machine > > is Win2k + Cygwin + XFree86. I made sure to use the cygwin setup program > > to get the latest packages. I'm using the -query option to do this, i.e. > > XWin -depth 32 -engine 4 -fullscreen -refresh 85 -screen 0 1024 768 -query > > $remotehost > > I get the login screen, enter my username and password and attempt to > > login. For some reason, I just get bounced back to the login screen > > again. I've been unable to get this to work. > > > > Any ideas as to what could cause this? > > > >What is the machine you are connecting to ? Is it running a CDE environment ? >I've seen this happen for CDE when not all the needed fonts are available for >the CDE session. >Contact your system adminstrator to see if they have a font server running in >your company. > >Staf. Thanks for the reply. The machine I'm connecting to is running HP-UX and yes, CDE. wrt the font server. Is it a matter of me running a font server on my local machine or having a font server running on the machine I'm trying to connect to? If they're not running a font server and I'm able to get them to run one, does the configuration on my local box have to change? Dave From staf.verhaegen@imec.be Sun Nov 17 19:40:00 2002 From: staf.verhaegen@imec.be (Staf Verhaegen) Date: Sun, 17 Nov 2002 19:40:00 -0000 Subject: XDMCP References: <5.1.1.6.0.20021116131019.00a96a70@mail.verizon.net> <5.1.1.6.0.20021117093034.00a86f10@mail.verizon.net> Message-ID: <3DD7B663.94D06BB1@imec.be> David Calkins wrote: > > At 02:57 PM 11/17/2002 +0100, you wrote: > >David Calkins wrote: > > > > > > I'm trying to connect up to a machine at work using XDMCP. My home machine > > > is Win2k + Cygwin + XFree86. I made sure to use the cygwin setup program > > > to get the latest packages. I'm using the -query option to do this, i.e. > > > XWin -depth 32 -engine 4 -fullscreen -refresh 85 -screen 0 1024 768 -query > > > $remotehost > > > I get the login screen, enter my username and password and attempt to > > > login. For some reason, I just get bounced back to the login screen > > > again. I've been unable to get this to work. > > > > > > Any ideas as to what could cause this? > > > > > > >What is the machine you are connecting to ? Is it running a CDE environment ? > >I've seen this happen for CDE when not all the needed fonts are available for > >the CDE session. > >Contact your system adminstrator to see if they have a font server running in > >your company. > > > >Staf. > > Thanks for the reply. The machine I'm connecting to is running HP-UX and > yes, CDE. wrt the font server. Is it a matter of me running a font server > on my local machine or having a font server running on the machine I'm > trying to connect to? If they're not running a font server and I'm able to > get them to run one, does the configuration on my local box have to change? It is a matter to have the fonts available needed by the HP-UX CDE environment for your X server. This can be done by either copying the needed fonts from the HP machines to your local XFree86 installation (something I can't help with) or use one of the HP machines with the needed fonts as a font server. Anyway what happens when you select failsafe session during login ? Staf. From G-F-I@t-online.de Sun Nov 17 20:12:00 2002 From: G-F-I@t-online.de (G-F-I@t-online.de) Date: Sun, 17 Nov 2002 20:12:00 -0000 Subject: Window-95 (WIN95) and CYGWIN, unable to open display Message-ID: <200211171831.TAA27650@FIN01.herr.ger> Last week (14 of Nov. 2002) i downloaded CYGWIN, installed it on WIN98, all works fine. All WIN-Computers are connected in a LAN with my LINUX-Server. With CYGWIN on WIN98 i can do all, that i need: rlogin, rsh, ftp, telnet. And of course use CYGWIN as X-Server for programs, that run under linux. Now i wanted to install CYGWIN on a WIN95-computer, there i have problems: o as with WIN98 i used startxwin.sh, the X-Server starts, i can see it, it runs, i can move for instance the mouse. But then i can see the messages vom twm, xsetroot and xterm: .. unable to open display '127.0.0.1:0.0'. I could see, that the X-Server did something, changed colour to black, went off, came again. o To test what happens i startet first XWin.exe, waited until it was running, then i made: xhost +. Again the message: .. unable to open display '127.0.0.1:0.0'. The X-Server changed to black, diappeared, came again with the colour, before i made "xhost". o Then i made the next attempt: i startet XWin.exe, and tried on my LINUX-computer: DISPLAY=192.0.2.10:0.0 ; export DISPLAY ; xterm. I got the answer from the WIN-95-X-Server, that this is not allowed. This was what i expected, because xhost did not run correctly und WIN95-CYGWIN. o I made the next attempt: on WIN-95, under CYGWIN BASH, i made: telnet 192.0.2.112, i got the Login-Prompt from LINUX to enter the name, but when i typed the first letter of my Login-Name, this letter was endless repeated. I made the same attempt on another WIN-95- Computer, exakt the same, with telnet the first letter i entered was repeated endless. Then i testen on WIN-98, there telnet did all right. This shows: under WIN95 there is something other than in WIN98. Perhaps there is the problem, as the programs speak with the X-Server over net-moduls, as ist telnet does. rlogin and ftp worked correctly under WIN95, in opposite to telnet. All my computers have fixed IP-Adresses (WIN-95: 192.0.2.10, LINUX: 192.0.2.112). Perhaps you can help me. If not, i know, that CYGWIN only works fine with NEWER WIN-Operating-Systems. Perhaps i have an problem with errors in WIN-95. I made the test also on an newly installed WIN-95-computer, with ONLY WIN-95 installed, nothing other. Also on this computer i got the error-message " unable to open display ..", and also telnet repeats the firs letter of my Login-Name endless. Georg Fischer +------------------------------------------------------------------+ ! Georg Fischer, Amselweg 7, D-89281 Herrenstetten Germany ! ! Dipl.-Ing. (FH) Holztechnik ! ! Email: ==> G-F-I@t-online.de <== (best way to reach me) ! ! Internet: http://www.fischer-altenstadt.de ! ! Telefon: +49-8337-8646 ! ! Telefax: +49-8337-9118 ! +------------------------------------------------------------------+ From huntharo@msu.edu Sun Nov 17 21:05:00 2002 From: huntharo@msu.edu (Harold L Hunt II) Date: Sun, 17 Nov 2002 21:05:00 -0000 Subject: Window-95 (WIN95) and CYGWIN, unable to open display References: <200211171831.TAA27650@FIN01.herr.ger> Message-ID: <3DD8433D.5050009@msu.edu> Georg, You more than likely just got a bad version of the Cygwin or one of the Cygwin packages... we have been working on fixing a few bugs over the last few weeks. Please run Cygwin's setup.exe again and let it grab any packages that have been updated. Then report to us if you still have the same problems on Windows 95. Harold G-F-I@t-online.de wrote: > Last week (14 of Nov. 2002) i downloaded CYGWIN, installed it on > WIN98, all works fine. All WIN-Computers are connected in a LAN with > my LINUX-Server. With CYGWIN on WIN98 i can do all, that i need: > rlogin, rsh, ftp, telnet. And of course use CYGWIN as X-Server for > programs, that run under linux. > > Now i wanted to install CYGWIN on a WIN95-computer, there i have problems: > o as with WIN98 i used startxwin.sh, the X-Server starts, i can see it, > it runs, i can move for instance the mouse. But then i can see the > messages vom twm, xsetroot and xterm: .. > unable to open display '127.0.0.1:0.0'. I could see, that the X-Server > did something, changed colour to black, went off, came > again. > o To test what happens i startet first XWin.exe, waited until it was > running, then i made: xhost +. Again the message: .. unable to > open display '127.0.0.1:0.0'. The X-Server changed to black, diappeared, > came again with the colour, before i made "xhost". > o Then i made the next attempt: i startet XWin.exe, and tried on my > LINUX-computer: DISPLAY=192.0.2.10:0.0 ; export DISPLAY ; xterm. > I got the answer from the WIN-95-X-Server, that this is not allowed. > This was what i expected, because xhost did not run correctly und > WIN95-CYGWIN. > o I made the next attempt: on WIN-95, under CYGWIN BASH, i made: > telnet 192.0.2.112, i got the Login-Prompt from LINUX to enter the > name, but when i typed the first letter of my Login-Name, this letter > was endless repeated. I made the same attempt on another WIN-95- > Computer, exakt the same, with telnet the first letter i entered was > repeated endless. Then i testen on WIN-98, there telnet did all right. > This shows: under WIN95 there is something other than in WIN98. Perhaps > there is the problem, as the programs speak with the X-Server over > net-moduls, as ist telnet does. rlogin and ftp worked correctly under > WIN95, in opposite to telnet. > > All my computers have fixed IP-Adresses (WIN-95: 192.0.2.10, LINUX: 192.0.2.112). > > Perhaps you can help me. If not, i know, that CYGWIN only works fine with > NEWER WIN-Operating-Systems. Perhaps i have an problem with errors in WIN-95. > I made the test also on an newly > installed WIN-95-computer, with ONLY WIN-95 installed, nothing other. > Also on this computer i got the error-message " unable to open display ..", > and also telnet repeats the firs letter of my Login-Name endless. > > Georg Fischer > > +------------------------------------------------------------------+ > ! Georg Fischer, Amselweg 7, D-89281 Herrenstetten Germany ! > ! Dipl.-Ing. (FH) Holztechnik ! > ! Email: ==> G-F-I@t-online.de <== (best way to reach me) ! > ! Internet: http://www.fischer-altenstadt.de ! > ! Telefon: +49-8337-8646 ! > ! Telefax: +49-8337-9118 ! > +------------------------------------------------------------------+ From j_tetazoo@hotmail.com Sun Nov 17 23:39:00 2002 From: j_tetazoo@hotmail.com (Thomas Chadwick) Date: Sun, 17 Nov 2002 23:39:00 -0000 Subject: XWin.exe <--> xinit link Message-ID: RTFM! Do "man xinit" from the Cygwin command-line and read the 1st 3 paragraphs. >From: Jean-Claude Gervais >Reply-To: cygwin-xfree@cygwin.com >To: cygwin-xfree@cygwin.com >Subject: RE: XWin.exe <--> xinit link >Date: Sat, 16 Nov 2002 10:08:07 -0500 > >Thanks Artur, > > But that's not quite the info I was looking for; > > You see, when I type startxwin.bat or startxwin.sh, I get a DIFFERENT >result than from starting xinit by itself. > > Yet, xinit does start XWin, only it is starting it in windowed mode... >Which is OK, but I'm just wondering WHERE does xinit get this from? Is it >executing a script? > > >-----Original Message----- >From: cygwin-xfree-owner@cygwin.com >[mailto:cygwin-xfree-owner@cygwin.com]On >Behalf Of Artur Hefczyc >Sent: Saturday, November 16, 2002 9:56 AM >To: cygwin-xfree@cygwin.com >Subject: Re: XWin.exe <--> xinit link > > > What parameters does it use to start XWin? Where does it get the >parameters? >You can find manual and parameters for XWin from command: >man XWin > > > Is it executing a script? >/usr/X11R6/bin/startxwin.bat >/usr/X11R6/bin/startxwin.sh > >Artur Hefczyc >-- >Artur Hefczyc >http://wttools.sf.net/ _________________________________________________________________ Add photos to your e-mail with MSN 8. Get 2 months FREE*. http://join.msn.com/?page=features/featuredemail From jc.gervais@videotron.ca Sun Nov 17 23:48:00 2002 From: jc.gervais@videotron.ca (Jean-Claude Gervais) Date: Sun, 17 Nov 2002 23:48:00 -0000 Subject: XWin.exe <--> xinit link In-Reply-To: Message-ID: <000201c28eb8$dae67c20$6501a8c0@sprymusic.com> Thanks Thomas, The thing is, no matter what I put in those files, it either starts XWin with a border, or not at all. And when I do get it to start up, there is always a console mode window hanging around until I close it, and that closes XWin... *sigh* I AM trying to understand how all this stuff fits together, but I'm not having very much luck. -----Original Message----- From: cygwin-xfree-owner@cygwin.com [mailto:cygwin-xfree-owner@cygwin.com]On Behalf Of Thomas Chadwick Sent: Sunday, November 17, 2002 10:41 PM To: cygwin-xfree@cygwin.com Subject: RE: XWin.exe <--> xinit link RTFM! Do "man xinit" from the Cygwin command-line and read the 1st 3 paragraphs. >From: Jean-Claude Gervais >Reply-To: cygwin-xfree@cygwin.com >To: cygwin-xfree@cygwin.com >Subject: RE: XWin.exe <--> xinit link >Date: Sat, 16 Nov 2002 10:08:07 -0500 > >Thanks Artur, > > But that's not quite the info I was looking for; > > You see, when I type startxwin.bat or startxwin.sh, I get a DIFFERENT >result than from starting xinit by itself. > > Yet, xinit does start XWin, only it is starting it in windowed mode... >Which is OK, but I'm just wondering WHERE does xinit get this from? Is it >executing a script? > > >-----Original Message----- >From: cygwin-xfree-owner@cygwin.com >[mailto:cygwin-xfree-owner@cygwin.com]On >Behalf Of Artur Hefczyc >Sent: Saturday, November 16, 2002 9:56 AM >To: cygwin-xfree@cygwin.com >Subject: Re: XWin.exe <--> xinit link > > > What parameters does it use to start XWin? Where does it get the >parameters? >You can find manual and parameters for XWin from command: >man XWin > > > Is it executing a script? >/usr/X11R6/bin/startxwin.bat >/usr/X11R6/bin/startxwin.sh > >Artur Hefczyc >-- >Artur Hefczyc >http://wttools.sf.net/ _________________________________________________________________ Add photos to your e-mail with MSN 8. Get 2 months FREE*. http://join.msn.com/?page=features/featuredemail From swhatley@hal-pc.org Mon Nov 18 00:13:00 2002 From: swhatley@hal-pc.org (Steven Whatley) Date: Mon, 18 Nov 2002 00:13:00 -0000 Subject: Cygwin XFre86 -> Redhat XDM login Message-ID: Hi all, I've been reading man pages, FAQs, and everything I can think of under Cygwin, RedHat 7.1, and the XFree86 web site. I have been trying to figure this out off and on for months. However, I can not figure out how to run an XFree86 session under Cygwin on my WinXP Pro system to get a login session on my RH 7.1 system. I have played with the files in /etc/X11/xdm on the RH system. I played with XWin, xinit, and startx with -queue and -broadcast options under cygwin. All I get on the Cygwin side is no X11 window at all or a blank checkered default pattern X11 window. I do not seem to be getting any error messages besides "Giving up." I've been dealing with X11 for over 10 yers. But this XFree86 stuff is causing me to pull out my hair! BTW, XDM is running fine on the RH box and Gnome comes up just fine. I just don't keep a monitor attached to the system and the system is in another room. Any help to figure out what I am doing wrong will be really appreciated. Thanks! Steven :) -- trying to keep a happy face. From choice15@gmx.de Mon Nov 18 00:23:00 2002 From: choice15@gmx.de (choice15@gmx.de) Date: Mon, 18 Nov 2002 00:23:00 -0000 Subject: X11 and Heavy loadbalancing? References: <9E035BE80785AA4EAA456959ECB4A30D03426ED8@nt036.an.sopra> <5.1.0.14.2.20021115141353.031757a8@pop3.cris.com> Message-ID: <00b101c28ed5$8506f880$4c64a8c0@ibsfreiburg.de> ----- Original Message ----- From: "Papa Fox" To: Sent: Saturday, November 16, 2002 2:53 AM Subject: Re: X11 and Heavy loadbalancing? > Hi, > > I *think* I understand what choice15@gmx.de is trying to do. The normal > term for what he is attempting is host integration. This is where > host-based applications are integrated into web-based applications. The > most common example of this is the IBM product Host On Demand. > > The obvious way to do host integration with X Windows is to use the same > approach as HOD. Use a java applet implementation of X (WeirdX) and place > the applet in a web page. This approach has the same problem as HOD - a > very heavy applet download. > > PapaFox > > ----- Original Message ----- > From: "Randall R Schulz" > To: > Sent: Saturday, November 16, 2002 9:24 AM > Subject: Re: X11 and Heavy loadbalancing? > > > > Hi, > > > > Since the native GUI model for Java programs running on Unix and Linux > > hosts is X11, any and all Java GUI applications running on such hosts are > > inherently able to have their human user interaction take place on a > > separate host (or X terminal) from the host on which they execute. > > Likewise, multiple application clients (in the X sense of client--an > > application that wants to interact with a user via keyboard, moust and > > raster display) can share a single server (again, in the X sense--i.e., > > user interaction hardware). This should make it possible to handle > > migration or load balancing of the Java application while the user remains > > at a single workstation. > > > > So, any Java software with an AWT or Swing GUI when running on a Unix > > platform with X support (all of them except MacOS X, I believe) should be > > able to do what I think you're contemplating. > > > > Now usually one does not put conventional Java GUIs on J2EE applications > > (to my limited knowledge), but I doubt there's any technical reason why it > > could not be done. > > > > Is this at all an answer to your question? > > > > Randall Schulz > > Mountain View, CA USA > > > > > > At 02:14 2002-11-15, choice15@gmx.de wrote: > > >Hi all, > > > > > >At my Connectiontoolprojekt (Win-GUI-Client for Cygwin) > > >i have think by my self whats happend if a heavy load Situation is > comming > > >up and How can it be solved? > > > > > >Is there an Way to Make XFree scalable or is there an J2EE based > Container > > >for a Free XFree avaiable thadt can be integrated as Part of a Java > > >Serverapplication- > > >Cluster such as ORACLE 9iAS Appserver Modul? > > > > > >(Oracle self has implemented an E-Mailserver, na Fileserver, an > Faxserver, > > > LDAP and so thadt resides in the Applicationserver Middlewarelayer, > thadt > > >can be empowered by an Oracle Realapplication Cluster thadt Spans over > the > > > Network to other Machines they are Member of the Cluster) > > > > > >If no Project is launched at this Time then my X.NET Projekt at > > >Sourceforge will by Upgraded to this Projektfeature. > > > > > >http://sourceforge.net/projects/ibsxnet/ > > > > > >Greetings > > > > > > Randy > > > From jensen@physics.unr.edu Mon Nov 18 00:30:00 2002 From: jensen@physics.unr.edu (Lars Jensen) Date: Mon, 18 Nov 2002 00:30:00 -0000 Subject: Cygwin XFre86 -> Redhat XDM login Message-ID: Stephen, Are you sure you are running xdm and not gdm. If you're running the latter, then you need to edit gdm.conf to enable xdmcp. If you're running the former, I assume that xdm.conf must be edited the same way. Also check that your hosts.allow allows connections from the remote machine. Lars. -- Lars Jensen, TMCC/Vista B200, 7000 Dandini Blvd, Reno NV 89512-3999. Internet: , http://www.scsr.nevada.edu/~jensen Tel: 775.673.7113 FAX: 775.674.7592 From papafox888@hotmail.com Mon Nov 18 01:10:00 2002 From: papafox888@hotmail.com (Papa Fox) Date: Mon, 18 Nov 2002 01:10:00 -0000 Subject: Cygwin XFre86 -> Redhat XDM login References: Message-ID: Have you enabled XDMCP over internet? Depending on whether you are running XDM, KDM or GDM, check /etc/X11/xdm/xdm-config Comment out the appropriate line /etc/X11/xdm/kdmrc Set Enable=true for [Xdmcp] /etc/X11/gdm/gdm.conf You may also have to alter you firewall rules to allow UDP packets to port 177. PapaFox ----- Original Message ----- From: "Steven Whatley" To: Sent: Monday, November 18, 2002 4:20 PM Subject: Cygwin XFre86 -> Redhat XDM login > Hi all, > > I've been reading man pages, FAQs, and everything I can think of under > Cygwin, RedHat 7.1, and the XFree86 web site. I have been trying to > figure this out off and on for months. However, I can not figure out how > to run an XFree86 session under Cygwin on my WinXP Pro system to get a > login session on my RH 7.1 system. > > I have played with the files in /etc/X11/xdm on the RH system. I played > with XWin, xinit, and startx with -queue and -broadcast options > under cygwin. All I get on the Cygwin side is no X11 window at all or a > blank checkered default pattern X11 window. I do not seem to be getting > any error messages besides "Giving up." I've been dealing with X11 for > over 10 yers. But this XFree86 stuff is causing me to pull out my hair! > > BTW, XDM is running fine on the RH box and Gnome comes up just fine. I > just don't keep a monitor attached to the system and the system is in > another room. Any help to figure out what I am doing wrong will be really > appreciated. > > Thanks! > Steven :) -- trying to keep a happy face. > > From papafox888@hotmail.com Mon Nov 18 01:18:00 2002 From: papafox888@hotmail.com (Papa Fox) Date: Mon, 18 Nov 2002 01:18:00 -0000 Subject: XDMCP References: <5.1.1.6.0.20021116131019.00a96a70@mail.verizon.net> Message-ID: It looks like the unix login is happening. What's in ~/.xsession-errors? PapaFox ----- Original Message ----- From: "David Calkins" To: Sent: Sunday, November 17, 2002 5:11 AM Subject: XDMCP > I'm trying to connect up to a machine at work using XDMCP. My home machine > is Win2k + Cygwin + XFree86. I made sure to use the cygwin setup program > to get the latest packages. I'm using the -query option to do this, i.e. > XWin -depth 32 -engine 4 -fullscreen -refresh 85 -screen 0 1024 768 -query > $remotehost > I get the login screen, enter my username and password and attempt to > login. For some reason, I just get bounced back to the login screen > again. I've been unable to get this to work. > > Any ideas as to what could cause this? > > > From c_twiner@hotmail.com Mon Nov 18 01:39:00 2002 From: c_twiner@hotmail.com (Chris Twiner) Date: Mon, 18 Nov 2002 01:39:00 -0000 Subject: xwinclip test 6 hacked to leave selection untouched Message-ID: 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 properly on gcc 3.2. The problem being the -mno_cygwin option doesn't seem to work. The dll must be without cygwin1.dll given that as a default it is not placed inside ?:\windows\system. Maybe this is a point for another list. If the latest code is wanted I'll post it, I'm pretty much finished with what I want to do with it. I can't for example see the point in spending much more time on it if it never get's included. Chris _________________________________________________________________ The new MSN 8: advanced junk mail protection and 2 months FREE* http://join.msn.com/?page=features/junkmail From pavel.holejsovsky@st.com Mon Nov 18 04:07:00 2002 From: pavel.holejsovsky@st.com (Pavel Holejsovsky) Date: Mon, 18 Nov 2002 04:07:00 -0000 Subject: XWin.exe <--> xinit link References: Message-ID: <3DD8AE90.30506@st.com> I think you are looking for $HOME/.xserverrc file. E.g. mine contains: #! /bin/sh X -nowinkill -nodecoration -lesspointer -rootless BTW, this all seems to be documented in xinit man page, as pointed out by Thomas. Pavel jc.gervais@videotron.ca wrote: > Thanks Thomas, > > The thing is, no matter what I put in those files, it either starts XWin > with a border, or not at all. > > And when I do get it to start up, there is always a console mode window > hanging around until I close it, and that closes XWin... > > *sigh* I AM trying to understand how all this stuff fits together, but I'm > not having very much luck. > > > -----Original Message----- > From: cygwin-xfree-owner@cygwin.com [mailto:cygwin-xfree-owner@cygwin.com]On > Behalf Of Thomas Chadwick > Sent: Sunday, November 17, 2002 10:41 PM > To: cygwin-xfree@cygwin.com > Subject: RE: XWin.exe <--> xinit link > > RTFM! Do "man xinit" from the Cygwin command-line and read the 1st 3 > paragraphs. > > >>From: Jean-Claude Gervais >>Reply-To: cygwin-xfree@cygwin.com >>To: cygwin-xfree@cygwin.com >>Subject: RE: XWin.exe <--> xinit link >>Date: Sat, 16 Nov 2002 10:08:07 -0500 >> >>Thanks Artur, >> >> But that's not quite the info I was looking for; >> >> You see, when I type startxwin.bat or startxwin.sh, I get a > > DIFFERENT > >>result than from starting xinit by itself. >> >> Yet, xinit does start XWin, only it is starting it in windowed > > mode... > >>Which is OK, but I'm just wondering WHERE does xinit get this from? Is it >>executing a script? >> >> >>-----Original Message----- >>From: cygwin-xfree-owner@cygwin.com >>[mailto:cygwin-xfree-owner@cygwin.com]On >>Behalf Of Artur Hefczyc >>Sent: Saturday, November 16, 2002 9:56 AM >>To: cygwin-xfree@cygwin.com >>Subject: Re: XWin.exe <--> xinit link >> >> >>>What parameters does it use to start XWin? Where does it get the >> >>parameters? >>You can find manual and parameters for XWin from command: >>man XWin >> >> >>>Is it executing a script? >> >>/usr/X11R6/bin/startxwin.bat >>/usr/X11R6/bin/startxwin.sh >> >>Artur Hefczyc >>-- >>Artur Hefczyc >>http://wttools.sf.net/ > > > > _________________________________________________________________ > Add photos to your e-mail with MSN 8. Get 2 months FREE*. > http://join.msn.com/?page=features/featuredemail > From choice15@gmx.de Mon Nov 18 04:29:00 2002 From: choice15@gmx.de (choice15@gmx.de) Date: Mon, 18 Nov 2002 04:29:00 -0000 Subject: X11 and Heavy loadbalancing? References: <9E035BE80785AA4EAA456959ECB4A30D03426ED8@nt036.an.sopra> <5.1.0.14.2.20021115141353.031757a8@pop3.cris.com> Message-ID: <00b601c28ee3$667ca3c0$4c64a8c0@ibsfreiburg.de> > I *think* I understand what Jack is trying to do. The normal > term for what he is attempting is host integration. This is where > host-based applications are integrated into web-based applications. > The most common example of this is the IBM product Host On Demand. > > The obvious way to do host integration with X Windows is to use the same > approach as HOD. Use a java applet implementation of X (WeirdX) and place > the applet in a web page. This approach has the same problem as HOD - a > very heavy applet download. > > PapaFox Hmm, I think the Enduser should not use an Applet to use X-via Web. A More efficient Way is an normal Java Desktop-Application that can be autoupdated via the Webstartfeature (in JDK 1.4.0 Standandard allready involved) The original Projectplan was based on my Idea, to construct up an easy to use "Free-Software" CrossPlatform alternative against the commercial CITRIX / MS-Windows Terminalserver dominated Environment for Endcustomers with the Security of SSH and Highavaiability on Serverside (Disk I/O, Logon-Speed, Failoverc, Enterprisefeatures) On my Ressearche i have found: 1.An Applicationserver such as (commercial) Oracle 9iAS or JBoss (free) (J2EE 1.2-Compliant) brings up an scalable faulttolerant, scalable, highavaiabil Framework for Servercontainers. (Such as E-Mail, HTTP, SOAP, SMTP, POP3, Faxserver, X11, Filerserver and so on) 2. The ORACLE J2EE compliant Applicationserver has implemented a lot of this Features (called as CollaborationSuite) and all Servercontainers like E-mail server can be simply "checked " into the runnign AppServer (for Example: "java -jar ./myOnwnSMTPServer.jar") (it detects and installs the new J2EE Container automatically, by the Path of an XML-Installdefinitionfile) 3. The J2EE-Appserver Certificationprocess at SUN Microsystems restrict propritary Extensions to an J2EE Appllicationservers to enforce compatibility to the Java Enterprise Standard (J2EE ServerContainers can also run on JBoss (the OpenSource Applicationserver) 4. Java is Platform Independant and has rolebased Security Conecepts, it is working on every Environment, all J2EE ServerContainers can use this Features, the only things to do is, writing, code for the Serverside Support of XFree to Support Java X-Clients like Weired. 5. An other Critical Position is the Disk I/O-Traffic and the RAM usage by every User thadt runs Hugh Applications on Serverside like OpenOffice, WINE and so on. (ps: i know thadt the Displayresults is only worked out by the X-Clients, ok?) 6. To solve the Problem for Disk I/O and RAM Usage, a Databasedrivven Filesystem is a Powerfull choice (like the ORACLE Internetfilesystems IFS). (Note: Microsoft implements MS-SQL-Serverfeatures in to the Windows NTFS6-Filesystem, but Oracle has this Feature over 2 Years ago on the Market and has spend its Sourcecode to the OpenSource Comunity under the Terms of the GPL) Ok, it is a big Project and a lot of Work to implement/configure a more advanced Solution as Microsoft/Citrix-Metaframe, but a great Challenge. Greetings from Germany, Jack From danilo.turina@alcatel.it Mon Nov 18 04:32:00 2002 From: danilo.turina@alcatel.it (Danilo Turina) Date: Mon, 18 Nov 2002 04:32:00 -0000 Subject: XDMCP In-Reply-To: <5.1.1.6.0.20021116131019.00a96a70@mail.verizon.net> References: <5.1.1.6.0.20021116131019.00a96a70@mail.verizon.net> Message-ID: I had the same problem some time ago and the solution was to start a font server on one of the HP-UX machines and the use that font server when connecting to any of the HP-UX machines. I also tried to copy all the needed fonts locally, bu I failed: I copied 60Mb of fonts from any directory with fonts but, for some reason, the connection stopped after the login. Ciao, Danilo Turina David Calkins wrote: > I'm trying to connect up to a machine at work using XDMCP. My home > machine is Win2k + Cygwin + XFree86. I made sure to use the cygwin > setup program to get the latest packages. I'm using the -query option > to do this, i.e. > XWin -depth 32 -engine 4 -fullscreen -refresh 85 -screen 0 1024 768 > -query $remotehost > I get the login screen, enter my username and password and attempt to > login. For some reason, I just get bounced back to the login screen > again. I've been unable to get this to work. > > Any ideas as to what could cause this? From peter.oliver@aquila-networks.co.uk Mon Nov 18 05:34:00 2002 From: peter.oliver@aquila-networks.co.uk (Oliver, Peter) Date: Mon, 18 Nov 2002 05:34:00 -0000 Subject: Preventing X server resets Message-ID: <6B0EDF5A1525D5119C000008C786454845D3A1@ntkfem02.meb.co.uk> > -----Original Message----- > From: Harold L Hunt II [SMTP:huntharo@msu.edu] > Sent: Friday, November 15, 2002 7:12 PM > To: cygwin-xfree@cygwin.com > Subject: Re: Preventing X server resets > > Peter, > > Let me rephrase your question and ask you if it makes sense: > > ``If I am talking on the phone to my mother and she unplugs her phone, > can I just continue talking to her?'' > Yes, but if Dad is on the other extension at the same time I would expect to be able to continue talking to him :-) Perhaps I wasn't clear in my question. I know that if a machine is rebooted then any X clients running on it will be lost. As an aside, I also know that if a machine running an X server is rebooted then the server is lost, and there's typically no way to tell the clients where to reconnect to; the RandR extension will apparently change this in the future. However, I have X clients running on many machines and all displaying on the same server. If most of these hosts go down then the clients on that host are lost, but the X server keeps running and the other clients are unaffected. If the host I logged into with XDMCP goes down, the X server resets and kicks off all the other clients which are otherwise fine. It's this behavior that I wish to avoid. > The answer is no. You have established a connection with a server that > is supposed to manage your X session... if that server fails, or if the > connection to it is unreliable, then you X Session is terminated. > Unfortunately, the way the system is designed is that applications you > launch from your X session are managed by the remote XDMCP machine... if > that machine goes down there is no way to transfer control of those > applications to another machine. > I don't believe that this is true. As I understand it, X11 clients connect directly to the X11 server. Checking with netstat, I see that there are no connections between the host that I logged into with XDMCP and another host running an xterm. I know that what I asked is possible in general, since an X server called PC-Xware does it. When XDMCP goes away it asks something like "Your XDM session has ended. Would you like to reset the X server?", and if you say no you can just carry on working. I hoped that I'd be able to do the same thing with XFree86. > 3) If you can't do anything about the machine or the network, then you > need to adjust your quality-of-service expectations. > Perhaps this is the best suggestion. I can usually run a session for weeks or months without incident, so perhaps I'm asking too much :-) Alternatively, it occurs to me that I could start my session using rlogin rather than XDMCP. Fiddly, but it should do the trick. -- Peter Oliver Midrange Services Aquila Networks Services Ltd **************************************************************************************************** Confidentiality: This e-mail and any files transmitted with it are confidential and intended solely for the use of the individual or entity to whom they are addressed. If you have received this e-mail in error, use of this information (including disclosure, copying or distribution) may be unlawful. Please notify postmaster@aquila-networks.co.uk. and delete the message immediately. Security: Internet e-mail is not a 100% secure communications medium. Viruses: This e-mail (and any attachments) has been checked (using Sophos Sweep 3.58 + patches) and found to be clean from any virus infection before leaving. Therefore neither Aquila Networks Services Ltd nor Midlands Electricity plc or any of their group undertakings (as defined by the Companies Act 1989) (together referred to as the "Companies") accept legal responsibility for this message or liability for the consequences of any computer viruses which may have been transmitted by this e-mail. Monitoring: All electronic communications with the Companies may be monitored in accordance with the UK Regulation of Investigatory Powers Act, Lawful Business Practice Regulations, 2000. If you do not consent to such monitoring, you should contact the sender of this e-mail. Aquila Networks Services Limited, Registered office: Whittington Hall, Whittington, Worcester, WR5 2RB Registered in England and Wales number 3600545 This e-mail may be sent on behalf of any of the Companies. **************************************************************************************************** From huntharo@msu.edu Mon Nov 18 07:15:00 2002 From: huntharo@msu.edu (Harold L Hunt II) Date: Mon, 18 Nov 2002 07:15:00 -0000 Subject: xwinclip test 6 hacked to leave selection untouched References: Message-ID: <3DD8DD12.8030302@msu.edu> Chris, From what I understand, you are grabbing ownership of the selection when Cygwin/XFree86 loses focus... that is not the correct solution, as other X Server on Windows implementations out there (not to name any names) are able to watch the X selection without taking ownership of it ever. It sounds likes we need to watch the selection on the root window, rather than stealing it for our own. If you did this, then I misunderstood what you were trying to say. However, I doubt that you did this because grabbing ownership of the selection when we lose focus would be unnecessary. I wait until a solution looks clean before I do anything with it, and stealing ownership on losing focus didn't look like much of a solution. Harold Chris Twiner wrote: > 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 properly on gcc 3.2. > > The problem being the -mno_cygwin option doesn't seem to work. The dll > must be without cygwin1.dll given that as a default it is not placed > inside ?:\windows\system. Maybe this is a point for another list. > > If the latest code is wanted I'll post it, I'm pretty much finished with > what I want to do with it. I can't for example see the point in > spending much more time on it if it never get's included. > > Chris > > _________________________________________________________________ > The new MSN 8: advanced junk mail protection and 2 months FREE* > http://join.msn.com/?page=features/junkmail > From huntharo@msu.edu Mon Nov 18 07:50:00 2002 From: huntharo@msu.edu (Harold L Hunt II) Date: Mon, 18 Nov 2002 07:50:00 -0000 Subject: Preventing X server resets References: <6B0EDF5A1525D5119C000008C786454845D3A1@ntkfem02.meb.co.uk> Message-ID: <3DD8DDB8.6020500@msu.edu> Peter, So, if you knew that this was possible with another product, then why did you bother asking us if it was possible only to make us look like chumps when we said it wasn't? Now I suppose we will look into it at some point in the future. Harold Oliver, Peter wrote: >>-----Original Message----- >>From: Harold L Hunt II [SMTP:huntharo@msu.edu] >>Sent: Friday, November 15, 2002 7:12 PM >>To: cygwin-xfree@cygwin.com >>Subject: Re: Preventing X server resets >> >>Peter, >> >>Let me rephrase your question and ask you if it makes sense: >> >>``If I am talking on the phone to my mother and she unplugs her phone, >>can I just continue talking to her?'' >> > > Yes, but if Dad is on the other extension at the same time I would expect to > be able to continue talking to him :-) > > Perhaps I wasn't clear in my question. I know that if a machine is rebooted > then any X clients running on it will be lost. As an aside, I also know > that if a machine running an X server is rebooted then the server is lost, > and there's typically no way to tell the clients where to reconnect to; the > RandR extension will apparently change this in the future. > > However, I have X clients running on many machines and all displaying on the > same server. If most of these hosts go down then the clients on that host > are lost, but the X server keeps running and the other clients are > unaffected. If the host I logged into with XDMCP goes down, the X server > resets and kicks off all the other clients which are otherwise fine. It's > this behavior that I wish to avoid. > > >>The answer is no. You have established a connection with a server that >>is supposed to manage your X session... if that server fails, or if the >>connection to it is unreliable, then you X Session is terminated. >> Unfortunately, the way the system is designed is that applications you >>launch from your X session are managed by the remote XDMCP machine... if >>that machine goes down there is no way to transfer control of those >>applications to another machine. >> > > I don't believe that this is true. As I understand it, X11 clients connect > directly to the X11 server. Checking with netstat, I see that there are no > connections between the host that I logged into with XDMCP and another host > running an xterm. > > I know that what I asked is possible in general, since an X server called > PC-Xware does it. When XDMCP goes away it asks something like "Your XDM > session has ended. Would you like to reset the X server?", and if you say > no you can just carry on working. I hoped that I'd be able to do the same > thing with XFree86. > > >>3) If you can't do anything about the machine or the network, then you >>need to adjust your quality-of-service expectations. >> > > Perhaps this is the best suggestion. I can usually run a session for weeks > or months without incident, so perhaps I'm asking too much :-) > > Alternatively, it occurs to me that I could start my session using rlogin > rather than XDMCP. Fiddly, but it should do the trick. > From c_twiner@hotmail.com Mon Nov 18 07:50:00 2002 From: c_twiner@hotmail.com (Chris Twiner) Date: Mon, 18 Nov 2002 07:50:00 -0000 Subject: xwinclip test 6 hacked to leave selection untouched Message-ID: 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. I.e. it won't grab it if a user moves from one "cygwin/xfree86" to another. When the "cygwin/xfree86" looses focus it first looks for XA_PRIMARY and then XA_SECONDARY and then clipboard, not that the clipboard code works with motif apps. The basic one window code (no clipboard chain) was there two months ago and posted to the group. I.e. it fixed what was broken in test6 and fixed again by the recent poster. >as other X Server on Windows implementations out there (not to name any >names) are able to watch the X selection without taking ownership of it >ever. Which was the whole point of my fixes, you yourself claimed you could not see what was wrong with test6 "prove to me with code" was your response. So I did, you said "great" it looks like it works, thanks for the contributions I'll put it into a new test release, however you were busy and it would take a while. Which from the level of involvement you have with cygwin was all too reasonable. >It sounds likes we need to watch the selection on the root window, rather >than stealing it for our own. If you did this, then I misunderstood what >you were trying to say. However, I doubt that you did this because grabbing >ownership of the selection when we lose focus would be unnecessary. Indeed I did. It never grabbed the selection when the focus was lost, only when the window was activated again. i.e. you have gone into windows and the clipboard is different so grab the windows clipboard. The current version only does this when the clipboard has changed (And across -screen's). I had tried to explain this before (as had other posters) but you didn't see anything was wrong, so I made it work in a consistent fashion with windows and most x servers and so it wouldn't break nedit (main motivation). >I wait until a solution looks clean before I do anything with it, and >stealing ownership on losing focus didn't look like much of a solution. Again it was only on gaining of activation, and you didn't at the time see anything was wrong with the test6 code. You had wanted it external when you mentioned this (or internal with a disabling switch). My solution was designed from the outset not to intefere with the inner workings of the xserver and to be within the X selection system, something that commercial solutions obviously aren't limited by. Chris _________________________________________________________________ The new MSN 8: smart spam protection and 2 months FREE* http://join.msn.com/?page=features/junkmail From swhatley@hal-pc.org Mon Nov 18 08:18:00 2002 From: swhatley@hal-pc.org (swhatley@hal-pc.org) Date: Mon, 18 Nov 2002 08:18:00 -0000 Subject: Cygwin XFre86 -> Redhat XDM login In-Reply-To: Message-ID: I'll check gdm. I know hosts.allow is set up right. I can telnet, FTP, SSH, HTTP, SWAT, et.c to the Linux box. I have commented out the last line .../xdm/xdm.conf and modified the .../xdm/Xaccess file. BTW, I didn't mean to put down XFree86 in any way. It is a great product. Folks have put a lot of effort int it. I'm just gtying to resolve this one issue. Thanks, Steven On Sun, 17 Nov 2002 23:48:50 -0800 (PST) Lars Jensen wrote: >Stephen, > >Are you sure you are running xdm and not gdm. If you're running the >latter, then you need to edit gdm.conf to enable xdmcp. If you're >running the former, I assume that xdm.conf must be edited the same way. >Also check that your hosts.allow allows connections from the remote >machine. > >Lars. > >-- >Lars Jensen, TMCC/Vista B200, 7000 Dandini Blvd, Reno NV 89512-3999. >Internet: , http://www.scsr.nevada.edu/~jensen >Tel: 775.673.7113 FAX: 775.674.7592 > -- ___ ____________ <<<((__O\ (__<>___<>__ \ ____ Don't get rattled by Steven Whatley \ \_(__<>___<>__)\O\_/O___>-< what I say. It's just swhatley@hal-pc.org \O__<>___<>___<>)\___/ my opinion. From huntharo@msu.edu Mon Nov 18 09:46:00 2002 From: huntharo@msu.edu (Harold L Hunt II) Date: Mon, 18 Nov 2002 09:46:00 -0000 Subject: xwinclip test 6 hacked to leave selection untouched In-Reply-To: References: Message-ID: <3DD90C0F.4050500@msu.edu> Chris, Well, if you solution is everthing you claim, then you certainly have not been promoting it correctly. The impression I have gathered is that it requires hooks to watch messages for the XWin.exe windows, whereas today's solution does not require such hooks. I have really been waiting for a solution that does not require such hooks. If your solution no longer requires such hooks, then you did a poor job of communicating that fact. Harold Chris Twiner wrote: > 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. I.e. it won't grab it if a user moves from one > "cygwin/xfree86" to another. > > When the "cygwin/xfree86" looses focus it first looks for XA_PRIMARY > and then XA_SECONDARY and then clipboard, not that the clipboard code > works with motif apps. > > The basic one window code (no clipboard chain) was there two months > ago and posted to the group. I.e. it fixed what was broken in test6 > and fixed again by the recent poster. > >> as other X Server on Windows implementations out there (not to name >> any names) are able to watch the X selection without taking ownership >> of it ever. > > > Which was the whole point of my fixes, you yourself claimed you could > not see what was wrong with test6 "prove to me with code" was your > response. So I did, you said "great" it looks like it works, thanks > for the contributions I'll put it into a new test release, however you > were busy and it would take a while. Which from the level of > involvement you have with cygwin was all too reasonable. > >> It sounds likes we need to watch the selection on the root window, >> rather than stealing it for our own. If you did this, then I >> misunderstood what you were trying to say. However, I doubt that you >> did this because grabbing ownership of the selection when we lose >> focus would be unnecessary. > > > Indeed I did. It never grabbed the selection when the focus was lost, > only when the window was activated again. i.e. you have gone into > windows and the clipboard is different so grab the windows clipboard. > The current version only does this when the clipboard has changed (And > across -screen's). > > I had tried to explain this before (as had other posters) but you > didn't see anything was wrong, so I made it work in a consistent > fashion with windows and most x servers and so it wouldn't break nedit > (main motivation). > >> I wait until a solution looks clean before I do anything with it, and >> stealing ownership on losing focus didn't look like much of a solution. > > > Again it was only on gaining of activation, and you didn't at the time > see anything was wrong with the test6 code. > > You had wanted it external when you mentioned this (or internal with a > disabling switch). My solution was designed from the outset not to > intefere with the inner workings of the xserver and to be within the X > selection system, something that commercial solutions obviously aren't > limited by. > > Chris > > _________________________________________________________________ > The new MSN 8: smart spam protection and 2 months FREE* > http://join.msn.com/?page=features/junkmail > From jc.gervais@videotron.ca Mon Nov 18 11:33:00 2002 From: jc.gervais@videotron.ca (Jean-Claude Gervais) Date: Mon, 18 Nov 2002 11:33:00 -0000 Subject: Preventing X server resets In-Reply-To: <6B0EDF5A1525D5119C000008C786454845D3A1@ntkfem02.meb.co.uk> Message-ID: <000501c28f1a$3391ccb0$6501a8c0@sprymusic.com> >if a machine running an X server is rebooted then the server is lost, >and there's typically no way to tell the clients where to reconnect to Isn't that what xmove does? From c_twiner@hotmail.com Mon Nov 18 13:23:00 2002 From: c_twiner@hotmail.com (Chris Twiner) Date: Mon, 18 Nov 2002 13:23:00 -0000 Subject: xwinclip test 6 hacked to leave selection untouched Message-ID: >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 gathered is that it requires hooks to watch >messages >for the XWin.exe windows, whereas today's solution does not >require such >hooks. I have really been waiting for a solution that does >not require >such hooks. If your solution no longer requires such hooks, >then you did a >poor job of communicating that fact. Nothing has changed about it using hooks. Nothing at all. If his solution does work/ not had time to try it out. Then at least the jmp's and signal handling should still be of some use. Also : https://listman.redhat.com/pipermail/xdg-list/2000-October/000005.html And the reading I did whilst creating the changes would indicate this only happens for applications that explicitly choose it too. Motif apps don't either it would seem. Chris _________________________________________________________________ MSN 8 helps eliminate e-mail viruses. Get 2 months FREE*. http://join.msn.com/?page=features/virus From j_tetazoo@hotmail.com Mon Nov 18 13:26:00 2002 From: j_tetazoo@hotmail.com (Thomas Chadwick) Date: Mon, 18 Nov 2002 13:26:00 -0000 Subject: XWin.exe <--> xinit link Message-ID: xinit does 2 things - it launches the X server and then one or more X clients. If you want to customize the X client part (including the Window Manager), create/modify/edit the file $HOME/.xinitrc. If you want to customize the X server part, create/modify/edit the file $HOME/.xserverrc. Alternatively, you can pass command-line options to the X server by specifying them on xinit's command-line after "--". For example, "xinit -- -rootless" will cause XWin to startup in rootless mode. As for the console window, there is no way to avoid it being there until xinit completes, which doesn't happen until after the X server shuts down. This is really no different than if you use a Windows batchfile to fire up XWin and one or more local X clients. It's a "necessary evil". >From: Pavel Holejsovsky >Reply-To: cygwin-xfree@cygwin.com >To: cygwin-xfree@cygwin.com >Subject: Re: XWin.exe <--> xinit link >Date: Mon, 18 Nov 2002 10:10:40 +0100 > >I think you are looking for $HOME/.xserverrc file. E.g. mine contains: > >#! /bin/sh >X -nowinkill -nodecoration -lesspointer -rootless > >BTW, this all seems to be documented in xinit man page, as pointed out by >Thomas. > >Pavel > >jc.gervais@videotron.ca wrote: >>Thanks Thomas, >> >> The thing is, no matter what I put in those files, it either starts XWin >>with a border, or not at all. >> >> And when I do get it to start up, there is always a console mode window >>hanging around until I close it, and that closes XWin... >> >> *sigh* I AM trying to understand how all this stuff fits together, but >>I'm >>not having very much luck. >> >> >>-----Original Message----- >>From: cygwin-xfree-owner@cygwin.com >>[mailto:cygwin-xfree-owner@cygwin.com]On >>Behalf Of Thomas Chadwick >>Sent: Sunday, November 17, 2002 10:41 PM >>To: cygwin-xfree@cygwin.com >>Subject: RE: XWin.exe <--> xinit link >> >>RTFM! Do "man xinit" from the Cygwin command-line and read the 1st 3 >>paragraphs. >> >> >>>From: Jean-Claude Gervais >>>Reply-To: cygwin-xfree@cygwin.com >>>To: cygwin-xfree@cygwin.com >>>Subject: RE: XWin.exe <--> xinit link >>>Date: Sat, 16 Nov 2002 10:08:07 -0500 >>> >>>Thanks Artur, >>> >>> But that's not quite the info I was looking for; >>> >>> You see, when I type startxwin.bat or startxwin.sh, I get a >> >>DIFFERENT >> >>>result than from starting xinit by itself. >>> >>> Yet, xinit does start XWin, only it is starting it in windowed >> >>mode... >> >>>Which is OK, but I'm just wondering WHERE does xinit get this from? Is it >>>executing a script? >>> >>> >>>-----Original Message----- >>>From: cygwin-xfree-owner@cygwin.com >>>[mailto:cygwin-xfree-owner@cygwin.com]On >>>Behalf Of Artur Hefczyc >>>Sent: Saturday, November 16, 2002 9:56 AM >>>To: cygwin-xfree@cygwin.com >>>Subject: Re: XWin.exe <--> xinit link >>> >>> >>>>What parameters does it use to start XWin? Where does it get the >>> >>>parameters? >>>You can find manual and parameters for XWin from command: >>>man XWin >>> >>> >>>>Is it executing a script? >>> >>>/usr/X11R6/bin/startxwin.bat >>>/usr/X11R6/bin/startxwin.sh >>> >>>Artur Hefczyc >>>-- >>>Artur Hefczyc >>>http://wttools.sf.net/ >> >> >> >>_________________________________________________________________ >>Add photos to your e-mail with MSN 8. Get 2 months FREE*. >>http://join.msn.com/?page=features/featuredemail >> _________________________________________________________________ MSN 8 with e-mail virus protection service: 2 months FREE* http://join.msn.com/?page=features/virus From huntharo@msu.edu Mon Nov 18 13:33:00 2002 From: huntharo@msu.edu (Harold L Hunt II) Date: Mon, 18 Nov 2002 13:33:00 -0000 Subject: xwinclip test 6 hacked to leave selection untouched In-Reply-To: <15827.58527.984865.157209@sunbayer71.informatik.tu-muenchen.de> References: <15827.58527.984865.157209@sunbayer71.informatik.tu-muenchen.de> <3DD3F749.6050101@msu.edu> <15828.14273.222824.716746@sunbayer71.informatik.tu-muenchen.de> <3DD90F8D.1060109@msu.edu> <15833.5241.206068.293737@sunbayer71.informatik.tu-muenchen.de> Message-ID: <3DD9409B.9050708@msu.edu> Robert, In an intial test of your patch, I noticed that your patch, after the first selection, only tends to grab every other selection that I make on both the Windows clipboard and the X clipboard. For example, I go into emacs under X and select a region, then I go to emacs under Windows and paste the selection with the middle mouse button; the first time it works fine; now I select some text in emacs under Windows (which causes the selection in emacs under X to be unhighlighted) and go to paste it in emacs under X, but instead of getting the new selection coming from emacs under Windows I instead get the same old selection from emacs under X. Now, if I go back to emacs under Windows and select something else, then when I go to emacs under X it pastes the correct selection. This process repeats and it always seems that every-other selection is gotten but that the ones in between are never picked up. Any ideas? Harold From kenn@thebytebusiness.com Mon Nov 18 13:39:00 2002 From: kenn@thebytebusiness.com (Kenn Murrah) Date: Mon, 18 Nov 2002 13:39:00 -0000 Subject: beinnner frustration ... Message-ID: <005201c28f49$0dea7910$2f64a8c0@KENNDESKTOP> okay, i've read the user manual and the FAQ and still can't figure out how to get started ... please feel free to tell me to RTFM, but please oh please help me figure out WHAT and WHERE to read :-) anyway, i installed xfree86/cygwin and i have an icon on my windows desktop to prove it ... how the heck do i connect to the linux box on my network, and login with one of my linux usernames, and run X on my windows box? i hate to feel stupid ... someone PLEASE point me in the direction of a document i can understand. thanks, kenn From huntharo@msu.edu Mon Nov 18 13:51:00 2002 From: huntharo@msu.edu (Harold L Hunt II) Date: Mon, 18 Nov 2002 13:51:00 -0000 Subject: beinnner frustration ... In-Reply-To: <005201c28f49$0dea7910$2f64a8c0@KENNDESKTOP> References: <005201c28f49$0dea7910$2f64a8c0@KENNDESKTOP> Message-ID: <3DD95B06.3030407@msu.edu> Kenn, You must have missed the most relevant section of the Cygwin/XFree86 User's Guide: http://xfree86.cygwin.com/docs/ug/using-remote-session.html Harold Kenn Murrah wrote: >okay, i've read the user manual and the FAQ and still can't figure out how >to get started ... please feel free to tell me to RTFM, but please oh please >help me figure out WHAT and WHERE to read :-) > >anyway, i installed xfree86/cygwin and i have an icon on my windows desktop >to prove it ... how the heck do i connect to the linux box on my network, >and login with one of my linux usernames, and run X on my windows box? > >i hate to feel stupid ... someone PLEASE point me in the direction of a >document i can understand. > >thanks, > >kenn > > > > > > From kenn@thebytebusiness.com Mon Nov 18 17:48:00 2002 From: kenn@thebytebusiness.com (Kenn Murrah) Date: Mon, 18 Nov 2002 17:48:00 -0000 Subject: beinnner frustration ... References: <005201c28f49$0dea7910$2f64a8c0@KENNDESKTOP> <3DD95B06.3030407@msu.edu> Message-ID: <005d01c28f4a$597d9730$2f64a8c0@KENNDESKTOP> no, i found that section, but was confused by it (sorry!) ... it looked like a linux-style syntax, so i tried entering it at the $ prompt in cygwin ... but it could not find the program ... so i tried to find that program as a windows command (such as the .exe extension would indicate) and i couldn't find that, either ... a search of the windows box turned up no programs named xwin.exe ... so there's no telling what i've done (or failed to do) .... any ideas? ----- Original Message ----- From: "Harold L Hunt II" To: Sent: Monday, November 18, 2002 3:26 PM Subject: Re: beinnner frustration ... > Kenn, > > You must have missed the most relevant section of the Cygwin/XFree86 > User's Guide: > > http://xfree86.cygwin.com/docs/ug/using-remote-session.html > > Harold > > Kenn Murrah wrote: > > >okay, i've read the user manual and the FAQ and still can't figure out how > >to get started ... please feel free to tell me to RTFM, but please oh please > >help me figure out WHAT and WHERE to read :-) > > > >anyway, i installed xfree86/cygwin and i have an icon on my windows desktop > >to prove it ... how the heck do i connect to the linux box on my network, > >and login with one of my linux usernames, and run X on my windows box? > > > >i hate to feel stupid ... someone PLEASE point me in the direction of a > >document i can understand. > > > >thanks, > > > >kenn > > > > > > > > > > > > > > From huntharo@msu.edu Mon Nov 18 18:39:00 2002 From: huntharo@msu.edu (Harold L Hunt II) Date: Mon, 18 Nov 2002 18:39:00 -0000 Subject: beinnner frustration ... In-Reply-To: <005201c28f49$0dea7910$2f64a8c0@KENNDESKTOP> References: <005201c28f49$0dea7910$2f64a8c0@KENNDESKTOP> <3DD95B06.3030407@msu.edu> <005d01c28f4a$597d9730$2f64a8c0@KENNDESKTOP> Message-ID: <3DD95E04.7010007@msu.edu> Kenn, You have not installed Cygwin/XFree86. You need to run Cygwin's setup.exe again (you do not need to uninstall Cygwin, setup is smart enough to download only the new packages), and you need to be sure to expand the XFree86 category and select the XFree86-base package. You can then start Cygwin/XFree86 by double-clicking the startxwin.bat file that should reside in c:\cygwin\usr\X11R6\bin\startxwin.bat. After you have that working, you can make a copy of startxwin.bat, being sure to leave it in c:\cygwin\usr\X11R6\bin, REM out the lines that start xterm, twm, and xsetroot, then change add the -query parameter to the line that starts XWin.exe, as described in the user's guide. Harold Kenn Murrah wrote: >no, i found that section, but was confused by it (sorry!) ... > >it looked like a linux-style syntax, so i tried entering it at the $ prompt >in cygwin ... but it could not find the program ... > >so i tried to find that program as a windows command (such as the .exe >extension would indicate) and i couldn't find that, either ... > >a search of the windows box turned up no programs named xwin.exe ... so >there's no telling what i've done (or failed to do) .... > >any ideas? > > > >----- Original Message ----- >From: "Harold L Hunt II" >To: >Sent: Monday, November 18, 2002 3:26 PM >Subject: Re: beinnner frustration ... > > > > >>Kenn, >> >>You must have missed the most relevant section of the Cygwin/XFree86 >>User's Guide: >> >>http://xfree86.cygwin.com/docs/ug/using-remote-session.html >> >>Harold >> >>Kenn Murrah wrote: >> >> >> >>>okay, i've read the user manual and the FAQ and still can't figure out >>> >>> >how > > >>>to get started ... please feel free to tell me to RTFM, but please oh >>> >>> >please > > >>>help me figure out WHAT and WHERE to read :-) >>> >>>anyway, i installed xfree86/cygwin and i have an icon on my windows >>> >>> >desktop > > >>>to prove it ... how the heck do i connect to the linux box on my network, >>>and login with one of my linux usernames, and run X on my windows box? >>> >>>i hate to feel stupid ... someone PLEASE point me in the direction of a >>>document i can understand. >>> >>>thanks, >>> >>>kenn >>> >>> >>> >>> >>> >>> >>> >>> >> >> > > > > From kenn@thebytebusiness.com Mon Nov 18 19:26:00 2002 From: kenn@thebytebusiness.com (Kenn Murrah) Date: Mon, 18 Nov 2002 19:26:00 -0000 Subject: beinnner frustration ... References: <005201c28f49$0dea7910$2f64a8c0@KENNDESKTOP> <3DD95B06.3030407@msu.edu> <005d01c28f4a$597d9730$2f64a8c0@KENNDESKTOP> <3DD95E04.7010007@msu.edu> Message-ID: <006601c28f4c$e54954f0$2f64a8c0@KENNDESKTOP> Harold: I'm doing that now ... thanks for getting me pointed in the right direction. kennM ----- Original Message ----- From: "Harold L Hunt II" To: Sent: Monday, November 18, 2002 3:39 PM Subject: Re: beinnner frustration ... > Kenn, > > You have not installed Cygwin/XFree86. You need to run Cygwin's > setup.exe again (you do not need to uninstall Cygwin, setup is smart > enough to download only the new packages), and you need to be sure to > expand the XFree86 category and select the XFree86-base package. You > can then start Cygwin/XFree86 by double-clicking the startxwin.bat file > that should reside in c:\cygwin\usr\X11R6\bin\startxwin.bat. > > After you have that working, you can make a copy of startxwin.bat, being > sure to leave it in c:\cygwin\usr\X11R6\bin, REM out the lines that > start xterm, twm, and xsetroot, then change add the -query parameter to > the line that starts XWin.exe, as described in the user's guide. > > Harold > > > Kenn Murrah wrote: > > >no, i found that section, but was confused by it (sorry!) ... > > > >it looked like a linux-style syntax, so i tried entering it at the $ prompt > >in cygwin ... but it could not find the program ... > > > >so i tried to find that program as a windows command (such as the .exe > >extension would indicate) and i couldn't find that, either ... > > > >a search of the windows box turned up no programs named xwin.exe ... so > >there's no telling what i've done (or failed to do) .... > > > >any ideas? > > > > > > > >----- Original Message ----- > >From: "Harold L Hunt II" > >To: > >Sent: Monday, November 18, 2002 3:26 PM > >Subject: Re: beinnner frustration ... > > > > > > > > > >>Kenn, > >> > >>You must have missed the most relevant section of the Cygwin/XFree86 > >>User's Guide: > >> > >>http://xfree86.cygwin.com/docs/ug/using-remote-session.html > >> > >>Harold > >> > >>Kenn Murrah wrote: > >> > >> > >> > >>>okay, i've read the user manual and the FAQ and still can't figure out > >>> > >>> > >how > > > > > >>>to get started ... please feel free to tell me to RTFM, but please oh > >>> > >>> > >please > > > > > >>>help me figure out WHAT and WHERE to read :-) > >>> > >>>anyway, i installed xfree86/cygwin and i have an icon on my windows > >>> > >>> > >desktop > > > > > >>>to prove it ... how the heck do i connect to the linux box on my network, > >>>and login with one of my linux usernames, and run X on my windows box? > >>> > >>>i hate to feel stupid ... someone PLEASE point me in the direction of a > >>>document i can understand. > >>> > >>>thanks, > >>> > >>>kenn > >>> > >>> > >>> > >>> > >>> > >>> > >>> > >>> > >> > >> > > > > > > > > > > From swhatley@hal-pc.org Mon Nov 18 19:35:00 2002 From: swhatley@hal-pc.org (Steven Whatley) Date: Mon, 18 Nov 2002 19:35:00 -0000 Subject: [xfree] Re: Cygwin XFre86 -> Redhat XDM login In-Reply-To: Message-ID: Hi all, I must not have been doing a 'kill -1' on the right process. Rebooting the RH server got the login screen coming up. But now, it exits back to the login screen when I try to login. I am getting a 'Can't open display' message in my RH account ~/.xsession-errors file. I am now looking at the recent XDMCP thread. I am very close now. There seems to be a xhost command missing somewhere. Thanks, Steven On Mon, 18 Nov 2002, Papa Fox wrote: > Have you enabled XDMCP over internet? > > Depending on whether you are running XDM, KDM or GDM, check > > /etc/X11/xdm/xdm-config Comment out the appropriate line > /etc/X11/xdm/kdmrc Set Enable=true for [Xdmcp] > /etc/X11/gdm/gdm.conf > > You may also have to alter you firewall rules to allow UDP packets to port > 177. > > PapaFox > > ----- Original Message ----- > From: "Steven Whatley" > To: > Sent: Monday, November 18, 2002 4:20 PM > Subject: Cygwin XFre86 -> Redhat XDM login > > > > Hi all, > > > > I've been reading man pages, FAQs, and everything I can think of under > > Cygwin, RedHat 7.1, and the XFree86 web site. I have been trying to > > figure this out off and on for months. However, I can not figure out how > > to run an XFree86 session under Cygwin on my WinXP Pro system to get a > > login session on my RH 7.1 system. > > > > I have played with the files in /etc/X11/xdm on the RH system. I played > > with XWin, xinit, and startx with -queue and -broadcast options > > under cygwin. All I get on the Cygwin side is no X11 window at all or a > > blank checkered default pattern X11 window. I do not seem to be getting > > any error messages besides "Giving up." I've been dealing with X11 for > > over 10 yers. But this XFree86 stuff is causing me to pull out my hair! > > > > BTW, XDM is running fine on the RH box and Gnome comes up just fine. I > > just don't keep a monitor attached to the system and the system is in > > another room. Any help to figure out what I am doing wrong will be really > > appreciated. > > > > Thanks! > > Steven :) -- trying to keep a happy face. > > > > > -- ___ ____________ <<<((__O\ (__<>___<>__ \ ____ Don't get rattled by Steven Whatley \ \_(__<>___<>__)\O\_/O___>-< what I say. It's just swhatley@hal-pc.org \O__<>___<>___<>)\___/ my opinion. From swhatley@hal-pc.org Mon Nov 18 19:47:00 2002 From: swhatley@hal-pc.org (Steven Whatley) Date: Mon, 18 Nov 2002 19:47:00 -0000 Subject: XDMCP In-Reply-To: Message-ID: The error I am getting in the ~/.xsessoin-errors is: Xlib: connection to ":0.0" refused by server Xlib: Client is not authorized to connect to Server Gtk-WARNING **: cannot open display: :0 Thanks, Steven From: "Papa Fox" Date: Mon, 18 Nov 2002 19:23:17 +1100 Subject: Re: XDMCP It looks like the unix login is happening. What's in ~/.xsession-errors? PapaFox ----- Original Message ----- From: "David Calkins" To: Sent: Sunday, November 17, 2002 5:11 AM Subject: XDMCP > I'm trying to connect up to a machine at work using XDMCP. My home > machine is Win2k + Cygwin + XFree86. I made sure to use the cygwin setup > program to get the latest packages. I'm using the -query option to do this, > i.e. XWin -depth 32 -engine 4 -fullscreen -refresh 85 -screen 0 1024 768 > -query $remotehost > I get the login screen, enter my username and password and attempt to > login. For some reason, I just get bounced back to the login screen > again. I've been unable to get this to work. > > Any ideas as to what could cause this? From dcalk@verizon.net Mon Nov 18 19:57:00 2002 From: dcalk@verizon.net (David Calkins) Date: Mon, 18 Nov 2002 19:57:00 -0000 Subject: Fwd: Re: XDMCP Message-ID: <5.2.0.9.0.20021118222758.00a6dbd8@mail.verizon.net> I'm seeing the following in /tmp/XWin.log AUDIT: Mon Nov 18 22:22:19 2002: 5924 XWin: client 1 rejected from IP port 3468 I get a bunch of the above messages in my XWin.log. Sounds like we're both having problems with convincing the X server that we do, in fact, want to allow connections from the work machine. I tried using xhost, but it just hangs if I run it while my X server is running (with the -query option). Anyone know how else I can tell my X server to trust a remote host? Dave >Mailing-List: contact cygwin-xfree-help@cygwin.com; run by ezmlm >List-Unsubscribe: > >List-Subscribe: >List-Archive: >List-Post: >List-Help: , > >Sender: cygwin-xfree-owner@cygwin.com >Mail-Followup-To: cygwin-xfree@cygwin.com >Reply-To: cygwin-xfree@cygwin.com >Delivered-To: mailing list cygwin-xfree@cygwin.com >Date: Mon, 18 Nov 2002 20:54:52 -0600 (CST) >From: Steven Whatley >X-X-Sender: swhatley@dewontheweb.org >To: cygwin-xfree@cygwin.com >Subject: Re: XDMCP > >The error I am getting in the ~/.xsessoin-errors is: > >Xlib: connection to ":0.0" refused by server >Xlib: Client is not authorized to connect to Server > >Gtk-WARNING **: cannot open display: :0 > >Thanks, >Steven > >From: "Papa Fox" >Date: Mon, 18 Nov 2002 19:23:17 +1100 >Subject: Re: XDMCP > >It looks like the unix login is happening. What's in ~/.xsession-errors? > >PapaFox >----- Original Message ----- >From: "David Calkins" >To: >Sent: Sunday, November 17, 2002 5:11 AM >Subject: XDMCP > > > I'm trying to connect up to a machine at work using XDMCP. My home > > machine is Win2k + Cygwin + XFree86. I made sure to use the cygwin setup > > program to get the latest packages. I'm using the -query option to do > this, > > i.e. XWin -depth 32 -engine 4 -fullscreen -refresh 85 -screen 0 1024 768 > > -query $remotehost > > I get the login screen, enter my username and password and attempt to > > login. For some reason, I just get bounced back to the login screen > > again. I've been unable to get this to work. > > > > Any ideas as to what could cause this? From dcalk@verizon.net Mon Nov 18 20:19:00 2002 From: dcalk@verizon.net (David Calkins) Date: Mon, 18 Nov 2002 20:19:00 -0000 Subject: Fwd: Re: XDMCP Message-ID: <5.2.0.9.0.20021118222318.00aa3e70@mail.verizon.net> I'm seeing the following in /tmp/XWin.log AUDIT: Mon Nov 18 22:22:19 2002: 5924 XWin: client 1 rejected from IP port 3468 I get a bunch of the above messages in my XWin.log. Sounds like we're both having problems with convincing the X server that we do, in fact, want to allow connections from the work machine. I tried using xhost, but it just hangs if I run it while my X server is running (with the -query option). Anyone know how else I can tell my X server to trust a remote host? Dave >Mailing-List: contact cygwin-xfree-help@cygwin.com; run by ezmlm >List-Unsubscribe: > >List-Subscribe: >List-Archive: >List-Post: >List-Help: , > >Sender: cygwin-xfree-owner@cygwin.com >Mail-Followup-To: cygwin-xfree@cygwin.com >Reply-To: cygwin-xfree@cygwin.com >Delivered-To: mailing list cygwin-xfree@cygwin.com >Date: Mon, 18 Nov 2002 20:54:52 -0600 (CST) >From: Steven Whatley >X-X-Sender: swhatley@dewontheweb.org >To: cygwin-xfree@cygwin.com >Subject: Re: XDMCP > >The error I am getting in the ~/.xsessoin-errors is: > >Xlib: connection to ":0.0" refused by server >Xlib: Client is not authorized to connect to Server > >Gtk-WARNING **: cannot open display: :0 > >Thanks, >Steven > >From: "Papa Fox" >Date: Mon, 18 Nov 2002 19:23:17 +1100 >Subject: Re: XDMCP > >It looks like the unix login is happening. What's in ~/.xsession-errors? > >PapaFox >----- Original Message ----- >From: "David Calkins" >To: >Sent: Sunday, November 17, 2002 5:11 AM >Subject: XDMCP > > > I'm trying to connect up to a machine at work using XDMCP. My home > > machine is Win2k + Cygwin + XFree86. I made sure to use the cygwin setup > > program to get the latest packages. I'm using the -query option to do > this, > > i.e. XWin -depth 32 -engine 4 -fullscreen -refresh 85 -screen 0 1024 768 > > -query $remotehost > > I get the login screen, enter my username and password and attempt to > > login. For some reason, I just get bounced back to the login screen > > again. I've been unable to get this to work. > > > > Any ideas as to what could cause this? From dcalk@verizon.net Tue Nov 19 02:05:00 2002 From: dcalk@verizon.net (David Calkins) Date: Tue, 19 Nov 2002 02:05:00 -0000 Subject: Fwd: Re: XDMCP Message-ID: <5.2.0.9.0.20021118224806.0274dd68@mail.verizon.net> I'm seeing the following in /tmp/XWin.log AUDIT: Mon Nov 18 22:22:19 2002: 5924 XWin: client 1 rejected from IP port 3468 I get a bunch of the above messages in my XWin.log. Sounds like we're both having problems with convincing the X server that we do, in fact, want to allow connections from the work machine. I tried using xhost, but it just hangs if I run it while my X server is running (with the -query option). Anyone know how else I can tell my X server to trust a remote host? Dave >Mailing-List: contact cygwin-xfree-help@cygwin.com; run by ezmlm >List-Unsubscribe: > >List-Subscribe: >List-Archive: >List-Post: >List-Help: , > >Sender: cygwin-xfree-owner@cygwin.com >Mail-Followup-To: cygwin-xfree@cygwin.com >Reply-To: cygwin-xfree@cygwin.com >Delivered-To: mailing list cygwin-xfree@cygwin.com >Date: Mon, 18 Nov 2002 20:54:52 -0600 (CST) >From: Steven Whatley >X-X-Sender: swhatley@dewontheweb.org >To: cygwin-xfree@cygwin.com >Subject: Re: XDMCP > >The error I am getting in the ~/.xsessoin-errors is: > >Xlib: connection to ":0.0" refused by server >Xlib: Client is not authorized to connect to Server > >Gtk-WARNING **: cannot open display: :0 > >Thanks, >Steven > >From: "Papa Fox" >Date: Mon, 18 Nov 2002 19:23:17 +1100 >Subject: Re: XDMCP > >It looks like the unix login is happening. What's in ~/.xsession-errors? > >PapaFox >----- Original Message ----- >From: "David Calkins" >To: >Sent: Sunday, November 17, 2002 5:11 AM >Subject: XDMCP > > > I'm trying to connect up to a machine at work using XDMCP. My home > > machine is Win2k + Cygwin + XFree86. I made sure to use the cygwin setup > > program to get the latest packages. I'm using the -query option to do > this, > > i.e. XWin -depth 32 -engine 4 -fullscreen -refresh 85 -screen 0 1024 768 > > -query $remotehost > > I get the login screen, enter my username and password and attempt to > > login. For some reason, I just get bounced back to the login screen > > again. I've been unable to get this to work. > > > > Any ideas as to what could cause this? From dcalk@verizon.net Tue Nov 19 02:12:00 2002 From: dcalk@verizon.net (David Calkins) Date: Tue, 19 Nov 2002 02:12:00 -0000 Subject: Fwd: Re: XDMCP Message-ID: <5.2.0.9.0.20021118224405.026a0600@mail.verizon.net> Well, tried it again to make sure, and if I run XWin *without* the -query option, I can set my DISPLAY to 127.0.0.1:0.0 and then run xhost and it (xhost) works. If I then connect via the VPN to my work's intranet, and then run XWin *with* the -query option, xhost now hangs....... argh! I think I'm *very* close to having this work. I just need to convince X to allow my work machine to connect back to my home machine.. Dave >I'm seeing the following in /tmp/XWin.log > >AUDIT: Mon Nov 18 22:22:19 2002: 5924 XWin: client 1 rejected from IP > port 3468 > >I get a bunch of the above messages in my XWin.log. Sounds like we're >both having problems with convincing the X server that we do, in fact, >want to allow connections from the work machine. > >I tried using xhost, but it just hangs if I run it while my X server is >running (with the -query option). Anyone know how else I can tell my X >server to trust a remote host? > >Dave > >>Mailing-List: contact cygwin-xfree-help@cygwin.com; run by ezmlm >>List-Unsubscribe: >> >>List-Subscribe: >>List-Archive: >>List-Post: >>List-Help: , >> >>Sender: cygwin-xfree-owner@cygwin.com >>Mail-Followup-To: cygwin-xfree@cygwin.com >>Reply-To: cygwin-xfree@cygwin.com >>Delivered-To: mailing list cygwin-xfree@cygwin.com >>Date: Mon, 18 Nov 2002 20:54:52 -0600 (CST) >>From: Steven Whatley >>X-X-Sender: swhatley@dewontheweb.org >>To: cygwin-xfree@cygwin.com >>Subject: Re: XDMCP >> >>The error I am getting in the ~/.xsessoin-errors is: >> >>Xlib: connection to ":0.0" refused by server >>Xlib: Client is not authorized to connect to Server >> >>Gtk-WARNING **: cannot open display: :0 >> >>Thanks, >>Steven >> >>From: "Papa Fox" >>Date: Mon, 18 Nov 2002 19:23:17 +1100 >>Subject: Re: XDMCP >> >>It looks like the unix login is happening. What's in ~/.xsession-errors? >> >>PapaFox >>----- Original Message ----- >>From: "David Calkins" >>To: >>Sent: Sunday, November 17, 2002 5:11 AM >>Subject: XDMCP >> >> > I'm trying to connect up to a machine at work using XDMCP. My home >> > machine is Win2k + Cygwin + XFree86. I made sure to use the cygwin setup >> > program to get the latest packages. I'm using the -query option to do >> this, >> > i.e. XWin -depth 32 -engine 4 -fullscreen -refresh 85 -screen 0 1024 768 >> > -query $remotehost >> > I get the login screen, enter my username and password and attempt to >> > login. For some reason, I just get bounced back to the login screen >> > again. I've been unable to get this to work. >> > >> > Any ideas as to what could cause this? > From swhatley@hal-pc.org Tue Nov 19 02:12:00 2002 From: swhatley@hal-pc.org (Steven Whatley) Date: Tue, 19 Nov 2002 02:12:00 -0000 Subject: [xfree] Fwd: Re: XDMCP In-Reply-To: <5.2.0.9.0.20021118224405.026a0600@mail.verizon.net> Message-ID: Have you modified Cygwin's /etc/hsots.allow and /etc/hosts.deny files? I'm trying this but no go yet. Later, Steven On Mon, 18 Nov 2002, David Calkins wrote: > Well, tried it again to make sure, and if I run XWin *without* the -query > option, I can set my DISPLAY to 127.0.0.1:0.0 and then run xhost and it > (xhost) works. If I then connect via the VPN to my work's intranet, and > then run XWin *with* the -query option, xhost now hangs....... argh! I > think I'm *very* close to having this work. I just need to convince X to > allow my work machine to connect back to my home machine.. > > Dave > > > >I'm seeing the following in /tmp/XWin.log > > > >AUDIT: Mon Nov 18 22:22:19 2002: 5924 XWin: client 1 rejected from IP > > port 3468 > > > >I get a bunch of the above messages in my XWin.log. Sounds like we're > >both having problems with convincing the X server that we do, in fact, > >want to allow connections from the work machine. > > > >I tried using xhost, but it just hangs if I run it while my X server is > >running (with the -query option). Anyone know how else I can tell my X > >server to trust a remote host? > > > >Dave > > > >>Mailing-List: contact cygwin-xfree-help@cygwin.com; run by ezmlm > >>List-Unsubscribe: > >> > >>List-Subscribe: > >>List-Archive: > >>List-Post: > >>List-Help: , > >> > >>Sender: cygwin-xfree-owner@cygwin.com > >>Mail-Followup-To: cygwin-xfree@cygwin.com > >>Reply-To: cygwin-xfree@cygwin.com > >>Delivered-To: mailing list cygwin-xfree@cygwin.com > >>Date: Mon, 18 Nov 2002 20:54:52 -0600 (CST) > >>From: Steven Whatley > >>X-X-Sender: swhatley@dewontheweb.org > >>To: cygwin-xfree@cygwin.com > >>Subject: Re: XDMCP > >> > >>The error I am getting in the ~/.xsessoin-errors is: > >> > >>Xlib: connection to ":0.0" refused by server > >>Xlib: Client is not authorized to connect to Server > >> > >>Gtk-WARNING **: cannot open display: :0 > >> > >>Thanks, > >>Steven > >> > >>From: "Papa Fox" > >>Date: Mon, 18 Nov 2002 19:23:17 +1100 > >>Subject: Re: XDMCP > >> > >>It looks like the unix login is happening. What's in ~/.xsession-errors? > >> > >>PapaFox > >>----- Original Message ----- > >>From: "David Calkins" > >>To: > >>Sent: Sunday, November 17, 2002 5:11 AM > >>Subject: XDMCP > >> > >> > I'm trying to connect up to a machine at work using XDMCP. My home > >> > machine is Win2k + Cygwin + XFree86. I made sure to use the cygwin setup > >> > program to get the latest packages. I'm using the -query option to do > >> this, > >> > i.e. XWin -depth 32 -engine 4 -fullscreen -refresh 85 -screen 0 1024 768 > >> > -query $remotehost > >> > I get the login screen, enter my username and password and attempt to > >> > login. For some reason, I just get bounced back to the login screen > >> > again. I've been unable to get this to work. > >> > > >> > Any ideas as to what could cause this? > > > > -- ___ ____________ <<<((__O\ (__<>___<>__ \ ____ Don't get rattled by Steven Whatley \ \_(__<>___<>__)\O\_/O___>-< what I say. It's just swhatley@hal-pc.org \O__<>___<>___<>)\___/ my opinion. From papafox888@hotmail.com Tue Nov 19 03:27:00 2002 From: papafox888@hotmail.com (Papa Fox) Date: Tue, 19 Nov 2002 03:27:00 -0000 Subject: [xfree] Fwd: Re: XDMCP References: Message-ID: Try creating a file /etc/X0.hosts. Place the names or ip addresses of any clients which need to connect to the Xserver. Make sure you include localhost so that xwinclip will work. This will bypass xauth for those machines. PapaFox ----- Original Message ----- From: "Steven Whatley" To: Sent: Tuesday, November 19, 2002 3:34 PM Subject: Re: [xfree] Fwd: Re: XDMCP > Have you modified Cygwin's /etc/hsots.allow and /etc/hosts.deny files? > I'm trying this but no go yet. > > Later, > Steven > > On Mon, 18 Nov 2002, David Calkins wrote: > > Well, tried it again to make sure, and if I run XWin *without* the -query > > option, I can set my DISPLAY to 127.0.0.1:0.0 and then run xhost and it > > (xhost) works. If I then connect via the VPN to my work's intranet, and > > then run XWin *with* the -query option, xhost now hangs....... argh! I > > think I'm *very* close to having this work. I just need to convince X to > > allow my work machine to connect back to my home machine.. > > > > Dave > > > > > > >I'm seeing the following in /tmp/XWin.log > > > > > >AUDIT: Mon Nov 18 22:22:19 2002: 5924 XWin: client 1 rejected from IP > > > port 3468 > > > > > >I get a bunch of the above messages in my XWin.log. Sounds like we're > > >both having problems with convincing the X server that we do, in fact, > > >want to allow connections from the work machine. > > > > > >I tried using xhost, but it just hangs if I run it while my X server is > > >running (with the -query option). Anyone know how else I can tell my X > > >server to trust a remote host? > > > > > >Dave > > > > > >>Mailing-List: contact cygwin-xfree-help@cygwin.com; run by ezmlm > > >>List-Unsubscribe: > > >> > > >>List-Subscribe: > > >>List-Archive: > > >>List-Post: > > >>List-Help: , > > >> > > >>Sender: cygwin-xfree-owner@cygwin.com > > >>Mail-Followup-To: cygwin-xfree@cygwin.com > > >>Reply-To: cygwin-xfree@cygwin.com > > >>Delivered-To: mailing list cygwin-xfree@cygwin.com > > >>Date: Mon, 18 Nov 2002 20:54:52 -0600 (CST) > > >>From: Steven Whatley > > >>X-X-Sender: swhatley@dewontheweb.org > > >>To: cygwin-xfree@cygwin.com > > >>Subject: Re: XDMCP > > >> > > >>The error I am getting in the ~/.xsessoin-errors is: > > >> > > >>Xlib: connection to ":0.0" refused by server > > >>Xlib: Client is not authorized to connect to Server > > >> > > >>Gtk-WARNING **: cannot open display: :0 > > >> > > >>Thanks, > > >>Steven > > >> > > >>From: "Papa Fox" > > >>Date: Mon, 18 Nov 2002 19:23:17 +1100 > > >>Subject: Re: XDMCP > > >> > > >>It looks like the unix login is happening. What's in ~/.xsession-errors? > > >> > > >>PapaFox > > >>----- Original Message ----- > > >>From: "David Calkins" > > >>To: > > >>Sent: Sunday, November 17, 2002 5:11 AM > > >>Subject: XDMCP > > >> > > >> > I'm trying to connect up to a machine at work using XDMCP. My home > > >> > machine is Win2k + Cygwin + XFree86. I made sure to use the cygwin setup > > >> > program to get the latest packages. I'm using the -query option to do > > >> this, > > >> > i.e. XWin -depth 32 -engine 4 -fullscreen -refresh 85 -screen 0 1024 768 > > >> > -query $remotehost > > >> > I get the login screen, enter my username and password and attempt to > > >> > login. For some reason, I just get bounced back to the login screen > > >> > again. I've been unable to get this to work. > > >> > > > >> > Any ideas as to what could cause this? > > > > > > > > > -- > ___ ____________ > <<<((__O\ (__<>___<>__ \ ____ Don't get rattled by > Steven Whatley \ \_(__<>___<>__)\O\_/O___>-< what I say. It's just > swhatley@hal-pc.org \O__<>___<>___<>)\___/ my opinion. > From pavel.holejsovsky@st.com Tue Nov 19 06:59:00 2002 From: pavel.holejsovsky@st.com (Pavel Holejsovsky) Date: Tue, 19 Nov 2002 06:59:00 -0000 Subject: XWin.exe <--> xinit link References: Message-ID: <3DDA0E50.9030906@st.com> Thanks for the detailed explanation. But I think you can avoid even that console for Xserver. I'm starting my Xserver using shortcut with this commandline: C:\cygwin\bin\cygstart.exe --hide -- bash --login -i -c startx This way, console window just flashes for a small moment and then it is hidden by cygstart (its '--hide' option). Pavel j_tetazoo@hotmail.com wrote: > xinit does 2 things - it launches the X server and then one or more X > clients. > > If you want to customize the X client part (including the Window Manager), > create/modify/edit the file $HOME/.xinitrc. > > If you want to customize the X server part, create/modify/edit the file > $HOME/.xserverrc. > > Alternatively, you can pass command-line options to the X server by > specifying them on xinit's command-line after "--". For example, "xinit -- > -rootless" will cause XWin to startup in rootless mode. > > > As for the console window, there is no way to avoid it being there until > xinit completes, which doesn't happen until after the X server shuts down. > This is really no different than if you use a Windows batchfile to fire up > XWin and one or more local X clients. It's a "necessary evil". From oqvbydkf@web.de Tue Nov 19 07:22:00 2002 From: oqvbydkf@web.de (AAAAA Karakaya) Date: Tue, 19 Nov 2002 07:22:00 -0000 Subject: Yenilenen noseks filuc Message-ID: FULL 2002 YAPIMI PORNO VIDEOLAR Sitemize yeni filmler eklendi. Tam metraj, full kalite Yenilenen Kategoriler: AMATEUR ANAL ASIAN LESBIAN ?yi e?lenceler, http://www.noseks.com id: cygwin-xfree - bvymetpelrtsyaemugqxr- From dcalk@verizon.net Tue Nov 19 18:54:00 2002 From: dcalk@verizon.net (David Calkins) Date: Tue, 19 Nov 2002 18:54:00 -0000 Subject: Fwd: Re: [xfree] Fwd: Re: XDMCP Message-ID: <5.2.0.9.0.20021119062809.0272cda8@mail.verizon.net> That did it! I created /etc/X0.hosts and added localhost and my work machine to it. I was able to log in and get the remote CDE session with no problems. :-) Thanks for the tip. Dave >Try creating a file /etc/X0.hosts. Place the names or ip addresses of any >clients which need to connect to the Xserver. Make sure you include >localhost so that xwinclip will work. > >This will bypass xauth for those machines. > >PapaFox > >----- Original Message ----- >From: "Steven Whatley" >To: >Sent: Tuesday, November 19, 2002 3:34 PM >Subject: Re: [xfree] Fwd: Re: XDMCP > > > > Have you modified Cygwin's /etc/hsots.allow and /etc/hosts.deny files? > > I'm trying this but no go yet. > > > > Later, > > Steven > > > > On Mon, 18 Nov 2002, David Calkins wrote: > > > Well, tried it again to make sure, and if I run XWin *without* >the -query > > > option, I can set my DISPLAY to 127.0.0.1:0.0 and then run xhost and it > > > (xhost) works. If I then connect via the VPN to my work's intranet, and > > > then run XWin *with* the -query option, xhost now hangs....... argh! I > > > think I'm *very* close to having this work. I just need to convince X >to > > > allow my work machine to connect back to my home machine.. > > > > > > Dave > > > > > > > > > >I'm seeing the following in /tmp/XWin.log > > > > > > > >AUDIT: Mon Nov 18 22:22:19 2002: 5924 XWin: client 1 rejected from IP > > > > port 3468 > > > > > > > >I get a bunch of the above messages in my XWin.log. Sounds like we're > > > >both having problems with convincing the X server that we do, in fact, > > > >want to allow connections from the work machine. > > > > > > > >I tried using xhost, but it just hangs if I run it while my X server is > > > >running (with the -query option). Anyone know how else I can tell my X > > > >server to trust a remote host? > > > > > > > >Dave > > > > > > > >>Mailing-List: contact cygwin-xfree-help@cygwin.com; run by ezmlm > > > >>List-Unsubscribe: > > > >> > > > >>List-Subscribe: > > > >>List-Archive: > > > >>List-Post: > > > >>List-Help: , > > > >> > > > >>Sender: cygwin-xfree-owner@cygwin.com > > > >>Mail-Followup-To: cygwin-xfree@cygwin.com > > > >>Reply-To: cygwin-xfree@cygwin.com > > > >>Delivered-To: mailing list cygwin-xfree@cygwin.com > > > >>Date: Mon, 18 Nov 2002 20:54:52 -0600 (CST) > > > >>From: Steven Whatley > > > >>X-X-Sender: swhatley@dewontheweb.org > > > >>To: cygwin-xfree@cygwin.com > > > >>Subject: Re: XDMCP > > > >> > > > >>The error I am getting in the ~/.xsessoin-errors is: > > > >> > > > >>Xlib: connection to ":0.0" refused by server > > > >>Xlib: Client is not authorized to connect to Server > > > >> > > > >>Gtk-WARNING **: cannot open display: :0 > > > >> > > > >>Thanks, > > > >>Steven > > > >> > > > >>From: "Papa Fox" > > > >>Date: Mon, 18 Nov 2002 19:23:17 +1100 > > > >>Subject: Re: XDMCP > > > >> > > > >>It looks like the unix login is happening. What's in >~/.xsession-errors? > > > >> > > > >>PapaFox > > > >>----- Original Message ----- > > > >>From: "David Calkins" > > > >>To: > > > >>Sent: Sunday, November 17, 2002 5:11 AM > > > >>Subject: XDMCP > > > >> > > > >> > I'm trying to connect up to a machine at work using XDMCP. My home > > > >> > machine is Win2k + Cygwin + XFree86. I made sure to use the cygwin >setup > > > >> > program to get the latest packages. I'm using the -query option to >do > > > >> this, > > > >> > i.e. XWin -depth 32 -engine 4 -fullscreen -refresh 85 -screen 0 >1024 768 > > > >> > -query $remotehost > > > >> > I get the login screen, enter my username and password and attempt >to > > > >> > login. For some reason, I just get bounced back to the login >screen > > > >> > again. I've been unable to get this to work. > > > >> > > > > >> > Any ideas as to what could cause this? > > > > > > > > > > > > > > -- > > ___ ____________ > > <<<((__O\ (__<>___<>__ \ ____ Don't get rattled by > > Steven Whatley \ \_(__<>___<>__)\O\_/O___>-< what I say. It's >just > > swhatley@hal-pc.org \O__<>___<>___<>)\___/ my opinion. > > From kenn@thebytebusiness.com Tue Nov 19 19:13:00 2002 From: kenn@thebytebusiness.com (Kenn Murrah) Date: Tue, 19 Nov 2002 19:13:00 -0000 Subject: have cygwin/XFree86 running ... but need help connecting remotely Message-ID: <000701c28fdc$4122ec20$2f64a8c0@KENNDESKTOP> Greetings ... Okay, I know I should be able to understand this from the documentation, but I don't ... I've installed CygwinXFree86 on my windows box ... I can double-click the shortcut on the desktop to run the program, and I can run startxwin.sh, startx, etc. ... but how do i connect to a remote box? I want to connect to a linux box on my network, and I'm puzzled about how to make that happen. Can anyone provide this elementary help to me? Thanks in advance, kenn From rasjidw@openminddev.net Wed Nov 20 00:48:00 2002 From: rasjidw@openminddev.net (Rasjid Wilcox) Date: Wed, 20 Nov 2002 00:48:00 -0000 Subject: have cygwin/XFree86 running ... but need help connecting remotely In-Reply-To: <000701c28fdc$4122ec20$2f64a8c0@KENNDESKTOP> References: <000701c28fdc$4122ec20$2f64a8c0@KENNDESKTOP> Message-ID: <200211200215.29693.rasjidw@openminddev.net> On Wed, 20 Nov 2002 1:59 am, Kenn Murrah wrote: > Greetings ... > > Okay, I know I should be able to understand this from the documentation, > but I don't ... > > I've installed CygwinXFree86 on my windows box ... I can double-click the > shortcut on the desktop to run the program, and I can run startxwin.sh, > startx, etc. ... > > but how do i connect to a remote box? I want to connect to a linux box on > my network, and I'm puzzled about how to make that happen. > > Can anyone provide this elementary help to me? Depends on what type of connection you want? Did you just want to ssh into the box, or did you want to set up XDMCP. If you just want to ssh, then type $ ssh username@linux.box If you want to ssh and forward the X session over ssh, then $ ssh -X username@linux.box If you want XDMCP, then I would suggest reading the Linux XDMCP howto. http://www.tldp.org/HOWTO/XDMCP-HOWTO/ Also see the Cygwin-XFree86 FAQ etc. http://xfree86.cygwin.com/docs/ Cheers, Rasjid. From huntharo@msu.edu Wed Nov 20 01:54:00 2002 From: huntharo@msu.edu (Harold L Hunt II) Date: Wed, 20 Nov 2002 01:54:00 -0000 Subject: xwinclip test 6 hacked to leave selection untouched In-Reply-To: Message-ID: Robert, I have been trying to figure out how your patch to xwinclip works. In particular, I was wondering how it got notification that the selection had changed when it was owned by another window. I can now sum up your changes in a sentence: XA_CUT_BUFFER0 is watched for changes and the selection is copied to the Windows clipboard whenever cut buffer 0 is changed. That may not be a completely clean way to solve the problem forever, but it does work, at the very least. Harold From huntharo@msu.edu Wed Nov 20 02:40:00 2002 From: huntharo@msu.edu (Harold L Hunt II) Date: Wed, 20 Nov 2002 02:40:00 -0000 Subject: Direction of xwinclip In-Reply-To: Message-ID: Chris [Twiner], I have finally had a chance to look at your changes to xwinclip. 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? Robert's method of watching for changes in XA_CUT_BUFFER0 might be hack, but I think it is probably closer to what other X Servers for Windows are doing, as those other X Server do not grab ownership of the X selection when they lose the focus. Have you got any objections to watching for changes in XA_CUT_BUFFER0 as a signal that we should request another copy of the X selection? If we decide to go with the XA_CUT_BUFFER0 hack, then there will probably need to be only one more release of xwinclip. After that we can concentrate on integrating the clipboard support into XWin.exe. By the way... I like the setjmp/longjmp stuff... I thought it was two assembly language instructions that were used. Imagine my surprise when I saw setjmp.h and realized that setjmp and longjmp were (used like) functions. That is a heck of a lot easier than I had thought it would be. Thanks for your contributions Chris. Harold From c_twiner@hotmail.com Wed Nov 20 04:05:00 2002 From: c_twiner@hotmail.com (Chris Twiner) Date: Wed, 20 Nov 2002 04:05:00 -0000 Subject: Direction of xwinclip Message-ID: >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 merely grabs whatever is in the selections, if anything, and puts it into the windows clipboard. >Robert's method of watching for changes in XA_CUT_BUFFER0 might be hack, >but >I think it is probably closer to what other X Servers for Windows are >doing, >as those other X Server do not grab ownership of the X selection when they >lose the focus. Neither does my code, but see later... >Have you got any objections to watching for changes in >XA_CUT_BUFFER0 as a signal that we should request another copy of the X >selection? Yes I have, the ICCM standard says don't use it in new applications and the rest of the x development community says don't use it in new applications. Seemingly only a few do. Motif apps have some wierd logic for working out wether to try and use it but they don't use it directly (they've got their own wierd and wonderful way of doing things for CLIPBOARD). Basically as the ICCM says it's obsolete. You can write a compliant X selection app that works with PRIMARY without problems but never uses the cut buffers. How many applications have you tried it with, sorry I can't try it at mine, gcc's specs don't seem to work for my box (or the work box I have it on). >If we decide to go with the XA_CUT_BUFFER0 hack, then there will probably >need to be only one more release of xwinclip. After that we can >concentrate >on integrating the clipboard support into XWin.exe. I think that it would be usefull (possibly as thats the way xceed works, when it does, to make it an xt/xm app as well) so that we can get the motif clipboard if it's being used. However within XWin it may not be the best approach either way, as all messages go through the xserver anyway should not a simple hook into the server code be better then making a client within a server (and having to look at threading it or more complicated setjmp's). >By the way... I like the setjmp/longjmp stuff... I thought it was two >assembly language instructions that were used. Imagine my surprise when I >saw setjmp.h and realized that setjmp and longjmp were (used like) >functions. That is a heck of a lot easier than I had thought it would be. Glad it could help. >Thanks for your contributions Chris. cheers, Chris _________________________________________________________________ The new MSN 8: smart spam protection and 2 months FREE* http://join.msn.com/?page=features/junkmail From jozsefke@freemail.hu Wed Nov 20 05:48:00 2002 From: jozsefke@freemail.hu (Kercso Jozsef) Date: Wed, 20 Nov 2002 05:48:00 -0000 Subject: Xwinclip doesn't work with Konsole Message-ID: <3DDB5B6F.9000206@freemail.hu> Hi! I have tested the latest official release (Test6) and the hacked one from Chris Twiner, but neither works with Konsole, the console from KDE. Is this feature not yet supported, or is this a bug? If I start a normal xterm, it works, however. Best Regards Jozsef Kercso From c_twiner@hotmail.com Wed Nov 20 06:12:00 2002 From: c_twiner@hotmail.com (Chris Twiner) Date: Wed, 20 Nov 2002 06:12:00 -0000 Subject: Xwinclip doesn't work with Konsole Message-ID: > I have tested the latest official release (Test6) and >the hacked one from Chris Twiner, but neither works with >Konsole, the console from KDE. Hi, What are you doing that makes you think it isn't working? Are you just using primary selection? From what I can tell (quick research) it uses CLIPBOARD and PRIMARY. If (with my version) the selection is still shown can you use the middle mouse button to "paste" it into another X app, like xterm? If so then it should be usable with both mine and test6. does test6 clear the selection after you select it? Chris _________________________________________________________________ MSN 8 helps eliminate e-mail viruses. Get 2 months FREE*. http://join.msn.com/?page=features/virus From jozsefke@freemail.hu Wed Nov 20 08:08:00 2002 From: jozsefke@freemail.hu (Kercso Jozsef) Date: Wed, 20 Nov 2002 08:08:00 -0000 Subject: Xwinclip doesn't work with Konsole References: <3DDB5B6F.9000206@freemail.hu> Message-ID: <3DDB7A75.1050307@freemail.hu> Helo! > What are you doing that makes you think it isn't working? The testcases were: - I have an XSession to a Redhat Linux with KDE desktop. - I have two terminals opened: Konsole and xterm - xwinclip(test6 or yours) is started - the copy/paste operation from an xterm to a normal windows application works fine. Sometimes I must to make a click outside the xterm window, otherwise your version does not copy the selection. Test6 has not this bug. - the copy/paste operation from _Konsole_ to a normal windows application does never work. - the copy from a normal windows application to a _terminal window_ (Konsole or xterm) works fine almost every time. (see below) - test6 does not clear the selection in Konsole, but it clears the selection in the xterm window. After the selection in Konsole, the selection is not cleared either in xterm nor in Konsole and test6 doesn't work any more. - the copy/paste operation from/to _a terminal window_ (Konsole or xterm) from/to _another terminal window_ (Konsole or xterm) works perfect every time. > From what I can tell (quick research) it uses CLIPBOARD and PRIMARY. Sorry, this I don't understand, what this sentence means. Can you explain it? Best Regards Jozsef Kercso From c_twiner@hotmail.com Wed Nov 20 09:43:00 2002 From: c_twiner@hotmail.com (Chris Twiner) Date: Wed, 20 Nov 2002 09:43:00 -0000 Subject: Xwinclip doesn't work with Konsole Message-ID: Thanks Jozsef, That's perfect information. >>From what I can tell (quick research) it uses CLIPBOARD and PRIMARY. >Sorry, this I don't understand, what this sentence means. >Can you explain it? I think so, the Konsole app doesn't seem to use the PRIMARY selection properly (i.e. in a standard way), that is why test6 doesn't automatically remove the selection from it. The primary selection is when you highlight something in xterm and then (whilst it is still highlighted) use the middle button to click in another xterm (or the same one, or another compliant x application). This is the standard way to perform cutting and pasting. This works properly with both versions of xwinclip for compliant applications. Just to check (I don't have kde available) this when you say copy/paste do you mean the edit menu copy and paste? Or do you mean highlight in Konsole and then use the middle button. (although at some stage in the next few months I may get another box for linux). regards, Chris _________________________________________________________________ MSN 8 helps eliminate e-mail viruses. Get 2 months FREE*. http://join.msn.com/?page=features/virus From jozsefke@freemail.hu Wed Nov 20 12:25:00 2002 From: jozsefke@freemail.hu (Kercso Jozsef) Date: Wed, 20 Nov 2002 12:25:00 -0000 Subject: Xwinclip doesn't work with Konsole Message-ID: <3DDB983D.5030306@freemail.hu> Hi! > 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. > Or do you mean highlight in Konsole and then use the middle button. Yes, this is what I meant. Best Regards Jozsef Kercso From c_twiner@hotmail.com Wed Nov 20 22:14:00 2002 From: c_twiner@hotmail.com (Chris Twiner) Date: Wed, 20 Nov 2002 22:14:00 -0000 Subject: Xwinclip doesn't work with Konsole Message-ID: 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 xwinclip have in it? does it show something like : no xa_primary owner or maybe XToWindows XA_PRIMARY convertselect() failed It would mean that there is some dodgy non-standard activity going on or that the format can't be converted. Chris _________________________________________________________________ Add photos to your e-mail with MSN 8. Get 2 months FREE*. http://join.msn.com/?page=features/featuredemail From peter.oliver@aquila-networks.co.uk Thu Nov 21 00:27:00 2002 From: peter.oliver@aquila-networks.co.uk (Oliver, Peter) Date: Thu, 21 Nov 2002 00:27:00 -0000 Subject: Xwinclip doesn't work with Konsole Message-ID: <6B0EDF5A1525D5119C000008C786454845D3A3@ntkfem02.meb.co.uk> > -----Original Message----- > From: Chris Twiner [SMTP:c_twiner@hotmail.com] > Sent: Wednesday, November 20, 2002 4:08 PM > To: cygwin-xfree@cygwin.com > Subject: Re: Xwinclip doesn't work with Konsole > > It would mean that there is some dodgy non-standard activity going on or > that the format can't be converted. > I don't know the details, but I've heard it said that some aspect of copy and paste is broken in Qt 2 when it comes to interoperating with clients using other widget sets, but is fixed in Qt 3. Maybe this is what you're up against? -- Peter Oliver Midrange Services Aquila Networks Services Ltd **************************************************************************************************** Confidentiality: This e-mail and any files transmitted with it are confidential and intended solely for the use of the individual or entity to whom they are addressed. If you have received this e-mail in error, use of this information (including disclosure, copying or distribution) may be unlawful. Please notify postmaster@aquila-networks.co.uk. and delete the message immediately. Security: Internet e-mail is not a 100% secure communications medium. Viruses: This e-mail (and any attachments) has been checked (using Sophos Sweep 3.63 + patches) and found to be clean from any virus infection before leaving. Therefore neither Aquila Networks Services Ltd nor Midlands Electricity plc or any of their group undertakings (as defined by the Companies Act 1989) (together referred to as the "Companies") accept legal responsibility for this message or liability for the consequences of any computer viruses which may have been transmitted by this e-mail. Monitoring: All electronic communications with the Companies may be monitored in accordance with the UK Regulation of Investigatory Powers Act, Lawful Business Practice Regulations, 2000. If you do not consent to such monitoring, you should contact the sender of this e-mail. Aquila Networks Services Limited, Registered office: Whittington Hall, Whittington, Worcester, WR5 2RB Registered in England and Wales number 3600545 This e-mail may be sent on behalf of any of the Companies. **************************************************************************************************** From Alexander.Gottwald@s1999.tu-chemnitz.de Thu Nov 21 04:10:00 2002 From: Alexander.Gottwald@s1999.tu-chemnitz.de (Alexander Gottwald) Date: Thu, 21 Nov 2002 04:10:00 -0000 Subject: Compile error with current CVS Message-ID: Hi, An update to the current XFree86 CVS revealed some compile problems. xc/programs/Xserver/hw/xfree86/common/xf86.h now includes xf86Pci.h which is found in xc/programs/Xserver/hw/xfree86/os-support/bus. The patch adds the path to the include list, but I'm not sure if this is the correct fix. Maybe Alan put some light to this topic. bye ago Index: programs/Xserver/xkb/Imakefile =================================================================== RCS file: /cvs/xc/programs/Xserver/xkb/Imakefile,v retrieving revision 3.19 diff -u -r3.19 Imakefile --- programs/Xserver/xkb/Imakefile 2002/11/20 04:49:02 3.19 +++ programs/Xserver/xkb/Imakefile 2002/11/20 20:19:18 @@ -26,7 +26,7 @@ XKB_DDXDEFS = XkbServerDefines #ifdef XFree86Version -XF86INCLUDES = -I$(XF86COMSRC) -I$(XF86OSSRC) +XF86INCLUDES = -I$(XF86COMSRC) -I$(XF86OSSRC) -I$(XF86OSSRC)/bus XF86_OBJS = xf86KillSrv.o xf86VT.o xf86Private.o #endif -- From pdb1@utah.edu Thu Nov 21 04:34:00 2002 From: pdb1@utah.edu (Philip Blood) Date: Thu, 21 Nov 2002 04:34:00 -0000 Subject: cygwin/xfree86 startup problem Message-ID: <002d01c29127$1eea0340$90fb6e80@phil> I had a problem exactly like the one below except I did install everything in C drive in the proper directories. The only thing I can thin is that I downloaded the cygwin setup.exe to a zip and ran it and downloaded the files to the zip. Then I copied setup.exe and all the cygwin files directly to c:/cyginstall. Then I ran setup.exe again, this time choosing to install from local directory to c:/cygwin. Then I copied the zipped xfree binaries from my zip to c:/cygwin/tmp. Then I installed cygwin/xfree86 exactly according to the users guide, but when I doubleclicked on startxwin.bat, I got the error it could not find cygwin1.dll even though I could see it sitting there in c:/cygwin/bin. There were also messages in the terminal about not being able to locate Xwin, Xterm, and twm. Editing the path to explicitly include c:\ does nothing in my case. I am also using Windows 98SE. Phil Blood > -----Original Message----- > From: cygwin-owner@cygwin.com [mailto:cygwin-owner@cygwin.com]On Behalf > Of Harold L Hunt > Sent: Friday, July 12, 2002 10:27 AM > To: willichnicht habichnet; cygwin-xfree@cygwin.com > Cc: cygwin@cygwin.com > Subject: Re: Bug in startxwin.bat after installing with setup.exe in > win98SE > > > First: Wrong mailing list. Send all Cygwin/XFree86 questions to > cygwin-xfree@cygwin.com. I have redirected this discussion to the correct > mailing list, but be careful to remove cygwin@cygwin.com from the ``cc'' if > you reply to this message. > > Second: Read the extensive comments in startxwin.bat that talk about > CYGWIN_ROOT. Not specifying a drive causes the path to reference \cygwin on > the current drive (such as c:\cygwin, or d:\cygwin). You have to run > startxwin.bat from the same drive that Cygwin is installed on, or it won't get > the correct drive letter. > > startxwin.bat has been using this path setting system for over a year (I > think) and not a *single* person has reported a problem with it until today. > You must be doing something on your system that other users thought better of > (such as running startxwin.bat from the d drive, or from a network drive, when > Cygwin is installed on the c drive). I have to disagree. Absence of complaints does not imply absence of errors. Many people become "used to" buggy software that only works if you don't deviate from the well-trodden path. That's no excuse to fail to fix a known problem. The comments you mention: REM REM The path in the CYGWIN_ROOT environment variable assignment assume REM that Cygwin is installed in a directory called 'cygwin' in the root REM directory of the current drive. You will only need to modify REM CYGWIN_ROOT if you have installed Cygwin in another directory. For REM example, if you installed Cygwin in \foo\bar\baz\cygwin, you will need REM to change \cygwin to \foo\bar\baz\cygwin. REM REM This batch file will almost always be run from the same drive (and REM directory) as the drive that contains Cygwin/XFree86, therefore you will REM not need to add a drive letter to CYGWIN_ROOT. For example, you do REM not need to change \cygwin to c:\cygwin if you are running this REM batch file from the C drive. REM don't explain what is wrong with adding a drive lettter, only that it "almost always" works because the drive letter already matches. You need the drive letter to make an absolute path. (By the way, "." is redundant in a Windows path anyway.) > > Harold > > > willichnicht habichnet said: > > > i installed cygwin/XFree86 with the recommended > > setup.exe in win98SE. > > starting X with startxwin.bat resulted in > > errormessages like "cygwin1.dll not found" etc. > > in startxwin.bat there was a line "SET > > CYGWIN_ROOT=\cygwin" which seemed to be incorrect > > because theres no drive given. > > after editing it to "SET CYGWIN_ROOT=c:\cygwin" > > (installation path) everything works fine. > > i installed it on a win2000 too without these problems > > but on an other win98-system same corrupted > > startxwin.bat was there. > > i have not tried an other installation directory or > > drive. > > this message is only for information; i need no other > > solution. > > > > Michael Heide > > > > From jozsefke@freemail.hu Thu Nov 21 06:00:00 2002 From: jozsefke@freemail.hu (Kercso Jozsef) Date: Thu, 21 Nov 2002 06:00:00 -0000 Subject: Xwinclip doesn't work with Konsole Message-ID: <3DDC98EA.20807@freemail.hu> Hi! I have to make some correction to my previous testcases. Now I see clearer what the situation is: 1. I copy something in a Windows application - paste in a Windows application works - paste in Konsole works 2. I select something in Konsole - in the clipboard viewer I see the _old_ selection(from 1.) - xwinclip says: SelectionNotify UTF8 - paste in Konsole(or xterm) works(paste the selection from Konsole) - paste in a Windows application doesn't work (paste the _old_ selection, that is: selection from 1.) 3. I copy something in a Windows application - in the clipboard viewer I see the _previous_ selection from Konsole!!! - xwinclip says: SelectionNotify UTF8 - paste in a Windows application works(selection from Konsole) - paste in Konsole works(selection from Konsole) 4. I copy something again in a Windows application - in the clipboard viewer I see the current selection - paste in a Windows application works(current selection) - paste in Konsole works(current selection) 5. With xterm everything is fine. So I think, that Konsole use the PRIMARY SELECTION, but I don't see what the problem is. I made some other tests too, but the results were too chaotish, I can't reproduce them every time. Best Regards Jozsef Kercso From c_twiner@hotmail.com Thu Nov 21 11:14:00 2002 From: c_twiner@hotmail.com (Chris Twiner) Date: Thu, 21 Nov 2002 11:14:00 -0000 Subject: Xwinclip doesn't work with Konsole Message-ID: 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 recognise that there is a primary selection. This seems related to the qt bug but I don't know quite how to proove it. Chris _________________________________________________________________ MSN 8 with e-mail virus protection service: 2 months FREE* http://join.msn.com/?page=features/virus From huntharo@msu.edu Thu Nov 21 11:25:00 2002 From: huntharo@msu.edu (Harold L Hunt II) Date: Thu, 21 Nov 2002 11:25:00 -0000 Subject: cygwin/xfree86 startup problem In-Reply-To: <002d01c29127$1eea0340$90fb6e80@phil> References: <002d01c29127$1eea0340$90fb6e80@phil> Message-ID: <3DDCD2E4.7060809@msu.edu> Philip, Your problem is that the User's Guide is out of date. Read the note on xfree86.cygwin.com about how to install. Harold Philip Blood wrote: >I had a problem exactly like the one below except I did install everything >in C drive in the proper directories. The only thing I can thin is that I >downloaded the cygwin setup.exe to a zip and ran it and downloaded the files >to the zip. Then I copied setup.exe and all the cygwin files directly to >c:/cyginstall. Then I ran setup.exe again, this time choosing to install >from local directory to c:/cygwin. Then I copied the zipped xfree binaries >from my zip to c:/cygwin/tmp. Then I installed cygwin/xfree86 exactly >according to the users guide, but when I doubleclicked on startxwin.bat, I >got the error it could not find cygwin1.dll even though I could see it >sitting there in c:/cygwin/bin. There were also messages in the terminal >about not being able to locate Xwin, Xterm, and twm. > >Editing the path to explicitly include c:\ does nothing in my case. I am >also using Windows 98SE. > >Phil Blood > > > >>-----Original Message----- >>From: cygwin-owner@cygwin.com [mailto:cygwin-owner@cygwin.com]On Behalf >>Of Harold L Hunt >>Sent: Friday, July 12, 2002 10:27 AM >>To: willichnicht habichnet; cygwin-xfree@cygwin.com >>Cc: cygwin@cygwin.com >>Subject: Re: Bug in startxwin.bat after installing with setup.exe in >>win98SE >> >> >>First: Wrong mailing list. Send all Cygwin/XFree86 questions to >>cygwin-xfree@cygwin.com. I have redirected this discussion to the correct >>mailing list, but be careful to remove cygwin@cygwin.com from the ``cc'' >> >> >if > > >>you reply to this message. >> >>Second: Read the extensive comments in startxwin.bat that talk about >>CYGWIN_ROOT. Not specifying a drive causes the path to reference \cygwin >> >> >on > > >>the current drive (such as c:\cygwin, or d:\cygwin). You have to run >>startxwin.bat from the same drive that Cygwin is installed on, or it won't >> >> >get > > >>the correct drive letter. >> >>startxwin.bat has been using this path setting system for over a year (I >>think) and not a *single* person has reported a problem with it until >> >> >today. > > >>You must be doing something on your system that other users thought better >> >> >of > > >>(such as running startxwin.bat from the d drive, or from a network drive, >> >> >when > > >>Cygwin is installed on the c drive). >> >> > >I have to disagree. Absence of complaints does not imply absence of errors. >Many people become "used to" buggy software that only works if you don't >deviate >from the well-trodden path. That's no excuse to fail to fix a known >problem. > >The comments you mention: >REM >REM The path in the CYGWIN_ROOT environment variable assignment assume >REM that Cygwin is installed in a directory called 'cygwin' in the root >REM directory of the current drive. You will only need to modify >REM CYGWIN_ROOT if you have installed Cygwin in another directory. For >REM example, if you installed Cygwin in \foo\bar\baz\cygwin, you will need >REM to change \cygwin to \foo\bar\baz\cygwin. >REM >REM This batch file will almost always be run from the same drive (and >REM directory) as the drive that contains Cygwin/XFree86, therefore you will >REM not need to add a drive letter to CYGWIN_ROOT. For example, you do >REM not need to change \cygwin to c:\cygwin if you are running this >REM batch file from the C drive. >REM >don't explain what is wrong with adding a drive lettter, only that >it "almost always" works because the drive letter already matches. > >You need the drive letter to make an absolute path. >(By the way, "." is redundant in a Windows path anyway.) > > > >>Harold >> >> >>willichnicht habichnet said: >> >> >> >>>i installed cygwin/XFree86 with the recommended >>>setup.exe in win98SE. >>>starting X with startxwin.bat resulted in >>>errormessages like "cygwin1.dll not found" etc. >>>in startxwin.bat there was a line "SET >>>CYGWIN_ROOT=\cygwin" which seemed to be incorrect >>>because theres no drive given. >>>after editing it to "SET CYGWIN_ROOT=c:\cygwin" >>>(installation path) everything works fine. >>>i installed it on a win2000 too without these problems >>>but on an other win98-system same corrupted >>>startxwin.bat was there. >>>i have not tried an other installation directory or >>>drive. >>>this message is only for information; i need no other >>>solution. >>> >>>Michael Heide >>> >>> >>> >>> > > > > From jozsefke@freemail.hu Thu Nov 21 11:41:00 2002 From: jozsefke@freemail.hu (Kercso Jozsef) Date: Thu, 21 Nov 2002 11:41:00 -0000 Subject: Xwinclip doesn't work with Konsole Message-ID: <3DDCE6C8.8010909@freemail.hu> Hi! > Can you give me the output of my xwinclip when you run these tests? Here it is: $ ./xwinclip.exe UnicodeSupport - Windows NT/2000/XP [[Prev mail Point 1. Second section("paste in Konsole works")]] FlushXEvents - CreateNotify parent: 54 window: 16777870 FlushXEvents - CreateNotify parent: 54 window: 23069034 [[Prev mail Point 2. Nothing happens!!]] [[Prev mail Point 3.]] SelectionNotify UTF8 [[Prev mail Point 4. Nothing happens.]] $ > I will post the built exe and the dll for my version as well, just to > remove compilation issues. Great! Best Regards Jozsef Kercso From c_twiner@hotmail.com Thu Nov 21 15:23:00 2002 From: c_twiner@hotmail.com (Chris Twiner) Date: Thu, 21 Nov 2002 15:23:00 -0000 Subject: Xwinclip doesn't work with Konsole Message-ID: 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 8. http://join.msn.com/?page=features/junkmail -------------- next part -------------- A non-text attachment was scrubbed... Name: xwinclip_hook.zip Type: application/x-zip-compressed Size: 26286 bytes Desc: not available URL: From andrew.markebo@telia.com Thu Nov 21 15:48:00 2002 From: andrew.markebo@telia.com (Andrew Markebo) Date: Thu, 21 Nov 2002 15:48:00 -0000 Subject: Xwinclip doesn't work with Konsole In-Reply-To: ("Chris Twiner"'s message of "Wed, 20 Nov 2002 13:48:25 +0000") References: Message-ID: / "Chris Twiner" wrote: | Thanks Jozsef, > | That's perfect information. > >>>From what I can tell (quick research) it uses CLIPBOARD and PRIMARY. >>Sorry, this I don't understand, what this sentence means. >>Can you explain it? > | I think so, the Konsole app doesn't seem to use the PRIMARY selection | properly (i.e. in a standard way), that is why test6 doesn't | automatically remove the selection from it. Hi! Sorry for private mail, but I am not sure I can mail to the list.. reading it from news. Just a quick thought.. as you say "it does not use the PRIMARY selection properly", does it use the primary selection at all? I mean, modern X and like the CDE on solaris has two clipboards, one is for CDE, and can be accessed by apps compiled to CDE through the menus edit->copy edit->paste, while the other, in xterms, emacs and so on uses the ancient select with mouse, and paste with middle button.. It is not like Konsole uses the alternative clipboard? Or you are supposed to use it.. Or maybe even you need to select the text, and do a edit->copy to get it to the clipboard? /Andy -- The eye of the beholder rests on the beauty! From c_twiner@hotmail.com Thu Nov 21 23:32:00 2002 From: c_twiner@hotmail.com (Chris Twiner) Date: Thu, 21 Nov 2002 23:32:00 -0000 Subject: Xwinclip doesn't work with Konsole Message-ID: >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 postings. >Just a quick thought.. as you say "it does not use the PRIMARY >selection properly", does it use the primary selection at all? According to the docs on it, yes. It's apparently a well known problem, if it is the problem that was suggested. >I mean, modern X and like the CDE on solaris has two clipboards, one >is for CDE, and can be accessed by apps compiled to CDE through the >menus edit->copy edit->paste, while the other, in xterms, emacs and so >on uses the ancient select with mouse, and paste with middle button.. Strictly speaking the acient select with mouse and paste option is the correct ICCM standard, that's why qt3 is moving to that way of operating. It's probable that it's current implementation is just using it's own wierd solution but the postings on google seem to indicate it uses both CLIPBOARD and PRIMARY so it may be it's just not using it properly. >It is not like Konsole uses the alternative clipboard? Or you are >supposed to use it.. Nope it's non standard. However that doesn't mean that xwinclip shouldn't be changed to work with it. >Or maybe even you need to select the text, and do a edit->copy to get >it to the clipboard? Could be, but I'd like to see what the latest output would be. Chris _________________________________________________________________ Tired of spam? Get advanced junk mail protection with MSN 8. http://join.msn.com/?page=features/junkmail From huntharo@msu.edu Fri Nov 22 01:06:00 2002 From: huntharo@msu.edu (Harold L Hunt II) Date: Fri, 22 Nov 2002 01:06:00 -0000 Subject: Xwinclip doesn't work with Konsole References: <3DDCE6C8.8010909@freemail.hu> Message-ID: <3DDD6AEF.5010704@msu.edu> Jozsef, I think I see the problem. The code that handles converting the text format (added by Kensuke Matsuzaki) *always* looks at the PRIMARY selection, whereas I have just done some testing that seems to indicate that Konsole is using the CLIPBOARD selection. Therefore, the converted text is blank. I am not sure why this was hard coded... it seems to be an accident. The code should be trying to convert the atom specified by event.xselection.selection instead. Download this version of xwinclip and let me know if it works: http://www.msu.edu/~huntharo/xwin/xwinclip/xwinclip-20021121-1800.exe.bz2 (5 KiB) The faster you respond, the more likely I am to finish up this patch, and the happier I will be. On a side note... I seem to have done something strange to this version of xwinclip. I have been playing around with various patches to try and stop from having to grab ownership of the selection and, well, I seem to have stumbled on an improvement, though I cannot explain it and I fear that it might turn out not to be an improvement. The behavior is as such: 1) Go into emacs under X, select some text. The text remains selected. 2) Go into Notepad, paste the text. The expected text is pasted. 3) Go back into emacs under X, select some new text. Again, the text remains selected. 4) Go back into Notepad, paste the text. Again, the expected text is pasted. The behavior of xwinclip has been such that second selections would not work if the PRIMARY selection was not re-owned. I seem to have done something that is stopping the PRIMARY selection from being reowned while still allowing notification of selection updates. I checked my code and I am not watching XA_CUT_BUFFER0, so I have no idea what is going on. 5) Konsole still unselects the selected text immediately. 6) Strange. I am still calling XSetSelectionOwner on event.xselection.selection... so I should be re-owning the PRIMARY or CLIPBOARD selection... maybe I will just leave this alone so that I can enjoy my delusion of having fixed the main problem with xwinclip. Anyway, someone tell me if it works for them, please, please, please. Harold Kercso Jozsef wrote: > Hi! > > > Can you give me the output of my xwinclip when you run these tests? > Here it is: > $ ./xwinclip.exe > UnicodeSupport - Windows NT/2000/XP > [[Prev mail Point 1. Second section("paste in Konsole works")]] > FlushXEvents - CreateNotify parent: 54 window: 16777870 > FlushXEvents - CreateNotify parent: 54 window: 23069034 > [[Prev mail Point 2. Nothing happens!!]] > [[Prev mail Point 3.]] > SelectionNotify UTF8 > [[Prev mail Point 4. Nothing happens.]] > $ > > > I will post the built exe and the dll for my version as well, just to > > remove compilation issues. > Great! > > Best Regards > Jozsef Kercso > From huntharo@msu.edu Fri Nov 22 02:48:00 2002 From: huntharo@msu.edu (Harold L Hunt II) Date: Fri, 22 Nov 2002 02:48:00 -0000 Subject: Xwinclip doesn't work with Konsole References: <3DDCE6C8.8010909@freemail.hu> <3DDD6AEF.5010704@msu.edu> Message-ID: <3DDD70DE.8040605@msu.edu> Hmm... xwinclip-Test06 actually works the exact same way with Emacs... I am pretty sure this is just because Emacs 21 finally fixed the way that the selections were handled. So, I think we can now safely say that if someone has an application that unhighlights the selection when xwinclip is running: fix the *?$%ing application!!! :) As far as Konsole is concerned, take a look at the xwinclip snapshot that I just posted... it has diagnostic messages that print the atom name that was just re-owned. Konsole owns both the CLIPBOARD and the PRIMARY atoms, and it turns out that not reowning the PRIMARY atom and only reowning the CLIPBOARD atom keeps the text highlighted in Konsole. Arrgh... I am just confused now. Is the unhighlighting of selections our problem anymore? I am starting to think that it is not. Harold Harold L Hunt II wrote: > Jozsef, > > I think I see the problem. The code that handles converting the text > format (added by Kensuke Matsuzaki) *always* looks at the PRIMARY > selection, whereas I have just done some testing that seems to indicate > that Konsole is using the CLIPBOARD selection. Therefore, the converted > text is blank. I am not sure why this was hard coded... it seems to be > an accident. The code should be trying to convert the atom specified by > event.xselection.selection instead. > > Download this version of xwinclip and let me know if it works: > http://www.msu.edu/~huntharo/xwin/xwinclip/xwinclip-20021121-1800.exe.bz2 > (5 KiB) > > The faster you respond, the more likely I am to finish up this patch, > and the happier I will be. > > > On a side note... I seem to have done something strange to this version > of xwinclip. I have been playing around with various patches to try and > stop from having to grab ownership of the selection and, well, I seem to > have stumbled on an improvement, though I cannot explain it and I fear > that it might turn out not to be an improvement. The behavior is as such: > > 1) Go into emacs under X, select some text. The text remains selected. > > 2) Go into Notepad, paste the text. The expected text is pasted. > > 3) Go back into emacs under X, select some new text. Again, the text > remains selected. > > 4) Go back into Notepad, paste the text. Again, the expected text is > pasted. The behavior of xwinclip has been such that second selections > would not work if the PRIMARY selection was not re-owned. I seem to > have done something that is stopping the PRIMARY selection from being > reowned while still allowing notification of selection updates. I > checked my code and I am not watching XA_CUT_BUFFER0, so I have no idea > what is going on. > > 5) Konsole still unselects the selected text immediately. > > 6) Strange. > > I am still calling XSetSelectionOwner on event.xselection.selection... > so I should be re-owning the PRIMARY or CLIPBOARD selection... maybe I > will just leave this alone so that I can enjoy my delusion of having > fixed the main problem with xwinclip. > > Anyway, someone tell me if it works for them, please, please, please. > > > Harold > > Kercso Jozsef wrote: > >> Hi! >> >> > Can you give me the output of my xwinclip when you run these tests? >> Here it is: >> $ ./xwinclip.exe >> UnicodeSupport - Windows NT/2000/XP >> [[Prev mail Point 1. Second section("paste in Konsole works")]] >> FlushXEvents - CreateNotify parent: 54 window: 16777870 >> FlushXEvents - CreateNotify parent: 54 window: 23069034 >> [[Prev mail Point 2. Nothing happens!!]] >> [[Prev mail Point 3.]] >> SelectionNotify UTF8 >> [[Prev mail Point 4. Nothing happens.]] >> $ >> >> > I will post the built exe and the dll for my version as well, just to >> > remove compilation issues. >> Great! >> >> Best Regards >> Jozsef Kercso >> > From promolinux@linuxhelpdesk.com.ar Fri Nov 22 03:09:00 2002 From: promolinux@linuxhelpdesk.com.ar (promolinux@linuxhelpdesk.com.ar) Date: Fri, 22 Nov 2002 03:09:00 -0000 Subject: Redhat 8.0 Full en su domicilio Message-ID: <200211220732.gAM7WiU11475@pampita.horizonteit.com.ar> REDHAT LINUX 8.0 FINAL. Los 3 primeros CD sistema completo para usuario final $15. Los 5 cds (instalacion y fuentes) sistema completo para desarrrolladores $25. Instalado en su PC por personal altamente capacitado en Linux $ 75. (incluye CDs de instalaci??n) Haga su pedido a cds@linuxhelpdesk.com.ar Consulte por instalaciones en empresas, Servidores Web/PHP/Firewall. Reemplace sus actuales instalaciones en Windows. Damos soporte completo en migraciones a Linux. El producto se entrega en cd gen??rico, sin caja. Manuales incluidos en los CD. Incluye OpenOffice 1.01 , Gnome 2.0 y KDE 3. Vea las principales caracter??sticas en http://www.redhat.com/software/linux/features/ Ahora puede obtener el escritorio mas estable del planeta absolutamente en regla y con licencia. Si tiene dudas acerca de la licencia consulte los acuerdos de licencia en www.redhat.com. Si busca otras versiones de Linux consultenos enviando un mail a cds@linuxhelpdesk.com.ar Envio a Cap.Fed. $ 4. Gran Buenos Aires $ 4,5. Resto del Pais Consultar pago previo deposito bancario o pago contra reembolso. From kercso.jozsef@evosoft.hu Fri Nov 22 03:12:00 2002 From: kercso.jozsef@evosoft.hu (Kercso Jozsef) Date: Fri, 22 Nov 2002 03:12:00 -0000 Subject: Xwinclip doesn't work with Konsole Message-ID: <3DDDF379.5000102@evosoft.hu> Hi Harold! No, it doesn't work correctly. The output is: UnicodeSupport - Windows NT/2000/XP ## Select something in Konsole SelectionNotify CompoundText (the selection remains selected) ## Click somewhere in X SelectionNotify CompoundText SelectionNotify UTF8 ## Click somewhere in X SelectionNotify UTF8 SelectionNotify - Reasserted ownership of ATOM: PRIMARY SelectionNotify - Reasserted ownership of ATOM: CLIPBOARD Now the paste in a Windows application works. If I do not follow the procedure described, the paste operation in a Windows application doesn't work. The reversed procedure(copy from Windows to X) has a chaotic behaviour. I can't reproduce it every time. Sometimes works, sometimes not. > Download this version of xwinclip and let me know if it works: > http://www.msu.edu/~huntharo/xwin/xwinclip/xwinclip-20021121-1800.exe.bz2 (5 KiB) > The faster you respond, the more likely I am to finish up this patch, and > the happier I will be. Best Regards Jozsef Kercso From hendrik.mueller@dokom.net Fri Nov 22 03:47:00 2002 From: hendrik.mueller@dokom.net (Hendrik Mueller) Date: Fri, 22 Nov 2002 03:47:00 -0000 Subject: cygwin an windows 311 Message-ID: good morning! incidently I stumbled in your offer for a free x-windows-server for ms-windows programs. The 'setup.exe' program I downloaded from your site does not seem to be willing to work in a win311 environment. I'm trying to find a working x-server that is working with win311 because my (lt's call it) older notebook in not willing to carry the load of a win95 distribution or higher. Is there a way to install cygwin working with win311 or do you know any other kind of x-server for free working in thus an old environment? Thanky for your answer, Hendrik M??ller From jozsefke@freemail.hu Fri Nov 22 03:47:00 2002 From: jozsefke@freemail.hu (Kercso Jozsef) Date: Fri, 22 Nov 2002 03:47:00 -0000 Subject: Xwinclip doesn't work with Konsole Message-ID: <3DDE0B26.20103@freemail.hu> 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 unpredictable. (see log2) Best Regards Jozsef Kercso -------------- next part -------------- A non-text attachment was scrubbed... Name: log1.zip Type: application/octet-stream Size: 729 bytes Desc: not available URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: log2.zip Type: application/octet-stream Size: 1001 bytes Desc: not available URL: From wilper-8@ludd.luth.se Fri Nov 22 04:01:00 2002 From: wilper-8@ludd.luth.se (Wilhelm Person) Date: Fri, 22 Nov 2002 04:01:00 -0000 Subject: cygwin an windows 311 In-Reply-To: Message-ID: I assume that Linux/BSD is out of the question... /W On Fri, 22 Nov 2002, Hendrik Mueller wrote: > good morning! > incidently I stumbled in your offer for a free x-windows-server for > ms-windows programs. The 'setup.exe' program I downloaded from your site does > not seem to be willing to work in a win311 environment. I'm trying to find a > working x-server that is working with win311 because my (lt's call it) older > notebook in not willing to carry the load of a win95 distribution or higher. > Is there a way to install cygwin working with win311 or do you know any other > kind of x-server for free working in thus an old environment? > Thanky for your answer, > Hendrik M??ller > +-------------------------------+ | Home: http://wilper.cjb.net | | E-mail: wilper@home.se | +-------------------------------+ From c_twiner@hotmail.com Fri Nov 22 04:37:00 2002 From: c_twiner@hotmail.com (Chris Twiner) Date: Fri, 22 Nov 2002 04:37:00 -0000 Subject: Xwinclip doesn't work with Konsole Message-ID: >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 unpredictable. (see log2) Thanks Jozsef, The output looks as I'd expect for Harolds reasoning. I've put in his changes for selecting the CLIPBOARD (an issue with me for a while) output but I haven't made the thing work yet. It recognises an owner and calls xconvertselection, then the flushxevents function is called but the XNextEvent doesn't show a new message. Bizarre. I'll keep trying to get clipboard working properly maybe that will be enough. chris PS (the "wierd" behaviour with pasting back the windows clipboard is because it won't claim ownership unless a windows application has changed the clipboard since the last primary selection. This is in my code only. It makes logical sense but it doesn't work the way the old one did, as far as possible it leaves XWin to do it's thing, only claiming the primary selection once the clipboard has been changed). _________________________________________________________________ Tired of spam? Get advanced junk mail protection with MSN 8. http://join.msn.com/?page=features/junkmail From Dr.Volker.Zell@oracle.com Fri Nov 22 05:03:00 2002 From: Dr.Volker.Zell@oracle.com (Dr. Volker Zell) Date: Fri, 22 Nov 2002 05:03:00 -0000 Subject: Xwinclip doesn't work with Konsole In-Reply-To: <3DDD70DE.8040605@msu.edu> (Harold L Hunt II's message of "Thu, 21 Nov 2002 18:48:46 -0500") References: <3DDCE6C8.8010909@freemail.hu> <3DDD6AEF.5010704@msu.edu> <3DDD70DE.8040605@msu.edu> Message-ID: <87isypomjb.fsf@vzell-de.de.oracle.com> >>>>> "Harold" == Harold L Hunt, writes: Harold> Hmm... Harold> xwinclip-Test06 actually works the exact same way with Emacs... I am Harold> pretty sure this is just because Emacs 21 finally fixed the way that Harold> the selections were handled. So, I think we can now safely say that Harold> if someone has an application that unhighlights the selection when Harold> xwinclip is running: fix the *?$%ing application!!! :) I know of 2 applications which unhighlight the selection. Xemacs and Nedit. I just tested them with your xwinclip-20021121-1800.exe. But I got a patched version of xwinclip from Chris Twiner once which works perfect even with Xemacs and Nedit. There must be an e-mail about this in the archive. Ciao Volker From c_twiner@hotmail.com Fri Nov 22 10:56:00 2002 From: c_twiner@hotmail.com (Chris Twiner) Date: Fri, 22 Nov 2002 10:56:00 -0000 Subject: Xwinclip doesn't work with Konsole Message-ID: >Hmm... Indeed, the clipboard thing has been irritating me for a while, can't believe i didn't spot it. Either way I can't get the thing to work yet. When I call XConvertSelection on CLIPBOARD it says there is a message (from select) but then XNextEvent doesn't process any message, very wierd. Primary still works fine. >xwinclip-Test06 actually works the exact same way with Emacs... I am > >pretty sure this is just because Emacs 21 finally fixed the way that >the >selections were handled. So, I think we can now safely say that if >someone >has an application that unhighlights the selection when >xwinclip is >running: fix the *?$%ing application!!! :) I'd have to disagree in a big way. xterm, dtterm, nedit, netscape , and countless other X applictions that behave in the right way won't because xwinclip breaks the standard by reclaiming ownership. I've tested your release with at least the above and it causes functionality issues with anything that uses the selection. The next qt format will follow motif i.e. select is primary, ctrl+c (or alt+c etc) copies the highlighted text into the clipboard. This is a very standard way of doing things, and more importantly it works properly. "Fixing" them to leave the selection up breaks the normal visual feedback you get with all standard X apps, not good at all. > Arrgh... I am just confused now. Is the unhighlighting of >selections >our problem anymore? I am starting to think that it is not. It is our problem (well anyone who wants to use xwinclip) and it should be fixed. The hook dll doesn't need to be used as XWin can notify the app itself (if you have it inbuilt into xwin then multiple instances of xwin won't work properly together (although I'm not sure they do anyway), i'm talking about running xwin more than once not a screen option). I can remove the hook by patching xwin to send out WM_ACTIVATE message's to a single xwinclip instance (this of course can be run from within XWin anyway). But I think that's not what you want either. Chris _________________________________________________________________ STOP MORE SPAM with the new MSN 8 and get 2 months FREE* http://join.msn.com/?page=features/junkmail From alexander.gottwald@s1999.tu-chemnitz.de Fri Nov 22 11:03:00 2002 From: alexander.gottwald@s1999.tu-chemnitz.de (Alexander Gottwald) Date: Fri, 22 Nov 2002 11:03:00 -0000 Subject: cygwin an windows 311 In-Reply-To: Message-ID: On Fri, 22 Nov 2002, Hendrik Mueller wrote: > good morning! > incidently I stumbled in your offer for a free x-windows-server for > ms-windows programs. The 'setup.exe' program I downloaded from your site does > not seem to be willing to work in a win311 environment. I'm trying to find a > working x-server that is working with win311 because my (lt's call it) older > notebook in not willing to carry the load of a win95 distribution or higher. > Is there a way to install cygwin working with win311 or do you know any other > kind of x-server for free working in thus an old environment? cygwin is not supported on win 3.11. This means that the Cygwin/XFree will not work either. bye ago -- Alexander.Gottwald@informatik.tu-chemnitz.de http://www.gotti.org ICQ: 126018723 From johnny@hwr.arizona.edu Fri Nov 22 11:05:00 2002 From: johnny@hwr.arizona.edu (John Burkhart) Date: Fri, 22 Nov 2002 11:05:00 -0000 Subject: SSH & XFree86 In-Reply-To: <3DDE7CAB.3080208@msu.edu> Message-ID: To whomever may have the knowledge (aka HH?), I am using XFree86 running on a win98 machine to access a remote Unix system. My machine is behind a router, therefore when i run ssh with the parameters : ssh -X -l username hostname I get the follwing error: Warning: No xauth data; using fake authentication data for X11 forwarding. Subsequently the remote machine gives me a "can't open display" error whenever I try to run anything like xmgr or even and xterm on the remote machine. Do I need to use port forwarding? If so, how do I do this? The router has a public IP address, but the IP on my computer is invisible to the WAN as far as I can tell. Thank you, john From Vince.Hoffman@uk.circle.com Fri Nov 22 11:05:00 2002 From: Vince.Hoffman@uk.circle.com (Vince Hoffman) Date: Fri, 22 Nov 2002 11:05:00 -0000 Subject: cygwin an windows 311 Message-ID: <3500515B75D9D311948800508BA3795595096A@EX-LONDON> Its possible that you could get this to work, http://www.jcraft.com/wiredx/ maybe.. if windows 3.11 java is up to the job. I'd be supprised though. > -----Original Message----- > From: Hendrik Mueller [mailto:hendrik.mueller@dokom.net] > Sent: 22 November 2002 10:49 > To: cygwin-xfree@cygwin.com > Subject: cygwin an windows 311 > > > good morning! > incidently I stumbled in your offer for a free x-windows-server for > ms-windows programs. The 'setup.exe' program I downloaded > from your site does > not seem to be willing to work in a win311 environment. I'm > trying to find a > working x-server that is working with win311 because my (lt's > call it) older > notebook in not willing to carry the load of a win95 > distribution or higher. > Is there a way to install cygwin working with win311 or do > you know any other > kind of x-server for free working in thus an old environment? > Thanky for your answer, > Hendrik M?ller > From andrew.markebo@telia.com Fri Nov 22 11:34:00 2002 From: andrew.markebo@telia.com (Andrew Markebo) Date: Fri, 22 Nov 2002 11:34:00 -0000 Subject: SSH & XFree86 In-Reply-To: (John Burkhart's message of "Fri, 22 Nov 2002 11:56:49 -0700 (MST)") References: <3DDE7CAB.3080208@msu.edu> Message-ID: What is the variable DISPLAY set to on the unix-machines?? What is the variable DISPLAY set to in the terminal you do the ssh -X command from? /Andy / John Burkhart wrote: | To whomever may have the knowledge (aka HH?), > | I am using XFree86 running on a win98 machine to access a remote Unix | system. My machine is behind a router, therefore when i run ssh with the | parameters : ssh -X -l username hostname | I get the follwing error: | Warning: No xauth data; using fake authentication data for X11 forwarding. > | Subsequently the remote machine gives me a "can't open display" error | whenever I try to run anything like xmgr or even and xterm on the remote | machine. Do I need to use port forwarding? If so, how do I do this? The | router has a public IP address, but the IP on my computer is invisible to | the WAN as far as I can tell. > | Thank you, john > > > -- The eye of the beholder rests on the beauty! From jc.gervais@videotron.ca Fri Nov 22 18:22:00 2002 From: jc.gervais@videotron.ca (Jean-Claude Gervais) Date: Fri, 22 Nov 2002 18:22:00 -0000 Subject: SSH & XFree86 In-Reply-To: Message-ID: <007601c2925a$0447c700$6501a8c0@sprymusic.com> Hi John, I use SSH the same way that you do, and although I can't be sure to solve your problem, here are a couple recommendations; Use the -C parameter with SSH so that it will compress your data, this will speed your sessions. Make sure your DISPLAY environment variable is set to 127.0.0.1:0.0 in your local shell before issuing your connection request, because if it is not, you won't be able to receive the X stream back along the SSH conduit. Other than that, I can't think of anything... -----Original Message----- From: cygwin-xfree-owner@cygwin.com [mailto:cygwin-xfree-owner@cygwin.com]On Behalf Of John Burkhart Sent: Friday, November 22, 2002 1:57 PM To: cygwin-xfree@cygwin.com Subject: SSH & XFree86 To whomever may have the knowledge (aka HH?), I am using XFree86 running on a win98 machine to access a remote Unix system. My machine is behind a router, therefore when i run ssh with the parameters : ssh -X -l username hostname I get the follwing error: Warning: No xauth data; using fake authentication data for X11 forwarding. Subsequently the remote machine gives me a "can't open display" error whenever I try to run anything like xmgr or even and xterm on the remote machine. Do I need to use port forwarding? If so, how do I do this? The router has a public IP address, but the IP on my computer is invisible to the WAN as far as I can tell. Thank you, john From huntharo@msu.edu Sat Nov 23 06:54:00 2002 From: huntharo@msu.edu (Harold L Hunt II) Date: Sat, 23 Nov 2002 06:54:00 -0000 Subject: Xwinclip doesn't work with Konsole In-Reply-To: References: Message-ID: <3DDE7FF8.5020507@msu.edu> Chris, > I'd have to disagree in a big way. xterm, dtterm, nedit, netscape , > and countless other X applictions that behave in the right way won't > because xwinclip breaks the standard by reclaiming ownership. I've > tested your release with at least the above and it causes > functionality issues with anything that uses the selection. Run these same applications with xclipboard and see if the behavior is similar. If it is, then I say it is simply a problem with the way that the X clipboard system is designed and we leave it at that. 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. We are not doing a very good job of figuring out how the commercial X applications out there handle clipboard integration. They *never* grab the primary selection and they always have the most recently selected text from either clipboard. Maybe they are doing this through polling, which we are trying to avoid, but I am not even sure how polling would solve the problem (unless you poll for the selection, compare it to the old data, and act accordingly, which would put a huge demand on network bandwidth...). > It is our problem (well anyone who wants to use xwinclip) and it > should be fixed. The hook dll doesn't need to be used as XWin can > notify the app itself (if you have it inbuilt into xwin then multiple > instances of xwin won't work properly together (although I'm not sure > they do anyway), i'm talking about running xwin more than once not a > screen option). Oh please. Integrating the clipboard support into the XWin.exe executable is not going to forbid it from working with multiple screens run by one executable, nor is it going to forbid multiple instances of XWin.exe. You might have to program a little more carefully, but there is nothing about having the functionality present in XWin.exe that prevents anything from working correctly. You have mentioned before that X-Win32 is using an Xt-app for their clipboard support... but I have never noticed such an app. I have always been under the impression that the cipbard support is integrated into X-Win32's executable. In any case, we are unlikely to be able to use Xt because we have to interleave handling of Win32 message with X events... trying to do that with Xt may be difficult if not impossible. There is nothing to say that we cannot handle the selections exactly as Xt does, and doing so does not mean that we actually have to use Xt. Shoot... we have the source code to Xt, so it isn't like something is stopping us from understanding what Xt is doing. > I can remove the hook by patching xwin to send out WM_ACTIVATE > message's to a single xwinclip instance (this of course can be run > from within XWin anyway). But I think that's not what you want either. I just want a solution that works identically to the dozen or so commerical implementations that have conquered this very problem. I won't be satisfied until we have clipboard support that rivals the commercial X Servers for MS Windows. Harold From huntharo@msu.edu Sat Nov 23 17:37:00 2002 From: huntharo@msu.edu (Harold L Hunt II) Date: Sat, 23 Nov 2002 17:37:00 -0000 Subject: SSH & XFree86 In-Reply-To: References: Message-ID: <3DDE86B8.4080007@msu.edu> John, The Cygwin/XFree86 User's Guide explains a procedure that works for using SSH with X11 forwarding: http://xfree86.cygwin.com/docs/ug/using-remote-apps.html#using-remote-apps-ssh I wrote up some notes on why SSH fails for various reasons and how to avoid those failures: http://cygwin.com/ml/cygwin-xfree/2002-10/msg00065.html Your particular failure seems to be that the DISPLAY variable is not defined when you run the ``ssh'' command. I suspect that you are launching Cygwin/XFree86, but instead of running ssh from your xterm you are running ssh from another Cygwin bash shell that does not have DISPLAY defined. Try running ssh from the xterm in Cygwin/XFree86 and I bet it will work. Harold John Burkhart wrote: >To whomever may have the knowledge (aka HH?), > >I am using XFree86 running on a win98 machine to access a remote Unix >system. My machine is behind a router, therefore when i run ssh with the >parameters : ssh -X -l username hostname >I get the follwing error: >Warning: No xauth data; using fake authentication data for X11 forwarding. > >Subsequently the remote machine gives me a "can't open display" error >whenever I try to run anything like xmgr or even and xterm on the remote >machine. Do I need to use port forwarding? If so, how do I do this? The >router has a public IP address, but the IP on my computer is invisible to >the WAN as far as I can tell. > >Thank you, john > > > > From RPellowski@aol.com Sat Nov 23 17:38:00 2002 From: RPellowski@aol.com (RPellowski@aol.com) Date: Sat, 23 Nov 2002 17:38:00 -0000 Subject: SSH & XFree86 Message-ID: <115.1aff4ae5.2b10405a@aol.com> The latest ssh (3.5p1-2) has problems. It breaks connections with "bad packet length", reporting a large positive or negative number. The previous version (3.5p1-1) does not do this. Rob Pellowski From Benjamin.Riefenstahl@epost.de Sun Nov 24 08:09:00 2002 From: Benjamin.Riefenstahl@epost.de (Benjamin Riefenstahl) Date: Sun, 24 Nov 2002 08:09:00 -0000 Subject: Xwinclip doesn't work with Konsole In-Reply-To: <3DDE7FF8.5020507@msu.edu> References: <3DDE7FF8.5020507@msu.edu> Message-ID: Hi Harold, Harold L Hunt II writes: > I just want a solution that works identically to the dozen or so > commerical implementations that have conquered this very problem. I > won't be satisfied until we have clipboard support that rivals the > commercial X Servers for MS Windows. I couldn't help smiling here. I am already using xwinclip with a commercial server (an older version though, eXceed 6.2) because I wasn't satisfied with the functionality that the server gave me. Your work is appreciated ;-) so long, benny From huntharo@msu.edu Sun Nov 24 11:03:00 2002 From: huntharo@msu.edu (Harold L Hunt II) Date: Sun, 24 Nov 2002 11:03:00 -0000 Subject: SSH & XFree86 In-Reply-To: <115.1aff4ae5.2b10405a@aol.com> References: <115.1aff4ae5.2b10405a@aol.com> Message-ID: <3DE02D65.30406@msu.edu> I had John ssh into a machine of mine as a test... he was able to launch X Clients without any problems. Looks like it is just a problem with his server. He is going to work with his admin to figure out what is going on. Harold RPellowski@aol.com wrote: >The latest ssh (3.5p1-2) has problems. >It breaks connections with "bad packet length", >reporting a large positive or negative number. >The previous version (3.5p1-1) does not do this. > >Rob Pellowski > > From huntharo@msu.edu Sun Nov 24 11:40:00 2002 From: huntharo@msu.edu (Harold L Hunt II) Date: Sun, 24 Nov 2002 11:40:00 -0000 Subject: Xwinclip doesn't work with Konsole In-Reply-To: References: <3DDE7FF8.5020507@msu.edu> Message-ID: <3DE02DA8.2030501@msu.edu> Benny, Heh heh... that's pretty odd. I never would have thought that people would prefer xwinclip functionality over their commerical X Server's clipboard integration. I never even realized that xwinclip could be used with a commercial X Server :) Harold Benjamin Riefenstahl wrote: >Hi Harold, > >Harold L Hunt II writes: > > >>I just want a solution that works identically to the dozen or so >>commerical implementations that have conquered this very problem. I >>won't be satisfied until we have clipboard support that rivals the >>commercial X Servers for MS Windows. >> >> > >I couldn't help smiling here. I am already using xwinclip with a >commercial server (an older version though, eXceed 6.2) because I >wasn't satisfied with the functionality that the server gave me. Your >work is appreciated ;-) > >so long, benny > > > From zakki@peppermint.jp Sun Nov 24 12:14:00 2002 From: zakki@peppermint.jp (Kensuke Matsuzaki) Date: Sun, 24 Nov 2002 12:14:00 -0000 Subject: Rootless mode Message-ID: <002b01c293d3$d73da880$0101a8c0@lin> Hello, I am writing code for rootless mode. It creates Windows window for each X Window. I add "-multiwindow" option. With this I can use taskbar, move and resize window. But this sometimes does strange behaivor, and code is not clean. It seems to be difficult for me to write complete rootless mode, so those who are interested, please help. Kensuke Matsuzaki -------------- next part -------------- A non-text attachment was scrubbed... Name: rootless.tar.bz2 Type: application/octet-stream Size: 12534 bytes Desc: not available URL: From huntharo@msu.edu Sun Nov 24 14:08:00 2002 From: huntharo@msu.edu (Harold L Hunt II) Date: Sun, 24 Nov 2002 14:08:00 -0000 Subject: Rootless mode In-Reply-To: <002b01c293d3$d73da880$0101a8c0@lin> References: <002b01c293d3$d73da880$0101a8c0@lin> Message-ID: <3DE12288.9010806@msu.edu> Kensuke, Wow, you have been busy. Could you run Cygwin's ``d2u'' on winwindow.h to convert the DOS end-of-line characters to UNIX end-of-line characters and run the patch again? Just a quick question: does the window manager have to be started seperately from XWin.exe, or does XWin.exe take care of launching the window manager when you specify -multiwindow ? Thanks for your hard work, Harold Kensuke Matsuzaki wrote: >Hello, > >I am writing code for rootless mode. It creates Windows window for each >X Window. I add "-multiwindow" option. With this I can use taskbar, move >and resize window. > >But this sometimes does strange behaivor, and code is not clean. > >It seems to be difficult for me to write complete rootless mode, >so those who are interested, please help. > >Kensuke Matsuzaki > > > From zakki@peppermint.jp Sun Nov 24 14:11:00 2002 From: zakki@peppermint.jp (zakki@peppermint.jp) Date: Sun, 24 Nov 2002 14:11:00 -0000 Subject: Rootless mode In-Reply-To: <3DE12288.9010806@msu.edu> References: <002b01c293d3$d73da880$0101a8c0@lin> <3DE12288.9010806@msu.edu> Message-ID: Harold, Sorry, I forgot to think about end-of-line character. > Just a quick question: does the window manager have to be started > seperately from XWin.exe, or does XWin.exe take care of launching the > nwindow manager when you specify -multiwindow ? It need to be started separately. So $XWin -multiwindow& $mwwm > /dev/null& Kensuke -------------- next part -------------- A non-text attachment was scrubbed... Name: rootless.patch.bz2 Type: application/octet-stream Size: 8641 bytes Desc: not available URL: From kwong@control.toronto.edu Mon Nov 25 01:41:00 2002 From: kwong@control.toronto.edu (Raymond Kwong) Date: Mon, 25 Nov 2002 01:41:00 -0000 Subject: SSH & XFree86 Message-ID: <20021124150941.A18548@thor.control.toronto.edu> I have several setups of cygwin and XFree86. With the latest Cygwin 1.3.16-1, ssh 3.5p1-2 (or ssh 3.5p1-1), and XWin 4.2.0-16 (or 4.2.0-15), I am getting the same warning message as John: Warning: No xauth data; using fake authentication data for X11 forwarding. However, my X clients do work fine, and I haven't found any other problem. With Cygwin 1.3.15-2, ssh 3.5p1-1, and XWin 4.2.0-16, however, there is no such warning message. This seems to suggest there is some problem involving something other than just ssh and XFree86 which generates the warning message. When I ran ssh -v, I get with Cygwin 1.3.15-2, ssh 3.5p1-1, XWin 4.2.0-16, the following as part of the startup message debug1: Entering interactive session. debug1: ssh_session2_setup: id 0 debug1: channel request 0: pty-req debug1: Requesting X11 forwarding with authentication spoofing. debug1: channel request 0: x11-req debug1: channel request 0: shell debug1: fd 4 setting TCP_NODELAY With Cygwin 1.3.16-1, ssh 3.5p1-2, XWin 4.2.0-16, the additional warning message appears just before the debug1: Requesting X11 forwarding with authentication spoofing message. I hope this may help in identifying the source of the warning message. Raymond Kwong From philippe.bastiani@wanadoo.fr Mon Nov 25 06:12:00 2002 From: philippe.bastiani@wanadoo.fr (Philippe Bastiani) Date: Mon, 25 Nov 2002 06:12:00 -0000 Subject: About Lesstif Message-ID: Hi, Two weeks ago, I posted a message about Lesstif... I updated again Cygwin... see below: XFree86-xserv 4.2.0-15 cygrunsrv 0.95-1 cygutils 1.1.3-1 cygwin 1.3.15-2 cygwin-doc 1.2-1 gcc 3.2-3 lesstif 0.93.18-3 Now, most small applications (after rebuilding) seem work... For VXE (a small editor), I obtain a core dump :( Exception: STATUS_ACCESS_VIOLATION at eip=00483293 eax=00000000 ebx=00000000 ecx=610C8FAC edx=0022F784 esi=00000001 edi=0022F7F8 ebp=00220000 esp=0022F760 program=C:\cygwin\Install\Lesstif\xwol-1.0\vxe-3.1\vxe.exe cs=001B ds=0023 es=0023 fs=0038 gs=0000 ss=0023 Stack trace: Frame Function Args 4 [main] vxe 960 handle_exceptions: Error while dumping state (probably corrupted stack) As I said to Alexander Mai, I think that we have a hidden stack problem... Is anybody made tests ? a+ -- Philippe Bastiani From huntharo@msu.edu Mon Nov 25 06:59:00 2002 From: huntharo@msu.edu (Harold L Hunt II) Date: Mon, 25 Nov 2002 06:59:00 -0000 Subject: About Lesstif In-Reply-To: References: Message-ID: <3DE14E84.7010301@msu.edu> Philippe, Sorry, I have not made any tests. I think you're going to have to explore this one more on your own. No one seems interested :( Harold Philippe Bastiani wrote: >Hi, > >Two weeks ago, I posted a message about Lesstif... > >I updated again Cygwin... see below: > >XFree86-xserv 4.2.0-15 >cygrunsrv 0.95-1 >cygutils 1.1.3-1 >cygwin 1.3.15-2 >cygwin-doc 1.2-1 >gcc 3.2-3 >lesstif 0.93.18-3 > >Now, most small applications (after rebuilding) seem work... > >For VXE (a small editor), I obtain a core dump :( > >Exception: STATUS_ACCESS_VIOLATION at eip=00483293 >eax=00000000 ebx=00000000 ecx=610C8FAC edx=0022F784 esi=00000001 >edi=0022F7F8 >ebp=00220000 esp=0022F760 >program=C:\cygwin\Install\Lesstif\xwol-1.0\vxe-3.1\vxe.exe >cs=001B ds=0023 es=0023 fs=0038 gs=0000 ss=0023 >Stack trace: >Frame Function Args > 4 [main] vxe 960 handle_exceptions: Error while dumping state >(probably corrupted stack) > >As I said to Alexander Mai, I think that we have a hidden stack problem... > >Is anybody made tests ? > >a+ >-- >Philippe Bastiani > > > > > > From c_twiner@hotmail.com Mon Nov 25 07:12:00 2002 From: c_twiner@hotmail.com (Chris Twiner) Date: Mon, 25 Nov 2002 07:12:00 -0000 Subject: Xwinclip doesn't work with Konsole Message-ID: >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 or something similar every time I try to use it. Using the openwin (solaris) xclipboard these applications work fine, the selection is fine and everything works as expected. >We are not doing a very good job of figuring out how the commercial X >applications out there handle clipboard integration. They *never* grab the >primary selection and they always have the most recently selected text from >either clipboard. Only ever when you leave one of their windows. Don't forget that they, like you know when you're window is left. That is the time to find out if anything has been grabbed. Also I'm fairly sure that most messages go through the X server so it shouldn't be very difficult to trap drags, ctrl+c's etc. Or more likely the real message ids. >Maybe they are doing this through polling, which we are trying to avoid, >but I am not even sure how polling would solve the problem (unless you poll >for the selection, compare it to the old data, and act accordingly, which >would put a huge demand on network bandwidth...). I doubt polling would solve much. Either way you are still causing unnecessary bandwith hogging when you steal ownership, not much most of the time but heh. More importantly the way that most X users expect the selection system to work (again as a user) is like my fix had made i.e. don't grab the selection. As a side point, yes I prefer my version of xwinclip to exceeds rather poor clipboard handling, including the recent release. Plus it always crashes and it's dead slow. I prefer cygwin/xfree86 by a long shot. >>It is our problem (well anyone who wants to use xwinclip) and it should be >>fixed. The hook dll doesn't need to be used as XWin can notify the app >>itself (if you have it inbuilt into xwin then multiple instances of xwin >>won't work properly together (although I'm not sure they do anyway), i'm >>talking about running xwin more than once not a screen option). >Oh please. Integrating the clipboard support into the XWin.exe executable >is not going to forbid it from working with multiple screens run by one >executable, nor is it going to forbid multiple instances of XWin.exe. The oh please is a little childish don't you think? I never said it would forbid anything. But in terms of real issues that would have to be tackled: - setjmp and longjmp would not be usable within the xwin, they work on stack unwinding and would unwind the whole stack (pos solution to run as a thread but xlib doesn't like that very much). - if you do have multiple instances of the code that does the selection handling you will have to use ipc mechanisms to handle the change in selection loop (xwinclip a and b). A notices that an applicaiton in it's instance has changed the selection, it copies it to the clipboard. B notices that the clipboard has changed and claims ownership, a notices that an app.... If R4 programmers could do it, I'm sure you or I could. >You might have to program a little more carefully, but there is nothing >about having the functionality present in XWin.exe that prevents anything >from working correctly. Never said there was. >You have mentioned before that X-Win32 is using an Xt-app for their >clipboard support... but I have never noticed such an app. I'm a little confused here I have never mentioned X-Win32 before in my life. I did mention Klipper for KDE that I found before solving the problem of inter toolkit selection grabbing. But never X-Win32. >>I can remove the hook by patching xwin to send out WM_ACTIVATE message's >>to a single xwinclip instance (this of course can be run from within XWin >>anyway). But I think that's not what you want either. >I just want a solution that works identically to the dozen or so commerical >implementations that have conquered this very problem. I won't be satisfied >until we have clipboard support that rivals the commercial X Servers for MS >Windows. As I and others have said here, the commercial ones aren't much better but they don't grab the selection (it's about the only good thing they do). Either way unless you can obtain source code or a developer who worked on these you're stuck as to identically doing it. The question you have to ask yourself is if you need to do that. You seem dedicated to copying the selection every time a user highlights something. Why? I doubt seriously that commercial software is doing something so obviously wastefull. Chris _________________________________________________________________ The new MSN 8: smart spam protection and 2 months FREE* http://join.msn.com/?page=features/junkmail From swhatley@hal-pc.org Mon Nov 25 10:44:00 2002 From: swhatley@hal-pc.org (swhatley@hal-pc.org) Date: Mon, 25 Nov 2002 10:44:00 -0000 Subject: Cygwin XFre86 -> Redhat XDM login In-Reply-To: Message-ID: I'll check gdm. I know hosts.allow is set up right. I can telnet, FTP, SSH, HTTP, SWAT, et.c to the Linux box. I have commented out the last line .../xdm/xdm.conf and modified the .../xdm/Xaccess file. BTW, I didn't mean to put down XFree86 in any way. It is a great product. Folks have put a lot of effort int it. I'm just gtying to resolve this one issue. Thanks, Steven On Sun, 17 Nov 2002 23:48:50 -0800 (PST) Lars Jensen wrote: >Stephen, > >Are you sure you are running xdm and not gdm. If you're running the >latter, then you need to edit gdm.conf to enable xdmcp. If you're >running the former, I assume that xdm.conf must be edited the same way. >Also check that your hosts.allow allows connections from the remote >machine. > >Lars. > >-- >Lars Jensen, TMCC/Vista B200, 7000 Dandini Blvd, Reno NV 89512-3999. >Internet: , http://www.scsr.nevada.edu/~jensen >Tel: 775.673.7113 FAX: 775.674.7592 > -- ___ ____________ <<<((__O\ (__<>___<>__ \ ____ Don't get rattled by Steven Whatley \ \_(__<>___<>__)\O\_/O___>-< what I say. It's just swhatley@hal-pc.org \O__<>___<>___<>)\___/ my opinion. -- redhat-list mailing list unsubscribe mailto:redhat-list-request@redhat.com?subject=unsubscribe https://listman.redhat.com/mailman/listinfo/redhat-list From hyoung@operamail.com Mon Nov 25 10:52:00 2002 From: hyoung@operamail.com (Hansom Young) Date: Mon, 25 Nov 2002 10:52:00 -0000 Subject: Cygwin GNOME 1.4 binary packages Message-ID: <20021125141159.26931.qmail@operamail.com> ----- Original Message ----- From: Lisi Date: Thu, 21 Nov 2002 20:57:52 +0200 To: hyoung@operamail.com Subject: Cygwin GNOME 1.4 binary packages > Hi Hansom, > > I am definitely interested in a cygwin GNOME binary, like the KDE binary > which is available on sourceforge using the standard cygwin setup.exe (but > I have not yet managed to get running properly on Win98). Could you please > keep us updated, maybe by posting back on the list, when your port is > available for download? Surely no problem. I just started a project on sourceforge.net. I'll upload the binary packages in a few days, including some applications very usful, such as gftp, sylpheed, gtktalog, anjuta etc. But I'm so busy with my work in recent months. Could somebody give me a hand? And we want to start to work on GNOME 2.0. > > Thanks, > > -Lisi > > -- _______________________________________________ Get your free email from http://mymail.operamail.com Powered by Outblaze From davidf@sjsoft.com Mon Nov 25 11:06:00 2002 From: davidf@sjsoft.com (David Fraser) Date: Mon, 25 Nov 2002 11:06:00 -0000 Subject: Cygwin GNOME 1.4 binary packages In-Reply-To: <20021125141159.26931.qmail@operamail.com> References: <20021125141159.26931.qmail@operamail.com> Message-ID: <3DE23AD6.4050302@sjsoft.com> Hansom Young wrote: > > >----- Original Message ----- >From: Lisi >Date: Thu, 21 Nov 2002 20:57:52 +0200 >To: hyoung@operamail.com >Subject: Cygwin GNOME 1.4 binary packages > > > > >>Hi Hansom, >> >>I am definitely interested in a cygwin GNOME binary, like the KDE binary >>which is available on sourceforge using the standard cygwin setup.exe (but >>I have not yet managed to get running properly on Win98). Could you please >>keep us updated, maybe by posting back on the list, when your port is >>available for download? >> >> >Surely no problem. >I just started a project on sourceforge.net. I'll upload the binary packages in a few days, including some applications very usful, such as gftp, sylpheed, gtktalog, anjuta etc. > Great! What is the project name? I see there is gnome-cygwin, is this it? > >But I'm so busy with my work in recent months. Could somebody give me a hand? > >And we want to start to work on GNOME 2.0. > > I tried to compile GNOME 2.0 on cygwin unsuccessfully. But if there is a base framework there, I'd be very interested in anjuta, and could help out with that. Can I suggest that rather than just hosting diffs you actually have the full source code? If you import it into CVS you can then import later versions again and merge the changes. Since sourceforge is hosting it you shouldn't have bandwidth problems... David From Ralf.Habacker@freenet.de Mon Nov 25 11:12:00 2002 From: Ralf.Habacker@freenet.de (Ralf Habacker) Date: Mon, 25 Nov 2002 11:12:00 -0000 Subject: Cygwin GNOME 1.4 binary packages In-Reply-To: <20021125141159.26931.qmail@operamail.com> Message-ID: <011d01c29495$1f279180$cd6407d5@BRAMSCHE> > > > I am definitely interested in a cygwin GNOME binary, like the KDE binary > > which is available on sourceforge using the standard cygwin setup.exe (but > > I have not yet managed to get running properly on Win98) Where are the problems with win98 ? Ralf From djw@connecttech.com Mon Nov 25 11:19:00 2002 From: djw@connecttech.com (David Worthen) Date: Mon, 25 Nov 2002 11:19:00 -0000 Subject: Memory Leak install Binutil ? Message-ID: <028001c294b2$9d94cf20$434b82ce@vaio> Hi All, I am trying to install binutils on cygwin running under Win 98. = Unfortunately it fails at the same spot each time (see below for the = error messages). It almost seems like there is a memory leak since after the binutil = install failure, I tried to start a command shell and Windows reported = it did not have enough memory to start a shell. The only running process = is bash. Ideas? Suggestions? Regards David PS: Error messages follow: checking if package supports dlls... no checking whether to build shared libraries... no checking whether to build static libraries... yes 165 [main] sh 438179 fork_copy: user/cygwin data pass 2 failed, = 0x980000..0x CC4000, done 0, windows pid 4294683529, Win32 error 8 eval: Cannot fork: Resource temporarily unavailable eval: Cannot fork: Resource temporarily unavailable configure: error: libtool configure failed Configure in /build-binutils/binutils-2.13/opcodes failed, exiting. From djw@connecttech.com Mon Nov 25 15:02:00 2002 From: djw@connecttech.com (David Worthen) Date: Mon, 25 Nov 2002 15:02:00 -0000 Subject: -help Message-ID: <02d201c294b3$c2447b80$434b82ce@vaio> From philippe.bastiani@wanadoo.fr Wed Nov 27 02:42:00 2002 From: philippe.bastiani@wanadoo.fr (Philippe Bastiani) Date: Wed, 27 Nov 2002 02:42:00 -0000 Subject: About Lesstif References: <3DE14E84.7010301@msu.edu> Message-ID: Hi, So, if I understand: Lesstif is not supported any more in Cygwin :( Bad news... OK, I am going to investigate... At the present time, among my applications, only VXE collapses... With the previous release, all the applications seem collapses during the startup code before any initialization of Lesstif... I am going to try to rebuild others app... a+ -- Philippe Bastiani From huntharo@msu.edu Wed Nov 27 05:09:00 2002 From: huntharo@msu.edu (Harold L Hunt II) Date: Wed, 27 Nov 2002 05:09:00 -0000 Subject: About Lesstif In-Reply-To: References: <3DE14E84.7010301@msu.edu> Message-ID: <3DE2760E.705@msu.edu> Philippe, Lesstif is supported in Cygwin/XFree86 in that there is a package of it available that works quite well for most people using it. However, you are correct that there is not someone assigned to spend a lot of time digging deep into issues that are affecting only a few users. Those affected users will have to step forward and diagnose such bugs on their own, hopefully fixing them and sending the patch to cygwin-xfree@cygwin.com so that a new package of Lesstif can be released that fixes their bug. Hope that helps, Harold Philippe Bastiani wrote: >Hi, > >So, if I understand: Lesstif is not supported any more in Cygwin :( Bad >news... >OK, I am going to investigate... > >At the present time, among my applications, only VXE collapses... >With the previous release, all the applications seem collapses during the >startup code before any initialization of Lesstif... > >I am going to try to rebuild others app... > >a+ >-- >Philippe Bastiani > > > > > > From huntharo@msu.edu Wed Nov 27 05:16:00 2002 From: huntharo@msu.edu (Harold L Hunt II) Date: Wed, 27 Nov 2002 05:16:00 -0000 Subject: Memory Leak install Binutil ? In-Reply-To: <028001c294b2$9d94cf20$434b82ce@vaio> References: <028001c294b2$9d94cf20$434b82ce@vaio> Message-ID: <3DE277DA.4040401@msu.edu> David, I do not think that your problem has much to do with the failed binutils install. Rather, I think that your problem has something to do with either a failed installation of the new version of the Cygwin DLL or it is due to a problem with the new version of the Cygwin DLL that was released just a day or two ago. If it is the former, then you should try reinstalling the cygwin package (which contains cygwin1.dll), if it is the later, I am sure that we will hear tons of corroborating reports in the next several days :) Harold David Worthen wrote: >Hi All, >I am trying to install binutils on cygwin running under Win 98. = >Unfortunately it fails at the same spot each time (see below for the = >error messages). > >It almost seems like there is a memory leak since after the binutil = >install failure, I tried to start a command shell and Windows reported = >it did not have enough memory to start a shell. The only running process = >is bash. > >Ideas? Suggestions? > >Regards David >PS: Error messages follow: > >checking if package supports dlls... no >checking whether to build shared libraries... no >checking whether to build static libraries... yes > 165 [main] sh 438179 fork_copy: user/cygwin data pass 2 failed, = >0x980000..0x >CC4000, done 0, windows pid 4294683529, Win32 error 8 >eval: Cannot fork: Resource temporarily unavailable >eval: Cannot fork: Resource temporarily unavailable >configure: error: libtool configure failed >Configure in /build-binutils/binutils-2.13/opcodes failed, exiting. > > > From ccrawford@analogic.com Wed Nov 27 05:43:00 2002 From: ccrawford@analogic.com (Crawford, Carl) Date: Wed, 27 Nov 2002 05:43:00 -0000 Subject: xview toolkit Message-ID: has anyone ported the xview toolkit to cygwin? thanks, --carl Carl R. Crawford Voice: 978-977-3000 x3519 Analogic Corporation Fax: 978-977-6805 8 Centennial Drive Home: 617-566-0286 Peabody, MA 01960-7987 Cell: 617-335-3372 ccrawford@analogic.com Cell-email: 6173353372@mobile.att.net www.analogic.com From lists.ASkwar@email-server.info Wed Nov 27 05:56:00 2002 From: lists.ASkwar@email-server.info (Alexander Skwar) Date: Wed, 27 Nov 2002 05:56:00 -0000 Subject: Can't connect with XDMCP - Invalid MIT-MAGIC-COOKIE-1 key Message-ID: <1038393748.3de4a1944500f@confixx.p15097023.pureserver.info> Hi! I've installed cygwin/xwin on my Windows XP machine so that I can connect to other hosts using XDMCP; ie. I want to run XWin.exe -query host. I'm succesfull in doing so when I'm connect to a certain part of the company LAN network. However, from another part of the network, I cannot. I'm trying to connect to HP-UX 11.00B workstations. In /var/dt/Xerrors I get: Xlib: connection to "0.0.0.0:0.0" refused by server Xlib: Invalid MIT-MAGIC-COOKIE-1 key Xlib: connection to "0.0.0.0:0.0" refused by server Xlib: Invalid MIT-MAGIC-COOKIE-1 key Xlib: connection to "0.0.0.0:0.0" refused by server Xlib: Invalid MIT-MAGIC-COOKIE-1 key Xlib: connection to "0.0.0.0:0.0" refused by server Xlib: Invalid MIT-MAGIC-COOKIE-1 key Xlib: connection to "0.0.0.0:0.0" refused by server Xlib: Invalid MIT-MAGIC-COOKIE-1 key Wed Nov 27 08:47:46 2002 error (pid 4808): Server open attempt #0 failed for 0.0.0.0:0, giving up At the same time, my XWin.log contains: Fatal server error: XDMCP fatal error: Session failed Session 6 failed for display 0.0.0.0:0: Cannot open display Any ideas about what I'm missing? What's striking me, is that I'm able to connect to the workstations from certain parts of our network with the exact same setup - of course the IP adresses and routing is different. Thanks a lot, Alexander Skwar -- How to quote: http://learn.to/quote (german) http://quote.6x.to (en) Homepage: http://www.iso-top.biz | Jabber: askwar@a-message.de iso-top.biz - Die g??nstige Art an Linux Distributionen zu kommen -- ------------------------------------------------- This mail sent through IMP: http://horde.org/imp/ From alexander.gottwald@s1999.tu-chemnitz.de Wed Nov 27 07:05:00 2002 From: alexander.gottwald@s1999.tu-chemnitz.de (Alexander Gottwald) Date: Wed, 27 Nov 2002 07:05:00 -0000 Subject: Can't connect with XDMCP - Invalid MIT-MAGIC-COOKIE-1 key In-Reply-To: <1038393748.3de4a1944500f@confixx.p15097023.pureserver.info> Message-ID: On Wed, 27 Nov 2002, Alexander Skwar wrote: > Hi! > > I've installed cygwin/xwin on my Windows XP machine so that I can connect > to other hosts using XDMCP; ie. I want to run XWin.exe -query host. Have you tried the -from parameter? The 0.0.0.0 seems like Xwin can't find the correct interface and uses an uncofigured one (maybe dialup) bye ago -- Alexander.Gottwald@informatik.tu-chemnitz.de http://www.gotti.org ICQ: 126018723 From huntharo@msu.edu Wed Nov 27 07:19:00 2002 From: huntharo@msu.edu (Harold L Hunt) Date: Wed, 27 Nov 2002 07:19:00 -0000 Subject: Can't connect with XDMCP - Invalid MIT-MAGIC-COOKIE-1 key Message-ID: <200211271315.gARDFwi72668@pilot17.cl.msu.edu> Alexander, It sounds like your problems are probably due to a sector of your network using only internal IP addresses (10.x.x.x, 192.168.x.x) that are not being passed through a Network Address Translation system when they are routed to the sector of your network with valid external IP addresses. In other words, your IP address is being lost by the router for some reason, while the packet is not being dropped for some other reason. Thus your HP-UX machine sees a packet that came from 0.0.0.0 instead of, say, 10.0.0.100. That is my theory... and it seems pretty likely because your machine is not having a problem getting the IP address being used by your adapter when it is on one segment of the network, so it shouldn't be having problems on the other segment of the network either. Now, for the hard-hitting questions: 1) Are you using the same network adapter on both network segments. That is, you aren't using a wireless adpater on one segment and a wired adapter on another segment, are you? 2) Are you using DHCP or not using DHCP on both networks? That is, does one segment use DHCP but the other does not? 3) Can you do a ``traceroute'' to the HP-UX workstations from the network segment that does not work with XDMCP? It would be nice to get some sort of confirmation that you can at least get packets back from the HP-UX workstations. With those answers, we may be better able to help you. Harold Alexander Skwar said: > Hi! > > I've installed cygwin/xwin on my Windows XP machine so that I can connect > to other hosts using XDMCP; ie. I want to run XWin.exe -query host. > > I'm succesfull in doing so when I'm connect to a certain part of the > company LAN network. However, from another part of the network, I cannot. > I'm trying to connect to HP-UX 11.00B workstations. In /var/dt/Xerrors I get: > > Xlib: connection to "0.0.0.0:0.0" refused by server > Xlib: Invalid MIT-MAGIC-COOKIE-1 key > Xlib: connection to "0.0.0.0:0.0" refused by server > Xlib: Invalid MIT-MAGIC-COOKIE-1 key > Xlib: connection to "0.0.0.0:0.0" refused by server > Xlib: Invalid MIT-MAGIC-COOKIE-1 key > Xlib: connection to "0.0.0.0:0.0" refused by server > Xlib: Invalid MIT-MAGIC-COOKIE-1 key > Xlib: connection to "0.0.0.0:0.0" refused by server > Xlib: Invalid MIT-MAGIC-COOKIE-1 key > > Wed Nov 27 08:47:46 2002 > error (pid 4808): Server open attempt #0 failed for 0.0.0.0:0, giving up > > At the same time, my XWin.log contains: > > Fatal server error: > XDMCP fatal error: Session failed Session 6 failed for display 0.0.0.0:0: > Cannot open display > > Any ideas about what I'm missing? What's striking me, is that I'm able to > connect to the workstations from certain parts of our network with the > exact same setup - of course the IP adresses and routing is different. > > Thanks a lot, > > Alexander Skwar > -- > How to quote: http://learn.to/quote (german) http://quote.6x.to (en) > Homepage: http://www.iso-top.biz | Jabber: askwar@a-message.de > iso-top.biz - Die g??nstige Art an Linux Distributionen zu kommen > -- > ------------------------------------------------- > This mail sent through IMP: http://horde.org/imp/ > From moser@decodon.com Wed Nov 27 07:39:00 2002 From: moser@decodon.com (Frank-Michael Moser) Date: Wed, 27 Nov 2002 07:39:00 -0000 Subject: How can I avoid using a DOS box?? In-Reply-To: <5.1.1.6.0.20021126195910.00a51d80@mail.fluidhosting.com> References: <5.1.1.6.0.20021126195910.00a51d80@mail.fluidhosting.com> Message-ID: <3DE4CC12.3040806@decodon.com> I found that the "run" command which comes with Cygwin-XFree is quite useful for launching any shell script with a Windows link without a DOS box flashing. The problem is that it works only when $(cygpath -w /) is in your Windows PATH variable - otherwise it does not find cygwin1.dll. But a simple workaround for this (if you do not like Cygwin in the Windows Path) is to (hard-)link run in /bin: ln /usr/X11R6/bin/run.exe /bin/run.exe This i.e. is the way I start X with reading .xinitrc and .xserverrc from my HOME (what startxwin.bat does not): C:\cygwin\bin\run.exe bash --login -c startx You also can use this as yet another "RXVT here" approach: echo Add Explorer extension \"RXVT here\" regtool add /root/Directory/shell/0cmd-rxvt regtool set /root/Directory/shell/0cmd-rxvt/ "RXVT here" regtool add /root/Directory/shell/0cmd-rxvt/command regtool set /root/Directory/shell/0cmd-rxvt/command/ "$(cygpath -w -a /)\\bin\\run.exe sh ~/bin/goto \"%1\"" where a "goto" script should do the rest. I wonder whether a) run should find cygwin1.dll by reading the mounts from the registry or b) run should go in /bin by default Is either a) or b) an option? Frank-Michael From sandos@home.se Wed Nov 27 08:02:00 2002 From: sandos@home.se (=?iso-8859-1?Q?John_B=E4ckstrand?=) Date: Wed, 27 Nov 2002 08:02:00 -0000 Subject: Fullscreen directx(??) apps hang Xfree86 Message-ID: <000b01c2961c$d5313de0$0219450a@sandos> Whenever I run (for example) battlefield 1942, Xfree86 always segfaults. It also use to segfault if I leave it overnight. Anyway, is this a known bug? --- John B??ckstrand From lists.ASkwar@email-server.info Wed Nov 27 08:06:00 2002 From: lists.ASkwar@email-server.info (Alexander Skwar) Date: Wed, 27 Nov 2002 08:06:00 -0000 Subject: Can't connect with XDMCP - Invalid MIT-MAGIC-COOKIE-1 key In-Reply-To: <200211271315.gARDFwi72668@pilot17.cl.msu.edu> References: <200211271315.gARDFwi72668@pilot17.cl.msu.edu> Message-ID: <1038409525.3de4df358a528@confixx.p15097023.pureserver.info> Zitat von Harold L Hunt : Harold, > Alexander, > > It sounds like your problems are probably due to a sector of your network > using only internal IP addresses (10.x.x.x, 192.168.x.x) that are not > being passed through a Network Address Translation system when they are > routed to the sector of your network with valid external IP addresses. No, I doubt that this is the case. I've just installed cygwin on another PC running Windows NT (instead of XP on my PC) and this PC is connected to the same switch as I am. The NT PC is also in the same network segment. >From this PC, I can do "XWin -query host" fine. On my PC, I've got to do "XWin -query host -from me" (insert IPs there). > In other words, your IP address is being lost by the router for some > reason, while the packet is not being dropped for some other reason. Thus > your HP-UX machine sees a packet that came from 0.0.0.0 instead of, say, > 10.0.0.100. Hmm, but why does the router interfere on such a low level? I highly doubt that a router is involved in my troubles - see above (BTW: I didn't write this in my first mail, because I just now found this out). > 1) Are you using the same network adapter on both network segments. That > is, you aren't using a wireless adpater on one segment and a wired adapter > on another segment, are you? What's the answer? Yes or no? ;) Well, I'm using the same NIC. In fact, my PC is a laptop and thus I've got close to no problems taking the PC to the other network segment. > 2) Are you using DHCP or not using DHCP on both networks? That is, does > one segment use DHCP but the other does not? I'm using DHCP on both net segments. > 3) Can you do a ``traceroute'' to the HP-UX workstations from the network > segment that does not work with XDMCP? It would be nice to get some sort > of confirmation that you can at least get packets back from the HP-UX > workstations. Yes, I can. Back and forth - ie. I can traceroute to the HP-UX workstation from my Windows PC, and I can tracerotue to the Windows PC from my HP-UX workstation. >From HP-UX to Windows: traceroute to 204.104.237.188(204.104.237.188), 30 hops max, 20 byte packets 1 rons (192.85.103.120) 1 ms 1 ms 1 ms 2 D8RJRJ0J (204.104.237.188) 3 ms 1 ms 1 ms >From Windows to HP-UX: [c:\programme\jedit 4.1pre6]tracert tc34 Routenverfolgung zu tc34 [204.104.236.110] ??ber maximal 30 Abschnitte: 1 <1 ms <1 ms <1 ms 192.85.103.190 2 1 ms 1 ms 1 ms tc34 [204.104.236.110] Ablaufverfolgung beendet. That's from the "offending" network segment. When I'm in the segment where "XWin.exe -query host" also works on my Windows XP PC, I'm farther away (as far as network hops are concerned). > With those answers, we may be better able to help you. Although I'm now able to connect - a colleague of mine who's sitting right behind me (and is connected to the same hub) is still having problems. And also I would like to be able to connect without -from. Thanks a lot, Alexander Skwar -- How to quote: http://learn.to/quote (german) http://quote.6x.to (en) Homepage: http://www.iso-top.de | Jabber: askwar@a-message.de iso-top.de - Die g??nstige Art an Linux Distributionen zu kommen -- ------------------------------------------------- This mail sent through IMP: http://horde.org/imp/ From lists.ASkwar@email-server.info Wed Nov 27 08:19:00 2002 From: lists.ASkwar@email-server.info (Alexander Skwar) Date: Wed, 27 Nov 2002 08:19:00 -0000 Subject: Can't connect with XDMCP - Invalid MIT-MAGIC-COOKIE-1 key In-Reply-To: References: Message-ID: <1038410369.3de4e281578b3@confixx.p15097023.pureserver.info> Alexander, Zitat von Alexander Gottwald : > Have you tried the -from parameter? The 0.0.0.0 seems like Xwin > can't find the correct interface and uses an uncofigured one (maybe > dialup) No, I haven't tried -from. I just now did, and with -from, I can connect. Do I understand you right? It's the "fault" of XWin that it sends the 0.0.0.0 IP? Hmm... [c:\programme\jedit 4.1pre6]ipconfig /all Windows-IP-Konfiguration Hostname. . . . . . . . . . . . . : D8RJRJ0J Prim??res DNS-Suffix . . . . . . . : Knotentyp . . . . . . . . . . . . : Hybrid IP-Routing aktiviert. . . . . . . : Nein WINS-Proxy aktiviert. . . . . . . : Nein Ethernetadapter LAN-Verbindung: Medienstatus. . . . . . . . . . . : Es besteht keine Verbindung Beschreibung. . . . . . . . . . . : 3Com 3C920 Integrated Fast Ethernet Controller (3C905C-TX Compatible) Physikalische Adresse . . . . . . : 00-08-74-3E-FD-E2 Ethernetadapter LAN-Verbindung 2: Verbindungsspezifisches DNS-Suffix: wup.de.delphiauto.com Beschreibung. . . . . . . . . . . : 3Com 3C920 Integrated Fast Ethernet Controller (3C905C-TX Compatible) #2 Physikalische Adresse . . . . . . : 00-B0-D0-0C-DF-B5 DHCP aktiviert. . . . . . . . . . : Ja Autokonfiguration aktiviert . . . : Ja IP-Adresse. . . . . . . . . . . . : 204.104.237.188 Subnetzmaske. . . . . . . . . . . : 255.255.255.0 Standardgateway . . . . . . . . . : 204.104.237.250 DHCP-Server . . . . . . . . . . . : 204.104.237.181 DNS-Server. . . . . . . . . . . . : 205.191.7.228 192.85.104.90 Lease erhalten. . . . . . . . . . : Mittwoch, 27. November 2002 07:58:21 Lease l??uft ab. . . . . . . . . . : Donnerstag, 28. November 20 02 07:58:21 As you can see, I've got two NICs. The 1st "Ethernetadapter LAN-Verbindung" is the built-in NIC in my notebook. The 2nd "Ethernetadapter LAN-Verbindung 2" is the one from my docking station. That might also explain, why the Windows NT PC is able to connect w/o -from. It's a "normal" desktop PC and has got only one NIC. Thanks! Alexander Skwar -- How to quote: http://learn.to/quote (german) http://quote.6x.to (en) Homepage: http://www.iso-top.de | Jabber: askwar@a-message.de iso-top.de - Die g??nstige Art an Linux Distributionen zu kommen -- ------------------------------------------------- This mail sent through IMP: http://horde.org/imp/ From alexander.gottwald@s1999.tu-chemnitz.de Wed Nov 27 08:59:00 2002 From: alexander.gottwald@s1999.tu-chemnitz.de (Alexander Gottwald) Date: Wed, 27 Nov 2002 08:59:00 -0000 Subject: Can't connect with XDMCP - Invalid MIT-MAGIC-COOKIE-1 key In-Reply-To: <1038410369.3de4e281578b3@confixx.p15097023.pureserver.info> Message-ID: On Wed, 27 Nov 2002, Alexander Skwar wrote: > Alexander, > > Zitat von Alexander Gottwald : > > > Have you tried the -from parameter? The 0.0.0.0 seems like Xwin > > can't find the correct interface and uses an uncofigured one (maybe > > dialup) > > No, I haven't tried -from. I just now did, and with -from, I can connect. > > Do I understand you right? It's the "fault" of XWin that it sends the > 0.0.0.0 IP? Hmm... It uses the ip address from which it can connect to the xdmcp server. Unfortunately, the first NIC has no IP address assigned and the 0.0.0.0 seems to supersede any other address. bye ago -- Alexander.Gottwald@informatik.tu-chemnitz.de http://www.gotti.org ICQ: 126018723 From huntharo@msu.edu Wed Nov 27 09:09:00 2002 From: huntharo@msu.edu (Harold L Hunt II) Date: Wed, 27 Nov 2002 09:09:00 -0000 Subject: Can't connect with XDMCP - Invalid MIT-MAGIC-COOKIE-1 key In-Reply-To: References: <1038410369.3de4e281578b3@confixx.p15097023.pureserver.info> Message-ID: <3DE4EC87.90209@msu.edu> Alexander [Skwar], Wait, let me get this straight. You DO have two network cards, one in the notebook and one in the docking station, right? Now, are you sure that you are using the same network card on both network segments? That is, are you using the built-in network card on both segments and you are never using the docking station's network card? If that is the case, then I suspect that you problem is when you are plugged into the docking station and XWin.exe thinks that it should use the docking station's NIC, which does not have an IP address (thus the 0.0.0.0). The easiest solution would be to use the -from parameter. Other possible solutions: 1) Plug into the network at the docking station via the docking station's NIC. XWin.exe wants to use that NIC by default, so XWin.exe will work correctly without the -from parameter (probably). 2) Disable the docking station's NIC in your Windows hardware configuration. This will hopefully case XWin.exe to not even see the docking station's NIC as an option. 3) Change the binding order or NIC preference (if there even is such a thing) in your Windows hardware configuration. I am going out on a limb here... I do not remember if this can be done. 4) Stop using your docking station. 5) See if Alexander Gottwald has any ideas to save the day :) Harold Alexander Skwar wrote: >Alexander, > >Zitat von Alexander Gottwald : > > > >>Have you tried the -from parameter? The 0.0.0.0 seems like Xwin >>can't find the correct interface and uses an uncofigured one (maybe >>dialup) >> >> > >No, I haven't tried -from. I just now did, and with -from, I can connect. > >Do I understand you right? It's the "fault" of XWin that it sends the >0.0.0.0 IP? Hmm... > >[c:\programme\jedit 4.1pre6]ipconfig /all > >Windows-IP-Konfiguration > > Hostname. . . . . . . . . . . . . : D8RJRJ0J > Prim??res DNS-Suffix . . . . . . . : > Knotentyp . . . . . . . . . . . . : Hybrid > IP-Routing aktiviert. . . . . . . : Nein > WINS-Proxy aktiviert. . . . . . . : Nein > >Ethernetadapter LAN-Verbindung: > > Medienstatus. . . . . . . . . . . : Es besteht keine Verbindung > > Beschreibung. . . . . . . . . . . : 3Com 3C920 Integrated Fast >Ethernet Controller (3C905C-TX Compatible) > Physikalische Adresse . . . . . . : 00-08-74-3E-FD-E2 > >Ethernetadapter LAN-Verbindung 2: > > Verbindungsspezifisches DNS-Suffix: wup.de.delphiauto.com > Beschreibung. . . . . . . . . . . : 3Com 3C920 Integrated Fast >Ethernet Controller (3C905C-TX Compatible) #2 > Physikalische Adresse . . . . . . : 00-B0-D0-0C-DF-B5 > DHCP aktiviert. . . . . . . . . . : Ja > Autokonfiguration aktiviert . . . : Ja > IP-Adresse. . . . . . . . . . . . : 204.104.237.188 > Subnetzmaske. . . . . . . . . . . : 255.255.255.0 > Standardgateway . . . . . . . . . : 204.104.237.250 > DHCP-Server . . . . . . . . . . . : 204.104.237.181 > DNS-Server. . . . . . . . . . . . : 205.191.7.228 > 192.85.104.90 > Lease erhalten. . . . . . . . . . : Mittwoch, 27. November 2002 > 07:58:21 > Lease l??uft ab. . . . . . . . . . : Donnerstag, 28. November 20 >02 07:58:21 > >As you can see, I've got two NICs. The 1st "Ethernetadapter LAN-Verbindung" >is the built-in NIC in my notebook. The 2nd "Ethernetadapter LAN-Verbindung >2" is the one from my docking station. That might also explain, why the >Windows NT PC is able to connect w/o -from. It's a "normal" desktop PC and >has got only one NIC. > >Thanks! > >Alexander Skwar > > From choice15@gmx.de Wed Nov 27 14:42:00 2002 From: choice15@gmx.de (choice15@gmx.de) Date: Wed, 27 Nov 2002 14:42:00 -0000 Subject: Can't connect with XDMCP - Invalid MIT-MAGIC-COOKIE-1 key References: <1038410369.3de4e281578b3@confixx.p15097023.pureserver.info> Message-ID: <005b01c2962e$cd38f800$4c64a8c0@ibsfreiburg.de> Hi, change your Login credentials to root with the "su" utility and add your xhost "X-Terminaserver" to your access list should work ----- Original Message ----- From: "Alexander Skwar" To: "cygwin xfree" Sent: Wednesday, November 27, 2002 4:19 PM Subject: Re: Can't connect with XDMCP - Invalid MIT-MAGIC-COOKIE-1 key > Alexander, > > Zitat von Alexander Gottwald : > > > Have you tried the -from parameter? The 0.0.0.0 seems like Xwin > > can't find the correct interface and uses an uncofigured one (maybe > > dialup) > > No, I haven't tried -from. I just now did, and with -from, I can connect. > > Do I understand you right? It's the "fault" of XWin that it sends the > 0.0.0.0 IP? Hmm... > > [c:\programme\jedit 4.1pre6]ipconfig /all > > Windows-IP-Konfiguration > > Hostname. . . . . . . . . . . . . : D8RJRJ0J > Prim??res DNS-Suffix . . . . . . . : > Knotentyp . . . . . . . . . . . . : Hybrid > IP-Routing aktiviert. . . . . . . : Nein > WINS-Proxy aktiviert. . . . . . . : Nein > > Ethernetadapter LAN-Verbindung: > > Medienstatus. . . . . . . . . . . : Es besteht keine Verbindung > > Beschreibung. . . . . . . . . . . : 3Com 3C920 Integrated Fast > Ethernet Controller (3C905C-TX Compatible) > Physikalische Adresse . . . . . . : 00-08-74-3E-FD-E2 > > Ethernetadapter LAN-Verbindung 2: > > Verbindungsspezifisches DNS-Suffix: wup.de.delphiauto.com > Beschreibung. . . . . . . . . . . : 3Com 3C920 Integrated Fast > Ethernet Controller (3C905C-TX Compatible) #2 > Physikalische Adresse . . . . . . : 00-B0-D0-0C-DF-B5 > DHCP aktiviert. . . . . . . . . . : Ja > Autokonfiguration aktiviert . . . : Ja > IP-Adresse. . . . . . . . . . . . : 204.104.237.188 > Subnetzmaske. . . . . . . . . . . : 255.255.255.0 > Standardgateway . . . . . . . . . : 204.104.237.250 > DHCP-Server . . . . . . . . . . . : 204.104.237.181 > DNS-Server. . . . . . . . . . . . : 205.191.7.228 > 192.85.104.90 > Lease erhalten. . . . . . . . . . : Mittwoch, 27. November 2002 > 07:58:21 > Lease l??uft ab. . . . . . . . . . : Donnerstag, 28. November 20 > 02 07:58:21 > > As you can see, I've got two NICs. The 1st "Ethernetadapter LAN-Verbindung" > is the built-in NIC in my notebook. The 2nd "Ethernetadapter LAN-Verbindung > 2" is the one from my docking station. That might also explain, why the > Windows NT PC is able to connect w/o -from. It's a "normal" desktop PC and > has got only one NIC. > > Thanks! > > Alexander Skwar > -- > How to quote: http://learn.to/quote (german) http://quote.6x.to (en) > Homepage: http://www.iso-top.de | Jabber: askwar@a-message.de > iso-top.de - Die g??nstige Art an Linux Distributionen zu kommen > -- > ------------------------------------------------- > This mail sent through IMP: http://horde.org/imp/ > From CDold@softek.fujitsu.com Wed Nov 27 14:43:00 2002 From: CDold@softek.fujitsu.com (Dold, Clarence) Date: Wed, 27 Nov 2002 14:43:00 -0000 Subject: Broken Link. Message-ID: <78F968C6298E0D44B5BB8B03EBB1AF2B01A42761@emessage1.amdahl.int> The faq listing at http://xfree86.cygwin.com/docs/faq/cygwin-xfree-faq.html Has a link for Linux: 4.12. Where can I find more information about XDMCP (X Display Manager Protocol). See the Linux XDMCP HOWTO for more information about XDMCP. http://www.linuxdoc.org/HOWTO/XDMCP-HOWTO/ That page retruns an updated link notice: -------------------------------------------------------------------------------- Dear webmaster, I just tried to access The Linux Documentation Project website using a link from your site, but your link is broken. Please replace linuxdoc.org, http://metalab.unc.edu/LDP or http://sunsite.unc.edu/LDP by http://www.tldp.org or http://en.tldp.org if you want to point directly to the english website. Feel free to contact Guylhem Aznar (guylhem_new-tldp-domain@externe.net) if you have any question regarding The Linux Documentation Project. -------------------------------------------------------------------------------- --- Clarence Dold - CDold@Softek.Fujitsu.com 408 746-4618 Sunnyvale B17 - 1052 707 953-2331 Cell Phone 877 630-9448 Pager cdold@skytel.com Message Pager From kris.thielemans@csc.mrc.ac.uk Thu Nov 28 06:11:00 2002 From: kris.thielemans@csc.mrc.ac.uk (Kris Thielemans) Date: Thu, 28 Nov 2002 06:11:00 -0000 Subject: man pages Message-ID: Hi, why are the man page names abbreviated? e.g. instead of typeing 'man XCreateWindow', I have to do 'man XCreWin' Or is there something wrong in my installation? thanks! Kris Thielemans (kris.thielemans ic.ac.uk) Imaging Research Solutions Ltd Cyclotron Building Hammersmith Hospital Du Cane Road London W12 ONN, United Kingdom From alanh@fairlite.demon.co.uk Thu Nov 28 06:31:00 2002 From: alanh@fairlite.demon.co.uk (Alan Hourihane) Date: Thu, 28 Nov 2002 06:31:00 -0000 Subject: man pages In-Reply-To: References: Message-ID: <20021127170840.GI914@fairlite.demon.co.uk> It's broken. We need to rebuild the X tree with #define ExpandManNames YES in cygwin.cf Thanks for reporting this. Alan. On Wed, Nov 27, 2002 at 04:53:23PM -0000, Kris Thielemans wrote: > Hi, > > why are the man page names abbreviated? > e.g. instead of typeing 'man XCreateWindow', I have to do 'man XCreWin' > Or is there something wrong in my installation? > > thanks! > > Kris Thielemans > (kris.thielemans ic.ac.uk) > Imaging Research Solutions Ltd > Cyclotron Building > Hammersmith Hospital > Du Cane Road > London W12 ONN, United Kingdom > From lists.ASkwar@email-server.info Thu Nov 28 06:43:00 2002 From: lists.ASkwar@email-server.info (Alexander Skwar) Date: Thu, 28 Nov 2002 06:43:00 -0000 Subject: Can't connect with XDMCP - Invalid MIT-MAGIC-COOKIE-1 key In-Reply-To: <3DE4EC87.90209@msu.edu> References: <1038410369.3de4e281578b3@confixx.p15097023.pureserver.info> <3DE4EC87.90209@msu.edu> Message-ID: <3DE54A68.7070601@email-server.info> Harold L Hunt II wrote: > Alexander [Skwar], > > Wait, let me get this straight. You DO have two network cards, one in > the notebook and one in the docking station, right? Now, are you sure Correct. > that you are using the same network card on both network segments? That Thinking about it - yes, I'm sure that I did NOT use the same NIC on both segments. When it worked out of the box, I used the builtin NIC, which was the only one available at this time. When I've got to use -from, I'm using the docking stations NIC, which is NIC #2. > never using the docking station's network card? If that is the case, > then I suspect that you problem is when you are plugged into the docking > station and XWin.exe thinks that it should use the docking station's > NIC, which does not have an IP address (thus the 0.0.0.0). Almost. XWin.exe doesn't seem to "think" ;) To me, it looks like XWin.exe always uses the "IP" of the first NIC, even if it doesn't have an IP. > The easiest solution would be to use the -from parameter. Guess so. > 1) Plug into the network at the docking station via the docking > station's NIC. XWin.exe wants to use that NIC by default, so XWin.exe > will work correctly without the -from parameter (probably). Nope. Docking stations NIC is #2, and XWin seems to take #1 - always. > 2) Disable the docking station's NIC in your Windows hardware > configuration. This will hopefully case XWin.exe to not even see the > docking station's NIC as an option. Well, because of "great" design, I wouldn't be able to use any NIC at all in that case. So that's not an option. > 3) Change the binding order or NIC preference (if there even is such a > thing) in your Windows hardware configuration. I am going out on a limb > here... I do not remember if this can be done. Will have a look. Thanks. > 4) Stop using your docking station. Uhmm - guess not ;) > 5) See if Alexander Gottwald has any ideas to save the day :) Thx! However, what about the colleague of mine? He's unable to connect even with -from. As I said, he was connected to the same network segment and hub, when I wrote the first message. He's using the same type of notebook I'm using. And finally, he's trying to connect to the same HP-UX workstation I'm trying to connect to (to be on the safe side, we did not try to connect to it at the same time. I doubt that this can cause problems - but we didn't want to try). And it's possible to traceroute to and from his laptop. Thanks again, Alexander From Hinsonj@cna.org Thu Nov 28 07:30:00 2002 From: Hinsonj@cna.org (Jason Hinson) Date: Thu, 28 Nov 2002 07:30:00 -0000 Subject: fvwm-themes anyone? Message-ID: I haven't been using cygwin for too long (less than a year), and I've just recently decided to try using Xfree within the environment--so, I hope the is a reasonable question for the list... Has anyone been successful in getting fvwm-themes to run under cygwin? I've researched a bit, and apparently as of build 0.6.1, fvwm-themes now has DOS-friendly file names and is ready to compile under cygwin. As suggested in the readme, I downloaded and installed a more recent version of fvwm (2.4.13), and then I installed fvwm-themes. It starts up just fine (except, of course, there doesn't seem to be a working version of xload under cygwin yet). However, when I try to switch themes, it seems to crash fvwm and gives this error message: [FvwmScript][ReadConfig]: <> Can't open the script FvwmScript-NoteMessage Anyone seen this before? Anyone know how to get fvwm-themes running properly under cygwin? Thanks!!! -Jason p.s., I don't guess I'm actually on this mailing list, so I'd appreciate it if you would cc any replies to me personally (unless, of course, that's considered bad form, in which case just tell me how to properly subscribe to the list.) --thanks again! From bax3@bigfoot.com Thu Nov 28 08:08:00 2002 From: bax3@bigfoot.com (Michael Bax) Date: Thu, 28 Nov 2002 08:08:00 -0000 Subject: XFree86 4.2.0 orphans shell on termination Message-ID: <001a01c296e7$ed232370$baa30c80@springbok> Hi When closing XWin, I am experiencing relatively frequent post-termination orphaning (improper clean-up) of the shell opened within the xterm by the default startxwin.bat -- perhaps 1 in 3 times. I can reproduce this by opening X using startxwin.bat and soon closing it by clicking the XWin window's close button. About a third of the time after XWin has disappeared from the process list, bash remains until I manually terminate it. After a number of these orphaned processes accumulate unterminated, an xterm sometimes does not even appear after starting XWin. This occurs with both twm and fvwm2. There does not seem to be a consistent pattern -- sometimes this doesn't seem to happen unless I execute a command (eg xmodmap), but sometimes I don't even need to bring the focus on the xterm. This is on a newly-installed vanilla Cygwin and XFree86 package set downloaded yesterday. The only modification to startxwin.bat was to CYGWIN_ROOT. OS is Windows 2000 Professional Ver 5.0 Build 2195 Service Pack 3. Cheers Michael -------------- next part -------------- An embedded and charset-unspecified text was scrubbed... Name: cygcheck.txt URL: From bax3@bigfoot.com Thu Nov 28 08:10:00 2002 From: bax3@bigfoot.com (Michael Bax) Date: Thu, 28 Nov 2002 08:10:00 -0000 Subject: fvwm-2.4.7-2 install missing /usr/local/etc/fvwm/system.fvwm2rc? Message-ID: <001e01c296ea$d4e16490$baa30c80@springbok> Hi I installed fvwm-2.4.7-2 using setup.exe and changed startxwin.bat to call fvwm instead of twm. The setup.exe process neither supplies nor prompts for any default configuration file. As a result, fvwm is crippled. All one can do by default is move and resize a window, not even close it! INSTALL.fvwm from the fvwm source tarfile (fvwm.org) suggests copying system.fvwm2rc to /usr/local/etc/fvwm/system.fvwm2rc to provide a system default. This file does not appear to be present in the Cygwin package, but it seems that installing this file to the correct place would be the most transparent way to streamline fvwm setup. While researching this issue I came across the package announcment from 9 May 2002, which suggests manually using /usr/share/fvwm/system.fvwm2rc-sample-95. I tried copying this to ~/.fvwm2rc, and it is certainly an improvement. However on my system fvwm then pumps out a long stream of error messages reporting the inability to find various files (bitmaps?), so it appears this is a partial solution at best. This is seen using the command "start fvwm" with no "/b" parameter. OS is Windows 2000 Professional Ver 5.0 Build 2195 Service Pack 3. Cheers Michael From jc.gervais@videotron.ca Thu Nov 28 08:18:00 2002 From: jc.gervais@videotron.ca (Jean-Claude Gervais) Date: Thu, 28 Nov 2002 08:18:00 -0000 Subject: Gnome panel Message-ID: <006001c296ec$53d63270$6501a8c0@sprymusic.com> Hi, If I start XWin in query mode and connect to a Linux box running RH 7.3, I can log in and run Gnome, and everything is fine. However, If I start XWin and a local window manager (WMaker in this case) then SSH to a Linux box running RH 7.3, and type 'panel', I get the gnome panel-launcher from that remote host and it is incredibly slow and sluggish. WindowMaker claims to be Gnome compliant, and the Gnome I am running is 1.x, so this should work, right? If I look in the Xterm I used to start the panel application, I get no warning or error messages on starting up the panel, but when I log out of Gnome, I get these: ** WARNING **: CORBA Exception ** WARNING **: CORBA Exception Traceback (innermost last): File "/usr/bin/../share/rhn/rhn_applet/rhn_applet.py", line 438, in refresh_handler self.refresh(force) File "/usr/bin/../share/rhn/rhn_applet/rhn_applet.py", line 488, in refresh self.set_state(old_state) File "/usr/bin/../share/rhn/rhn_applet/rhn_applet.py", line 101, in set_state self.animate_to("okay") File "/usr/bin/../share/rhn/rhn_applet/rhn_applet.py", line 347, in animate_to self.animate_handler() File "/usr/bin/../share/rhn/rhn_applet/rhn_applet.py", line 300, in animate_handler self.redraw() File "/usr/bin/../share/rhn/rhn_applet/rhn_applet.py", line 364, in redraw self.refresh_bg_image() File "/usr/bin/../share/rhn/rhn_applet/rhn_applet.py", line 250, in refresh_bg_image (rgb, w, h, rowstride) = self.applet.get_rgb_bg() File "/usr/bin/../share/rhn/rhn_applet/applet.py", line 102, in get_rgb_bg MemoryError [1]+ Done panel From Matthias.Muth@bessy.de Thu Nov 28 08:30:00 2002 From: Matthias.Muth@bessy.de (Matthias Muth) Date: Thu, 28 Nov 2002 08:30:00 -0000 Subject: BUG: xset fp+ tcp/hostname:port freezes the Xserver Message-ID: <000e01c296f6$119da320$7c0e95c1@broken> Hi all, I just installed the latest version of the complete Cygwin-Package including XFree86. Because I need some fonts from our fontserver, I added the according xset command to .xinitrc. I must realized that the "xset fp+ tcp/hostname:port" command lets freeze the whole Xserver. BTW, "xset fp= tcp/hostname:port" does work. A bug? Sincerly Yours, Matthias Muth - Matthias Muth email: Matthias.Muth@bessy.de BESSY GmbH phone: +49 30 6392 2954 Albert-Einstein-Str. 15 fax: +49 30 6392 2990 D-12489 Berlin GERMANY From huntharo@msu.edu Thu Nov 28 09:05:00 2002 From: huntharo@msu.edu (Harold L Hunt II) Date: Thu, 28 Nov 2002 09:05:00 -0000 Subject: XFree86 4.2.0 orphans shell on termination In-Reply-To: <001a01c296e7$ed232370$baa30c80@springbok> Message-ID: Michael, Yes, we have known about this for some time now, but no one has volunteered to work on it. I just work around it by always ``exit''ing my xterms before I shutdown XWin.exe. I don't even know where one would start to find a solution to this. Harold -----Original Message----- From: cygwin-xfree-owner@cygwin.com [mailto:cygwin-xfree-owner@cygwin.com]On Behalf Of Michael Bax Sent: Thursday, November 28, 2002 9:11 AM To: cygwin-xfree@cygwin.com Subject: XFree86 4.2.0 orphans shell on termination Hi When closing XWin, I am experiencing relatively frequent post-termination orphaning (improper clean-up) of the shell opened within the xterm by the default startxwin.bat -- perhaps 1 in 3 times. I can reproduce this by opening X using startxwin.bat and soon closing it by clicking the XWin window's close button. About a third of the time after XWin has disappeared from the process list, bash remains until I manually terminate it. After a number of these orphaned processes accumulate unterminated, an xterm sometimes does not even appear after starting XWin. This occurs with both twm and fvwm2. There does not seem to be a consistent pattern -- sometimes this doesn't seem to happen unless I execute a command (eg xmodmap), but sometimes I don't even need to bring the focus on the xterm. This is on a newly-installed vanilla Cygwin and XFree86 package set downloaded yesterday. The only modification to startxwin.bat was to CYGWIN_ROOT. OS is Windows 2000 Professional Ver 5.0 Build 2195 Service Pack 3. Cheers Michael From huntharo@msu.edu Thu Nov 28 09:29:00 2002 From: huntharo@msu.edu (Harold L Hunt II) Date: Thu, 28 Nov 2002 09:29:00 -0000 Subject: man pages In-Reply-To: <20021127170840.GI914@fairlite.demon.co.uk> Message-ID: Alan, Are you going to commit this one directly? Harold -----Original Message----- From: cygwin-xfree-owner@cygwin.com [mailto:cygwin-xfree-owner@cygwin.com]On Behalf Of Alan Hourihane Sent: Wednesday, November 27, 2002 12:09 PM To: cygwin-xfree@cygwin.com Subject: Re: man pages It's broken. We need to rebuild the X tree with #define ExpandManNames YES in cygwin.cf Thanks for reporting this. Alan. On Wed, Nov 27, 2002 at 04:53:23PM -0000, Kris Thielemans wrote: > Hi, > > why are the man page names abbreviated? > e.g. instead of typeing 'man XCreateWindow', I have to do 'man XCreWin' > Or is there something wrong in my installation? > > thanks! > > Kris Thielemans > (kris.thielemans ic.ac.uk) > Imaging Research Solutions Ltd > Cyclotron Building > Hammersmith Hospital > Du Cane Road > London W12 ONN, United Kingdom > From alanh@fairlite.demon.co.uk Thu Nov 28 21:43:00 2002 From: alanh@fairlite.demon.co.uk (Alan Hourihane) Date: Thu, 28 Nov 2002 21:43:00 -0000 Subject: man pages In-Reply-To: References: <20021127170840.GI914@fairlite.demon.co.uk> Message-ID: <20021128161807.GV914@fairlite.demon.co.uk> Yup. On Thu, Nov 28, 2002 at 11:10:46AM -0500, Harold L Hunt II wrote: > Alan, > > Are you going to commit this one directly? > > Harold > > -----Original Message----- > From: cygwin-xfree-owner@cygwin.com > [mailto:cygwin-xfree-owner@cygwin.com]On Behalf Of Alan Hourihane > Sent: Wednesday, November 27, 2002 12:09 PM > To: cygwin-xfree@cygwin.com > Subject: Re: man pages > > > It's broken. > > We need to rebuild the X tree with > > #define ExpandManNames YES > > in cygwin.cf > > Thanks for reporting this. > > Alan. > > On Wed, Nov 27, 2002 at 04:53:23PM -0000, Kris Thielemans wrote: > > Hi, > > > > why are the man page names abbreviated? > > e.g. instead of typeing 'man XCreateWindow', I have to do 'man XCreWin' > > Or is there something wrong in my installation? > > > > thanks! > > > > Kris Thielemans > > (kris.thielemans ic.ac.uk) > > Imaging Research Solutions Ltd > > Cyclotron Building > > Hammersmith Hospital > > Du Cane Road > > London W12 ONN, United Kingdom > > From spetreolle@yahoo.fr Thu Nov 28 21:52:00 2002 From: spetreolle@yahoo.fr (=?iso-8859-1?q?Sylvain=20Petreolle?=) Date: Thu, 28 Nov 2002 21:52:00 -0000 Subject: man pages In-Reply-To: Message-ID: <20021128163046.37262.qmail@web10102.mail.yahoo.com> Harold, could you say if a XF86Config manpage/sample is in CVS ? --- Harold L Hunt II a ??crit : > Alan, > > Are you going to commit this one directly? > > Harold > ___________________________________________________________ Do You Yahoo!? -- Une adresse @yahoo.fr gratuite et en fran??ais ! Yahoo! Mail : http://fr.mail.yahoo.com From spetreolle@yahoo.fr Thu Nov 28 23:55:00 2002 From: spetreolle@yahoo.fr (=?iso-8859-1?q?Sylvain=20Petreolle?=) Date: Thu, 28 Nov 2002 23:55:00 -0000 Subject: man pages In-Reply-To: Message-ID: <20021128170514.42347.qmail@web10102.mail.yahoo.com> no, it's just for keyboard configuration concerns... I don't like hitting on "," key to have a "m" on a non-US keyboard :) same as all others... --- Harold L Hunt II a ??crit : > Yeah, there is one there, but I am not certain if it would end up in > the > Cygwin/XFree86 man page package because I don't know if we use the > XF86Config program... were you wondering something more specific? > > I am leaving in a few minutes for the Thanksgiving weekend... so I > may not > reply until Sunday or Monday. > > Harold > ___________________________________________________________ Do You Yahoo!? -- Une adresse @yahoo.fr gratuite et en fran??ais ! Yahoo! Mail : http://fr.mail.yahoo.com From Alexander.Gottwald@s1999.tu-chemnitz.de Fri Nov 29 02:08:00 2002 From: Alexander.Gottwald@s1999.tu-chemnitz.de (Alexander Gottwald) Date: Fri, 29 Nov 2002 02:08:00 -0000 Subject: man pages In-Reply-To: <20021128163046.37262.qmail@web10102.mail.yahoo.com> Message-ID: Sylvain Petreolle wrote: > Harold, could you say if a XF86Config manpage/sample is in CVS ? The manpage should be in CVS. The used config keys is a subset of those used for the linux XFree86. A sample can be download from http://www-user.tu-chemnitz.de/~goal/xfree/XF86Config-4.bz2 bye ago -- Alexander.Gottwald@informatik.tu-chemnitz.de http://www.gotti.org ICQ: 126018723 From jing.dong@attbi.com Fri Nov 29 03:14:00 2002 From: jing.dong@attbi.com (jing.dong@attbi.com) Date: Fri, 29 Nov 2002 03:14:00 -0000 Subject: gdb received signal SIGSEGV before even entering main! Message-ID: The program I ran gdb on a very standard hello world program, it crashes even before main is entered. Anybody have an idea how to solve this problem? Any help is appreciated. The following is a running script: /home/john> gdb -nw a GNU gdb 5.0 (20010428-3) Copyright 2001 Free Software Foundation, Inc. GDB is free software, covered by the GNU General Public License, and you are welcome to change it and/or distribute copies of it under certain conditions. Type "show copying" to see the conditions. There is absolutely no warranty for GDB. Type "show warranty" for details. This GDB was configured as "i686-pc-cygwin"... (gdb) b main Breakpoint 1 at 0x4010b6: file hello.c, line 3. (gdb) r Starting program: /home/john/a.exe Program received signal SIGSEGV, Segmentation fault. 0x77e75a3d in _libkernel32_a_iname () (gdb) q The program is running. Exit anyway? (y or n) y /home/john> a Hello /home/john> gcc -v Reading specs from /usr/lib/gcc-lib/i686-pc-cygwin/3.2/specs Configured with: /netrel/src/gcc-3.2-1/configure --enable- languages=c,c++,f77,ja va --enable-libgcj --enable-threads=posix --with-system-zlib --enable-nls -- with out-included-gettext --enable-interpreter --disable-sjlj-exceptions --disable- ve rsion-specific-runtime-libs --enable-shared --build=i686-pc-linux --host=i686- pc -cygwin --target=i686-pc-cygwin --enable-haifa --prefix=/usr --exec-prefix=/usr --sysconfdir=/etc --libdir=/usr/lib --includedir=/nonexistent/include -- libexecd ir=/usr/sbin Thread model: posix gcc version 3.2 20020818 (prerelease) From cygwin@cygwin.com Fri Nov 29 03:37:00 2002 From: cygwin@cygwin.com (cygwin@cygwin.com) Date: Fri, 29 Nov 2002 03:37:00 -0000 Subject: gdb received signal SIGSEGV before even entering main! In-Reply-To: <200211290518.gAT5IoP02480@mx1.redhat.com> References: <200211290518.gAT5IoP02480@mx1.redhat.com> Message-ID: <20021129055248.GB25628@redhat.com> Wrong mailing list. Redirected. On Fri, Nov 29, 2002 at 05:43:13AM +0000, jing.dong@attbi.com wrote: >The program I ran gdb on a very standard hello world program, it crashes even >before main is entered. >Anybody have an idea how to solve this problem? >Any help is appreciated. > >The following is a running script: > >/home/john> gdb -nw a >GNU gdb 5.0 (20010428-3) >Copyright 2001 Free Software Foundation, Inc. >GDB is free software, covered by the GNU General Public License, and you are >welcome to change it and/or distribute copies of it under certain conditions. >Type "show copying" to see the conditions. >There is absolutely no warranty for GDB. Type "show warranty" for details. >This GDB was configured as "i686-pc-cygwin"... >(gdb) b main >Breakpoint 1 at 0x4010b6: file hello.c, line 3. >(gdb) r >Starting program: /home/john/a.exe > >Program received signal SIGSEGV, Segmentation fault. >0x77e75a3d in _libkernel32_a_iname () >(gdb) q >The program is running. Exit anyway? (y or n) y > >/home/john> a >Hello > >/home/john> gcc -v >Reading specs from /usr/lib/gcc-lib/i686-pc-cygwin/3.2/specs >Configured with: /netrel/src/gcc-3.2-1/configure --enable- >languages=c,c++,f77,ja >va --enable-libgcj --enable-threads=posix --with-system-zlib --enable-nls -- >with >out-included-gettext --enable-interpreter --disable-sjlj-exceptions --disable- >ve >rsion-specific-runtime-libs --enable-shared --build=i686-pc-linux --host=i686- >pc >-cygwin --target=i686-pc-cygwin --enable-haifa --prefix=/usr --exec-prefix=/usr >--sysconfdir=/etc --libdir=/usr/lib --includedir=/nonexistent/include -- >libexecd >ir=/usr/sbin >Thread model: posix >gcc version 3.2 20020818 (prerelease) From lists.ASkwar@email-server.info Fri Nov 29 04:00:00 2002 From: lists.ASkwar@email-server.info (Alexander Skwar) Date: Fri, 29 Nov 2002 04:00:00 -0000 Subject: xkbcomp.exe segfaults Message-ID: <1038556506.3de71d5aa0147@confixx.p15097023.pureserver.info> Hi! Yesterday, I switched my PC from using the "Novell" Novell client on Windows XP to the Novell client provided by Microsoft. Since then, when I start XWin, xkbcomp.exe segfaults. Here's an excerpt from strace.exe: 39 52243 [main] xkbcomp 3408 fhandler_base::close: closing '/etc/X11/xkb/keycodes/xfree86' handle 0x738 68 52311 [main] xkbcomp 3408 close: 0 = close (0) 1273 53584 [main] xkbcomp 3408 handle_exceptions: In cygwin_except_handler exc 0xC0000005 at 0x40CC22 sp 0x22F468 44 53628 [main] xkbcomp 3408 handle_exceptions: In cygwin_except_handler sig = 11 at 0x40CC22 60 53688 [main] xkbcomp 3408 handle_exceptions: In cygwin_except_handler calling 0x0 41 53729 [main] xkbcomp 3408 try_to_debug: debugger_command '' 470 54199 [main] xkbcomp 3408 open_stackdumpfile: Dumping stack trace to xkbcomp.exe.stackdump 1488999 1543198 [main] xkbcomp 3408 signal_exit: about to call do_exit (18B00) 95 1543293 [main] xkbcomp 3408 do_exit: do_exit (101120) 65 1543358 [main] xkbcomp 3408 void: 0x0 = signal (20, 0x1) 71 1543429 [main] xkbcomp 3408 void: 0x0 = signal (1, 0x1) 60 1543489 [main] xkbcomp 3408 void: 0x0 = signal (2, 0x1) 61 1543550 [main] xkbcomp 3408 void: 0x0 = signal (3, 0x1) 107 1543657 [main] xkbcomp 3408 fhandler_socket::close: 0 = fhandler_socket::close() 70 1543727 [main] xkbcomp 3408 fhandler_base::close: closing '/dev/null' handle 0x728 92 1543819 [main] xkbcomp 3408 fhandler_socket::close: 0 = fhandler_socket::close() 89 1543908 [main] xkbcomp 3408 fhandler_socket::close: 0 = fhandler_socket::close() 66 1543974 [main] xkbcomp 3408 sigproc_terminate: entering 60 1544034 [main] xkbcomp 3408 proc_terminate: nchildren 0, nzombies 0 59 1544093 [main] xkbcomp 3408 proc_terminate: leaving 125 1544218 [main] xkbcomp 3408 __to_clock_t: dwHighDateTime 0, dwLowDateTime 600864 60 1544278 [main] xkbcomp 3408 __to_clock_t: total 00000000 0000003C 61 1544339 [main] xkbcomp 3408 __to_clock_t: dwHighDateTime 0, dwLowDateTime 400576 69 1544408 [main] xkbcomp 3408 __to_clock_t: total 00000000 00000028 1270 1545678 [main] xkbcomp 3408 _pinfo::exit: Calling ExitProcess 101120 xkbcomp.exe.stackdump: Exception: STATUS_ACCESS_VIOLATION at eip=0040CC22 eax=00000008 ebx=0A040EF0 ecx=610CD024 edx=0022F480 esi=00000014 edi=0022F480 ebp=0022FDB0 esp=0022F468 program=C:\cygwin\etc\X11\xkb\xkbcomp.exe cs=001B ds=0023 es=0023 fs=0038 gs=0000 ss=0023 Stack trace: Frame Function Args 0022FDB0 0040CC22 (0A040EF0, 0022FEB0, 00000002, 00401F6D) 0022FE00 0040B277 (0A041150, 0022FEB0, 00000003, 0040457F) 0022FEC0 0040461B (0000000D, 615F2E38, 0A040330, 61006B5A) 0022FF10 610072E8 (610CBAA8, FFFFFFFE, 0000079C, 610CB9CC) 0022FF60 610075CD (00000000, 00000000, C038848C, 00000003) 0022FF90 0043A2E3 (004041FC, 8053D16F, 00000001, 00000000) 0022FFC0 0040103D (0022E468, 00000008, 7FFDF000, EB4BFCF0) 0022FFF0 77E614C7 (00401000, 00000000, 78746341, 00000020) End of stack trace I've installed the XF86Config-4 from gotti. When I start xkbcomp.exe with no parameters, it doesn't segfault. Well, how is xkbcomp.exe called, so that it segfault? Thanks, Alexander Skwar -- How to quote: http://learn.to/quote (german) http://quote.6x.to (en) Homepage: http://www.iso-top.biz | Jabber: askwar@a-message.de iso-top.biz - Die g??nstige Art an Linux Distributionen zu kommen -- ------------------------------------------------- This mail sent through IMP: http://horde.org/imp/ From bax3@bigfoot.com Fri Nov 29 05:13:00 2002 From: bax3@bigfoot.com (Michael Bax) Date: Fri, 29 Nov 2002 05:13:00 -0000 Subject: fvwm-2.4.7-2 install missing /usr/local/etc/fvwm/system.fvwm2rc? Message-ID: <000001c2978f$3274ad20$baa30c80@springbok> In followup to my earlier message: > INSTALL.fvwm from the fvwm source tarfile (fvwm.org) suggests > copying system.fvwm2rc to /usr/local/etc/fvwm/system.fvwm2rc > to provide a system default. This file does not appear to be > present in the Cygwin package, but it seems that installing > this file to the correct place would be the most transparent > way to streamline fvwm setup. The Cygwin version of fvwm2 appears to be configured slightly differently from the default. The appropriate directories for system.fvwm2rc are ${datadir}/fvwm --> /usr/X11R6/share/fvwm and ${sysconfdir} --> /etc (why not /usr/local/etc or even /etc/X11?) As a possible alternative to supplying this default configuration file, what about installing fwwm-icons along with a configuration pre-generated by FvwmScript-Setup95? Cheers Michael From vervoom@hotmail.com Fri Nov 29 06:10:00 2002 From: vervoom@hotmail.com (J S) Date: Fri, 29 Nov 2002 06:10:00 -0000 Subject: XDMCP on Windows 95 Message-ID: Hi, When I try to run the command: XWin -query smpd9 -fp tcp/smpd9:7100 -from a217447 that brings up the solaris xdmcp session if I'm running XFree86 on win XP/2K or NT. But if I try to run this on windows 95, it bombs out. Is this because Xfree86 doesn't support XDMCP on Windows 95? Thanks for any help, JS. _________________________________________________________________ Tired of spam? Get advanced junk mail protection with MSN 8. http://join.msn.com/?page=features/junkmail From edi@serbski-institut.de Fri Nov 29 06:26:00 2002 From: edi@serbski-institut.de (PD Dr. Edward Wornar) Date: Fri, 29 Nov 2002 06:26:00 -0000 Subject: XDMCP on Windows 95 In-Reply-To: References: Message-ID: <20021129.123300.74746910.edi@serbski-institut.de> From: "J S" Subject: XDMCP on Windows 95 Date: Fri, 29 Nov 2002 11:14:28 +0000 > Hi, > > When I try to run the command: > > XWin -query smpd9 -fp tcp/smpd9:7100 -from a217447 > > that brings up the solaris xdmcp session if I'm running XFree86 on win XP/2K > or NT. But if I try to run this on windows 95, it bombs out. > > Is this because Xfree86 doesn't support XDMCP on Windows 95? Definitely not as I got it running on several Win95 machines on our institute. Does the name resolving work? Does it run locally? Without the -fp stuff? Cheers Edi From vervoom@hotmail.com Fri Nov 29 06:48:00 2002 From: vervoom@hotmail.com (J S) Date: Fri, 29 Nov 2002 06:48:00 -0000 Subject: XDMCP on Windows 95 Message-ID: > > Hi, > > > > When I try to run the command: > > > > XWin -query smpd9 -fp tcp/smpd9:7100 -from a217447 > > > > that brings up the solaris xdmcp session if I'm running XFree86 on win >XP/2K > > or NT. But if I try to run this on windows 95, it bombs out. > > > > Is this because Xfree86 doesn't support XDMCP on Windows 95? > >Definitely not as I got it running on several Win95 machines on our >institute. >Does the name resolving work? Does it run locally? Without the -fp stuff? > >Cheers > >Edi There are no problems with the name resolving and XFree86 runs OK on the localhost. I have tested this on two win 95 machines now (one is a fresh win 95 install) and both exhibit the same problem. _________________________________________________________________ Tired of spam? Get advanced junk mail protection with MSN 8. http://join.msn.com/?page=features/junkmail From alexander.gottwald@s1999.tu-chemnitz.de Fri Nov 29 07:30:00 2002 From: alexander.gottwald@s1999.tu-chemnitz.de (Alexander Gottwald) Date: Fri, 29 Nov 2002 07:30:00 -0000 Subject: XDMCP on Windows 95 In-Reply-To: Message-ID: On Fri, 29 Nov 2002, J S wrote: > Hi, > > When I try to run the command: > > XWin -query smpd9 -fp tcp/smpd9:7100 -from a217447 > > that brings up the solaris xdmcp session if I'm running XFree86 on win XP/2K > or NT. But if I try to run this on windows 95, it bombs out. ^^^^^^^^^^^^ Good. A very short error description with nearly no information. What's in /tmp/XWin.log What does xdm tell Is there any network traffic > Is this because Xfree86 doesn't support XDMCP on Windows 95? It does support windows 95. bye ago From bportaluri@excite.it Fri Nov 29 08:14:00 2002 From: bportaluri@excite.it (Bruno Portaluri) Date: Fri, 29 Nov 2002 08:14:00 -0000 Subject: Keyboard configuration problems for XDMCP connection Message-ID: <000501c297b1$2df71bd0$09b15492@rome.tivoli.com> Hi all, I'm trying to connect to an AIX machine from a Cygwin installation on a Win2000 client. I use the following command to query a session to the X server: XWin -query aix_hostname The login screen appears correctly but I'm not able to configure the italian keyboard. Following the instructions on the faq I'm able to configure the keyboard only for local x sessions. Here's the content of xwin.log file ddxProcessArgument - Initializing default screens winInitializeDefaultScreens - w 1024 h 768 winInitializeDefaultScreens - Returning OsVendorInit - Creating bogus screen 0 _XSERVTransmkdir: Owner of /tmp/.X11-unix should be set to root (EE) Unable to locate/open config file InitOutput - Error reading config file winDetectSupportedEngines - Windows NT/2000/XP winDetectSupportedEngines - DirectDraw installed winDetectSupportedEngines - Allowing PrimaryDD winDetectSupportedEngines - DirectDraw4 installed winDetectSupportedEngines - Returning, supported engines 0000001f InitOutput - g_iNumScreens: 1 iMaxConsecutiveScreen: 1 winSetEngine - Using Shadow DirectDraw NonLocking winAdjustVideoModeShadowDDNL - Using Windows display depth of 32 bits per pixel winCreateBoundingWindowWindowed - Initial w: 1024 h: 768 winAdjustForAutoHide - Original WorkArea: 0 0 740 1024 winAdjustForAutoHide - Adjusted WorkArea: 0 0 740 1024 winCreateBoundingWindowWindowed - WindowClient w 1018 h 715 r 1018 l 0 b 715 t 0 winCreateBoundingWindowWindowed - Returning winCreatePrimarySurfaceShadowDDNL - Creating primary surface winCreatePrimarySurfaceShadowDDNL - Created primary surface winCreatePrimarySurfaceShadowDDNL - Attached clipper to primary surface winAllocateFBShadowDDNL - lPitch: 4072 winFinishScreenInitFB - Masks: 00ff0000 0000ff00 000000ff winInitVisualsShadowDDNL - Masks 00ff0000 0000ff00 000000ff BPRGB 8 d 24 bpp 32 winCreateDefColormap - Deferring to fbCreateDefColormap () winScreenInit - returning (EE) No primary keyboard configured (==) Using compiletime defaults for keyboard Rules = "xfree86" Model = "pc101" Layout = "us" Variant = "(null)" Options = "(null)" Thanks in advance for any suggestions. Bruno From lists.ASkwar@email-server.info Fri Nov 29 10:11:00 2002 From: lists.ASkwar@email-server.info (Alexander Skwar) Date: Fri, 29 Nov 2002 10:11:00 -0000 Subject: Host Chooser Program? Message-ID: <1038579977.3de77909f317e@confixx.p15097023.pureserver.info> Hi! Now that I've (kinda) got XWin running, I'm looking for a program which will let me type in the name of the host that I want to connect to. What I'm trying to do, is to have a shell script, which will run some sort of Windows GUI program where the user can enter something. This "something" should then be used as the parameter to the -query option. Kinda like this: XWin.exe -query $(user_prompter) Any ideas? Thanks, Alexander Skwar -- How to quote: http://learn.to/quote (german) http://quote.6x.to (en) Homepage: http://www.iso-top.biz | Jabber: askwar@a-message.de iso-top.biz - Die g??nstige Art an Linux Distributionen zu kommen -- ------------------------------------------------- This mail sent through IMP: http://horde.org/imp/ From Vince.Hoffman@uk.circle.com Fri Nov 29 13:39:00 2002 From: Vince.Hoffman@uk.circle.com (Vince Hoffman) Date: Fri, 29 Nov 2002 13:39:00 -0000 Subject: Host Chooser Program? Message-ID: <3500515B75D9D311948800508BA3795595099C@EX-LONDON> I seem to remember post about something similar, try searching the archives for 'connection tool' > -----Original Message----- > From: Alexander Skwar [mailto:lists.ASkwar@email-server.info] > Sent: 29 November 2002 14:26 > To: Cygwin XWin Mailingliste > Subject: Host Chooser Program? > > > Hi! > > Now that I've (kinda) got XWin running, I'm looking for a > program which > will let me type in the name of the host that I want to connect to. > > What I'm trying to do, is to have a shell script, which will > run some sort > of Windows GUI program where the user can enter something. > This "something" > should then be used as the parameter to the -query option. > Kinda like this: > > XWin.exe -query $(user_prompter) > > Any ideas? > > Thanks, > > Alexander Skwar > -- > How to quote: http://learn.to/quote (german) http://quote.6x.to (en) > Homepage: http://www.iso-top.biz | Jabber: askwar@a-message.de > iso-top.biz - Die g?nstige Art an Linux Distributionen zu kommen > -- > ------------------------------------------------- > This mail sent through IMP: http://horde.org/imp/ > From Alexander.Gottwald@s1999.tu-chemnitz.de Sat Nov 30 06:19:00 2002 From: Alexander.Gottwald@s1999.tu-chemnitz.de (Alexander Gottwald) Date: Sat, 30 Nov 2002 06:19:00 -0000 Subject: Keyboard configuration problems for XDMCP connection In-Reply-To: <000501c297b1$2df71bd0$09b15492@rome.tivoli.com> Message-ID: Bruno Portaluri wrote: > Hi all, > I'm trying to connect to an AIX machine from a Cygwin installation on a > Win2000 client. > I use the following command to query a session to the X server: > XWin -query aix_hostname AFAIR, there were a lot of reports about problems with AIX on the list. The list archive might give you some information. I think it had to do with Numlock being turned on. > The login screen appears correctly but I'm not able to configure the italian > keyboard. Get http://www-user.tu-chemnitz.de/~goal/xfree/XF86Config-4.bz2, unbzip2 it to /etc/X11/XF86Config and change the line Option "XkbLayout" "de" to Option "XkbLayout" "it" Whit this and the solution for the XKB problem with AIX will give you an italian keyboard. bye ago NP: Blutengel - Warriors of destiny -- Alexander.Gottwald@informatik.tu-chemnitz.de http://www.gotti.org ICQ: 126018723 From haro@kgt.co.jp Fri Nov 1 01:08:00 2002 From: haro@kgt.co.jp (haro@kgt.co.jp) Date: Fri, 01 Nov 2002 01:08:00 -0000 Subject: rootless mode and mousing to other windows In-Reply-To: References: Message-ID: <20021101.181343.09582165.haro@kgt.co.jp> Hi, From: "Gerald S. Williams" 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: haro@kgt.co.jp From c_twiner@hotmail.com Fri Nov 1 01:24:00 2002 From: c_twiner@hotmail.com (Chris Twiner) Date: Fri, 01 Nov 2002 01:24:00 -0000 Subject: how does xwin resolve ip addresses Message-ID: 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 From huntharo@msu.edu Fri Nov 1 05:02:00 2002 From: huntharo@msu.edu (Harold L Hunt II) Date: Fri, 01 Nov 2002 05:02:00 -0000 Subject: how does xwin resolve ip addresses In-Reply-To: References: Message-ID: <3DC27B71.1000000@msu.edu> 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 > From c_twiner@hotmail.com Fri Nov 1 05:42:00 2002 From: c_twiner@hotmail.com (Chris Twiner) Date: Fri, 01 Nov 2002 05:42:00 -0000 Subject: how does xwin resolve ip addresses Message-ID: 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 From gsw@agere.com Fri Nov 1 07:52:00 2002 From: gsw@agere.com (Gerald S. Williams) Date: Fri, 01 Nov 2002 07:52:00 -0000 Subject: rootless mode and mousing to other windows In-Reply-To: <3DC1AF07.8080005@msu.edu> Message-ID: 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 From huntharo@msu.edu Fri Nov 1 08:01:00 2002 From: huntharo@msu.edu (Harold L Hunt II) Date: Fri, 01 Nov 2002 08:01:00 -0000 Subject: rootless mode and mousing to other windows In-Reply-To: References: Message-ID: <3DC2A568.5010707@msu.edu> 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 From wilper-8@ludd.luth.se Fri Nov 1 08:04:00 2002 From: wilper-8@ludd.luth.se (Wilhelm Person) Date: Fri, 01 Nov 2002 08:04:00 -0000 Subject: rootless mode and mousing to other windows In-Reply-To: <3DC2A568.5010707@msu.edu> Message-ID: 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: wilper@home.se | +-------------------------------+ From nahor@bravobrava.com Fri Nov 1 09:30:00 2002 From: nahor@bravobrava.com (Jehan) Date: Fri, 01 Nov 2002 09:30:00 -0000 Subject: rootless mode and mousing to other windows In-Reply-To: <3DC2A568.5010707@msu.edu> References: <3DC2A568.5010707@msu.edu> Message-ID: 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 From huntharo@msu.edu Fri Nov 1 10:07:00 2002 From: huntharo@msu.edu (Harold L Hunt II) Date: Fri, 01 Nov 2002 10:07:00 -0000 Subject: rootless mode and mousing to other windows In-Reply-To: References: Message-ID: <3DC2C2FB.4090809@msu.edu> 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 From wilper-8@ludd.luth.se Fri Nov 1 10:16:00 2002 From: wilper-8@ludd.luth.se (Wilhelm Person) Date: Fri, 01 Nov 2002 10:16:00 -0000 Subject: rootless mode and mousing to other windows In-Reply-To: <3DC2C2FB.4090809@msu.edu> Message-ID: 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: wilper@home.se | +-------------------------------+ From huntharo@msu.edu Fri Nov 1 10:20:00 2002 From: huntharo@msu.edu (Harold L Hunt II) Date: Fri, 01 Nov 2002 10:20:00 -0000 Subject: rootless mode and mousing to other windows In-Reply-To: References: Message-ID: <3DC2C5E4.9020807@msu.edu> 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: wilper@home.se | >+-------------------------------+ > > > From Alexander.Gottwald@informatik.tu-chemnitz.de Fri Nov 1 11:17:00 2002 From: Alexander.Gottwald@informatik.tu-chemnitz.de (Alexander Gottwald) Date: Fri, 01 Nov 2002 11:17:00 -0000 Subject: how does xwin resolve ip addresses In-Reply-To: Message-ID: 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 -- Alexander.Gottwald@informatik.tu-chemnitz.de http://www.gotti.org ICQ: 126018723 From j_tetazoo@hotmail.com Fri Nov 1 11:55:00 2002 From: j_tetazoo@hotmail.com (Thomas Chadwick) Date: Fri, 01 Nov 2002 11:55:00 -0000 Subject: rootless mode and mousing to other windows Message-ID: 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" >To: "Thomas Chadwick" , "Harold L Hunt II" >, >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: >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: <3DC1AF07.8080005@msu.edu> >X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2600.0000 >Return-Path: gsw@agere.com >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 From jblazi@gmx.de Fri Nov 1 23:09:00 2002 From: jblazi@gmx.de (jblazi) Date: Fri, 01 Nov 2002 23:09:00 -0000 Subject: Serious X11 problem Message-ID: <200211020820.11149.jblazi@gmx.de> 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 From steven.obrien2@ntlworld.com Sat Nov 2 03:45:00 2002 From: steven.obrien2@ntlworld.com (Steven O'Brien) Date: Sat, 02 Nov 2002 03:45:00 -0000 Subject: Serious X11 problem Message-ID: <20021102114558.3860b90c.steven.obrien2@ntlworld.com> jblazi wrote: > 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. I have just tried it with the latest cygwin, xfree and tools, and I do not get a core dump. The program runs OK, but with some interesting behaviour (on win 2k sp2) If I run it with *no window manager*, just XWin, then I get a window containing a square which closes after 10 seconds. All as expected by reading the code. This is true with all XWin engines. However, when I run a window manager, then the square is sometimes missing, sometimes has only two or three sides. Which result I get appears to be non-deterministic. I have tried this with twm, wmaker, fvwm2, icewm, and sawfish. Same behaviour in all cases. Does this indicate a race condition somewhere in the window manager protocol implementation in cygwin XFree86? Steven From Alexander.Gottwald@s1999.tu-chemnitz.de Sat Nov 2 07:51:00 2002 From: Alexander.Gottwald@s1999.tu-chemnitz.de (Alexander Gottwald) Date: Sat, 02 Nov 2002 07:51:00 -0000 Subject: how does xwin resolve ip addresses Message-ID: 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 give me more hints. bye ago NP: grauzone.02-09-23 -- Alexander.Gottwald@informatik.tu-chemnitz.de http://www.gotti.org ICQ: 126018723 From skoehler@upb.de Sat Nov 2 13:32:00 2002 From: skoehler@upb.de (=?ISO-8859-1?Q?Sven_K=F6hler?=) Date: Sat, 02 Nov 2002 13:32:00 -0000 Subject: XWin.exe crashes Message-ID: executing XWin & export DISPLAY=:0.0 setxkbmap de crashes XWin.exe with a segmentation fault. i also get a "core dump" i hope it can be reproduced on your systems. Thx Sven From Alexander.Gottwald@s1999.tu-chemnitz.de Sun Nov 3 04:07:00 2002 From: Alexander.Gottwald@s1999.tu-chemnitz.de (Alexander Gottwald) Date: Sun, 03 Nov 2002 04:07:00 -0000 Subject: XWin.exe crashes In-Reply-To: Message-ID: Sven K??hler wrote: > executing > XWin & > export DISPLAY=:0.0 > setxkbmap de > crashes XWin.exe with a segmentation fault. > i also get a "core dump" please check if /tmp is mounted in binmode > i hope it can be reproduced on your systems. xkb is working perfectly for me bye ago NP: grauzone.02-10-07 -- Alexander.Gottwald@informatik.tu-chemnitz.de http://www.gotti.org ICQ: 126018723 From skoehler@upb.de Sun Nov 3 06:01:00 2002 From: skoehler@upb.de (=?ISO-8859-1?Q?Sven_K=F6hler?=) Date: Sun, 03 Nov 2002 06:01:00 -0000 Subject: XWin.exe crashes In-Reply-To: References: Message-ID: > >executing > > XWin & > > export DISPLAY=:0.0 > > setxkbmap de > >crashes XWin.exe with a segmentation fault. > >i also get a "core dump" > > please check if /tmp is mounted in binmode good hint, now it works why? what's the problem using text-mounts with XWin? From Alexander.Gottwald@s1999.tu-chemnitz.de Sun Nov 3 06:25:00 2002 From: Alexander.Gottwald@s1999.tu-chemnitz.de (Alexander Gottwald) Date: Sun, 03 Nov 2002 06:25:00 -0000 Subject: XWin.exe crashes In-Reply-To: Message-ID: Sven K??hler wrote: > good hint, now it works > why? what's the problem using text-mounts with XWin? either xkbcomp or XWin opens the file in the wrong mode (they do not specify if the data is binary or text) so it get's opened in the mode which was specified with mount. I've just fixed the line in XWin but have not tested if it fails too. But I guess it's xkbcomp which is the problem. bye ago NP: grauzone.02-10-14 -- Alexander.Gottwald@informatik.tu-chemnitz.de http://www.gotti.org ICQ: 126018723 From Alexander.Gottwald@s1999.tu-chemnitz.de Sun Nov 3 07:10:00 2002 From: Alexander.Gottwald@s1999.tu-chemnitz.de (Alexander Gottwald) Date: Sun, 03 Nov 2002 07:10:00 -0000 Subject: XWin.exe crashes In-Reply-To: Message-ID: Alexander Gottwald wrote: > Sven K??hler wrote: > > > good hint, now it works > > why? what's the problem using text-mounts with XWin? > > either xkbcomp or XWin opens the file in the wrong mode (they do not > specify if the data is binary or text) so it get's opened in the mode > which was specified with mount. I've just fixed the line in XWin but > have not tested if it fails too. But I guess it's xkbcomp which is the > problem. xkbcomp was not aware of binary or text files. I've changed it and xkbcomp now produces files with same length for binary and text mounts. Attached is a patch for this. It also patches the Xserver to open the files in binmode. A test binary is available: http://www-user.tu-chemnitz.de/~goal/xfree/xkbcomp.exe.bz2 replace the one in /usr/X11R6/bin und /usr/X11R6/lib/X11/xkb or /etc/X11/xkb If it still fails, please test the patched XWin.exe too http://www-user.tu-chemnitz.de/~goal/xfree/XWin-binmode.exe.bz2 bye ago NP: Blutengel - Schmerz 2 - Lust -- Alexander.Gottwald@informatik.tu-chemnitz.de http://www.gotti.org ICQ: 126018723 -------------- next part -------------- Index: programs/Xserver/xkb/ddxLoad.c =================================================================== RCS file: /cvs/xc/programs/Xserver/xkb/ddxLoad.c,v retrieving revision 3.30 diff -u -r3.30 ddxLoad.c --- programs/Xserver/xkb/ddxLoad.c 2002/05/31 18:46:06 3.30 +++ programs/Xserver/xkb/ddxLoad.c 2002/11/03 12:29:17 @@ -413,7 +413,7 @@ else if (strlen(xkm_output_dir)+strlen(mapName)+5 <= PATH_MAX) sprintf(buf,"%s%s.xkm",xkm_output_dir,mapName); if (buf[0] != '\0') - file= fopen(buf,"r"); + file= fopen(buf,"rb"); else file= NULL; } else file= NULL; Index: programs/xkbcomp/xkbcomp.c =================================================================== RCS file: /cvs/xc/programs/xkbcomp/xkbcomp.c,v retrieving revision 3.17 diff -u -r3.17 xkbcomp.c --- programs/xkbcomp/xkbcomp.c 2002/06/05 00:00:37 3.17 +++ programs/xkbcomp/xkbcomp.c 2002/11/03 14:57:04 @@ -873,16 +873,30 @@ * -- Branden Robinson */ int outputFileFd; + int binMode = 0; + const char *openMode = "w"; unlink(outputFile); +#ifdef O_BINARY + switch (outputFormat) { + case WANT_XKM_FILE: + binMode = O_BINARY; + openMode = "wb"; + break; + default: + binMode = 0; + break; + } +#endif outputFileFd= open(outputFile, O_WRONLY|O_CREAT|O_EXCL, - S_IRUSR|S_IWUSR|S_IRGRP|S_IWGRP|S_IROTH|S_IWOTH); + S_IRUSR|S_IWUSR|S_IRGRP|S_IWGRP|S_IROTH|S_IWOTH|binMode); if (outputFileFd<0) { ERROR1("Cannot open \"%s\" to write keyboard description\n", outputFile); ACTION("Exiting\n"); exit(1); } - out= fdopen(outputFileFd, "w"); + + out= fdopen(outputFileFd, openMode); /* end BR */ if (out==NULL) { ERROR1("Cannot open \"%s\" to write keyboard description\n", From andreas@schessner.de Sun Nov 3 08:42:00 2002 From: andreas@schessner.de (Andreas Schessner) Date: Sun, 03 Nov 2002 08:42:00 -0000 Subject: AltGR problems with Windows XP Message-ID: <3DC551E2.4080803@schessner.de> Hello, I use the X server of Cygwin/XFree86 (XWin) and it is working fine on my Windows 2000 Workstation but running the same version on my Notebook (Windows XP) causes problems with the AltGr handling. I've noticed that pressing the AltGr Key produces a KeyPress-Control_L KeyPress-Mode_switch KeyRelease-Control_L KeyRelease-Mode_switch event sequence (see xev output at the end of this mail). I began to trace the code (winkeybd.c, function winIsFakeCtrl_L) and found out that on my XP notebook the windows messages VK_CONTROL (the faked Control_L) and VK_MENU don't have the same timestamp and it is not always possible to get the following VK_MENU message by issuing the PeekMessage(). I don't know if this problem is relating to my Notebook (Dell Latitude) or to Windows XP. Are there other people having the same problems? Andreas PS. For now I've implemented a workarround. I'm using a translation of the incomming windows messages, which recognizes the fake Control_L messages and filters them out. Changes were made on following sources: win.h, winkeybd.c, winwndproc.c The modified sources can be obtained from mee if desired: This works fine for me... The algorithm is desccribed below as a deterministic finite automata (DFA) input \ state | 0 (start) | 1 | 2 | 3 -------------------------------------------------------------------------------- KeyPressed-CtrlL (PCL) | 1 - | 1 - | 2 PCL | 1 - KeyReleased-CtrlL (RCL) | 0 RCL | 0 PCL,RCL | 3 - | 0 RCL KeyPressed-AltR (PAR) | 0 PAR | 2 PAR | 2 PAR | 0 PAR KeyReleased-AltR (RAR) | 0 RAR | 0 PCL,RAR | 1 RAR | 0 RAR any other key (*) | 0 * | 0 PCL,* | 2 * | 0 * States: 0 (start),1,2,3 input and output alphabet: KeyPressed-CtrlL (PCL), KeyReleased-CtrlL (RCL), KeyPressed-AltR (PAR), KeyReleased-AltR (RAR), no key (-), any other key(*) the table shows the transitions: e.g. assume you are in state "1" and you receive a KeyReleased-CtrlL message then the new state of the DFA would be "0" and the events for KeyPressed-CtrlL and KeyReleased-CtrlL are sent to the XWin X-Server. Implementation: ========================================================= void winProcessKeyEvent (DWORD dwVirtualKey, DWORD dwKeyData) { static int iState = 0; /* initial State of DFA */ static int iCtrlCode = 0; /* initialized when first pressed... */ Bool fDown = ((dwKeyData & 0x80000000) == 0); Bool fExt = ((HIWORD(dwKeyData) & KF_EXTENDED) != 0); int iPreKeyCode = XK_VoidSymbol; Bool fCtrlUp, fCtrlDown, fMenuUp, fMenuDown; int iKeyCode, i; winTranslateKey (dwVirtualKey, dwKeyData, &iKeyCode); /* * determine the input for the DFA * (we use boolean indicators instead of an real alphabet) */ fCtrlUp = fCtrlDown = fMenuUp = fMenuDown = FALSE; if (dwVirtualKey == VK_CONTROL) { iCtrlCode = iKeyCode; /* save the scan code for VK_CONTROL */ if (fDown) fCtrlDown=TRUE; else fCtrlUp =TRUE; } else if (dwVirtualKey == VK_MENU && fExt) { if (fDown) fMenuDown=TRUE; else fMenuUp =TRUE; } #if CYGDEBUG ErrorF("winProcessKeyEvent: 0x%0x, 0x%0x\n",dwVirtualKey,dwKeyData); ErrorF("State=%d Input=0x%0x (%s) ",iState,dwVirtualKey,(fDown?"DOWN":"UP")); #endif switch (iState) { default: case 0 : if (fCtrlDown) { iState=1; iKeyCode=XK_VoidSymbol; } else { iState=0; } break; case 1 : if (fCtrlDown) { iState=1; } else if (fMenuDown) { iState=2; } else { iState=0; iPreKeyCode=iCtrlCode; } break; case 2 : if (fCtrlUp) { iState=3; } else if (fMenuUp) { iState=1; } else { iState=2; } break; case 3 : if (fCtrlDown) { iState=1; iKeyCode=XK_VoidSymbol; } else { iState=0; } break; } #if CYGDEBUG ErrorF(" -> State=%d", iState); if (iPreKeyCode != XK_VoidSymbol) ErrorF(" 0x%0x [0x0],",iPreKeyCode); ErrorF(" 0x%0x [0x%0x]\n",iKeyCode,dwKeyData); #endif if (iPreKeyCode != XK_VoidSymbol) winSendKeyEvent(iPreKeyCode,TRUE); if (iKeyCode != XK_VoidSymbol) for (i = 0; i < LOWORD(dwKeyData); ++i) winSendKeyEvent(iKeyCode, (dwKeyData & 0x80000000)==0); } Output of xev with the original XWin: ========================================================= KeyPress event, serial 22, synthetic NO, window 0xa00001, root 0x36, subw 0xa00002, time 249118172, (38,43), root:(591,66), state 0x0, keycode 37 (keysym 0xffe3, Control_L), same_screen YES, XLookupString gives 0 characters: "" KeyPress event, serial 22, synthetic NO, window 0xa00001, root 0x36, subw 0xa00002, time 249118172, (38,43), root:(591,66), state 0x4, keycode 113 (keysym 0xff7e, Mode_switch), same_screen YES, XLookupString gives 0 characters: "" KeyRelease event, serial 22, synthetic NO, window 0xa00001, root 0x36, subw 0xa00002, time 249118303, (38,43), root:(591,66), state 0x2004, keycode 37 (keysym 0xffe3, Control_L), same_screen YES, XLookupString gives 0 characters: "" KeyRelease event, serial 22, synthetic NO, window 0xa00001, root 0x36, subw 0xa00002, time 249118303, (38,43), root:(591,66), state 0x2000, keycode 113 (keysym 0xff7e, Mode_switch), same_screen YES, XLookupString gives 0 characters: "" KeyPress event, serial 22, synthetic NO, window 0xa00001, root 0x36, subw 0xa00002, time 249119024, (38,43), root:(591,66), state 0x0, keycode 38 (keysym 0x61, a), same_screen YES, XLookupString gives 1 characters: "a" .... KeyPress event, serial 22, synthetic NO, window 0xa00001, root 0x36, subw 0xa00002, time 249131181, (38,43), root:(591,66), state 0x0, keycode 37 (keysym 0xffe3, Control_L), same_screen YES, XLookupString gives 0 characters: "" KeyPress event, serial 22, synthetic NO, window 0xa00001, root 0x36, subw 0xa00002, time 249131191, (38,43), root:(591,66), state 0x4, keycode 113 (keysym 0xff7e, Mode_switch), same_screen YES, XLookupString gives 0 characters: "" KeyRelease event, serial 22, synthetic NO, window 0xa00001, root 0x36, subw 0xa00002, time 249131381, (38,43), root:(591,66), state 0x2004, keycode 113 (keysym 0xff7e, Mode_switch), same_screen YES, XLookupString gives 0 characters: "" KeyPress event, serial 22, synthetic NO, window 0xa00001, root 0x36, subw 0xa00002, time 249132383, (38,43), root:(591,66), state 0x4, keycode 38 (keysym 0x61, a), same_screen YES, XLookupString gives 1 characters: "" From cgf@redhat.com Sun Nov 3 09:26:00 2002 From: cgf@redhat.com (Christopher Faylor) Date: Sun, 03 Nov 2002 09:26:00 -0000 Subject: XWin.exe crashes In-Reply-To: References: Message-ID: <20021103172812.GA13849@redhat.com> On Sun, Nov 03, 2002 at 04:10:28PM +0100, Alexander Gottwald wrote: >Alexander Gottwald wrote: > >> Sven K?hler wrote: >> >> > good hint, now it works >> > why? what's the problem using text-mounts with XWin? >> >> either xkbcomp or XWin opens the file in the wrong mode (they do not >> specify if the data is binary or text) so it get's opened in the mode >> which was specified with mount. I've just fixed the line in XWin but >> have not tested if it fails too. But I guess it's xkbcomp which is the >> problem. > >xkbcomp was not aware of binary or text files. I've changed it and xkbcomp >now produces files with same length for binary and text mounts. Attached is >a patch for this. It also patches the Xserver to open the files in binmode. > >A test binary is available: >http://www-user.tu-chemnitz.de/~goal/xfree/xkbcomp.exe.bz2 >replace the one in /usr/X11R6/bin und /usr/X11R6/lib/X11/xkb or >/etc/X11/xkb Maybe everything in Cygwin/XFree86 should be linked with /usr/lib/binmode.o? cgf From lists@shemeshdirectory.co.il Sun Nov 3 10:30:00 2002 From: lists@shemeshdirectory.co.il (Lisi) Date: Sun, 03 Nov 2002 10:30:00 -0000 Subject: XWin.exe crashes In-Reply-To: References: Message-ID: <5.0.0.25.0.20021103201950.00a57d80@mail.shemeshdirectory.co.il> I just installed KDE-cygwin, and I haven't gotten it start properly. Based on the errors I'm getting and the FAQs I've read, the suggestion was to make sure the paths are mounted in binmode, which involves changing a registry key. Since I'd prefer not to do that, will this patch work for me as well? I am running Cygwin 1.3.13-2, XFree86 4.2.0-2, and KDE 2.2.2-b1 on Win 98. I realize I am not being very specific about the problem, I am not looking for a personalized solution (yet!) I just want to know if this solution might apply to KDE as well. Any other advice is appreciated as well. Thanks, -Lisi At 04:10 PM 11/3/02 +0100, Alexander Gottwald wrote: >Alexander Gottwald wrote: > > > Sven K?hler wrote: > > > > > good hint, now it works > > > why? what's the problem using text-mounts with XWin? > > > > either xkbcomp or XWin opens the file in the wrong mode (they do not > > specify if the data is binary or text) so it get's opened in the mode > > which was specified with mount. I've just fixed the line in XWin but > > have not tested if it fails too. But I guess it's xkbcomp which is the > > problem. > >xkbcomp was not aware of binary or text files. I've changed it and xkbcomp >now produces files with same length for binary and text mounts. Attached is >a patch for this. It also patches the Xserver to open the files in binmode. > >A test binary is available: >http://www-user.tu-chemnitz.de/~goal/xfree/xkbcomp.exe.bz2 >replace the one in /usr/X11R6/bin und /usr/X11R6/lib/X11/xkb or >/etc/X11/xkb > >If it still fails, please test the patched XWin.exe too >http://www-user.tu-chemnitz.de/~goal/xfree/XWin-binmode.exe.bz2 > >bye > ago > >NP: Blutengel - Schmerz 2 - Lust >-- > Alexander.Gottwald@informatik.tu-chemnitz.de > http://www.gotti.org ICQ: 126018723 From skoehler@upb.de Sun Nov 3 12:41:00 2002 From: skoehler@upb.de (=?ISO-8859-1?Q?Sven_K=F6hler?=) Date: Sun, 03 Nov 2002 12:41:00 -0000 Subject: XWin.exe crashes In-Reply-To: References: <5.0.0.25.0.20021103201950.00a57d80@mail.shemeshdirectory.co.il> Message-ID: <3DC58B20.5080801@upb.de> > I just installed KDE-cygwin, and I haven't gotten it start properly. > Based on the errors I'm getting and the FAQs I've read, the suggestion > was to make sure the paths are mounted in binmode, which involves > changing a registry key. Since I'd prefer not to do that, will this > patch work for me as well? you can use setup.exe to change back from textmode to binmode, but the problem is, that most of the programs won't be abled to read the text-files they've writte in textmode. Christopher Faylor always suggests linking with binmode.o - and i would recomm that too, for the KDE-cygwin project. i don't know, why they don't do it - perhaps because binmode.o is too unknown yet. but to request, that the user runs cygwin in binmode is not always possible, because migrating back from text- to binmode takes much time (you have to convert every text-file) From skoehler@upb.de Sun Nov 3 14:00:00 2002 From: skoehler@upb.de (=?ISO-8859-1?Q?Sven_K=F6hler?=) Date: Sun, 03 Nov 2002 14:00:00 -0000 Subject: XWin.exe crashes In-Reply-To: References: <5.0.0.25.0.20021103201950.00a57d80@mail.shemeshdirectory.co.il> Message-ID: <3DC58B20.5080801@upb.de> > I just installed KDE-cygwin, and I haven't gotten it start properly. > Based on the errors I'm getting and the FAQs I've read, the suggestion > was to make sure the paths are mounted in binmode, which involves > changing a registry key. Since I'd prefer not to do that, will this > patch work for me as well? you can use setup.exe to change back from textmode to binmode, but the problem is, that most of the programs won't be abled to read the text-files they've writte in textmode. Christopher Faylor always suggests linking with binmode.o - and i would recomm that too, for the KDE-cygwin project. i don't know, why they don't do it - perhaps because binmode.o is too unknown yet. but to request, that the user runs cygwin in binmode is not always possible, because migrating back from text- to binmode takes much time (you have to convert every text-file) From Alexander.Gottwald@s1999.tu-chemnitz.de Sun Nov 3 14:02:00 2002 From: Alexander.Gottwald@s1999.tu-chemnitz.de (Alexander Gottwald) Date: Sun, 03 Nov 2002 14:02:00 -0000 Subject: XWin.exe crashes In-Reply-To: <20021103172812.GA13849@redhat.com> Message-ID: Christopher Faylor wrote: > Maybe everything in Cygwin/XFree86 should be linked with /usr/lib/binmode.o? What about compilers (as xkbcomp) they read a textfile and write a binary file. What happens if input is textfile on text-mount (with CRLF) and the program does not check for \r as possible line ending. IMHO the better way is to fix the programs to use fopen(..,"rb") and O_BINARY. bye ago NP: Blutengel - Weg zu mir -- Alexander.Gottwald@informatik.tu-chemnitz.de http://www.gotti.org ICQ: 126018723 From Alexander.Gottwald@s1999.tu-chemnitz.de Sun Nov 3 15:04:00 2002 From: Alexander.Gottwald@s1999.tu-chemnitz.de (Alexander Gottwald) Date: Sun, 03 Nov 2002 15:04:00 -0000 Subject: XWin.exe crashes In-Reply-To: <5.0.0.25.0.20021103201950.00a57d80@mail.shemeshdirectory.co.il> Message-ID: Lisi wrote: > I just installed KDE-cygwin, and I haven't gotten it start properly. Based > on the errors I'm getting and the FAQs I've read, the suggestion was to > make sure the paths are mounted in binmode, which involves changing a > registry key. Since I'd prefer not to do that, will this patch work for me > as well? the binmode answers in the FAQ do refer to the fonts. The patch does not change anything in the fontreading code. So this patch will most likely not solve your problem. bye ago NP: Blutengel - My time -- Alexander.Gottwald@informatik.tu-chemnitz.de http://www.gotti.org ICQ: 126018723 From cgf@redhat.com Sun Nov 3 19:59:00 2002 From: cgf@redhat.com (Christopher Faylor) Date: Sun, 03 Nov 2002 19:59:00 -0000 Subject: XWin.exe crashes In-Reply-To: References: <20021103172812.GA13849@redhat.com> Message-ID: <20021103230618.GA22347@redhat.com> On Sun, Nov 03, 2002 at 11:00:09PM +0100, Alexander Gottwald wrote: >Christopher Faylor wrote: > >> Maybe everything in Cygwin/XFree86 should be linked with /usr/lib/binmode.o? > >What about compilers (as xkbcomp) they read a textfile and write a binary >file. What happens if input is textfile on text-mount (with CRLF) and the >program does not check for \r as possible line ending. /usr/lib/automode.o cgf From huntharo@msu.edu Sun Nov 3 20:16:00 2002 From: huntharo@msu.edu (Harold L Hunt II) Date: Sun, 03 Nov 2002 20:16:00 -0000 Subject: XWin.exe crashes In-Reply-To: <20021103230618.GA22347@redhat.com> References: <20021103172812.GA13849@redhat.com> <20021103230618.GA22347@redhat.com> Message-ID: <3DC5F058.1070700@msu.edu> Yup, automode.o is what XWin.exe has been linking with for quite some time now. This fixed all the problems with the fonts directory not being mounted in binmode. It would be a pain to change all X binaries to link automode.o, but we can easily change the few binaries that are known to have problems, like xkbcomp. Harold Christopher Faylor wrote: >On Sun, Nov 03, 2002 at 11:00:09PM +0100, Alexander Gottwald wrote: > > >>Christopher Faylor wrote: >> >> >> >>>Maybe everything in Cygwin/XFree86 should be linked with /usr/lib/binmode.o? >>> >>> >>What about compilers (as xkbcomp) they read a textfile and write a binary >>file. What happens if input is textfile on text-mount (with CRLF) and the >>program does not check for \r as possible line ending. >> >> > >/usr/lib/automode.o > >cgf > > From cgf@redhat.com Mon Nov 4 01:38:00 2002 From: cgf@redhat.com (Christopher Faylor) Date: Mon, 04 Nov 2002 01:38:00 -0000 Subject: XWin.exe crashes In-Reply-To: <3DC5F058.1070700@msu.edu> References: <20021103172812.GA13849@redhat.com> <20021103230618.GA22347@redhat.com> <3DC5F058.1070700@msu.edu> Message-ID: <20021104041805.GA17336@redhat.com> On Sun, Nov 03, 2002 at 10:58:16PM -0500, Harold L Hunt II wrote: >Yup, automode.o is what XWin.exe has been linking with for quite some >time now. This fixed all the problems with the fonts directory not >being mounted in binmode. It would be a pain to change all X binaries >to link automode.o, but we can easily change the few binaries that are >known to have problems, like xkbcomp. It didn't sound like the xkbcomp problem would be solved by linking with automode.o. Since that was reading a binary file, it would need to be linked with binmode.o. cgf -- Please do not send me personal email with cygwin questions or observations. Use the resources at http://cygwin.com/ . From lists@shemeshdirectory.co.il Mon Nov 4 02:39:00 2002 From: lists@shemeshdirectory.co.il (Lisi) Date: Mon, 04 Nov 2002 02:39:00 -0000 Subject: XWin.exe crashes In-Reply-To: <3DC58B20.5080801@upb.de> References: <5.0.0.25.0.20021103201950.00a57d80@mail.shemeshdirectory.co.il> Message-ID: <5.0.0.25.0.20021104113645.00a4dd30@mail.shemeshdirectory.co.il> At 09:46 PM 11/3/02 +0100, Sven K?hler wrote: >>I just installed KDE-cygwin, and I haven't gotten it start properly. >>Based on the errors I'm getting and the FAQs I've read, the suggestion >>was to make sure the paths are mounted in binmode, which involves >>changing a registry key. Since I'd prefer not to do that, will this >>patch work for me as well? > >you can use setup.exe to change back from textmode to binmode, but the >problem is, that most of the programs won't be abled to read the >text-files they've writte in textmode. How would I do this with setup? Which option is this, and do I have to reinstall everything (i.e. Cygwin, XFree86, individual packages, etc)? >Christopher Faylor always suggests linking with binmode.o - and i would >recomm that too, for the KDE-cygwin project. i don't know, why they don't >do it - perhaps because binmode.o is too unknown yet. > >but to request, that the user runs cygwin in binmode is not always >possible, because migrating back from text- to binmode takes much time >(you have to convert every text-file) Once it's been switched back to binmode, would files written after that be in binmode as well? Or would I continue to have a conflict? TIA, -Lisi From rasjidw@openminddev.net Mon Nov 4 03:05:00 2002 From: rasjidw@openminddev.net (Rasjid Wilcox) Date: Mon, 04 Nov 2002 03:05:00 -0000 Subject: XWin.exe crashes In-Reply-To: <5.0.0.25.0.20021104113645.00a4dd30@mail.shemeshdirectory.co.il> References: <5.0.0.25.0.20021103201950.00a57d80@mail.shemeshdirectory.co.il> <5.0.0.25.0.20021104113645.00a4dd30@mail.shemeshdirectory.co.il> Message-ID: <200211042139.36400.rasjidw@openminddev.net> On Mon, 4 Nov 2002 8:39 pm, Lisi wrote: > At 09:46 PM 11/3/02 +0100, Sven K??hler wrote: > >you can use setup.exe to change back from textmode to binmode, but the > >problem is, that most of the programs won't be abled to read the > >text-files they've writte in textmode. > > How would I do this with setup? Which option is this, and do I have to > reinstall everything (i.e. Cygwin, XFree86, individual packages, etc)? Just go through the normal install questions (probably best to choose your local cache as the Download Source), and choose 'Default Text File Type' = 'Unix'. At 'Select Packages' make sure you don't remove or add any packages. Setup will then proceed to install zero packages, but change the default mount mode for you. > >Christopher Faylor always suggests linking with binmode.o - and i would > >recomm that too, for the KDE-cygwin project. i don't know, why they don't > >do it - perhaps because binmode.o is too unknown yet. > > > >but to request, that the user runs cygwin in binmode is not always > >possible, because migrating back from text- to binmode takes much time > >(you have to convert every text-file) > > Once it's been switched back to binmode, would files written after that be > in binmode as well? Yes. So files written with vi under cygwin will not look so good in notepad. > Or would I continue to have a conflict? As Sven says, you will now possibly have the problem that files created while in text mode may not be able to be read correctly. Rasjid. From hj.beckers@kreis-steinfurt.de Mon Nov 4 04:26:00 2002 From: hj.beckers@kreis-steinfurt.de (hj.beckers@kreis-steinfurt.de) Date: Mon, 04 Nov 2002 04:26:00 -0000 Subject: German keyboard-file for Cygwin/Xfree? Message-ID: I can't get Xfree to work with a german keyboard. (The problems seems to sit in front of the keyboard.) As I'm connecting to IBMs AIX, I can't use the Xkb-Extensions. Xkeycaps generates an off-by-one keyboard (asdf -> sdfg) or an xmodmap-file, where the umlaut-keys still generate the brackets, even if the graphical display shows the correct umlauts. So: Could someone send me a working german .xmodmap-file off-list (hj.beckers at kreis-steinfurt.de)? One is enough ... Yours hjb From alexander.gottwald@s1999.tu-chemnitz.de Mon Nov 4 05:10:00 2002 From: alexander.gottwald@s1999.tu-chemnitz.de (Alexander Gottwald) Date: Mon, 04 Nov 2002 05:10:00 -0000 Subject: XWin.exe crashes In-Reply-To: <20021104041805.GA17336@redhat.com> Message-ID: On Sun, 3 Nov 2002, Christopher Faylor wrote: > It didn't sound like the xkbcomp problem would be solved by linking with > automode.o. Since that was reading a binary file, it would need to be > linked with binmode.o. xkbcomp is reading some textfiles and writes a binary file. bye ago -- Alexander.Gottwald@informatik.tu-chemnitz.de http://www.gotti.org ICQ: 126018723 From BrianGenisio@yahoo.com Mon Nov 4 05:23:00 2002 From: BrianGenisio@yahoo.com (Brian Genisio) Date: Mon, 04 Nov 2002 05:23:00 -0000 Subject: multiple windows References: <001a01c2782c$0a949900$5e05cf9b@pharm.auth.gr> Message-ID: <3DC67164.2020407@yahoo.com> Hmmmm... Are you running a window manager? It sounds like you are not. Try running twm (Tiny Window Manager) before you run anything else. There are lots of other window managers out there, but twm is packaged with the XFree86 cygwin package. Brian Kyriakos Kachrimanis wrote: > Dear list members, > > I want to start Xfree in multiple window mode. By default it starts as > single window and this causes some problems when I run the xgobi program > because several windows appear overlayed and I cannot move them aside. How > can I configure it to start in multiple windows? > My question may be too easy to bother this list, but I'm new to cygwin-xfree > and I couldn't find anything relevant on the mail archives or the user's > guide. > Thanks in advance, > Kyriakos Kachrimanis. > > From FRANZW@dk.ibm.com Mon Nov 4 06:47:00 2002 From: FRANZW@dk.ibm.com (Franz Wolfhagen) Date: Mon, 04 Nov 2002 06:47:00 -0000 Subject: German keyboard-file for Cygwin/Xfree? Message-ID: If you turn off your numlock before starting Xwin Xkbextensions works fine on AIX (at least here...) Med venlig hilsen / Regards Franz Wolfhagen >I can't get Xfree to work with a german keyboard. (The problems seems to >sit in front of the keyboard.) As I'm connecting to IBMs AIX, I can't use >the Xkb-Extensions. Xkeycaps generates an off-by-one keyboard (asdf -> >sdfg) or an xmodmap-file, where the umlaut-keys still generate the >brackets, >even if the graphical display shows the correct umlauts. > >So: Could someone send me a working german .xmodmap-file off-list >(hj.beckers at kreis-steinfurt.de)? One is enough ... From j_tetazoo@hotmail.com Mon Nov 4 07:18:00 2002 From: j_tetazoo@hotmail.com (Thomas Chadwick) Date: Mon, 04 Nov 2002 07:18:00 -0000 Subject: [ANNOUNCEMENT] Updated Cygwin/XFree86 Package: x2x-1.27-2 Message-ID: ANNOUCEMENT An update to the Cygwin/XFree86 package 'x2x' is now available. DESCRIPTION The usefulness of this utility will become apparent to anyone with a PC side-by-side with an *ix workstation. Simply bring up an XWindows session on each machine, run x2x on the PC, and use your PC's mouse and keyboard to control your *ix workstation's display. Works better and is cheaper than a KVM (Keyboard/Video/Mouse) switch. It also works much like a multi-headed X session. RELEASE HISTORY x2x-1.27-2 (current release): Bugfix and enhancement release. Changes are: 1) Fixed problem in which x2x consumes nearly 100% of the CPU. This was due to a problem in setting up a call to select(), which was causing it to be non-blocking. 2) Added some includes and cleaned-up some code to cut down on compiler warnings. 3) Added a whole new feature! Invoking x2d with a command-line flag of "-capslockhack"causes it to wrap Shift key Press/ Release events around alpha keystrokes. I discovered I needed this feature because the "to" display I have uses the state of CapsLock on its attached keyboard to determine if CapsLock is on (instead of obeying the CapsLock Press/Release keyboard events). x2x-1.27-1: Initial Release. Vendor code built and package as-is. KNOWN BUGS Doesn't "work" very well with the new rootless mode of XWin. I plan to fix this in a future release. INSTALLATION INSTRUCTIONS To update your installation, click on the "Install Cygwin now" link on the http://cygwin.com/ web page. This downloads setup.exe to your system. Save it and run setup, answer the questions and pick up 'x2x' from the 'XFree86' category. You may need to click the "Full" button if it doesn't show up. Note that downloads from sources.redhat.com (aka cygwin.com) aren't allowed due to bandwidth limitations. This means that you will need to find a mirror which has this update. In the US, ftp://archive.progeny.com/cygwin/ is a reliable high bandwidth connection. In Japan, ftp://ftp.u-aizu.ac.jp/pub/gnu/gnu-win32/ is usually up-to-date. In DK, http://mirrors.sunsite.dk/cygwin/ is usually up-to-date. If one of the above doesn't have the latest version of this package you can either wait for the site to be updated or find another mirror. Please send questions or comments to the Cygwin/XFree86 mailing list (mailto:cygwin-xfree@sources.redhat.com). If you want to subscribe go to http://cygwin.com/lists.html. I would appreciate it if you would use the mailing list rather than emailing me directly. This includes ideas and comments about the setup utility or Cygwin/XFree86 in general. If you want to make a point or ask a question, the Cygwin/XFree86 mailing list is the appropriate place. _________________________________________________________________ Protect your PC - get McAfee.com VirusScan Online http://clinic.mcafee.com/clinic/ibuy/campaign.asp?cid=3963 From jc.gervais@videotron.ca Mon Nov 4 07:41:00 2002 From: jc.gervais@videotron.ca (Jean-Claude Gervais) Date: Mon, 04 Nov 2002 07:41:00 -0000 Subject: [ANNOUNCEMENT] Updated Cygwin/XFree86 Package: x2x-1.27-2 In-Reply-To: Message-ID: <00aa01c28415$14cbdec0$6501a8c0@sprymusic.com> Great news Thomas, Um, since you know so much about dual-displays, maybe you could help me? I'm running Cygwin XFree on a machine inside which I have installed two video cards; this in effect creates a really large Windows desktop. I'm just wondering if you know of any way to get the Cygwin XFree display to either use the full desktop surface, or failing that, is there a way to get Cygwin XFree to start up on the right-hand side of the display, because it never seems to want to start on the second display... Thanks in advance. -----Original Message----- From: cygwin-xfree-owner@cygwin.com [mailto:cygwin-xfree-owner@cygwin.com]On Behalf Of Thomas Chadwick Sent: Monday, November 04, 2002 9:47 AM To: cygwin-xfree-announce@cygwin.com Cc: cygwin-xfree@cygwin.com Subject: [ANNOUNCEMENT] Updated Cygwin/XFree86 Package: x2x-1.27-2 ANNOUCEMENT An update to the Cygwin/XFree86 package 'x2x' is now available. DESCRIPTION The usefulness of this utility will become apparent to anyone with a PC side-by-side with an *ix workstation. Simply bring up an XWindows session on each machine, run x2x on the PC, and use your PC's mouse and keyboard to control your *ix workstation's display. Works better and is cheaper than a KVM (Keyboard/Video/Mouse) switch. It also works much like a multi-headed X session. RELEASE HISTORY x2x-1.27-2 (current release): Bugfix and enhancement release. Changes are: 1) Fixed problem in which x2x consumes nearly 100% of the CPU. This was due to a problem in setting up a call to select(), which was causing it to be non-blocking. 2) Added some includes and cleaned-up some code to cut down on compiler warnings. 3) Added a whole new feature! Invoking x2d with a command-line flag of "-capslockhack"causes it to wrap Shift key Press/ Release events around alpha keystrokes. I discovered I needed this feature because the "to" display I have uses the state of CapsLock on its attached keyboard to determine if CapsLock is on (instead of obeying the CapsLock Press/Release keyboard events). x2x-1.27-1: Initial Release. Vendor code built and package as-is. KNOWN BUGS Doesn't "work" very well with the new rootless mode of XWin. I plan to fix this in a future release. INSTALLATION INSTRUCTIONS To update your installation, click on the "Install Cygwin now" link on the http://cygwin.com/ web page. This downloads setup.exe to your system. Save it and run setup, answer the questions and pick up 'x2x' from the 'XFree86' category. You may need to click the "Full" button if it doesn't show up. Note that downloads from sources.redhat.com (aka cygwin.com) aren't allowed due to bandwidth limitations. This means that you will need to find a mirror which has this update. In the US, ftp://archive.progeny.com/cygwin/ is a reliable high bandwidth connection. In Japan, ftp://ftp.u-aizu.ac.jp/pub/gnu/gnu-win32/ is usually up-to-date. In DK, http://mirrors.sunsite.dk/cygwin/ is usually up-to-date. If one of the above doesn't have the latest version of this package you can either wait for the site to be updated or find another mirror. Please send questions or comments to the Cygwin/XFree86 mailing list (mailto:cygwin-xfree@sources.redhat.com). If you want to subscribe go to http://cygwin.com/lists.html. I would appreciate it if you would use the mailing list rather than emailing me directly. This includes ideas and comments about the setup utility or Cygwin/XFree86 in general. If you want to make a point or ask a question, the Cygwin/XFree86 mailing list is the appropriate place. _________________________________________________________________ Protect your PC - get McAfee.com VirusScan Online http://clinic.mcafee.com/clinic/ibuy/campaign.asp?cid=3963 From j_tetazoo@hotmail.com Mon Nov 4 07:49:00 2002 From: j_tetazoo@hotmail.com (Thomas Chadwick) Date: Mon, 04 Nov 2002 07:49:00 -0000 Subject: [ANNOUNCEMENT] Updated Cygwin/XFree86 Package: x2x-1.27-2 Message-ID: Sorry, can't help you. I don't have this type of setup, so I've never encountered the problem you are seeing. I know I've seen this very question posted to this mailing list in the past. Perhaps you can find the answer you seek by searching the archives? Tip: Try using google with "site:cygwin.com" as the last search term. >From: Jean-Claude Gervais >Reply-To: cygwin-xfree@cygwin.com >To: cygwin-xfree@cygwin.com >Subject: RE: [ANNOUNCEMENT] Updated Cygwin/XFree86 Package: x2x-1.27-2 >Date: Mon, 04 Nov 2002 10:15:58 -0500 >MIME-Version: 1.0 >Received: from sources.redhat.com ([209.249.29.67]) by >mc4-f19.law16.hotmail.com with Microsoft SMTPSVC(5.0.2195.5600); Mon, 4 Nov >2002 07:18:35 -0800 >Received: (qmail 28666 invoked by alias); 4 Nov 2002 15:18:28 -0000 >Received: (qmail 28589 invoked from network); 4 Nov 2002 15:18:27 -0000 >Received: from unknown (HELO VL-MS-MR002.sc1.videotron.ca) (24.201.245.36) >by sources.redhat.com with SMTP; 4 Nov 2002 15:18:27 -0000 >Received: from mercury ([24.200.89.140]) by VL-MS-MR002.sc1.videotron.ca >(iPlanet Messaging Server 5.2 HotFix 0.9 (built Jul 29 2002)) with SMTP id ><0H52002YJ552A7@VL-MS-MR002.sc1.videotron.ca> for cygwin-xfree@cygwin.com; >Mon, 04 Nov 2002 10:17:27 -0500 (EST) >Mailing-List: contact cygwin-xfree-help@cygwin.com; run by ezmlm >Precedence: bulk >List-Unsubscribe: > >List-Subscribe: >List-Archive: >List-Post: >List-Help: , > >Sender: cygwin-xfree-owner@cygwin.com >Mail-Followup-To: cygwin-xfree@cygwin.com >Delivered-To: mailing list cygwin-xfree@cygwin.com >In-reply-to: >Message-id: <00aa01c28415$14cbdec0$6501a8c0@sprymusic.com> >X-MIMEOLE: Produced By Microsoft MimeOLE V6.00.2800.1106 >Importance: Normal >X-Priority: 3 (Normal) >X-MSMail-priority: Normal >Return-Path: cygwin-xfree-return-12005-j_tetazoo=hotmail.com@cygwin.com >X-OriginalArrivalTime: 04 Nov 2002 15:18:35.0647 (UTC) >FILETIME=[71B210F0:01C28415] > >Great news Thomas, > > Um, since you know so much about dual-displays, maybe you could help me? > > I'm running Cygwin XFree on a machine inside which I have installed two >video cards; this in effect creates a really large Windows desktop. > > I'm just wondering if you know of any way to get the Cygwin XFree display >to either use the full desktop surface, or failing that, is there a way to >get Cygwin XFree to start up on the right-hand side of the display, because >it never seems to want to start on the second display... > >Thanks in advance. > > >-----Original Message----- >From: cygwin-xfree-owner@cygwin.com >[mailto:cygwin-xfree-owner@cygwin.com]On >Behalf Of Thomas Chadwick >Sent: Monday, November 04, 2002 9:47 AM >To: cygwin-xfree-announce@cygwin.com >Cc: cygwin-xfree@cygwin.com >Subject: [ANNOUNCEMENT] Updated Cygwin/XFree86 Package: x2x-1.27-2 > >ANNOUCEMENT > >An update to the Cygwin/XFree86 package 'x2x' is now available. > > >DESCRIPTION > >The usefulness of this utility will become apparent to anyone with a PC >side-by-side with an *ix workstation. Simply bring up an XWindows session >on each machine, run x2x on the PC, and use your PC's mouse and keyboard to >control your *ix workstation's display. Works better and is cheaper than a >KVM (Keyboard/Video/Mouse) switch. It also works much like a multi-headed >X >session. > > >RELEASE HISTORY > >x2x-1.27-2 (current release): > > Bugfix and enhancement release. Changes are: > > 1) Fixed problem in which x2x consumes nearly 100% of the CPU. > This was due to a problem in setting up a call to select(), > which was causing it to be non-blocking. > > 2) Added some includes and cleaned-up some code to cut down > on compiler warnings. > > 3) Added a whole new feature! Invoking x2d with a command-line > flag of "-capslockhack"causes it to wrap Shift key Press/ > Release events around alpha keystrokes. I discovered I > needed this feature because the "to" display I have uses the > state of CapsLock on its attached keyboard to determine if > CapsLock is on (instead of obeying the CapsLock Press/Release > keyboard events). > >x2x-1.27-1: > > Initial Release. Vendor code built and package as-is. > > >KNOWN BUGS > > Doesn't "work" very well with the new rootless mode of XWin. > I plan to fix this in a future release. > > >INSTALLATION INSTRUCTIONS > >To update your installation, click on the "Install Cygwin now" link on the >http://cygwin.com/ web page. This downloads setup.exe to your system. >Save >it and run setup, answer the questions and pick up 'x2x' from the 'XFree86' >category. You may need to click the "Full" button if it doesn't show up. > >Note that downloads from sources.redhat.com (aka cygwin.com) aren't allowed >due to bandwidth limitations. This means that you will need to find a >mirror which has this update. > >In the US, ftp://archive.progeny.com/cygwin/ is a reliable high bandwidth >connection. > >In Japan, ftp://ftp.u-aizu.ac.jp/pub/gnu/gnu-win32/ is usually up-to-date. > >In DK, http://mirrors.sunsite.dk/cygwin/ is usually up-to-date. > >If one of the above doesn't have the latest version of this package you can >either wait for the site to be updated or find another mirror. > >Please send questions or comments to the Cygwin/XFree86 mailing list >(mailto:cygwin-xfree@sources.redhat.com). If you want to subscribe go to >http://cygwin.com/lists.html. I would appreciate it if you would use the >mailing list rather than emailing me directly. This includes ideas and >comments about the setup utility or Cygwin/XFree86 in general. > >If you want to make a point or ask a question, the Cygwin/XFree86 mailing >list is the appropriate place. > > >_________________________________________________________________ >Protect your PC - get McAfee.com VirusScan Online >http://clinic.mcafee.com/clinic/ibuy/campaign.asp?cid=3963 _________________________________________________________________ Surf the Web without missing calls!??Get MSN Broadband. http://resourcecenter.msn.com/access/plans/freeactivation.asp From huntharo@msu.edu Mon Nov 4 07:54:00 2002 From: huntharo@msu.edu (Harold L Hunt II) Date: Mon, 04 Nov 2002 07:54:00 -0000 Subject: [ANNOUNCEMENT] Updated Cygwin/XFree86 Package: x2x-1.27-2 In-Reply-To: <00aa01c28415$14cbdec0$6501a8c0@sprymusic.com> References: <00aa01c28415$14cbdec0$6501a8c0@sprymusic.com> Message-ID: <3DC696F5.8020100@msu.edu> Jean-Claude, No, there is not way for Cygwin/XFree86 to use the entire area of the dual-display; that is pretty much a limitation of DirectDraw, if I recall correctly (I seem to remember that a surface can only span a single physical monitor). You could probably pass the ``-engine 1'' argument to use the GDI-based blitter, but that would still be limited to a single physical display because Cygwin/XFree86 trims the specified size to fit on the primary monitor. We would need some sort of new command-line argument to indicate that the specified size is not to be trimmed in anyway, or we could have a flag that says to use the entire virtual desktop size. I prefer the later. In any case, some coding will need to happen before your request can be realized. Harold Jean-Claude Gervais wrote: >Great news Thomas, > > Um, since you know so much about dual-displays, maybe you could help me? > > I'm running Cygwin XFree on a machine inside which I have installed two >video cards; this in effect creates a really large Windows desktop. > > I'm just wondering if you know of any way to get the Cygwin XFree display >to either use the full desktop surface, or failing that, is there a way to >get Cygwin XFree to start up on the right-hand side of the display, because >it never seems to want to start on the second display... > >Thanks in advance. > > >-----Original Message----- >From: cygwin-xfree-owner@cygwin.com [mailto:cygwin-xfree-owner@cygwin.com]On >Behalf Of Thomas Chadwick >Sent: Monday, November 04, 2002 9:47 AM >To: cygwin-xfree-announce@cygwin.com >Cc: cygwin-xfree@cygwin.com >Subject: [ANNOUNCEMENT] Updated Cygwin/XFree86 Package: x2x-1.27-2 > >ANNOUCEMENT > >An update to the Cygwin/XFree86 package 'x2x' is now available. > > >DESCRIPTION > >The usefulness of this utility will become apparent to anyone with a PC >side-by-side with an *ix workstation. Simply bring up an XWindows session >on each machine, run x2x on the PC, and use your PC's mouse and keyboard to >control your *ix workstation's display. Works better and is cheaper than a >KVM (Keyboard/Video/Mouse) switch. It also works much like a multi-headed X >session. > > >RELEASE HISTORY > >x2x-1.27-2 (current release): > > Bugfix and enhancement release. Changes are: > > 1) Fixed problem in which x2x consumes nearly 100% of the CPU. > This was due to a problem in setting up a call to select(), > which was causing it to be non-blocking. > > 2) Added some includes and cleaned-up some code to cut down > on compiler warnings. > > 3) Added a whole new feature! Invoking x2d with a command-line > flag of "-capslockhack"causes it to wrap Shift key Press/ > Release events around alpha keystrokes. I discovered I > needed this feature because the "to" display I have uses the > state of CapsLock on its attached keyboard to determine if > CapsLock is on (instead of obeying the CapsLock Press/Release > keyboard events). > >x2x-1.27-1: > > Initial Release. Vendor code built and package as-is. > > >KNOWN BUGS > > Doesn't "work" very well with the new rootless mode of XWin. > I plan to fix this in a future release. > > >INSTALLATION INSTRUCTIONS > >To update your installation, click on the "Install Cygwin now" link on the >http://cygwin.com/ web page. This downloads setup.exe to your system. Save >it and run setup, answer the questions and pick up 'x2x' from the 'XFree86' >category. You may need to click the "Full" button if it doesn't show up. > >Note that downloads from sources.redhat.com (aka cygwin.com) aren't allowed >due to bandwidth limitations. This means that you will need to find a >mirror which has this update. > >In the US, ftp://archive.progeny.com/cygwin/ is a reliable high bandwidth >connection. > >In Japan, ftp://ftp.u-aizu.ac.jp/pub/gnu/gnu-win32/ is usually up-to-date. > >In DK, http://mirrors.sunsite.dk/cygwin/ is usually up-to-date. > >If one of the above doesn't have the latest version of this package you can >either wait for the site to be updated or find another mirror. > >Please send questions or comments to the Cygwin/XFree86 mailing list >(mailto:cygwin-xfree@sources.redhat.com). If you want to subscribe go to >http://cygwin.com/lists.html. I would appreciate it if you would use the >mailing list rather than emailing me directly. This includes ideas and >comments about the setup utility or Cygwin/XFree86 in general. > >If you want to make a point or ask a question, the Cygwin/XFree86 mailing >list is the appropriate place. > > >_________________________________________________________________ >Protect your PC - get McAfee.com VirusScan Online >http://clinic.mcafee.com/clinic/ibuy/campaign.asp?cid=3963 > > > From cgf@redhat.com Mon Nov 4 08:07:00 2002 From: cgf@redhat.com (Christopher Faylor) Date: Mon, 04 Nov 2002 08:07:00 -0000 Subject: XWin.exe crashes In-Reply-To: References: <20021104041805.GA17336@redhat.com> Message-ID: <20021104155650.GA25557@redhat.com> On Mon, Nov 04, 2002 at 01:26:36PM +0100, Alexander Gottwald wrote: >On Sun, 3 Nov 2002, Christopher Faylor wrote: > >> It didn't sound like the xkbcomp problem would be solved by linking with >> automode.o. Since that was reading a binary file, it would need to be >> linked with binmode.o. > >xkbcomp is reading some textfiles and writes a binary file. I thought your patch only added a "b" to reads and writes which would indicate that it needed to operate entirely in "binmode". However, I see that in some cases, it doesn't add the "b". Not sure why. This seems to be the opposite of what you're implying though. cgf Index: programs/Xserver/xkb/ddxLoad.c =================================================================== RCS file: /cvs/xc/programs/Xserver/xkb/ddxLoad.c,v retrieving revision 3.30 diff -u -r3.30 ddxLoad.c --- programs/Xserver/xkb/ddxLoad.c 2002/05/31 18:46:06 3.30 +++ programs/Xserver/xkb/ddxLoad.c 2002/11/03 12:29:17 @@ -413,7 +413,7 @@ else if (strlen(xkm_output_dir)+strlen(mapName)+5 <= PATH_MAX) sprintf(buf,"%s%s.xkm",xkm_output_dir,mapName); if (buf[0] != '\0') - file= fopen(buf,"r"); + file= fopen(buf,"rb"); else file= NULL; } else file= NULL; Index: programs/xkbcomp/xkbcomp.c =================================================================== RCS file: /cvs/xc/programs/xkbcomp/xkbcomp.c,v retrieving revision 3.17 diff -u -r3.17 xkbcomp.c --- programs/xkbcomp/xkbcomp.c 2002/06/05 00:00:37 3.17 +++ programs/xkbcomp/xkbcomp.c 2002/11/03 14:57:04 @@ -873,16 +873,30 @@ * -- Branden Robinson */ int outputFileFd; + int binMode = 0; + const char *openMode = "w"; unlink(outputFile); +#ifdef O_BINARY + switch (outputFormat) { + case WANT_XKM_FILE: + binMode = O_BINARY; + openMode = "wb"; + break; + default: + binMode = 0; + break; + } +#endif outputFileFd= open(outputFile, O_WRONLY|O_CREAT|O_EXCL, - S_IRUSR|S_IWUSR|S_IRGRP|S_IWGRP|S_IROTH|S_IWOTH); + S_IRUSR|S_IWUSR|S_IRGRP|S_IWGRP|S_IROTH|S_IWOTH|binMode); if (outputFileFd<0) { ERROR1("Cannot open \"%s\" to write keyboard description\n", outputFile); ACTION("Exiting\n"); exit(1); } - out= fdopen(outputFileFd, "w"); + + out= fdopen(outputFileFd, openMode); /* end BR */ if (out==NULL) { ERROR1("Cannot open \"%s\" to write keyboard description\n", From huntharo@msu.edu Mon Nov 4 08:15:00 2002 From: huntharo@msu.edu (Harold L Hunt II) Date: Mon, 04 Nov 2002 08:15:00 -0000 Subject: Fun weekend Message-ID: <3DC69B4F.9050505@msu.edu> This weekend was interesting. On Saturday I picked up a Samsung SyncMaster 191T, using the funds that have been donated by the generous Cygwin/XFree86 supporters (I also chipped in a substantial amount of money on my own, for anyone keeping score :) This gives me a nice readable display and it replaces the hideous 15 inch LCD that I had caused two permanent vertical lines (one blue, one yellow) by not wiping off the windex before it ran down under the bezel (stupid, stupid me). I hated looking at the monitor because it reminded me of my own stupidity. :) I then ran back to the store and picked up an ATI All In Wonder Radeon 8500 DV since it has a DVI-I output. This was necessary because I was getting some interference patterns when running in 1280x1024 with the analog DB-15 input. The DVI input cleared up the interference completely and my display is now beautifuly. However, getting the display to work perfectly took about 8 hours, as it was dropping frames when playing DVDs (the motion was extremely jerky) and recording video was dropping tons of frames as well. I was misled by the ATI documentation and utilities into thinking that this was either due to a misconfiguration of the hard drive interface (i.e., UDMA may not be enabled) or due to a poorly synchronized clock on my sound card (which is used for decoding the audio). I stumbled upon the correct solution, more on that below, after an entire day of poking around. I thought that the solution was the hard drive drivers, but I was wrong. Anyway, on Sunday morning I booted up the machine, after having spent all of Saturday and Saturday night until 3:00 AM configuring it. Windows reported that WINNT\SYSTEM32\CONFIG\SYSTEM could not be found. Great. I ran setup to a repair, but setup could not find my Windows installation. So, I ran the recovery console. All of my data was still there, but chkdsk reported errors. This totally agrees with the fact that running some executables over the past two weeks would completely lock the machine. These executables were most likely corrupt. In any case, I needed a new hard drive. (Luckily, I could copy data from the damaged drive to the Zip drive). I returned to the store again and bought an 80 GB Western Digital HD. I reinstalled Windows 2000, only to find that the drive letter assigned to the new drive was F and the old drive was C. So, I changed the old drive to C, and reinstalled Windows 2000 again (since it will not let you change the drive letter of the boot drive, yay). Now the new drive was C and the old drive was D, perfect. I then copied over all of my data. Thank god none of that was lost. Unfortunately, I had lost the entire weekend due to computer troubles. As for the video problems, I would have known exactly what was wrong had I tried to run XWin.exe at any point during my attempts to fix the jerky DVDs and video recording. The first time I ran XWin.exe after setting up the new hard drive, I noticed that the X background took about 4 seconds to draw, and directory listings were visibly crawling. This new card was 10 times slower than my old card when using the DirectDraw engines; the GDI engine, on the other hand, ran very quickly. So, I uninstalled my graphics card drivers (keeping the Hardware Manager applet open, otherwise this does not work), then reran the setup.exe for the updated ATI drivers that I had downloaded. I then rebooted the machine and the DirectDraw engines were as blazingly fast as expected. The problems with the DVD playback and video recording were also fixed. I had originally installed the downloaded drivers, thinking that they would not be overwritten with an older version when I installed the ATI software from the enclosed CD-ROM, but the drivers were, in fact, overwritten with an older version. That older version has terrible performance. The newer version is amazing. In sum total, I now have a machine that I can actually stand to use for programming again. You could probably chart my fall-off in involvement with Cygwin/XFree86 and notice that it has only been happening since I damanaged my monitor. Now that I have a normal monitor, I expect to get a little patching done now and then. Thanks once again to all of those who have contributed (source code, donations, anything) to the Cygwin/XFree86 project! Harold From j_tetazoo@hotmail.com Mon Nov 4 08:18:00 2002 From: j_tetazoo@hotmail.com (Thomas Chadwick) Date: Mon, 04 Nov 2002 08:18:00 -0000 Subject: [ANNOUNCEMENT] Updated Cygwin/XFree86 Package: x2x-1.27-2 Message-ID: For kicks, I did some poking around at http://msdn.microsoft.com by searching on "multiple monitors". Found lots of good reading. You might want to do the same. I noticed a hint that said something to the effect of "an application will try to create its window on the same monitor on which it's shortcut is located". What happens if you run startxwin.bat via a shortcut on the secondary monitor? >From: Harold L Hunt II >Reply-To: cygwin-xfree@cygwin.com >To: cygwin-xfree@cygwin.com >Subject: Re: [ANNOUNCEMENT] Updated Cygwin/XFree86 Package: x2x-1.27-2 >Date: Mon, 04 Nov 2002 10:49:09 -0500 >MIME-Version: 1.0 >Received: from sources.redhat.com ([209.249.29.67]) by >mc3-f41.law16.hotmail.com with Microsoft SMTPSVC(5.0.2195.5600); Mon, 4 Nov >2002 07:51:18 -0800 >Received: (qmail 24961 invoked by alias); 4 Nov 2002 15:49:16 -0000 >Received: (qmail 24899 invoked from network); 4 Nov 2002 15:49:15 -0000 >Received: from unknown (HELO sargasso.cse.msu.edu) (35.9.20.10) by >sources.redhat.com with SMTP; 4 Nov 2002 15:49:15 -0000 >Received: from msu.edu (ajboggs.tcimet.net [198.109.162.133])by >sargasso.cse.msu.edu (8.12.5/8.12.5) with ESMTP id gA4Fn9fF024848for >; Mon, 4 Nov 2002 10:49:09 -0500 (EST) >Mailing-List: contact cygwin-xfree-help@cygwin.com; run by ezmlm >Precedence: bulk >List-Unsubscribe: > >List-Subscribe: >List-Archive: >List-Post: >List-Help: , > >Sender: cygwin-xfree-owner@cygwin.com >Mail-Followup-To: cygwin-xfree@cygwin.com >Delivered-To: mailing list cygwin-xfree@cygwin.com >Message-ID: <3DC696F5.8020100@msu.edu> >User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.2b) >Gecko/20021014 >X-Accept-Language: en-us, en >References: <00aa01c28415$14cbdec0$6501a8c0@sprymusic.com> >In-Reply-To: <00aa01c28415$14cbdec0$6501a8c0@sprymusic.com> >Return-Path: cygwin-xfree-return-12007-j_tetazoo=hotmail.com@cygwin.com >X-OriginalArrivalTime: 04 Nov 2002 15:51:18.0726 (UTC) >FILETIME=[03C82660:01C2841A] > >Jean-Claude, > >No, there is not way for Cygwin/XFree86 to use the entire area of the >dual-display; that is pretty much a limitation of DirectDraw, if I recall >correctly (I seem to remember that a surface can only span a single >physical monitor). You could probably pass the ``-engine 1'' argument to >use the GDI-based blitter, but that would still be limited to a single >physical display because Cygwin/XFree86 trims the specified size to fit on >the primary monitor. We would need some sort of new command-line argument >to indicate that the specified size is not to be trimmed in anyway, or we >could have a flag that says to use the entire virtual desktop size. I >prefer the later. > >In any case, some coding will need to happen before your request can be >realized. > >Harold > >Jean-Claude Gervais wrote: > >>Great news Thomas, >> >> Um, since you know so much about dual-displays, maybe you could help me? >> >> I'm running Cygwin XFree on a machine inside which I have installed two >>video cards; this in effect creates a really large Windows desktop. >> >> I'm just wondering if you know of any way to get the Cygwin XFree display >>to either use the full desktop surface, or failing that, is there a way to >>get Cygwin XFree to start up on the right-hand side of the display, >>because >>it never seems to want to start on the second display... >> >>Thanks in advance. >> >> >>-----Original Message----- >>From: cygwin-xfree-owner@cygwin.com >>[mailto:cygwin-xfree-owner@cygwin.com]On >>Behalf Of Thomas Chadwick >>Sent: Monday, November 04, 2002 9:47 AM >>To: cygwin-xfree-announce@cygwin.com >>Cc: cygwin-xfree@cygwin.com >>Subject: [ANNOUNCEMENT] Updated Cygwin/XFree86 Package: x2x-1.27-2 >> >>ANNOUCEMENT >> >>An update to the Cygwin/XFree86 package 'x2x' is now available. >> >> >>DESCRIPTION >> >>The usefulness of this utility will become apparent to anyone with a PC >>side-by-side with an *ix workstation. Simply bring up an XWindows session >>on each machine, run x2x on the PC, and use your PC's mouse and keyboard >>to >>control your *ix workstation's display. Works better and is cheaper than >>a >>KVM (Keyboard/Video/Mouse) switch. It also works much like a multi-headed >>X >>session. >> >> >>RELEASE HISTORY >> >>x2x-1.27-2 (current release): >> >> Bugfix and enhancement release. Changes are: >> >> 1) Fixed problem in which x2x consumes nearly 100% of the CPU. >> This was due to a problem in setting up a call to select(), >> which was causing it to be non-blocking. >> >> 2) Added some includes and cleaned-up some code to cut down >> on compiler warnings. >> >> 3) Added a whole new feature! Invoking x2d with a command-line >> flag of "-capslockhack"causes it to wrap Shift key Press/ >> Release events around alpha keystrokes. I discovered I >> needed this feature because the "to" display I have uses the >> state of CapsLock on its attached keyboard to determine if >> CapsLock is on (instead of obeying the CapsLock Press/Release >> keyboard events). >> >>x2x-1.27-1: >> >> Initial Release. Vendor code built and package as-is. >> >> >>KNOWN BUGS >> >> Doesn't "work" very well with the new rootless mode of XWin. >> I plan to fix this in a future release. >> >> >>INSTALLATION INSTRUCTIONS >> >>To update your installation, click on the "Install Cygwin now" link on the >>http://cygwin.com/ web page. This downloads setup.exe to your system. >>Save >>it and run setup, answer the questions and pick up 'x2x' from the >>'XFree86' >>category. You may need to click the "Full" button if it doesn't show up. >> >>Note that downloads from sources.redhat.com (aka cygwin.com) aren't >>allowed >>due to bandwidth limitations. This means that you will need to find a >>mirror which has this update. >> >>In the US, ftp://archive.progeny.com/cygwin/ is a reliable high bandwidth >>connection. >> >>In Japan, ftp://ftp.u-aizu.ac.jp/pub/gnu/gnu-win32/ is usually up-to-date. >> >>In DK, http://mirrors.sunsite.dk/cygwin/ is usually up-to-date. >> >>If one of the above doesn't have the latest version of this package you >>can >>either wait for the site to be updated or find another mirror. >> >>Please send questions or comments to the Cygwin/XFree86 mailing list >>(mailto:cygwin-xfree@sources.redhat.com). If you want to subscribe go to >>http://cygwin.com/lists.html. I would appreciate it if you would use the >>mailing list rather than emailing me directly. This includes ideas and >>comments about the setup utility or Cygwin/XFree86 in general. >> >>If you want to make a point or ask a question, the Cygwin/XFree86 mailing >>list is the appropriate place. >> >> >>_________________________________________________________________ >>Protect your PC - get McAfee.com VirusScan Online >>http://clinic.mcafee.com/clinic/ibuy/campaign.asp?cid=3963 >> >> >> _________________________________________________________________ Get a speedy connection with MSN Broadband.?? Join now! http://resourcecenter.msn.com/access/plans/freeactivation.asp From j_tetazoo@hotmail.com Mon Nov 4 09:06:00 2002 From: j_tetazoo@hotmail.com (Thomas Chadwick) Date: Mon, 04 Nov 2002 09:06:00 -0000 Subject: [ANNOUNCEMENT] Updated Cygwin/XFree86 Package: x2x-1.27-2 Message-ID: By the way, this reponse was directed at Jean-Claude, not you, Harold. >From: "Thomas Chadwick" >Reply-To: cygwin-xfree@cygwin.com >To: cygwin-xfree@cygwin.com >Subject: Re: [ANNOUNCEMENT] Updated Cygwin/XFree86 Package: x2x-1.27-2 >Date: Mon, 04 Nov 2002 11:15:09 -0500 > >For kicks, I did some poking around at http://msdn.microsoft.com by >searching on "multiple monitors". Found lots of good reading. You might >want to do the same. > >I noticed a hint that said something to the effect of "an application will >try to create its window on the same monitor on which it's shortcut is >located". > >What happens if you run startxwin.bat via a shortcut on the secondary >monitor? > >>From: Harold L Hunt II >>Reply-To: cygwin-xfree@cygwin.com >>To: cygwin-xfree@cygwin.com >>Subject: Re: [ANNOUNCEMENT] Updated Cygwin/XFree86 Package: x2x-1.27-2 >>Date: Mon, 04 Nov 2002 10:49:09 -0500 >>MIME-Version: 1.0 >>Received: from sources.redhat.com ([209.249.29.67]) by >>mc3-f41.law16.hotmail.com with Microsoft SMTPSVC(5.0.2195.5600); Mon, 4 >>Nov 2002 07:51:18 -0800 >>Received: (qmail 24961 invoked by alias); 4 Nov 2002 15:49:16 -0000 >>Received: (qmail 24899 invoked from network); 4 Nov 2002 15:49:15 -0000 >>Received: from unknown (HELO sargasso.cse.msu.edu) (35.9.20.10) by >>sources.redhat.com with SMTP; 4 Nov 2002 15:49:15 -0000 >>Received: from msu.edu (ajboggs.tcimet.net [198.109.162.133])by >>sargasso.cse.msu.edu (8.12.5/8.12.5) with ESMTP id gA4Fn9fF024848for >>; Mon, 4 Nov 2002 10:49:09 -0500 (EST) >>Mailing-List: contact cygwin-xfree-help@cygwin.com; run by ezmlm >>Precedence: bulk >>List-Unsubscribe: >> >>List-Subscribe: >>List-Archive: >>List-Post: >>List-Help: , >> >>Sender: cygwin-xfree-owner@cygwin.com >>Mail-Followup-To: cygwin-xfree@cygwin.com >>Delivered-To: mailing list cygwin-xfree@cygwin.com >>Message-ID: <3DC696F5.8020100@msu.edu> >>User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.2b) >>Gecko/20021014 >>X-Accept-Language: en-us, en >>References: <00aa01c28415$14cbdec0$6501a8c0@sprymusic.com> >>In-Reply-To: <00aa01c28415$14cbdec0$6501a8c0@sprymusic.com> >>Return-Path: cygwin-xfree-return-12007-j_tetazoo=hotmail.com@cygwin.com >>X-OriginalArrivalTime: 04 Nov 2002 15:51:18.0726 (UTC) >>FILETIME=[03C82660:01C2841A] >> >>Jean-Claude, >> >>No, there is not way for Cygwin/XFree86 to use the entire area of the >>dual-display; that is pretty much a limitation of DirectDraw, if I recall >>correctly (I seem to remember that a surface can only span a single >>physical monitor). You could probably pass the ``-engine 1'' argument to >>use the GDI-based blitter, but that would still be limited to a single >>physical display because Cygwin/XFree86 trims the specified size to fit on >>the primary monitor. We would need some sort of new command-line argument >>to indicate that the specified size is not to be trimmed in anyway, or we >>could have a flag that says to use the entire virtual desktop size. I >>prefer the later. >> >>In any case, some coding will need to happen before your request can be >>realized. >> >>Harold >> >>Jean-Claude Gervais wrote: >> >>>Great news Thomas, >>> >>> Um, since you know so much about dual-displays, maybe you could help me? >>> >>> I'm running Cygwin XFree on a machine inside which I have installed two >>>video cards; this in effect creates a really large Windows desktop. >>> >>> I'm just wondering if you know of any way to get the Cygwin XFree >>>display >>>to either use the full desktop surface, or failing that, is there a way >>>to >>>get Cygwin XFree to start up on the right-hand side of the display, >>>because >>>it never seems to want to start on the second display... >>> >>>Thanks in advance. >>> >>> >>>-----Original Message----- >>>From: cygwin-xfree-owner@cygwin.com >>>[mailto:cygwin-xfree-owner@cygwin.com]On >>>Behalf Of Thomas Chadwick >>>Sent: Monday, November 04, 2002 9:47 AM >>>To: cygwin-xfree-announce@cygwin.com >>>Cc: cygwin-xfree@cygwin.com >>>Subject: [ANNOUNCEMENT] Updated Cygwin/XFree86 Package: x2x-1.27-2 >>> >>>ANNOUCEMENT >>> >>>An update to the Cygwin/XFree86 package 'x2x' is now available. >>> >>> >>>DESCRIPTION >>> >>>The usefulness of this utility will become apparent to anyone with a PC >>>side-by-side with an *ix workstation. Simply bring up an XWindows >>>session >>>on each machine, run x2x on the PC, and use your PC's mouse and keyboard >>>to >>>control your *ix workstation's display. Works better and is cheaper than >>>a >>>KVM (Keyboard/Video/Mouse) switch. It also works much like a >>>multi-headed X >>>session. >>> >>> >>>RELEASE HISTORY >>> >>>x2x-1.27-2 (current release): >>> >>> Bugfix and enhancement release. Changes are: >>> >>> 1) Fixed problem in which x2x consumes nearly 100% of the CPU. >>> This was due to a problem in setting up a call to select(), >>> which was causing it to be non-blocking. >>> >>> 2) Added some includes and cleaned-up some code to cut down >>> on compiler warnings. >>> >>> 3) Added a whole new feature! Invoking x2d with a command-line >>> flag of "-capslockhack"causes it to wrap Shift key Press/ >>> Release events around alpha keystrokes. I discovered I >>> needed this feature because the "to" display I have uses the >>> state of CapsLock on its attached keyboard to determine if >>> CapsLock is on (instead of obeying the CapsLock Press/Release >>> keyboard events). >>> >>>x2x-1.27-1: >>> >>> Initial Release. Vendor code built and package as-is. >>> >>> >>>KNOWN BUGS >>> >>> Doesn't "work" very well with the new rootless mode of XWin. >>> I plan to fix this in a future release. >>> >>> >>>INSTALLATION INSTRUCTIONS >>> >>>To update your installation, click on the "Install Cygwin now" link on >>>the >>>http://cygwin.com/ web page. This downloads setup.exe to your system. >>>Save >>>it and run setup, answer the questions and pick up 'x2x' from the >>>'XFree86' >>>category. You may need to click the "Full" button if it doesn't show up. >>> >>>Note that downloads from sources.redhat.com (aka cygwin.com) aren't >>>allowed >>>due to bandwidth limitations. This means that you will need to find a >>>mirror which has this update. >>> >>>In the US, ftp://archive.progeny.com/cygwin/ is a reliable high bandwidth >>>connection. >>> >>>In Japan, ftp://ftp.u-aizu.ac.jp/pub/gnu/gnu-win32/ is usually >>>up-to-date. >>> >>>In DK, http://mirrors.sunsite.dk/cygwin/ is usually up-to-date. >>> >>>If one of the above doesn't have the latest version of this package you >>>can >>>either wait for the site to be updated or find another mirror. >>> >>>Please send questions or comments to the Cygwin/XFree86 mailing list >>>(mailto:cygwin-xfree@sources.redhat.com). If you want to subscribe go to >>>http://cygwin.com/lists.html. I would appreciate it if you would use the >>>mailing list rather than emailing me directly. This includes ideas and >>>comments about the setup utility or Cygwin/XFree86 in general. >>> >>>If you want to make a point or ask a question, the Cygwin/XFree86 mailing >>>list is the appropriate place. >>> >>> >>>_________________________________________________________________ >>>Protect your PC - get McAfee.com VirusScan Online >>>http://clinic.mcafee.com/clinic/ibuy/campaign.asp?cid=3963 >>> >>> >>> > > >_________________________________________________________________ >Get a speedy connection with MSN Broadband.?? Join now! >http://resourcecenter.msn.com/access/plans/freeactivation.asp _________________________________________________________________ Get a speedy connection with MSN Broadband.?? Join now! http://resourcecenter.msn.com/access/plans/freeactivation.asp From jc.gervais@videotron.ca Mon Nov 4 09:11:00 2002 From: jc.gervais@videotron.ca (Jean-Claude Gervais) Date: Mon, 04 Nov 2002 09:11:00 -0000 Subject: Fun weekend In-Reply-To: <3DC69B4F.9050505@msu.edu> Message-ID: <00b201c28424$3f6f67f0$6501a8c0@sprymusic.com> Really cool post-mortem Harold! I've also got an 80GB HD (UDMA) and a Radeon All-In-Wonder (but the older model) And yeah, been there, done that too! When Windows gets in a funk like that, there isn't a whole lot to do. If I remember correctly though, you can run Regedit in DOS mode and make changes to the registry. At least you could, some time ago; MS had built Regedit with a DOS-mode stub that could spit the registry out to a textfile or read a text file and apply the changes in it to the system registry. This stub is usually a little program that says "This program requires Microsoft Windows to run", but you can actually use a different stub (of your own creation) if you want to when you build your app. Anyhow, I'm not sure if even that could have saved you :-O -----Original Message----- From: cygwin-xfree-owner@cygwin.com [mailto:cygwin-xfree-owner@cygwin.com]On Behalf Of Harold L Hunt II Sent: Monday, November 04, 2002 11:08 AM To: cygwin-xfree@cygwin.com Subject: Fun weekend This weekend was interesting. On Saturday I picked up a Samsung SyncMaster 191T, using the funds that have been donated by the generous Cygwin/XFree86 supporters (I also chipped in a substantial amount of money on my own, for anyone keeping score :) This gives me a nice readable display and it replaces the hideous 15 inch LCD that I had caused two permanent vertical lines (one blue, one yellow) by not wiping off the windex before it ran down under the bezel (stupid, stupid me). I hated looking at the monitor because it reminded me of my own stupidity. :) I then ran back to the store and picked up an ATI All In Wonder Radeon 8500 DV since it has a DVI-I output. This was necessary because I was getting some interference patterns when running in 1280x1024 with the analog DB-15 input. The DVI input cleared up the interference completely and my display is now beautifuly. However, getting the display to work perfectly took about 8 hours, as it was dropping frames when playing DVDs (the motion was extremely jerky) and recording video was dropping tons of frames as well. I was misled by the ATI documentation and utilities into thinking that this was either due to a misconfiguration of the hard drive interface (i.e., UDMA may not be enabled) or due to a poorly synchronized clock on my sound card (which is used for decoding the audio). I stumbled upon the correct solution, more on that below, after an entire day of poking around. I thought that the solution was the hard drive drivers, but I was wrong. Anyway, on Sunday morning I booted up the machine, after having spent all of Saturday and Saturday night until 3:00 AM configuring it. Windows reported that WINNT\SYSTEM32\CONFIG\SYSTEM could not be found. Great. I ran setup to a repair, but setup could not find my Windows installation. So, I ran the recovery console. All of my data was still there, but chkdsk reported errors. This totally agrees with the fact that running some executables over the past two weeks would completely lock the machine. These executables were most likely corrupt. In any case, I needed a new hard drive. (Luckily, I could copy data from the damaged drive to the Zip drive). I returned to the store again and bought an 80 GB Western Digital HD. I reinstalled Windows 2000, only to find that the drive letter assigned to the new drive was F and the old drive was C. So, I changed the old drive to C, and reinstalled Windows 2000 again (since it will not let you change the drive letter of the boot drive, yay). Now the new drive was C and the old drive was D, perfect. I then copied over all of my data. Thank god none of that was lost. Unfortunately, I had lost the entire weekend due to computer troubles. As for the video problems, I would have known exactly what was wrong had I tried to run XWin.exe at any point during my attempts to fix the jerky DVDs and video recording. The first time I ran XWin.exe after setting up the new hard drive, I noticed that the X background took about 4 seconds to draw, and directory listings were visibly crawling. This new card was 10 times slower than my old card when using the DirectDraw engines; the GDI engine, on the other hand, ran very quickly. So, I uninstalled my graphics card drivers (keeping the Hardware Manager applet open, otherwise this does not work), then reran the setup.exe for the updated ATI drivers that I had downloaded. I then rebooted the machine and the DirectDraw engines were as blazingly fast as expected. The problems with the DVD playback and video recording were also fixed. I had originally installed the downloaded drivers, thinking that they would not be overwritten with an older version when I installed the ATI software from the enclosed CD-ROM, but the drivers were, in fact, overwritten with an older version. That older version has terrible performance. The newer version is amazing. In sum total, I now have a machine that I can actually stand to use for programming again. You could probably chart my fall-off in involvement with Cygwin/XFree86 and notice that it has only been happening since I damanaged my monitor. Now that I have a normal monitor, I expect to get a little patching done now and then. Thanks once again to all of those who have contributed (source code, donations, anything) to the Cygwin/XFree86 project! Harold From huntharo@msu.edu Mon Nov 4 09:16:00 2002 From: huntharo@msu.edu (Harold L Hunt II) Date: Mon, 04 Nov 2002 09:16:00 -0000 Subject: [ANNOUNCEMENT] Updated Cygwin/XFree86 Package: x2x-1.27-2 In-Reply-To: References: Message-ID: <3DC6AA33.4090806@msu.edu> Thomas, Heh... I read your response and figured that you were not talking to me :) Harold Thomas Chadwick wrote: > By the way, this reponse was directed at Jean-Claude, not you, Harold. > >> From: "Thomas Chadwick" >> Reply-To: cygwin-xfree@cygwin.com >> To: cygwin-xfree@cygwin.com >> Subject: Re: [ANNOUNCEMENT] Updated Cygwin/XFree86 Package: x2x-1.27-2 >> Date: Mon, 04 Nov 2002 11:15:09 -0500 >> >> For kicks, I did some poking around at http://msdn.microsoft.com by >> searching on "multiple monitors". Found lots of good reading. You >> might want to do the same. >> >> I noticed a hint that said something to the effect of "an application >> will try to create its window on the same monitor on which it's >> shortcut is located". >> >> What happens if you run startxwin.bat via a shortcut on the secondary >> monitor? >> >>> From: Harold L Hunt II >>> Reply-To: cygwin-xfree@cygwin.com >>> To: cygwin-xfree@cygwin.com >>> Subject: Re: [ANNOUNCEMENT] Updated Cygwin/XFree86 Package: x2x-1.27-2 >>> Date: Mon, 04 Nov 2002 10:49:09 -0500 >>> MIME-Version: 1.0 >>> Received: from sources.redhat.com ([209.249.29.67]) by >>> mc3-f41.law16.hotmail.com with Microsoft SMTPSVC(5.0.2195.5600); >>> Mon, 4 Nov 2002 07:51:18 -0800 >>> Received: (qmail 24961 invoked by alias); 4 Nov 2002 15:49:16 -0000 >>> Received: (qmail 24899 invoked from network); 4 Nov 2002 15:49:15 -0000 >>> Received: from unknown (HELO sargasso.cse.msu.edu) (35.9.20.10) by >>> sources.redhat.com with SMTP; 4 Nov 2002 15:49:15 -0000 >>> Received: from msu.edu (ajboggs.tcimet.net [198.109.162.133])by >>> sargasso.cse.msu.edu (8.12.5/8.12.5) with ESMTP id gA4Fn9fF024848for >>> ; Mon, 4 Nov 2002 10:49:09 -0500 (EST) >>> Mailing-List: contact cygwin-xfree-help@cygwin.com; run by ezmlm >>> Precedence: bulk >>> List-Unsubscribe: >>> >>> List-Subscribe: >>> List-Archive: >>> List-Post: >>> List-Help: , >>> >>> Sender: cygwin-xfree-owner@cygwin.com >>> Mail-Followup-To: cygwin-xfree@cygwin.com >>> Delivered-To: mailing list cygwin-xfree@cygwin.com >>> Message-ID: <3DC696F5.8020100@msu.edu> >>> User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.2b) >>> Gecko/20021014 >>> X-Accept-Language: en-us, en >>> References: <00aa01c28415$14cbdec0$6501a8c0@sprymusic.com> >>> In-Reply-To: <00aa01c28415$14cbdec0$6501a8c0@sprymusic.com> >>> Return-Path: cygwin-xfree-return-12007-j_tetazoo=hotmail.com@cygwin.com >>> X-OriginalArrivalTime: 04 Nov 2002 15:51:18.0726 (UTC) >>> FILETIME=[03C82660:01C2841A] >>> >>> Jean-Claude, >>> >>> No, there is not way for Cygwin/XFree86 to use the entire area of >>> the dual-display; that is pretty much a limitation of DirectDraw, if >>> I recall correctly (I seem to remember that a surface can only span >>> a single physical monitor). You could probably pass the ``-engine >>> 1'' argument to use the GDI-based blitter, but that would still be >>> limited to a single physical display because Cygwin/XFree86 trims >>> the specified size to fit on the primary monitor. We would need >>> some sort of new command-line argument to indicate that the >>> specified size is not to be trimmed in anyway, or we could have a >>> flag that says to use the entire virtual desktop size. I prefer the >>> later. >>> >>> In any case, some coding will need to happen before your request can >>> be realized. >>> >>> Harold >>> >>> Jean-Claude Gervais wrote: >>> >>>> Great news Thomas, >>>> >>>> Um, since you know so much about dual-displays, maybe you could >>>> help me? >>>> >>>> I'm running Cygwin XFree on a machine inside which I have >>>> installed two >>>> video cards; this in effect creates a really large Windows desktop. >>>> >>>> I'm just wondering if you know of any way to get the Cygwin >>>> XFree display >>>> to either use the full desktop surface, or failing that, is there a >>>> way to >>>> get Cygwin XFree to start up on the right-hand side of the display, >>>> because >>>> it never seems to want to start on the second display... >>>> >>>> Thanks in advance. >>>> >>>> >>>> -----Original Message----- >>>> From: cygwin-xfree-owner@cygwin.com >>>> [mailto:cygwin-xfree-owner@cygwin.com]On >>>> Behalf Of Thomas Chadwick >>>> Sent: Monday, November 04, 2002 9:47 AM >>>> To: cygwin-xfree-announce@cygwin.com >>>> Cc: cygwin-xfree@cygwin.com >>>> Subject: [ANNOUNCEMENT] Updated Cygwin/XFree86 Package: x2x-1.27-2 >>>> >>>> ANNOUCEMENT >>>> >>>> An update to the Cygwin/XFree86 package 'x2x' is now available. >>>> >>>> >>>> DESCRIPTION >>>> >>>> The usefulness of this utility will become apparent to anyone with a PC >>>> side-by-side with an *ix workstation. Simply bring up an XWindows >>>> session >>>> on each machine, run x2x on the PC, and use your PC's mouse and >>>> keyboard to >>>> control your *ix workstation's display. Works better and is >>>> cheaper than a >>>> KVM (Keyboard/Video/Mouse) switch. It also works much like a >>>> multi-headed X >>>> session. >>>> >>>> >>>> RELEASE HISTORY >>>> >>>> x2x-1.27-2 (current release): >>>> >>>> Bugfix and enhancement release. Changes are: >>>> >>>> 1) Fixed problem in which x2x consumes nearly 100% of the CPU. >>>> This was due to a problem in setting up a call to select(), >>>> which was causing it to be non-blocking. >>>> >>>> 2) Added some includes and cleaned-up some code to cut down >>>> on compiler warnings. >>>> >>>> 3) Added a whole new feature! Invoking x2d with a command-line >>>> flag of "-capslockhack"causes it to wrap Shift key Press/ >>>> Release events around alpha keystrokes. I discovered I >>>> needed this feature because the "to" display I have uses the >>>> state of CapsLock on its attached keyboard to determine if >>>> CapsLock is on (instead of obeying the CapsLock Press/Release >>>> keyboard events). >>>> >>>> x2x-1.27-1: >>>> >>>> Initial Release. Vendor code built and package as-is. >>>> >>>> >>>> KNOWN BUGS >>>> >>>> Doesn't "work" very well with the new rootless mode of XWin. >>>> I plan to fix this in a future release. >>>> >>>> >>>> INSTALLATION INSTRUCTIONS >>>> >>>> To update your installation, click on the "Install Cygwin now" link >>>> on the >>>> http://cygwin.com/ web page. This downloads setup.exe to your >>>> system. Save >>>> it and run setup, answer the questions and pick up 'x2x' from the >>>> 'XFree86' >>>> category. You may need to click the "Full" button if it doesn't >>>> show up. >>>> >>>> Note that downloads from sources.redhat.com (aka cygwin.com) aren't >>>> allowed >>>> due to bandwidth limitations. This means that you will need to find a >>>> mirror which has this update. >>>> >>>> In the US, ftp://archive.progeny.com/cygwin/ is a reliable high >>>> bandwidth >>>> connection. >>>> >>>> In Japan, ftp://ftp.u-aizu.ac.jp/pub/gnu/gnu-win32/ is usually >>>> up-to-date. >>>> >>>> In DK, http://mirrors.sunsite.dk/cygwin/ is usually up-to-date. >>>> >>>> If one of the above doesn't have the latest version of this package >>>> you can >>>> either wait for the site to be updated or find another mirror. >>>> >>>> Please send questions or comments to the Cygwin/XFree86 mailing list >>>> (mailto:cygwin-xfree@sources.redhat.com). If you want to subscribe >>>> go to >>>> http://cygwin.com/lists.html. I would appreciate it if you would >>>> use the >>>> mailing list rather than emailing me directly. This includes ideas and >>>> comments about the setup utility or Cygwin/XFree86 in general. >>>> >>>> If you want to make a point or ask a question, the Cygwin/XFree86 >>>> mailing >>>> list is the appropriate place. >>>> >>>> >>>> _________________________________________________________________ >>>> Protect your PC - get McAfee.com VirusScan Online >>>> http://clinic.mcafee.com/clinic/ibuy/campaign.asp?cid=3963 >>>> >>>> >>>> >> >> >> _________________________________________________________________ >> Get a speedy connection with MSN Broadband. Join now! >> http://resourcecenter.msn.com/access/plans/freeactivation.asp > > > > _________________________________________________________________ > Get a speedy connection with MSN Broadband. Join now! > http://resourcecenter.msn.com/access/plans/freeactivation.asp > From jc.gervais@videotron.ca Mon Nov 4 09:23:00 2002 From: jc.gervais@videotron.ca (Jean-Claude Gervais) Date: Mon, 04 Nov 2002 09:23:00 -0000 Subject: [ANNOUNCEMENT] Updated Cygwin/XFree86 Package: x2x-1.27-2 In-Reply-To: <3DC696F5.8020100@msu.edu> Message-ID: <00b301c28425$b58ba740$6501a8c0@sprymusic.com> Thomas - Yes, I've tried invoking XWin from the second display, but no dice. Harold - Yup, of course; all good things take time. I'm currently learning more and more about X anyway, so I might even be able to help out at some point; It seems that to be able to contribute to a project like Cygwin, you have to know Win32 and *nix equally well. Here's the work-around that I've found; brace yourselves - I grab the taskbar and drag it onto the second display (the reason for this will become clearer in a moment) Using the "-engine 1", I start XWin in rootless mode (Yay! Rootless mode rocks!) I drag the taskbar back to the primary display, now that XWin has calculated the window-size excluding the task-bar. I right-click on XWin's taskbar icon and select MOVE, then I use the arrow-keys to move XWin's display across to the other screen, and press enter once it's properly positioned. Alternatively, I could just LEAVE the taskbar on the second display, but then I have a problem remote-controlling the box with another Microsoft gem, Netmeeting. Thanks for your reading. -----Original Message----- From: cygwin-xfree-owner@cygwin.com [mailto:cygwin-xfree-owner@cygwin.com]On Behalf Of Harold L Hunt II Sent: Monday, November 04, 2002 10:49 AM To: cygwin-xfree@cygwin.com Subject: Re: [ANNOUNCEMENT] Updated Cygwin/XFree86 Package: x2x-1.27-2 Jean-Claude, No, there is not way for Cygwin/XFree86 to use the entire area of the dual-display; that is pretty much a limitation of DirectDraw, if I recall correctly (I seem to remember that a surface can only span a single physical monitor). You could probably pass the ``-engine 1'' argument to use the GDI-based blitter, but that would still be limited to a single physical display because Cygwin/XFree86 trims the specified size to fit on the primary monitor. We would need some sort of new command-line argument to indicate that the specified size is not to be trimmed in anyway, or we could have a flag that says to use the entire virtual desktop size. I prefer the later. In any case, some coding will need to happen before your request can be realized. Harold Jean-Claude Gervais wrote: >Great news Thomas, > > Um, since you know so much about dual-displays, maybe you could help me? > > I'm running Cygwin XFree on a machine inside which I have installed two >video cards; this in effect creates a really large Windows desktop. > > I'm just wondering if you know of any way to get the Cygwin XFree display >to either use the full desktop surface, or failing that, is there a way to >get Cygwin XFree to start up on the right-hand side of the display, because >it never seems to want to start on the second display... > >Thanks in advance. > > >-----Original Message----- >From: cygwin-xfree-owner@cygwin.com [mailto:cygwin-xfree-owner@cygwin.com]On >Behalf Of Thomas Chadwick >Sent: Monday, November 04, 2002 9:47 AM >To: cygwin-xfree-announce@cygwin.com >Cc: cygwin-xfree@cygwin.com >Subject: [ANNOUNCEMENT] Updated Cygwin/XFree86 Package: x2x-1.27-2 > >ANNOUCEMENT > >An update to the Cygwin/XFree86 package 'x2x' is now available. > > >DESCRIPTION > >The usefulness of this utility will become apparent to anyone with a PC >side-by-side with an *ix workstation. Simply bring up an XWindows session >on each machine, run x2x on the PC, and use your PC's mouse and keyboard to >control your *ix workstation's display. Works better and is cheaper than a >KVM (Keyboard/Video/Mouse) switch. It also works much like a multi-headed X >session. > > >RELEASE HISTORY > >x2x-1.27-2 (current release): > > Bugfix and enhancement release. Changes are: > > 1) Fixed problem in which x2x consumes nearly 100% of the CPU. > This was due to a problem in setting up a call to select(), > which was causing it to be non-blocking. > > 2) Added some includes and cleaned-up some code to cut down > on compiler warnings. > > 3) Added a whole new feature! Invoking x2d with a command-line > flag of "-capslockhack"causes it to wrap Shift key Press/ > Release events around alpha keystrokes. I discovered I > needed this feature because the "to" display I have uses the > state of CapsLock on its attached keyboard to determine if > CapsLock is on (instead of obeying the CapsLock Press/Release > keyboard events). > >x2x-1.27-1: > > Initial Release. Vendor code built and package as-is. > > >KNOWN BUGS > > Doesn't "work" very well with the new rootless mode of XWin. > I plan to fix this in a future release. > > >INSTALLATION INSTRUCTIONS > >To update your installation, click on the "Install Cygwin now" link on the >http://cygwin.com/ web page. This downloads setup.exe to your system. Save >it and run setup, answer the questions and pick up 'x2x' from the 'XFree86' >category. You may need to click the "Full" button if it doesn't show up. > >Note that downloads from sources.redhat.com (aka cygwin.com) aren't allowed >due to bandwidth limitations. This means that you will need to find a >mirror which has this update. > >In the US, ftp://archive.progeny.com/cygwin/ is a reliable high bandwidth >connection. > >In Japan, ftp://ftp.u-aizu.ac.jp/pub/gnu/gnu-win32/ is usually up-to-date. > >In DK, http://mirrors.sunsite.dk/cygwin/ is usually up-to-date. > >If one of the above doesn't have the latest version of this package you can >either wait for the site to be updated or find another mirror. > >Please send questions or comments to the Cygwin/XFree86 mailing list >(mailto:cygwin-xfree@sources.redhat.com). If you want to subscribe go to >http://cygwin.com/lists.html. I would appreciate it if you would use the >mailing list rather than emailing me directly. This includes ideas and >comments about the setup utility or Cygwin/XFree86 in general. > >If you want to make a point or ask a question, the Cygwin/XFree86 mailing >list is the appropriate place. > > >_________________________________________________________________ >Protect your PC - get McAfee.com VirusScan Online >http://clinic.mcafee.com/clinic/ibuy/campaign.asp?cid=3963 > > > From huntharo@msu.edu Mon Nov 4 09:23:00 2002 From: huntharo@msu.edu (Harold L Hunt II) Date: Mon, 04 Nov 2002 09:23:00 -0000 Subject: [ANNOUNCEMENT] Updated Cygwin/XFree86 Package: x2x-1.27-2 In-Reply-To: <00b301c28425$b58ba740$6501a8c0@sprymusic.com> References: <00b301c28425$b58ba740$6501a8c0@sprymusic.com> Message-ID: <3DC6ACFD.40000@msu.edu> Jean-Claude, So, what you really want is to be able to say ``start screen 0 on physical monitor x'', right? That way the rootless X would pop up on the desired monitor. Additionally, you want to make sure that the sreen size is not reduced by the size of the taskbar, which is not present on the pysical monitor that X will be displayed on? I think I can work something like that. I am actually in a slightly better position to help you now too. I don't have two monitors (I gave the old one away, to get it out of my sight), but I do have two video cards and a dual-input monitor that I can easily switch between inputs on. Thus, I can setup a rudimentary dual-display system that I can at least use to test if dual displays are handled correctly. I may give this a try, but this is going to be a rough week with programming projects for my classes, so it may have to wait a little while. Harold Jean-Claude Gervais wrote: >Thomas - Yes, I've tried invoking XWin from the second display, but no dice. >Harold - Yup, of course; all good things take time. I'm currently learning >more and more about X anyway, so I might even be able to help out at some >point; It seems that to be able to contribute to a project like Cygwin, you >have to know Win32 and *nix equally well. > >Here's the work-around that I've found; brace yourselves - > >I grab the taskbar and drag it onto the second display (the reason for this >will become clearer in a moment) >Using the "-engine 1", I start XWin in rootless mode (Yay! Rootless mode >rocks!) >I drag the taskbar back to the primary display, now that XWin has calculated >the window-size excluding the task-bar. >I right-click on XWin's taskbar icon and select MOVE, then I use the >arrow-keys to move XWin's display across to the other screen, and press >enter once it's properly positioned. > >Alternatively, I could just LEAVE the taskbar on the second display, but >then I have a problem remote-controlling the box with another Microsoft gem, >Netmeeting. > > >Thanks for your reading. > > >-----Original Message----- >From: cygwin-xfree-owner@cygwin.com [mailto:cygwin-xfree-owner@cygwin.com]On >Behalf Of Harold L Hunt II >Sent: Monday, November 04, 2002 10:49 AM >To: cygwin-xfree@cygwin.com >Subject: Re: [ANNOUNCEMENT] Updated Cygwin/XFree86 Package: x2x-1.27-2 > >Jean-Claude, > >No, there is not way for Cygwin/XFree86 to use the entire area of the >dual-display; that is pretty much a limitation of DirectDraw, if I >recall correctly (I seem to remember that a surface can only span a >single physical monitor). You could probably pass the ``-engine 1'' >argument to use the GDI-based blitter, but that would still be limited >to a single physical display because Cygwin/XFree86 trims the specified >size to fit on the primary monitor. We would need some sort of new >command-line argument to indicate that the specified size is not to be >trimmed in anyway, or we could have a flag that says to use the entire >virtual desktop size. I prefer the later. > >In any case, some coding will need to happen before your request can be >realized. > >Harold > >Jean-Claude Gervais wrote: > > > >>Great news Thomas, >> >> Um, since you know so much about dual-displays, maybe you could help >> >> >me? > > >> I'm running Cygwin XFree on a machine inside which I have installed >> >> >two > > >>video cards; this in effect creates a really large Windows desktop. >> >> I'm just wondering if you know of any way to get the Cygwin XFree >> >> >display > > >>to either use the full desktop surface, or failing that, is there a way to >>get Cygwin XFree to start up on the right-hand side of the display, because >>it never seems to want to start on the second display... >> >>Thanks in advance. >> >> >>-----Original Message----- >>From: cygwin-xfree-owner@cygwin.com >> >> >[mailto:cygwin-xfree-owner@cygwin.com]On > > >>Behalf Of Thomas Chadwick >>Sent: Monday, November 04, 2002 9:47 AM >>To: cygwin-xfree-announce@cygwin.com >>Cc: cygwin-xfree@cygwin.com >>Subject: [ANNOUNCEMENT] Updated Cygwin/XFree86 Package: x2x-1.27-2 >> >>ANNOUCEMENT >> >>An update to the Cygwin/XFree86 package 'x2x' is now available. >> >> >>DESCRIPTION >> >>The usefulness of this utility will become apparent to anyone with a PC >>side-by-side with an *ix workstation. Simply bring up an XWindows session >>on each machine, run x2x on the PC, and use your PC's mouse and keyboard to >>control your *ix workstation's display. Works better and is cheaper than a >>KVM (Keyboard/Video/Mouse) switch. It also works much like a multi-headed >> >> >X > > >>session. >> >> >>RELEASE HISTORY >> >>x2x-1.27-2 (current release): >> >> Bugfix and enhancement release. Changes are: >> >> 1) Fixed problem in which x2x consumes nearly 100% of the CPU. >> This was due to a problem in setting up a call to select(), >> which was causing it to be non-blocking. >> >> 2) Added some includes and cleaned-up some code to cut down >> on compiler warnings. >> >> 3) Added a whole new feature! Invoking x2d with a command-line >> flag of "-capslockhack"causes it to wrap Shift key Press/ >> Release events around alpha keystrokes. I discovered I >> needed this feature because the "to" display I have uses the >> state of CapsLock on its attached keyboard to determine if >> CapsLock is on (instead of obeying the CapsLock Press/Release >> keyboard events). >> >>x2x-1.27-1: >> >> Initial Release. Vendor code built and package as-is. >> >> >>KNOWN BUGS >> >> Doesn't "work" very well with the new rootless mode of XWin. >> I plan to fix this in a future release. >> >> >>INSTALLATION INSTRUCTIONS >> >>To update your installation, click on the "Install Cygwin now" link on the >>http://cygwin.com/ web page. This downloads setup.exe to your system. >> >> >Save > > >>it and run setup, answer the questions and pick up 'x2x' from the 'XFree86' >>category. You may need to click the "Full" button if it doesn't show up. >> >>Note that downloads from sources.redhat.com (aka cygwin.com) aren't allowed >>due to bandwidth limitations. This means that you will need to find a >>mirror which has this update. >> >>In the US, ftp://archive.progeny.com/cygwin/ is a reliable high bandwidth >>connection. >> >>In Japan, ftp://ftp.u-aizu.ac.jp/pub/gnu/gnu-win32/ is usually up-to-date. >> >>In DK, http://mirrors.sunsite.dk/cygwin/ is usually up-to-date. >> >>If one of the above doesn't have the latest version of this package you can >>either wait for the site to be updated or find another mirror. >> >>Please send questions or comments to the Cygwin/XFree86 mailing list >>(mailto:cygwin-xfree@sources.redhat.com). If you want to subscribe go to >>http://cygwin.com/lists.html. I would appreciate it if you would use the >>mailing list rather than emailing me directly. This includes ideas and >>comments about the setup utility or Cygwin/XFree86 in general. >> >>If you want to make a point or ask a question, the Cygwin/XFree86 mailing >>list is the appropriate place. >> >> >>_________________________________________________________________ >>Protect your PC - get McAfee.com VirusScan Online >>http://clinic.mcafee.com/clinic/ibuy/campaign.asp?cid=3963 >> >> >> >> >> > > > From Alexander.Gottwald@s1999.tu-chemnitz.de Mon Nov 4 09:27:00 2002 From: Alexander.Gottwald@s1999.tu-chemnitz.de (Alexander Gottwald) Date: Mon, 04 Nov 2002 09:27:00 -0000 Subject: XWin.exe crashes In-Reply-To: <20021104155650.GA25557@redhat.com> Message-ID: Christopher Faylor wrote: > I thought your patch only added a "b" to reads and writes which would > indicate that it needed to operate entirely in "binmode". However, I > see that in some cases, it doesn't add the "b". Not sure why. > > This seems to be the opposite of what you're implying though. I'm not sure for the other cases. So I just changed the case where the "wb" was definitly missing. Fixing bugs at work showed me one thing: Changing not exactly the condition where the bug occured will likely introduce a new one. If the XFree maintainer which applies the patch is sure about the other cases, he can easily add the "t" where it belongs. > > cgf > > Index: programs/Xserver/xkb/ddxLoad.c > =================================================================== > RCS file: /cvs/xc/programs/Xserver/xkb/ddxLoad.c,v > retrieving revision 3.30 > diff -u -r3.30 ddxLoad.c > --- programs/Xserver/xkb/ddxLoad.c 2002/05/31 18:46:06 3.30 > +++ programs/Xserver/xkb/ddxLoad.c 2002/11/03 12:29:17 > @@ -413,7 +413,7 @@ > else if (strlen(xkm_output_dir)+strlen(mapName)+5 <= PATH_MAX) > sprintf(buf,"%s%s.xkm",xkm_output_dir,mapName); > if (buf[0] != '\0') > - file= fopen(buf,"r"); > + file= fopen(buf,"rb"); > else file= NULL; > } > else file= NULL; This is the server. It reads the binary file. So the "b" should be there. The automode maybe fixed this automaticly, but this is the IMHO the better way. > Index: programs/xkbcomp/xkbcomp.c > =================================================================== > RCS file: /cvs/xc/programs/xkbcomp/xkbcomp.c,v > retrieving revision 3.17 > diff -u -r3.17 xkbcomp.c > --- programs/xkbcomp/xkbcomp.c 2002/06/05 00:00:37 3.17 > +++ programs/xkbcomp/xkbcomp.c 2002/11/03 14:57:04 > @@ -873,16 +873,30 @@ > * -- Branden Robinson > */ > int outputFileFd; > + int binMode = 0; > + const char *openMode = "w"; > unlink(outputFile); > +#ifdef O_BINARY > + switch (outputFormat) { > + case WANT_XKM_FILE: > + binMode = O_BINARY; > + openMode = "wb"; > + break; > + default: > + binMode = 0; > + break; > + } > +#endif > outputFileFd= open(outputFile, O_WRONLY|O_CREAT|O_EXCL, > - S_IRUSR|S_IWUSR|S_IRGRP|S_IWGRP|S_IROTH|S_IWOTH); > + S_IRUSR|S_IWUSR|S_IRGRP|S_IWGRP|S_IROTH|S_IWOTH|binMode); > if (outputFileFd<0) { > ERROR1("Cannot open \"%s\" to write keyboard description\n", > outputFile); > ACTION("Exiting\n"); > exit(1); > } > - out= fdopen(outputFileFd, "w"); > + > + out= fdopen(outputFileFd, openMode); > /* end BR */ > if (out==NULL) { > ERROR1("Cannot open \"%s\" to write keyboard description\n", This is for xkbcomp. Here the binary file gets written. So I added "wb" where it was needed and left the other unchanged. bye ago -- From huntharo@msu.edu Mon Nov 4 09:30:00 2002 From: huntharo@msu.edu (Harold L Hunt II) Date: Mon, 04 Nov 2002 09:30:00 -0000 Subject: XWin.exe crashes In-Reply-To: References: Message-ID: <3DC6AE0D.20906@msu.edu> Alan, Do you want to apply Alexander's patch directly, or do you want me to apply it locally, test it, then submit it for inclusion in the trunk? Note, this applies to xkb stuff. Harold Alexander Gottwald wrote: >Christopher Faylor wrote: > > > >>I thought your patch only added a "b" to reads and writes which would >>indicate that it needed to operate entirely in "binmode". However, I >>see that in some cases, it doesn't add the "b". Not sure why. >> >>This seems to be the opposite of what you're implying though. >> >> > >I'm not sure for the other cases. So I just changed the case where the >"wb" was definitly missing. > >Fixing bugs at work showed me one thing: Changing not exactly the condition >where the bug occured will likely introduce a new one. If the XFree maintainer >which applies the patch is sure about the other cases, he can easily add the >"t" where it belongs. > > > >>cgf >> >>Index: programs/Xserver/xkb/ddxLoad.c >>=================================================================== >>RCS file: /cvs/xc/programs/Xserver/xkb/ddxLoad.c,v >>retrieving revision 3.30 >>diff -u -r3.30 ddxLoad.c >>--- programs/Xserver/xkb/ddxLoad.c 2002/05/31 18:46:06 3.30 >>+++ programs/Xserver/xkb/ddxLoad.c 2002/11/03 12:29:17 >>@@ -413,7 +413,7 @@ >> else if (strlen(xkm_output_dir)+strlen(mapName)+5 <= PATH_MAX) >> sprintf(buf,"%s%s.xkm",xkm_output_dir,mapName); >> if (buf[0] != '\0') >>- file= fopen(buf,"r"); >>+ file= fopen(buf,"rb"); >> else file= NULL; >> } >> else file= NULL; >> >> > >This is the server. It reads the binary file. So the "b" should be there. >The automode maybe fixed this automaticly, but this is the IMHO the better >way. > > > > >>Index: programs/xkbcomp/xkbcomp.c >>=================================================================== >>RCS file: /cvs/xc/programs/xkbcomp/xkbcomp.c,v >>retrieving revision 3.17 >>diff -u -r3.17 xkbcomp.c >>--- programs/xkbcomp/xkbcomp.c 2002/06/05 00:00:37 3.17 >>+++ programs/xkbcomp/xkbcomp.c 2002/11/03 14:57:04 >>@@ -873,16 +873,30 @@ >> * -- Branden Robinson >> */ >> int outputFileFd; >>+ int binMode = 0; >>+ const char *openMode = "w"; >> unlink(outputFile); >>+#ifdef O_BINARY >>+ switch (outputFormat) { >>+ case WANT_XKM_FILE: >>+ binMode = O_BINARY; >>+ openMode = "wb"; >>+ break; >>+ default: >>+ binMode = 0; >>+ break; >>+ } >>+#endif >> outputFileFd= open(outputFile, O_WRONLY|O_CREAT|O_EXCL, >>- S_IRUSR|S_IWUSR|S_IRGRP|S_IWGRP|S_IROTH|S_IWOTH); >>+ S_IRUSR|S_IWUSR|S_IRGRP|S_IWGRP|S_IROTH|S_IWOTH|binMode); >> if (outputFileFd<0) { >> ERROR1("Cannot open \"%s\" to write keyboard description\n", >> outputFile); >> ACTION("Exiting\n"); >> exit(1); >> } >>- out= fdopen(outputFileFd, "w"); >>+ >>+ out= fdopen(outputFileFd, openMode); >> /* end BR */ >> if (out==NULL) { >> ERROR1("Cannot open \"%s\" to write keyboard description\n", >> >> > >This is for xkbcomp. Here the binary file gets written. So I added "wb" >where it was needed and left the other unchanged. > >bye > ago > > From huntharo@msu.edu Mon Nov 4 09:35:00 2002 From: huntharo@msu.edu (Harold L Hunt II) Date: Mon, 04 Nov 2002 09:35:00 -0000 Subject: XWin.exe crashes In-Reply-To: References: <3DC6AE0D.20906@msu.edu> Message-ID: <3DC6AEBA.8010201@msu.edu> Oh, now this is just great. I opened this email in Mozilla, hit reply, changed the address to send this only to Alan, and it still got sent to the mailing list. Time for a new nightly of Mozilla... Harold Harold L Hunt II wrote: > Alan, > > Do you want to apply Alexander's patch directly, or do you want me to > apply it locally, test it, then submit it for inclusion in the trunk? > Note, this applies to xkb stuff. > > Harold > > Alexander Gottwald wrote: > >> Christopher Faylor wrote: >> >> >> >>> I thought your patch only added a "b" to reads and writes which would >>> indicate that it needed to operate entirely in "binmode". However, I >>> see that in some cases, it doesn't add the "b". Not sure why. >>> >>> This seems to be the opposite of what you're implying though. >>> >> >> >> I'm not sure for the other cases. So I just changed the case where the >> "wb" was definitly missing. >> >> Fixing bugs at work showed me one thing: Changing not exactly the >> condition >> where the bug occured will likely introduce a new one. If the XFree >> maintainer which applies the patch is sure about the other cases, he >> can easily add the >> "t" where it belongs. >> >> >> >>> cgf >>> >>> Index: programs/Xserver/xkb/ddxLoad.c >>> =================================================================== >>> RCS file: /cvs/xc/programs/Xserver/xkb/ddxLoad.c,v >>> retrieving revision 3.30 >>> diff -u -r3.30 ddxLoad.c >>> --- programs/Xserver/xkb/ddxLoad.c 2002/05/31 18:46:06 3.30 >>> +++ programs/Xserver/xkb/ddxLoad.c 2002/11/03 12:29:17 >>> @@ -413,7 +413,7 @@ >>> else if (strlen(xkm_output_dir)+strlen(mapName)+5 <= PATH_MAX) >>> sprintf(buf,"%s%s.xkm",xkm_output_dir,mapName); >>> if (buf[0] != '\0') >>> - file= fopen(buf,"r"); >>> + file= fopen(buf,"rb"); >>> else file= NULL; >>> } >>> else file= NULL; >>> >> >> >> This is the server. It reads the binary file. So the "b" should be >> there. The automode maybe fixed this automaticly, but this is the >> IMHO the better >> way. >> >> >> >> >>> Index: programs/xkbcomp/xkbcomp.c >>> =================================================================== >>> RCS file: /cvs/xc/programs/xkbcomp/xkbcomp.c,v >>> retrieving revision 3.17 >>> diff -u -r3.17 xkbcomp.c >>> --- programs/xkbcomp/xkbcomp.c 2002/06/05 00:00:37 3.17 >>> +++ programs/xkbcomp/xkbcomp.c 2002/11/03 14:57:04 >>> @@ -873,16 +873,30 @@ >>> * -- Branden Robinson >>> */ >>> int outputFileFd; >>> + int binMode = 0; >>> + const char *openMode = "w"; >>> unlink(outputFile); >>> +#ifdef O_BINARY >>> + switch (outputFormat) { >>> + case WANT_XKM_FILE: >>> + binMode = O_BINARY; >>> + openMode = "wb"; >>> + break; >>> + default: >>> + binMode = 0; >>> + break; >>> + } >>> +#endif >>> outputFileFd= open(outputFile, O_WRONLY|O_CREAT|O_EXCL, >>> - S_IRUSR|S_IWUSR|S_IRGRP|S_IWGRP|S_IROTH|S_IWOTH); >>> + >>> S_IRUSR|S_IWUSR|S_IRGRP|S_IWGRP|S_IROTH|S_IWOTH|binMode); >>> if (outputFileFd<0) { >>> ERROR1("Cannot open \"%s\" to write keyboard description\n", >>> outputFile); >>> ACTION("Exiting\n"); >>> exit(1); >>> } >>> - out= fdopen(outputFileFd, "w"); >>> + + out= fdopen(outputFileFd, openMode); >>> /* end BR */ >>> if (out==NULL) { >>> ERROR1("Cannot open \"%s\" to write keyboard description\n", >>> >> >> >> This is for xkbcomp. Here the binary file gets written. So I added "wb" >> where it was needed and left the other unchanged. >> bye >> ago >> >> > From Alexander.Gottwald@s1999.tu-chemnitz.de Mon Nov 4 10:14:00 2002 From: Alexander.Gottwald@s1999.tu-chemnitz.de (Alexander Gottwald) Date: Mon, 04 Nov 2002 10:14:00 -0000 Subject: [ANNOUNCEMENT] Updated Cygwin/XFree86 Package: x2x-1.27-2 In-Reply-To: <3DC6ACFD.40000@msu.edu> Message-ID: Harold L Hunt II wrote: > I am actually in a slightly better position to help you now too. I > don't have two monitors (I gave the old one away, to get it out of my > sight), but I do have two video cards and a dual-input monitor that I > can easily switch between inputs on. Sounds like a crazy "where-is-my-mouse" search. Hint: It's always on the "monitor" which is not displayed *g* > Thus, I can setup a rudimentary > dual-display system that I can at least use to test if dual displays are > handled correctly. I believe some people on this list are happy to hear this. Good luck, ago From jc.gervais@videotron.ca Mon Nov 4 10:25:00 2002 From: jc.gervais@videotron.ca (Jean-Claude Gervais) Date: Mon, 04 Nov 2002 10:25:00 -0000 Subject: Multiple monitors In-Reply-To: <3DC6ACFD.40000@msu.edu> Message-ID: <00b401c2842d$d8811c50$6501a8c0@sprymusic.com> -----Original Message----- From: cygwin-xfree-owner@cygwin.com [mailto:cygwin-xfree-owner@cygwin.com]On Behalf Of Harold L Hunt II Sent: Monday, November 04, 2002 12:23 PM So, what you really want is to be able to say ``start screen 0 on physical monitor x'', right? That way the rootless X would pop up on the desired monitor. Additionally, you want to make sure that the sreen size is not reduced by the size of the taskbar, which is not present on the pysical monitor that X will be displayed on? I think I can work something like that. EXACLTY! Also, calling GetSystemMetrics( SM_CXVIRTUALSCREEN ), GetSystemMetrics( SM_CXVIRTUALSCREEN ), when the -engine 1 option is in effect can yield the TRUE size of the display, so if the -engine 1 option and say, he -wholedesktop option is ALSO in effect, maybe XWin could create a window that would fill both displays? From jozsefke@freemail.hu Mon Nov 4 10:29:00 2002 From: jozsefke@freemail.hu (Kercso Jozsef) Date: Mon, 04 Nov 2002 10:29:00 -0000 Subject: Strange xhost behavior- Please help!! Message-ID: <5.1.1.6.2.20021104185929.00a160f0@pop.chello.hu> Hi! I have the following problem: - I have started a bash consol window as usual with "cygwin.bat" $> XWin.exe & $> export DISPLAY=127.0.0.1:0.0 $> xhost + Then from another host: [einstein]$ export DISPLAY=127.0.0.1:0.0 [einstein]$ xterm & Xlib: connection to "127.0.01:0.0" refused by server Xlib: No protocol specified Then at the original host: $> xterm & # The window was accepted and displayed Second try from einstein: [einstein]$ xterm & Xlib: connection to "127.0.01:0.0" refused by server Xlib: No protocol specified Then at the original host: $> xhost + Third try from einstein: [einstein]$ xterm & # The window was accepted and displayed So, the X server first needs an xterm from the original host, only after that will accept connection from another hosts. I have found, that the second "xhost +" works from the in the X server previously displayed xterm too. Why is this so? Why the first "xhost +" does not work? Can anybody help me? (I have the latest X server:4.2.0-1). Thanks, Jozsef Kercso From huntharo@msu.edu Mon Nov 4 10:31:00 2002 From: huntharo@msu.edu (Harold L Hunt II) Date: Mon, 04 Nov 2002 10:31:00 -0000 Subject: Strange xhost behavior- Please help!! In-Reply-To: <5.1.1.6.2.20021104185929.00a160f0@pop.chello.hu> References: <5.1.1.6.2.20021104185929.00a160f0@pop.chello.hu> Message-ID: <3DC6BCA5.5080508@msu.edu> Jozsef, You example makes no sense at all. The problem is that 127.0.0.1 is a fake address that is only used for connections that loop back to the local machine that you are on. You cannot connect across the network to the machine with address 127.0.0.1 because *every* machine on the network has the idea that it is machine 127.0.0.1. You need to use the real IP address of that machine that you want to connect to, and make sure that you can actually ping it before trying this again. Harold Kercso Jozsef wrote: > Hi! > > I have the following problem: > - I have started a bash consol window as usual with "cygwin.bat" > $> XWin.exe & > $> export DISPLAY=127.0.0.1:0.0 > $> xhost + > > Then from another host: > [einstein]$ export DISPLAY=127.0.0.1:0.0 > [einstein]$ xterm & > Xlib: connection to "127.0.01:0.0" refused by server > Xlib: No protocol specified > > Then at the original host: > $> xterm & > # The window was accepted and displayed > > Second try from einstein: > [einstein]$ xterm & > Xlib: connection to "127.0.01:0.0" refused by server > Xlib: No protocol specified > > Then at the original host: > $> xhost + > > > Third try from einstein: > [einstein]$ xterm & > # The window was accepted and displayed > > So, the X server first needs an xterm from the original host, only > after that will accept connection from another hosts. I have found, that > the second "xhost +" works from the in the X server previously > displayed xterm too. > > Why is this so? Why the first "xhost +" does not work? > Can anybody help me? (I have the latest X server:4.2.0-1). > > Thanks, > Jozsef Kercso > From huntharo@msu.edu Mon Nov 4 10:35:00 2002 From: huntharo@msu.edu (Harold L Hunt II) Date: Mon, 04 Nov 2002 10:35:00 -0000 Subject: Strange xhost behavior- Please help!! In-Reply-To: <5.1.1.6.2.20021104185929.00a160f0@pop.chello.hu> References: <5.1.1.6.2.20021104185929.00a160f0@pop.chello.hu> Message-ID: <3DC6BCE1.8020903@msu.edu> Jozsef, Wait a minute... you will have to excuse me. You meant ``from another xhost terminal'', not ``from another machine on the network.''. Forget what I said in my previous email. Harold Kercso Jozsef wrote: > Hi! > > I have the following problem: > - I have started a bash consol window as usual with "cygwin.bat" > $> XWin.exe & > $> export DISPLAY=127.0.0.1:0.0 > $> xhost + > > Then from another host: > [einstein]$ export DISPLAY=127.0.0.1:0.0 > [einstein]$ xterm & > Xlib: connection to "127.0.01:0.0" refused by server > Xlib: No protocol specified > > Then at the original host: > $> xterm & > # The window was accepted and displayed > > Second try from einstein: > [einstein]$ xterm & > Xlib: connection to "127.0.01:0.0" refused by server > Xlib: No protocol specified > > Then at the original host: > $> xhost + > > > Third try from einstein: > [einstein]$ xterm & > # The window was accepted and displayed > > So, the X server first needs an xterm from the original host, only > after that will accept connection from another hosts. I have found, that > the second "xhost +" works from the in the X server previously > displayed xterm too. > > Why is this so? Why the first "xhost +" does not work? > Can anybody help me? (I have the latest X server:4.2.0-1). > > Thanks, > Jozsef Kercso > From huntharo@msu.edu Mon Nov 4 11:07:00 2002 From: huntharo@msu.edu (Harold L Hunt II) Date: Mon, 04 Nov 2002 11:07:00 -0000 Subject: Strange xhost behavior- Please help!! In-Reply-To: <5.1.1.6.2.20021104185929.00a160f0@pop.chello.hu> References: <5.1.1.6.2.20021104185929.00a160f0@pop.chello.hu> Message-ID: <3DC6BDF3.7040601@msu.edu> Jozsef, Use /usr/X11R6/bin/startxwin.bat to start Cygwin/XFree86. Then go to your bash terminal and run these commands: cd /usr/X11R6/bin export DISPLAY=127.0.0.1:0.0 xterm See if that works. Part of your problem could be starting XWin.exe from a bash prompt... which I never do, though other users swear by it. Harold Kercso Jozsef wrote: > Hi! > > I have the following problem: > - I have started a bash consol window as usual with "cygwin.bat" > $> XWin.exe & > $> export DISPLAY=127.0.0.1:0.0 > $> xhost + > > Then from another host: > [einstein]$ export DISPLAY=127.0.0.1:0.0 > [einstein]$ xterm & > Xlib: connection to "127.0.01:0.0" refused by server > Xlib: No protocol specified > > Then at the original host: > $> xterm & > # The window was accepted and displayed > > Second try from einstein: > [einstein]$ xterm & > Xlib: connection to "127.0.01:0.0" refused by server > Xlib: No protocol specified > > Then at the original host: > $> xhost + > > > Third try from einstein: > [einstein]$ xterm & > # The window was accepted and displayed > > So, the X server first needs an xterm from the original host, only > after that will accept connection from another hosts. I have found, that > the second "xhost +" works from the in the X server previously > displayed xterm too. > > Why is this so? Why the first "xhost +" does not work? > Can anybody help me? (I have the latest X server:4.2.0-1). > > Thanks, > Jozsef Kercso > From david.w.dawson@lmco.com Mon Nov 4 11:29:00 2002 From: david.w.dawson@lmco.com (Dawson, David W) Date: Mon, 04 Nov 2002 11:29:00 -0000 Subject: Strange xhost behavior- Please help!! Message-ID: <0C73AA5F720CD311AC2A0008C7DBA9B407794B45@emss09m13.ems.lmco.com> The problem is a "feeture" of all X-servers: When the X-server detects that the last client connection terminates, the server does a full reset. xhost is NOT a persistent connection. As soon as the xhost program completes it's job (telling the X-Server host to change the permissions), the xhost program closes it's connection with the X-server. Since (in your case) it is the ONLY connection at that time, the X-server resets and promptly eradicates the xhost setting. You need to open a persistent connection first: an xterm, a window manager, xclock, something.... -D. --------------------- David Dawson david.w.dawson@lmco.com 703-367-3885 -----Original Message----- From: Kercso Jozsef [mailto:jozsefke@freemail.hu] Sent: Monday, November 04, 2002 1:25 PM To: cygwin-xfree@cygwin.com Subject: Strange xhost behavior- Please help!! Hi! I have the following problem: - I have started a bash consol window as usual with "cygwin.bat" $> XWin.exe & $> export DISPLAY=127.0.0.1:0.0 $> xhost + Then from another host: [einstein]$ export DISPLAY=127.0.0.1:0.0 [einstein]$ xterm & Xlib: connection to "127.0.01:0.0" refused by server Xlib: No protocol specified Then at the original host: $> xterm & # The window was accepted and displayed Second try from einstein: [einstein]$ xterm & Xlib: connection to "127.0.01:0.0" refused by server Xlib: No protocol specified Then at the original host: $> xhost + Third try from einstein: [einstein]$ xterm & # The window was accepted and displayed So, the X server first needs an xterm from the original host, only after that will accept connection from another hosts. I have found, that the second "xhost +" works from the in the X server previously displayed xterm too. Why is this so? Why the first "xhost +" does not work? Can anybody help me? (I have the latest X server:4.2.0-1). Thanks, Jozsef Kercso From keith@keithtyler.com Mon Nov 4 12:54:00 2002 From: keith@keithtyler.com (Keith D. Tyler) Date: Mon, 04 Nov 2002 12:54:00 -0000 Subject: Strange xhost behavior- Please help!! In-Reply-To: <0C73AA5F720CD311AC2A0008C7DBA9B407794B45@emss09m13.ems.lmco.com> from "Dawson, David W" at Nov 04, 2002 02:00:20 PM Message-ID: <200211041929.gA4JT1407165@shell.faradic.net> Dawson, David W was recently quoted as saying... > > When the X-server detects that the last client connection terminates, the > server does a full reset. > > xhost is NOT a persistent connection. > As soon as the xhost program completes it's job (telling the X-Server host > to change the permissions), the xhost program closes it's connection with > the X-server. Since (in your case) it is the ONLY connection at that time, > the X-server resets and promptly eradicates the xhost setting. > > You need to open a persistent connection first: an xterm, a window manager, > xclock, something.... ... or run XWin.exe with the -noreset option. ================================================================== Keith D. Tyler keith@keithtyler.com Federal Way, WA http://www.keithtyler.com ------------------------------------------------------------------ If Tyrrany and Oppresion come to this land, it will be under the guise of fighting a foreign enemy. - James Madison, U.S. President 1809-1817 ================================================================== From rodmedina@cantv.net Mon Nov 4 13:06:00 2002 From: rodmedina@cantv.net (rodmedina@cantv.net) Date: Mon, 04 Nov 2002 13:06:00 -0000 Subject: Inconvinient colormap Message-ID: <309920-220021114205442522@cantv.net> Dear sirs, I have used the new version of XFree86 since August. I am happy with it. Some fine tunning is still needed. One problem is related to the 256-colors colormap, (I am using windows95). This colormap is not convenient because some important colors, such as green3 or red3, are not included. For example the color features of RXVT cannot be used. I suppose that the colormap is inherited from Windows (?), so that it connot be modified. If such is the case, I sugest to modify instead the /llib/X11/rgb.txt table. The color red3=205-0-0 is not in the colormap, but 204-0-0 is there. So if one modifies the definition (red3=204-0-0) the problem is solved. This should be done to few colors such as red3, green3, blue3,yellow3, magenta3, cyan3 and the grey scale. Many of the greys in the colormap have no name, but are very close to some standard greys that are not included in the colormap. Example: grey80=204-204-204 is not in the colormap, but there is a 203-203-203 grey that has no standard name. I hope this comments could be useful. Rodrigo Medina rmedina@ivic.ve From huntharo@msu.edu Mon Nov 4 13:08:00 2002 From: huntharo@msu.edu (Harold L Hunt II) Date: Mon, 04 Nov 2002 13:08:00 -0000 Subject: AltGR problems with Windows XP In-Reply-To: <3DC551E2.4080803@schessner.de> References: <3DC551E2.4080803@schessner.de> Message-ID: <3DC6E168.3070206@msu.edu> Andreas, Interesting. I think you may have found the reason (and solution) for why a select few users with non-U.S. keyboard layouts are still having problems with fake Control_L presses and releases. I appreciate the FSM state transition table, but could you give me a few sentences describing how the new code detects the fake Control_L presses and releases? That will make it a little easier for me to understand your table. Thanks for the patch, Harold Andreas Schessner wrote: > Hello, > > I use the X server of Cygwin/XFree86 (XWin) and it is working fine on my > Windows 2000 Workstation but > running the same version on my Notebook (Windows XP) causes problems > with the AltGr handling. > > I've noticed that pressing the AltGr Key produces a > KeyPress-Control_L > KeyPress-Mode_switch > KeyRelease-Control_L > KeyRelease-Mode_switch > event sequence (see xev output at the end of this mail). > > I began to trace the code (winkeybd.c, function winIsFakeCtrl_L) and > found out that on my XP notebook the windows messages VK_CONTROL (the > faked Control_L) and VK_MENU don't have the same timestamp and it is not > always possible to get the following VK_MENU message by issuing the > PeekMessage(). > > I don't know if this problem is relating to my Notebook (Dell Latitude) > or to Windows XP. Are there other people having the same problems? > > Andreas > > > PS. > For now I've implemented a workarround. I'm using a translation of the > incomming windows messages, which recognizes the fake Control_L messages > and filters them out. > Changes were made on following sources: win.h, winkeybd.c, winwndproc.c > The modified sources can be obtained from mee if desired: > This works fine for me... > > > The algorithm is desccribed below as a deterministic finite automata > (DFA) > > input \ state | 0 (start) | 1 | 2 | 3 > -------------------------------------------------------------------------------- > > KeyPressed-CtrlL (PCL) | 1 - | 1 - | 2 PCL | 1 - > KeyReleased-CtrlL (RCL) | 0 RCL | 0 PCL,RCL | 3 - | 0 RCL > KeyPressed-AltR (PAR) | 0 PAR | 2 PAR | 2 PAR | 0 PAR > KeyReleased-AltR (RAR) | 0 RAR | 0 PCL,RAR | 1 RAR | 0 RAR > any other key (*) | 0 * | 0 PCL,* | 2 * | 0 * > > States: > 0 (start),1,2,3 > input and output alphabet: > KeyPressed-CtrlL (PCL), KeyReleased-CtrlL (RCL), > KeyPressed-AltR (PAR), KeyReleased-AltR (RAR), > no key (-), any other key(*) > > the table shows the transitions: > > > e.g. assume you are in state "1" and you receive a KeyReleased-CtrlL > message > then the new state of the DFA would be "0" and the events for > KeyPressed-CtrlL and KeyReleased-CtrlL > are sent to the XWin X-Server. > > > Implementation: > ========================================================= > > void winProcessKeyEvent (DWORD dwVirtualKey, DWORD dwKeyData) > { > static int iState = 0; /* initial State of DFA */ > static int iCtrlCode = 0; /* initialized when first pressed... */ > > Bool fDown = ((dwKeyData & 0x80000000) == 0); > Bool fExt = ((HIWORD(dwKeyData) & KF_EXTENDED) != 0); > int iPreKeyCode = XK_VoidSymbol; > > Bool fCtrlUp, fCtrlDown, fMenuUp, fMenuDown; > int iKeyCode, i; > > > winTranslateKey (dwVirtualKey, dwKeyData, &iKeyCode); > > /* > * determine the input for the DFA > * (we use boolean indicators instead of an real alphabet) > */ > fCtrlUp = fCtrlDown = fMenuUp = fMenuDown = FALSE; > > if (dwVirtualKey == VK_CONTROL) { > iCtrlCode = iKeyCode; /* save the scan code for VK_CONTROL */ > if (fDown) fCtrlDown=TRUE; > else fCtrlUp =TRUE; > } > else if (dwVirtualKey == VK_MENU && fExt) { > if (fDown) fMenuDown=TRUE; > else fMenuUp =TRUE; > } > > #if CYGDEBUG > ErrorF("winProcessKeyEvent: 0x%0x, 0x%0x\n",dwVirtualKey,dwKeyData); > ErrorF("State=%d Input=0x%0x (%s) > ",iState,dwVirtualKey,(fDown?"DOWN":"UP")); > #endif > > switch (iState) { > > default: > case 0 : > if (fCtrlDown) { iState=1; iKeyCode=XK_VoidSymbol; } > else { iState=0; } > break; > > > case 1 : > if (fCtrlDown) { iState=1; } > else if (fMenuDown) { iState=2; } > else { iState=0; iPreKeyCode=iCtrlCode; } > break; > > > case 2 : > if (fCtrlUp) { iState=3; } > else if (fMenuUp) { iState=1; } > else { iState=2; } > break; > > case 3 : > if (fCtrlDown) { iState=1; iKeyCode=XK_VoidSymbol; } > else { iState=0; } > break; > > } > > #if CYGDEBUG > ErrorF(" -> State=%d", iState); > if (iPreKeyCode != XK_VoidSymbol) ErrorF(" 0x%0x [0x0],",iPreKeyCode); > ErrorF(" 0x%0x [0x%0x]\n",iKeyCode,dwKeyData); > #endif > > if (iPreKeyCode != XK_VoidSymbol) > winSendKeyEvent(iPreKeyCode,TRUE); > > if (iKeyCode != XK_VoidSymbol) > for (i = 0; i < LOWORD(dwKeyData); ++i) > winSendKeyEvent(iKeyCode, (dwKeyData & 0x80000000)==0); > > } > > > Output of xev with the original XWin: > ========================================================= > KeyPress event, serial 22, synthetic NO, window 0xa00001, > root 0x36, subw 0xa00002, time 249118172, (38,43), root:(591,66), > state 0x0, keycode 37 (keysym 0xffe3, Control_L), same_screen YES, > XLookupString gives 0 characters: "" > > KeyPress event, serial 22, synthetic NO, window 0xa00001, > root 0x36, subw 0xa00002, time 249118172, (38,43), root:(591,66), > state 0x4, keycode 113 (keysym 0xff7e, Mode_switch), same_screen YES, > XLookupString gives 0 characters: "" > > KeyRelease event, serial 22, synthetic NO, window 0xa00001, > root 0x36, subw 0xa00002, time 249118303, (38,43), root:(591,66), > state 0x2004, keycode 37 (keysym 0xffe3, Control_L), same_screen YES, > XLookupString gives 0 characters: "" > > KeyRelease event, serial 22, synthetic NO, window 0xa00001, > root 0x36, subw 0xa00002, time 249118303, (38,43), root:(591,66), > state 0x2000, keycode 113 (keysym 0xff7e, Mode_switch), > same_screen YES, > XLookupString gives 0 characters: "" > > KeyPress event, serial 22, synthetic NO, window 0xa00001, > root 0x36, subw 0xa00002, time 249119024, (38,43), root:(591,66), > state 0x0, keycode 38 (keysym 0x61, a), same_screen YES, > XLookupString gives 1 characters: "a" > > .... > > KeyPress event, serial 22, synthetic NO, window 0xa00001, > root 0x36, subw 0xa00002, time 249131181, (38,43), root:(591,66), > state 0x0, keycode 37 (keysym 0xffe3, Control_L), same_screen YES, > XLookupString gives 0 characters: "" > > KeyPress event, serial 22, synthetic NO, window 0xa00001, > root 0x36, subw 0xa00002, time 249131191, (38,43), root:(591,66), > state 0x4, keycode 113 (keysym 0xff7e, Mode_switch), same_screen YES, > XLookupString gives 0 characters: "" > > KeyRelease event, serial 22, synthetic NO, window 0xa00001, > root 0x36, subw 0xa00002, time 249131381, (38,43), root:(591,66), > state 0x2004, keycode 113 (keysym 0xff7e, Mode_switch), > same_screen YES, > XLookupString gives 0 characters: "" > > KeyPress event, serial 22, synthetic NO, window 0xa00001, > root 0x36, subw 0xa00002, time 249132383, (38,43), root:(591,66), > state 0x4, keycode 38 (keysym 0x61, a), same_screen YES, > XLookupString gives 1 characters: "" > > > From hschiretz@anbe.cdscc.nasa.gov Mon Nov 4 13:13:00 2002 From: hschiretz@anbe.cdscc.nasa.gov (Schiretz, Helmut F) Date: Mon, 04 Nov 2002 13:13:00 -0000 Subject: Cygwin-Xfree86 and XP and Solaris 8 Message-ID: Hi, I have successfully installed and used Cygwin-Xfree86 (1.3.13 I believe - which I got from nas.nasa.gov) on a Windows 2000 machine and I am able to remotely connect to a Solaris 2.6 machine, but not to a Solaris 8 machine (it freezes whilst trying to connect). I have successfully installed Cygwin (1.3.14 I believe) on a Windows XP machine - it runs fine, but the X server locks up (freezes) whilst trying to connect to either the Solaris 2.6 machine. I have looked everywhere for the answer to these problems and how to resolve them - to no avail. I would greatly appreciate your input on these matters, Regards ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Helmut F. Schiretz Complex Maintenance Facility, Canberra Deep Space Communication Complex. BAE SYSTEMS, PO Box 638,FYSHWICK, ACT, Australia 2609 Tel: +61 2 6201 7850 Fax: +61 2 6201 7929 email: hschiretz@anbe.cdscc.nasa.gov ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ##################################################################################### This e-mail message has been scanned for Viruses and Content and cleared by MailMarshal ##################################################################################### From huntharo@msu.edu Mon Nov 4 13:16:00 2002 From: huntharo@msu.edu (Harold L Hunt II) Date: Mon, 04 Nov 2002 13:16:00 -0000 Subject: Inconvinient colormap In-Reply-To: <309920-220021114205442522@cantv.net> References: <309920-220021114205442522@cantv.net> Message-ID: <3DC6E305.6000600@msu.edu> Rodrigo, Hmm... that is potentially a very helpful observation. I cannot remember off-hand whether the color map is arbitrarily constructed, or whether I read the colors from the Windows color table. In either case, it is possible that I have a simple off-by-one error in how the colors are set. Could you send in your /tmp/XWin.log file from when you run in 256 color mode? I need to know a few things that are contained in that log file. Thanks, Harold rodmedina@cantv.net wrote: >Dear sirs, > I have used the new version of XFree86 since August. I am happy with it. > Some fine tunning is still needed. One problem is related to the 256-colors > colormap, (I am using windows95). This colormap is not convenient because > some important colors, such as green3 or red3, are not included. For >example > the color features of RXVT cannot be used. I suppose that the colormap is > inherited from Windows (?), so that it connot be modified. If such is the > case, I sugest to modify instead the /llib/X11/rgb.txt table. The color > red3=205-0-0 is not in the colormap, but 204-0-0 is there. So if one >modifies > the definition (red3=204-0-0) the problem is solved. This should be done > to few colors such as red3, green3, blue3,yellow3, magenta3, cyan3 and the >grey > scale. Many of the greys in the colormap have no name, but are very close > to some standard greys that are not included in the colormap. Example: > grey80=204-204-204 is not in the colormap, but there is a 203-203-203 grey > that has no standard name. > I hope this comments could be useful. > > Rodrigo Medina rmedina@ivic.ve > > > > > From huntharo@msu.edu Mon Nov 4 13:40:00 2002 From: huntharo@msu.edu (Harold L Hunt II) Date: Mon, 04 Nov 2002 13:40:00 -0000 Subject: Cygwin-Xfree86 and XP and Solaris 8 In-Reply-To: References: Message-ID: <3DC6E3C9.8040805@msu.edu> Helmut, I think you need to point your ``font path'' at the font server running on the Solaris 8 machine. You can do this with the XWin.exe command-line parameter ``-fp''. There are examples on the web, and there is an example in the Cygwin/XFree86 FAQ: http://xfree86.cygwin.com/docs/faq/cygwin-xfree-faq.html#q-solaris-fonts Note that ``-fp'' and the ``font path'' are not specific to Cygwin/XFree86, so they are not documented in the Cygwin/XFree86 User's Guide. Rather, these two items are generic to all XFree86 X Servers and therefore you can find lots of information about them from many sources on the web. Let us know if you have further questions, and be sure to let us know if the ``-fp'' parameter solves your problem. Harold Schiretz, Helmut F wrote: >Hi, > I have successfully installed and used Cygwin-Xfree86 (1.3.13 I believe - >which I got from nas.nasa.gov) on a Windows 2000 machine and I am able to >remotely connect to a Solaris 2.6 machine, but not to a Solaris 8 machine >(it freezes whilst >trying to connect). > >I have successfully installed Cygwin (1.3.14 I believe) on a Windows XP >machine - it runs fine, but the X server >locks up (freezes) whilst trying to connect to either the Solaris 2.6 >machine. > >I have looked everywhere for the answer to these problems and how to resolve >them - to no avail. > >I would greatly appreciate your input on these matters, > >Regards > >~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ > Helmut F. Schiretz > Complex Maintenance Facility, > Canberra Deep Space Communication Complex. > BAE SYSTEMS, > PO Box 638,FYSHWICK, ACT, Australia 2609 > Tel: +61 2 6201 7850 Fax: +61 2 6201 7929 > email: hschiretz@anbe.cdscc.nasa.gov >~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ > > >##################################################################################### >This e-mail message has been scanned for Viruses and Content and cleared by MailMarshal >##################################################################################### > > From Alexander.Gottwald@s1999.tu-chemnitz.de Mon Nov 4 13:54:00 2002 From: Alexander.Gottwald@s1999.tu-chemnitz.de (Alexander Gottwald) Date: Mon, 04 Nov 2002 13:54:00 -0000 Subject: how does xwin resolve ip addresses In-Reply-To: Message-ID: Chris Twiner wrote: > Hi Alexander, > > I ran the program, the results are attached. I have the microsoft loopback > service as 10.10.1.1 . When the wireless is attached it's dhcp, but that > doesn't affect ipconfigs results. I commented the output. ls_netdev $Id: ls_netdev.c,v 1.2 2002/08/01 08:35:17 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=10.10.1.1 eth1: family=TCP/IP (0) addr=0.0.0.0 Querying devices using internal function // Result from GetIpAddrTable dwAddr=00000000 // 0.0.0.0 (DHCP?) dwIndex=65540 // Intel 8255x-based PCI Ethernet Adapter (10/100) dwMask=00000000 // 0.0.0.0 dwBCastAddr=00000001 // 1.0.0.0 dwReasmSize=65535 dwAddr=01010a0a // 10.10.1.1 dwIndex=2 // Microsoft Loopback Adapter dwMask=000000ff // 255.0.0.0 dwBCastAddr=00000001 // 1.0.0.0 dwReasmSize=65535 dwAddr=0100007f // 127.0.0.1 dwIndex=1 // Internal loopback interface for 127.0.0 network dwMask=000000ff // 255.0.0.0 dwBCastAddr=00000001 // 1.0.0.0 dwReasmSize=65535 dwAddr=2301a8c0 // 192.168.1.35 dwIndex=65541 // Wireless ? Interface is missing in the list below dwMask=00ffffff // 255.255.255.0 dwBCastAddr=00000001 // 1.0.0.0 dwReasmSize=65535 // Result from GetIfTable wszName=L dwIndex=1 dwType=24 bDescr=Internal loopback interface for 127.0.0 network wszName={ dwIndex=2 dwType=6 bDescr=Microsoft Loopback Adapter wszName={ dwIndex=65540 dwType=6 bDescr=Intel 8255x-based PCI Ethernet Adapter (10/100) // One interface is missing (65541) :-/ eth0: family=TCP/IP (0) addr=0.0.0.0 eth1: family=TCP/IP (0) addr=10.10.1.1 lo: family=TCP/IP (0) addr=127.0.0.1 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. bye ago BTW: I threw the message back to the ML. Might be of interest there too. NP: Zeraphine - Siehst Du mich -- Alexander.Gottwald@informatik.tu-chemnitz.de http://www.gotti.org ICQ: 126018723 From kostya@rice.edu Mon Nov 4 14:05:00 2002 From: kostya@rice.edu (Konstantin N. Kudin) Date: Mon, 04 Nov 2002 14:05:00 -0000 Subject: XFree leaking memory? Message-ID: Hi all I am using the cygwin + xfree combination for my X server. I run the program for days on a W2k laptop and put the machine on stand by every night. W2k and xfree are restarted quite infrequently (once every 2-4 weeks). I have noticed in Task Manager that XWin process slowly but surely grows in size adding about 2Mb every day. It starts from 13 Mb but over the course of few days may become as large as 150 Mb (I have seen that). I tried to update XFree to the latest version a couple of weeks ago yet it did not stop growing in size. I mostly run fvwm and 2-3 xterms. I also occasionally display xterms and other things from other machines. I am curious if the developers are aware of/working on this issue? I could provide more details if needed/technically possible. Sincerely, Konstantin From Alexander.Gottwald@s1999.tu-chemnitz.de Mon Nov 4 14:51:00 2002 From: Alexander.Gottwald@s1999.tu-chemnitz.de (Alexander Gottwald) Date: Mon, 04 Nov 2002 14:51:00 -0000 Subject: how does xwin resolve ip addresses In-Reply-To: Message-ID: > 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 new version, which queries the interface for each ip address. Can you please try it too? http://www-usercgi.tu-chemnitz.de/~goal/xfree/ls_netdev.tar.gz bye ago NP: Zeraphine - Deine Welt -- Alexander.Gottwald@informatik.tu-chemnitz.de http://www.gotti.org ICQ: 126018723 From huntharo@msu.edu Mon Nov 4 14:56:00 2002 From: huntharo@msu.edu (Harold L Hunt II) Date: Mon, 04 Nov 2002 14:56:00 -0000 Subject: XFree leaking memory? In-Reply-To: References: Message-ID: <3DC6F9D8.9030104@msu.edu> Konstantin, Are you using the ``-rootless'' command-line parameter? If so, the developer of that feature mentioned that there was a memory leak and that he was working on fixing it. If not, then we might need to look into your problem as a previously unknown problem. Harold Konstantin N. Kudin wrote: > Hi all > > I am using the cygwin + xfree combination for my X server. >I run the program for days on a W2k laptop and put the machine on stand by >every night. W2k and xfree are restarted quite infrequently (once every >2-4 weeks). > I have noticed in Task Manager that XWin process slowly but surely grows >in size adding about 2Mb every day. It starts from 13 Mb but over the >course of few days may become as large as 150 Mb (I have seen that). I >tried to update XFree to the latest version a couple of weeks ago yet it >did not stop growing in size. > I mostly run fvwm and 2-3 xterms. I also occasionally display xterms and >other things from other machines. > I am curious if the developers are aware of/working on this issue? > I could provide more details if needed/technically possible. > > Sincerely, > Konstantin > > > From elik@bhphotovideo.com Mon Nov 4 15:02:00 2002 From: elik@bhphotovideo.com (Eli Kleinman - IT Dept.) Date: Mon, 04 Nov 2002 15:02:00 -0000 Subject: using XWinClip on windows 2000 it works but not on windows nt Message-ID: <200211042302.gA4N2mk28486@bnhpop1.bhphotovideo.com> any help? this is what I run I add a line in the startxwin.exe after the line start xwin ---------------------------------------- start /B xwin -ac -noreset -screen 0 1152 864 -query "Host_ip_address" -fp tcp/host_ip_address:7100 -from my_local_ip_address & after 10 seconds I run SET DISPLAY=localhost:0.0 start /B xwinclip.exe this same commends will work perfect in windows 2000(for xwinclip), but in windows nt it will say LocalDisplay_ip_address refused and will time out after five attempt's any help is appreciated =============================== Eli Kleinman B&H Photo - Video Pro Audio 420 9th Ave. New York, NY 10001 Tel: (212) 239-7500 Ext. 2154 Fax: (212) 239-7770 Email: elik@bhphotovideo.com =============================== From huntharo@msu.edu Mon Nov 4 15:22:00 2002 From: huntharo@msu.edu (Harold L Hunt II) Date: Mon, 04 Nov 2002 15:22:00 -0000 Subject: using XWinClip on windows 2000 it works but not on windows nt In-Reply-To: <200211042302.gA4N2mk28486@bnhpop1.bhphotovideo.com> References: <200211042302.gA4N2mk28486@bnhpop1.bhphotovideo.com> Message-ID: <3DC6FC6A.50002@msu.edu> Eli, Try 127.0.0.1 instead of localhost. Harold Eli Kleinman - IT Dept. wrote: >any help? > >this is what I run > >I add a line in the startxwin.exe >after the line start xwin >---------------------------------------- >start /B xwin -ac -noreset -screen 0 1152 864 -query "Host_ip_address" -fp >tcp/host_ip_address:7100 -from my_local_ip_address & > >after 10 seconds I run > >SET DISPLAY=localhost:0.0 >start /B xwinclip.exe > >this same commends will work perfect in windows 2000(for xwinclip), but in >windows nt it will say LocalDisplay_ip_address refused and will time out after >five attempt's > >any help is appreciated > >=============================== >Eli Kleinman >B&H Photo - Video Pro Audio >420 9th Ave. >New York, NY 10001 >Tel: (212) 239-7500 Ext. 2154 >Fax: (212) 239-7770 >Email: elik@bhphotovideo.com >=============================== > > > From andreas@schessner.de Mon Nov 4 17:05:00 2002 From: andreas@schessner.de (Andreas Schessner) Date: Mon, 04 Nov 2002 17:05:00 -0000 Subject: AltGR problems with Windows XP Message-ID: <3DC7011A.3060403@schessner.de> Hi Harold, the FSM is doing something like a "lookahead". This "lookahead" is only done when the first "Control_L press" is detected. Normally the FSM stays in the initial state "0" and passes all input through. So there is no real transformation. But if the FSM detects a "Control_L press" it keeps this symbol (no output) and memorizes this event in the state "1" If the following input symbol is anything else but a "AltGr press", the memorized Control_L will be prepended to the actual input symbol. The output would be "Control_L press", " press" or "Control_L press", " release" The state would return to the initial state "0" (or stay in state "1" if the following symbol was another Control_L) Remark: The output of a "Control_L press" is delayed. This seems to be the only weakness (IMHO) of the algorithm. But it's not so bad as it's looking at the first sight. Normally a "Control_L press" key is mostly followed by another key press, which will end the delay. In worst case another "Control_L press" caused by the automatic repeat capability of your keyboard will end the delay. So the maximum delay for a "Control_L press" (for example if your are just holding down your left Control key) is the typmatic delay. In all other cases (a "Control_L press" followed by any other key press or release) the following key breaks the delay. The best way to prove the behaviour of the algorithm is to open the "xev" and look at the received events. Now, if we are in state "1", corresponding to a memorized "Control_L press" and the following input symbol is an "AltGr press" we discard the "Control_L press" by sending only the "AltGr press" to the output. The following state would be "2", memorizing that we have also to discrard the final "Control_l release" If we are in state "2", we are waiting for the final "Control_L release". Getting this input symbol, we discard the "Control_L release" and return to the initial state (0). The state transition table shows one more state (state "3") . This state is obsolete and can be reduced (leftover from my tests). I will recode the FSM later. Resulting state transition table: input \ state | 0 (start) | 1 | 2 | -------------------------------------------------------------- KeyPressed-CtrlL (PCL) | 1 - | 1 PCL | 2 PCL | KeyReleased-CtrlL (RCL) | 0 RCL | 0 PCL,RCL | 0 - | KeyPressed-AltR (PAR) | 0 PAR | 2 PAR | 2 PAR | KeyReleased-AltR (RAR) | 0 RAR | 0 PCL,RAR | 1 RAR | any other key (*) | 0 * | 0 PCL,* | 2 * | Andreas -------------- next part -------------- A non-text attachment was scrubbed... Name: FSM.jpg Type: image/jpeg Size: 20064 bytes Desc: not available URL: From rodmedina@cantv.net Mon Nov 4 17:48:00 2002 From: rodmedina@cantv.net (rodmedina@cantv.net) Date: Mon, 04 Nov 2002 17:48:00 -0000 Subject: Inconvinient colormap Message-ID: <227070-220021125157503@cantv.net> Hi Harold, Here is what I get when running rxvt inside XWindow: rmedina@LIMON /Cartas >rxvt & [1] 1007841 rmedina@LIMON /Cartas >rxvt: can't load color "Red3" rxvt: can't load color "Red3" rxvt: can't load color "Green3" rxvt: can't load color "Green3" rxvt: can't load color "Yellow3" rxvt: can't load color "Yellow3" rxvt: can't load color "Blue3" rxvt: can't load color "Blue3" rxvt: can't load color "Magenta3" rxvt: can't load color "Magenta3" rxvt: can't load color "Cyan3" rxvt: can't load color "Cyan3" rxvt: can't load color "AntiqueWhite" rxvt: can't load color "AntiqueWhite" rxvt: can't load color "Grey25" rxvt: can't load color "Grey25" rxvt: can't load color "#B2B2B2" rxvt: can't load color "#B2B2B2" rxvt: can't allocate Color_bottomShadow ------------------------------------------ Here follows /tmp/Xwin.log ------------------------------------------- OsVendorInit - Creating bogus screen 0 winInitializeDefaultScreens - w 1024 h 768 winInitializeDefaultScreens - Returning _XSERVTransmkdir: Owner of /tmp/.X11-unix should be set to root (EE) Unable to locate/open config file InitOutput - Error reading config file winDetectSupportedEngines - Windows 95/98/Me winDetectSupportedEngines - DirectDraw installed winDetectSupportedEngines - DirectDraw4 installed winDetectSupportedEngines - Returning, supported engines 00000017 InitOutput - g_iNumScreens: 1 iMaxConsecutiveScreen: 1 winSetEngine - Windowed && PseudoColor => ShadowGDI winAdjustVideoModeShadowGDI - Using Windows display depth of 8 bits per pixel winCreateBoundingWindowWindowed - Initial w: 1024 h: 768 winAdjustForAutoHide - Original WorkArea: 0 0 768 1024 winAdjustForAutoHide - Taskbar is auto hide winAdjustForAutoHide - Found BOTTOM auto-hide taskbar winAdjustForAutoHide - Adjusted WorkArea: 0 0 767 1024 winCreateBoundingWindowWindowed - WindowClient w 1018 h 737 r 1018 l 0 b 737 t 0 winCreateBoundingWindowWindowed - Returning winFinishScreenInitFB - Masks: 00000000 00000000 00000000 winInitVisualsShadowGDI - Masks 00000000 00000000 00000000 BPRGB 8 d 8 bpp 8 winScreenInit - returning (EE) No primary keyboard configured (==) Using compiletime defaults for keyboard Rules = "xfree86" Model = "pc101" Layout = "us" Variant = "(null)" Options = "(null)" _XSERVTransSocketUNIXAccept: accept() failed _XSERVTransSocketUNIXAccept: accept() failed _XSERVTransSocketUNIXAccept: accept() failed ------------------------------------------------- bye From kostya@rice.edu Mon Nov 4 23:43:00 2002 From: kostya@rice.edu (Konstantin N. Kudin) Date: Mon, 04 Nov 2002 23:43:00 -0000 Subject: XFree leaking memory? In-Reply-To: <3DC6F9D8.9030104@msu.edu> Message-ID: Harold I do not think I am using "-rootless" since I am running the standard *.bat file supplied with XFree and have a separate workspace for X. So this leak appears to be a separate issue. Is there a way to generate memory usage statistics for X? Konstantin On Mon, 4 Nov 2002, it was written: > Konstantin, > > Are you using the ``-rootless'' command-line parameter? If so, the > developer of that feature mentioned that there was a memory leak and > that he was working on fixing it. If not, then we might need to look > into your problem as a previously unknown problem. > > Harold > > Konstantin N. Kudin wrote: > > > Hi all > > > > I am using the cygwin + xfree combination for my X server. > >I run the program for days on a W2k laptop and put the machine on stand by > >every night. W2k and xfree are restarted quite infrequently (once every > >2-4 weeks). > > I have noticed in Task Manager that XWin process slowly but surely grows > >in size adding about 2Mb every day. It starts from 13 Mb but over the > >course of few days may become as large as 150 Mb (I have seen that). I > >tried to update XFree to the latest version a couple of weeks ago yet it > >did not stop growing in size. > > I mostly run fvwm and 2-3 xterms. I also occasionally display xterms and > >other things from other machines. > > I am curious if the developers are aware of/working on this issue? > > I could provide more details if needed/technically possible. > > > > Sincerely, > > Konstantin > > > From jozsefke@freemail.hu Mon Nov 4 23:47:00 2002 From: jozsefke@freemail.hu (Kercso Jozsef) Date: Mon, 04 Nov 2002 23:47:00 -0000 Subject: Strange xhost behavior- Please help!! Message-ID: <3DC7765D.4050301@freemail.hu> Hi! You have right, I've made a mistake in the presentation of the problem: the "export DISPLAY=127.0.0.1:0.0" at the second host must be: "export DISPLAY=:0.0" However only the presentation was bad, the problem is the same. I can ping the first machine from the second. Best Regards Jozsef Kercso >Jozsef, >You example makes no sense at all. The problem is that 127.0.0.1 > is a fake address that is only used for connections that loop back > to the local machine that you are on. You cannot connect across the > network to the machine with address 127.0.0.1 because *every* machine > on the network has the idea that it is machine 127.0.0.1. You need to use the > real IP address of that machine that you want to connect to, and make sure > that you can actually ping it before trying this again. > Harold From jozsefke@freemail.hu Tue Nov 5 00:39:00 2002 From: jozsefke@freemail.hu (Kercso Jozsef) Date: Tue, 05 Nov 2002 00:39:00 -0000 Subject: Strange xhost behavior- Please help!! Message-ID: <3DC777AB.2060002@freemail.hu> Hi! > Dawson, David W was recently quoted as saying... > > > > When the X-server detects that the last client connection terminates, the > > server does a full reset. > > > > xhost is NOT a persistent connection. > > As soon as the xhost program completes it's job (telling the X-Server host > > to change the permissions), the xhost program closes it's connection with > > the X-server. Since (in your case) it is the ONLY connection at that time, > > the X-server resets and promptly eradicates the xhost setting. > > > > You need to open a persistent connection first: an xterm, a window manager, > > xclock, something.... > ... or run XWin.exe with the -noreset option. Yes, that was the problem, thanks. Best regards, Jozsef Kercso From c_twiner@hotmail.com Tue Nov 5 01:04:00 2002 From: c_twiner@hotmail.com (Chris Twiner) Date: Tue, 05 Nov 2002 01:04:00 -0000 Subject: how does xwin resolve ip addresses Message-ID: > > 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 new version, which queries the interface for each ip address. >Can you please try it too? >http://www-usercgi.tu-chemnitz.de/~goal/xfree/ls_netdev.tar.gz > Hi Ago, I'll try it later today (it's at home, I'm at work :). Chris _________________________________________________________________ Get faster connections??-- switch to??MSN Internet Access! http://resourcecenter.msn.com/access/plans/default.asp From mario.ohnewald@gmx.de Tue Nov 5 02:05:00 2002 From: mario.ohnewald@gmx.de (Mario Ohnewald) Date: Tue, 05 Nov 2002 02:05:00 -0000 Subject: Own XWin start batch file Message-ID: <003b01c284aa$66fc6940$350aa8c0@aradex.local> Hello! I would like to know if it is possible to start XWin.exe with these parameters from a batch file: XWin -ac -screen 0 1024 768 -nowinkill -unixkill -query 192.168.10.6 -from 192.168.10.53 I want just to click on my batch file and my Remote Desktop should come up. I dont want to use --rcfile. Cheers, Mario From alexander.gottwald@s1999.tu-chemnitz.de Tue Nov 5 02:16:00 2002 From: alexander.gottwald@s1999.tu-chemnitz.de (Alexander Gottwald) Date: Tue, 05 Nov 2002 02:16:00 -0000 Subject: Own XWin start batch file In-Reply-To: <003b01c284aa$66fc6940$350aa8c0@aradex.local> Message-ID: On Tue, 5 Nov 2002, Mario Ohnewald wrote: > Hello! > I would like to know if it is possible to start XWin.exe with these > parameters from a batch file: > XWin -ac -screen 0 1024 768 -nowinkill -unixkill -query 192.168.10.6 -from > 192.168.10.53 you can even put that into a shortcut. BTW: Please note that the parameter -ac should _NEVER_ be used in any network which is used by other persons too. bye ago -- Alexander.Gottwald@informatik.tu-chemnitz.de http://www.gotti.org ICQ: 126018723 From mario.ohnewald@gmx.de Tue Nov 5 02:21:00 2002 From: mario.ohnewald@gmx.de (Mario Ohnewald) Date: Tue, 05 Nov 2002 02:21:00 -0000 Subject: Own XWin start batch file In-Reply-To: Message-ID: <004101c284b4$76998ef0$350aa8c0@aradex.local> Hi, > -----Original Message----- > From: cygwin-xfree-owner@cygwin.com > [mailto:cygwin-xfree-owner@cygwin.com]On Behalf Of Alexander Gottwald > > > On Tue, 5 Nov 2002, Mario Ohnewald wrote: > > > Hello! > > I would like to know if it is possible to start XWin.exe with these > > parameters from a batch file: > > XWin -ac -screen 0 1024 768 -nowinkill -unixkill -query > 192.168.10.6 -from > > 192.168.10.53 > > you can even put that into a shortcut. > BTW: Please note that the parameter -ac should _NEVER_ be > used in any network > which is used by other persons too. Why? What does ac do? (Sorry, man XWin and XWin --help couldnt help me) > > bye > ago From rasjidw@openminddev.net Tue Nov 5 02:31:00 2002 From: rasjidw@openminddev.net (Rasjid Wilcox) Date: Tue, 05 Nov 2002 02:31:00 -0000 Subject: Own XWin start batch file In-Reply-To: <004101c284b4$76998ef0$350aa8c0@aradex.local> References: <004101c284b4$76998ef0$350aa8c0@aradex.local> Message-ID: <200211052121.16620.rasjidw@openminddev.net> On Tue, 5 Nov 2002 9:16 pm, Mario Ohnewald wrote: > > Why? What does ac do? (Sorry, man XWin and XWin --help couldnt help me) > >From the linux 'man Xserver' page: -ac disables host-based access control mechanisms. Enables access by any host, and permits any host to modify the access control list. Use with extreme caution. This option exists primarily for running test suites remotely. --- Rasjid. From mario.ohnewald@gmx.de Tue Nov 5 02:33:00 2002 From: mario.ohnewald@gmx.de (Mario Ohnewald) Date: Tue, 05 Nov 2002 02:33:00 -0000 Subject: Own XWin start batch file In-Reply-To: <200211052121.16620.rasjidw@openminddev.net> Message-ID: <004301c284b6$95e56bb0$350aa8c0@aradex.local> muchas gracias! ;) > -----Original Message----- > From: cygwin-xfree-owner@cygwin.com > [mailto:cygwin-xfree-owner@cygwin.com]On Behalf Of Rasjid Wilcox > Sent: Dienstag, 5. November 2002 11:21 > To: cygwin-xfree@cygwin.com; Mario Ohnewald > Subject: Re: Own XWin start batch file > > > On Tue, 5 Nov 2002 9:16 pm, Mario Ohnewald wrote: > > > > Why? What does ac do? (Sorry, man XWin and XWin --help > couldnt help me) > > > > From the linux 'man Xserver' page: > > -ac disables host-based access control > mechanisms. Enables access > by any host, and permits any host to modify > the access control > list. Use with extreme caution. This option > exists primarily for running test suites remotely. > > --- > > Rasjid. > From suresh.rajpurohit@wipro.com Tue Nov 5 02:58:00 2002 From: suresh.rajpurohit@wipro.com (Suresh Rajpurohit) Date: Tue, 05 Nov 2002 02:58:00 -0000 Subject: Unsubscribe from mailing list Message-ID: <51E40E63D8A6314D8E4A411EF110AC283DD998@blr-m2-msg.wipro.com> Hi How to unsubscribe from this mailing list.. -------------- next part -------------- An embedded and charset-unspecified text was scrubbed... Name: Wipro_Disclaimer.txt URL: From rasjidw@openminddev.net Tue Nov 5 03:03:00 2002 From: rasjidw@openminddev.net (Rasjid Wilcox) Date: Tue, 05 Nov 2002 03:03:00 -0000 Subject: Unsubscribe from mailing list In-Reply-To: <51E40E63D8A6314D8E4A411EF110AC283DD998@blr-m2-msg.wipro.com> References: <51E40E63D8A6314D8E4A411EF110AC283DD998@blr-m2-msg.wipro.com> Message-ID: <200211052158.38780.rasjidw@openminddev.net> On Tue, 5 Nov 2002 9:33 pm, Suresh Rajpurohit wrote: > Hi > How to unsubscribe from this mailing list.. >From http://cygwin.com/lists.html You can subscribe to or unsubscribe from any of the above lists by sending email to themailinglistname-subscribe@cygwin.com or themailinglistname-unsubscribe@cygwin.com respectively. ---------- So try mailing: cygwin-xfree-unsubscribe@cygwin.com The only problem might be if you are subscribed under a different address to the one you currently use. In which case look at the headers of the email. All mail clients should have this ability somewhere. Rasjid. From suresh.rajpurohit@wipro.com Tue Nov 5 03:25:00 2002 From: suresh.rajpurohit@wipro.com (Suresh Rajpurohit) Date: Tue, 05 Nov 2002 03:25:00 -0000 Subject: Unsubscribe from mailing list Message-ID: <51E40E63D8A6314D8E4A411EF110AC283DD9A7@blr-m2-msg.wipro.com> thanks -----Original Message----- From: Rasjid Wilcox [mailto:rasjidw@openminddev.net] Sent: Tuesday, November 05, 2002 4:29 PM To: cygwin-xfree@cygwin.com; Suresh Rajpurohit Subject: Re: Unsubscribe from mailing list On Tue, 5 Nov 2002 9:33 pm, Suresh Rajpurohit wrote: > Hi > How to unsubscribe from this mailing list.. >From http://cygwin.com/lists.html You can subscribe to or unsubscribe from any of the above lists by sending email to themailinglistname-subscribe@cygwin.com or themailinglistname-unsubscribe@cygwin.com respectively. ---------- So try mailing: cygwin-xfree-unsubscribe@cygwin.com The only problem might be if you are subscribed under a different address to the one you currently use. In which case look at the headers of the email. All mail clients should have this ability somewhere. Rasjid. -------------- next part -------------- An embedded and charset-unspecified text was scrubbed... Name: Wipro_Disclaimer.txt URL: From alexander.gottwald@s1999.tu-chemnitz.de Tue Nov 5 03:42:00 2002 From: alexander.gottwald@s1999.tu-chemnitz.de (Alexander Gottwald) Date: Tue, 05 Nov 2002 03:42:00 -0000 Subject: Own XWin start batch file In-Reply-To: <004101c284b4$76998ef0$350aa8c0@aradex.local> Message-ID: On Tue, 5 Nov 2002, Mario Ohnewald wrote: > Why? What does ac do? (Sorry, man XWin and XWin --help couldnt help me) -ac switches the access control off. This is equivalent to xhost + and will allow _anybody_ to connect to the XServer. One could easily grab all keypresses and window contents. Or present fake password dialogs. bye ago -- Alexander.Gottwald@informatik.tu-chemnitz.de http://www.gotti.org ICQ: 126018723 From clyons@crosspaths.net Tue Nov 5 03:43:00 2002 From: clyons@crosspaths.net (Christopher M. Lyons) Date: Tue, 05 Nov 2002 03:43:00 -0000 Subject: rootless window management? Message-ID: <004401c284c0$5cc5a840$8742400c@blackmage> I was wondering where I might find information on window management for rootless XFree. I know there's been talk of doing some work and making some progress on a taskbar icon based window manager, but there a website with news about such work? From mario.ohnewald@gmx.de Tue Nov 5 03:56:00 2002 From: mario.ohnewald@gmx.de (Mario Ohnewald) Date: Tue, 05 Nov 2002 03:56:00 -0000 Subject: Spiekey proudly presents - the Cygwin tool Message-ID: <004c01c284c0$99084b00$350aa8c0@aradex.local> Hello! I have been coding in this since a little while, now its almost finished!! http://spiekey.dyndns.org/spiekey/screenshot.jpg I know that it might seem as wasted time to you, but i think it can be really nice and useful. Especially for beginners. Its written in Visual Basic and i want to put it under the GPL License as soon as i have "optimized" the source code for nomal human beeings ;P Its my first project really, and i would call myself a bloody coder newbie. But hey, that was fun! ;) Any tips, hints ideas would be great! Cheers, Spiekey From clyons@crosspaths.net Tue Nov 5 04:02:00 2002 From: clyons@crosspaths.net (Christopher M. Lyons) Date: Tue, 05 Nov 2002 04:02:00 -0000 Subject: Package Management, app and util distributions, etc. Message-ID: <004a01c284c2$6fed9c00$8742400c@blackmage> I've been looking for application and utility disttributions for Cygwin, as well as for XFree under Cygwin. It seems as though there's not a good way to find packages (or catagories of packages) for Cygwin unless you already know the name of a package you want. Sometimes, even that's spotty. I was wondering if there's any work towards a continually updated repository or mirroring of packages for Cygwin other than the packages installed by the Cygwin Setup Utility. or if there were any plans to add more packages to the Setup utility itself? There seems like there's a lot of stuff missing (configuration utilities, how-to documents, sendmail, pop3 server, no /etc/services file, lack of sample configuration files, etc). I'm not really complaining, I mean I realize that Cygwin is reletively new, but I was just wondering what some of the short and long term plans are, what is going to be implemented, 3rd party efforts towards compiling and distributing packages, etc. From clyons@crosspaths.net Tue Nov 5 05:04:00 2002 From: clyons@crosspaths.net (Christopher M. Lyons) Date: Tue, 05 Nov 2002 05:04:00 -0000 Subject: Spiekey proudly presents - the Cygwin tool References: <004c01c284c0$99084b00$350aa8c0@aradex.local> Message-ID: <005201c284c3$48f35170$8742400c@blackmage> ----- Original Message ----- From: "Mario Ohnewald" To: Sent: Tuesday, November 05, 2002 5:43 AM Subject: Spiekey proudly presents - the Cygwin tool > Hello! > I have been coding in this since a little while, now its almost finished!! > http://spiekey.dyndns.org/spiekey/screenshot.jpg Looks interesting. > I know that it might seem as wasted time to you, but i think it can be > really nice and useful. > Especially for beginners. Well, tell me, what all does it do? > Its written in Visual Basic and i want to put it under the GPL License as > soon as i have > "optimized" the source code for nomal human beeings ;P > > Its my first project really, and i would call myself a bloody coder newbie. > But hey, that was fun! ;) > Any tips, hints ideas would be great! I'm just a bloody end-user, trying to get some *nix useability without vmware or dual boot. From edi@serbski-institut.de Tue Nov 5 06:06:00 2002 From: edi@serbski-institut.de (PD Dr. Edward Wornar) Date: Tue, 05 Nov 2002 06:06:00 -0000 Subject: Inconvinient colormap In-Reply-To: <227070-220021125157503@cantv.net> References: <227070-220021125157503@cantv.net> Message-ID: <20021105.140146.74750570.edi@serbski-institut.de> I'm just wondering: I can't get links in graphics mode to work in a cygwin/xfree session (I'm using cygwin/xfree only to turn Windows PCs int X-terminals). Maybe the problems are related? Edi From: "rodmedina@cantv.net" Subject: RE: Inconvinient colormap Date: Mon, 4 Nov 2002 21:05:07 -0400 > Hi Harold, > > Here is what I get when running rxvt inside XWindow: > > rmedina@LIMON /Cartas >rxvt & > [1] 1007841 > rmedina@LIMON /Cartas >rxvt: can't load color "Red3" > rxvt: can't load color "Red3" > rxvt: can't load color "Green3" > rxvt: can't load color "Green3" > rxvt: can't load color "Yellow3" > rxvt: can't load color "Yellow3" > rxvt: can't load color "Blue3" > rxvt: can't load color "Blue3" > rxvt: can't load color "Magenta3" > rxvt: can't load color "Magenta3" > rxvt: can't load color "Cyan3" > rxvt: can't load color "Cyan3" > rxvt: can't load color "AntiqueWhite" > rxvt: can't load color "AntiqueWhite" > rxvt: can't load color "Grey25" > rxvt: can't load color "Grey25" > rxvt: can't load color "#B2B2B2" > rxvt: can't load color "#B2B2B2" > rxvt: can't allocate Color_bottomShadow > ------------------------------------------ > Here follows /tmp/Xwin.log > ------------------------------------------- > OsVendorInit - Creating bogus screen 0 > winInitializeDefaultScreens - w 1024 h 768 > winInitializeDefaultScreens - Returning > _XSERVTransmkdir: Owner of /tmp/.X11-unix should be set to root > (EE) Unable to locate/open config file > InitOutput - Error reading config file > winDetectSupportedEngines - Windows 95/98/Me > winDetectSupportedEngines - DirectDraw installed > winDetectSupportedEngines - DirectDraw4 installed > winDetectSupportedEngines - Returning, supported engines 00000017 > InitOutput - g_iNumScreens: 1 iMaxConsecutiveScreen: 1 > winSetEngine - Windowed && PseudoColor => ShadowGDI > winAdjustVideoModeShadowGDI - Using Windows display depth of 8 bits per > pixel > winCreateBoundingWindowWindowed - Initial w: 1024 h: 768 > winAdjustForAutoHide - Original WorkArea: 0 0 768 1024 > winAdjustForAutoHide - Taskbar is auto hide > winAdjustForAutoHide - Found BOTTOM auto-hide taskbar > winAdjustForAutoHide - Adjusted WorkArea: 0 0 767 1024 > winCreateBoundingWindowWindowed - WindowClient w 1018 h 737 r 1018 l 0 b > 737 t 0 > winCreateBoundingWindowWindowed - Returning > winFinishScreenInitFB - Masks: 00000000 00000000 00000000 > winInitVisualsShadowGDI - Masks 00000000 00000000 00000000 BPRGB 8 d 8 bpp 8 > winScreenInit - returning > (EE) No primary keyboard configured > (==) Using compiletime defaults for keyboard > Rules = "xfree86" Model = "pc101" Layout = "us" Variant = "(null)" Options > = "(null)" > _XSERVTransSocketUNIXAccept: accept() failed > _XSERVTransSocketUNIXAccept: accept() failed > _XSERVTransSocketUNIXAccept: accept() failed > ------------------------------------------------- > > bye > > From ayoung@erggroup.com Tue Nov 5 06:13:00 2002 From: ayoung@erggroup.com (Adam Young) Date: Tue, 05 Nov 2002 06:13:00 -0000 Subject: Xwin, XDM and Solaris Message-ID: I've been attempting over a period to use XWin (current stable) via xdm running on a Solaris 2.8 host without any success, as the xdm server always resolves the display name as "Starting display 0.0.0.0:0,XWIN". Ideas ? Thanks in advance --------------------------------------------------------- XWin host: (10.247.32.243) Xwin -query 10.247.32.5 -class XWIN Solaris host: (10.247.32.5) # /usr/openwin/bin/xdm -debug 1 DisplayManager.errorLogFile/DisplayManager.ErrorLogFile value /usr/openwin/lib/X11/xdm/xdm-errors DisplayManager.daemonMode/DisplayManager.DaemonMode value true DisplayManager.pidFile/DisplayManager.PidFile value /usr/openwin/lib/X11/xdm/xdm-pid DisplayManager.lockPidFile/DisplayManager.LockPidFile value true DisplayManager.authDir/DisplayManager.authDir value /usr/openwin/lib/X11/xdm DisplayManager.autoRescan/DisplayManager.AutoRescan value true DisplayManager.removeDomainname/DisplayManager.RemoveDomainname value true DisplayManager.keyFile/DisplayManager.KeyFile value /usr/openwin/lib/X11/xdm/xdm-keys DisplayManager.accessFile/DisplayManager.AccessFile value /usr/openwin/lib/X11/xdm/Xaccess DisplayManager.exportList/DisplayManager.ExportList value DisplayManager.randomFile/DisplayManager.RandomFile value /dev/mem DisplayManager.greeterLib/DisplayManager.GreeterLib value /usr/openwin/lib/X11/xdm/libXdmGreet.so DisplayManager.choiceTimeout/DisplayManager.ChoiceTimeout value 15 creating socket 177 Created chooser socket 5 WaitForSomething select returns 1. Rescan: 0 ChildReady: 0 ProcessRequestSocket header: 1 2 1 Query respond 1 ConvertAddr returning 0 for family 2 all_query_respond: conntype=0, addr=a, len=4 Send willing Willing to manage WaitForSomething select returns 1. Rescan: 0 ChildReady: 0 ProcessRequestSocket header: 1 7 68 Request respond 68 FindProtoDisplay NewProtoDisplay NewProtoDisplay 0x28b98 Got 0x24340 (18 MIT-MAGIC-COOKIE-1) Accept Session ID 317952001 WaitForSomething select returns 1. Rescan: 0 ChildReady: 0 ProcessRequestSocket header: 1 10 12 Manage 12 FindProtoDisplay Manage Session ID 317952001, pdpy 0x28b98 Computed display name: 0.0.0.0:0 <==== why ???? ConvertAddr returning 0 for family 2 Starting display 0.0.0.0:0,XWIN StartDisplay 0.0.0.0:0 ---------------------------- ERG Group -------------------------- The contents of this email and any attachments are confidential and may only be read by the intended recipient. ----------------------------------------------------------------- From Brian.Dunbar@plexus.com Tue Nov 5 06:20:00 2002 From: Brian.Dunbar@plexus.com (Brian Dunbar) Date: Tue, 05 Nov 2002 06:20:00 -0000 Subject: Xwin, XDM and Solaris Message-ID: <93EF56FF0BD1234E8D1C74B9813E0EA00197A73E@neen-mail-003.na.plexus.com> Try it with this format. It's a feature of Solaris .... xwin.exe -query hostname -fp tcp/hostname:7100 ~brian -----Original Message----- From: Adam Young [mailto:ayoung@erggroup.com] Sent: Tuesday, November 05, 2002 7:59 AM To: cygwin-xfree@cygwin.com Subject: Xwin, XDM and Solaris I've been attempting over a period to use XWin (current stable) via xdm running on a Solaris 2.8 host without any success, as the xdm server always resolves the display name as "Starting display 0.0.0.0:0,XWIN". Ideas ? Thanks in advance --------------------------------------------------------- XWin host: (10.247.32.243) Xwin -query 10.247.32.5 -class XWIN Solaris host: (10.247.32.5) # /usr/openwin/bin/xdm -debug 1 DisplayManager.errorLogFile/DisplayManager.ErrorLogFile value /usr/openwin/lib/X11/xdm/xdm-errors DisplayManager.daemonMode/DisplayManager.DaemonMode value true DisplayManager.pidFile/DisplayManager.PidFile value /usr/openwin/lib/X11/xdm/xdm-pid DisplayManager.lockPidFile/DisplayManager.LockPidFile value true DisplayManager.authDir/DisplayManager.authDir value /usr/openwin/lib/X11/xdm DisplayManager.autoRescan/DisplayManager.AutoRescan value true DisplayManager.removeDomainname/DisplayManager.RemoveDomainname value true DisplayManager.keyFile/DisplayManager.KeyFile value /usr/openwin/lib/X11/xdm/xdm-keys DisplayManager.accessFile/DisplayManager.AccessFile value /usr/openwin/lib/X11/xdm/Xaccess DisplayManager.exportList/DisplayManager.ExportList value DisplayManager.randomFile/DisplayManager.RandomFile value /dev/mem DisplayManager.greeterLib/DisplayManager.GreeterLib value /usr/openwin/lib/X11/xdm/libXdmGreet.so DisplayManager.choiceTimeout/DisplayManager.ChoiceTimeout value 15 creating socket 177 Created chooser socket 5 WaitForSomething select returns 1. Rescan: 0 ChildReady: 0 ProcessRequestSocket header: 1 2 1 Query respond 1 ConvertAddr returning 0 for family 2 all_query_respond: conntype=0, addr=a, len=4 Send willing Willing to manage WaitForSomething select returns 1. Rescan: 0 ChildReady: 0 ProcessRequestSocket header: 1 7 68 Request respond 68 FindProtoDisplay NewProtoDisplay NewProtoDisplay 0x28b98 Got 0x24340 (18 MIT-MAGIC-COOKIE-1) Accept Session ID 317952001 WaitForSomething select returns 1. Rescan: 0 ChildReady: 0 ProcessRequestSocket header: 1 10 12 Manage 12 FindProtoDisplay Manage Session ID 317952001, pdpy 0x28b98 Computed display name: 0.0.0.0:0 <==== why ???? ConvertAddr returning 0 for family 2 Starting display 0.0.0.0:0,XWIN StartDisplay 0.0.0.0:0 ---------------------------- ERG Group -------------------------- The contents of this email and any attachments are confidential and may only be read by the intended recipient. ----------------------------------------------------------------- From elik@bhphotovideo.com Tue Nov 5 07:24:00 2002 From: elik@bhphotovideo.com (Eli Kleinman - IT Dept.) Date: Tue, 05 Nov 2002 07:24:00 -0000 Subject: Xwin, XDM and Solaris Message-ID: <200211051427.gA5ERGk10076@bnhpop1.bhphotovideo.com> try using this set DISPLAY=127.0.0.1 start /B xwin -ac -noreset -screen 0 1152 864 -query "Host_ip_address" -fp tcp/host_ip_address:7100 -from my_local_ip_address & also make sure on the solaris box in /etc/inetd.conf that you have not comment out the line (this is for your fonts) fs stream tcp wait nobody /usr/openwin/lib/fs.auto fs hope this helps Eli >Mailing-List: contact cygwin-xfree-help@cygwin.com; run by ezmlm >List-Unsubscribe: >List-Subscribe: >List-Archive: >List-Post: >List-Help: , >Mail-Followup-To: cygwin-xfree@cygwin.com >Delivered-To: mailing list cygwin-xfree@cygwin.com >Subject: Xwin, XDM and Solaris >To: cygwin-xfree@cygwin.com >From: "Adam Young" >Date: Tue, 5 Nov 2002 13:58:39 +0000 >MIME-Version: 1.0 > > >I've been attempting over a period to use XWin (current stable) via xdm >running on a Solaris 2.8 host without any success, as the >xdm server always resolves the display name as "Starting display >0.0.0.0:0,XWIN". Ideas ? > >Thanks in advance > >--------------------------------------------------------- >XWin host: (10.247.32.243) > Xwin -query 10.247.32.5 -class XWIN > >Solaris host: (10.247.32.5) > # /usr/openwin/bin/xdm -debug 1 > DisplayManager.errorLogFile/DisplayManager.ErrorLogFile value >/usr/openwin/lib/X11/xdm/xdm-errors > DisplayManager.daemonMode/DisplayManager.DaemonMode value true > DisplayManager.pidFile/DisplayManager.PidFile value >/usr/openwin/lib/X11/xdm/xdm-pid > DisplayManager.lockPidFile/DisplayManager.LockPidFile value true > DisplayManager.authDir/DisplayManager.authDir value >/usr/openwin/lib/X11/xdm > DisplayManager.autoRescan/DisplayManager.AutoRescan value true > DisplayManager.removeDomainname/DisplayManager.RemoveDomainname value >true > DisplayManager.keyFile/DisplayManager.KeyFile value >/usr/openwin/lib/X11/xdm/xdm-keys > DisplayManager.accessFile/DisplayManager.AccessFile value >/usr/openwin/lib/X11/xdm/Xaccess > DisplayManager.exportList/DisplayManager.ExportList value > DisplayManager.randomFile/DisplayManager.RandomFile value /dev/mem > DisplayManager.greeterLib/DisplayManager.GreeterLib value >/usr/openwin/lib/X11/xdm/libXdmGreet.so > DisplayManager.choiceTimeout/DisplayManager.ChoiceTimeout value 15 > creating socket 177 > Created chooser socket 5 > WaitForSomething > select returns 1. Rescan: 0 ChildReady: 0 > ProcessRequestSocket > header: 1 2 1 > Query respond 1 > ConvertAddr returning 0 for family 2 > all_query_respond: conntype=0, addr=a, len=4 > Send willing Willing to manage > WaitForSomething > select returns 1. Rescan: 0 ChildReady: 0 > ProcessRequestSocket > header: 1 7 68 > Request respond 68 > FindProtoDisplay > NewProtoDisplay > NewProtoDisplay 0x28b98 > Got 0x24340 (18 MIT-MAGIC-COOKIE-1) > Accept Session ID 317952001 > WaitForSomething > select returns 1. Rescan: 0 ChildReady: 0 > ProcessRequestSocket > header: 1 10 12 > Manage 12 > FindProtoDisplay > Manage Session ID 317952001, pdpy 0x28b98 > Computed display name: 0.0.0.0:0 <==== why ???? > ConvertAddr returning 0 for family 2 > Starting display 0.0.0.0:0,XWIN > StartDisplay 0.0.0.0:0 > >---------------------------- ERG Group -------------------------- > The contents of this email and any attachments are confidential > and may only be read by the intended recipient. >----------------------------------------------------------------- =============================== Eli Kleinman B&H Photo - Video Pro Audio 420 9th Ave. New York, NY 10001 Tel: (212) 239-7500 Ext. 2154 Fax: (212) 239-7770 Email: elik@bhphotovideo.com =============================== From rrschulz@cris.com Tue Nov 5 07:27:00 2002 From: rrschulz@cris.com (Randall R Schulz) Date: Tue, 05 Nov 2002 07:27:00 -0000 Subject: Package Management, app and util distributions, etc. Message-ID: <5.1.0.14.2.20021105072315.01fea200@pop3.cris.com> Christopher, [ There's really no need to cross-post this. Even though you mention looking for XFree86/Cygwin, the questions are all about how Cygwin is packaged and made available. ] At 03:56 2002-11-05, you wrote: >I've been looking for application and utility disttributions for Cygwin, as >well as for XFree under Cygwin. It seems as though there's not a good way >to find packages (or catagories of packages) for Cygwin unless you already >know the name of a package you want. Sometimes, even that's spotty. Perhaps you're unaware of the package list and search page at the Cygwin site: ? You can enter the name of a file or a regular expression pattern and you will be told which packages, if any, contain that file. That's usually enough to locate the package you're interested in. >I was wondering if there's any work towards a continually updated repository >or mirroring of packages for Cygwin other than the packages installed by the >Cygwin Setup Utility. or if there were any plans to add more packages to the >Setup utility itself? There seems like there's a lot of stuff missing >(configuration utilities, how-to documents, sendmail, pop3 server, no >/etc/services file, lack of sample configuration files, etc). Of course, new packages are being added to Cygwin on an ongoing, though irregular basis. I think you need to look harder. Much of what you say you're looking for is indeed available. If you have the right combination of available disk space, network connectivity bandwidth and patience, you could just download and install everything and then explore. >I'm not really complaining, I mean I realize that Cygwin is reletively new, >but I was just wondering what some of the short and long term plans are, >what is going to be implemented, 3rd party efforts towards compiling and >distributing packages, etc. New to you, perhaps. In the time scales of the world of information technology, I'd say something that's been around for over 5 years to be some place beyond youth--middle age, perhaps? Certainly Cygwin is not "new" and is certainly mature. Randall Schulz Mountain View, CA USA Randy From Alexander.Gottwald@s1999.tu-chemnitz.de Tue Nov 5 07:30:00 2002 From: Alexander.Gottwald@s1999.tu-chemnitz.de (Alexander Gottwald) Date: Tue, 05 Nov 2002 07:30:00 -0000 Subject: Xwin, XDM and Solaris In-Reply-To: Message-ID: Adam Young wrote: > > I've been attempting over a period to use XWin (current stable) via xdm > running on a Solaris 2.8 host without any success, as the > xdm server always resolves the display name as "Starting display > 0.0.0.0:0,XWIN". Ideas ? > --------------------------------------------------------- > XWin host: (10.247.32.243) > Xwin -query 10.247.32.5 -class XWIN please try Xwin -query 10.247.32.5 -class XWIN -from 10.247.32.243 bye ago -- Alexander.Gottwald@informatik.tu-chemnitz.de http://www.gotti.org ICQ: 126018723 From rrschulz@cris.com Tue Nov 5 08:13:00 2002 From: rrschulz@cris.com (Randall R Schulz) Date: Tue, 05 Nov 2002 08:13:00 -0000 Subject: rootless window management? In-Reply-To: <004401c284c0$5cc5a840$8742400c@blackmage> Message-ID: <5.1.0.14.2.20021105072551.028f6eb0@pop3.cris.com> Christopher, We encourage people to search the mailing list archives before asking questions. Please consult thoroughly. Rootless operation is a recent topic and the information is readily available in the list archive. But if you just want to jump in, the option to XWin is "-rootless". Good luck. Randall Schulz Mountain View, CA USA At 03:42 2002-11-05, Christopher M. Lyons wrote: >I was wondering where I might find information on window management for >rootless XFree. I know there's been talk of doing some work and making some >progress on a taskbar icon based window manager, but there a website with >news about such work? From huntharo@pilot.msu.edu Tue Nov 5 08:18:00 2002 From: huntharo@pilot.msu.edu (Harold L Hunt II) Date: Tue, 05 Nov 2002 08:18:00 -0000 Subject: Spiekey proudly presents - the Cygwin tool In-Reply-To: <004c01c284c0$99084b00$350aa8c0@aradex.local> Message-ID: Okay, but the only ``official'' version of something like this will have to be written in C, C++, or some other language that has a free compiler on Cygwin so that other people can contribute without paying for a specific commercial development tool. Harold -----Original Message----- From: cygwin-xfree-owner@cygwin.com [mailto:cygwin-xfree-owner@cygwin.com]On Behalf Of Mario Ohnewald Sent: Tuesday, November 05, 2002 6:44 AM To: cygwin-xfree@cygwin.com Subject: Spiekey proudly presents - the Cygwin tool Hello! I have been coding in this since a little while, now its almost finished!! http://spiekey.dyndns.org/spiekey/screenshot.jpg I know that it might seem as wasted time to you, but i think it can be really nice and useful. Especially for beginners. Its written in Visual Basic and i want to put it under the GPL License as soon as i have "optimized" the source code for nomal human beeings ;P Its my first project really, and i would call myself a bloody coder newbie. But hey, that was fun! ;) Any tips, hints ideas would be great! Cheers, Spiekey From huntharo@pilot.msu.edu Tue Nov 5 08:35:00 2002 From: huntharo@pilot.msu.edu (Harold L Hunt II) Date: Tue, 05 Nov 2002 08:35:00 -0000 Subject: XFree leaking memory? In-Reply-To: Message-ID: Konstantin, Interesting. So, this appears to be a new memory leak that has nothing to do with rootless mode. At this point I think we will need suggestions from others as to how we can find the source of this memory leak. There are not too many calls in the Windows-specific portion of XWin.exe that could result in continual memory leaks like this. However, I hope that the bug is in the Windows-specific portion of XWin.exe and not in either the rest of the XWin.exe code or in cygwin1.dll. Finding a memory leak in either of those would be tedious. Anybody got any suggestions? Harold -----Original Message----- From: cygwin-xfree-owner@cygwin.com [mailto:cygwin-xfree-owner@cygwin.com]On Behalf Of Konstantin N. Kudin Sent: Monday, November 04, 2002 8:49 PM To: cygwin-xfree@cygwin.com Subject: Re: XFree leaking memory? Harold I do not think I am using "-rootless" since I am running the standard *.bat file supplied with XFree and have a separate workspace for X. So this leak appears to be a separate issue. Is there a way to generate memory usage statistics for X? Konstantin On Mon, 4 Nov 2002, it was written: > Konstantin, > > Are you using the ``-rootless'' command-line parameter? If so, the > developer of that feature mentioned that there was a memory leak and > that he was working on fixing it. If not, then we might need to look > into your problem as a previously unknown problem. > > Harold > > Konstantin N. Kudin wrote: > > > Hi all > > > > I am using the cygwin + xfree combination for my X server. > >I run the program for days on a W2k laptop and put the machine on stand by > >every night. W2k and xfree are restarted quite infrequently (once every > >2-4 weeks). > > I have noticed in Task Manager that XWin process slowly but surely grows > >in size adding about 2Mb every day. It starts from 13 Mb but over the > >course of few days may become as large as 150 Mb (I have seen that). I > >tried to update XFree to the latest version a couple of weeks ago yet it > >did not stop growing in size. > > I mostly run fvwm and 2-3 xterms. I also occasionally display xterms and > >other things from other machines. > > I am curious if the developers are aware of/working on this issue? > > I could provide more details if needed/technically possible. > > > > Sincerely, > > Konstantin > > > From jc.gervais@videotron.ca Tue Nov 5 08:59:00 2002 From: jc.gervais@videotron.ca (Jean-Claude Gervais) Date: Tue, 05 Nov 2002 08:59:00 -0000 Subject: XFree leaking memory? In-Reply-To: Message-ID: <00d501c284e9$294a0b40$6501a8c0@sprymusic.com> BoundsChecker. I use it all the time to find memory leaks. I wonder if you can use it on something compiled with GCC... It should be able to see bad parameters and leaks resulting from calls to the Win32 API, but I wonder if that would be the extent of what it can trap. In other words, it might not be able to follow NEW or MALLOC, because the object format might be too different. Tell you what, unless someone has actually tried BoundsChecker on GCC code and has a capsule about how well it works, I'll give it a shot and post back results. PS - I should say that I am NOT affiliated with the makers of BoundsChecker in any way, and on the whole, I find BoundsChecker pretty buggy itself and not very reliable that it won't crash during a run, so don't bother pointing that out. ;-) -----Original Message----- From: cygwin-xfree-owner@cygwin.com [mailto:cygwin-xfree-owner@cygwin.com]On Behalf Of Harold L Hunt II Sent: Tuesday, November 05, 2002 11:18 AM To: cygwin-xfree@cygwin.com Subject: RE: XFree leaking memory? Konstantin, Interesting. So, this appears to be a new memory leak that has nothing to do with rootless mode. At this point I think we will need suggestions from others as to how we can find the source of this memory leak. There are not too many calls in the Windows-specific portion of XWin.exe that could result in continual memory leaks like this. However, I hope that the bug is in the Windows-specific portion of XWin.exe and not in either the rest of the XWin.exe code or in cygwin1.dll. Finding a memory leak in either of those would be tedious. Anybody got any suggestions? Harold -----Original Message----- From: cygwin-xfree-owner@cygwin.com [mailto:cygwin-xfree-owner@cygwin.com]On Behalf Of Konstantin N. Kudin Sent: Monday, November 04, 2002 8:49 PM To: cygwin-xfree@cygwin.com Subject: Re: XFree leaking memory? Harold I do not think I am using "-rootless" since I am running the standard *.bat file supplied with XFree and have a separate workspace for X. So this leak appears to be a separate issue. Is there a way to generate memory usage statistics for X? Konstantin On Mon, 4 Nov 2002, it was written: > Konstantin, > > Are you using the ``-rootless'' command-line parameter? If so, the > developer of that feature mentioned that there was a memory leak and > that he was working on fixing it. If not, then we might need to look > into your problem as a previously unknown problem. > > Harold > > Konstantin N. Kudin wrote: > > > Hi all > > > > I am using the cygwin + xfree combination for my X server. > >I run the program for days on a W2k laptop and put the machine on stand by > >every night. W2k and xfree are restarted quite infrequently (once every > >2-4 weeks). > > I have noticed in Task Manager that XWin process slowly but surely grows > >in size adding about 2Mb every day. It starts from 13 Mb but over the > >course of few days may become as large as 150 Mb (I have seen that). I > >tried to update XFree to the latest version a couple of weeks ago yet it > >did not stop growing in size. > > I mostly run fvwm and 2-3 xterms. I also occasionally display xterms and > >other things from other machines. > > I am curious if the developers are aware of/working on this issue? > > I could provide more details if needed/technically possible. > > > > Sincerely, > > Konstantin > > > From kostya@rice.edu Tue Nov 5 11:30:00 2002 From: kostya@rice.edu (Konstantin N. Kudin) Date: Tue, 05 Nov 2002 11:30:00 -0000 Subject: XFree leaking memory? In-Reply-To: Message-ID: Harold, I did some tests and basically when I open an xterm the XWin size goes up by about 30-50 Kb. When I close it, it stays the same (enlarged). When I open a remote xterm and display it on my machine, same thing happens, i.e. XWin size increases when xterm appears and stays at the same level when xterm is closed. Another issue is that xclock manages to grow from about 5 Mb when fresh to about 10 Mb in a week. Also, all the xfree components seem to require obscene amounts of memory, 7 Mb per each xterm, 5 Mb for xclock, 5 Mb for fvwm pager, etc. Is this because the required libraries are statically linked with these applications such that everything has to keep its own set of libraries? The end result of this behaviour is that 512 Mb of RAM that I have become insufficient in a few days and I have to restart Xwin to get things under control. I hope this helps ... Konstantin On Tue, 5 Nov 2002, it was written: > Konstantin, > > Interesting. So, this appears to be a new memory leak that has nothing to > do with rootless mode. > > At this point I think we will need suggestions from others as to how we can > find the source of this memory leak. > > There are not too many calls in the Windows-specific portion of XWin.exe > that could result in continual memory leaks like this. However, I hope that > the bug is in the Windows-specific portion of XWin.exe and not in either the > rest of the XWin.exe code or in cygwin1.dll. Finding a memory leak in > either of those would be tedious. > > Anybody got any suggestions? > > Harold > > -----Original Message----- > From: cygwin-xfree-owner@cygwin.com > [mailto:cygwin-xfree-owner@cygwin.com]On Behalf Of Konstantin N. Kudin > Sent: Monday, November 04, 2002 8:49 PM > To: cygwin-xfree@cygwin.com > Subject: Re: XFree leaking memory? > > > Harold > > I do not think I am using "-rootless" since I am running the standard > *.bat file supplied with XFree and have a separate workspace for X. So > this leak appears to be a separate issue. > > Is there a way to generate memory usage statistics for X? > > Konstantin > > On Mon, 4 Nov 2002, it was written: > > > Konstantin, > > > > Are you using the ``-rootless'' command-line parameter? If so, the > > developer of that feature mentioned that there was a memory leak and > > that he was working on fixing it. If not, then we might need to look > > into your problem as a previously unknown problem. > > > > Harold > > > > Konstantin N. Kudin wrote: > > > > > Hi all > > > > > > I am using the cygwin + xfree combination for my X server. > > >I run the program for days on a W2k laptop and put the machine on stand > by > > >every night. W2k and xfree are restarted quite infrequently (once every > > >2-4 weeks). > > > I have noticed in Task Manager that XWin process slowly but surely grows > > >in size adding about 2Mb every day. It starts from 13 Mb but over the > > >course of few days may become as large as 150 Mb (I have seen that). I > > >tried to update XFree to the latest version a couple of weeks ago yet it > > >did not stop growing in size. > > > I mostly run fvwm and 2-3 xterms. I also occasionally display xterms and > > >other things from other machines. > > > I am curious if the developers are aware of/working on this issue? > > > I could provide more details if needed/technically possible. > > > > > > Sincerely, > > > Konstantin > > > > > > > From c_twiner@hotmail.com Tue Nov 5 11:55:00 2002 From: c_twiner@hotmail.com (Chris Twiner) Date: Tue, 05 Nov 2002 11:55:00 -0000 Subject: how does xwin resolve ip addresses Message-ID: 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 IpAddrTable // IPADDRROW dwAddr=00000000 dwIndex=65540 dwMask=00000000 dwBCastAddr=00000001 dwReasmSize=65535 // IFROW wszName= dwIndex=65540 dwType=6 bDescr=Intel 8255x-based PCI Ethernet Adapter (10/100) // IPADDRROW dwAddr=00000000 dwIndex=65541 dwMask=00000000 dwBCastAddr=00000001 dwReasmSize=65535 // IFROW wszName= dwIndex=65541 dwType=6 bDescr=3Com 3CRSHPW_96 Wireless LAN PC Card // IPADDRROW dwAddr=0100007f dwIndex=1 dwMask=000000ff dwBCastAddr=00000001 dwReasmSize=65535 // IFROW wszName= dwIndex=1 dwType=24 bDescr=MS TCP Loopback interface // Dumping IfTable wszName=Loopback dwIndex=1 dwType=24 bDescr=Internal loopback interface for 127.0.0 network wszName={562C1C1F-F3B0-49E1-98D6-C44DF1084DD8} dwIndex=65540 dwType=6 bDescr=Intel 8255x-based PCI Ethernet Adapter (10/100) eth0: family=TCP/IP (0) addr=0.0.0.0 lo: family=TCP/IP (0) addr=127.0.0.1 And just for completeness the route print: c:\home\Chris>route print =========================================================================== Interface List 0x1 ........................... MS TCP Loopback interface 0x2 ...02 00 4c 4f 4f 50 ...... Microsoft Loopback Adapter 0x10004 ...00 20 e0 70 70 16 ...... Intel 8255x-based PCI Ethernet Adapter (10/1 00) 0x10005 ...00 04 75 c4 55 6e ...... 3Com 3CRSHPW_96 Wireless LAN PC Card =========================================================================== =========================================================================== Active Routes: Network Destination Netmask Gateway Interface Metric 0.0.0.0 0.0.0.0 192.168.1.1 192.168.1.35 30 10.0.0.0 255.0.0.0 10.10.1.1 10.10.1.1 30 10.10.1.1 255.255.255.255 127.0.0.1 127.0.0.1 30 10.255.255.255 255.255.255.255 10.10.1.1 10.10.1.1 30 127.0.0.0 255.0.0.0 127.0.0.1 127.0.0.1 1 192.168.1.0 255.255.255.0 192.168.1.35 192.168.1.35 30 192.168.1.35 255.255.255.255 127.0.0.1 127.0.0.1 30 192.168.1.255 255.255.255.255 192.168.1.35 192.168.1.35 30 224.0.0.0 240.0.0.0 10.10.1.1 10.10.1.1 30 224.0.0.0 240.0.0.0 192.168.1.35 192.168.1.35 30 255.255.255.255 255.255.255.255 10.10.1.1 10.10.1.1 1 255.255.255.255 255.255.255.255 10.10.1.1 10.10.1.1 1 255.255.255.255 255.255.255.255 192.168.1.35 10004 1 255.255.255.255 255.255.255.255 192.168.1.35 192.168.1.35 1 Default Gateway: 192.168.1.1 =========================================================================== Persistent Routes: None Hope it helps. 3com rather quickly referred me to the cygwin/xfree86 documentation so I'll not hold out much hope of useful help from them. Chris _________________________________________________________________ Unlimited Internet access -- and 2 months free!?? Try MSN. http://resourcecenter.msn.com/access/plans/2monthsfree.asp From Alexander.Gottwald@s1999.tu-chemnitz.de Tue Nov 5 12:18:00 2002 From: Alexander.Gottwald@s1999.tu-chemnitz.de (Alexander Gottwald) Date: Tue, 05 Nov 2002 12:18:00 -0000 Subject: how does xwin resolve ip addresses In-Reply-To: Message-ID: Chris Twiner wrote: > // IPADDRROW > dwAddr=00000000 > dwIndex=65541 > dwMask=00000000 > dwBCastAddr=00000001 > dwReasmSize=65535 > // IFROW > wszName= > dwIndex=65541 > dwType=6 > bDescr=3Com 3CRSHPW_96 Wireless LAN PC Card That's good, good, good *g* Await a patch in the next days. > wszName={562C1C1F-F3B0-49E1-98D6-C44DF1084DD8} That's good too. The widestrings are now printed correctly. bye ago -- Alexander.Gottwald@informatik.tu-chemnitz.de http://www.gotti.org ICQ: 126018723 From Ralf.Habacker@freenet.de Tue Nov 5 13:24:00 2002 From: Ralf.Habacker@freenet.de (Ralf Habacker) Date: Tue, 05 Nov 2002 13:24:00 -0000 Subject: XFree leaking memory? In-Reply-To: <00d501c284e9$294a0b40$6501a8c0@sprymusic.com> Message-ID: <00af01c28508$6f487f90$0a1c440a@BRAMSCHE> > In other words, it might not be able to follow NEW or MALLOC, because the > object format might be too different. > Try the mem_watch tool in the kde-cygwin cvs area http://sourceforge.net/cvs/?group_id=27249, which hooks any memory relating call. $ less README Memory Watcher ============== This is a little library for tracing memory related api calls on win32 using gcc. Features: - detection of unfree'd memory regions - traces each malloc(), calloc(), realloc() and free() call - collects size and addresses of allocated area - runtime switchable logging support of hooked function See INSTALL for installation hints. The only thing you have to do is to adding a call after main() and perhaps one call for printing the results at the end of main(). Try $cvs -d:pserver:anonymous@cvs.kde-cygwin.sourceforge.net:/cvsroot/kde-cygwin login $cvs -z3 -d:pserver:anonymous@cvs.kde-cygwin.sourceforge.net:/cvsroot/kde-cygwin co tools/mem_watch $ make $ make check $ test.exe From jensen@physics.unr.edu Tue Nov 5 13:33:00 2002 From: jensen@physics.unr.edu (Lars Jensen) Date: Tue, 05 Nov 2002 13:33:00 -0000 Subject: HOWTO rootless mode?? Message-ID: I can't find any documentation on how to use rootless mode (or even what it is)? How so I start rootless mode? Can anyone point me to some sourses of help? Is it available with the latest (stable) distribution of cygwin/xfree? Thanks, Lars. -- Lars Jensen, TMCC/Vista B200, 7000 Dandini Blvd, Reno NV 89512-3999. Internet: , http://www.scsr.nevada.edu/~jensen Tel: 775.673.7113 FAX: 775.674.7592 From rrschulz@cris.com Tue Nov 5 13:35:00 2002 From: rrschulz@cris.com (Randall R Schulz) Date: Tue, 05 Nov 2002 13:35:00 -0000 Subject: HOWTO rootless mode?? In-Reply-To: Message-ID: <5.1.0.14.2.20021105132707.02a79598@pop3.cris.com> Grrrrr... At 13:24 2002-11-05, you wrote: >I can't find any documentation on how to use rootless mode (or even what >it is)? If you don't know what it is, how do you know _of_ if? Wherever you heard about it (could it be this list?), that's where you'll find other answers. But that does require looking... >How do I start rootless mode? XWin -rootless Imagine that! >Can anyone point me to some sources of help? >Is it available with the latest (stable) distribution of cygwin/xfree? XFree86-xserv 4.2.0-15 (experimental) >Thanks. >Lars. Randall Schulz Mountain View, CA USA From jc.gervais@videotron.ca Tue Nov 5 13:41:00 2002 From: jc.gervais@videotron.ca (Jean-Claude Gervais) Date: Tue, 05 Nov 2002 13:41:00 -0000 Subject: XFree leaking memory? In-Reply-To: <00af01c28508$6f487f90$0a1c440a@BRAMSCHE> Message-ID: <00e501c28513$0ac8f490$6501a8c0@sprymusic.com> Thanks Ralf, There is also this tool - http://devel-home.kde.org/~sewardj/ Not sure if it can be used on Cygwin, but I think it might. Anyhow, I'll run some tests and report back. -----Original Message----- From: cygwin-xfree-owner@cygwin.com [mailto:cygwin-xfree-owner@cygwin.com]On Behalf Of Ralf Habacker Sent: Tuesday, November 05, 2002 3:18 PM To: cygwin-xfree@cygwin.com Subject: RE: XFree leaking memory? > In other words, it might not be able to follow NEW or MALLOC, because the > object format might be too different. > Try the mem_watch tool in the kde-cygwin cvs area http://sourceforge.net/cvs/?group_id=27249, which hooks any memory relating call. $ less README Memory Watcher ============== This is a little library for tracing memory related api calls on win32 using gcc. Features: - detection of unfree'd memory regions - traces each malloc(), calloc(), realloc() and free() call - collects size and addresses of allocated area - runtime switchable logging support of hooked function See INSTALL for installation hints. The only thing you have to do is to adding a call after main() and perhaps one call for printing the results at the end of main(). Try $cvs -d:pserver:anonymous@cvs.kde-cygwin.sourceforge.net:/cvsroot/kde-cygwin login $cvs -z3 -d:pserver:anonymous@cvs.kde-cygwin.sourceforge.net:/cvsroot/kde-cy gwin co tools/mem_watch $ make $ make check $ test.exe From keith@keithtyler.com Tue Nov 5 13:42:00 2002 From: keith@keithtyler.com (Keith D. Tyler) Date: Tue, 05 Nov 2002 13:42:00 -0000 Subject: HOWTO rootless mode?? In-Reply-To: <5.1.0.14.2.20021105132707.02a79598@pop3.cris.com> from "Randall R Schulz" at Nov 05, 2002 01:33:35 PM Message-ID: <200211052141.gA5Lffo30005@shell.faradic.net> Is it worth asking if the option has been added to the XWin.1 manpage? (If it isn't, then... er...) Kdt Randall R Schulz was recently quoted as saying... > Grrrrr... > At 13:24 2002-11-05, you wrote: > >I can't find any documentation on how to use rootless mode (or even what > >it is)? From Ralf.Habacker@freenet.de Tue Nov 5 13:54:00 2002 From: Ralf.Habacker@freenet.de (Ralf Habacker) Date: Tue, 05 Nov 2002 13:54:00 -0000 Subject: XFree leaking memory? In-Reply-To: <00e501c28513$0ac8f490$6501a8c0@sprymusic.com> Message-ID: <00b101c28514$4511a6a0$0a1c440a@BRAMSCHE> > There is also this tool - > http://devel-home.kde.org/~sewardj/ > > Not sure if it can be used on Cygwin, but I think it might. > It depends on the glibc and this isn't ported to cygwin yet. Ralf From rrschulz@cris.com Tue Nov 5 13:56:00 2002 From: rrschulz@cris.com (Randall R Schulz) Date: Tue, 05 Nov 2002 13:56:00 -0000 Subject: HOWTO rootless mode?? In-Reply-To: <200211052141.gA5Lffo30005@shell.faradic.net> References: <5.1.0.14.2.20021105132707.02a79598@pop3.cris.com> Message-ID: <5.1.0.14.2.20021105135145.028e0d38@pop3.cris.com> At 13:41 2002-11-05, you wrote: >Is it worth asking if the option has been added to the XWin.1 manpage? Why don't you just find out for yourself? >(If it isn't, then... er...) "Er..." what?? Say what you mean, please. If you don't find the software or the documentation acceptable, then you know what to do. Hint: Put up or shut up. >Kdt > >Randall R Schulz was recently quoted as saying... > > Grrrrr... > > At 13:24 2002-11-05, you wrote: > > >I can't find any documentation on how to use rootless mode (or even > what it is)? From huntharo@msu.edu Tue Nov 5 14:00:00 2002 From: huntharo@msu.edu (Harold L Hunt II) Date: Tue, 05 Nov 2002 14:00:00 -0000 Subject: HOWTO rootless mode?? References: <5.1.0.14.2.20021105132707.02a79598@pop3.cris.com> Message-ID: <3DC83E94.6000009@msu.edu> Randall, Be nice. I posted an announcement for XFree86-xserv-4.2.0-15, but I did not mention that you should use the ``-rootless'' parameter for the rootless mode. Rootless mode is in the stable release, but it is still considered experimental because it may leak memory and it may have certain undesireable behaviors. Although, it seems that rootless mode is pretty much complete because there have not been any significant complaints. I did a little SNAFU with respect to the man page because I updated the man page, but I did not roll a new release of the man pages package. I should probably do that, but I don't think many users will be pleased with redownloading all XFree86 man pages just to get one new one. I will have to think about that one. Harold Randall R Schulz wrote: > > Grrrrr... > > > At 13:24 2002-11-05, you wrote: > >> I can't find any documentation on how to use rootless mode (or even >> what it is)? > > > If you don't know what it is, how do you know _of_ if? Wherever you > heard about it (could it be this list?), that's where you'll find other > answers. But that does require looking... > > >> How do I start rootless mode? > > > XWin -rootless > > Imagine that! > > >> Can anyone point me to some sources of help? > > > > > > > >> Is it available with the latest (stable) distribution of cygwin/xfree? > > > XFree86-xserv 4.2.0-15 (experimental) > > >> Thanks. >> Lars. > > > > Randall Schulz > Mountain View, CA USA > From huntharo@msu.edu Tue Nov 5 14:07:00 2002 From: huntharo@msu.edu (Harold L Hunt II) Date: Tue, 05 Nov 2002 14:07:00 -0000 Subject: XFree leaking memory? References: <00e501c28513$0ac8f490$6501a8c0@sprymusic.com> Message-ID: <3DC83F97.9050502@msu.edu> It was mentioned that the memory size increased when a new X window (such as an xterm) is opened, but that it does not decrease when that window is destroyed. This indicates one of a few things to me: 1) We are not freeing our window privates (directly or indirectly). This seems plausible, but I don't think our window privates are even 1 kilobyte. 2) Windows is not being notified that our allocated memory has been released, so Task Manager reports more memory allocated to our process than there actually is. Task Manager is notorious for this. I would not be surprised if there was no memory leak whatsoever. Please keep an eye on your memory allocated at the system level... if XWin.exe is reported as using 200 MB but you are only using 120 MB of system memory, then you know that the numbers are just not adding up correctly. 3) Some other portion of the XWin.exe code is not freeing its window privates correctly. Harold From rrschulz@cris.com Tue Nov 5 14:31:00 2002 From: rrschulz@cris.com (Randall R Schulz) Date: Tue, 05 Nov 2002 14:31:00 -0000 Subject: HOWTO rootless mode?? In-Reply-To: <3DC83E94.6000009@msu.edu> References: <5.1.0.14.2.20021105132707.02a79598@pop3.cris.com> Message-ID: <5.1.0.14.2.20021105140552.02118560@pop3.cris.com> At 13:56 2002-11-05, you wrote: >Randall, > >Be nice. Yes, sir. From Alexander.Gottwald@s1999.tu-chemnitz.de Tue Nov 5 15:32:00 2002 From: Alexander.Gottwald@s1999.tu-chemnitz.de (Alexander Gottwald) Date: Tue, 05 Nov 2002 15:32:00 -0000 Subject: how does xwin resolve ip addresses (fwd) Message-ID: And it got cancelled again. The patch is no longer attached and will be sent by pm after explicit request. bye ago, now very upset Date: Tue, 5 Nov 2002 23:29:09 +0100 (MET) From: Alexander Gottwald To: cygwin-xfree@cygwin.com Cc: Chris Twiner Subject: Re: how does xwin resolve ip addresses Alexander Gottwald wrote: > Await a patch in the next days. And here it is. Please try the modified cygwin1.dll. http://www-usercgi.tu-chemnitz.de/~goal/xfree/cygwin1-wireless.dll Please report if it works or not. Patch is attached. If it works, I'll send the patch to cygwin-patches. Hey, It's late. If have to get up in less than 6 hours. I hack the cygwin library and the mailer-deamon says i'm a spammer. What the f*** is going on? Is this the price of freedom? Do we have to accept restrictions to be free from spam? This is the third message that got cancelled in the last days and I have to rewrite. Maybe some hints _why_ the message was declared as spam would help to prevent such extra work. bye ago, upset NP: Blutengel - Angel Dust I -- Alexander.Gottwald@informatik.tu-chemnitz.de http://www.gotti.org ICQ: 126018723 From jensen@physics.unr.edu Tue Nov 5 15:44:00 2002 From: jensen@physics.unr.edu (Lars Jensen) Date: Tue, 05 Nov 2002 15:44:00 -0000 Subject: Randall, please don't post here Message-ID: Hi Randall, If you can't be civilized, please don't post to this list. It is better not to post than to post comments like the one you just posted. Apparently, judging from your comments, you're not interested in any newbies figuring out how to use cygwin/xfree. What is the matter with folks posting questions to learn new stuff? Aren't you interesting in helping to spread this great software across the globe? Lars. -- Lars Jensen, TMCC/Vista B200, 7000 Dandini Blvd, Reno NV 89512-3999. Internet: , http://www.scsr.nevada.edu/~jensen Tel: 775.673.7113 FAX: 775.674.7592 From rrschulz@cris.com Tue Nov 5 15:47:00 2002 From: rrschulz@cris.com (Randall R Schulz) Date: Tue, 05 Nov 2002 15:47:00 -0000 Subject: Randall, please don't post here In-Reply-To: Message-ID: <5.1.0.14.2.20021105153915.02c3ad48@pop3.cris.com> Lars, I have no intention of catering to your delicate sensibilities. Participants in these lists are expected to do their homework, and that includes searching the list archives before posting questions. Innuendo about inadequate documentation, such as you posted, is far more inappropriate than the slightly harsh tone I took with you. One aspect of promoting this software, which I agree is impressive and immensely valuable, is suppressing redundancy on the mailing lists so information is more accessible to newcomers. I think you need to reconsider your own expectations rather than try to impose them on others. Randall Schulz Mountain View, CA USA At 14:10 2002-11-05, you wrote: >Hi Randall, > >If you can't be civilized, please don't post to this list. It is better >not to post than to post comments like the one you just posted. Apparently, >judging from your comments, you're not interested in any newbies >figuring out how to use cygwin/xfree. What is the matter with folks >posting questions to learn new stuff? Aren't you interesting in >helping to spread this great software across the globe? > >Lars. From keith@keithtyler.com Tue Nov 5 15:58:00 2002 From: keith@keithtyler.com (Keith D. Tyler) Date: Tue, 05 Nov 2002 15:58:00 -0000 Subject: Randall, please don't post here In-Reply-To: from "Lars Jensen" at Nov 05, 2002 02:10:11 PM Message-ID: <200211052347.gA5Nlh104783@shell.faradic.net> Randall, I'm sorry for asking about the man page. Incidentally, I *did* check mine, which should be up to date since I updated my cygwin install yesterday (mainly to get the stable rootless mode binary), and didn't see the option. My question had more to do with probing if there was an edited copy in existence, and if it had been pushed out, the answers to which would determine 1) if the edit was needed (in which case I'd certainly be happy to contribute a few strings if needed, though I'm hardly the most appropriate person), 2) if it wasnt needed and was just a matter of waiting for it to be pushed, or 3) if my last cygwin update got farked up somehow. And lastly, when I said "if it isn't", I was referring to the "If it's worth asking" part, not whether the man page was updated. Apparently it wasn't worth asking, and for that I apologize. I'm not sure that this list has collectively determined whether this is a Cygwin/XFree *discussion* list, or a Cygwin/XFree *development* list. Please, for those of us who either a) aren't programmatically inclined, or b) don't have the luxury of vast expanses of time to get up to speed on the required languages and source materials, someone figure out. Maybe two lists are needed. Regards, ================================================================== Keith D. Tyler keith@keithtyler.com Federal Way, WA http://www.keithtyler.com ------------------------------------------------------------------ If Tyrrany and Oppresion come to this land, it will be under the guise of fighting a foreign enemy. - James Madison, U.S. President 1809-1817 ================================================================== From rrschulz@cris.com Tue Nov 5 18:06:00 2002 From: rrschulz@cris.com (Randall R Schulz) Date: Tue, 05 Nov 2002 18:06:00 -0000 Subject: One Apology & An Acknowledgement of Error Message-ID: <5.1.0.14.2.20021105155208.02c07d78@pop3.cris.com> To Whom It May Concern (and Keith and Lars), OK. The "put up or shut up" comment was too harsh and unwarranted as such. I should have politely said: "Patches gratefully accepted." Furthermore, I mistakenly thought that Keith's statement "(If it isn't, then... er...)" was written by Lars, so I should not have accused him of "innuendo." Apparently I also simply misinterpreted it as innuendo. Mea culpa! Lastly, I've got to say that I don't think the issue is about what's "worth asking," it's about which questions can be reasonably expected to be answered by participants on the list which should be the responsibility of the inquisitor. Are we good? Randy From cgf@redhat.com Tue Nov 5 18:25:00 2002 From: cgf@redhat.com (Christopher Faylor) Date: Tue, 05 Nov 2002 18:25:00 -0000 Subject: xfree leaking memory? In-Reply-To: <3DC83F97.9050502@msu.edu> References: <00e501c28513$0ac8f490$6501a8c0@sprymusic.com> <3DC83F97.9050502@msu.edu> Message-ID: <20021106020756.GA4680@redhat.com> On Tue, Nov 05, 2002 at 05:00:55PM -0500, Harold L Hunt II wrote: >It was mentioned that the memory size increased when a new X window >(such as an xterm) is opened, but that it does not decrease when that >window is destroyed. This indicates one of a few things to me: > >1) We are not freeing our window privates (directly or indirectly). >This seems plausible, but I don't think our window privates are even 1 >kilobyte. I thought I should point out that Cygwin doesn't currently return deallocated memory to the windows pool. So, the heap only gets larger. It does reuse previously allocated memory, of course. So, a malloc/free/malloc will not necessarily consume any more system memory. So, if the memory size grows every time an xterm is opened but then does not get any larger if subsequent xterms are closed and opened, then that is probably expected behavior. cgf From cgf@redhat.com Tue Nov 5 18:50:00 2002 From: cgf@redhat.com (Christopher Faylor) Date: Tue, 05 Nov 2002 18:50:00 -0000 Subject: Randall, please don't post here In-Reply-To: <200211052347.gA5Nlh104783@shell.faradic.net> References: <200211052347.gA5Nlh104783@shell.faradic.net> Message-ID: <20021106022749.GB4680@redhat.com> On Tue, Nov 05, 2002 at 06:47:43PM -0500, Keith D. Tyler wrote: >I'm not sure that this list has collectively determined whether this is a >Cygwin/XFree *discussion* list, or a Cygwin/XFree *development* list. From http://cygwin.com/lists.html # cygwin-xfree: a list for discussion of all things related to XFree86 on Cygwin (Cygwin/XFree86). If you have questions about how to use, configure, install, build, or develop with Cygwin/XFree86, this is the list for you. If you have general questions about using Cygwin/XFree86, please see the Cygwin/XFree86 User's Guide or the Cygwin/XFree86 FAQ. >Please, for those of us who either a) aren't programmatically inclined, >or b) don't have the luxury of vast expanses of time to get up to speed >on the required languages and source materials, someone figure out. >Maybe two lists are needed. I'm not sure what you are pleading for but I don't see why asking people to contribute is a terrible thing on any list. And, pointing out that it is ludicrous to ask hundreds of people (i.e., the people on this mailing list) to check on something like "Is it in the man page yet" when one could easily check this on their on system is not something that even a (shudder) "newbie" should have problems with. Of course we all make mistakes and sometimes send email without thinking but falling back on the old, tired "We're not all programmers!" or "We don't have time!" defenses is really missing the point here, IMO. If you have time to write email, you have time to check a man page. cgf From Alexander.Gottwald@s1999.tu-chemnitz.de Tue Nov 5 18:52:00 2002 From: Alexander.Gottwald@s1999.tu-chemnitz.de (Alexander Gottwald) Date: Tue, 05 Nov 2002 18:52:00 -0000 Subject: how does xwin resolve ip addresses Message-ID: Alexander Gottwald wrote: > Await a patch in the next days. And here it is. Please try the modified cygwin1.dll. http://www-usercgi.tu-chemnitz.de/~goal/xfree/cygwin1-wireless.dll Please report if it works or not. Patch is attached. If it works, I'll send the patch to cygwin-patches. Hey, It's late. If have to get up in less than 6 hours. I hack the cygwin library and the mailer-deamon says i'm a spammer. What the f*** is going on? Is this the price of freedom? Do we have to accept restrictions to be free from spam? This is the third message that got cancelled in the last days and I have to rewrite. Maybe some hints _why_ the message was declared as spam would help to prevent such extra work. bye ago, upset NP: Blutengel - Angel Dust I -- Alexander.Gottwald@informatik.tu-chemnitz.de http://www.gotti.org ICQ: 126018723 -------------- next part -------------- --- winsup/cygwin/net.cc.orig Wed Jul 3 01:57:48 2002 +++ winsup/cygwin/net.cc Tue Nov 5 22:41:47 2002 @@ -1212,125 +1212,167 @@ get_2k_ifconf (struct ifconf *ifc, int what) { int cnt = 0; - char eth[2] = "/", ppp[2] = "/", slp[2] = "/", sub[2] = "0", tok[2] = "/"; +// char eth[2] = "/", ppp[2] = "/", slp[2] = "/", sub[2] = "0", tok[2] = "/"; + int ethId = 0, pppId = 0, slpId = 0, tokId = 0; /* Union maps buffer to correct struct */ struct ifreq *ifr = ifc->ifc_req; - DWORD if_cnt, ip_cnt, lip, lnp; - DWORD siz_if_table = 0; + DWORD ip_cnt, lip, lnp; DWORD siz_ip_table = 0; - PMIB_IFTABLE ift; PMIB_IPADDRTABLE ipt; + PMIB_IFROW ifrow; struct sockaddr_in *sa = NULL; struct sockaddr *so = NULL; - if (GetIfTable(NULL, &siz_if_table, TRUE) == ERROR_INSUFFICIENT_BUFFER && - GetIpAddrTable(NULL, &siz_ip_table, TRUE) == ERROR_INSUFFICIENT_BUFFER && - (ift = (PMIB_IFTABLE) alloca (siz_if_table)) && - (ipt = (PMIB_IPADDRTABLE) alloca (siz_ip_table)) && - !GetIfTable(ift, &siz_if_table, TRUE) && - !GetIpAddrTable(ipt, &siz_ip_table, TRUE)) + typedef struct ifcount_t { + DWORD ifIndex; + size_t count; + unsigned int enumerated; // for eth0:1 + unsigned int classId; // for eth0, tok0 ... + + }; + ifcount_t *iflist; + + if (GetIpAddrTable (NULL, &siz_ip_table, TRUE) == ERROR_INSUFFICIENT_BUFFER + && (ifrow = (PMIB_IFROW) alloca (sizeof (MIB_IFROW))) + && (ipt = (PMIB_IPADDRTABLE) alloca (siz_ip_table)) + && !GetIpAddrTable (ipt, &siz_ip_table, TRUE)) { - /* Iterate over all known interfaces */ - for (if_cnt = 0; if_cnt < ift->dwNumEntries; ++if_cnt) + iflist = (ifcount_t *)alloca(sizeof(ifcount_t) * (ipt->dwNumEntries + 1)); + memset(iflist, 0, sizeof(ifcount_t) * (ipt->dwNumEntries + 1)); + for (ip_cnt = 0; ip_cnt < ipt->dwNumEntries; ++ip_cnt) + { + ifcount_t *ifEntry = iflist; + /* search for matching entry (and stop at first free entry) */ + while (ifEntry->count != 0) { + if (ifEntry->ifIndex == ipt->table[ip_cnt].dwIndex) + break; + ifEntry++; + } + ifEntry->count++; + ifEntry->ifIndex = ipt->table[ip_cnt].dwIndex; + } + // reset the last element. This is just the stopper for the loop. + iflist[ipt->dwNumEntries].count = 0; + + /* Iterate over all configured IP-addresses */ + for (ip_cnt = 0; ip_cnt < ipt->dwNumEntries; ++ip_cnt) { - *sub = '0'; - /* Iterate over all configured IP-addresses */ - for (ip_cnt = 0; ip_cnt < ipt->dwNumEntries; ++ip_cnt) + memset (ifrow, 0, sizeof (MIB_IFROW)); + ifrow->dwIndex = ipt->table[ip_cnt].dwIndex; + if (GetIfEntry (ifrow) != NO_ERROR) + continue; + + ifcount_t *ifEntry = iflist; + /* search for matching entry (and stop at first free entry) */ + while (ifEntry->count != 0) { + if (ifEntry->ifIndex == ipt->table[ip_cnt].dwIndex) + break; + ifEntry++; + } + + /* Setup the interface name */ + switch (ifrow->dwType) { - /* Does the IP address belong to the interface? */ - if (ipt->table[ip_cnt].dwIndex == ift->table[if_cnt].dwIndex) - { - /* Setup the interface name */ - switch (ift->table[if_cnt].dwType) - { - case MIB_IF_TYPE_TOKENRING: - ++*tok; - strcpy (ifr->ifr_name, "tok"); - strcat (ifr->ifr_name, tok); - break; - case MIB_IF_TYPE_ETHERNET: - if (*sub == '0') - ++*eth; - strcpy (ifr->ifr_name, "eth"); - strcat (ifr->ifr_name, eth); - break; - case MIB_IF_TYPE_PPP: - ++*ppp; - strcpy (ifr->ifr_name, "ppp"); - strcat (ifr->ifr_name, ppp); - break; - case MIB_IF_TYPE_SLIP: - ++*slp; - strcpy (ifr->ifr_name, "slp"); - strcat (ifr->ifr_name, slp); - break; - case MIB_IF_TYPE_LOOPBACK: - strcpy (ifr->ifr_name, "lo"); - break; - default: - continue; - } - if (*sub > '0') - { - strcat (ifr->ifr_name, ":"); - strcat (ifr->ifr_name, sub); - } - ++*sub; - /* setup sockaddr struct */ - switch (what) - { - case SIOCGIFCONF: - case SIOCGIFADDR: - sa = (struct sockaddr_in *) &ifr->ifr_addr; - sa->sin_addr.s_addr = ipt->table[ip_cnt].dwAddr; - sa->sin_family = AF_INET; - sa->sin_port = 0; - break; - case SIOCGIFBRDADDR: - sa = (struct sockaddr_in *) &ifr->ifr_broadaddr; + case MIB_IF_TYPE_TOKENRING: + if (ifEntry->enumerated == 0) { + ifEntry->classId = tokId++; + __small_sprintf(ifr->ifr_name, "tok%d", ifEntry->classId); + } else { + __small_sprintf(ifr->ifr_name, "tok%d:%d", ifEntry->classId, + ifEntry->enumerated); + } + ifEntry->enumerated++; + break; + case MIB_IF_TYPE_ETHERNET: + if (ifEntry->enumerated == 0) { + ifEntry->classId = ethId++; + __small_sprintf(ifr->ifr_name, "eth%d", ifEntry->classId); + } else { + __small_sprintf(ifr->ifr_name, "eth%d:%d", ifEntry->classId, + ifEntry->enumerated); + } + ifEntry->enumerated++; + break; + case MIB_IF_TYPE_PPP: + if (ifEntry->enumerated == 0) { + ifEntry->classId = pppId++; + __small_sprintf(ifr->ifr_name, "ppp%d", ifEntry->classId); + } else { + __small_sprintf(ifr->ifr_name, "ppp%d:%d", ifEntry->classId, + ifEntry->enumerated); + } + ifEntry->enumerated++; + break; + case MIB_IF_TYPE_SLIP: + if (ifEntry->enumerated == 0) { + ifEntry->classId = slpId++; + __small_sprintf(ifr->ifr_name, "slp%d", ifEntry->classId); + } else { + __small_sprintf(ifr->ifr_name, "slp%d:%d", ifEntry->classId, + ifEntry->enumerated); + } + ifEntry->enumerated++; + break; + case MIB_IF_TYPE_LOOPBACK: + strcpy (ifr->ifr_name, "lo"); + break; + default: + continue; + } + /* setup sockaddr struct */ + switch (what) + { + case SIOCGIFCONF: + case SIOCGIFADDR: + sa = (struct sockaddr_in *) &ifr->ifr_addr; + sa->sin_addr.s_addr = ipt->table[ip_cnt].dwAddr; + sa->sin_family = AF_INET; + sa->sin_port = 0; + break; + case SIOCGIFBRDADDR: + sa = (struct sockaddr_in *) &ifr->ifr_broadaddr; #if 0 - /* Unfortunately, the field returns only crap. */ - sa->sin_addr.s_addr = ipt->table[ip_cnt].dwBCastAddr; + /* Unfortunately, the field returns only crap. */ + sa->sin_addr.s_addr = ipt->table[ip_cnt].dwBCastAddr; #else - lip = ipt->table[ip_cnt].dwAddr; - lnp = ipt->table[ip_cnt].dwMask; - sa->sin_addr.s_addr = lip & lnp | ~lnp; - sa->sin_family = AF_INET; - sa->sin_port = 0; + lip = ipt->table[ip_cnt].dwAddr; + lnp = ipt->table[ip_cnt].dwMask; + sa->sin_addr.s_addr = lip & lnp | ~lnp; + sa->sin_family = AF_INET; + sa->sin_port = 0; #endif - break; - case SIOCGIFNETMASK: - sa = (struct sockaddr_in *) &ifr->ifr_netmask; - sa->sin_addr.s_addr = ipt->table[ip_cnt].dwMask; - sa->sin_family = AF_INET; - sa->sin_port = 0; - break; - case SIOCGIFHWADDR: - so = &ifr->ifr_hwaddr; - for (UINT i = 0; i < IFHWADDRLEN; ++i) - if (i >= ift->table[if_cnt].dwPhysAddrLen) - so->sa_data[i] = '\0'; - else - so->sa_data[i] = ift->table[if_cnt].bPhysAddr[i]; - so->sa_family = AF_INET; - break; - case SIOCGIFMETRIC: - ifr->ifr_metric = 1; - break; - case SIOCGIFMTU: - ifr->ifr_mtu = ift->table[if_cnt].dwMtu; - break; - } - ++cnt; - if ((caddr_t) ++ifr > - ifc->ifc_buf + ifc->ifc_len - sizeof (struct ifreq)) - goto done; - } + break; + case SIOCGIFNETMASK: + sa = (struct sockaddr_in *) &ifr->ifr_netmask; + sa->sin_addr.s_addr = ipt->table[ip_cnt].dwMask; + sa->sin_family = AF_INET; + sa->sin_port = 0; + break; + case SIOCGIFHWADDR: + so = &ifr->ifr_hwaddr; + for (UINT i = 0; i < IFHWADDRLEN; ++i) + if (i >= ifrow->dwPhysAddrLen) + so->sa_data[i] = '\0'; + else + so->sa_data[i] = ifrow->bPhysAddr[i]; + so->sa_family = AF_INET; + break; + case SIOCGIFMETRIC: + ifr->ifr_metric = 1; + break; + case SIOCGIFMTU: + ifr->ifr_mtu = ifrow->dwMtu; + break; } + ++cnt; + if ((caddr_t)++ ifr > + ifc->ifc_buf + ifc->ifc_len - sizeof (struct ifreq)) + goto done; } } + done: /* Set the correct length */ ifc->ifc_len = cnt * sizeof (struct ifreq); --- winsup/cygwin/autoload.cc Wed Jul 3 21:28:10 2002 +++ winsup/cygwin/autoload.cc Tue Nov 5 21:41:03 2002 @@ -484,6 +484,7 @@ LoadDLLfuncEx (WSAEnumNetworkEvents, 12, ws2_32, 1) LoadDLLfuncEx (GetIfTable, 12, iphlpapi, 1) +LoadDLLfuncEx (GetIfEntry, 4, iphlpapi, 1) LoadDLLfuncEx (GetIpAddrTable, 12, iphlpapi, 1) LoadDLLfunc (CoInitialize, 4, ole32) From cgf@redhat.com Tue Nov 5 19:45:00 2002 From: cgf@redhat.com (Christopher Faylor) Date: Tue, 05 Nov 2002 19:45:00 -0000 Subject: how does xwin resolve ip addresses (fwd) In-Reply-To: References: Message-ID: <20021106025453.GC4680@redhat.com> On Tue, Nov 05, 2002 at 11:31:26PM +0100, Alexander Gottwald wrote: >And it got cancelled again. The patch is no longer attached and will be >sent by pm after explicit request. Let's all say it together "Subscribers to a mailing list are not subjected to spam blocking". Your email was blocked because you are apparently sending email from an account that is not subscribed to cygwin-xfree. You can also subscribe to a global allow list which allow you to post to sources.redhat.com mailing lists without receiving mailing list traffic. In your case, apparently you were misled by a faulty message telling you how to unblock yourself. I apologize for the miscommunication caused by the software that I wrote. It was my fault and I have corrected the error. However, AFAICT, the bounce message that you received accurately gave you the email address to which you could send questions about your being blocked. You didn't avail yourself of that address. Instead, you are now "very upset" because a computer determined that your email is spam. Had, you sent email explaining your problem to the correct mailing list (in this case cygwin-owner at cygwin dot com) I would have fixed the problem hours ago instead of when I got around to reading the cygwin-xfree mailing list where *surprise* I get to see YA spam complaint. It's a safe bet that I can't go a day without someone either complaining about spam or complaining about the spam blocker. Anyway, I've added the email address of your last blocked message to the sources.redhat.com global allow list. I've also redirected your last blocked email back to this mailing list. Have a nice day. cgf From kostya@rice.edu Tue Nov 5 23:04:00 2002 From: kostya@rice.edu (Konstantin N. Kudin) Date: Tue, 05 Nov 2002 23:04:00 -0000 Subject: xfree leaking memory? In-Reply-To: <20021106020756.GA4680@redhat.com> Message-ID: The non-return of the free memory to Windows could explain things if XWin stopped growing after a while. Yet it easily goes from 12 to 20 Mb (I have seen even 150 Mb) and generally shows no signs of slowing down. The memory usage in the 150 Mb case was real since I heard swapping and the total consumed memory exceeded RAM. Is it possible that free() calls with a small memory leak leave the heap sufficiently fragmented such that new requests have to be fulfilled by going to Windows and getting larger chunks from there? I will attach the Windows performance monitor to XWin and collect some statistics on what is happening with the memory. Konstantin On Tue, 5 Nov 2002, it was written: > On Tue, Nov 05, 2002 at 05:00:55PM -0500, Harold L Hunt II wrote: > >It was mentioned that the memory size increased when a new X window > >(such as an xterm) is opened, but that it does not decrease when that > >window is destroyed. This indicates one of a few things to me: > > > >1) We are not freeing our window privates (directly or indirectly). > >This seems plausible, but I don't think our window privates are even 1 > >kilobyte. > > I thought I should point out that Cygwin doesn't currently return deallocated > memory to the windows pool. So, the heap only gets larger. > > It does reuse previously allocated memory, of course. So, a > malloc/free/malloc will not necessarily consume any more system memory. > > So, if the memory size grows every time an xterm is opened but then > does not get any larger if subsequent xterms are closed and opened, > then that is probably expected behavior. > > cgf > > > From jc.gervais@videotron.ca Wed Nov 6 03:33:00 2002 From: jc.gervais@videotron.ca (Jean-Claude Gervais) Date: Wed, 06 Nov 2002 03:33:00 -0000 Subject: xfree leaking memory? - XWin trace.zip Message-ID: <00ed01c28562$88bafc00$6501a8c0@sprymusic.com> I ran XWin under Boundschecker with the following parameters: :0 -engine 1 -rootless -lesspointer Note that I didn't recompile or modify XWin from its current distribution version to do this. After starting it, I ran another instance of Boundschecker and under this one, I started WMAKER. Once both of these were under way, I opened three XTerms, and then closed them again. Then I closed both apps by right-clicking the XWin taskbar icon and selecting close. The really strange thing is that Wmaker generated NO WARNINGS OR LEAKS AT ALL! That really is odd... I've no idea why this would happen, because as a rule, Boundschecker usually gives at least a few false reports of errors and leaks. In the case of XWin, the results are different. Many errors and leaks were reported, but a lot of these are in fact false alarms often times caused by Boundschecker being unmapped from memory before it can "see" an application (or one of its dependant DLLs) releasing an allocation the module made previously. So I've included the output, but I must warn - Since I didn't have the freshly-compiled applications, the stack information is rudimentary. Also, events reported as taking place in CYGWIN1.DLL might best be ignored, as they probably represent cases of false alarms as mentioned above. I will at some point recompile XWin and give it another go, but it might take a little time. PS - Here's hoping the attachment will make it through. PPS - Personally, I think the leaks reported resulting from calls to CreatePopupMenu and CreateRectRgn may in fact be genuine. Jean-Claude -------------- next part -------------- A non-text attachment was scrubbed... Name: XWin trace.zip Type: application/x-zip-compressed Size: 4304 bytes Desc: not available URL: From alexander.gottwald@s1999.tu-chemnitz.de Wed Nov 6 06:50:00 2002 From: alexander.gottwald@s1999.tu-chemnitz.de (Alexander Gottwald) Date: Wed, 06 Nov 2002 06:50:00 -0000 Subject: how does xwin resolve ip addresses (fwd) In-Reply-To: <20021106025453.GC4680@redhat.com> Message-ID: On Tue, 5 Nov 2002, Christopher Faylor wrote: > complaint. It's a safe bet that I can't go a day without someone either > complaining about spam or complaining about the spam blocker. > > Anyway, I've added the email address of your last blocked message to the > sources.redhat.com global allow list. I've also redirected your last > blocked email back to this mailing list. Thanks. Now, after I got some sleep, I feel better now :) bye ago -- Alexander.Gottwald@informatik.tu-chemnitz.de http://www.gotti.org ICQ: 126018723 From jc.gervais@videotron.ca Wed Nov 6 07:12:00 2002 From: jc.gervais@videotron.ca (Jean-Claude Gervais) Date: Wed, 06 Nov 2002 07:12:00 -0000 Subject: Rootless mode with Query mode Message-ID: <010a01c285a3$74fb87c0$6501a8c0@sprymusic.com> Hi, If I start XWin with the following parameters, :0 -rootless -query hostname I get the Redhat login dialog box, which appears with NO background. This is good. Then when I log in, whether I select GNOME or KDE, the KDE/GNOME desktop background always appears. Is there a way to prevent this? I'd like to have the Gnome or KDE taskbar and start menu, but not a desktop like it does. And even if I configure KDE/GNOME to have NO desktop, they both still want to at least draw a color background. Anyone? From staf.verhaegen@imec.be Wed Nov 6 08:06:00 2002 From: staf.verhaegen@imec.be (Staf Verhaegen) Date: Wed, 06 Nov 2002 08:06:00 -0000 Subject: Rootless mode with Query mode References: <010a01c285a3$74fb87c0$6501a8c0@sprymusic.com> Message-ID: <3DC9315E.14785236@imec.be> Jean-Claude Gervais wrote: > > Hi, > > If I start XWin with the following parameters, :0 -rootless -query hostname > > I get the Redhat login dialog box, which appears with NO background. > > This is good. > > Then when I log in, whether I select GNOME or KDE, the KDE/GNOME desktop > background always appears. > > Is there a way to prevent this? > > I'd like to have the Gnome or KDE taskbar and start menu, but not a desktop > like it does. > > And even if I configure KDE/GNOME to have NO desktop, they both still want > to at least draw a color background. I'm not familiar with KDE but for gnome the file manager (nautilus) is also resposible for drawing the desktop icons and these are drawn in a full size window. I think you can disable that somewhere in the nautilus preferences. I suppose the KDE file manager has the same behaviour. Staf. +----------------------------------------+-----------------------------+ |Staf Verhaegen (staf.verhaegen@imec.be) |ADRESS: IMEC vzw. - ASP/LITHO| |tel: 016/ 281 783 | Kapeldreef 75 | |fax: 016/ 281 214 | 3001 Leuven (Belgium)| +----------------------------------------+-----------------------------+ For every tool there are at least 2 uses: the one it was designed for and the other for which it wasn't. From jc.gervais@videotron.ca Wed Nov 6 08:11:00 2002 From: jc.gervais@videotron.ca (Jean-Claude Gervais) Date: Wed, 06 Nov 2002 08:11:00 -0000 Subject: Rootless mode with Query mode In-Reply-To: <3DC9315E.14785236@imec.be> Message-ID: <000201c285ae$4131c660$6501a8c0@sprymusic.com> Staf, Right on! I booted Nautilus, set the preference to advanced, then selected EDIT PREFERENCES, and unselected "Use Nautilus to draw desktop" And that did the trick. However, I find it strange that the Gnome Configuration panel, which also has a Desktop section, doesn't have this option... Oh well. Now if I could only figure out how to do that with KDE, I'd be set. Thanks again, Staf. Jean-Claude -----Original Message----- From: cygwin-xfree-owner@cygwin.com [mailto:cygwin-xfree-owner@cygwin.com]On Behalf Of Staf Verhaegen Sent: Wednesday, November 06, 2002 10:13 AM To: cygwin-xfree@cygwin.com Subject: Re: Rootless mode with Query mode Jean-Claude Gervais wrote: > > Hi, > > If I start XWin with the following parameters, :0 -rootless -query hostname > > I get the Redhat login dialog box, which appears with NO background. > > This is good. > > Then when I log in, whether I select GNOME or KDE, the KDE/GNOME desktop > background always appears. > > Is there a way to prevent this? > > I'd like to have the Gnome or KDE taskbar and start menu, but not a desktop > like it does. > > And even if I configure KDE/GNOME to have NO desktop, they both still want > to at least draw a color background. I'm not familiar with KDE but for gnome the file manager (nautilus) is also resposible for drawing the desktop icons and these are drawn in a full size window. I think you can disable that somewhere in the nautilus preferences. I suppose the KDE file manager has the same behaviour. Staf. +----------------------------------------+-----------------------------+ |Staf Verhaegen (staf.verhaegen@imec.be) |ADRESS: IMEC vzw. - ASP/LITHO| |tel: 016/ 281 783 | Kapeldreef 75 | |fax: 016/ 281 214 | 3001 Leuven (Belgium)| +----------------------------------------+-----------------------------+ For every tool there are at least 2 uses: the one it was designed for and the other for which it wasn't. From cygwin-xfree@cygwin.com Wed Nov 6 08:57:00 2002 From: cygwin-xfree@cygwin.com (Christopher Faylor) Date: Wed, 06 Nov 2002 08:57:00 -0000 Subject: [franl@world.std.com: Anyone want a Windows bitmap font version of the X11 6x10 font?] Message-ID: <20021106161327.GG10719@redhat.com> Redirected to correct mailing list. ----- Forwarded message from Francis Litterio ----- From: Francis Litterio To: cygwin@cygwin.com Subject: Anyone want a Windows bitmap font version of the X11 6x10 font? Date: Wed, 06 Nov 2002 09:07:48 -0500 Mail-Followup-To: cygwin@cygwin.com I wasn't able to find a Windows version of the classic X11 6x10 bitmap font, so I made one myself. I've got it to work with NT Emacs and Cygwin's rxvt. If anyone wants it, email me. -- Francis Litterio franl@world.std.com http://world.std.com/~franl/ GPG and PGP public keys available on keyservers. ----- End forwarded message ----- From zakki@peppermint.jp Wed Nov 6 09:06:00 2002 From: zakki@peppermint.jp (Matsuzaki Kensuke) Date: Wed, 06 Nov 2002 09:06:00 -0000 Subject: [patch]Rootless mode resouce leak Message-ID: Hello, Here is a patch which make it sure that rootless mode delete region. And I cleaned up the code for handling region. I tested it, and "DeleteObject or SetWindowRgn" are surely called for every "CreateRectRegion". But still the memory size increased. Please help. Mastuzaki Kensuke. -------------- next part -------------- A non-text attachment was scrubbed... Name: rootless_leak.patch Type: application/octet-stream Size: 2341 bytes Desc: not available URL: From huntharo@msu.edu Wed Nov 6 09:08:00 2002 From: huntharo@msu.edu (Harold L Hunt II) Date: Wed, 06 Nov 2002 09:08:00 -0000 Subject: xfree leaking memory? In-Reply-To: <00e501c28513$0ac8f490$6501a8c0@sprymusic.com> References: <00e501c28513$0ac8f490$6501a8c0@sprymusic.com> <3DC83F97.9050502@msu.edu> <20021106020756.GA4680@redhat.com> Message-ID: <3DC94C1B.70206@msu.edu> Kensuke --- This may be related to why you do not see the XWin.exe memory usage decrease even with your new patch. Chris, Interesting. I guess you learn something new everyday. Hmm... it seems like the memory should be returned to the Windows heap at some point (yeah yeah, patches accepted) if only for the reason that a user with 256 MB of RAM and a 512 MB swap file maximum may at one point have 512 MB allocated in Cygwin... when most of this 512 MB was freed it would end up being swapped to disk (even though it contained no data) and it would sit there plugging the virtual memory file until the user unloaded all applications that use cygwin1.dll. I think this design may have been okay before Cygwin/XFree86 became popular, but now people are using applications on Cygwin that do indeed have the potential to allocate several hundred megabytes of memory, so perhaps it is time for a redesign. With that being said, are there any volunteers out there willing to spend a few months looking into this and developing a robust solution? :) Harold Christopher Faylor wrote: >On Tue, Nov 05, 2002 at 05:00:55PM -0500, Harold L Hunt II wrote: > > >>It was mentioned that the memory size increased when a new X window >>(such as an xterm) is opened, but that it does not decrease when that >>window is destroyed. This indicates one of a few things to me: >> >>1) We are not freeing our window privates (directly or indirectly). >>This seems plausible, but I don't think our window privates are even 1 >>kilobyte. >> >> > >I thought I should point out that Cygwin doesn't currently return deallocated >memory to the windows pool. So, the heap only gets larger. > >It does reuse previously allocated memory, of course. So, a >malloc/free/malloc will not necessarily consume any more system memory. > >So, if the memory size grows every time an xterm is opened but then >does not get any larger if subsequent xterms are closed and opened, >then that is probably expected behavior. > >cgf > > From huntharo@msu.edu Wed Nov 6 09:46:00 2002 From: huntharo@msu.edu (Harold L Hunt II) Date: Wed, 06 Nov 2002 09:46:00 -0000 Subject: [patch]Rootless mode resouce leak In-Reply-To: References: Message-ID: <3DC94C94.10408@msu.edu> Excellent. I have put this in my queue. Harold Matsuzaki Kensuke wrote: >Hello, > >Here is a patch which make it sure that rootless mode delete region. >And I cleaned up the code for handling region. > >I tested it, and "DeleteObject or SetWindowRgn" are surely called for every >"CreateRectRegion". >But still the memory size increased. > >Please help. > >Mastuzaki Kensuke. > > > From Cary.Jamison@powerquest.com Wed Nov 6 11:11:00 2002 From: Cary.Jamison@powerquest.com (Cary Jamison) Date: Wed, 06 Nov 2002 11:11:00 -0000 Subject: Mousewheel stops scrolling Message-ID: I have found a strange case where the mousewheel will stop working. I have a virtual desktop manager (goScreen). When I switch from another desktop to my XWin desktop the mousewheel will not work until I move the pointer off XWin and back on again. All other mouse buttons continue to work fine, it is only the wheel (buttons 4/5) for scrolling up/down that stops working. I've tried to duplicate this using similar methods such as minimizing and maximizing XWin and using alt-tab to switch other windows in front of XWin but those seem to work fine. Cary ---- Cary Jamison Cary.Jamison@PowerQuest.com (801) 705-8685 voice (801) 705-4685 fax From keith@keithtyler.com Wed Nov 6 11:22:00 2002 From: keith@keithtyler.com (Keith D. Tyler) Date: Wed, 06 Nov 2002 11:22:00 -0000 Subject: Randall, please don't post here In-Reply-To: <20021106022749.GB4680@redhat.com> from "Christopher Faylor" at Nov 05, 2002 09:27:49 PM Message-ID: <200211061910.gA6JAwx32392@shell.faradic.net> For the record, I checked my copy. It didn't have any mention of -rootless. That doesn't mean that someone has or hasnt thought to add such a section to it. Instead of flogging an obvious novice (lars) who couldn't find the option, which is partially understandable as it wasn't documented, I thought perhaps that reflection on the current-ness of the packaged documentation would be more productive and positive than vented impatience. Granted, as Russell pointed out to me, it is preferred that people search the archives before pestering the discussion list, and I agree with that philosophy in theory and practice, but not everyone gets it. (Including my boss.) On the other hand, it seems one could argue that we would never need man pages in the Internet age, as everyone who needs to know how to use something can just search through the archives of the mailing list dedicated to that program. I'm not sure that's the best method of disseminating documentation, though. As for me, I'll be sure to be more specific in the future. Regards, Kdt Christopher Faylor was recently quoted as saying... > > I'm not sure what you are pleading for but I don't see why asking people > to contribute is a terrible thing on any list. And, pointing out that > it is ludicrous to ask hundreds of people (i.e., the people on this > mailing list) to check on something like "Is it in the man page yet" > when one could easily check this on their on system is not something > that even a (shudder) "newbie" should have problems with. From huntharo@msu.edu Wed Nov 6 15:35:00 2002 From: huntharo@msu.edu (Harold L Hunt II) Date: Wed, 06 Nov 2002 15:35:00 -0000 Subject: Randall, please don't post here In-Reply-To: <200211061910.gA6JAwx32392@shell.faradic.net> References: <200211061910.gA6JAwx32392@shell.faradic.net> Message-ID: <3DC96C05.2010805@msu.edu> Keith, I mentioned that I had updated the man page, but not the XFree86-man package. This thread has been resolved to my satisfaction: people flew off the handle, people appologized, it is all over now. Please let this be the last message in this thread. Harold Keith D. Tyler wrote: >For the record, I checked my copy. It didn't have any mention of -rootless. >That doesn't mean that someone has or hasnt thought to add such a section to it. >Instead of flogging an obvious novice (lars) who couldn't find the option, which >is partially understandable as it wasn't documented, I thought perhaps that >reflection on the current-ness of the packaged documentation would be more >productive and positive than vented impatience. > >Granted, as Russell pointed out to me, it is preferred that people search the >archives before pestering the discussion list, and I agree with that philosophy in >theory and practice, but not everyone gets it. (Including my boss.) On the other >hand, it seems one could argue that we would never need man pages in the Internet >age, as everyone who needs to know how to use something can just search through the >archives of the mailing list dedicated to that program. I'm not sure that's the >best method of disseminating documentation, though. > >As for me, I'll be sure to be more specific in the future. > >Regards, > >Kdt > >Christopher Faylor was recently quoted as saying... > > >>I'm not sure what you are pleading for but I don't see why asking people >>to contribute is a terrible thing on any list. And, pointing out that >>it is ludicrous to ask hundreds of people (i.e., the people on this >>mailing list) to check on something like "Is it in the man page yet" >>when one could easily check this on their on system is not something >>that even a (shudder) "newbie" should have problems with. >> >> From sharris@newedgenetworks.com Wed Nov 6 15:42:00 2002 From: sharris@newedgenetworks.com (Harris, Shane) Date: Wed, 06 Nov 2002 15:42:00 -0000 Subject: Problem with keymap under cygwin-xfree Message-ID: <170830AA1EB8D611AD2300508B6BD10A8AA98E@smaug.newedgenetworks.com> I have looked all over the list archive for the answer to this, with no results. So I am going to ask. Apologies if this has been covered somewhere before. I am having a maddening problem with xfree86 not recognizing some keys on my keyboard. And what is odd about this is that they are just the number keys (not the number pad), the backspace key and the tab key that appear to not be recognized. These keys work in other win32 applications, as well as the cygwin bash shell. I am at a total loss on this. If anyone can help, it would be much appreciated. From rrschulz@cris.com Wed Nov 6 18:12:00 2002 From: rrschulz@cris.com (Randall R Schulz) Date: Wed, 06 Nov 2002 18:12:00 -0000 Subject: Randall, please don't post here In-Reply-To: <200211061910.gA6JAwx32392@shell.faradic.net> References: <20021106022749.GB4680@redhat.com> Message-ID: <5.1.0.14.2.20021106153620.01fed210@pop3.cris.com> Keith, [ My own given name being a sensitive point with me, I'm posting this despite Harold's request to let his message be the last on this thread. So "for the record..." ] At 11:10 2002-11-06, you wrote: >For the record, I checked my copy. It didn't have any mention of -rootless. >That doesn't mean that someone has or hasnt thought to add such a section >to it. >Instead of flogging an obvious novice (lars) who couldn't find the option, >which >is partially understandable as it wasn't documented, I thought perhaps that >reflection on the current-ness of the packaged documentation would be more >productive and positive than vented impatience. Harold Hunt posted this as part of the original thread that made me so cranky: >>Randall, >> >>Be nice. >> >>I posted an announcement for XFree86-xserv-4.2.0-15, but I did not >>mention that you should use the ``-rootless'' parameter for the rootless >>mode. Rootless mode is in the stable release, but it is still considered >>experimental because it may leak memory and it may have certain >>undesireable behaviors. Although, it seems that rootless mode is pretty >>much complete because there have not been any significant complaints. >> >>I did a little SNAFU with respect to the man page because I updated the >>man page, but I did not roll a new release of the man pages package. I >>should probably do that, but I don't think many users will be pleased >>with redownloading all XFree86 man pages just to get one new one. I will >>have to think about that one. >> >>Harold This, then, is part of the answer to Keith's inability to find a mention of "-rootless" in the on-line documentation. >Granted, as Russell pointed out to me, it is preferred that people search the >archives before pestering the discussion list, and I agree with that >philosophy in >theory and practice, but not everyone gets it. (Including my boss.) On the >other >hand, it seems one could argue that we would never need man pages in the >Internet >age, as everyone who needs to know how to use something can just search >through the >archives of the mailing list dedicated to that program. I'm not sure >that's the >best method of disseminating documentation, though. Given that I see no Russell in this discussion or anywhere in my Cygwin-XFree86 archive, I assume Kevin's referring to me. I'm Randall. "Randy" if you can say it without snickering... >As for me, I'll be sure to be more specific in the future. > >Regards, > >Kdt > >Christopher Faylor was recently quoted as saying... > > > > I'm not sure what you are pleading for but I don't see why asking people > > to contribute is a terrible thing on any list. And, pointing out that > > it is ludicrous to ask hundreds of people (i.e., the people on this > > mailing list) to check on something like "Is it in the man page yet" > > when one could easily check this on their on system is not something > > that even a (shudder) "newbie" should have problems with. Randall Schulz Mountain View, CA USA From j_tetazoo@hotmail.com Wed Nov 6 18:43:00 2002 From: j_tetazoo@hotmail.com (Thomas Chadwick) Date: Wed, 06 Nov 2002 18:43:00 -0000 Subject: Problem with keymap under cygwin-xfree Message-ID: Make sure NumLock and CapsLock are both OFF. That can sometimes cause problem with certain X clients. If that's not the culprit, try running xev and see if X is even getting the keypress events. If xev spews a bunch of messages when pressing one of the keys in questions, cut-and-paste them to the list and we'll have a look-see. One other thing, post the contents of /tmp/XWin.log. >From: "Harris, Shane" >Reply-To: cygwin-xfree@cygwin.com >To: "'cygwin-xfree@cygwin.com'" >Subject: Problem with keymap under cygwin-xfree >Date: Wed, 6 Nov 2002 15:35:37 -0800 > >I have looked all over the list archive for the answer to this, with no >results. So I am going to ask. Apologies if this has been covered somewhere >before. > >I am having a maddening problem with xfree86 not recognizing some keys on >my >keyboard. And what is odd about this is that they are just the number keys >(not the number pad), the backspace key and the tab key that appear to not >be recognized. These keys work in other win32 applications, as well as the >cygwin bash shell. I am at a total loss on this. If anyone can help, it >would be much appreciated. _________________________________________________________________ Add photos to your messages with MSN 8. Get 2 months FREE*. http://join.msn.com/?page=features/featuredemail From huntharo@pilot.msu.edu Wed Nov 6 21:32:00 2002 From: huntharo@pilot.msu.edu (Harold L Hunt II) Date: Wed, 06 Nov 2002 21:32:00 -0000 Subject: AltGR problems with Windows XP In-Reply-To: <3DC551E2.4080803@schessner.de> Message-ID: Andreas, You obviously changed a heck of a lot more than just winProcessKeyEvent is only defined when WIN_NEW_KEYBOARD_SUPPORT is YES (while it is NO by default and basically comments out an incomplete experimental feature so that I could make a release). However, you call the other version of winTranslateKey. Can you just send me a diff against the current CVS? Harold -----Original Message----- From: cygwin-xfree-owner@cygwin.com [mailto:cygwin-xfree-owner@cygwin.com]On Behalf Of Andreas Schessner Sent: Sunday, November 03, 2002 11:42 AM To: cygwin-xfree@cygwin.com Subject: AltGR problems with Windows XP Hello, I use the X server of Cygwin/XFree86 (XWin) and it is working fine on my Windows 2000 Workstation but running the same version on my Notebook (Windows XP) causes problems with the AltGr handling. I've noticed that pressing the AltGr Key produces a KeyPress-Control_L KeyPress-Mode_switch KeyRelease-Control_L KeyRelease-Mode_switch event sequence (see xev output at the end of this mail). I began to trace the code (winkeybd.c, function winIsFakeCtrl_L) and found out that on my XP notebook the windows messages VK_CONTROL (the faked Control_L) and VK_MENU don't have the same timestamp and it is not always possible to get the following VK_MENU message by issuing the PeekMessage(). I don't know if this problem is relating to my Notebook (Dell Latitude) or to Windows XP. Are there other people having the same problems? Andreas PS. For now I've implemented a workarround. I'm using a translation of the incomming windows messages, which recognizes the fake Control_L messages and filters them out. Changes were made on following sources: win.h, winkeybd.c, winwndproc.c The modified sources can be obtained from mee if desired: This works fine for me... The algorithm is desccribed below as a deterministic finite automata (DFA) input \ state | 0 (start) | 1 | 2 | 3 ---------------------------------------------------------------------------- ---- KeyPressed-CtrlL (PCL) | 1 - | 1 - | 2 PCL | 1 - KeyReleased-CtrlL (RCL) | 0 RCL | 0 PCL,RCL | 3 - | 0 RCL KeyPressed-AltR (PAR) | 0 PAR | 2 PAR | 2 PAR | 0 PAR KeyReleased-AltR (RAR) | 0 RAR | 0 PCL,RAR | 1 RAR | 0 RAR any other key (*) | 0 * | 0 PCL,* | 2 * | 0 * States: 0 (start),1,2,3 input and output alphabet: KeyPressed-CtrlL (PCL), KeyReleased-CtrlL (RCL), KeyPressed-AltR (PAR), KeyReleased-AltR (RAR), no key (-), any other key(*) the table shows the transitions: e.g. assume you are in state "1" and you receive a KeyReleased-CtrlL message then the new state of the DFA would be "0" and the events for KeyPressed-CtrlL and KeyReleased-CtrlL are sent to the XWin X-Server. Implementation: ========================================================= void winProcessKeyEvent (DWORD dwVirtualKey, DWORD dwKeyData) { static int iState = 0; /* initial State of DFA */ static int iCtrlCode = 0; /* initialized when first pressed... */ Bool fDown = ((dwKeyData & 0x80000000) == 0); Bool fExt = ((HIWORD(dwKeyData) & KF_EXTENDED) != 0); int iPreKeyCode = XK_VoidSymbol; Bool fCtrlUp, fCtrlDown, fMenuUp, fMenuDown; int iKeyCode, i; winTranslateKey (dwVirtualKey, dwKeyData, &iKeyCode); /* * determine the input for the DFA * (we use boolean indicators instead of an real alphabet) */ fCtrlUp = fCtrlDown = fMenuUp = fMenuDown = FALSE; if (dwVirtualKey == VK_CONTROL) { iCtrlCode = iKeyCode; /* save the scan code for VK_CONTROL */ if (fDown) fCtrlDown=TRUE; else fCtrlUp =TRUE; } else if (dwVirtualKey == VK_MENU && fExt) { if (fDown) fMenuDown=TRUE; else fMenuUp =TRUE; } #if CYGDEBUG ErrorF("winProcessKeyEvent: 0x%0x, 0x%0x\n",dwVirtualKey,dwKeyData); ErrorF("State=%d Input=0x%0x (%s) ",iState,dwVirtualKey,(fDown?"DOWN":"UP")); #endif switch (iState) { default: case 0 : if (fCtrlDown) { iState=1; iKeyCode=XK_VoidSymbol; } else { iState=0; } break; case 1 : if (fCtrlDown) { iState=1; } else if (fMenuDown) { iState=2; } else { iState=0; iPreKeyCode=iCtrlCode; } break; case 2 : if (fCtrlUp) { iState=3; } else if (fMenuUp) { iState=1; } else { iState=2; } break; case 3 : if (fCtrlDown) { iState=1; iKeyCode=XK_VoidSymbol; } else { iState=0; } break; } #if CYGDEBUG ErrorF(" -> State=%d", iState); if (iPreKeyCode != XK_VoidSymbol) ErrorF(" 0x%0x [0x0],",iPreKeyCode); ErrorF(" 0x%0x [0x%0x]\n",iKeyCode,dwKeyData); #endif if (iPreKeyCode != XK_VoidSymbol) winSendKeyEvent(iPreKeyCode,TRUE); if (iKeyCode != XK_VoidSymbol) for (i = 0; i < LOWORD(dwKeyData); ++i) winSendKeyEvent(iKeyCode, (dwKeyData & 0x80000000)==0); } Output of xev with the original XWin: ========================================================= KeyPress event, serial 22, synthetic NO, window 0xa00001, root 0x36, subw 0xa00002, time 249118172, (38,43), root:(591,66), state 0x0, keycode 37 (keysym 0xffe3, Control_L), same_screen YES, XLookupString gives 0 characters: "" KeyPress event, serial 22, synthetic NO, window 0xa00001, root 0x36, subw 0xa00002, time 249118172, (38,43), root:(591,66), state 0x4, keycode 113 (keysym 0xff7e, Mode_switch), same_screen YES, XLookupString gives 0 characters: "" KeyRelease event, serial 22, synthetic NO, window 0xa00001, root 0x36, subw 0xa00002, time 249118303, (38,43), root:(591,66), state 0x2004, keycode 37 (keysym 0xffe3, Control_L), same_screen YES, XLookupString gives 0 characters: "" KeyRelease event, serial 22, synthetic NO, window 0xa00001, root 0x36, subw 0xa00002, time 249118303, (38,43), root:(591,66), state 0x2000, keycode 113 (keysym 0xff7e, Mode_switch), same_screen YES, XLookupString gives 0 characters: "" KeyPress event, serial 22, synthetic NO, window 0xa00001, root 0x36, subw 0xa00002, time 249119024, (38,43), root:(591,66), state 0x0, keycode 38 (keysym 0x61, a), same_screen YES, XLookupString gives 1 characters: "a" .... KeyPress event, serial 22, synthetic NO, window 0xa00001, root 0x36, subw 0xa00002, time 249131181, (38,43), root:(591,66), state 0x0, keycode 37 (keysym 0xffe3, Control_L), same_screen YES, XLookupString gives 0 characters: "" KeyPress event, serial 22, synthetic NO, window 0xa00001, root 0x36, subw 0xa00002, time 249131191, (38,43), root:(591,66), state 0x4, keycode 113 (keysym 0xff7e, Mode_switch), same_screen YES, XLookupString gives 0 characters: "" KeyRelease event, serial 22, synthetic NO, window 0xa00001, root 0x36, subw 0xa00002, time 249131381, (38,43), root:(591,66), state 0x2004, keycode 113 (keysym 0xff7e, Mode_switch), same_screen YES, XLookupString gives 0 characters: "" KeyPress event, serial 22, synthetic NO, window 0xa00001, root 0x36, subw 0xa00002, time 249132383, (38,43), root:(591,66), state 0x4, keycode 38 (keysym 0x61, a), same_screen YES, XLookupString gives 1 characters: "" From huntharo@pilot.msu.edu Wed Nov 6 21:35:00 2002 From: huntharo@pilot.msu.edu (Harold L Hunt II) Date: Wed, 06 Nov 2002 21:35:00 -0000 Subject: Cygwin/XFree86 patch Message-ID: Changes ======= 1) Fix memory leaks in rootless mode. (Kensuke Matsuzaki) Harold -------------- next part -------------- A non-text attachment was scrubbed... Name: xwin-20021107-0015.diff Type: application/octet-stream Size: 2496 bytes Desc: not available URL: From huntharo@pilot.msu.edu Wed Nov 6 22:01:00 2002 From: huntharo@pilot.msu.edu (Harold L Hunt II) Date: Wed, 06 Nov 2002 22:01:00 -0000 Subject: Cygwin/XFree86 patch - Supercedes previous message Message-ID: [Oops, forgot to turn off layer support in win.h] Changes ======= 1) Fix memory leaks in rootless mode. (Kensuke Matsuzaki) Harold -------------- next part -------------- A non-text attachment was scrubbed... Name: xwin-20021107-0015.diff Type: application/octet-stream Size: 3019 bytes Desc: not available URL: From huntharo@pilot.msu.edu Wed Nov 6 23:06:00 2002 From: huntharo@pilot.msu.edu (Harold L Hunt II) Date: Wed, 06 Nov 2002 23:06:00 -0000 Subject: [ANNOUNCEMENT] Server Test 69 Message-ID: Links: I just posted Test 69 to the server development page: http://xfree86.cygwin.com/devel/shadow/ You can install the Test 69 package via setup.exe by selecting the 'test' package (and be sure to check the 'Bin' box): XFree86-xserv-4.2.0-16 Server Test Series binary and source code releases are now available via the sources.redhat.com ftp mirror network (http://cygwin.com/mirrors.html) in the pub/cygwin/xfree/devel/shadow/ directory. You may wish to note the desired filename in the links below, then download from your closest mirror (http://cygwin.com/mirrors.html). Server binary, direct link: http://www.msu.edu/~huntharo/xwin/shadow/XWin-Test69.exe.bz2 (1192 KiB) Server source, direct link: http://www.msu.edu/~huntharo/xwin/shadow/xwin-20021107-0015.tar.bz2 (90 KiB) xc/programs/Xserver/hw/xwin (all files) diff against 20021107 XFree86 CVS: http://www.msu.edu/~huntharo/xwin/shadow/xwin-20021107-0015.diff (3 KiB) Changes: 1) Fix memory leaks in rootless mode. (Kensuke Matsuzaki) [Note: the rootless mode is enabled with the ``-rootless'' command-line parameter.] 2) The test releases, and all future stable releases, are now built with GCC 3.2. There were no problems encountered when switching to the new compiler version. (Harold Hunt) Enjoy, Harold From tuckkhai@yahoo.com Thu Nov 7 07:58:00 2002 From: tuckkhai@yahoo.com (Lee Tuck) Date: Thu, 07 Nov 2002 07:58:00 -0000 Subject: running postgresql command in cygwin environment from windows environment Message-ID: <20021107070605.8454.qmail@web10506.mail.yahoo.com> Hi, i check through the mailing list and i still can't find the answer for the above question. I hope to run the postgresql command (for e.g. pg_dump) in the cygwin environment from windows platform. I was hoping to click on a bat file to execute the process. How can this be done? Thanks. Regards, Lee __________________________________________________ Do you Yahoo!? U2 on LAUNCH - Exclusive greatest hits videos http://launch.yahoo.com/u2 From cygwin@cygwin.com Thu Nov 7 08:41:00 2002 From: cygwin@cygwin.com (cygwin@cygwin.com) Date: Thu, 07 Nov 2002 08:41:00 -0000 Subject: running postgresql command in cygwin environment from windows environment In-Reply-To: <20021107070605.8454.qmail@web10506.mail.yahoo.com> References: <20021107070605.8454.qmail@web10506.mail.yahoo.com> Message-ID: <20021107160004.GA28177@redhat.com> Wrong mailing list. Redirected. On Wed, Nov 06, 2002 at 11:06:05PM -0800, Lee Tuck wrote: >Hi, >i check through the mailing list and i still can't >find the answer for the above question. I hope to run >the postgresql command (for e.g. pg_dump) in the >cygwin environment from windows platform. I was hoping >to click on a bat file to execute the process. How can >this be done? >Thanks. >Regards, >Lee From sharris@newedgenetworks.com Thu Nov 7 10:44:00 2002 From: sharris@newedgenetworks.com (Harris, Shane) Date: Thu, 07 Nov 2002 10:44:00 -0000 Subject: Problem with keymap under cygwin-xfree Message-ID: <170830AA1EB8D611AD2300508B6BD10A8AA98F@smaug.newedgenetworks.com> Thank you. I have made sure NumLock And CapsLock are OFF. I have attached the output of xev when I strike the keys 0-9, backspace, -, = and tab. I included some of the standard letter keys which do, in fact, work. Also attached is /tmp/Xwin.log. One thing I did try in all of this was ensuring I had a valid 104 key us pc .Xmodmap in ~. that produced exactly the same results I am seeing now. Thanks. -----Original Message----- From: Thomas Chadwick [mailto:j_tetazoo@hotmail.com] Sent: Wednesday, November 06, 2002 6:12 PM To: cygwin-xfree@cygwin.com Subject: Re: Problem with keymap under cygwin-xfree Make sure NumLock and CapsLock are both OFF. That can sometimes cause problem with certain X clients. If that's not the culprit, try running xev and see if X is even getting the keypress events. If xev spews a bunch of messages when pressing one of the keys in questions, cut-and-paste them to the list and we'll have a look-see. One other thing, post the contents of /tmp/XWin.log. >From: "Harris, Shane" >Reply-To: cygwin-xfree@cygwin.com >To: "'cygwin-xfree@cygwin.com'" >Subject: Problem with keymap under cygwin-xfree >Date: Wed, 6 Nov 2002 15:35:37 -0800 > >I have looked all over the list archive for the answer to this, with no >results. So I am going to ask. Apologies if this has been covered somewhere >before. > >I am having a maddening problem with xfree86 not recognizing some keys on >my >keyboard. And what is odd about this is that they are just the number keys >(not the number pad), the backspace key and the tab key that appear to not >be recognized. These keys work in other win32 applications, as well as the >cygwin bash shell. I am at a total loss on this. If anyone can help, it >would be much appreciated. _________________________________________________________________ Add photos to your messages with MSN 8. Get 2 months FREE*. http://join.msn.com/?page=features/featuredemail -------------- next part -------------- A non-text attachment was scrubbed... Name: XWin.log Type: application/octet-stream Size: 2227 bytes Desc: not available URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: xev.log Type: application/octet-stream Size: 16384 bytes Desc: not available URL: From c_twiner@hotmail.com Thu Nov 7 10:51:00 2002 From: c_twiner@hotmail.com (Chris Twiner) Date: Thu, 07 Nov 2002 10:51:00 -0000 Subject: how does xwin resolve ip addresses Message-ID: 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 From c_twiner@hotmail.com Thu Nov 7 11:06:00 2002 From: c_twiner@hotmail.com (Chris Twiner) Date: Thu, 07 Nov 2002 11:06:00 -0000 Subject: how does xwin resolve ip addresses Message-ID: 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*. http://join.msn.com/?page=features/featuredemail From salah_z@yahoo.com Thu Nov 7 11:27:00 2002 From: salah_z@yahoo.com (Salah Zerrougui) Date: Thu, 07 Nov 2002 11:27:00 -0000 Subject: Running multiple servers from Windows Terminal Server Message-ID: <20021107190648.90549.qmail@web10402.mail.yahoo.com> Hello, I have used Cygwin/Xfree86 on PCs for around a year now, without any problems. Now i have some users who run their applications on Thin clients Terminals hooked to a Windows NT 4 (Terminal server edition) (RDP protocol). I installed the latest version of Cygwin/Xfree86 and created two batch files : X0.bat ---------- SET DISPLAY=127.0.0.1:0.0 . . start /B XWin -ac -query peis07 -screen 0 1024x768x16 -engine 4 And X1.bat SET DISPLAY=127.0.0.1:1.1 . . start /B XWin -ac -query peis07 -screen 1 1024x768x16 -engine 4 I set two Terminals one running X0.bat and the other one X1.bat, now each of them works fine as long as i don't launch the other. Probably TCP Port problem ??? My questions are : 1) Can this work properly ? is there any other parameters to pass to Xwin ? 2) Is someone using Cygwin/Xfree86 in a Terminal Server Environement ? What are the issues that you may have encounter, and what solutions did you implement to solve them ? Thank you for your help in advance, Salah Zerrougui __________________________________________________ Do you Yahoo!? U2 on LAUNCH - Exclusive greatest hits videos http://launch.yahoo.com/u2 From Cary.Jamison@powerquest.com Thu Nov 7 11:37:00 2002 From: Cary.Jamison@powerquest.com (Cary Jamison) Date: Thu, 07 Nov 2002 11:37:00 -0000 Subject: Mousewheel stops scrolling Message-ID: "Cary Jamison" wrote in message news:... > I have found a strange case where the mousewheel will stop working. > > I have a virtual desktop manager (goScreen). When I switch from another desktop to my XWin desktop the mousewheel will not work until I move the pointer off XWin and back on again. All other mouse buttons continue to work fine, it is only the wheel (buttons 4/5) for scrolling up/down that stops working. > > I've tried to duplicate this using similar methods such as minimizing and maximizing XWin and using alt-tab to switch other windows in front of XWin but those seem to work fine. > > Cary An additional piece of information...I tried xev and it doesn't see anything from the wheel, either. Cary ---- Cary Jamison Cary.Jamison@PowerQuest.com (801) 705-8685 voice (801) 705-4685 fax From Alexander.Gottwald@s1999.tu-chemnitz.de Thu Nov 7 11:39:00 2002 From: Alexander.Gottwald@s1999.tu-chemnitz.de (Alexander Gottwald) Date: Thu, 07 Nov 2002 11:39:00 -0000 Subject: how does xwin resolve ip addresses In-Reply-To: Message-ID: Chris Twiner wrote: > Tried it, but it made no difference. Have you copied the cygwin1-net.dll to /bin/cygwin1.dll? After what the ls_netdev log showed, the change should report the interface. Can you please run ls_netdev again? bye ago NP: Project Pitchfork - We Are One -- Alexander.Gottwald@informatik.tu-chemnitz.de http://www.gotti.org ICQ: 126018723 From jc.gervais@videotron.ca Thu Nov 7 11:43:00 2002 From: jc.gervais@videotron.ca (Jean-Claude Gervais) Date: Thu, 07 Nov 2002 11:43:00 -0000 Subject: Running multiple servers from Windows Terminal Server In-Reply-To: <20021107190648.90549.qmail@web10402.mail.yahoo.com> Message-ID: <002c01c28695$1f965470$6501a8c0@sprymusic.com> Hi Salah, I can attest that XWin will work over RDP and over Netmeeting too. One thing, I usually use -engine 1, so that the drawing will be done by GDI because RDP didn't seem to be able to get the data (all I would get was a big white square or a big transparent square). I use these on a workstation though, either Windows XP, sharing its desktop or Windows 2000 with Netmeeting Remote Desktop Sharing (they are two different things). Both work fine. As for Windows Terminal Server, I can't say. -----Original Message----- From: cygwin-xfree-owner@cygwin.com [mailto:cygwin-xfree-owner@cygwin.com]On Behalf Of Salah Zerrougui Sent: Thursday, November 07, 2002 2:07 PM To: cygwin-xfree@cygwin.com Subject: Running multiple servers from Windows Terminal Server Hello, I have used Cygwin/Xfree86 on PCs for around a year now, without any problems. Now i have some users who run their applications on Thin clients Terminals hooked to a Windows NT 4 (Terminal server edition) (RDP protocol). I installed the latest version of Cygwin/Xfree86 and created two batch files : X0.bat ---------- SET DISPLAY=127.0.0.1:0.0 . . start /B XWin -ac -query peis07 -screen 0 1024x768x16 -engine 4 And X1.bat SET DISPLAY=127.0.0.1:1.1 . . start /B XWin -ac -query peis07 -screen 1 1024x768x16 -engine 4 I set two Terminals one running X0.bat and the other one X1.bat, now each of them works fine as long as i don't launch the other. Probably TCP Port problem ??? My questions are : 1) Can this work properly ? is there any other parameters to pass to Xwin ? 2) Is someone using Cygwin/Xfree86 in a Terminal Server Environement ? What are the issues that you may have encounter, and what solutions did you implement to solve them ? Thank you for your help in advance, Salah Zerrougui __________________________________________________ Do you Yahoo!? U2 on LAUNCH - Exclusive greatest hits videos http://launch.yahoo.com/u2 From Alexander.Gottwald@s1999.tu-chemnitz.de Thu Nov 7 11:56:00 2002 From: Alexander.Gottwald@s1999.tu-chemnitz.de (Alexander Gottwald) Date: Thu, 07 Nov 2002 11:56:00 -0000 Subject: Running multiple servers from Windows Terminal Server In-Reply-To: <20021107190648.90549.qmail@web10402.mail.yahoo.com> Message-ID: Salah Zerrougui wrote: > start /B XWin -ac -query peis07 -screen 0 1024x768x16 > start /B XWin -ac -query peis07 -screen 1 1024x768x16 Some terminology: In X, a display is an Xserver listening on a specific port. The TCP port is 6000 + display number The screen is a subsection of a display. Each display is one XServer. But there can be multiple screens on one display. You have to start the first with XWin :0 more_options and the second with XWin :1 more_options You can omit the :0 since this is the default value. bye ago NP: Project Pitchfork - We Are One -- Alexander.Gottwald@informatik.tu-chemnitz.de http://www.gotti.org ICQ: 126018723 From huntharo@msu.edu Thu Nov 7 11:58:00 2002 From: huntharo@msu.edu (Harold L Hunt) Date: Thu, 07 Nov 2002 11:58:00 -0000 Subject: Running multiple servers from Windows Terminal Server Message-ID: <200211071956.gA7Ju1936510@pilot27.cl.msu.edu> Salah, There are three components to the DISPLAY variable: IP_ADDRESS_OR_HOSTNAME:DISPLAY_NUMBER.SCREEN_NUMBER Your X1.bat sets DISPLAY to 127.0.0.1:1.1, but you never tell XWin.exe that it is using display 1. You tell XWin.exe to use a different display number with the ``:n'' parameter: XWin :1 -screen 1 -query host_foo Also, it is a really bad idea to use the ``-ac'' parameter on a network with other users... this allows any host to connect and snoop on the X display, possibly grabbing passwords and/or screenshots, etc. You do not need to specify the 1024x768x16 information with the ``-screen'' parameter and it is probably better that you do not (in which case XWin.exe will size its window to fit the available desktop area). You do not need the ``/B'' parameter on start anymore. XWin.exe automatically detaches from the console now. Finally, you do not need to, and it is recommended that you do not, specify the ``-engine n'' parameter. The server automatically determines which engine to use based upon which version of DirectDraw is installed. In fact, it will ignore your request to use an engine that conflicts with the version of DirectDraw installed, so you might as well just leave off the -engine and let XWin.exe figure it out for you. I would have the following: X0.bat: set DISPLAY=127.0.0.1:0.0 start XWin -query peis07 X1.bat: set DISPLAY=127.0.0.1:1.0 start XWin :1 -query peis07 Good luck. Harold Salah Zerrougui said: > Hello, > > I have used Cygwin/Xfree86 on PCs for around a year > now, without any > problems. > Now i have some users who run their applications on > Thin clients Terminals > hooked to > a Windows NT 4 (Terminal server edition) (RDP > protocol). > I installed the latest version of Cygwin/Xfree86 and > created two batch > files : > > X0.bat > ---------- > SET DISPLAY=127.0.0.1:0.0 > . > . > start /B XWin -ac -query peis07 -screen 0 1024x768x16 > -engine 4 > > And > > X1.bat > SET DISPLAY=127.0.0.1:1.1 > . > . > start /B XWin -ac -query peis07 -screen 1 1024x768x16 > -engine 4 > > I set two Terminals one running X0.bat and the other > one X1.bat, now each > of them works fine as long as i don't launch the > other. > Probably TCP Port problem ??? > > My questions are : > 1) Can this work properly ? is there any other > parameters to pass to Xwin > ? > 2) Is someone using Cygwin/Xfree86 in a Terminal > Server Environement ? > What are the issues > that you may have encounter, and what solutions > did you implement to > solve them ? > > Thank you for your help in advance, > > Salah Zerrougui > > __________________________________________________ > Do you Yahoo!? > U2 on LAUNCH - Exclusive greatest hits videos > http://launch.yahoo.com/u2 > From salah_z@yahoo.com Thu Nov 7 12:22:00 2002 From: salah_z@yahoo.com (Salah Zerrougui) Date: Thu, 07 Nov 2002 12:22:00 -0000 Subject: Running multiple servers from Windows Terminal Server Message-ID: <20021107195844.51267.qmail@web10407.mail.yahoo.com> Alexander, Thank you for the clarifications, but it still did not work. Now i have X0.bat SET DISPLAY=127.0.0.1:0.0 . . start /B XWin :0 -ac -query peis07 -screen 0 1024x768x16 -engine 1 X1.bat SET DISPLAY=127.0.0.1:1.1 . . start /B XWin :1 -ac -query peis07 -screen 1 1024x768x16 -engine 1 Am'i missing something ? Thank you, Salah. __________________________________________________ Do you Yahoo!? U2 on LAUNCH - Exclusive greatest hits videos http://launch.yahoo.com/u2 From j_tetazoo@hotmail.com Thu Nov 7 12:43:00 2002 From: j_tetazoo@hotmail.com (Thomas Chadwick) Date: Thu, 07 Nov 2002 12:43:00 -0000 Subject: Problem with keymap under cygwin-xfree Message-ID: Looking at XWin.log, I can tell you're using an XF86Config file. However, your settings seem to match mine, which is good, I think, since I don't use an XF86Config file at all (resulting in defaults). Since xev is telling us that the X server is at least getting the keystrokes, a work-around would be to systematically figure out the keycodes using xev, and then add them to your .Xmodmap file. For instance, if xev reports that pressing the "1" key gives you keycode 200, then put "keycode 200 = 1 exclam" in .Xmodmap. As for the root cause? I'm at a loss to explain it. However, I'm not exactly an expert on the subject, so hopefully someone else on the list may be able to figure it out. One other thought: Maybe your keyboard isn't a "standard 101/102-key keyboard"? What does the Windows Device Manager identify your keyboard as? >From: "Harris, Shane" >Reply-To: cygwin-xfree@cygwin.com >To: "'cygwin-xfree@cygwin.com'" >Subject: RE: Problem with keymap under cygwin-xfree >Date: Thu, 7 Nov 2002 08:41:22 -0800 > >Thank you. I have made sure NumLock And CapsLock are OFF. I have attached >the output of xev when I strike the keys 0-9, backspace, -, = and tab. I >included some of the standard letter keys which do, in fact, work. Also >attached is /tmp/Xwin.log. > >One thing I did try in all of this was ensuring I had a valid 104 key us pc >.Xmodmap in ~. >that produced exactly the same results I am seeing now. > >Thanks. > >-----Original Message----- >From: Thomas Chadwick [mailto:j_tetazoo@hotmail.com] >Sent: Wednesday, November 06, 2002 6:12 PM >To: cygwin-xfree@cygwin.com >Subject: Re: Problem with keymap under cygwin-xfree > > >Make sure NumLock and CapsLock are both OFF. That can sometimes cause >problem with certain X clients. > >If that's not the culprit, try running xev and see if X is even getting the >keypress events. If xev spews a bunch of messages when pressing one of the >keys in questions, cut-and-paste them to the list and we'll have a >look-see. > >One other thing, post the contents of /tmp/XWin.log. > > >From: "Harris, Shane" > >Reply-To: cygwin-xfree@cygwin.com > >To: "'cygwin-xfree@cygwin.com'" > >Subject: Problem with keymap under cygwin-xfree > >Date: Wed, 6 Nov 2002 15:35:37 -0800 > > > >I have looked all over the list archive for the answer to this, with no > >results. So I am going to ask. Apologies if this has been covered >somewhere > >before. > > > >I am having a maddening problem with xfree86 not recognizing some keys on > >my > >keyboard. And what is odd about this is that they are just the number >keys > >(not the number pad), the backspace key and the tab key that appear to >not > >be recognized. These keys work in other win32 applications, as well as >the > >cygwin bash shell. I am at a total loss on this. If anyone can help, it > >would be much appreciated. > > >_________________________________________________________________ >Add photos to your messages with MSN 8. Get 2 months FREE*. >http://join.msn.com/?page=features/featuredemail > ><< XWin.log >> ><< xev.log >> _________________________________________________________________ Protect your PC - get McAfee.com VirusScan Online http://clinic.mcafee.com/clinic/ibuy/campaign.asp?cid=3963 From salah_z@yahoo.com Thu Nov 7 12:43:00 2002 From: salah_z@yahoo.com (Salah Zerrougui) Date: Thu, 07 Nov 2002 12:43:00 -0000 Subject: Running multiple servers from Windows Terminal Server Message-ID: <20021107204309.72535.qmail@web10405.mail.yahoo.com> Harold, With these 2 scripts, i could open 2 sessions, but Keystrokes i enter on the second, results are displayed on the first. But Im quite sure that it is related to the script taht launches the software which is (Derby Associates REX. -For -ac, i could not find a way to avoid it, it seems that the client needs to authenticate to the server. Users In our environement have not the knowledge to snoop or otherwise so it is not big issue for now. However if there is a way to implement it easily, please point me to the howto, and i'll be more than happy to give it a try. Thank you for your help, i really appreciate it. Salah. Thank you, Salah. Harold wrote >I would have the following: >X0.bat: >set DISPLAY=127.0.0.1:0.0 >start XWin -query peis07 >X1.bat: >set DISPLAY=127.0.0.1:1.0 >start XWin :1 -query peis07 __________________________________________________ Do you Yahoo!? U2 on LAUNCH - Exclusive greatest hits videos http://launch.yahoo.com/u2 From Alexander.Gottwald@s1999.tu-chemnitz.de Thu Nov 7 13:07:00 2002 From: Alexander.Gottwald@s1999.tu-chemnitz.de (Alexander Gottwald) Date: Thu, 07 Nov 2002 13:07:00 -0000 Subject: how does xwin resolve ip addresses In-Reply-To: Message-ID: Alexander Gottwald wrote: > Can you please run ls_netdev again? I've sync the ls_netdev source to use the same algorithm as the cygwin.dll. So please get the archive again. http://www.tu-chemnitz.de/~goal/xfree/ls_netdev.tar.gz bye ago NP: Project Pitchfork - Fear -- Alexander.Gottwald@informatik.tu-chemnitz.de http://www.gotti.org ICQ: 126018723 From cygwin-xfree@cygwin.com Thu Nov 7 13:18:00 2002 From: cygwin-xfree@cygwin.com (cygwin-xfree@cygwin.com) Date: Thu, 07 Nov 2002 13:18:00 -0000 Subject: Xwin.exe application failed to initialize errors with KDE In-Reply-To: <20021107205455.93088.qmail@web10505.mail.yahoo.com> References: <20021107205455.93088.qmail@web10505.mail.yahoo.com> Message-ID: <20021107210924.GD22698@redhat.com> Wrong mailing list. Redirected. (and discussion blocked from cygwin at cygwin dot com) On Thu, Nov 07, 2002 at 12:54:55PM -0800, Reginald Roberts wrote: >Hi, I installed cygwin today. It works fine, and the >XFree86 systemworks fine as weel. > >I then installed KDE2.2.2.1 ( I had errors when using >the setup.exe download tool, so I downloaded the *.bz2 >files by hand and extracted them like the instructions >said to do), and now XWin.exe and other applications >are giving me an error which says "The Application >failed to initialize properly (0xc0000022)..." > >Does anyone know what causes this to happen? > >-reggie From sharris@newedgenetworks.com Thu Nov 7 13:28:00 2002 From: sharris@newedgenetworks.com (Harris, Shane) Date: Thu, 07 Nov 2002 13:28:00 -0000 Subject: Problem with keymap under cygwin-xfree Message-ID: <170830AA1EB8D611AD2300508B6BD10A8AA9A3@smaug.newedgenetworks.com> Device Manager identifies it as a Standard 101/102-Key. The problem with the workaround is that pressing the '1' key reports as keycode 43 and generates an h. Pressing an 'h' also reports as keycode 43 and generates an h. Hence, if I remap keycode 43, I now have a 1, but no h. This is so freakin mystifying. Why would two keys report the same keycode when pressed?? -----Original Message----- From: Thomas Chadwick [mailto:j_tetazoo@hotmail.com] Sent: Thursday, November 07, 2002 12:22 PM To: sharris@newedgenetworks.com; cygwin-xfree@cygwin.com Subject: RE: Problem with keymap under cygwin-xfree Looking at XWin.log, I can tell you're using an XF86Config file. However, your settings seem to match mine, which is good, I think, since I don't use an XF86Config file at all (resulting in defaults). Since xev is telling us that the X server is at least getting the keystrokes, a work-around would be to systematically figure out the keycodes using xev, and then add them to your .Xmodmap file. For instance, if xev reports that pressing the "1" key gives you keycode 200, then put "keycode 200 = 1 exclam" in .Xmodmap. As for the root cause? I'm at a loss to explain it. However, I'm not exactly an expert on the subject, so hopefully someone else on the list may be able to figure it out. One other thought: Maybe your keyboard isn't a "standard 101/102-key keyboard"? What does the Windows Device Manager identify your keyboard as? >From: "Harris, Shane" >Reply-To: cygwin-xfree@cygwin.com >To: "'cygwin-xfree@cygwin.com'" >Subject: RE: Problem with keymap under cygwin-xfree >Date: Thu, 7 Nov 2002 08:41:22 -0800 > >Thank you. I have made sure NumLock And CapsLock are OFF. I have attached >the output of xev when I strike the keys 0-9, backspace, -, = and tab. I >included some of the standard letter keys which do, in fact, work. Also >attached is /tmp/Xwin.log. > >One thing I did try in all of this was ensuring I had a valid 104 key us pc >.Xmodmap in ~. >that produced exactly the same results I am seeing now. > >Thanks. > >-----Original Message----- >From: Thomas Chadwick [mailto:j_tetazoo@hotmail.com] >Sent: Wednesday, November 06, 2002 6:12 PM >To: cygwin-xfree@cygwin.com >Subject: Re: Problem with keymap under cygwin-xfree > > >Make sure NumLock and CapsLock are both OFF. That can sometimes cause >problem with certain X clients. > >If that's not the culprit, try running xev and see if X is even getting the >keypress events. If xev spews a bunch of messages when pressing one of the >keys in questions, cut-and-paste them to the list and we'll have a >look-see. > >One other thing, post the contents of /tmp/XWin.log. > > >From: "Harris, Shane" > >Reply-To: cygwin-xfree@cygwin.com > >To: "'cygwin-xfree@cygwin.com'" > >Subject: Problem with keymap under cygwin-xfree > >Date: Wed, 6 Nov 2002 15:35:37 -0800 > > > >I have looked all over the list archive for the answer to this, with no > >results. So I am going to ask. Apologies if this has been covered >somewhere > >before. > > > >I am having a maddening problem with xfree86 not recognizing some keys on > >my > >keyboard. And what is odd about this is that they are just the number >keys > >(not the number pad), the backspace key and the tab key that appear to >not > >be recognized. These keys work in other win32 applications, as well as >the > >cygwin bash shell. I am at a total loss on this. If anyone can help, it > >would be much appreciated. > > >_________________________________________________________________ >Add photos to your messages with MSN 8. Get 2 months FREE*. >http://join.msn.com/?page=features/featuredemail > ><< XWin.log >> ><< xev.log >> _________________________________________________________________ Protect your PC - get McAfee.com VirusScan Online http://clinic.mcafee.com/clinic/ibuy/campaign.asp?cid=3963 From Alexander.Gottwald@s1999.tu-chemnitz.de Thu Nov 7 13:31:00 2002 From: Alexander.Gottwald@s1999.tu-chemnitz.de (Alexander Gottwald) Date: Thu, 07 Nov 2002 13:31:00 -0000 Subject: Xwin.exe application failed to initialize errors with KDE In-Reply-To: <20021107210924.GD22698@redhat.com> Message-ID: cygwin-xfree@cygwin.com wrote: > >I then installed KDE2.2.2.1 ( I had errors when using > >the setup.exe download tool, so I downloaded the *.bz2 > >files by hand and extracted them like the instructions > >said to do), and now XWin.exe and other applications > >are giving me an error which says "The Application > >failed to initialize properly (0xc0000022)..." please check if you have more than one cygwin1.dll installed on your system (search all drives for this file). If you have more than one of these libraries delete all _except_ c:\cygwin\bin\cygwin1.dll (if you've installed cygwin in c:\cygwin) bye ago NP: Funker Vogt - History -- Alexander.Gottwald@informatik.tu-chemnitz.de http://www.gotti.org ICQ: 126018723 From cgf@redhat.com Thu Nov 7 14:06:00 2002 From: cgf@redhat.com (Christopher Faylor) Date: Thu, 07 Nov 2002 14:06:00 -0000 Subject: Xwin.exe application failed to initialize errors with KDE In-Reply-To: References: <20021107210924.GD22698@redhat.com> Message-ID: <20021107213353.GA23508@redhat.com> On Thu, Nov 07, 2002 at 10:28:16PM +0100, Alexander Gottwald wrote: >cygwin-xfree@cygwin.com wrote: > >> >I then installed KDE2.2.2.1 ( I had errors when using >> >the setup.exe download tool, so I downloaded the *.bz2 >> >files by hand and extracted them like the instructions >> >said to do), and now XWin.exe and other applications >> >are giving me an error which says "The Application >> >failed to initialize properly (0xc0000022)..." > >please check if you have more than one cygwin1.dll installed on your >system (search all drives for this file). >If you have more than one of these libraries delete all _except_ >c:\cygwin\bin\cygwin1.dll (if you've installed cygwin in c:\cygwin) This is sometimes a problem with executables not being properly set to "executable". A "chmod a+x *.exe *.dll" might also solve the problem. cgf From regrob2@yahoo.com Thu Nov 7 14:22:00 2002 From: regrob2@yahoo.com (Reginald Roberts) Date: Thu, 07 Nov 2002 14:22:00 -0000 Subject: Xwin.exe application failed to initialize errors with KDE In-Reply-To: Message-ID: <20021107220623.28446.qmail@web10503.mail.yahoo.com> I only have one occurance of the dll on my system. It's in the proper place. -reggie --- Alexander Gottwald wrote: > cygwin-xfree@cygwin.com wrote: > > > >I then installed KDE2.2.2.1 ( I had errors when > using > > >the setup.exe download tool, so I downloaded the > *.bz2 > > >files by hand and extracted them like the > instructions > > >said to do), and now XWin.exe and other > applications > > >are giving me an error which says "The > Application > > >failed to initialize properly (0xc0000022)..." > > please check if you have more than one cygwin1.dll > installed on your > system (search all drives for this file). > If you have more than one of these libraries delete > all _except_ > c:\cygwin\bin\cygwin1.dll (if you've installed > cygwin in c:\cygwin) > > bye > ago > > NP: Funker Vogt - History > -- > Alexander.Gottwald@informatik.tu-chemnitz.de > http://www.gotti.org ICQ: 126018723 > __________________________________________________ Do you Yahoo!? U2 on LAUNCH - Exclusive greatest hits videos http://launch.yahoo.com/u2 From huntharo@msu.edu Thu Nov 7 14:35:00 2002 From: huntharo@msu.edu (Harold L Hunt II) Date: Thu, 07 Nov 2002 14:35:00 -0000 Subject: Mousewheel stops scrolling References: Message-ID: <3DCAE7B8.60702@msu.edu> Cary, I will have to produce a Win32 message tester for you to run and send me the output of. I am a little bit strapped down right now with homework, so it will have to wait a little while. Harold Cary Jamison wrote: > "Cary Jamison" wrote in message > news:... > >>I have found a strange case where the mousewheel will stop working. >> >>I have a virtual desktop manager (goScreen). When I switch from > > another desktop to my XWin desktop the mousewheel will not work until I > move the pointer off XWin and back on again. All other mouse buttons > continue to work fine, it is only the wheel (buttons 4/5) for scrolling > up/down that stops working. > >>I've tried to duplicate this using similar methods such as minimizing > > and maximizing XWin and using alt-tab to switch other windows in front > of XWin but those seem to work fine. > >>Cary > > > An additional piece of information...I tried xev and it doesn't see > anything from the wheel, either. > > Cary > > ---- > Cary Jamison > Cary.Jamison@PowerQuest.com > (801) 705-8685 voice > (801) 705-4685 fax From mario.ohnewald@gmx.de Thu Nov 7 14:37:00 2002 From: mario.ohnewald@gmx.de (Mario Ohnewald) Date: Thu, 07 Nov 2002 14:37:00 -0000 Subject: Cygwin Connection Tool for Windows Message-ID: Hello! I wrote a little tool and called it Cygwin Connection Tool. You can find infos about it on http://thelinuxbeat.nu-sec.de/cygwin_tool/ I its under the GPL license, and written in Visual Basic. My Aim is to write it in C++ some time. I was wondering if i do/did something illegal by using its Icon, Name, whatever. I do not want something wich the Cygewin Team/Developer do not want. I wrote it as a little helpful tool, and why should i not share it with others? It??s my very first Project, so please forgive and tell me if i did something wrong. Cheers, Mario From huntharo@msu.edu Thu Nov 7 23:36:00 2002 From: huntharo@msu.edu (Harold L Hunt II) Date: Thu, 07 Nov 2002 23:36:00 -0000 Subject: Xwin.exe application failed to initialize errors with KDE References: <20021107220623.28446.qmail@web10503.mail.yahoo.com> Message-ID: <3DCAEB14.3070300@msu.edu> Reginald, Follow Chris's suggestion about setting the flags on the files. If that doesn't work, I once helped a user install KDE on Cygwin/XFree86. I don't know why, but for some reason that user felt the need to copy about five random Cygwin and KDE dlls into \WINNT\SYSTEM32. His system was giving roughly the same errors and failing to start Cygwin/XFree86. I started poking around, found those DLLs, removed them, and everything worked fine. Point being: try to remember if you copied any DLLs anywhere and delete those extra copies. You did get the KDE package that replaces a few of the XFree86 DLLs with SHM-enabled versions, right? That package is essential. Harold Reginald Roberts wrote: > I only have one occurance of the dll on my system. > It's in the proper place. > > -reggie > > --- Alexander Gottwald > wrote: > >>cygwin-xfree@cygwin.com wrote: >> >> >>>>I then installed KDE2.2.2.1 ( I had errors when >>> >>using >> >>>>the setup.exe download tool, so I downloaded the >>> >>*.bz2 >> >>>>files by hand and extracted them like the >>> >>instructions >> >>>>said to do), and now XWin.exe and other >>> >>applications >> >>>>are giving me an error which says "The >>> >>Application >> >>>>failed to initialize properly (0xc0000022)..." >>> >>please check if you have more than one cygwin1.dll >>installed on your >>system (search all drives for this file). >>If you have more than one of these libraries delete >>all _except_ >>c:\cygwin\bin\cygwin1.dll (if you've installed >>cygwin in c:\cygwin) >> >>bye >> ago >> >>NP: Funker Vogt - History >>-- >> Alexander.Gottwald@informatik.tu-chemnitz.de >> http://www.gotti.org ICQ: 126018723 >> > > > > __________________________________________________ > Do you Yahoo!? > U2 on LAUNCH - Exclusive greatest hits videos > http://launch.yahoo.com/u2 From Thomas.Waelde@equant.com Fri Nov 8 01:25:00 2002 From: Thomas.Waelde@equant.com (Thomas.Waelde@equant.com) Date: Fri, 08 Nov 2002 01:25:00 -0000 Subject: XServer with no local GUI like KDE Message-ID: Dear all, pls, provide. I want to have a non-visible X11-Server via Cygwin. This means, i want to open xterms from remote Servers on the normal Microsoft - Windows. Pls, who can i start the Cygwin-X-Server being absolutely in the backgroud ? Pls, is there any way to do this with Cygwin. Thks in advance n brgds Thomas Eschborn, 5th Floor Rahmannstr. 11, 65760 Eschborn, Germany Phone: +49 (0) 6196 / 962 173 CVN: 205 - 2173 Mobile: +49 (0) 173 / 347 2757 Fax: +49 (0) 6196 / 962222 E-Mail: Thomas.Waelde@Equant.com From mbardiaux@peaktime.be Fri Nov 8 03:59:00 2002 From: mbardiaux@peaktime.be (Michel Bardiaux) Date: Fri, 08 Nov 2002 03:59:00 -0000 Subject: XServer with no local GUI like KDE References: Message-ID: <3DCB82E2.9338EB99@peaktime.be> Thomas.Waelde@equant.com wrote: > > Dear all, > > pls, provide. > > I want to have a non-visible X11-Server via Cygwin. > This means, i want to open xterms from remote Servers on > the normal Microsoft - Windows. > > Pls, who can i start the Cygwin-X-Server being absolutely in the backgroud > ? > > Pls, is there any way to do this with Cygwin. > > Thks in advance n brgds > Thomas > With X11, the server is the display, not the machine running the application. If you want xterm running on A with display on B, both being Windows machines, you need to run an X server on B (cygwin or other), then run xterm (possibly the cygwin one) on A. If that is not what you want, please clarify. Cheers, -- Michel Bardiaux Peaktime Belgium S.A. Bd. du Souverain, 191 B-1160 Bruxelles Tel : +32 2 790.29.41 From colin.harrison@virgin.net Fri Nov 8 05:28:00 2002 From: colin.harrison@virgin.net (Colin Harrison) Date: Fri, 08 Nov 2002 05:28:00 -0000 Subject: Xwin.exe application failed to initialize errors with KDE Message-ID: <200211081158.gA8Bwwi12061@chamonix.straightrunning.com> Hi, May not be related but.. I can confirm that the latest cygwin/xfree stuff now fails with the kde-cygwin 2.2.2 beta 1. It used to run like a dog anyway, but now freezes up. Eventually get in pretty crippled. I've got the startx log, if anyone interested? Colin From danilo.turina@alcatel.it Fri Nov 8 08:18:00 2002 From: danilo.turina@alcatel.it (Danilo Turina) Date: Fri, 08 Nov 2002 08:18:00 -0000 Subject: XServer with no local GUI like KDE In-Reply-To: References: Message-ID: <3DCBBBAE.9060509@alcatel.it> I don't understand clearly what you want, but maybe the -rootless parameter of XWin.exe could be useful. With "-rootless" applications displayed by the XServer seems notive Windows applications in that they lay on Windows desktop. In any case you need to start a window manager (twm, WindowMaker, icewm, ecc.). Bye, Danilo Turina Thomas.Waelde@equant.com wrote: > Dear all, > > pls, provide. > > I want to have a non-visible X11-Server via Cygwin. > This means, i want to open xterms from remote Servers on > the normal Microsoft - Windows. > > Pls, who can i start the Cygwin-X-Server being absolutely in the backgroud > ? > > Pls, is there any way to do this with Cygwin. > > Thks in advance n brgds > Thomas > > > Eschborn, 5th Floor > Rahmannstr. 11, 65760 Eschborn, Germany > Phone: +49 (0) 6196 / 962 173 > CVN: 205 - 2173 > Mobile: +49 (0) 173 / 347 2757 > Fax: +49 (0) 6196 / 962222 > E-Mail: Thomas.Waelde@Equant.com > > From danilo.turina@alcatel.it Fri Nov 8 09:49:00 2002 From: danilo.turina@alcatel.it (Danilo Turina) Date: Fri, 08 Nov 2002 09:49:00 -0000 Subject: XServer with no local GUI like KDE In-Reply-To: References: Message-ID: <3DCBBBAE.9060509@alcatel.it> I don't understand clearly what you want, but maybe the -rootless parameter of XWin.exe could be useful. With "-rootless" applications displayed by the XServer seems notive Windows applications in that they lay on Windows desktop. In any case you need to start a window manager (twm, WindowMaker, icewm, ecc.). Bye, Danilo Turina Thomas.Waelde@equant.com wrote: > Dear all, > > pls, provide. > > I want to have a non-visible X11-Server via Cygwin. > This means, i want to open xterms from remote Servers on > the normal Microsoft - Windows. > > Pls, who can i start the Cygwin-X-Server being absolutely in the backgroud > ? > > Pls, is there any way to do this with Cygwin. > > Thks in advance n brgds > Thomas > > > Eschborn, 5th Floor > Rahmannstr. 11, 65760 Eschborn, Germany > Phone: +49 (0) 6196 / 962 173 > CVN: 205 - 2173 > Mobile: +49 (0) 173 / 347 2757 > Fax: +49 (0) 6196 / 962222 > E-Mail: Thomas.Waelde@Equant.com > > From satimis@writeme.com Fri Nov 8 12:02:00 2002 From: satimis@writeme.com (Stephen Liu) Date: Fri, 08 Nov 2002 12:02:00 -0000 Subject: Cygwin Connection Tool for Windows In-Reply-To: Message-ID: <5.1.1.6.0.20021109001907.02bf2850@pop.net-yan.com> Hi Mario, Re your tool for Windows. I have it downloaded. Is it just unzip it and install it on Windows then it will work. Any configuration needed? Thanks Stephen At 11:38 PM 2002/11/8 +0100, you wrote: >Hello! >I wrote a little tool and called it Cygwin Connection Tool. >You can find infos about it on http://thelinuxbeat.nu-sec.de/cygwin_tool/ >I its under the GPL license, and written in Visual Basic. >My Aim is to write it in C++ some time. > >I was wondering if i do/did something illegal by using its Icon, Name, >whatever. >I do not want something wich the Cygewin Team/Developer do not want. >I wrote it as a little helpful tool, and why should i not share it with >others? > >It?s my very first Project, so please forgive and tell me if i did something >wrong. > >Cheers, Mario From mario.ohnewald@gmx.de Fri Nov 8 14:06:00 2002 From: mario.ohnewald@gmx.de (Mario Ohnewald) Date: Fri, 08 Nov 2002 14:06:00 -0000 Subject: Cygwin Connection Tool for Windows In-Reply-To: <5.1.1.6.0.20021109001907.02bf2850@pop.net-yan.com> Message-ID: Hi Stephen, you need to set: - XWin.exe file location - Resolution - IP you want to connect to optional: - Network (e.g. 192.169.10.0 --> must end with an 0 !) Plese let me know if it worked for you! Regards, Mario >From: cygwin-xfree-owner@cygwin.com >[mailto:cygwin-xfree-owner@cygwin.com]On Behalf Of Stephen Liu >Hi Mario, >Re your tool for Windows. >I have it downloaded. >Is it just unzip it and install it on Windows then it will work. Any >configuration needed? >Thanks >Stephen >At 11:38 PM 2002/11/8 +0100, you wrote: >>Hello! >>I wrote a little tool and called it Cygwin Connection Tool. >>You can find infos about it on http://thelinuxbeat.nu-sec.de/cygwin_tool/ >>I its under the GPL license, and written in Visual Basic. >>My Aim is to write it in C++ some time. >> >>I was wondering if i do/did something illegal by using its Icon, Name, >>whatever. >>I do not want something wich the Cygewin Team/Developer do not want. >>I wrote it as a little helpful tool, and why should i not share it with >>others? >> >>It??s my very first Project, so please forgive and tell me if i did something >>wrong. >> >>Cheers, Mario > > From j_tetazoo@hotmail.com Fri Nov 8 14:36:00 2002 From: j_tetazoo@hotmail.com (Thomas Chadwick) Date: Fri, 08 Nov 2002 14:36:00 -0000 Subject: [ATTN: Harold] RE: Problem with keymap under cygwin-xfree Message-ID: Strange. I was under the impression that pressing "1" gave you nothing. Given that you're pressing "1" and getting the same keycode as if you pressed "h" is definitely strange. Time for Harold to get involved with this one. >From: "Harris, Shane" >Reply-To: cygwin-xfree@cygwin.com >To: "'cygwin-xfree@cygwin.com'" >Subject: RE: Problem with keymap under cygwin-xfree >Date: Thu, 7 Nov 2002 13:18:49 -0800 > >Device Manager identifies it as a Standard 101/102-Key. >The problem with the workaround is that pressing the '1' key reports as >keycode 43 and generates an h. >Pressing an 'h' also reports as keycode 43 and generates an h. >Hence, if I remap keycode 43, I now have a 1, but no h. >This is so freakin mystifying. Why would two keys report the same keycode >when pressed?? > > >-----Original Message----- >From: Thomas Chadwick [mailto:j_tetazoo@hotmail.com] >Sent: Thursday, November 07, 2002 12:22 PM >To: sharris@newedgenetworks.com; cygwin-xfree@cygwin.com >Subject: RE: Problem with keymap under cygwin-xfree > > >Looking at XWin.log, I can tell you're using an XF86Config file. However, >your settings seem to match mine, which is good, I think, since I don't use >an XF86Config file at all (resulting in defaults). > >Since xev is telling us that the X server is at least getting the >keystrokes, a work-around would be to systematically figure out the >keycodes > >using xev, and then add them to your .Xmodmap file. > >For instance, if xev reports that pressing the "1" key gives you keycode >200, then put "keycode 200 = 1 exclam" in .Xmodmap. > >As for the root cause? I'm at a loss to explain it. However, I'm not >exactly an expert on the subject, so hopefully someone else on the list may >be able to figure it out. > >One other thought: Maybe your keyboard isn't a "standard 101/102-key >keyboard"? What does the Windows Device Manager identify your keyboard as? > > >From: "Harris, Shane" > >Reply-To: cygwin-xfree@cygwin.com > >To: "'cygwin-xfree@cygwin.com'" > >Subject: RE: Problem with keymap under cygwin-xfree > >Date: Thu, 7 Nov 2002 08:41:22 -0800 > > > >Thank you. I have made sure NumLock And CapsLock are OFF. I have attached > >the output of xev when I strike the keys 0-9, backspace, -, = and tab. I > >included some of the standard letter keys which do, in fact, work. Also > >attached is /tmp/Xwin.log. > > > >One thing I did try in all of this was ensuring I had a valid 104 key us >pc > >.Xmodmap in ~. > >that produced exactly the same results I am seeing now. > > > >Thanks. > > > >-----Original Message----- > >From: Thomas Chadwick [mailto:j_tetazoo@hotmail.com] > >Sent: Wednesday, November 06, 2002 6:12 PM > >To: cygwin-xfree@cygwin.com > >Subject: Re: Problem with keymap under cygwin-xfree > > > > > >Make sure NumLock and CapsLock are both OFF. That can sometimes cause > >problem with certain X clients. > > > >If that's not the culprit, try running xev and see if X is even getting >the > >keypress events. If xev spews a bunch of messages when pressing one of >the > >keys in questions, cut-and-paste them to the list and we'll have a > >look-see. > > > >One other thing, post the contents of /tmp/XWin.log. > > > > >From: "Harris, Shane" > > >Reply-To: cygwin-xfree@cygwin.com > > >To: "'cygwin-xfree@cygwin.com'" > > >Subject: Problem with keymap under cygwin-xfree > > >Date: Wed, 6 Nov 2002 15:35:37 -0800 > > > > > >I have looked all over the list archive for the answer to this, with no > > >results. So I am going to ask. Apologies if this has been covered > >somewhere > > >before. > > > > > >I am having a maddening problem with xfree86 not recognizing some keys >on > > >my > > >keyboard. And what is odd about this is that they are just the number > >keys > > >(not the number pad), the backspace key and the tab key that appear to > >not > > >be recognized. These keys work in other win32 applications, as well as > >the > > >cygwin bash shell. I am at a total loss on this. If anyone can help, it > > >would be much appreciated. > > > > > >_________________________________________________________________ > >Add photos to your messages with MSN 8. Get 2 months FREE*. > >http://join.msn.com/?page=features/featuredemail > > > ><< XWin.log >> > ><< xev.log >> > > >_________________________________________________________________ >Protect your PC - get McAfee.com VirusScan Online >http://clinic.mcafee.com/clinic/ibuy/campaign.asp?cid=3963 _________________________________________________________________ MSN 8 with e-mail virus protection service: 2 months FREE* http://join.msn.com/?page=features/virus From gk@proliberty.com Fri Nov 8 15:04:00 2002 From: gk@proliberty.com (gk) Date: Fri, 08 Nov 2002 15:04:00 -0000 Subject: How to set Xresources when using startxwin.bat? Message-ID: <5.1.0.14.2.20021108120700.00ae7598@proliberty.com> I have tried many ways but could not find any documentation on this on the web site or in list archives, etc. I am using startxwin.bat to launch cygwin xfree86. There is a problem using xterm unless I use the twm main menu to set the Xresource: XTerm*deleteIsDEL: true I would like to have cygwin read this config at startup rather than having to manually set it every time. I tried adding the above resource setting to: $HOME/.Xresources - that file doesn't seem to get read though Then I found some discussion where people referred to a different location for Xresources: $HOME/.config/Xresources - that file is not being read either. I have also tried putting this setting in the file: $HOME/.twmrc - this file is being read by twm just fine, but the twm menu doesn't reflect the resource value, if it is being read at all. I would appreciate any help on how Cygwin XFree86, XTerm, twm read set resources and what config files are used. It seems that perhaps there are differences depending on if you start with startxwin.bat or with .xinitrc. I would really like to stick with startxwin.bat if there is a way to get this working. Thanks. Where does - Greg Keraunen From gk@proliberty.com Fri Nov 8 15:34:00 2002 From: gk@proliberty.com (gk) Date: Fri, 08 Nov 2002 15:34:00 -0000 Subject: How to set Xresources when using startxwin.bat? In-Reply-To: <5.1.0.14.2.20021108120700.00ae7598@proliberty.com> Message-ID: <5.1.0.14.2.20021108144000.00af5b38@proliberty.com> I have found the answer to my question. Edited the file: C:\cygwin\etc\x11\app-defaults\XTerm Added the following line at the top: *deleteIsDEL: true At 02:10 PM 11/8/2002 -0800, you wrote: >I have tried many ways but could not find any documentation on this on the >web site or in list archives, etc. > >I am using startxwin.bat to launch cygwin xfree86. >There is a problem using xterm unless I use the twm main menu to set the >Xresource: >XTerm*deleteIsDEL: true > >I would like to have cygwin read this config at startup rather than having >to manually set it every time. >I tried adding the above resource setting to: >$HOME/.Xresources >- that file doesn't seem to get read though > >Then I found some discussion where people referred to a different location >for Xresources: >$HOME/.config/Xresources >- that file is not being read either. > >I have also tried putting this setting in the file: >$HOME/.twmrc >- this file is being read by twm just fine, but the twm menu doesn't >reflect the resource value, if it is being read at all. > >I would appreciate any help on how Cygwin XFree86, XTerm, twm read set >resources and what config files are used. >It seems that perhaps there are differences depending on if you start with >startxwin.bat or with .xinitrc. >I would really like to stick with startxwin.bat if there is a way to get >this working. >Thanks. > >Where does > > >- Greg Keraunen > - Greg Keraunen From huntharo@pilot.msu.edu Fri Nov 8 15:47:00 2002 From: huntharo@pilot.msu.edu (Harold L Hunt II) Date: Fri, 08 Nov 2002 15:47:00 -0000 Subject: Keyboard testing - does anybody have this file? Message-ID: I have made a keyboard message tester before, but I do not seem to have the source code, or even an executable version of the program anymore. The program was announced in the following message on 2001/04/21: http://cygwin.com/ml/cygwin-xfree/2001-q2/msg00843.html The link to the original download, which is no longer there, was: http://www.msu.edu/~huntharo/xwin/KeyboardMessages.zip Does anyone happen to have a copy of the executable and/or the source code? Thanks, Harold From huntharo@pilot.msu.edu Fri Nov 8 20:28:00 2002 From: huntharo@pilot.msu.edu (Harold L Hunt II) Date: Fri, 08 Nov 2002 20:28:00 -0000 Subject: [ATTN: Harold] RE: Problem with keymap under cygwin-xfree In-Reply-To: Message-ID: Okay, run this keyboard tester, press some keys, such as H, Num Lock, Num 1, etc. and send in the results to the mailing list. http://www.msu.edu/~huntharo/xwin/keytest.exe.bz2 (6 KiB) Harold Hunt From sharris@newedgenetworks.com Fri Nov 8 21:03:00 2002 From: sharris@newedgenetworks.com (Harris, Shane) Date: Fri, 08 Nov 2002 21:03:00 -0000 Subject: [ATTN: Harold] RE: Problem with keymap under cygwin-xfree Message-ID: <170830AA1EB8D611AD2300508B6BD10A8AA9AF@smaug.newedgenetworks.com> Ok, the keys i pressed, in order: the 1 (on the top row, NOT on the number pad) the h the numlock, twice the 2 (on the top row, NOT on the number pad) the , as you can see, the 1 and the h are interpreted as the same key, as is the 2 and the , This behaviour holds true for the rest of the number keys across the top row , the dash, the equal sign, the backspace key and the tab key. To the best of my knowledge, all other keys are working correctly. Attached is the output of keytest -----Original Message----- From: Harold L Hunt II [mailto:huntharo@pilot.msu.edu] Sent: Friday, November 08, 2002 3:35 PM To: cygwin-xfree@cygwin.com Subject: RE: [ATTN: Harold] RE: Problem with keymap under cygwin-xfree Okay, run this keyboard tester, press some keys, such as H, Num Lock, Num 1, etc. and send in the results to the mailing list. http://www.msu.edu/~huntharo/xwin/keytest.exe.bz2 (6 KiB) Harold Hunt -------------- next part -------------- A non-text attachment was scrubbed... Name: keytest.log Type: application/octet-stream Size: 784 bytes Desc: not available URL: From dean.bishop@tcdsb.org Sat Nov 9 11:02:00 2002 From: dean.bishop@tcdsb.org (Bishop, Dean) Date: Sat, 09 Nov 2002 11:02:00 -0000 Subject: win95+cygwin1.3.10+Xwin+oldbox=dead network? Message-ID: Good morning, i am quite perplexed with this problem. i am using cygwin on an old Pentium Pro with 128M RAM. i use cygwin to connect to my Redhat 7.3 box. i am using this setup on a couple of other machines (one a p-III and one P-133 each connecting to a different Redhat 7.3 box) The problem here is that after an apparently arbitrary period of time, my Xwindows sessions freezes. As i move my mouse over the window, the display refreshes. Once i stop moving the mouse the refreshes stop. This will continue for about 10 seconds after which the Xwindows session just closes. i am using the clock tick as an indicator of refresh. Additionally, when the Xwindows session dies, so does the rest of my network connection from the win95 box. i am not sure whether the connection is flooded or lost, either way i cannot see other machines on the network (ping fails) nor can i surf the web. Killing the Xwindows session and restarting it corrects the problem. There is a firewall between boxes but i just don't think that this is the problem as all i have to do is close the Xwindows session to regain my network. Any advice would be appreciated. later, dean CYGWIN_95-4.0 SHE 1.3.10(0.51/3/2) 2002-02-25 11:14 i586 unknown From spetreolle@yahoo.fr Sat Nov 9 12:32:00 2002 From: spetreolle@yahoo.fr (=?iso-8859-1?q?Sylvain=20Petreolle?=) Date: Sat, 09 Nov 2002 12:32:00 -0000 Subject: win95+cygwin1.3.10+Xwin+oldbox=dead network? In-Reply-To: Message-ID: <20021109050302.7215.qmail@web10108.mail.yahoo.com> coud you try to update your cygwin ? it's pretty old (2002-02). you didn't give the version of XWin you're using. ___________________________________________________________ Do You Yahoo!? -- Une adresse @yahoo.fr gratuite et en fran??ais ! Yahoo! Mail : http://fr.mail.yahoo.com From nospam@krid.de Sat Nov 9 13:53:00 2002 From: nospam@krid.de (Dirk Bernhardt) Date: Sat, 09 Nov 2002 13:53:00 -0000 Subject: ivtools Message-ID: <3DCD5B95.9040402@krid.de> Hi, I need idraw on this machine. Trying to compile tha package on ivtools.org failed - "make World" complains about headers etc. I guess it is a gcc 3.1 problem? Has anyone managed to compile idraw? If so, how? Thanks, Dirk From mario.ohnewald@gmx.de Sat Nov 9 14:14:00 2002 From: mario.ohnewald@gmx.de (Mario Ohnewald) Date: Sat, 09 Nov 2002 14:14:00 -0000 Subject: Quake3 Arena Dedicated Message-ID: Hello! I tried to run Quake3 dedicated under Cygwin, this is what i get: ---------- Administrator@SPIEKEY ~/quake3_arena $ ./linuxq3apoint-1.32.x86.run Verifying archive integrity...OK Uncompressing Quake III Arena Point Release 1.32 ............................... ............................................................................ .... .................................. source: not found This installation doesn't support glibc-2.1 on CYGWIN_NT-5.0 / x86 (tried to run setup) Fatal error, no tech support email configured in this setup The setup program seems to have failed on x86/glibc-2.1 Fatal error, no tech support email configured in this setup The program returned an error code (1) ---------- Has someone an idea how to solve this? Cheers, Mario From nahor@bravobrava.com Sat Nov 9 18:37:00 2002 From: nahor@bravobrava.com (Jehan) Date: Sat, 09 Nov 2002 18:37:00 -0000 Subject: Quake3 Arena Dedicated In-Reply-To: References: Message-ID: Mario Ohnewald wrote: > Hello! > I tried to run Quake3 dedicated under Cygwin, this is what i get: > > ---------- > Administrator@SPIEKEY ~/quake3_arena > $ ./linuxq3apoint-1.32.x86.run > Verifying archive integrity...OK > Uncompressing Quake III Arena Point Release 1.32 > ............................... > ............................................................................ > .... > .................................. > source: not found > This installation doesn't support glibc-2.1 on CYGWIN_NT-5.0 / x86 > (tried to run setup) > Fatal error, no tech support email configured in this setup > The setup program seems to have failed on x86/glibc-2.1 > > Fatal error, no tech support email configured in this setup > The program returned an error code (1) > ---------- > > > Has someone an idea how to solve this? Yes, run the program on a Linux machine or use the Windows version. Seriously, Cygwin isn't Linux, it's just a layer that gives a source level compatibility with Unix. A program has to be compiled specifically for cygwin to run. And last, if you want to run a dedicated server, why do you ask on the cygwin/xfree mailing list? Asking on the cygwin mailing list would be more appriopriate Jehan From THETOYS@hetnet.nl Sun Nov 10 09:00:00 2002 From: THETOYS@hetnet.nl (Richard Toy) Date: Sun, 10 Nov 2002 09:00:00 -0000 Subject: Unable to get XDMCP to work after cygwin apgrade Message-ID: <000001c2883d$96571ff0$0100a8c0@pluto> Hi I recently upgraded my Cygwin installation on my XP SP1 machine. I used setup to retrieve and then to completely reinstall but once I had finished I could no longer get my Mandrake 9.0 desktop to appear. It is still displayed if I use an older Cygwin installation on a laptop that I have (also XP SP1) but it will not work with the new installation. The only line I change in the standard startwin.bat file is: - start XWin -screen 0 1024 768 -ac -from pluto -query moon This is the contents of the XWin.log file after a failed attempt: - winCreatePrimarySurfaceShadowDDNL - Creating primary surface winCreatePrimarySurfaceShadowDDNL - Created primary surface winCreatePrimarySurfaceShadowDDNL - Attached clipper to primary surface winAllocateFBShadowDDNL - lPitch: 4096 winFinishScreenInitFB - Masks: 00ff0000 0000ff00 000000ff winInitVisualsShadowDDNL - Masks 00ff0000 0000ff00 000000ff BPRGB 8 d 24 bpp 32 winCreateDefColormap - Deferring to fbCreateDefColormap () winScreenInit - returning (EE) No primary keyboard configured (==) Using compiletime defaults for keyboard Rules = "xfree86" Model = "pc101" Layout = "us" Variant = "(null)" Options = "(null)" Could not init font path element /usr/X11R6/lib/X11/fonts/100dpi/, removing from list! (EE) Unable to locate/open config file InitOutput - Error reading config file winDetectSupportedEngines - Windows NT/2000/XP winDetectSupportedEngines - DirectDraw installed winDetectSupportedEngines - Allowing PrimaryDD winDetectSupportedEngines - DirectDraw4 installed winDetectSupportedEngines - Returning, supported engines 0000001f InitOutput - g_iNumScreens: 1 iMaxConsecutiveScreen: 1 winSetEngine - Using Shadow DirectDraw NonLocking winCreateBoundingWindowWindowed - Initial w: 1024 h: 768 winAdjustForAutoHide - Original WorkArea: 0 0 1200 1600 winAdjustForAutoHide - Taskbar is auto hide winAdjustForAutoHide - Found BOTTOM auto-hide taskbar winAdjustForAutoHide - Adjusted WorkArea: 0 0 1199 1600 winCreateBoundingWindowWindowed - WindowClient w 1024 h 768 r 1024 l 0 b 768 t 0 winCreateBoundingWindowWindowed - Returning winCreatePrimarySurfaceShadowDDNL - Creating primary surface winCreatePrimarySurfaceShadowDDNL - Created primary surface winCreatePrimarySurfaceShadowDDNL - Attached clipper to primary surface winAllocateFBShadowDDNL - lPitch: 4096 winFinishScreenInitFB - Masks: 00ff0000 0000ff00 000000ff winInitVisualsShadowDDNL - Masks 00ff0000 0000ff00 000000ff BPRGB 8 d 24 bpp 32 winCreateDefColormap - Deferring to fbCreateDefColormap () winScreenInit - returning (EE) No primary keyboard configured (==) Using compiletime defaults for keyboard Rules = "xfree86" Model = "pc101" Layout = "us" Variant = "(null)" Options = "(null)" Could not init font path element /usr/X11R6/lib/X11/fonts/100dpi/, removing from list! Fatal server error: XDMCP fatal error: Session failed Session 40592002 failed for display :0: cannot open display Anybody got any answers? As I have already said, It worked before the upgrade and the upgrade was a *complete* install After the old C:\Cygwin directory had been removed. Thanks for any help Richard From spetreolle@yahoo.fr Sun Nov 10 10:49:00 2002 From: spetreolle@yahoo.fr (=?iso-8859-1?q?Sylvain=20Petreolle?=) Date: Sun, 10 Nov 2002 10:49:00 -0000 Subject: ivtools In-Reply-To: <3DCD5B95.9040402@krid.de> Message-ID: <20021110023727.47551.qmail@web10102.mail.yahoo.com> --- Dirk Bernhardt a ??crit??: > Hi, > > I need idraw on this machine. Trying to compile tha package on > ivtools.org failed - "make World" complains about headers etc. I > guess > it is a gcc 3.1 problem? Has anyone managed to compile idraw? If > so, how? > > Thanks, > Dirk > Report errors - and notice that a new gcc 3.2 package is out. ___________________________________________________________ Do You Yahoo!? -- Une adresse @yahoo.fr gratuite et en fran??ais ! Yahoo! Mail : http://fr.mail.yahoo.com From jc.gervais@videotron.ca Sun Nov 10 12:43:00 2002 From: jc.gervais@videotron.ca (Jean-Claude Gervais) Date: Sun, 10 Nov 2002 12:43:00 -0000 Subject: Quake3 Arena Dedicated In-Reply-To: Message-ID: <005b01c288da$53d3c230$6501a8c0@sprymusic.com> A hopeless case! I love it. Seriously, Mario, are you trying to simply run Quake3 or are you trying to port it? I think you might be able to get Quake3 to run natively on Cygwin easily, if you had its source code and simply recompiled it. After all, it's mostly a question of running the 3D calculation engine, not doing the rendering, and serving UDP sockets, which Cygwin can do quite well, I'm certain. -----Original Message----- From: cygwin-xfree-owner@cygwin.com [mailto:cygwin-xfree-owner@cygwin.com]On Behalf Of Mario Ohnewald Sent: Saturday, November 09, 2002 3:37 PM To: cygwin-xfree@cygwin.com Subject: Quake3 Arena Dedicated Hello! I tried to run Quake3 dedicated under Cygwin, this is what i get: ---------- Administrator@SPIEKEY ~/quake3_arena $ ./linuxq3apoint-1.32.x86.run Verifying archive integrity...OK Uncompressing Quake III Arena Point Release 1.32 ............................... ............................................................................ .... .................................. source: not found This installation doesn't support glibc-2.1 on CYGWIN_NT-5.0 / x86 (tried to run setup) Fatal error, no tech support email configured in this setup The setup program seems to have failed on x86/glibc-2.1 Fatal error, no tech support email configured in this setup The program returned an error code (1) ---------- Has someone an idea how to solve this? Cheers, Mario From mario.ohnewald@gmx.de Sun Nov 10 13:17:00 2002 From: mario.ohnewald@gmx.de (Mario Ohnewald) Date: Sun, 10 Nov 2002 13:17:00 -0000 Subject: Quake3 Arena Dedicated In-Reply-To: <005b01c288da$53d3c230$6501a8c0@sprymusic.com> Message-ID: Hi I was talking about a dedicated server, no rendering, no frames, no X ;) the thing is that We will get 4Servers Sponsored for our LAN-Party, each with 2GHz, 1GB RAM. Unfortunatelly we will run Windows on it, cause of Battlefield. So, me, Mario thought, NO WAY, i still want UNIX to handle my Gameserver stuff.. The fact that its a dedicated, this is no the right list. Sorry! I thought i sent it to cygwin. Cheers, Mario btw. I got sshd working, did a passwd Administrator, but still cant log in. ;( -----Original Message----- From: cygwin-xfree-owner@cygwin.com [mailto:cygwin-xfree-owner@cygwin.com]On Behalf Of Jean-Claude Gervais Sent: Sunday, November 10, 2002 5:58 PM To: cygwin-xfree@cygwin.com Subject: RE: Quake3 Arena Dedicated A hopeless case! I love it. Seriously, Mario, are you trying to simply run Quake3 or are you trying to port it? I think you might be able to get Quake3 to run natively on Cygwin easily, if you had its source code and simply recompiled it. After all, it's mostly a question of running the 3D calculation engine, not doing the rendering, and serving UDP sockets, which Cygwin can do quite well, I'm certain. -----Original Message----- From: cygwin-xfree-owner@cygwin.com [mailto:cygwin-xfree-owner@cygwin.com]On Behalf Of Mario Ohnewald Sent: Saturday, November 09, 2002 3:37 PM To: cygwin-xfree@cygwin.com Subject: Quake3 Arena Dedicated Hello! I tried to run Quake3 dedicated under Cygwin, this is what i get: ---------- Administrator@SPIEKEY ~/quake3_arena $ ./linuxq3apoint-1.32.x86.run Verifying archive integrity...OK Uncompressing Quake III Arena Point Release 1.32 ............................... ............................................................................ .... .................................. source: not found This installation doesn't support glibc-2.1 on CYGWIN_NT-5.0 / x86 (tried to run setup) Fatal error, no tech support email configured in this setup The setup program seems to have failed on x86/glibc-2.1 Fatal error, no tech support email configured in this setup The program returned an error code (1) ---------- Has someone an idea how to solve this? Cheers, Mario From philippe.bastiani@wanadoo.fr Sun Nov 10 15:05:00 2002 From: philippe.bastiani@wanadoo.fr (Philippe Bastiani) Date: Sun, 10 Nov 2002 15:05:00 -0000 Subject: Lesstif problem ? Message-ID: Hi, Since the last update of Cygwin/XFree86, all my programs hang on startup :( Do you think that it is about a problem of installation? thanks in adcance for your reply, Philippe Cygwin Package Information Package Version Sun 1.13 XFree86-base 4.2.0-1 XFree86-bin 4.2.0-2 XFree86-etc 4.2.0-1 XFree86-fenc 4.2.0-2 XFree86-fnts 4.2.0-2 XFree86-lib 4.2.0-3 XFree86-man 4.2.0-1 XFree86-nest 4.2.0-1 XFree86-prog 4.2.0-1 XFree86-startup-scripts4.2.0-3 XFree86-vfb 4.2.0-1 XFree86-xserv 4.2.0-15 _update-info-dir 00083-1 cygrunsrv 0.95-1 cygutils 1.1.2-1 cygwin 1.3.15-1 cygwin-doc 1.2-1 gcc 3.2-1 gcc-mingw 3.2-20020817-1 gdb 20010428-3 ... From philippe.bastiani@wanadoo.fr Sun Nov 10 15:14:00 2002 From: philippe.bastiani@wanadoo.fr (Philippe Bastiani) Date: Sun, 10 Nov 2002 15:14:00 -0000 Subject: editres Message-ID: Hi, I have already indicated the following problem: i cannot view/edit the values of the resources. Am I the only one in that case? Regard, Philippe From Alexander.Gottwald@s1999.tu-chemnitz.de Sun Nov 10 15:16:00 2002 From: Alexander.Gottwald@s1999.tu-chemnitz.de (Alexander Gottwald) Date: Sun, 10 Nov 2002 15:16:00 -0000 Subject: editres In-Reply-To: Message-ID: Philippe Bastiani wrote: > Hi, > > I have already indicated the following problem: i cannot view/edit the > values of the resources. Lets do it step by step. Start a xterm start editres Menu:Commands|Get Tree Click on the xterm window Select vt100 in the tree Menu:Commands|Show Resource Box Click with mouse button 2 (the one in the middle) on "color0" You should see "black" in the window below Enter text "red" Click on "Apply" Thats it. Now what step does not work for you. > Am I the only one in that case? Guess so. bye ago -- Alexander.Gottwald@informatik.tu-chemnitz.de http://www.gotti.org ICQ: 126018723 From Alexander.Gottwald@s1999.tu-chemnitz.de Mon Nov 11 00:39:00 2002 From: Alexander.Gottwald@s1999.tu-chemnitz.de (Alexander Gottwald) Date: Mon, 11 Nov 2002 00:39:00 -0000 Subject: Cgywin XFree86 assertion failure... In-Reply-To: <20021110203645.84397.qmail@web20509.mail.yahoo.com> Message-ID: Network-Web Admin wrote: > Hi, I googled the exact same error that appeared for > me and found your xfree86 post. And did you understand the message? I wrote something about a mailing list. Why haven't you asked there? > However, the error > appeared for me on a strictly non development machine, > running only windows 2k. It's the first time it's > appeared, so i have virus/trojan concerns as no > software or user habbits have changed, just web > browsing and email. > > MSDN lists a similar error in regards to MS project > and macro debugging, but it wouldn't apply for me (not > installed). Did you ever pin down the cause? - would > really like to know. No. As you can easily figure out from the mailinglist archives, the user never gave further information. And btw: The assert message he sent me named a file which does not exist in cygwin nor the XFree86 source tree. So I can't track this error. And from the little information you and the other poster have given to me, I can not reproduce the error nor have I any clue how it could happen. bye ago BTW: citing the original posting would have it much easier for me to find out what you're talking about. -- Alexander.Gottwald@informatik.tu-chemnitz.de http://www.gotti.org ICQ: 126018723 From Alexander.Gottwald@s1999.tu-chemnitz.de Mon Nov 11 01:11:00 2002 From: Alexander.Gottwald@s1999.tu-chemnitz.de (Alexander Gottwald) Date: Mon, 11 Nov 2002 01:11:00 -0000 Subject: Quake3 Arena Dedicated In-Reply-To: Message-ID: Mario Ohnewald wrote: > So, me, Mario thought, NO WAY, i still want UNIX to handle my Gameserver > stuff.. Cygwin is not UNIX. It's just a layer for POSIX compatiblity. You will not get any advantages of an unix os apart from the programs. bye ago -- Alexander.Gottwald@informatik.tu-chemnitz.de http://www.gotti.org ICQ: 126018723 From c_twiner@hotmail.com Mon Nov 11 01:36:00 2002 From: c_twiner@hotmail.com (Chris Twiner) Date: Mon, 11 Nov 2002 01:36:00 -0000 Subject: how does xwin resolve ip addresses Message-ID: 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 on my part or some conflicting software. I will do the following : 1) re-install the software 2) check dll dependencies and versions between the two machines I'll reply with the results. .... , and I'll do the same here. Ago, I'll try these changes first because it looks much like a bad software installation and nothing to do with cygwin. Unless you'd like to try and get it working with this installation first, in which case I'll delay the changes. Chris _________________________________________________________________ Help STOP SPAM with the new MSN 8 and get 2 months FREE* http://join.msn.com/?page=features/junkmail From jozsefke@freemail.hu Mon Nov 11 02:37:00 2002 From: jozsefke@freemail.hu (Kercso Jozsef) Date: Mon, 11 Nov 2002 02:37:00 -0000 Subject: Problems with xwinclip version 0.5/0.6 Message-ID: <3DCF7445.6060006@freemail.hu> Hi! > o xwinclip-Test06: > The first difference I see when using the latest version of xwinclip > is the marked regions in X windows stay marked after releasing the > left mouse button !! 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? Thanks, Jozsef Kercso From jozsefke@freemail.hu Mon Nov 11 03:19:00 2002 From: jozsefke@freemail.hu (Kercso Jozsef) Date: Mon, 11 Nov 2002 03:19:00 -0000 Subject: -pseudocolor option doesn't work. Please help! Message-ID: <3DCF79CB.1050404@freemail.hu> Hi! I have tried several option, to invoke th pseudocolor mode, but unfortunatelly my program says : "Cannot allocate colors". The program works however under ReflectionX and eXceed. The program is unfortunatelly not free, and I can't share any other information about it. I know, that it's inconvenient, but I can't do anything to change it. The options, that I try, are: - run XWin with -pseudocolor option - run XWin with -depth 8 -fullscreen options - run XWin with -engine 1 in 256 color mode With any of theese options my application doesn't start at all. Has anybody any ideea about it? Thanks Jozsef Kercso From jozsefke@freemail.hu Mon Nov 11 08:08:00 2002 From: jozsefke@freemail.hu (Kercso Jozsef) Date: Mon, 11 Nov 2002 08:08:00 -0000 Subject: Problems with xwinclip version 0.5/0.6 Message-ID: <3DCF8859.1060501@freemail.hu> Hi! In my previous mail I don't said, that I found this behaviour of xwinclip only under Solaris using the CDE desktop. Best Regards Jozsef Kercso From c_twiner@hotmail.com Mon Nov 11 12:23:00 2002 From: c_twiner@hotmail.com (Chris Twiner) Date: Mon, 11 Nov 2002 12:23:00 -0000 Subject: Problems with xwinclip version 0.5/0.6 Message-ID: >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 the flashing continuously. It seems like the application you are using remotely tries to capture the x primary selection as well. This release of xwinclip claims the x selection as soon as a selection has been made. The other application may be doing the same, hence the continuous flashing. You can try using the version I uploaded to the list. It needs to be compiled though, and if you have the latest version of cygwin it probably won't work. I should be able to release a new version of the xwinclip to the mailing list tonight which should work with the latest version, I hope. Regards, Chris _________________________________________________________________ Add photos to your e-mail with MSN 8. Get 2 months FREE*. http://join.msn.com/?page=features/featuredemail From c_twiner@hotmail.com Mon Nov 11 12:56:00 2002 From: c_twiner@hotmail.com (Chris Twiner) Date: Mon, 11 Nov 2002 12:56:00 -0000 Subject: right mouse button again, motif on solaris Message-ID: Hi All, An application, Razor (Motif) that I'm running won't allow the right button to work. After investigation this appears to be a bug in the Motif libraries within Solaris. However as it appears different on different Xservers the common factor seems to be the mouse setting. A post : http://groups.google.co.uk/groups?hl=en&lr=&ie=UTF-8&oe=UTF-8&threadm=3717E713.BBD3D2F1%40soest.hawaii.edu&rnum=2&prev=/groups%3Fq%3Dmotif%2Bproblem%2Bright%2Bmouse%2Bbutton%2Bsolaris%26ie%3DUTF-8%26oe%3DUTF-8%26hl%3Den Seems to indicate that the server tells the client how many mouse buttons are supported. This seems to be a motif issue. Under NEdit for example it is possible to get the right mouse button menu by disabling num-lock, scoll-lock and caps-lock. Of course Razor doesn't work this way. (basic problem is drag and drop doesn't work over ssh, since it uses it's own protocol, so a right mouse button is the only other way to work it). Exceed doesn't share the problem cygwin has. Cygwin's problem seems very similar to the problem indicated by the above post. i.e. cygwin tells the motif version there are X number of buttons and it chooses the last button for right button as default. Is there any way of checking what an individual application believes or indeed checking/changing what the cygwin is telling the clients? Your's confused further, Chris _________________________________________________________________ MSN 8 with e-mail virus protection service: 2 months FREE* http://join.msn.com/?page=features/virus From Cary.Jamison@powerquest.com Mon Nov 11 13:17:00 2002 From: Cary.Jamison@powerquest.com (Cary Jamison) Date: Mon, 11 Nov 2002 13:17:00 -0000 Subject: Mousewheel stops scrolling Message-ID: "Harold L Hunt II" wrote in message news:<3DCAE7B8.60702@msu.edu>... > Cary, > > I will have to produce a Win32 message tester for you to run and send > me > the output of. I am a little bit strapped down right now with homework, > so it will have to wait a little while. > > Harold > That should be fine...I don't consider this very high priority since I have an easy workaround. Thanks! Cary ---- Cary Jamison Cary.Jamison@PowerQuest.com (801) 705-8685 voice (801) 705-4685 fax From STEPHEN.Bovy@ca.com Mon Nov 11 14:09:00 2002 From: STEPHEN.Bovy@ca.com (Bovy, Stephen) Date: Mon, 11 Nov 2002 14:09:00 -0000 Subject: Rootless Mode Anyone ??? Message-ID: <8C6B052884783549B5D30C166853A514EE244F@usilms21.ca.com> I would like to try the new rootless mode, but I cant find any Info on how to use it ... Any suggestions ??? From rrschulz@cris.com Mon Nov 11 23:21:00 2002 From: rrschulz@cris.com (Randall R Schulz) Date: Mon, 11 Nov 2002 23:21:00 -0000 Subject: Rootless Mode Anyone ??? In-Reply-To: <8C6B052884783549B5D30C166853A514EE244F@usilms21.ca.com> Message-ID: <5.1.0.14.2.20021111130049.02c9fc90@pop3.cris.com> OK. Whose turn is it to chastise this? RTFMLA! At 12:56 2002-11-11, Bovy, Stephen wrote: >I would like to try the new rootless mode, but I cant find any >Info on how to use it ... > >Any suggestions ??? From huntharo@msu.edu Tue Nov 12 02:58:00 2002 From: huntharo@msu.edu (Harold L Hunt II) Date: Tue, 12 Nov 2002 02:58:00 -0000 Subject: Rootless Mode Anyone ??? In-Reply-To: <8C6B052884783549B5D30C166853A514EE244F@usilms21.ca.com> References: <8C6B052884783549B5D30C166853A514EE244F@usilms21.ca.com> Message-ID: <3DD02A7F.3060408@msu.edu> Stephen, Use the ``-rootless'' command line parameter for XWin.exe. Harold Bovy, Stephen wrote: >I would like to try the new rootless mode, but I cant find any >Info on how to use it ... > >Any suggestions ??? > > From Dirk.Buehler@DaimlerChrysler.com Tue Nov 12 03:34:00 2002 From: Dirk.Buehler@DaimlerChrysler.com (Dirk.Buehler@DaimlerChrysler.com) Date: Tue, 12 Nov 2002 03:34:00 -0000 Subject: Problems with xedit, xcalc, xfontsel, emacs Message-ID: <0057440040919847000002L472*@MHS> Hi, after a recent update of my cygwin installation on windows 2000, I have experienced the same problems with xedit and xcalc, as described previously in http://sources.redhat.com/ml/cygwin-xfree/2002-06/msg00372.html . Specifically the problems are: - xedit fails with "Error: Shell widget fileMenu has zero width and/or height" - xcalc shows incorrect layout - xfontsel shows incorrect layout and displays "Warning: app-defaults file not properly installed." - emacs does not start up but consumes nearly 100% of the cpu time I have not been using ntsec so far, and the proposed changes to /etc/passwd do not seem to have an effect on the behaviour of the above applications. I did not have the xterm problem. I would be very grateful for any hints to resolve the problem. Best regards, Dirk From civario@mimosa.ceng.ceano.spam.fr Tue Nov 12 03:54:00 2002 From: civario@mimosa.ceng.ceano.spam.fr (gilles civario) Date: Tue, 12 Nov 2002 03:54:00 -0000 Subject: Problems with xedit, xcalc, xfontsel, emacs Message-ID: <3DD0DEB9.706@mimosa.ceng.ceano.spam.fr> It seems that a simlink is broken. civario@HEPATIQUE ~ $ ls -l /usr/X11R6/lib/X11/app-defaults/ total 9 -rwxrwxrwx 1 Administ Aucun 8779 May 11 2002 Mwm* lrwxrwxrwx 1 civario Aucun 131 Jun 6 09:52 app-defaults -> /etc/X11/app-defaults/ civario@HEPATIQUE ~ $ xedit point.f Error: Shell widget fileMenu has zero width and/or height civario@HEPATIQUE ~ $ export XENVIRONMENT=/etc/X11/app-defaults/Xedit civario@HEPATIQUE ~ $ xedit point.f (it works) Gilles. From email Tue Nov 12 04:30:00 2002 From: email (email) Date: Tue, 12 Nov 2002 04:30:00 -0000 Subject: Adding a german keyboard to a default installation ... Message-ID: Hello, I recently downloaded the Cygwin default packages and additionally the complete X11 package, because I have to access several Unix machines via VPN + X-Server from a laptop. I had no problems with the installation and with some try&error I was successful getting the CDE of our AIX on my local screen typing: "xwin -query ... -from ..." (The -from parameter was a must, I suppose because of the VPN access.) Unfortunately I'm not able to install a german keyboard layout even though I tried to apply the tips in this forum. (I hope I did my inquiries with enough care.) That's what I've already tried (without success): (1) Appending "xmodmap -display ... /etc/X11/xmodmap.de" to xinitrc (with and without -display VPN-IP or 127.0.0.1 and different path names) (2) Creating a .xsession file in my home directory with usermodmap=$HOME/.Xmodmap sysmodmap=/usr/lib/X11/xinit/.Xmodmap (the latter folder does not exit on my installation ...) if [ -f $sysmodmap ]; then xmodmap $sysmodmap fi if [ -f $usermodmap ]; then xmodmap $usermodmap fi (3) Trying all combinations of naming the modmap file, i.e. .Xmodmap, xmodmap.de in the different locations Calling the program xmodmap with a map file results in the error message "unable to open display ''". This does not not change when I explicitly enter the IP of my VPN access or 127.0.0.1 ... CAN ANYONE TELL ME IN SIMPLE WORDS WHAT I HAVE TO DO TO ADD A GERMAN KEYBOARD STARTING FROM A SIMPLE DEFAULT INSTALLATION FROM http://cygwin.com/ (+ X11 PACKAGES)? Many thanks! Rainer From spetreolle@yahoo.fr Tue Nov 12 04:49:00 2002 From: spetreolle@yahoo.fr (=?iso-8859-1?q?Sylvain=20Petreolle?=) Date: Tue, 12 Nov 2002 04:49:00 -0000 Subject: XF86Config sample / doc Message-ID: <20021112115419.31258.qmail@web10102.mail.yahoo.com> Hi, after upgrading my XFree86 packages I have problems with keyboard (ie set the keymap) so I would now if the packages includes some doc / sample. I know I could log into linux and 'man XF86Config' but it's dead at the moment. ___________________________________________________________ Do You Yahoo!? -- Une adresse @yahoo.fr gratuite et en fran??ais ! Yahoo! Mail : http://fr.mail.yahoo.com From Dirk.Buehler@DaimlerChrysler.com Tue Nov 12 04:57:00 2002 From: Dirk.Buehler@DaimlerChrysler.com (Dirk.Buehler@DaimlerChrysler.com) Date: Tue, 12 Nov 2002 04:57:00 -0000 Subject: Problems with xedit, xcalc, xfontsel, emacs Message-ID: <0057440040975995000002L452*@MHS> Hi Gilles, thanks for your quick help. Indeed it seems that in /usr/X11R6/lib/X11 there existed two entries for "app-defaults". One was a *.lnk and the other was a regular Windows folder that contained the same files as indicated in your email. I renamed the Windows folder and xedit & co work. The emacs problem seems to be a different one, however. Cheers, Dirk From satimis@writeme.com Tue Nov 12 06:19:00 2002 From: satimis@writeme.com (Stephen Liu) Date: Tue, 12 Nov 2002 06:19:00 -0000 Subject: Cygwin Connection Tool for Windows In-Reply-To: References: <5.1.1.6.0.20021109001907.02bf2850@pop.net-yan.com> Message-ID: <5.1.1.6.0.20021112194158.00abc950@pop.net-yan.com> Hi Mario, I encountered problem in installing the "connection tool" OS = WinXP Start -> Run -> setup.exe Following warning pop-up at time of installation Cygwin Connection Tool Setup C:\Windows\Setup.LTS Invalid line in Setup information file Section: Setup 1 File ......... I could not proceed further. Kindly advise. Thanks in advance. Stephen Liu At 06:52 PM 2002/11/9 +0100, you wrote: >Hi Stephen, >you need to set: >- XWin.exe file location >- Resolution >- IP you want to connect to > >optional: >- Network (e.g. 192.169.10.0 --> must end with an 0 !) > > >Plese let me know if it worked for you! > >Regards, Mario > > >From: cygwin-xfree-owner@cygwin.com > >[mailto:cygwin-xfree-owner@cygwin.com]On Behalf Of Stephen Liu > > >Hi Mario, > > >Re your tool for Windows. > > >I have it downloaded. > > >Is it just unzip it and install it on Windows then it will work. Any > >configuration needed? > > >Thanks > > >Stephen > > > >At 11:38 PM 2002/11/8 +0100, you wrote: > >>Hello! > >>I wrote a little tool and called it Cygwin Connection Tool. > >>You can find infos about it on http://thelinuxbeat.nu-sec.de/cygwin_tool/ > >>I its under the GPL license, and written in Visual Basic. > >>My Aim is to write it in C++ some time. > >> > >>I was wondering if i do/did something illegal by using its Icon, Name, > >>whatever. > >>I do not want something wich the Cygewin Team/Developer do not want. > >>I wrote it as a little helpful tool, and why should i not share it with > >>others? > >> > >>It?s my very first Project, so please forgive and tell me if i did >something > >>wrong. > >> > >>Cheers, Mario > > > > From mario.ohnewald@gmx.de Tue Nov 12 06:25:00 2002 From: mario.ohnewald@gmx.de (Mario Ohnewald) Date: Tue, 12 Nov 2002 06:25:00 -0000 Subject: Cygwin Connection Tool for Windows In-Reply-To: <5.1.1.6.0.20021112194158.00abc950@pop.net-yan.com> Message-ID: <000501c28a4b$26788c90$350aa8c0@aradex.local> Hi Liu, > -----Original Message----- > From: cygwin-xfree-owner@cygwin.com > [mailto:cygwin-xfree-owner@cygwin.com]On Behalf Of Stephen Liu > > > Hi Mario, > > I encountered problem in installing the "connection tool" > > OS = WinXP > > Start -> Run -> setup.exe Following warning pop-up at time > of installation > > Cygwin Connection Tool Setup > C:\Windows\Setup.LTS > Invalid line in Setup information file > Section: Setup 1 File > ......... UPS, havent tested it on XP Yet ;( I will try to fix this as soon as i have installed XP on VMWare ;P Did you get it running on Win2k? Changelog: --- 08.11.2002 --- - BUg discovert, it wont load XWin.exe. --> Copy cygwin1.dll and cygz.dll into the system32 directory. This Bug will be fixed soon. > > I could not proceed further. Kindly advise. > > Thanks in advance. > > Stephen Liu > > > At 06:52 PM 2002/11/9 +0100, you wrote: > >Hi Stephen, > >you need to set: > >- XWin.exe file location > >- Resolution > >- IP you want to connect to > > > >optional: > >- Network (e.g. 192.169.10.0 --> must end with an 0 !) > > > > > >Plese let me know if it worked for you! > > > >Regards, Mario > > > > >From: cygwin-xfree-owner@cygwin.com > > >[mailto:cygwin-xfree-owner@cygwin.com]On Behalf Of Stephen Liu > > > > >Hi Mario, > > > > >Re your tool for Windows. > > > > >I have it downloaded. > > > > >Is it just unzip it and install it on Windows then it will > work. Any > > >configuration needed? > > > > >Thanks > > > > >Stephen > > > > > > >At 11:38 PM 2002/11/8 +0100, you wrote: > > >>Hello! > > >>I wrote a little tool and called it Cygwin Connection Tool. > > >>You can find infos about it on > http://thelinuxbeat.nu-sec.de/cygwin_tool/ > > >>I its under the GPL license, and written in Visual Basic. > > >>My Aim is to write it in C++ some time. > > >> > > >>I was wondering if i do/did something illegal by using > its Icon, Name, > > >>whatever. > > >>I do not want something wich the Cygewin Team/Developer > do not want. > > >>I wrote it as a little helpful tool, and why should i not > share it with > > >>others? > > >> > > >>It??s my very first Project, so please forgive and tell me if i did > >something > > >>wrong. > > >> > > >>Cheers, Mario > > > > > > > > From schyllb@algonet.se Tue Nov 12 06:52:00 2002 From: schyllb@algonet.se (Michael Schyllberg) Date: Tue, 12 Nov 2002 06:52:00 -0000 Subject: cygpcre.dll is missing Message-ID: <002701c28a56$74a9c9a0$d360d7d9@zeppelin> Hi! When trying to install xfree86 for the first time on my xp-machine I get an error message that cygpcre.dll is missing. Where do I get this file? Is it a part of Cygwin? Thanks /Michael Schyllberg From jblazi@gmx.de Tue Nov 12 08:18:00 2002 From: jblazi@gmx.de (Janos Blazi) Date: Tue, 12 Nov 2002 08:18:00 -0000 Subject: cygpcre.dll is missing References: <002701c28a56$74a9c9a0$d360d7d9@zeppelin> Message-ID: <000701c28a58$d13bd670$69de90d4@papua8zrg78jqb> Hi! When trying to install xfree86 for the first time on my xp-machine I get an error message that cygpcre.dll is missing. Where do I get this file? Is it a part of Cygwin? This is frequently asked. Just go to the cygwin home page and download the file separately. Janos Blazi From satimis@writeme.com Tue Nov 12 08:20:00 2002 From: satimis@writeme.com (Stephen Liu) Date: Tue, 12 Nov 2002 08:20:00 -0000 Subject: Cygwin Connection Tool for Windows In-Reply-To: <000501c28a4b$26788c90$350aa8c0@aradex.local> References: <5.1.1.6.0.20021112194158.00abc950@pop.net-yan.com> Message-ID: <5.1.1.6.0.20021113001313.00b279a0@pop.net-yan.com> Hi Mario, At 01:58 PM 11/12/2002 +0100, you wrote: >Hi Liu, > > > -----Original Message----- > > From: cygwin-xfree-owner@cygwin.com > > [mailto:cygwin-xfree-owner@cygwin.com]On Behalf Of Stephen Liu > > > > > > Hi Mario, > > > > I encountered problem in installing the "connection tool" > > > > OS = WinXP > > > > Start -> Run -> setup.exe Following warning pop-up at time > > of installation > > > > Cygwin Connection Tool Setup > > C:\Windows\Setup.LTS > > Invalid line in Setup information file > > Section: Setup 1 File > > ......... >UPS, havent tested it on XP Yet ;( >I will try to fix this as soon as i have installed XP on VMWare ;P >Did you get it running on Win2k? Sorry. At this moment I only have a WinXP box available for test. I am prepared to build a Win2K box but it will take about 1-2 days because I have to empty all existing stuffs on a PII-350 box for its installation. Stephen >Changelog: >--- 08.11.2002 --- >- BUg discovert, it wont load XWin.exe. >--> Copy cygwin1.dll and cygz.dll into the system32 directory. This Bug will >be fixed soon. > > > > > > I could not proceed further. Kindly advise. > > > > Thanks in advance. > > > > Stephen Liu > > > > > > At 06:52 PM 2002/11/9 +0100, you wrote: > > >Hi Stephen, > > >you need to set: > > >- XWin.exe file location > > >- Resolution > > >- IP you want to connect to > > > > > >optional: > > >- Network (e.g. 192.169.10.0 --> must end with an 0 !) > > > > > > > > >Plese let me know if it worked for you! > > > > > >Regards, Mario > > > > > > >From: cygwin-xfree-owner@cygwin.com > > > >[mailto:cygwin-xfree-owner@cygwin.com]On Behalf Of Stephen Liu > > > > > > >Hi Mario, > > > > > > >Re your tool for Windows. > > > > > > >I have it downloaded. > > > > > > >Is it just unzip it and install it on Windows then it will > > work. Any > > > >configuration needed? > > > > > > >Thanks > > > > > > >Stephen > > > > > > > > > >At 11:38 PM 2002/11/8 +0100, you wrote: > > > >>Hello! > > > >>I wrote a little tool and called it Cygwin Connection Tool. > > > >>You can find infos about it on > > http://thelinuxbeat.nu-sec.de/cygwin_tool/ > > > >>I its under the GPL license, and written in Visual Basic. > > > >>My Aim is to write it in C++ some time. > > > >> > > > >>I was wondering if i do/did something illegal by using > > its Icon, Name, > > > >>whatever. > > > >>I do not want something wich the Cygewin Team/Developer > > do not want. > > > >>I wrote it as a little helpful tool, and why should i not > > share it with > > > >>others? > > > >> > > > >>It?s my very first Project, so please forgive and tell me if i did > > >something > > > >>wrong. > > > >> > > > >>Cheers, Mario > > > > > > > > > > > > From cgf-cygwin-xfree@cygwin.com Tue Nov 12 08:20:00 2002 From: cgf-cygwin-xfree@cygwin.com (Christopher Faylor) Date: Tue, 12 Nov 2002 08:20:00 -0000 Subject: cygpcre.dll is missing In-Reply-To: <002701c28a56$74a9c9a0$d360d7d9@zeppelin> References: <002701c28a56$74a9c9a0$d360d7d9@zeppelin> Message-ID: <20021112145229.GD12205@redhat.com> On Tue, Nov 12, 2002 at 03:19:03PM +0100, Michael Schyllberg wrote: >When trying to install xfree86 for the first time on my xp-machine I >get an error message that cygpcre.dll is missing. Where do I get this >file? Is it a part of Cygwin? http://cygwin.com/packages/ cgf From huntharo@msu.edu Tue Nov 12 08:44:00 2002 From: huntharo@msu.edu (Harold L Hunt II) Date: Tue, 12 Nov 2002 08:44:00 -0000 Subject: right mouse button again, motif on solaris In-Reply-To: Message-ID: Chris, This is way beyond me. I implemented the mouse and keyboard code as best I could with the crappy documentation that is available. Since then I have not seen anything that explains what the ``real'' way to do things is, so I will just leave the code be until either someone else messes with it (fine by me) or until someone can find some better documentation. Harold -----Original Message----- From: cygwin-xfree-owner@cygwin.com [mailto:cygwin-xfree-owner@cygwin.com]On Behalf Of Chris Twiner Sent: Monday, November 11, 2002 11:09 AM To: cygwin-xfree@cygwin.com Subject: right mouse button again, motif on solaris Hi All, An application, Razor (Motif) that I'm running won't allow the right button to work. After investigation this appears to be a bug in the Motif libraries within Solaris. However as it appears different on different Xservers the common factor seems to be the mouse setting. A post : http://groups.google.co.uk/groups?hl=en&lr=&ie=UTF-8&oe=UTF-8&threadm=3717E7 13.BBD3D2F1%40soest.hawaii.edu&rnum=2&prev=/groups%3Fq%3Dmotif%2Bproblem%2Br ight%2Bmouse%2Bbutton%2Bsolaris%26ie%3DUTF-8%26oe%3DUTF-8%26hl%3Den Seems to indicate that the server tells the client how many mouse buttons are supported. This seems to be a motif issue. Under NEdit for example it is possible to get the right mouse button menu by disabling num-lock, scoll-lock and caps-lock. Of course Razor doesn't work this way. (basic problem is drag and drop doesn't work over ssh, since it uses it's own protocol, so a right mouse button is the only other way to work it). Exceed doesn't share the problem cygwin has. Cygwin's problem seems very similar to the problem indicated by the above post. i.e. cygwin tells the motif version there are X number of buttons and it chooses the last button for right button as default. Is there any way of checking what an individual application believes or indeed checking/changing what the cygwin is telling the clients? Your's confused further, Chris _________________________________________________________________ MSN 8 with e-mail virus protection service: 2 months FREE* http://join.msn.com/?page=features/virus From mdharnois@stthomas.edu Tue Nov 12 09:08:00 2002 From: mdharnois@stthomas.edu (Michael Harnois) Date: Tue, 12 Nov 2002 09:08:00 -0000 Subject: Cygwin Connection Tool for Windows In-Reply-To: <5.1.1.6.0.20021113001313.00b279a0@pop.net-yan.com> Message-ID: It dies with the same error in Win2K. Michael D. Harnois 2L, UST School of Law Minneapolis, Minnesota The first thing you should do when you get up is read the obituaries. You never know when you'll see a name that will just make your day. --Ed Salisbury -----Original Message----- From: cygwin-xfree-owner@cygwin.com [mailto:cygwin-xfree-owner@cygwin.com]On Behalf Of Stephen Liu Sent: Tuesday, November 12, 2002 10:18 To: cygwin-xfree@cygwin.com Subject: RE: Cygwin Connection Tool for Windows Hi Mario, At 01:58 PM 11/12/2002 +0100, you wrote: >Hi Liu, > > > -----Original Message----- > > From: cygwin-xfree-owner@cygwin.com > > [mailto:cygwin-xfree-owner@cygwin.com]On Behalf Of Stephen Liu > > > > > > Hi Mario, > > > > I encountered problem in installing the "connection tool" > > > > OS = WinXP > > > > Start -> Run -> setup.exe Following warning pop-up at time > > of installation > > > > Cygwin Connection Tool Setup > > C:\Windows\Setup.LTS > > Invalid line in Setup information file > > Section: Setup 1 File > > ......... >UPS, havent tested it on XP Yet ;( >I will try to fix this as soon as i have installed XP on VMWare ;P >Did you get it running on Win2k? Sorry. At this moment I only have a WinXP box available for test. I am prepared to build a Win2K box but it will take about 1-2 days because I have to empty all existing stuffs on a PII-350 box for its installation. Stephen >Changelog: >--- 08.11.2002 --- >- BUg discovert, it wont load XWin.exe. >--> Copy cygwin1.dll and cygz.dll into the system32 directory. This Bug will >be fixed soon. > > > > > > I could not proceed further. Kindly advise. > > > > Thanks in advance. > > > > Stephen Liu > > > > > > At 06:52 PM 2002/11/9 +0100, you wrote: > > >Hi Stephen, > > >you need to set: > > >- XWin.exe file location > > >- Resolution > > >- IP you want to connect to > > > > > >optional: > > >- Network (e.g. 192.169.10.0 --> must end with an 0 !) > > > > > > > > >Plese let me know if it worked for you! > > > > > >Regards, Mario > > > > > > >From: cygwin-xfree-owner@cygwin.com > > > >[mailto:cygwin-xfree-owner@cygwin.com]On Behalf Of Stephen Liu > > > > > > >Hi Mario, > > > > > > >Re your tool for Windows. > > > > > > >I have it downloaded. > > > > > > >Is it just unzip it and install it on Windows then it will > > work. Any > > > >configuration needed? > > > > > > >Thanks > > > > > > >Stephen > > > > > > > > > >At 11:38 PM 2002/11/8 +0100, you wrote: > > > >>Hello! > > > >>I wrote a little tool and called it Cygwin Connection Tool. > > > >>You can find infos about it on > > http://thelinuxbeat.nu-sec.de/cygwin_tool/ > > > >>I its under the GPL license, and written in Visual Basic. > > > >>My Aim is to write it in C++ some time. > > > >> > > > >>I was wondering if i do/did something illegal by using > > its Icon, Name, > > > >>whatever. > > > >>I do not want something wich the Cygewin Team/Developer > > do not want. > > > >>I wrote it as a little helpful tool, and why should i not > > share it with > > > >>others? > > > >> > > > >>It??s my very first Project, so please forgive and tell me if i did > > >something > > > >>wrong. > > > >> > > > >>Cheers, Mario > > > > > > > > > > > > From vola_ray@yahoo.com Tue Nov 12 09:54:00 2002 From: vola_ray@yahoo.com (vola ray) Date: Tue, 12 Nov 2002 09:54:00 -0000 Subject: Questions on Xwin.exe arguments Message-ID: <20021112164441.83926.qmail@web11706.mail.yahoo.com> Hi! I am running XWindo under Windows95 using the startxwin.bat where I have start XWin -emulate3buttons 100 run xterm -bg white -fg black -bd blue -ms blue -e 'source ~/.login' & run twm run xsetroot -solid blue Do U know what should I have with XWin.exe so that the xterm behaves the way it behaves under LINUX, i.e when U have 2 xterm windows one over the other and U go to one of them and click your mouse and that xterm becomes active. Whereas what I see now is that I have to click the Top Border of the xterm to make it Active; I would Greatly Appreciate if U suggest something I should do..... [by the way I used -lesspointer option to find out the same behavior!!!] Thanks in advance, regards, vola __________________________________________________ Do you Yahoo!? U2 on LAUNCH - Exclusive greatest hits videos http://launch.yahoo.com/u2 From rrschulz@cris.com Tue Nov 12 10:02:00 2002 From: rrschulz@cris.com (Randall R Schulz) Date: Tue, 12 Nov 2002 10:02:00 -0000 Subject: Questions on Xwin.exe arguments In-Reply-To: <20021112164441.83926.qmail@web11706.mail.yahoo.com> Message-ID: <5.1.0.14.2.20021112084844.0294f020@pop3.cris.com> Vola, Are you imploring some university to answer your questions? If you're addressing a human being from whom you wish to solicit an answer to your questions, then please use the English word "you." While I am just one man and most certainly not an institution of any kind, I can tell you that window activation behavior in X is handled by the window manager. By default, twm uses the "classic" X focus-follows-mouse behavior. If twm allows this to be changed, the twm documentation probably holds that answer to how. Look for the word "focus" or "Focus" for starters. Also read the options regarding window raising behavior ("raise" / "Raise"). By the way, the activation behavior you want (that expected by most personal computer users who've never used X) is the default in Window Maker. Perhaps you'd like to try it. It's a lot "fancier" than twm, which you may or may not find desirable. Twm is pretty much the most elementary window manager available for XFree86/Cygwin. The next step up in terms of features and sophistication would be "fvwm2." I think it also has the kind of default window activation behavior you want. Randall Schulz Mountain View, CA USA At 08:44 2002-11-12, you wrote: >Hi! >I am running XWindo under Windows95 using the startxwin.bat where I have > >start XWin -emulate3buttons 100 >run xterm -bg white -fg black -bd blue -ms blue -e 'source ~/.login' & >run twm >run xsetroot -solid blue > >Do U know what should I have with XWin.exe so that the xterm behaves the >way it >behaves under LINUX, i.e when U have 2 xterm windows one over the other >and U go >to one of them and click your mouse and that xterm becomes active. Whereas >what >I see now is that I have to click the Top Border of the xterm to make it >Active; > >I would Greatly Appreciate if U suggest something I should do..... >[by the way I used -lesspointer option to find out the same behavior!!!] > >Thanks in advance, >regards, >vola From JDrash@eesus.jnj.com Tue Nov 12 12:53:00 2002 From: JDrash@eesus.jnj.com (Jim Drash) Date: Tue, 12 Nov 2002 12:53:00 -0000 Subject: Questions on XWin.exe arguments Message-ID: This is not a fuction of XWin at all. It is a fuction of the window manager you are running. twm has this behaviior. If you want a different behavior use a different window manager. From moser@decodon.com Tue Nov 12 12:57:00 2002 From: moser@decodon.com (Frank-Michael Moser) Date: Tue, 12 Nov 2002 12:57:00 -0000 Subject: Problems with xedit, xcalc, xfontsel, emacs References: <3DD0DEB9.706@mimosa.ceng.ceano.spam.fr> Message-ID: <3DD14244.6010704@decodon.com> > It seems that a simlink is broken. ... but I wonder what is the reason for that. I had the same problem on my machine. After a lot of debugging I gave up for the first time. Then I installed Cygwin with XFree on a friend's box and - voila - xedit&co worked fine. So I decided to reinstall my Cygwin. First I renamed the old Cygwin folder and removed all entries from the registry. Then I installed everything what I had in my old local package directory from ftp://mirrors.rcn.net. But ;( the same problem again. The only difference (checking cygcheck) to my friend's box was that on his box I only installed a subset of my packages. Now I guess that this must be a problem which is related to the order of installing certain X-packages. There must be a package which creates app-defaults as a regular folder before any symbolic link is created such that instead of moser@PIP /tmp/test $ ls -l drwxr-xr-x 2 moser Kein 0 Nov 12 18:51 a/ total 0 moser@PIP /tmp/test $ ln -s a b moser@PIP /tmp/test $ ls -l total 0 drwxr-xr-x 2 moser Kein 0 Nov 12 18:51 a/ lrwxrwxrwx 1 moser Kein 82 Nov 12 18:51 b -> a/ later it looks like this: moser@PIP /tmp/test $ ls -l total 0 drwxr-xr-x 2 moser Kein 0 Nov 12 18:51 a/ drwxr-xr-x 2 moser Kein 0 Nov 12 18:53 b/ moser@PIP /tmp/test $ ln -s a b moser@PIP /tmp/test $ ls -l total 0 drwxr-xr-x 2 moser Kein 0 Nov 12 18:51 a/ drwxr-xr-x 2 moser Kein 0 Nov 12 18:54 b/ moser@PIP /tmp/test $ ls -l b total 0 lrwxrwxrwx 1 moser Kein 82 Nov 12 18:54 a -> a I guess the package which installs app-defaults/Mwm must be culprit. Frank-Michael From JDrash@eesus.jnj.com Tue Nov 12 13:05:00 2002 From: JDrash@eesus.jnj.com (Jim Drash) Date: Tue, 12 Nov 2002 13:05:00 -0000 Subject: Emacs in XWin is performing oddly Message-ID: I have installed all of the cygwin emacs packages and I now am experiencing problems with emacs with the X server. Launching emaces causes one of the following: 1) the application never displays its window (CPU utilization to 100%) 2) the application displays its window but it is unresponsive (CPU utilization to 100%) 3) About 1 in 4 times it runs correctly even after a clean reboot of the PC Any clues would be very helpful. thanks in advance, jim drash From JDrash@eesus.jnj.com Tue Nov 12 14:14:00 2002 From: JDrash@eesus.jnj.com (Jim Drash) Date: Tue, 12 Nov 2002 14:14:00 -0000 Subject: Emacs in XWin is performing oddly Message-ID: Sorry for the typos in my last message. It is nearing the end of the business day and my brain is fried . From pechtcha@cs.nyu.edu Tue Nov 12 16:59:00 2002 From: pechtcha@cs.nyu.edu (Igor Pechtchanski) Date: Tue, 12 Nov 2002 16:59:00 -0000 Subject: Problems with xedit, xcalc, xfontsel, emacs In-Reply-To: <3DD14244.6010704@decodon.com> Message-ID: On Tue, 12 Nov 2002, Frank-Michael Moser wrote: > > It seems that a simlink is broken. > > ... but I wonder what is the reason for that. > > I had the same problem on my machine. After a lot of debugging I gave up > for the first time. Then I installed Cygwin with XFree on a friend's box > and - voila - xedit&co worked fine. > > So I decided to reinstall my Cygwin. First I renamed the old Cygwin > folder and removed all entries from the registry. Then I installed > everything what I had in my old local package directory from > ftp://mirrors.rcn.net. But ;( the same problem again. > > The only difference (checking cygcheck) to my friend's box was that on > his box I only installed a subset of my packages. Now I guess that this > must be a problem which is related to the order of installing certain > X-packages. There must be a package which creates app-defaults as a > regular folder before any symbolic link is created such that instead of > > moser@PIP /tmp/test > $ ls -l > drwxr-xr-x 2 moser Kein 0 Nov 12 18:51 a/ > total 0 > > moser@PIP /tmp/test > $ ln -s a b > > moser@PIP /tmp/test > $ ls -l > total 0 > drwxr-xr-x 2 moser Kein 0 Nov 12 18:51 a/ > lrwxrwxrwx 1 moser Kein 82 Nov 12 18:51 b -> a/ > > later it looks like this: > > moser@PIP /tmp/test > $ ls -l > total 0 > drwxr-xr-x 2 moser Kein 0 Nov 12 18:51 a/ > drwxr-xr-x 2 moser Kein 0 Nov 12 18:53 b/ > > moser@PIP /tmp/test > $ ln -s a b > > moser@PIP /tmp/test > $ ls -l > total 0 > drwxr-xr-x 2 moser Kein 0 Nov 12 18:51 a/ > drwxr-xr-x 2 moser Kein 0 Nov 12 18:54 b/ > > moser@PIP /tmp/test > $ ls -l b > total 0 > lrwxrwxrwx 1 moser Kein 82 Nov 12 18:54 a -> a > > I guess the package which installs app-defaults/Mwm must be culprit. > > Frank-Michael Frank-Michael, Actions of this sort (creating symbolic links, directories, etc) are usually performed in postinstall scripts. The postinstall scripts remain after they are executed, but are renamed to .done. They are located in /etc/postinstall. If you suspect a particular package, you should be able to browse through its postinstall script. If there is indeed a bug (as you seem to indicate), I'm sure the maintainer of the package would appreciate a patch (or at least a note on how to fix things). Igor -- http://cs.nyu.edu/~pechtcha/ |\ _,,,---,,_ pechtcha@cs.nyu.edu ZZZzz /,`.-'`' -. ;-;;,_ igor@watson.ibm.com |,4- ) )-,_. ,\ ( `'-' Igor Pechtchanski '---''(_/--' `-'\_) fL a.k.a JaguaR-R-R-r-r-r-.-.-. Meow! "Water molecules expand as they grow warmer" (C) Popular Science, Oct'02, p.51 From c_twiner@hotmail.com Wed Nov 13 00:32:00 2002 From: c_twiner@hotmail.com (Chris Twiner) Date: Wed, 13 Nov 2002 00:32:00 -0000 Subject: how does xwin resolve ip addresses Message-ID: 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), the RRAS service is the damned culprit. So answer was disable the damn thing. Thanks to all that helped and many thanks to Ago, Chris _________________________________________________________________ Help STOP SPAM with the new MSN 8 and get 2 months FREE* http://join.msn.com/?page=features/junkmail From cygwin-xfree@cygwin.com Wed Nov 13 00:42:00 2002 From: cygwin-xfree@cygwin.com (Christopher Faylor) Date: Wed, 13 Nov 2002 00:42:00 -0000 Subject: Searching on Mailing list and Update on fvwm2 for cygwin In-Reply-To: <200211121801.AA63897748@mail.ev1.net> References: <200211121801.AA63897748@mail.ev1.net> Message-ID: <20021113005934.GB29561@redhat.com> This isn't an issue for the cygwin mailing list. We actually have a mailing list for Cygwin XFree86 issues. I've redirected this email there. I'll also be blocking this subject from future helpful followups in cygwin at cygwin dot com. On Tue, Nov 12, 2002 at 06:01:01PM -0600, markem wrote: >Cygwin and fvwm2: > >I finished downloading and updating Cygwin. My original version >was the one I downloaded on August 5th. I have not had the time >to re-try the compilation of Lesstif (I'm on a 56K modem and it >took almost the entire day to download all of the updates). >However, I would like to thank whoever it is that worked on the >fvwm2 update. Under the August 5th release I could not make the >up/down/left/right arrow keys work properly. By "properly" I mean >that I like to set them so when I hold down the control key and >then type one of them my screen flips to the next screen (3x3 >matrix). In this way I can have several things all going at the >same time. Well, under the previous version I either had to have >A)ll turned on or just forget being able to do this and having to >use the mouse to select individual screens. > >Original Configuration: > >Key Left A C Scroll -100 0 >Key Right A C Scroll +100 0 >etc.... > >I wound up having: > >Key Left RW A Scroll -100 0 >etc.... > >So I could use the feature. > >Under the current release (as of 11/11/2002) The original command >now works properly! So kudos to whoever fixed it! :-) > >I'll post again after attempting to re-compile Lesstif. Whether >or not it completes the compilation so everyone will know one way >or the other if that problem was fixed also in the latest >release. Thanks again guys and gals! :-) > >Mark Manning > > >________________________________________________________________ >Sent via the EV1 webmail system at mail.ev1.net > > > > > >-- >Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple >Bug reporting: http://cygwin.com/bugs.html >Documentation: http://cygwin.com/docs.html >FAQ: http://cygwin.com/faq/ From taishin@imap.cc Wed Nov 13 02:16:00 2002 From: taishin@imap.cc (Kin Taishin) Date: Wed, 13 Nov 2002 02:16:00 -0000 Subject: an idea for building win32 based xfd Message-ID: <3DD20E0E.7020501@imap.cc> Please let me have your comments on my idea that aims to build win32 based x font server which is capable of exporting fonts installed on a Windows machine. By using this server, cygwin/xfree users do not need to install X-specific fonts aside from Windows fonts. This server is expected to behave as xfd. So any X server will benefit from this server. Since font installation is done in Windows side, almost no font configuration effort is required in X side. I'd like to have your opinion about this. I guess this kind of idea has already poped up in many peoples' mind. There might be a similar project or software proposed by someone else before... Any comment? Thanks, Taishin From geert.pille@vandemoortele.com Wed Nov 13 02:22:00 2002 From: geert.pille@vandemoortele.com (Pille Geert (bizvdm)) Date: Wed, 13 Nov 2002 02:22:00 -0000 Subject: Questions on Xwin.exe arguments Message-ID: <2FAEFC2A851BD211AD820008C7286BA402D7E384@NBIZ205> Hallo Randall, If U cn rd ths U cn gt a gd jb Gerard -----Original Message----- From: Randall R Schulz [mailto:rrschulz@cris.com] Sent: dinsdag 12 november 2002 18:09 To: cygwin-xfree@cygwin.com Subject: Re: Questions on Xwin.exe arguments Vola, Are you imploring some university to answer your questions? If you're addressing a human being from whom you wish to solicit an answer to your questions, then please use the English word "you." While I am just one man and most certainly not an institution of any kind, I can tell you that window activation behavior in X is handled by the window manager. By default, twm uses the "classic" X focus-follows-mouse behavior. If twm allows this to be changed, the twm documentation probably holds that answer to how. Look for the word "focus" or "Focus" for starters. Also read the options regarding window raising behavior ("raise" / "Raise"). By the way, the activation behavior you want (that expected by most personal computer users who've never used X) is the default in Window Maker. Perhaps you'd like to try it. It's a lot "fancier" than twm, which you may or may not find desirable. Twm is pretty much the most elementary window manager available for XFree86/Cygwin. The next step up in terms of features and sophistication would be "fvwm2." I think it also has the kind of default window activation behavior you want. Randall Schulz Mountain View, CA USA At 08:44 2002-11-12, you wrote: >Hi! >I am running XWindo under Windows95 using the startxwin.bat where I have > >start XWin -emulate3buttons 100 >run xterm -bg white -fg black -bd blue -ms blue -e 'source ~/.login' & >run twm >run xsetroot -solid blue > >Do U know what should I have with XWin.exe so that the xterm behaves the >way it >behaves under LINUX, i.e when U have 2 xterm windows one over the other >and U go >to one of them and click your mouse and that xterm becomes active. Whereas >what >I see now is that I have to click the Top Border of the xterm to make it >Active; > >I would Greatly Appreciate if U suggest something I should do..... >[by the way I used -lesspointer option to find out the same behavior!!!] > >Thanks in advance, >regards, >vola =============================== This email is confidential and intended solely for the use of the individual to whom it is addressed. If you are not the intended recipient, be advised that you have received this email in error and that any use, dissemination, forwarding, printing, or copying of this email is strictly prohibited. You are explicitly requested to notify the sender of this email that the intended recipient was not reached. From spetreolle@yahoo.fr Wed Nov 13 02:52:00 2002 From: spetreolle@yahoo.fr (=?iso-8859-1?q?Sylvain=20Petreolle?=) Date: Wed, 13 Nov 2002 02:52:00 -0000 Subject: Cygwin Connection Tool for Windows In-Reply-To: <000501c28a4b$26788c90$350aa8c0@aradex.local> Message-ID: <20021113101655.78659.qmail@web10106.mail.yahoo.com> Oh, Cygwin running X-Server on Vmware. What a ...<= don't know how to say that :) > UPS, havent tested it on XP Yet ;( > I will try to fix this as soon as i have installed XP on VMWare ;P > Did you get it running on Win2k? > ___________________________________________________________ Do You Yahoo!? -- Une adresse @yahoo.fr gratuite et en fran??ais ! Yahoo! Mail : http://fr.mail.yahoo.com From alexander.gottwald@s1999.tu-chemnitz.de Wed Nov 13 03:30:00 2002 From: alexander.gottwald@s1999.tu-chemnitz.de (Alexander Gottwald) Date: Wed, 13 Nov 2002 03:30:00 -0000 Subject: Emacs in XWin is performing oddly In-Reply-To: Message-ID: On Tue, 12 Nov 2002, Jim Drash wrote: > I have installed all of the cygwin emacs packages and I now am > experiencing problems with emacs with the X server. Launching emaces > causes one of the following: > > 1) the application never displays its window (CPU utilization to 100%) > 2) the application displays its window but it is unresponsive (CPU > utilization to 100%) > 3) About 1 in 4 times it runs correctly even after a clean reboot of the > PC Has anyone tested cygwin emacs with linux xserver? Does the same happen? From rasjidw@openminddev.net Wed Nov 13 04:12:00 2002 From: rasjidw@openminddev.net (Rasjid Wilcox) Date: Wed, 13 Nov 2002 04:12:00 -0000 Subject: Cygwin Connection Tool for Windows In-Reply-To: <20021113101655.78659.qmail@web10106.mail.yahoo.com> References: <20021113101655.78659.qmail@web10106.mail.yahoo.com> Message-ID: <200211132152.32735.rasjidw@openminddev.net> On Wed, 13 Nov 2002 9:16 pm, Sylvain Petreolle wrote: > Oh, Cygwin running X-Server on Vmware. > What a ...<= don't know how to say that :) And what is wrong with that?? How else do you test Cygwin when you run Linux at home?? (Or, Why dual boot when you can VMWare? ;-) Rasjid. From alexander.gottwald@s1999.tu-chemnitz.de Wed Nov 13 04:14:00 2002 From: alexander.gottwald@s1999.tu-chemnitz.de (Alexander Gottwald) Date: Wed, 13 Nov 2002 04:14:00 -0000 Subject: Cygwin Connection Tool for Windows In-Reply-To: <20021113101655.78659.qmail@web10106.mail.yahoo.com> Message-ID: On Wed, 13 Nov 2002, Sylvain Petreolle wrote: > Oh, Cygwin running X-Server on Vmware. > What a ...<= don't know how to say that :) > > > UPS, havent tested it on XP Yet ;( > > I will try to fix this as soon as i have installed XP on VMWare ;P > > Did you get it running on Win2k? Guess what I'm doing all the time. I have a cross-compiler running on linux and test all cygwin/Cygwin XFree changes in a VmWare. This was the only way to fix some bugs in the cygwin network handling on _very_ old win95. This was _much_ better than breaking my workstation. bye ago From spetreolle@yahoo.fr Wed Nov 13 06:34:00 2002 From: spetreolle@yahoo.fr (=?iso-8859-1?q?Sylvain=20Petreolle?=) Date: Wed, 13 Nov 2002 06:34:00 -0000 Subject: Cygwin Connection Tool for Windows In-Reply-To: <200211132152.32735.rasjidw@openminddev.net> Message-ID: <20021113121218.92320.qmail@web10106.mail.yahoo.com> --- Rasjid Wilcox a ??crit??: > On Wed, 13 Nov 2002 9:16 pm, Sylvain Petreolle wrote: > > Oh, Cygwin running X-Server on Vmware. > > What a ...<= don't know how to say that :) Excuse if I made you misunderstand me. Is because of my bad english. But I was really surprised to see someone using VmWare for that. (I'm currently trying to run Cygwin under Wine ;)) > And what is wrong with that?? How else do you test Cygwin when you > run Linux > at home?? (Or, Why dual boot when you can VMWare? ;-) > > Rasjid. > ___________________________________________________________ Do You Yahoo!? -- Une adresse @yahoo.fr gratuite et en fran??ais ! Yahoo! Mail : http://fr.mail.yahoo.com From wislaj23@wp.pl Wed Nov 13 07:03:00 2002 From: wislaj23@wp.pl (Artur Hefczyc) Date: Wed, 13 Nov 2002 07:03:00 -0000 Subject: Emacs in XWin is performing oddly References: Message-ID: <002001c28b0e$7cb4c560$9900010a@nutech.com.pl> > > I have installed all of the cygwin emacs packages and I now am > > experiencing problems with emacs with the X server. Launching emaces > > causes one of the following: > > > > 1) the application never displays its window (CPU utilization to 100%) > > 2) the application displays its window but it is unresponsive (CPU > > utilization to 100%) > > 3) About 1 in 4 times it runs correctly even after a clean reboot of the > > PC I have exactly the same problem! I am not sure if this is emacs problem. It looks like new version of XWin have this problem. Emacs in terminal works well. Tried to return to previous versions of X, hm it doesn't work. Now I have real problem so please if someone knows how to avoid this send message. Artur -- Artur Hefczyc artur.hefczyc@plusnet.pl Open Source Developer http://wttools.sourceforge.net/ From j_tetazoo@hotmail.com Wed Nov 13 07:30:00 2002 From: j_tetazoo@hotmail.com (Thomas Chadwick) Date: Wed, 13 Nov 2002 07:30:00 -0000 Subject: an idea for building win32 based xfd Message-ID: >Please let me have your comments on my idea that >aims to build win32 based x font server which is capable of >exporting fonts installed on a Windows machine. >By using this server, cygwin/xfree users do not need to >install X-specific fonts aside from Windows fonts. >This server is expected to behave as xfd. So any X server >will benefit from this server. >Since font installation is done in Windows side, almost no >font configuration effort is required in X side. >I'd like to have your opinion about this. I guess this kind of >idea has already poped up in many peoples' mind. >There might be a similar project or software proposed by >someone else before... >Any comment? > >Thanks, >Taishin First of all, don't you mean xfs, not xfd? Secondly, how is this different from running the stock xfs that's in the XFree86 distro using free-type to support the Windows fonts? _________________________________________________________________ MSN 8 with e-mail virus protection service: 2 months FREE* http://join.msn.com/?page=features/virus From j_tetazoo@hotmail.com Wed Nov 13 07:30:00 2002 From: j_tetazoo@hotmail.com (Thomas Chadwick) Date: Wed, 13 Nov 2002 07:30:00 -0000 Subject: Emacs in XWin is performing oddly Message-ID: On Tue, 12 Nov 2002, Alexander Gottwald wrote: >>I have installed all of the cygwin emacs packages and I now am >>experiencing problems with emacs with the X server. Launching emaces >>causes one of the following: >> >>1) the application never displays its window (CPU utilization to >100%) >>2) the application displays its window but it is unresponsive (CPU >>utilization to 100%) >>3) About 1 in 4 times it runs correctly even after a clean reboot of the >>PC > >Has anyone tested cygwin emacs with linux xserver? > >Does the same happen? I don't have a Linux X-server nearby, but I do have AIXWindows running nearby. I changed my DISPLAY variable and launched emacs. It popped up very quickly on the AIXWindows display (much faster than I normally see in the XWin server). However, pointer movement on the target display was sluggish, and the Win2k Task Manager says it is using upwards of 95% CPU all the time. There is definitely something wrong with emacs in X11 mode, and I think this experiment shows that it's a client-side problem, not server-side. _________________________________________________________________ The new MSN 8: advanced junk mail protection and 2 months FREE* http://join.msn.com/?page=features/junkmail From csardin@sopragroup.com Wed Nov 13 08:22:00 2002 From: csardin@sopragroup.com (Christian SARDIN) Date: Wed, 13 Nov 2002 08:22:00 -0000 Subject: Two colormaps ? Message-ID: <9E035BE80785AA4EAA456959ECB4A30D03426ECF@nt036.an.sopra> Hello, I try to explain my problem. I have a graphic application running fine on HP-UX, and displaying OK on HP workstation. I try to have it display (correctly ! ) on my notebook. The notebook : HP VT 6200 , 15" , 1400x1050 resolution, Windows XP Pro. I installed Cygwin version 1.3.13-2 including XFree 86 4.2.15 twm is the only window manager installed. So I use it. The application (staticcaly linked with X11R5 lib) requires 2 colormaps... and use XtConvertAndStore for various colors. So I need PseudoColor mode, I use : startx -- -emulatepseudo -depth 8 -fullscreen I rlogin Hp-Ux-Workstation and start the application. It is mostly OK but ...: The application opens windows, with drawings... and it is not re-drawn (I have to ask for redraw through an application fonctionality) ! Any suggest whould be welcome ! The other problem is for the drawings requiring the second colormap, of course.. Is there a way to have it ? By now, I have only tried Cygwin, but I expect to install Mandrake 9 soon (but I miss the disk driver !). May be Xf86config will help ? I hope that someone can help me to solve that. (And that my english can be understood) Thanks a lot. Christian From csardin@sopragroup.com Wed Nov 13 08:26:00 2002 From: csardin@sopragroup.com (Christian SARDIN) Date: Wed, 13 Nov 2002 08:26:00 -0000 Subject: Colormap problems Message-ID: <9E035BE80785AA4EAA456959ECB4A30D03426ED0@nt036.an.sopra> Hello , I try to explain my problem. I have a graphic application running fine on HP-UX, and displaying OK on HP workstation. I try to have it display (correctly ! ) on my notebook. The notebook : HP VT 6200 , 15" , 1400x1050 resolution, Windows XP Pro. I installed Cygwin version 1.3.13-2 including XFree 86 4.2.15 twm is the only window manager installed. So I use it. The application (staticcaly linked with X11R5 lib) uses XtConvertAndStore for various colors. So I need PseudoColor mode, I use : startx -- -emulatepseudo If I only do that it is the 3rd Visual which is in PseudoColor, and I don't know how to use it ? Is there a bug or a "good" way to use it ? So I have used startx -- -emulatepseudo -depth 8 -fullscreen I rlogin Hp-Ux-Workstation and start the application. It is mostly OK but XtConvertAndStore do not all succeed : OK for from_value.addr = * "#94949494949494" * "#dededededede" * "#adadadadadad" * "#424242424242" * "#bdbdbdbdbdbd" * "#212121212121" * "#ffffffff0000" * "#c2c2c2c2c2c2" * "#4fff4fff4fff" And fails for * "#737373737373" * "#636363636363" * "#280028002800" Do you have any idea of what can be the reason ? I hope that one can tell me how to solve this. (And that my english can be understood) Thanks Christian From huntharo@msu.edu Wed Nov 13 08:27:00 2002 From: huntharo@msu.edu (Harold L Hunt II) Date: Wed, 13 Nov 2002 08:27:00 -0000 Subject: Emacs in XWin is performing oddly In-Reply-To: References: <002001c28b0e$7cb4c560$9900010a@nutech.com.pl> Message-ID: <3DD27C37.2040709@msu.edu> Hmm... I am beginning to wonder if I built the last release with the munged binutils release that was only around for a day or two. That same release of binutils caused my class project code to segfault on startup everytime... updating to the latest bintuils cured the problem. Maybe I will make a new release soon... Harold Artur Hefczyc wrote: >>>I have installed all of the cygwin emacs packages and I now am >>>experiencing problems with emacs with the X server. Launching emaces >>>causes one of the following: >>> >>>1) the application never displays its window (CPU utilization to 100%) >>>2) the application displays its window but it is unresponsive (CPU >>>utilization to 100%) >>>3) About 1 in 4 times it runs correctly even after a clean reboot of the >>>PC >>> >>> >I have exactly the same problem! >I am not sure if this is emacs problem. It looks like >new version of XWin have this problem. >Emacs in terminal works well. >Tried to return to previous versions of X, hm it doesn't work. >Now I have real problem so please if someone knows how >to avoid this send message. > >Artur >-- >Artur Hefczyc artur.hefczyc@plusnet.pl >Open Source Developer >http://wttools.sourceforge.net/ > > > > From huntharo@msu.edu Wed Nov 13 08:34:00 2002 From: huntharo@msu.edu (Harold L Hunt II) Date: Wed, 13 Nov 2002 08:34:00 -0000 Subject: Two colormaps ? In-Reply-To: <9E035BE80785AA4EAA456959ECB4A30D03426ECF@nt036.an.sopra> References: <9E035BE80785AA4EAA456959ECB4A30D03426ECF@nt036.an.sopra> Message-ID: <3DD27D44.3020209@msu.edu> Christian, Do NOT use the -emulatepseudo parameter. It does not do what you think it does. ONLY use the following parameters: startx -- -depth 8 -fullscreen Give that a try and report back. Harold Christian SARDIN wrote: >Hello, >I try to explain my problem. > >I have a graphic application running fine on HP-UX, and displaying OK on HP >workstation. I try to have it display (correctly ! ) on my notebook. > >The notebook : HP VT 6200 , 15" , 1400x1050 resolution, Windows XP Pro. > >I installed Cygwin version 1.3.13-2 including XFree 86 4.2.15 >twm is the only window manager installed. So I use it. > >The application (staticcaly linked with X11R5 lib) requires 2 colormaps... >and use XtConvertAndStore for various colors. So I need PseudoColor mode, I >use : > startx -- -emulatepseudo -depth 8 -fullscreen > >I rlogin Hp-Ux-Workstation and start the application. >It is mostly OK but ...: >The application opens windows, with drawings... and it is not re-drawn (I >have to ask for redraw through an application fonctionality) ! Any suggest >whould be welcome ! > >The other problem is for the drawings requiring the second colormap, of >course.. Is there a way to have it ? > >By now, I have only tried Cygwin, but I expect to install Mandrake 9 soon >(but I miss the disk driver !). >May be Xf86config will help ? > > I hope that someone can help me to solve that. (And that my english can be >understood) > > >Thanks a lot. >Christian > > > > > From starksb@ebi.ac.uk Wed Nov 13 08:36:00 2002 From: starksb@ebi.ac.uk (David Starks-Browning) Date: Wed, 13 Nov 2002 08:36:00 -0000 Subject: Emacs in XWin is performing oddly In-Reply-To: <3DD27C37.2040709@msu.edu> References: <002001c28b0e$7cb4c560$9900010a@nutech.com.pl> <3DD27C37.2040709@msu.edu> Message-ID: <1499-Wed13Nov2002162708+0000-starksb@ebi.ac.uk> On Wednesday 13 Nov 02, Harold L Hunt II writes: > Hmm... > > I am beginning to wonder if I built the last release with the munged > binutils release that was only around for a day or two. That same > release of binutils caused my class project code to segfault on startup > everytime... updating to the latest bintuils cured the problem. Maybe I > will make a new release soon... > > Harold Harold, I've been posting to the main cygwin list. I don't know about your segfaults, but the "spinning" described below is reproducible outside of X. Regards, David > Artur Hefczyc wrote: > > >>>I have installed all of the cygwin emacs packages and I now am > >>>experiencing problems with emacs with the X server. Launching emaces > >>>causes one of the following: > >>> > >>>1) the application never displays its window (CPU utilization to 100%) > >>>2) the application displays its window but it is unresponsive (CPU > >>>utilization to 100%) From huntharo@msu.edu Wed Nov 13 08:49:00 2002 From: huntharo@msu.edu (Harold L Hunt II) Date: Wed, 13 Nov 2002 08:49:00 -0000 Subject: Emacs in XWin is performing oddly In-Reply-To: References: <002001c28b0e$7cb4c560$9900010a@nutech.com.pl> <3DD27C37.2040709@msu.edu> <1499-Wed13Nov2002162708+0000-starksb@ebi.ac.uk> Message-ID: <3DD27F02.5030006@msu.edu> David, Excellent. I believe I can now punt this problem over to the emacs packagers. :) Hey, are you the emacs packager for Cygwin? Harold David Starks-Browning wrote: >On Wednesday 13 Nov 02, Harold L Hunt II writes: > > >>Hmm... >> >>I am beginning to wonder if I built the last release with the munged >>binutils release that was only around for a day or two. That same >>release of binutils caused my class project code to segfault on startup >>everytime... updating to the latest bintuils cured the problem. Maybe I >>will make a new release soon... >> >>Harold >> >> > >Harold, > >I've been posting to the main cygwin list. I don't know about your >segfaults, but the "spinning" described below is reproducible outside >of X. > >Regards, >David > > > >>Artur Hefczyc wrote: >> >> >> >>>>>I have installed all of the cygwin emacs packages and I now am >>>>>experiencing problems with emacs with the X server. Launching emaces >>>>>causes one of the following: >>>>> >>>>>1) the application never displays its window (CPU utilization to 100%) >>>>>2) the application displays its window but it is unresponsive (CPU >>>>>utilization to 100%) >>>>> >>>>> > > > From starksb@ebi.ac.uk Wed Nov 13 10:32:00 2002 From: starksb@ebi.ac.uk (David Starks-Browning) Date: Wed, 13 Nov 2002 10:32:00 -0000 Subject: Emacs in XWin is performing oddly In-Reply-To: <3DD27F02.5030006@msu.edu> References: <002001c28b0e$7cb4c560$9900010a@nutech.com.pl> <3DD27C37.2040709@msu.edu> <1499-Wed13Nov2002162708+0000-starksb@ebi.ac.uk> <3DD27F02.5030006@msu.edu> Message-ID: <443-Wed13Nov2002163655+0000-starksb@ebi.ac.uk> On Wednesday 13 Nov 02, Harold L Hunt II writes: > David, > > Excellent. I believe I can now punt this problem over to the emacs > packagers. No, it's not just emacs, either. > Hey, are you the emacs packager for Cygwin? No, just a grateful user. Regards, David From taishin@imap.cc Wed Nov 13 11:01:00 2002 From: taishin@imap.cc (Kin Taishin) Date: Wed, 13 Nov 2002 11:01:00 -0000 Subject: an idea for building win32 based xfs References: Message-ID: <3DD281E0.8000409@imap.cc> Thanks for dropping me your comments. > First of all, don't you mean xfs, not xfd? That's my mistake. It's xfs. Sorry. > Secondly, how is this different from running the stock xfs that's in the > XFree86 distro using free-type to support the Windows fonts? I should have stated my point more clearly. I want to get rid of fonts.dir file. mkfontdir doesn't work for me. Although FreeType provides decent font handling functions, win32 API does it better because fonts for Windows are made for Windows use. And I believe cygwin/xfree gains better performance with more exploitation of win32 API. So I have three options: 1) remake mkfontdir using win32 API the easiest work but still inside of fonts.dir world. 2) remake xfs using win32 API don't know how much work should be done but worth to try? 3) replace Xft layer of XFree86 with win32-based code may be...but I'm not an X guru! Fontconfig will eventually resolve this problem but I wonder if win32-based xfs sounds no nice? Taishin From mario.ohnewald@gmx.de Wed Nov 13 11:25:00 2002 From: mario.ohnewald@gmx.de (Mario Ohnewald) Date: Wed, 13 Nov 2002 11:25:00 -0000 Subject: Cygwin Connection Tool for Windows -- new release In-Reply-To: Message-ID: Hi! You can find the new release at www.thelinuxbeat.com --> projects --> cygwin tool The Setup error is fixed and the binary setup file shrank to 2,4MB (from ~8MB). Check it out!! From alexander.gottwald@s1999.tu-chemnitz.de Wed Nov 13 12:15:00 2002 From: alexander.gottwald@s1999.tu-chemnitz.de (Alexander Gottwald) Date: Wed, 13 Nov 2002 12:15:00 -0000 Subject: an idea for building win32 based xfs In-Reply-To: <3DD281E0.8000409@imap.cc> Message-ID: On Thu, 14 Nov 2002, Kin Taishin wrote: > Thanks for dropping me your comments. > > > First of all, don't you mean xfs, not xfd? > > That's my mistake. It's xfs. Sorry. > > > Secondly, how is this different from running the stock xfs that's in the > > XFree86 distro using free-type to support the Windows fonts? > > I should have stated my point more clearly. > I want to get rid of fonts.dir file. mkfontdir doesn't work for me. > Although FreeType provides decent font handling functions, > win32 API does it better because fonts for Windows are made for > Windows use. And I believe cygwin/xfree gains better performance with > more exploitation of win32 API. > So I have three options: > 1) remake mkfontdir using win32 API > the easiest work but still inside of fonts.dir world. there is a mkfontdir for truetype fonts. (ttmkfdir) > 2) remake xfs using win32 API > don't know how much work should be done but worth to try? A lot. the fontserver renders the truetype font to a bitmap font if it receives a request for font x at size y. You would have to do this for all characters. > 3) replace Xft layer of XFree86 with win32-based code > may be...but I'm not an X guru! never. This would break a lot of remote programs which require X11 fonts. Better idea: Take xfs, strip all font handling except TTF and replace reading of fonts.dir by an inline ttmkfdir or build the datastructure using simple w32api TrueType functions. bye ago From gsw@agere.com Wed Nov 13 12:18:00 2002 From: gsw@agere.com (Gerald S. Williams) Date: Wed, 13 Nov 2002 12:18:00 -0000 Subject: rootless mode and mousing to other windows In-Reply-To: <3DC2C5E4.9020807@msu.edu> Message-ID: So how was it that you start rootless mode again? Just kidding. I guess I should have mentioned that I was about to go on vacation for over a week after I sent my last message. My impression of XOpenWin was that it was going to replace the low-level graphic calls from Windows with calls to X. Ambitious, but sounds like a great deal of overhead. This does solve some of the problems you'll run into trying to get Windows to manage X applications, though. I'll have to join the win32-x11 mailing list and see what's happening there. The current direction you're taking is to allow Windows to manage the X windows (please keep this a separate feature from -rootless). I hope somebody's thinking about keeping this compatible with XOpenWin, since there could be some serious benefits to using both together. There are a number of other ways that integration between Windows and X could have been approached, although these are the most straightforward approaches. Both approaches wrap everything of interest, albeit at opposite ends (and the end results look totally different). But right now I'm interested in something much simpler: just removing focus from all windows when X itself loses focus. I've looked at this briefly, but I'd better follow up in another e-mail, rather than causing this thread to fork too much. -Jerry From philippe.bastiani@wanadoo.fr Wed Nov 13 12:31:00 2002 From: philippe.bastiani@wanadoo.fr (Philippe Bastiani) Date: Wed, 13 Nov 2002 12:31:00 -0000 Subject: Lesstif problem ? References: Message-ID: Of course: the problem appears after the rebuilding of the Lesstif modules... -- Philippe From philippe.bastiani@wanadoo.fr Wed Nov 13 12:38:00 2002 From: philippe.bastiani@wanadoo.fr (Philippe Bastiani) Date: Wed, 13 Nov 2002 12:38:00 -0000 Subject: About editres Message-ID: Sorry, the beginning of this thread does not appear on the gname server... To reply to Alexander: well step by step... >Start a xterm >start editres >Menu:Commands|Get Tree > Click on the xterm window >Select vt100 in the tree >Menu:Commands|Show Resource Box OK >Click with mouse button 2 (the one in the middle) on "color0" >You should see "black" in the window below NOK (there is a black cursor; and no color...) >Enter text "red" NOK (I cannot modify the value) >Click on "Apply" A+ Philippe Bastiani From philippe.bastiani@wanadoo.fr Wed Nov 13 14:06:00 2002 From: philippe.bastiani@wanadoo.fr (Philippe Bastiani) Date: Wed, 13 Nov 2002 14:06:00 -0000 Subject: Adding a german keyboard to a default installation ... References: Message-ID: -1- Copy .Xmodmap in your c:\cygwin\etc\X11\xinit -2- Add the following command in the in your startxwin.bat: "start /B xmodmap /usr/X11R6/lib/X11/xinit/.Xmodmap" A+ Philippe From huntharo@msu.edu Wed Nov 13 18:31:00 2002 From: huntharo@msu.edu (Harold L Hunt II) Date: Wed, 13 Nov 2002 18:31:00 -0000 Subject: Adding a german keyboard to a default installation ... In-Reply-To: References: Message-ID: <3DD2B837.9080204@msu.edu> Philippe, Be careful, the ``/B'' is not supported on Windows 95/98/Me. Besides, the startxwin.bat file is now distributed with the ``run.exe'' program that performs the same function as ``start /B'' on all Windows platforms, so you should have said: -2- Add the following command in your startxwin.bat: ``run xmodmap /usr/X11R6/lib/X11/xinit/.Xmodmap'' Harold Philippe Bastiani wrote: >-1- Copy .Xmodmap in your c:\cygwin\etc\X11\xinit >-2- Add the following command in the in your startxwin.bat: "start /B >xmodmap /usr/X11R6/lib/X11/xinit/.Xmodmap" > >A+ >Philippe > > > > > > From jakester@wsu.edu Wed Nov 13 20:37:00 2002 From: jakester@wsu.edu (Jake D. Stern) Date: Wed, 13 Nov 2002 20:37:00 -0000 Subject: xterm consumes all cpu Message-ID: <001201c28b60$ea68e760$02f07986@cypher> [ This is a bug report. ] What happens: boot winxp, start cygwin, run startxwin.bat, and XWin starts normally. If the first action is anything other than to close the xterm, for example, open the desktop menu, then everything will run fine. However, if the first action is to close the xterm, either by typing 'exit' or by clicking on the button in the window bar, the xterm process will consume 100% of my cpu (according to winxp task manager, assuming that was opened previously, because it will take forever to open after.) Interestingly, after killing the zombie xterm and window manager processes in winxp task manager and restart xwin, I can close xterm either by typing exit or clicking on the button in the window bar first and everything will run fine. So, it is only the first time after rebooting that this happens. I've tried this with wmaker, twm and fvwm2 window managers, and the problem persists except for the window manager that forces me to click to place the xterm, because that forces a first action other than to close the xterm. As this is a very strange and unlikely to be stumbled upon, I thought you'd want to know about it. Config attached. [ Thanks, Mark Harig. ] -------------- next part -------------- An embedded and charset-unspecified text was scrubbed... Name: cygcheck.txt URL: From satimis@writeme.com Wed Nov 13 21:13:00 2002 From: satimis@writeme.com (Stephen Liu) Date: Wed, 13 Nov 2002 21:13:00 -0000 Subject: Cygwin Connection Tool for Windows -- new release In-Reply-To: References: Message-ID: <5.1.1.6.0.20021114102908.00b26530@pop.net-yan.com> Hi Mario, At 07:36 PM 11/13/2002 +0100, Mario Ohnewald wrote: >Hi! >You can find the new release at www.thelinuxbeat.com --> projects --> cygwin >tool Is the website down. I could not connect it. Thanks Stephen Liu >The Setup error is fixed and the binary setup file shrank to 2,4MB (from >~8MB). > >Check it out!! From cgf@redhat.com Wed Nov 13 22:49:00 2002 From: cgf@redhat.com (Christopher Faylor) Date: Wed, 13 Nov 2002 22:49:00 -0000 Subject: xfree leaking memory? In-Reply-To: <20021106020756.GA4680@redhat.com> References: <00e501c28513$0ac8f490$6501a8c0@sprymusic.com> <3DC83F97.9050502@msu.edu> <20021106020756.GA4680@redhat.com> Message-ID: <20021114043749.GA24122@redhat.com> On Tue, Nov 05, 2002 at 09:07:56PM -0500, Christopher Faylor wrote: >On Tue, Nov 05, 2002 at 05:00:55PM -0500, Harold L Hunt II wrote: >>It was mentioned that the memory size increased when a new X window >>(such as an xterm) is opened, but that it does not decrease when that >>window is destroyed. This indicates one of a few things to me: >> >>1) We are not freeing our window privates (directly or indirectly). >>This seems plausible, but I don't think our window privates are even 1 >>kilobyte. > >I thought I should point out that Cygwin doesn't currently return >deallocated memory to the windows pool. So, the heap only gets larger. I thought I should point out that, while I wrote the function in question, the above statement was completely wrong. I was investigating sbrk() operation for an unrelated matter and noticed that it was dutifully releasing unused memory back to the system. I don't know why I thought things behaved any differently than this but I thought I should correct any misperceptions that I caused. cgf From mario.ohnewald@gmx.de Thu Nov 14 00:35:00 2002 From: mario.ohnewald@gmx.de (Mario Ohnewald) Date: Thu, 14 Nov 2002 00:35:00 -0000 Subject: Cygwin Connection Tool for Windows -- new release In-Reply-To: <5.1.1.6.0.20021114102908.00b26530@pop.net-yan.com> Message-ID: nope, it worked for me ;) -----Original Message----- From: cygwin-xfree-owner@cygwin.com [mailto:cygwin-xfree-owner@cygwin.com]On Behalf Of Stephen Liu Sent: Thursday, November 14, 2002 3:31 AM To: Mario Ohnewald; cygwin-xfree@cygwin.com; mharnois@cpinternet.com Subject: RE: Cygwin Connection Tool for Windows -- new release Hi Mario, At 07:36 PM 11/13/2002 +0100, Mario Ohnewald wrote: >Hi! >You can find the new release at www.thelinuxbeat.com --> projects --> cygwin >tool Is the website down. I could not connect it. Thanks Stephen Liu >The Setup error is fixed and the binary setup file shrank to 2,4MB (from >~8MB). > >Check it out!! From taishin@imap.cc Thu Nov 14 01:44:00 2002 From: taishin@imap.cc (Kin Taishin) Date: Thu, 14 Nov 2002 01:44:00 -0000 Subject: an idea for building win32 based xfs References: Message-ID: <3DD3476E.4060801@imap.cc> Thank you for your comments. Alexander Gottwald wrote: >there is a mkfontdir for truetype fonts. (ttmkfdir) > I forgot to mention. But ttmkfdir does not support TrueType Collection files (*.ttc). And this one is based on FreeType 1, I guess. >> 2) remake xfs using win32 API >> don't know how much work should be done but worth to try? >> > >A lot. the fontserver renders the truetype font to a bitmap font if it >receives a request for font x at size y. You would have to do this for >all characters. > I will use w32api to render fonts. Anti-aliasing would be a thing to be implemented later. >> 3) replace Xft layer of XFree86 with win32-based code >> may be...but I'm not an X guru! >> > >never. This would break a lot of remote programs which require X11 fonts. > >Better idea: Take xfs, strip all font handling except TTF and replace reading >of fonts.dir by an inline ttmkfdir or build the datastructure using simple >w32api TrueType functions. > I see. I'll take the latter approach. I really appreciate your giving me an advice! Thanks, Taishin From satimis@writeme.com Thu Nov 14 03:55:00 2002 From: satimis@writeme.com (Stephen Liu) Date: Thu, 14 Nov 2002 03:55:00 -0000 Subject: Cygwin Connection Tool for Windows -- new release In-Reply-To: References: <5.1.1.6.0.20021114102908.00b26530@pop.net-yan.com> Message-ID: <5.1.1.6.0.20021114162952.00b27548@pop.net-yan.com> Hi Mario, It seems working now. But clicking "www.thelinuxbeat.com" brought me to "http://thelinuxbeat.nu-sec.de/" a German website. Only "Service kostenlos" has a link there, nothing else. Thanks Stephen Liu At 06:17 AM 11/14/2002 +0100, you wrote: >nope, it worked for me ;) > >-----Original Message----- >From: cygwin-xfree-owner@cygwin.com >[mailto:cygwin-xfree-owner@cygwin.com]On Behalf Of Stephen Liu >Sent: Thursday, November 14, 2002 3:31 AM >To: Mario Ohnewald; cygwin-xfree@cygwin.com; mharnois@cpinternet.com >Subject: RE: Cygwin Connection Tool for Windows -- new release > > >Hi Mario, > >At 07:36 PM 11/13/2002 +0100, Mario Ohnewald wrote: > >Hi! > >You can find the new release at www.thelinuxbeat.com --> projects --> >cygwin > >tool > >Is the website down. I could not connect it. > >Thanks > >Stephen Liu > > > > >The Setup error is fixed and the binary setup file shrank to 2,4MB (from > >~8MB). > > > >Check it out!! From spetreolle@yahoo.fr Thu Nov 14 06:39:00 2002 From: spetreolle@yahoo.fr (=?iso-8859-1?q?Sylvain=20Petreolle?=) Date: Thu, 14 Nov 2002 06:39:00 -0000 Subject: Cygwin Connection Tool for Windows -- new release In-Reply-To: <5.1.1.6.0.20021114162952.00b27548@pop.net-yan.com> Message-ID: <20021114094452.57258.qmail@web10101.mail.yahoo.com> --- Stephen Liu a ??crit??: > Hi Mario, > > It seems working now. But clicking "www.thelinuxbeat.com" brought me > to > "http://thelinuxbeat.nu-sec.de/" a German website. Only "Service > kostenlos" has a link there, nothing else. > This is the right site, reread Mario's instructions : > > >You can find the new release at www.thelinuxbeat.com --> projects > --> cygwin tool ___________________________________________________________ Do You Yahoo!? -- Une adresse @yahoo.fr gratuite et en fran??ais ! Yahoo! Mail : http://fr.mail.yahoo.com From mario.Ohnewald@gmx.de Thu Nov 14 08:52:00 2002 From: mario.Ohnewald@gmx.de (Mario Ohnewald) Date: Thu, 14 Nov 2002 08:52:00 -0000 Subject: Cygwin Connection Tool for Windows -- new release References: <5.1.1.6.0.20021114162952.00b27548@pop.net-yan.com> Message-ID: <15984.1037274929@www54.gmx.net> Hi, > Hi Mario, > > It seems working now. But clicking "www.thelinuxbeat.com" brought me to > "http://thelinuxbeat.nu-sec.de/" a German website. Only "Service > kostenlos" has a link there, nothing else. Hehe, yes, this was the correct page, on the left there should appear a menu, where you can select the Project link (english). I might have to think about a redesign again ;P > > Thanks > > Stephen Liu > Mario -- +++ GMX - Mail, Messaging & more http://www.gmx.net +++ NEU: Mit GMX ins Internet. Rund um die Uhr f??r 1 ct/ Min. surfen! From huntharo@msu.edu Thu Nov 14 09:14:00 2002 From: huntharo@msu.edu (Harold L Hunt II) Date: Thu, 14 Nov 2002 09:14:00 -0000 Subject: xfree leaking memory? In-Reply-To: <00e501c28513$0ac8f490$6501a8c0@sprymusic.com> References: <00e501c28513$0ac8f490$6501a8c0@sprymusic.com> <3DC83F97.9050502@msu.edu> <20021106020756.GA4680@redhat.com> <20021114043749.GA24122@redhat.com> Message-ID: <3DD3B5B4.103@msu.edu> Chris, Thanks for clearing that up. That's a lot better than what you had thought. Harold Christopher Faylor wrote: >On Tue, Nov 05, 2002 at 09:07:56PM -0500, Christopher Faylor wrote: > > >>On Tue, Nov 05, 2002 at 05:00:55PM -0500, Harold L Hunt II wrote: >> >> >>>It was mentioned that the memory size increased when a new X window >>>(such as an xterm) is opened, but that it does not decrease when that >>>window is destroyed. This indicates one of a few things to me: >>> >>>1) We are not freeing our window privates (directly or indirectly). >>>This seems plausible, but I don't think our window privates are even 1 >>>kilobyte. >>> >>> >>I thought I should point out that Cygwin doesn't currently return >>deallocated memory to the windows pool. So, the heap only gets larger. >> >> > >I thought I should point out that, while I wrote the function in >question, the above statement was completely wrong. I was investigating >sbrk() operation for an unrelated matter and noticed that it was >dutifully releasing unused memory back to the system. > >I don't know why I thought things behaved any differently than this but >I thought I should correct any misperceptions that I caused. > >cgf > > From satimis@writeme.com Thu Nov 14 09:40:00 2002 From: satimis@writeme.com (Stephen Liu) Date: Thu, 14 Nov 2002 09:40:00 -0000 Subject: Virus Warning (RE: Cygwin Connection Tool for Windows -- new release) In-Reply-To: <15984.1037274929@www54.gmx.net> References: <5.1.1.6.0.20021114162952.00b27548@pop.net-yan.com> Message-ID: <5.1.1.6.0.20021115004232.00b4fd48@pop.net-yan.com> Hi Mario, The file got infected with worm W32.Bugbear@mm and it spread to the whole WinXP machine immediately. Fortunately I was able to fix it removing the worm. Another strange thing is your mentioned menu on the left of the website disappeared on IE but can be seen on Mozilla. Stephen Liu At 12:55 PM 11/14/2002 +0100, Mario Ohnewald wrote: >Hi, > > > Hi Mario, > > > > It seems working now. But clicking "www.thelinuxbeat.com" brought me to > > "http://thelinuxbeat.nu-sec.de/" a German website. Only "Service > > kostenlos" has a link there, nothing else. >Hehe, yes, this was the correct page, on the left there should appear a >menu, where you can select the Project link (english). >I might have to think about a redesign again ;P > > > > > Thanks > > > > Stephen Liu > > > >Mario > >-- >+++ GMX - Mail, Messaging & more http://www.gmx.net +++ >NEU: Mit GMX ins Internet. Rund um die Uhr f?r 1 ct/ Min. surfen! From mario.ohnewald@gmx.de Thu Nov 14 09:49:00 2002 From: mario.ohnewald@gmx.de (Mario Ohnewald) Date: Thu, 14 Nov 2002 09:49:00 -0000 Subject: Virus Warning (RE: Cygwin Connection Tool for Windows -- new release) In-Reply-To: <5.1.1.6.0.20021115004232.00b4fd48@pop.net-yan.com> Message-ID: hi! I took it from the net imeediately!!! I have just checked the file and it seems to be ok, but i will check it another time with different Programms, too. Thank you! MArio From: cygwin-xfree-owner@cygwin.com [mailto:cygwin-xfree-owner@cygwin.com]On Behalf Of Stephen Liu Sent: Thursday, November 14, 2002 5:52 PM To: cygwin-xfree@cygwin.com Subject: Virus Warning (RE: Cygwin Connection Tool for Windows -- new release) Hi Mario, The file got infected with worm W32.Bugbear@mm and it spread to the whole WinXP machine immediately. Fortunately I was able to fix it removing the worm. Another strange thing is your mentioned menu on the left of the website disappeared on IE but can be seen on Mozilla. Stephen Liu At 12:55 PM 11/14/2002 +0100, Mario Ohnewald wrote: >Hi, > > > Hi Mario, > > > > It seems working now. But clicking "www.thelinuxbeat.com" brought me to > > "http://thelinuxbeat.nu-sec.de/" a German website. Only "Service > > kostenlos" has a link there, nothing else. >Hehe, yes, this was the correct page, on the left there should appear a >menu, where you can select the Project link (english). >I might have to think about a redesign again ;P > > > > > Thanks > > > > Stephen Liu > > > >Mario > >-- >+++ GMX - Mail, Messaging & more http://www.gmx.net +++ >NEU: Mit GMX ins Internet. Rund um die Uhr f??r 1 ct/ Min. surfen! From mario.ohnewald@gmx.de Thu Nov 14 10:00:00 2002 From: mario.ohnewald@gmx.de (Mario Ohnewald) Date: Thu, 14 Nov 2002 10:00:00 -0000 Subject: Virus Warning (RE: Cygwin Connection Tool for Windows -- new release) In-Reply-To: <5.1.1.6.0.20021115004232.00b4fd48@pop.net-yan.com> Message-ID: Hi! I have checked my System and the setup file with AntiVir/XP and Norton Antivirus 2002 (both uptodate). I could not find any viruses. Please check your system, it might have infected the setup file. Please keep me up to date ;) Regards, Mario p.s. Anyone else with same problem? By the way, how to i get the ">" for reply messages, i cant find it anymore! :/ -----Original Message----- From: cygwin-xfree-owner@cygwin.com [mailto:cygwin-xfree-owner@cygwin.com]On Behalf Of Stephen Liu Sent: Thursday, November 14, 2002 5:52 PM To: cygwin-xfree@cygwin.com Subject: Virus Warning (RE: Cygwin Connection Tool for Windows -- new release) Hi Mario, The file got infected with worm W32.Bugbear@mm and it spread to the whole WinXP machine immediately. Fortunately I was able to fix it removing the worm. Another strange thing is your mentioned menu on the left of the website disappeared on IE but can be seen on Mozilla. Stephen Liu At 12:55 PM 11/14/2002 +0100, Mario Ohnewald wrote: >Hi, > > > Hi Mario, > > > > It seems working now. But clicking "www.thelinuxbeat.com" brought me to > > "http://thelinuxbeat.nu-sec.de/" a German website. Only "Service > > kostenlos" has a link there, nothing else. >Hehe, yes, this was the correct page, on the left there should appear a >menu, where you can select the Project link (english). >I might have to think about a redesign again ;P > > > > > Thanks > > > > Stephen Liu > > > >Mario > >-- >+++ GMX - Mail, Messaging & more http://www.gmx.net +++ >NEU: Mit GMX ins Internet. Rund um die Uhr f??r 1 ct/ Min. surfen! From gsw@agere.com Thu Nov 14 11:07:00 2002 From: gsw@agere.com (Gerald S. Williams) Date: Thu, 14 Nov 2002 11:07:00 -0000 Subject: Removing focus from X In-Reply-To: Message-ID: I had meant to try this, but I'm having some build problems at the moment. I backed out my patch, and found that the build still fails on the CVS snapshot I took 2 weeks ago. It reports this error when I run "make" in xc/programs/Xserver: [...] gcc -o XWin.exe -O2 -fno-strength-reduce -Wall -Wpointer-arith -mwindows -e _ma inCRTStartup -L../../exports/lib hw/xwin/stubs.o hw/xwin/XWin.res dix /libdix.a os/libos.a ../../exports/lib/libXau.a ../../exports/lib/libXdmcp.a hw /xwin/libXwin.a fb/libfb.a dix/libxpstubs.a mi/libmi.a Xext/libext.a xkb/libxkb. a Xi/libxinput.a lbx/liblbx.a ../../lib/lbx util/liblbxutil.a dbe/libdbe.a record/librecord.a XTrap/libxt rap.a GL/glx/libglx.a GL/mesa/GLcore/libGLcore.a render/librender.a miext/shadow/libshadow.a hw/xfree86/parser/libxf 86config.a -L/usr/X11R6/lib ../../lib/font/libXfont.a dix/libxpstubs.a -lfr eetype -L../../exports/lib -lXext -lX11 -lz.dll -lgdi32 -Wl, --enable-auto-import hw/xwin/libXwin.a(winscrinit.o)(.text+0x9ce):winscrinit.c: undefined reference to `_LayerStartInit' hw/xwin/libXwin.a(winscrinit.o)(.text+0xa2e):winscrinit.c: undefined reference to `_LayerFinishInit' hw/xwin/libXwin.a(winlayer.o)(.text+0xa9):winlayer.c: undefined reference to `_LayerCreate' hw/xwin/libXwin.a(winlayer.o)(.text+0xfd):winlayer.c: undefined reference to `_LayerWindowAdd' hw/xwin/libXwin.a(winlayer.o)(.text+0x15d):winlayer.c: undefined reference to `_LayerWindowRemove' collect2: ld returned 1 exit status make: *** [XWin.exe] Error 1 Was there a problem with the CVS snapshot, or am I just doing something wrong? Any ideas? ======================== Anyway, here are the changes that I had made to the file xc/programs/Xserver/hw/xwin/winwndproc.c: Index: xc/programs/Xserver/hw/xwin/winwndproc.c =================================================================== RCS file: /cvs/xc/programs/Xserver/hw/xwin/winwndproc.c,v retrieving revision 1.23 diff -u -1 -0 -r1.23 winwndproc.c --- xc/programs/Xserver/hw/xwin/winwndproc.c 2002/10/17 08:18:25 1.23 +++ xc/programs/Xserver/hw/xwin/winwndproc.c 2002/11/14 17:36:39 @@ -29,20 +29,40 @@ * Suhaib M Siddiqi * Peter Busch * Harold L Hunt II * MATSUZAKI Kensuke */ /* $XFree86: xc/programs/Xserver/hw/xwin/winwndproc.c,v 1.23 2002/10/17 08:18:25 alanh Exp $ */ #include "win.h" #include +#define KILL_FOCUS_ENHANCEMENT +#ifdef KILL_FOCUS_ENHANCEMENT + +#define INCLUDE_XLIB_WORKAROUND +#ifdef INCLUDE_XLIB_WORKAROUND +typedef void Display; + +extern Display *XOpenDisplay( + const char* /* display_name */ +); + +extern void XSetInputFocus( + Display* /* display */, + Window /* focus */, + int /* revert_to */, + Time /* time */ +); +#endif /* INCLUDE_XLIB_WORKAROUND */ +#endif /* KILL_FOCUS_ENHANCEMENT */ + BOOL CALLBACK winChangeDepthDlgProc (HWND hDialog, UINT message, WPARAM wParam, LPARAM lParam); /* * Called by winWakeupHandler * Processes current Windows message */ @@ -831,20 +851,33 @@ case WM_KILLFOCUS: if (s_pScreenPriv == NULL || s_pScreenInfo->fIgnoreInput) break; /* Store the state of all mode keys */ winStoreModeKeyStates (s_pScreen); /* Release any pressed keys */ winKeybdReleaseKeys (); + +#ifdef KILL_FOCUS_ENHANCEMENT + /* Remove focus from all X windows (crude implementation) */ + { + Display *display = XOpenDisplay(NULL); + + if (display) + { + /* Revert is ignored... */ + XSetInputFocus(display,None,RevertToNone,CurrentTime); + } + } +#endif /* KILL_FOCUS_ENHANCEMENT */ return 0; #if WIN_NEW_KEYBOARD_SUPPORT case WM_SYSKEYDOWN: case WM_KEYDOWN: case WM_SYSKEYUP: case WM_KEYUP: if (s_pScreenPriv == NULL || s_pScreenInfo->fIgnoreInput) break; ======================== As you can see, it simply sets the input focus to NONE when the KILLFOCUS event is received. Does this sound like a reasonable approach? Sorry about the weird declarations at the top--if you try to #include in this file, you get some duplicate declarations (another thing for me to look into). I'm not sure if anything needs to be done with the SETFOCUS event or not--I figured I'd try this change out first. For mouse-initiated focus changes, I would expect the focus to be updated anyway. I suppose alt-tab initiated changes may not get the focus updated (I haven't tracked it through). Perhaps a WarpCursor call could be added to SETFOCUS (if needed). -Jerry From mailspam1@robf.de Thu Nov 14 11:11:00 2002 From: mailspam1@robf.de (Robert Fenk) Date: Thu, 14 Nov 2002 11:11:00 -0000 Subject: xwinclip test 6 hacked to leave selection untouched Message-ID: <15827.58527.984865.157209@sunbayer71.informatik.tu-muenchen.de> Hi, I found it quite annoying that xwinclip-test6 was grabbing the ownership of the selection every-time it looses it while IMHO it should just grab it when there is a new selection in the MS-Windows clipboard. Grabbing means the original application is loosing it and with xterm and xemacs it means that the selection is really lost, dehighlighted and not available anymore. So I did some googling how to detect clipboard changes on MS-Windows and added the code for this to wndproc.c and modified xevents.c to just grab the selection if a MS-Windows clipboard change is detected which is not caused by xwinclip itself (this part is really a hack). The code might be helpful for those working on improved xwinclip versions, but I do not have any intention on more hacking. I actually have no idea about MS-Windows API and X11 so there are probably new bugs ... http://www.robf.de/Hacking/xwinclip-test7.tgz Bye Robert PS: I have not subscribed to this list so you should address questions with a CC to me. From huntharo@msu.edu Thu Nov 14 11:12:00 2002 From: huntharo@msu.edu (Harold L Hunt II) Date: Thu, 14 Nov 2002 11:12:00 -0000 Subject: [Lesstif] "mwm" on Cygwin : heavy load In-Reply-To: <9E035BE80785AA4EAA456959ECB4A30D03426ED7@nt036.an.sopra> References: <9E035BE80785AA4EAA456959ECB4A30D03426ED7@nt036.an.sopra> Message-ID: <3DD3F466.5090902@msu.edu> Christian, See, the problem here is that you are not reading what I am telling you about the -emulatepseudo parameter. Let me explain. Imagine that you would really like to have Cygwin/XFree86 running in 16 bit color, but that you would like to still be able to run applications that require a PseudoColor visual. Well, the -emulatepseudo option creates a fake PseudoColor visual in addition to the standard TrueColor visual when running in TrueColor modes. Therefore, -emulatepseudo does nothing beneficial when you are already running in 8 bit color mode, as there is already a PseudoColor visual when you run in 8 bit color mode (both in windowed and in fullscreen modes). Thus, LEAVE OFF THE FREAKING -emulatepseudo PARAMETER!!! There, thanks for reading it this time. Now, as to the additional information you supplied, you did not specify if you left off the -emulatepseudo parameter when you ran with -depth 16 and -fullscreen. If you did not leave off the -emulatepseudo parameter, then I am not surprised that your problem did not go away, as PseudoColor emulation in TrueColor modes is a hack that is nowhere near completion, so it could very well be causing your problems. On the other hand, Cygwin has gone through many revisions in the past few days (including new versions of the Cygwin DLL) and some of these revisions have been causing great problems for many users. I suggest that you run Cygwin's setup.exe again and let it download and install any updated packages. Could someone from Lesstif give him some notes on possibly renaming any configuration files for Lesstif so that we can rule out any custom configuration as the cause of this problem? Thanks, Harold Christian SARDIN wrote: >Thanks for answering. > >But, no change if -depth 16 in TrueColor. (I do need pseudo color because I >want to display an application which plays with colormap >-XtConvertAndStore-) > >With the task manager I changed priority from normal to a lower level, it >doesnt change the 100% rated (By the way I run XP ) , but moves seems more >fluid... I can't try my application to see its speed (needing pseudo color >! ) >And it is difficult to guess what is responsible for slowlyness : PC, >Cygwin, or Xfree - mwm / memory-swap ???? > >May be the information given by XP is wrong ! >I expect a driver soon to try installing Linux (Red Hat 7.3 probably) and >compare ! > >Christian > >-----Message d'origine----- >De: Harold L Hunt II [SMTP:huntharo@msu.edu] >Date: jeudi 14 novembre 2002 16:00 >A: csardin@sopragroup.com >Cc: lesstif@lesstif.org >Objet: Re: [Lesstif] "mwm" on Cygwin : heavy load > >Christian, > >Do NOT use the -emulatepseudo option for XWin.exe. That is a >development-only feature and it more than likely does not do what you >think it does. > >That could be the root of your problem. > >I actually use MWM was my primary window manager for Cygwin/XFree86 and >I have never had a problem with it taking 100% of the CPU. Try passing >``-depth 16'' and see if it works better then, as this could be isolated >to 8-bit color. > >Harold > >Christian SARDIN wrote: > > > >>Hello >> >>I discovered less tif recently, and am surprisedthat CYGWIN does not >> >> >appear > > >>in the list of platforms supported. Anyway I had it with Cygwin package. >> >>My problem is that it uses 100% CPU ! Even if I reduce the virtual desktop >>at ONE screen area. Do you know that problem ? Have you a solution ? >> >>Thanks a lot >> >>Christian >> >>I start with >>startx -- -emulatepseudo -fullscreen -depth 8 >> >>in app-defaults, The onlu uncommented lines are finally : >> >> >>!! $Id: Mwm.ad,v 1.2 2001/10/27 18:32:58 amai Exp $ >>!! >>!! app defaults for mwm >>*multiScreen: False >>*maximumMaximumSize: "screen_width x screen_height" >> >> >> >> >>My .xinitrc includes : >>setxkbmap -layout fr >>xset fp= tcp/192.168.191.109:7000 >> >># start some nice programs >> >>xclock -geometry 50x50-1+1 & >>xterm -geometry 80x50+494+51 & >>xhost + >> >>mwm >> >> >>And the PC is a VT6200 HP, laptop notebook P4 M 1.7 GHz, 256 Mo, ATI >> >> >radeon > > >>Mobility M6 with 32 Mo. >> >> >>_______________________________________________ >>Lesstif mailing list >>Lesstif@lesstif.org >>https://terror.hungry.com/mailman/listinfo/lesstif >> >> >> >> > > > From salahz@look.ca Thu Nov 14 11:19:00 2002 From: salahz@look.ca (salahz@look.ca) Date: Thu, 14 Nov 2002 11:19:00 -0000 Subject: Running Xwin in 8 bit depth Message-ID: <53444.205.233.28.40.1037301050.squirrel@webmail1.look.ca> Hello, I have succeded to run Xwin on a thin client Terminal connected to a Windows NT 4 Terminal Server Edition (RDP protocol). Now i noticed the following behaviour, and was wondering if there is a way to avoid it: Situation 1: On Terminal or PC (set to 256 Colors) - XWin :0 -query host i get the logon in about three minutes. - XWin :0 -query host -fullscreen i get the logon in 20 seconds but the whole screen is black, except the cursor, i can however login but the screen is ugly (black and white). Note: i tried -engine 1 2 4 Situation 2: On the same PC Set to (65536 Colors) XWin :0 -query host I get the logon in about 20 seconds. I could not test it on a terminal Max resolution 256 Colors. It seems that the fact that the depth is 8 bits is slowing the logon display (three minutes is an eternity for some users) but once in, the application displays at normal rate. Any help is greatly appreciated, Thank you, Salah. From huntharo@msu.edu Thu Nov 14 11:28:00 2002 From: huntharo@msu.edu (Harold L Hunt II) Date: Thu, 14 Nov 2002 11:28:00 -0000 Subject: Removing focus from X In-Reply-To: References: Message-ID: <3DD3F5B1.9020601@msu.edu> Jerry, Yeah, a mistaken flag got checked into CVS... be sure to look in win.h and set WIN_LAYER_SUPPORT (or something similar) to NO. Then do a ``make clean all'' in xc/programs/Xserver/hw/xwin followed by a ``make XWin.exe'' in xc/programs/Xserver. I can see two problems with the patch right off the bat: 1) You are leaking memory like crazy because you create a display each time that code is executed but you never close the display. 2) Because you never close the display, XWin.exe will be terminated if the server ever resets. Try it by running XWin.exe, then xterm.exe, and ``exit'' the xterm. The server should kill it self. Harold Gerald S. Williams wrote: >I had meant to try this, but I'm having some build problems >at the moment. I backed out my patch, and found that the >build still fails on the CVS snapshot I took 2 weeks ago. It >reports this error when I run "make" in xc/programs/Xserver: > >[...] >gcc -o XWin.exe -O2 -fno-strength-reduce -Wall -Wpointer-arith -mwindows -e _ma >inCRTStartup -L../../exports/lib hw/xwin/stubs.o hw/xwin/XWin.res dix >/libdix.a os/libos.a ../../exports/lib/libXau.a ../../exports/lib/libXdmcp.a hw >/xwin/libXwin.a fb/libfb.a dix/libxpstubs.a mi/libmi.a Xext/libext.a xkb/libxkb. >a Xi/libxinput.a lbx/liblbx.a ../../lib/lbx >util/liblbxutil.a dbe/libdbe.a record/librecord.a XTrap/libxt >rap.a GL/glx/libglx.a GL/mesa/GLcore/libGLcore.a > render/librender.a miext/shadow/libshadow.a hw/xfree86/parser/libxf >86config.a -L/usr/X11R6/lib ../../lib/font/libXfont.a dix/libxpstubs.a -lfr >eetype -L../../exports/lib -lXext -lX11 -lz.dll -lgdi32 -Wl, >--enable-auto-import >hw/xwin/libXwin.a(winscrinit.o)(.text+0x9ce):winscrinit.c: undefined reference to `_LayerStartInit' >hw/xwin/libXwin.a(winscrinit.o)(.text+0xa2e):winscrinit.c: undefined reference to `_LayerFinishInit' >hw/xwin/libXwin.a(winlayer.o)(.text+0xa9):winlayer.c: undefined reference to `_LayerCreate' >hw/xwin/libXwin.a(winlayer.o)(.text+0xfd):winlayer.c: undefined reference to `_LayerWindowAdd' >hw/xwin/libXwin.a(winlayer.o)(.text+0x15d):winlayer.c: undefined reference to `_LayerWindowRemove' >collect2: ld returned 1 exit status >make: *** [XWin.exe] Error 1 > >Was there a problem with the CVS snapshot, or am I just >doing something wrong? Any ideas? > >======================== > >Anyway, here are the changes that I had made to the file >xc/programs/Xserver/hw/xwin/winwndproc.c: > >Index: xc/programs/Xserver/hw/xwin/winwndproc.c >=================================================================== >RCS file: /cvs/xc/programs/Xserver/hw/xwin/winwndproc.c,v >retrieving revision 1.23 >diff -u -1 -0 -r1.23 winwndproc.c >--- xc/programs/Xserver/hw/xwin/winwndproc.c 2002/10/17 08:18:25 1.23 >+++ xc/programs/Xserver/hw/xwin/winwndproc.c 2002/11/14 17:36:39 >@@ -29,20 +29,40 @@ > * Suhaib M Siddiqi > * Peter Busch > * Harold L Hunt II > * MATSUZAKI Kensuke > */ > /* $XFree86: xc/programs/Xserver/hw/xwin/winwndproc.c,v 1.23 2002/10/17 08:18:25 alanh Exp $ */ > > #include "win.h" > #include > >+#define KILL_FOCUS_ENHANCEMENT >+#ifdef KILL_FOCUS_ENHANCEMENT >+ >+#define INCLUDE_XLIB_WORKAROUND >+#ifdef INCLUDE_XLIB_WORKAROUND >+typedef void Display; >+ >+extern Display *XOpenDisplay( >+ const char* /* display_name */ >+); >+ >+extern void XSetInputFocus( >+ Display* /* display */, >+ Window /* focus */, >+ int /* revert_to */, >+ Time /* time */ >+); >+#endif /* INCLUDE_XLIB_WORKAROUND */ >+#endif /* KILL_FOCUS_ENHANCEMENT */ >+ > BOOL CALLBACK > winChangeDepthDlgProc (HWND hDialog, UINT message, > WPARAM wParam, LPARAM lParam); > > > /* > * Called by winWakeupHandler > * Processes current Windows message > */ > >@@ -831,20 +851,33 @@ > > case WM_KILLFOCUS: > if (s_pScreenPriv == NULL || s_pScreenInfo->fIgnoreInput) > break; > > /* Store the state of all mode keys */ > winStoreModeKeyStates (s_pScreen); > > /* Release any pressed keys */ > winKeybdReleaseKeys (); >+ >+#ifdef KILL_FOCUS_ENHANCEMENT >+ /* Remove focus from all X windows (crude implementation) */ >+ { >+ Display *display = XOpenDisplay(NULL); >+ >+ if (display) >+ { >+ /* Revert is ignored... */ >+ XSetInputFocus(display,None,RevertToNone,CurrentTime); >+ } >+ } >+#endif /* KILL_FOCUS_ENHANCEMENT */ > return 0; > > #if WIN_NEW_KEYBOARD_SUPPORT > case WM_SYSKEYDOWN: > case WM_KEYDOWN: > case WM_SYSKEYUP: > case WM_KEYUP: > if (s_pScreenPriv == NULL || s_pScreenInfo->fIgnoreInput) > break; > >======================== > >As you can see, it simply sets the input focus to NONE when >the KILLFOCUS event is received. Does this sound like a >reasonable approach? Sorry about the weird declarations at >the top--if you try to #include in this file, >you get some duplicate declarations (another thing for me >to look into). > >I'm not sure if anything needs to be done with the SETFOCUS >event or not--I figured I'd try this change out first. For >mouse-initiated focus changes, I would expect the focus to >be updated anyway. I suppose alt-tab initiated changes may >not get the focus updated (I haven't tracked it through). >Perhaps a WarpCursor call could be added to SETFOCUS (if >needed). > >-Jerry > > From huntharo@msu.edu Thu Nov 14 11:40:00 2002 From: huntharo@msu.edu (Harold L Hunt II) Date: Thu, 14 Nov 2002 11:40:00 -0000 Subject: xwinclip test 6 hacked to leave selection untouched In-Reply-To: <15827.58527.984865.157209@sunbayer71.informatik.tu-muenchen.de> References: <15827.58527.984865.157209@sunbayer71.informatik.tu-muenchen.de> Message-ID: <3DD3F749.6050101@msu.edu> Robert, First, this might be really cool. I had code in xwinclip a long time ago that watched the Windows clipboard and did almost exactly the same thing that you have done... except that our processing of Windows messages was not yet correct so xwinclip ended up hanging when its message queue overflowed. Now that the message processing is fixed this new patch should work well. I won't have a chance to test this until tonight or later. One side note though... please do not call your xwinclip releases test7, or test8, etc. as this will create a great amount of confusion when trying to determine if a user has a problem with an official release or an independent developer's release. Call them something like xwincip-robf1.tgz. Thanks for the patch, Harold Robert Fenk wrote: >Hi, > >I found it quite annoying that xwinclip-test6 was grabbing >the ownership of the selection every-time it looses it while >IMHO it should just grab it when there is a new selection in >the MS-Windows clipboard. Grabbing means the original >application is loosing it and with xterm and xemacs it means >that the selection is really lost, dehighlighted and not >available anymore. > >So I did some googling how to detect clipboard changes on >MS-Windows and added the code for this to wndproc.c and >modified xevents.c to just grab the selection if a >MS-Windows clipboard change is detected which is not caused >by xwinclip itself (this part is really a hack). > >The code might be helpful for those working on improved xwinclip >versions, but I do not have any intention on more hacking. >I actually have no idea about MS-Windows API and X11 so >there are probably new bugs ... > >http://www.robf.de/Hacking/xwinclip-test7.tgz > >Bye Robert > >PS: I have not subscribed to this list so you should address > questions with a CC to me. > > > From huntharo@msu.edu Thu Nov 14 11:52:00 2002 From: huntharo@msu.edu (Harold L Hunt II) Date: Thu, 14 Nov 2002 11:52:00 -0000 Subject: Hey hey, I now have the emacs 100% cpu usage bug too [CGF, this one is for you] Message-ID: <3DD3F96E.4010705@msu.edu> I have seen plenty of reports that emacs is going into an infinite loop upon startup, but I have not been able to offer any solution to help people fix this problem. Well, now I have the same problem on my machine. This is obviously due to a bug in some new Cygwin package, and I am guessing that cygwin1.dll is most likely the culprit (as there have been no new XWin.exe nor emacs releases in quite some time). The problem showed up after I ran setup.exe on Monday, I believe... but I did not run emacs again until today. So, which release do we think caused this problem? I am running cygwin1.dll version 1.3.15-1 from November 7th. I will check now if there is another update available that fixes the problem. Harold From huntharo@msu.edu Thu Nov 14 13:30:00 2002 From: huntharo@msu.edu (Harold L Hunt II) Date: Thu, 14 Nov 2002 13:30:00 -0000 Subject: Hey hey, I now have the emacs 100% cpu usage bug too [CGF, this one is for you] In-Reply-To: <3DD3F96E.4010705@msu.edu> References: <3DD3F96E.4010705@msu.edu> Message-ID: <3DD3FC14.80904@msu.edu> More information: cygcheck reports cygwin1.dll is version 1.3.15-1, yet /etc/setup/installed.db is reporting that cygwin-1.3.15-2.dll is installed. Setup.exe claimed that it needed to restart the computer to replace in-use files both times that I installed cygwin-1.3.15-2, yet upon reboot the cygwin1.dll file is still 1.3.15-1. Was the version number of the DLL accidentally not bumped, is setup.exe flubbing the replacement of cygwin1.dll, or is this the correct version number of the DLL contained in this package (even though the version numbers do not agree)? Harold From starksb@ebi.ac.uk Thu Nov 14 13:50:00 2002 From: starksb@ebi.ac.uk (David Starks-Browning) Date: Thu, 14 Nov 2002 13:50:00 -0000 Subject: Hey hey, I now have the emacs 100% cpu usage bug too [CGF, this one is for you] In-Reply-To: <3DD3F96E.4010705@msu.edu> References: <3DD3F96E.4010705@msu.edu> Message-ID: <661-Thu14Nov2002195158+0000-starksb@ebi.ac.uk> Harold, I identify the latest snapshot without the problem here: Regards, David On Thursday 14 Nov 02, Harold L Hunt II writes: > I have seen plenty of reports that emacs is going into an infinite loop > upon startup, but I have not been able to offer any solution to help > people fix this problem. > > Well, now I have the same problem on my machine. This is obviously due > to a bug in some new Cygwin package, and I am guessing that cygwin1.dll > is most likely the culprit (as there have been no new XWin.exe nor emacs > releases in quite some time). > > The problem showed up after I ran setup.exe on Monday, I believe... but > I did not run emacs again until today. > > So, which release do we think caused this problem? I am running > cygwin1.dll version 1.3.15-1 from November 7th. From gsw@agere.com Thu Nov 14 14:22:00 2002 From: gsw@agere.com (Gerald S. Williams) Date: Thu, 14 Nov 2002 14:22:00 -0000 Subject: Removing focus from X In-Reply-To: Message-ID: Thanks Harold, that change to win.h did the trick. Too bad my patch didn't work as well. :-( As per Harold's advice, I added a call to XCloseDisplay(). Here is the revised (still crude) patch to winwndproc.c: Index: winwndproc.c =================================================================== RCS file: /cvs/xc/programs/Xserver/hw/xwin/winwndproc.c,v retrieving revision 1.23 diff -u -1 -0 -r1.23 winwndproc.c --- winwndproc.c 2002/10/17 08:18:25 1.23 +++ winwndproc.c 2002/11/14 21:19:55 @@ -29,20 +29,44 @@ * Suhaib M Siddiqi * Peter Busch * Harold L Hunt II * MATSUZAKI Kensuke */ /* $XFree86: xc/programs/Xserver/hw/xwin/winwndproc.c,v 1.23 2002/10/17 08:18:25 alanh Exp $ */ #include "win.h" #include +#define KILL_FOCUS_ENHANCEMENT 1 +#if KILL_FOCUS_ENHANCEMENT + +#define INCLUDE_XLIB_WORKAROUND 1 +#if INCLUDE_XLIB_WORKAROUND +typedef void Display; + +extern Display *XOpenDisplay( + const char* /* display_name */ +); + +extern void XSetInputFocus( + Display* /* display */, + Window /* focus */, + int /* revert_to */, + Time /* time */ +); + +extern int XCloseDisplay( + Display* /* display */ +); +#endif /* INCLUDE_XLIB_WORKAROUND */ +#endif /* KILL_FOCUS_ENHANCEMENT */ + BOOL CALLBACK winChangeDepthDlgProc (HWND hDialog, UINT message, WPARAM wParam, LPARAM lParam); /* * Called by winWakeupHandler * Processes current Windows message */ @@ -831,20 +855,34 @@ case WM_KILLFOCUS: if (s_pScreenPriv == NULL || s_pScreenInfo->fIgnoreInput) break; /* Store the state of all mode keys */ winStoreModeKeyStates (s_pScreen); /* Release any pressed keys */ winKeybdReleaseKeys (); + +#if KILL_FOCUS_ENHANCEMENT + /* Remove focus from all X windows (crude implementation) */ + { + Display *display = XOpenDisplay(NULL); + + if (display) + { + /* Revert is ignored... */ + XSetInputFocus(display,None,RevertToNone,CurrentTime); + XCloseDisplay(display); + } + } +#endif /* KILL_FOCUS_ENHANCEMENT */ return 0; #if WIN_NEW_KEYBOARD_SUPPORT case WM_SYSKEYDOWN: case WM_KEYDOWN: case WM_SYSKEYUP: case WM_KEYUP: if (s_pScreenPriv == NULL || s_pScreenInfo->fIgnoreInput) break; =============================== However, in -rootless mode, the patch doesn't seem to make any difference. And without -rootless, all of X seems to hang as soon as I launch wmaker (I'm using WindowMaker as my current window manager). I realize that the patch needs cleaning up, but I wasn't expecting the results I saw. Any thoughts? -Jerry From darko.palic@gmx.de Thu Nov 14 15:50:00 2002 From: darko.palic@gmx.de (Palic, Darko) Date: Thu, 14 Nov 2002 15:50:00 -0000 Subject: Virus Warning (RE: Cygwin Connection Tool for Windows -- new release) In-Reply-To: Message-ID: Hi Mario! do you spread viruses, bahhhh tell your admin to fix it immediately :-) Seems to be a typical windows/outlook user :-) Under Outlook you could find it under options/settings/email options cu Darko > -----Original Message----- > From: cygwin-xfree-owner@cygwin.com > [mailto:cygwin-xfree-owner@cygwin.com]On Behalf Of Mario Ohnewald > Sent: Thursday, November 14, 2002 6:44 PM > To: cygwin-xfree@cygwin.com > Subject: RE: Virus Warning (RE: Cygwin Connection Tool for Windows -- > new release) > > > Hi! > I have checked my System and the setup file with AntiVir/XP and Norton > Antivirus 2002 (both uptodate). > I could not find any viruses. Please check your system, it might have > infected the setup file. > Please keep me up to date ;) > > Regards, Mario > > p.s. Anyone else with same problem? > > By the way, how to i get the ">" for reply messages, i cant find > it anymore! > :/ > > > > -----Original Message----- > From: cygwin-xfree-owner@cygwin.com > [mailto:cygwin-xfree-owner@cygwin.com]On Behalf Of Stephen Liu > Sent: Thursday, November 14, 2002 5:52 PM > To: cygwin-xfree@cygwin.com > Subject: Virus Warning (RE: Cygwin Connection Tool for Windows -- new > release) > > > Hi Mario, > > The file got infected with worm W32.Bugbear@mm and it spread to the whole > WinXP machine immediately. Fortunately I was able to fix it removing the > worm. > > Another strange thing is your mentioned menu on the left of the website > disappeared on IE but can be seen on Mozilla. > > Stephen Liu > > > At 12:55 PM 11/14/2002 +0100, Mario Ohnewald wrote: > >Hi, > > > > > Hi Mario, > > > > > > It seems working now. But clicking "www.thelinuxbeat.com" > brought me to > > > "http://thelinuxbeat.nu-sec.de/" a German website. Only "Service > > > kostenlos" has a link there, nothing else. > >Hehe, yes, this was the correct page, on the left there should appear a > >menu, where you can select the Project link (english). > >I might have to think about a redesign again ;P > > > > > > > > Thanks > > > > > > Stephen Liu > > > > > > >Mario > > > >-- > >+++ GMX - Mail, Messaging & more http://www.gmx.net +++ > >NEU: Mit GMX ins Internet. Rund um die Uhr f??r 1 ct/ Min. surfen! > > > > From mario.ohnewald@gmx.de Thu Nov 14 15:51:00 2002 From: mario.ohnewald@gmx.de (Mario Ohnewald) Date: Thu, 14 Nov 2002 15:51:00 -0000 Subject: NO VIRUS (Virus Warning (RE: Cygwin Connection Tool for Windows -- new release)) In-Reply-To: Message-ID: Hi Darko, >From: cygwin-xfree-owner@cygwin.com >[mailto:cygwin-xfree-owner@cygwin.com]On Behalf Of Palic, Darko >Sent: Thursday, November 14, 2002 10:51 PM >To: cygwin-xfree@cygwin.com >Subject: RE: Virus Warning (RE: Cygwin Connection Tool for Windows -- >new release) > > >Hi Mario! > >do you spread viruses, bahhhh tell your admin to fix it immediately :-) muhahaah ;P > >Seems to be a typical windows/outlook user :-) I admit, i am soooo sorry, but i would blame it on Battlefield! hehe >Under Outlook you could find it under options/settings/email options Muchas Gracias!! p.s. I gave this setup.exe file to 4different users, with different virus scanners, all uptodate! Noone found a Virus. If you are not sure weather to use it or not, use the Sourcecode and compile it yourself! > >cu Darko > >> -----Original Message----- >> From: cygwin-xfree-owner@cygwin.com >> [mailto:cygwin-xfree-owner@cygwin.com]On Behalf Of Mario Ohnewald >> Sent: Thursday, November 14, 2002 6:44 PM >> To: cygwin-xfree@cygwin.com >> Subject: RE: Virus Warning (RE: Cygwin Connection Tool for Windows -- >> new release) >> >> >> Hi! >> I have checked my System and the setup file with AntiVir/XP and Norton >> Antivirus 2002 (both uptodate). >> I could not find any viruses. Please check your system, it might have >> infected the setup file. >> Please keep me up to date ;) >> >> Regards, Mario >> >> p.s. Anyone else with same problem? >> >> By the way, how to i get the ">" for reply messages, i cant find >> it anymore! >> :/ >> >> >> >> -----Original Message----- >> From: cygwin-xfree-owner@cygwin.com >> [mailto:cygwin-xfree-owner@cygwin.com]On Behalf Of Stephen Liu >> Sent: Thursday, November 14, 2002 5:52 PM >> To: cygwin-xfree@cygwin.com >> Subject: Virus Warning (RE: Cygwin Connection Tool for Windows -- new >> release) >> >> >> Hi Mario, >> >> The file got infected with worm W32.Bugbear@mm and it spread to the whole >> WinXP machine immediately. Fortunately I was able to fix it removing the >> worm. >> >> Another strange thing is your mentioned menu on the left of the website >> disappeared on IE but can be seen on Mozilla. >> >> Stephen Liu >> >> >> At 12:55 PM 11/14/2002 +0100, Mario Ohnewald wrote: >> >Hi, >> > >> > > Hi Mario, >> > > >> > > It seems working now. But clicking "www.thelinuxbeat.com" >> brought me to >> > > "http://thelinuxbeat.nu-sec.de/" a German website. Only "Service >> > > kostenlos" has a link there, nothing else. >> >Hehe, yes, this was the correct page, on the left there should appear a >> >menu, where you can select the Project link (english). >> >I might have to think about a redesign again ;P >> > >> > > >> > > Thanks >> > > >> > > Stephen Liu >> > > >> > >> >Mario >> > From huntharo@msu.edu Thu Nov 14 16:16:00 2002 From: huntharo@msu.edu (Harold L Hunt II) Date: Thu, 14 Nov 2002 16:16:00 -0000 Subject: xwinclip test 6 hacked to leave selection untouched References: <15827.58527.984865.157209@sunbayer71.informatik.tu-muenchen.de> <3DD3F749.6050101@msu.edu> <15828.13363.90218.549106@sunbayer71.informatik.tu-muenchen.de> Message-ID: <3DD436DF.8060304@msu.edu> Robert, Hmm... I forgot that not grabbing the selection causes the problem that you mention below, namely, that we are no longer notified of further changes to the X Selection. In that case, your patch won't make much of a difference, as there is already an earlier version of xwinclip that has that precise behavior. It does not make much sense to toggle back and forth between releasing verions that do or do not grab the selection. There must be some part of the X clipboard mechanism that we just are not understanding. I picked up two X Window System books today from the ACM book sale on campus today... perhaps one of these will have a better description of the clipboard system than the other books I have. Harold Robert Fenk wrote: > On Thursday, November 14, 2002 at 14:19:37, Harold L Hunt II wrote: > [...] > >>One side note though... please do not call your xwinclip releases >>test7, or test8, etc. as this will create a great amount of >>confusion when trying to determine if a user has a problem with an >>official release or an independent developer's release. Call them >>something like xwincip-robf1.tgz. > > > Well you are right, I just was about to let you know without > knowing your email and thinking too much. I probably will > remove the file from my homepage tomorrow. > > >>Thanks for the patch, > > > Sorry for not providing a patch, but the modified code, I > had been reindenting it ... ;/ but you should be able to > create a diff with --irgnore-all-space ... > > Anyway some more notes on the changes: > > The MS$-Code is from: > > http://msdn.microsoft.com/library/default.asp?url=/library/en-us/winui/WinUI/WindowsUserInterface/DataExchange/Clipboard/UsingtheClipboard.asp > > To detect selection changes in X11 I used the PropertyNotify > event from the RootWindow (XSelectInput in xwinclip.c) if > event.xproperty.atom != XA_CUT_BUFFER0 > which I just assumed to be right when looking at "xev -id > root" ... the problem is that you do not get a > SelectionNotify anymore if you do not hold the selection ... > > > Bye Robert > From mailspam1@robf.de Thu Nov 14 16:41:00 2002 From: mailspam1@robf.de (Robert Fenk) Date: Thu, 14 Nov 2002 16:41:00 -0000 Subject: xwinclip test 6 hacked to leave selection untouched In-Reply-To: <3DD3F749.6050101@msu.edu> References: <15827.58527.984865.157209@sunbayer71.informatik.tu-muenchen.de> <3DD3F749.6050101@msu.edu> Message-ID: <15828.14041.184825.933308@sunbayer71.informatik.tu-muenchen.de> On Thursday, November 14, 2002 at 14:19:37, Harold L Hunt II wrote: [...] > One side note though... please do not call your xwinclip releases > test7, or test8, etc. as this will create a great amount of > confusion when trying to determine if a user has a problem with an > official release or an independent developer's release. Call them > something like xwincip-robf1.tgz. [...] http://www.robf.de/Hacking/xwinclip-test6-robf1.tar.gz Without any warranty and support ;c) Cheers Robert From satimis@writeme.com Thu Nov 14 18:02:00 2002 From: satimis@writeme.com (Stephen Liu) Date: Thu, 14 Nov 2002 18:02:00 -0000 Subject: Virus Warning (RE: Cygwin Connection Tool for Windows -- new release) In-Reply-To: References: <5.1.1.6.0.20021115004232.00b4fd48@pop.net-yan.com> Message-ID: <5.1.1.6.0.20021115080709.00b4c670@pop.net-yan.com> Hi Mario, The setup file concerned has been removed by Norton Antivirus 2002 (updated). I can't check again. Now my P box resumes normal. Also it worked perfect before downloading the setup file. It is protected by Norton Antivirus 2002. B.Regards Stephen At 06:44 PM 11/14/2002 +0100, you wrote: >Hi! >I have checked my System and the setup file with AntiVir/XP and Norton >Antivirus 2002 (both uptodate). >I could not find any viruses. Please check your system, it might have >infected the setup file. >Please keep me up to date ;) > >Regards, Mario > >p.s. Anyone else with same problem? > >By the way, how to i get the ">" for reply messages, i cant find it anymore! >:/ > > > >-----Original Message----- >From: cygwin-xfree-owner@cygwin.com >[mailto:cygwin-xfree-owner@cygwin.com]On Behalf Of Stephen Liu >Sent: Thursday, November 14, 2002 5:52 PM >To: cygwin-xfree@cygwin.com >Subject: Virus Warning (RE: Cygwin Connection Tool for Windows -- new >release) > > >Hi Mario, > >The file got infected with worm W32.Bugbear@mm and it spread to the whole >WinXP machine immediately. Fortunately I was able to fix it removing the >worm. > >Another strange thing is your mentioned menu on the left of the website >disappeared on IE but can be seen on Mozilla. > >Stephen Liu > > >At 12:55 PM 11/14/2002 +0100, Mario Ohnewald wrote: > >Hi, > > > > > Hi Mario, > > > > > > It seems working now. But clicking "www.thelinuxbeat.com" brought me to > > > "http://thelinuxbeat.nu-sec.de/" a German website. Only "Service > > > kostenlos" has a link there, nothing else. > >Hehe, yes, this was the correct page, on the left there should appear a > >menu, where you can select the Project link (english). > >I might have to think about a redesign again ;P > > > > > > > > Thanks > > > > > > Stephen Liu > > > > > > >Mario > > > >-- > >+++ GMX - Mail, Messaging & more http://www.gmx.net +++ > >NEU: Mit GMX ins Internet. Rund um die Uhr f?r 1 ct/ Min. surfen! From zakki@peppermint.jp Thu Nov 14 19:26:00 2002 From: zakki@peppermint.jp (Kensuke Matsuzaki) Date: Thu, 14 Nov 2002 19:26:00 -0000 Subject: Removing focus from X In-Reply-To: References: Message-ID: Perhaps "XOpenDisplay" connects to X server and waits for reply. But X server is blocked by "XOpenDisplay", so it can't do anything, and hang up. I integrated window manager to X server for rootless mode at the trial. At that time I had same problem. Creating X client thread solved it. Kensuke Matsuzaki From huntharo@msu.edu Fri Nov 15 00:44:00 2002 From: huntharo@msu.edu (Harold L Hunt II) Date: Fri, 15 Nov 2002 00:44:00 -0000 Subject: Removing focus from X In-Reply-To: References: Message-ID: <3DD455C3.5030400@msu.edu> Kensuke, Excellent point. What Jerry tried to do cannot work because the X Server is single-threaded. Harold Kensuke Matsuzaki wrote: >Perhaps "XOpenDisplay" connects to X server and waits >for reply. But X server is blocked by "XOpenDisplay", >so it can't do anything, and hang up. > >I integrated window manager to X server for rootless >mode at the trial. At that time I had same problem. >Creating X client thread solved it. > >Kensuke Matsuzaki > > > From dirk.fassbender@debitel.net Fri Nov 15 02:14:00 2002 From: dirk.fassbender@debitel.net (dirk.fassbender@debitel.net) Date: Fri, 15 Nov 2002 02:14:00 -0000 Subject: Cygwin Connection Tool for Windows -- new release Message-ID: <20021115032638.5537.qmail@psmtp2.dnsg.net> Hi all, the Cygwin Connection Tool for Windows installs two dll files into the system directory. Two lines from the uninstall.ini P0,C:\WINNT\System32\cygz.dll,0 P0,C:\WINNT\System32\cygwin1.dll,0 This is not good. I have ininstalled the program. Regards Dirk From csardin@sopragroup.com Fri Nov 15 02:14:00 2002 From: csardin@sopragroup.com (Christian SARDIN) Date: Fri, 15 Nov 2002 02:14:00 -0000 Subject: [Lesstif] "mwm" on Cygwin : heavy load Message-ID: <9E035BE80785AA4EAA456959ECB4A30D03426ED8@nt036.an.sopra> Harold, I did read, and made my test as you suggested (startx -- -fullscreen -depth 16) for the same result as with pseudo ... About that option emulatepseudo , of course I found it almost by accident. My goal is to display on the notebook the GUI of an application running under HP-UX on a workstation. That application needs 1280x1024, and "plays" with colors : It uses XtConvertAndStore and a second colormap for some drawings ! When I started, I was on a desktop and I got to set Display to 1280x1024 / 256 colors before starting (with no special option) Xxin. On the notebook I can't set 256 colors. Fortunately, I had downloaded a recent Cygwin Cygwin version 1.3.13-2 including XFree 86 4.2.15 and discovered that option "emulate pseudo". It created a 3rd visual in 256 pseudo colors... But I don't know how to use it (I can modify GUI source code if required). So I added fullscreen and depth 8 options. That way I can display (poorly) the GUI. Using "mwm" improves the behavior (closer to HP), but it is slow... Anyway on both 256 color desktop or with emulatepseudo , XtConvertAndStore does not always succeed, at best the result is : OK for from_value.addr = * "#94949494949494" * "#dededededede" * "#adadadadadad" * "#424242424242" * "#bdbdbdbdbdbd" * "#212121212121" * "#ffffffff0000" * "#c2c2c2c2c2c2" * "#4fff4fff4fff" And fails for * "#737373737373" * "#636363636363" * "#280028002800" Does it ring a bell ? Other problems are * the windows starts iconised * it is not redrawn (when exposed, ...) * there is only ONE colormap [ If I do an X -query , on the HP hosts, I get no icons, but drawings and colors are still not there ! ] I hope that someone can give me clues. (I also hope that my english can be understood !) Thanks for your help, Harold. I wish I won't bother you too much. Christian PS : what about Cygwin versions ? should I get any special patch ? -----Message d'origine----- De: Harold L Hunt II [SMTP:huntharo@msu.edu] Date: jeudi 14 novembre 2002 20:07 A: csardin@sopragroup.com Cc: lesstif@lesstif.org; cygwin-xfree@cygwin.com Objet: Re: [Lesstif] "mwm" on Cygwin : heavy load Christian, See, the problem here is that you are not reading what I am telling you about the -emulatepseudo parameter. Let me explain. Imagine that you would really like to have Cygwin/XFree86 running in 16 bit color, but that you would like to still be able to run applications that require a PseudoColor visual. Well, the -emulatepseudo option creates a fake PseudoColor visual in addition to the standard TrueColor visual when running in TrueColor modes. Therefore, -emulatepseudo does nothing beneficial when you are already running in 8 bit color mode, as there is already a PseudoColor visual when you run in 8 bit color mode (both in windowed and in fullscreen modes). Thus, LEAVE OFF THE FREAKING -emulatepseudo PARAMETER!!! There, thanks for reading it this time. Now, as to the additional information you supplied, you did not specify if you left off the -emulatepseudo parameter when you ran with -depth 16 and -fullscreen. If you did not leave off the -emulatepseudo parameter, then I am not surprised that your problem did not go away, as PseudoColor emulation in TrueColor modes is a hack that is nowhere near completion, so it could very well be causing your problems. On the other hand, Cygwin has gone through many revisions in the past few days (including new versions of the Cygwin DLL) and some of these revisions have been causing great problems for many users. I suggest that you run Cygwin's setup.exe again and let it download and install any updated packages. Could someone from Lesstif give him some notes on possibly renaming any configuration files for Lesstif so that we can rule out any custom configuration as the cause of this problem? Thanks, Harold Christian SARDIN wrote: >Thanks for answering. > >But, no change if -depth 16 in TrueColor. (I do need pseudo color because I >want to display an application which plays with colormap >-XtConvertAndStore-) > >With the task manager I changed priority from normal to a lower level, it >doesnt change the 100% rated (By the way I run XP ) , but moves seems more >fluid... I can't try my application to see its speed (needing pseudo color >! ) >And it is difficult to guess what is responsible for slowlyness : PC, >Cygwin, or Xfree - mwm / memory-swap ???? > >May be the information given by XP is wrong ! >I expect a driver soon to try installing Linux (Red Hat 7.3 probably) and >compare ! > >Christian > >-----Message d'origine----- >De: Harold L Hunt II [SMTP:huntharo@msu.edu] >Date: jeudi 14 novembre 2002 16:00 >A: csardin@sopragroup.com >Cc: lesstif@lesstif.org >Objet: Re: [Lesstif] "mwm" on Cygwin : heavy load > >Christian, > >Do NOT use the -emulatepseudo option for XWin.exe. That is a >development-only feature and it more than likely does not do what you >think it does. > >That could be the root of your problem. > >I actually use MWM was my primary window manager for Cygwin/XFree86 and >I have never had a problem with it taking 100% of the CPU. Try passing >``-depth 16'' and see if it works better then, as this could be isolated >to 8-bit color. > >Harold > >Christian SARDIN wrote: > > > >>Hello >> >>I discovered less tif recently, and am surprisedthat CYGWIN does not >> >> >appear > > >>in the list of platforms supported. Anyway I had it with Cygwin package. >> >>My problem is that it uses 100% CPU ! Even if I reduce the virtual desktop >>at ONE screen area. Do you know that problem ? Have you a solution ? >> >>Thanks a lot >> >>Christian >> >>I start with >>startx -- -emulatepseudo -fullscreen -depth 8 >> >>in app-defaults, The onlu uncommented lines are finally : >> >> >>!! $Id: Mwm.ad,v 1.2 2001/10/27 18:32:58 amai Exp $ >>!! >>!! app defaults for mwm >>*multiScreen: False >>*maximumMaximumSize: "screen_width x screen_height" >> >> >> >> >>My .xinitrc includes : >>setxkbmap -layout fr >>xset fp= tcp/192.168.191.109:7000 >> >># start some nice programs >> >>xclock -geometry 50x50-1+1 & >>xterm -geometry 80x50+494+51 & >>xhost + >> >>mwm >> >> >>And the PC is a VT6200 HP, laptop notebook P4 M 1.7 GHz, 256 Mo, ATI >> >> >radeon > > >>Mobility M6 with 32 Mo. >> >> >>_______________________________________________ >>Lesstif mailing list >>Lesstif@lesstif.org >>https://terror.hungry.com/mailman/listinfo/lesstif >> >> >> >> > > > From choice15@gmx.de Fri Nov 15 02:52:00 2002 From: choice15@gmx.de (choice15@gmx.de) Date: Fri, 15 Nov 2002 02:52:00 -0000 Subject: Is there an Way to Cluster (Loadbalance) X11 Free86? References: <9E035BE80785AA4EAA456959ECB4A30D03426ED7@nt036.an.sopra> <3DD3F466.5090902@msu.edu> Message-ID: <013001c28c8f$cc95da60$4c64a8c0@ibsfreiburg.de> Hi all, At my Connectiontoolprojekt (Win-GUI-Client for Cygwin) i have think by my self whats happend if a heavy load Situation is comming up and How can it be solved? Is there an Way to Make XFree scalable or is there an J2EE based Container for a Free XFree avaiable thadt can be integrated as Part of a Java Serverapplication- Cluster such as ORACLE 9iAS Appserver Modul? (Oracle self has implemented an E-Mailserver, na Fileserver, an Faxserver, LDAP and so thadt resides in the Applicationserver Middlewarelayer, thadt can be empowered by an Oracle Realapplication Cluster thadt Spans over the Network to other Machines they are Member of the Cluster) If no Project is launched at this Time then my X.NET Projekt at Sourceforge will by Upgraded to this Projektfeature. http://sourceforge.net/projects/ibsxnet/ Greetings From choice15@gmx.de Fri Nov 15 03:33:00 2002 From: choice15@gmx.de (choice15@gmx.de) Date: Fri, 15 Nov 2002 03:33:00 -0000 Subject: X11 and Heavy loadbalancing? References: <9E035BE80785AA4EAA456959ECB4A30D03426ED8@nt036.an.sopra> Message-ID: <013101c28c8f$cd03de70$4c64a8c0@ibsfreiburg.de> Hi all, At my Connectiontoolprojekt (Win-GUI-Client for Cygwin) i have think by my self whats happend if a heavy load Situation is comming up and How can it be solved? Is there an Way to Make XFree scalable or is there an J2EE based Container for a Free XFree avaiable thadt can be integrated as Part of a Java Serverapplication- Cluster such as ORACLE 9iAS Appserver Modul? (Oracle self has implemented an E-Mailserver, na Fileserver, an Faxserver, LDAP and so thadt resides in the Applicationserver Middlewarelayer, thadt can be empowered by an Oracle Realapplication Cluster thadt Spans over the Network to other Machines they are Member of the Cluster) If no Project is launched at this Time then my X.NET Projekt at Sourceforge will by Upgraded to this Projektfeature. http://sourceforge.net/projects/ibsxnet/ Greetings From moser@decodon.com Fri Nov 15 04:58:00 2002 From: moser@decodon.com (Frank-Michael Moser) Date: Fri, 15 Nov 2002 04:58:00 -0000 Subject: xwinclip test 6 hacked to leave selection untouched References: <15827.58527.984865.157209@sunbayer71.informatik.tu-muenchen.de> <3DD3F749.6050101@msu.edu> <15828.14041.184825.933308@sunbayer71.informatik.tu-muenchen.de> Message-ID: <3DD4D1CE.4000704@decodon.com> I installed your xwinclip and it works fine. But in rootless mode I noticed that every time when the mouse enters a X-window the entry point is marked with semi-transparent darkgray square (~40 pixels). Not a problem - but ugly ;) Frank-Michael -------------- next part -------------- An embedded and charset-unspecified text was scrubbed... Name: cygcheck.txt URL: From alexander.gottwald@s1999.tu-chemnitz.de Fri Nov 15 05:26:00 2002 From: alexander.gottwald@s1999.tu-chemnitz.de (Alexander Gottwald) Date: Fri, 15 Nov 2002 05:26:00 -0000 Subject: X11 and Heavy loadbalancing? In-Reply-To: <013101c28c8f$cd03de70$4c64a8c0@ibsfreiburg.de> Message-ID: On Fri, 15 Nov 2002 choice15@gmx.de wrote: > Hi all, > > At my Connectiontoolprojekt (Win-GUI-Client for Cygwin) > i have think by my self whats happend if a heavy load Situation is comming > up and How can it be solved? > > Is there an Way to Make XFree scalable or is there an J2EE based Container > for a Free XFree avaiable thadt can be integrated as Part of a Java > Serverapplication- > Cluster such as ORACLE 9iAS Appserver Modul? XFree is a implementation of X11. X11 is a server, clients and the protocol. Which parts do you mean? > > (Oracle self has implemented an E-Mailserver, na Fileserver, an Faxserver, > LDAP and so thadt resides in the Applicationserver Middlewarelayer, thadt > can be empowered by an Oracle Realapplication Cluster thadt Spans over the > Network to other Machines they are Member of the Cluster) > > If no Project is launched at this Time then my X.NET Projekt at > Sourceforge will by Upgraded to this Projektfeature. I don't understand what you want to do. The XServer is bound to a output device. So there is no way to let a cluster do the work for it. The XClients work over network. So there is no problem with spreading them on a cluster. If you want to handle a lot of workstations with few compute servers, you can use the -broadcast to select the first answering compute server instead of selecting one with -query. The first responding is likely to have a low load. bye ago -- Alexander.Gottwald@informatik.tu-chemnitz.de http://www.gotti.org ICQ: 126018723 From choice15@gmx.de Fri Nov 15 05:31:00 2002 From: choice15@gmx.de (choice15@gmx.de) Date: Fri, 15 Nov 2002 05:31:00 -0000 Subject: X11 and Heavy loadbalancing? References: Message-ID: <016701c28ca6$9d058680$4c64a8c0@ibsfreiburg.de> > I don't understand what you want to do. The XServer is bound to a output > device. So there is no way to let a cluster do the work for it. Ok i try it more detailed again to describe: An J2EE (Java) implemented Applicationserver act as an centralized Server instance for Java writen Applications. The main Benefit of an J2EE conform Applicationserver is, to write code in Java as an non-visual Programm, thadt can on the fly integrated into the running Appserver to add an Feature. Typical Serverdriven Applications such as SMTP, POP, IMAP4, Telnet, Fileservice or waht ever) without the needs to implement first an TCP-Server Socket to host the Next Layer (the Serviceprotocol such as HTTP). The Only things to do is to implement the Serviceprotocol such as RFC 1945 HTTP 1.0. > The XClients work over network. So there is no problem with spreading them > on a cluster. Loadbalancing, Scalability, Avaiability is only a Task of the Appserver, and its Environment (in an Oracle Realapplicationcluster the AppServer can be connected to other AppServers to share its Performance ressouces to the involved System automatically and takes care for Failover Situations) For Example: Oracle has implement an E-Mailserver as an J2EE Container for the Oracle AppServer. If you have 2x Machines the Power aof Your E-mailsystems automatically scales up the Performance (while Sharing Client Tasks like MS-Outlook) My simple Questions is: Is there an Java based (EJB) X11R6 J2EE 1.2 / 1.3 Servercontainer Software released thadt can act as Part of an J2EE Applicationserver to act as an X11-Server? > If you want to handle a lot of workstations with few compute servers, you > can use the -broadcast to select the first answering compute server instead > of selecting one with -query. The first responding is likely to have a low > load. I think the Java Part is a little bit more easly to manage for setting up an "Userfriendly" and Crossplatform compliant System thadt runs anywhere without Bash or other Shell/Terminalconsoles (Just like Hit & Run and better and Costsaver as an Propritary Windows based CITRIX Metaframeterminalserver) License GPL: Any Questions? Greetings from Freiburg, Germany From alexander.gottwald@s1999.tu-chemnitz.de Fri Nov 15 05:49:00 2002 From: alexander.gottwald@s1999.tu-chemnitz.de (Alexander Gottwald) Date: Fri, 15 Nov 2002 05:49:00 -0000 Subject: X11 and Heavy loadbalancing? In-Reply-To: <016701c28ca6$9d058680$4c64a8c0@ibsfreiburg.de> Message-ID: On Fri, 15 Nov 2002 choice15@gmx.de wrote: > My simple Questions is: > Is there an Java based (EJB) X11R6 J2EE 1.2 / 1.3 Servercontainer Software > released > thadt can act as Part of an J2EE Applicationserver to act as an > X11-Server? Why would anyone want that? The X server is running on your local workstation If you have the X server running on a remote host, you can not see the visual output. > > If you want to handle a lot of workstations with few compute servers, you > > can use the -broadcast to select the first answering compute server > instead > > of selecting one with -query. The first responding is likely to have a low > > load. > > I think the Java Part is a little bit more easly to manage for setting up an > "Userfriendly" and Crossplatform compliant System thadt runs anywhere > without Bash or other Shell/Terminalconsoles (Just like Hit & Run and better > and Costsaver as an Propritary Windows based CITRIX Metaframeterminalserver) The terms server and client are switched in the X1 world. The Windows Application server is the X client and The Terminal Client is like the X Server. What you want (If I understood that correctly) is a login server running in the Applicationserver which connects to your local X11 display. The problem here is to implement a shell, or a desktop in java which acts as UI for the logged in user. Smth. like KDE or Gnome for Java. bye ago -- Alexander.Gottwald@informatik.tu-chemnitz.de http://www.gotti.org ICQ: 126018723 From rasjidw@openminddev.net Fri Nov 15 06:14:00 2002 From: rasjidw@openminddev.net (Rasjid Wilcox) Date: Fri, 15 Nov 2002 06:14:00 -0000 Subject: X11 and Heavy loadbalancing? In-Reply-To: <016701c28ca6$9d058680$4c64a8c0@ibsfreiburg.de> References: <016701c28ca6$9d058680$4c64a8c0@ibsfreiburg.de> Message-ID: <200211160031.02642.rasjidw@openminddev.net> On Fri, 15 Nov 2002 11:57 pm, choice15@gmx.de wrote: > > I don't understand what you want to do. The XServer is bound to a output > > device. So there is no way to let a cluster do the work for it. > > Ok i try it more detailed again to describe: > > An J2EE (Java) implemented Applicationserver act as an > centralized Server instance for Java writen Applications. > The main Benefit of an J2EE conform Applicationserver is, > to write code in Java as an non-visual Programm, thadt can on > the fly integrated into the running Appserver to add an Feature. > Typical Serverdriven Applications such as SMTP, POP, IMAP4, > Telnet, Fileservice or waht ever) without the needs to implement > first an TCP-Server Socket to host the Next Layer (the Serviceprotocol > such as HTTP). > The Only things to do is to implement the Serviceprotocol such as > RFC 1945 HTTP 1.0. > > > The XClients work over network. So there is no problem with spreading > > them on a cluster. > > Loadbalancing, Scalability, Avaiability is only a Task of the Appserver, > and its Environment (in an Oracle Realapplicationcluster the AppServer > can be connected to other AppServers to share its Performance ressouces > to the involved System automatically and takes care for Failover > Situations) > > For Example: > Oracle has implement an E-Mailserver as an J2EE Container > for the Oracle AppServer. If you have 2x Machines the Power aof Your > E-mailsystems automatically scales up the Performance (while Sharing Client > Tasks > like MS-Outlook) > > My simple Questions is: > Is there an Java based (EJB) X11R6 J2EE 1.2 / 1.3 Servercontainer > Software released > thadt can act as Part of an J2EE Applicationserver to act as an > X11-Server? On the whole I still have no idea what you are saying either. My guess is that you are confused about the terms 'Server' and 'Client' in the X context. The 'X Server' runs on the machine that the user is sitting in front of. It does not run the applications, it just draws picutre on the screen. In the Citrix world it would be considered the client (terminal). The X application can be pretty much anything, running as part of a distributed application or whatever. I know I've read about using a linux mosix cluster with XDMCP ('X Terminal Clients'). In this case, the machine the user sits in front of could be a P100, but all their applications would be running on a Linux cluster. To add more computing power, you just add more nodes to the cluster. It doesn't have anything to do with Java though. Just to be clear again. X applications do not run on the X Server. They run on the application server, and they simply talk to the X Server (ie, your screen). A 486DX66 with a good graphics card will make a passible X Server (but a hopeless application server). I think your question has nothing to do with X Servers at all, but application servers. Do a search on Linux clustering, or have a look at Mosix. Rasjid. From huntharo@msu.edu Fri Nov 15 07:07:00 2002 From: huntharo@msu.edu (Harold L Hunt II) Date: Fri, 15 Nov 2002 07:07:00 -0000 Subject: X11 and Heavy loadbalancing? In-Reply-To: References: <016701c28ca6$9d058680$4c64a8c0@ibsfreiburg.de> <200211160031.02642.rasjidw@openminddev.net> Message-ID: <3DD4FB5D.8050403@msu.edu> Yup, I am equally confused. Keep in mind that the X Server is ``serving'' your display, mouse, and keyboard hardware to applications that would like to utilize them. A ``client'' of your X Server is utilizing the display, mouse, and keyboard on the X Server by drawing a window and accepting user input via the mouse and keyboard. Alexander is right: clustering the X Server makes absolutely no sense. How can you server multiple instances of your display, mouse, and keyboard? Why would you want to? If, on the other hand, you want to cluster X Clients, then you need to look at the individual clients to determine your answer. For example, yes, you could right a Java X Client application that displays itself via the X Server and you could install your Java app on many machines and use some form of load-balancing to determine which of those machines would handle particular instances of your application. You will notice that the X Server is not load-balanced here... only the client applications that you write. Harold From choice15@gmx.de Fri Nov 15 07:41:00 2002 From: choice15@gmx.de (choice15@gmx.de) Date: Fri, 15 Nov 2002 07:41:00 -0000 Subject: X11 and Heavy loadbalancing? References: Message-ID: <017201c28cb1$4b851c70$4c64a8c0@ibsfreiburg.de> > > I think the Java Part is a little bit more easly to manage for setting up an > > "Userfriendly" and Crossplatform compliant System thadt runs anywhere > > without Bash or other Shell/Terminalconsoles (Just like Hit & Run and better > > and Costsaver as an Propritary Windows based CITRIX Metaframeterminalserver) > > The terms server and client are switched in the X1 world. The Windows Application > server is the X client and The Terminal Client is like the X Server. > > What you want (If I understood that correctly) is a login server running in > the Applicationserver which connects to your local X11 display. > The problem here is to implement a shell, or a desktop in java which acts > as UI for the logged in user. Smth. like KDE or Gnome for Java. Thanks for fast Reply. Yes. Thadts is exactly waht i wahnt. By looking at the Web for Reference Implementations i have found the "Weirdx Project" from JCraft. http://www.jcraft.com/weirdx/index.html JCraft has developed an Java-Programm thadt Supports the Core Protocols of X11R6.3 partially as OpenSource. The next step is to evalute the Refdefenitiontasks thadt are nacessary to redirect the Clientrequests to the X11-Server Logincontainer (EJB) on the J2EE Appserver. I Hope a Java J2EE X11-Loginserver Module is allready with Source released. Greetings from Freiburg, Germany From choice15@gmx.de Fri Nov 15 07:44:00 2002 From: choice15@gmx.de (choice15@gmx.de) Date: Fri, 15 Nov 2002 07:44:00 -0000 Subject: X11 and Heavy loadbalancing? References: <016701c28ca6$9d058680$4c64a8c0@ibsfreiburg.de> <200211160031.02642.rasjidw@openminddev.net> <3DD4FB5D.8050403@msu.edu> Message-ID: <018101c28cb8$a18b0970$4c64a8c0@ibsfreiburg.de> > Yup, I am equally confused. I am realy sorry > > Keep in mind that the X Server is ``serving'' your display, mouse, and > keyboard hardware to applications that would like to utilize them. A > ``client'' of your X Server is utilizing the display, mouse, and > keyboard on the X Server by drawing a window and accepting user input > via the mouse and keyboard. Ok, my Syntax for my Request is an little bit urly wurly. (I know thadt the Client has the hardest Job on a X-Session, but it was no clear to me how much is the X-Server involved at this Time) > Alexander is right: clustering the X Server makes absolutely no sense. > How can you server multiple instances of your display, mouse, and > keyboard? Why would you want to? The I/O Traffic producing by the Apps on X-Serverside (Harddisk access to the Partitions) I assume thadt a lot of Officeuser thadt would connect to the X-Server, slow down the Machine. With Oracle IFS, (Fileservermodule in the AppServer) the Filesystemoperations would be redirect to the Databasesystem (more and faster then ext2/ext3 or Raiser) while using the Databaseengine to lookup for the File. The Idea: Layer 1: The Oracle 9i R2 J2EE Applicationserver (Internetfilesystem - IFS-Module) managing the in-comming Filerequests and handles, takes care vor Failoversituations and delegating Requests to other RealApplication Cluster. Layer 2: The Oracle 9i R2 Databasesystem handle the IFS-Fileobjects and put it into its Tablepsaces (Databasefiles and its Pratitions) as an Datarecord (BLOB) Next Questions: Ist there an JAVA (or J2EE) Implementation of an X11 Server avaiable thadt can be used for studying? Is it heavy to implement the Programmlgoic (Functional?) if C/C++ to Java Translation is necesarry? Thanks From kris.thielemans@csc.mrc.ac.uk Fri Nov 15 07:47:00 2002 From: kris.thielemans@csc.mrc.ac.uk (Thielemans, Kris) Date: Fri, 15 Nov 2002 07:47:00 -0000 Subject: heap errors when running in gdb Message-ID: <292581CF68F7D31182440090273CE0B17847A0@icex8.cc.ic.ac.uk> Hi, I'm trying to debug my X program. However, when I run it in gdb, I get a SIGTRAP when stepping over XOpenDisplay(""). Continuing I get it another time (sorry, not exactly sure where), continuing, my program runs fine (except for the bugs that I introduce...). Should this worry me? I've downloaded cygwin an dXfree 1 week ago, so am running the latest of everything. gdb screenshot: --------------- warning: HEAP[test_display.exe]: warning: Heap block at 002541A8 modified at 002544FA past requested size of 34a Program received signal SIGTRAP, Trace/breakpoint trap. 0x77fa018d in ?? () (gdb) c Continuing. warning: HEAP[test_display.exe]: warning: Invalid Address specified to RtlReAllocateHeap( 230000, 2541b0 ) Program received signal SIGTRAP, Trace/breakpoint trap. 0x77fa018d in ?? () (gdb) c Continuing. -------------------------- Thanks! Kris Thielemans From peter.oliver@aquila-networks.co.uk Fri Nov 15 09:30:00 2002 From: peter.oliver@aquila-networks.co.uk (Oliver, Peter) Date: Fri, 15 Nov 2002 09:30:00 -0000 Subject: Preventing X server resets Message-ID: <6B0EDF5A1525D5119C000008C786454845D3A0@ntkfem02.meb.co.uk> I'm using XDMCP for my session, from where I run X applications on various different servers. If the machine I logged onto with XDMCP is rebooted, or suffers network difficulties, the X server resets and I loose my whole session. I would prefer the X server and it's remaining clients to continue running, so that I can just start a window manager on a different box and carry on working. Is there some way to prevent this reset from happening? I gave the -noreset option a try but it made no difference. -- Peter Oliver Midrange Services Aquila Networks Services Ltd **************************************************************************************************** Confidentiality: This e-mail and any files transmitted with it are confidential and intended solely for the use of the individual or entity to whom they are addressed. If you have received this e-mail in error, use of this information (including disclosure, copying or distribution) may be unlawful. Please notify postmaster@aquila-networks.co.uk. and delete the message immediately. Security: Internet e-mail is not a 100% secure communications medium. Viruses: This e-mail (and any attachments) has been checked (using Sophos Sweep 3.58 + patches) and found to be clean from any virus infection before leaving. Therefore neither Aquila Networks Services Ltd nor Midlands Electricity plc or any of their group undertakings (as defined by the Companies Act 1989) (together referred to as the "Companies") accept legal responsibility for this message or liability for the consequences of any computer viruses which may have been transmitted by this e-mail. Monitoring: All electronic communications with the Companies may be monitored in accordance with the UK Regulation of Investigatory Powers Act, Lawful Business Practice Regulations, 2000. If you do not consent to such monitoring, you should contact the sender of this e-mail. Aquila Networks Services Limited, Registered office: Whittington Hall, Whittington, Worcester, WR5 2RB Registered in England and Wales number 3600545 This e-mail may be sent on behalf of any of the Companies. **************************************************************************************************** From kris.thielemans@csc.mrc.ac.uk Fri Nov 15 09:34:00 2002 From: kris.thielemans@csc.mrc.ac.uk (Thielemans, Kris) Date: Fri, 15 Nov 2002 09:34:00 -0000 Subject: depth in pixmap Message-ID: <292581CF68F7D31182440090273CE0B17847A1@icex8.cc.ic.ac.uk> Hi, do I gather correctly from the FAQ that it is impossible to open an depth 8 window and display and 8 depth ZPixmap on a 24 bit depth screen? It seems that the depth settings are largerly ignored (aside from size issues). That is, I don't seem to get an error message at all when I ask for 8bit depth, but then it does not seem to work properly. Is this a general restrictiion of X servers, or only of XFree on Windows? Oh, while I'm taking some bandwith here. Can anybody point me to some online documentation on how to put up a bitmap in 24bit mode? (I'm constructing my bitmap myself, and do that in 8bit mode with ZPixmap that essentially indexes in a colormap, but I get the impression that my ZPixmap has to be 24bit per pixel now. What format is it in? Is the colormap ignored?) Thanks for any help! Kris Thielemans From Alexander.Gottwald@s1999.tu-chemnitz.de Fri Nov 15 09:36:00 2002 From: Alexander.Gottwald@s1999.tu-chemnitz.de (Alexander Gottwald) Date: Fri, 15 Nov 2002 09:36:00 -0000 Subject: X11 and Heavy loadbalancing? In-Reply-To: <018101c28cb8$a18b0970$4c64a8c0@ibsfreiburg.de> Message-ID: choice15@gmx.de wrote: > The I/O Traffic producing by the Apps on X-Serverside (Harddisk access to > the Partitions) I assume thadt a lot of Officeuser thadt would connect to > the X-Server, slow down the > Machine. You can only connect one Officeuser to a XServer .-----. .----. .----. o | | | | | | -+- <----> |_____| <----> | | | | | ------ | | | | / \ / \ |____| |____| -------- Officeuser Terminal Cluster (XServer) But the Officeuser can of course open several office applications on the cluster. > With Oracle IFS, (Fileservermodule in the AppServer) the > Filesystemoperations > would be redirect to the Databasesystem (more and faster then ext2/ext3 or > Raiser) > while using the Databaseengine to lookup for the File. Cool. But what about the overhead. Store a 2MB file and require 5MB storage in the database. > The Idea: > > Layer 1: > > The Oracle 9i R2 J2EE Applicationserver (Internetfilesystem - IFS-Module) > managing the in-comming Filerequests and handles, takes care vor > Failoversituations and delegating > Requests to other RealApplication Cluster. > > Layer 2: > > The Oracle 9i R2 Databasesystem handle the IFS-Fileobjects and put it into > its Tablepsaces (Databasefiles and its Pratitions) as an Datarecord (BLOB) buzzword overflow error > Next Questions: > Ist there an JAVA (or J2EE) Implementation of an X11 > Server avaiable thadt can be used for studying? ^^^^^ do you mean that? weird X bye ago NP: Apoptygma Berzerk - Bitch -- Alexander.Gottwald@informatik.tu-chemnitz.de http://www.gotti.org ICQ: 126018723 From Alexander.Gottwald@s1999.tu-chemnitz.de Fri Nov 15 10:59:00 2002 From: Alexander.Gottwald@s1999.tu-chemnitz.de (Alexander Gottwald) Date: Fri, 15 Nov 2002 10:59:00 -0000 Subject: Preventing X server resets In-Reply-To: <6B0EDF5A1525D5119C000008C786454845D3A0@ntkfem02.meb.co.uk> Message-ID: Oliver, Peter wrote: > I'm using XDMCP for my session, from where I run X applications on > various different servers. If the machine I logged onto with XDMCP is > rebooted, or suffers network difficulties, the X server resets and I > loose my whole session. I would prefer the X server and it's remaining > clients to continue running, so that I can just start a window manager > on a different box and carry on working. Is there some way to prevent > this reset from happening? I gave the -noreset option a try but it made > no difference. There is no way to prevent this. If the remote host reboots, you'll loose all session information anyway since the XServer is only the display. Image you are working locally with a computer and it resets. Do you expect that you can still see what was last on the graphiccard? The same is with the XServer. It only displays what the program wanted to show you. NP: Apoptygma Berzerk - Snutt 7 -- Alexander.Gottwald@informatik.tu-chemnitz.de http://www.gotti.org ICQ: 126018723 From Alexander.Gottwald@s1999.tu-chemnitz.de Fri Nov 15 11:02:00 2002 From: Alexander.Gottwald@s1999.tu-chemnitz.de (Alexander Gottwald) Date: Fri, 15 Nov 2002 11:02:00 -0000 Subject: depth in pixmap In-Reply-To: <292581CF68F7D31182440090273CE0B17847A1@icex8.cc.ic.ac.uk> Message-ID: Thielemans, Kris wrote: > Hi, > > do I gather correctly from the FAQ that it is impossible to open an depth 8 > window and display and 8 depth ZPixmap on a 24 bit depth screen? > > It seems that the depth settings are largerly ignored (aside from size > issues). That is, I don't seem to get an error message at all when I ask for > 8bit depth, but then it does not seem to work properly. > > > Is this a general restrictiion of X servers, or only of XFree on Windows? > Oh, while I'm taking some bandwith here. Can anybody point me to some online > documentation on how to put up a bitmap in 24bit mode? (I'm constructing my > bitmap myself, and do that in 8bit mode with ZPixmap that essentially > indexes in a colormap, but I get the impression that my ZPixmap has to be > 24bit per pixel now. What format is it in? Is the colormap ignored?) maybe the -fullscreen option helps. For some -engine modes it changes the displaydepth for the requested depth. If you don't use fullscreen, the depth setting is ignored. bye ago NP: Apoptygma Berzerk - Paranoia -- Alexander.Gottwald@informatik.tu-chemnitz.de http://www.gotti.org ICQ: 126018723 From huntharo@msu.edu Fri Nov 15 11:11:00 2002 From: huntharo@msu.edu (Harold L Hunt II) Date: Fri, 15 Nov 2002 11:11:00 -0000 Subject: X11 and Heavy loadbalancing? In-Reply-To: References: <016701c28ca6$9d058680$4c64a8c0@ibsfreiburg.de> <200211160031.02642.rasjidw@openminddev.net> <3DD4FB5D.8050403@msu.edu> <018101c28cb8$a18b0970$4c64a8c0@ibsfreiburg.de> Message-ID: <3DD54417.2000506@msu.edu> I still don't understand you, but if you want a Java-based X Server, then there certainly is one available. It is called WeirdX and it is available here, licensed under the GPL: http://www.jcraft.com/weirdx/ Harold choice15@gmx.de wrote: >>Yup, I am equally confused. >> >> > >I am realy sorry > > >>Keep in mind that the X Server is ``serving'' your display, mouse, and >>keyboard hardware to applications that would like to utilize them. A >>``client'' of your X Server is utilizing the display, mouse, and >>keyboard on the X Server by drawing a window and accepting user input >>via the mouse and keyboard. >> >> > >Ok, my Syntax for my Request is an little bit urly wurly. >(I know thadt the Client has the hardest Job on a X-Session, >but it was no clear to me how much is the X-Server involved at this Time) > > > >>Alexander is right: clustering the X Server makes absolutely no sense. >> How can you server multiple instances of your display, mouse, and >>keyboard? Why would you want to? >> >> > >The I/O Traffic producing by the Apps on X-Serverside (Harddisk access to >the Partitions) I assume thadt a lot of Officeuser thadt would connect to >the X-Server, slow down the >Machine. > >With Oracle IFS, (Fileservermodule in the AppServer) the >Filesystemoperations >would be redirect to the Databasesystem (more and faster then ext2/ext3 or >Raiser) >while using the Databaseengine to lookup for the File. > >The Idea: > >Layer 1: > >The Oracle 9i R2 J2EE Applicationserver (Internetfilesystem - IFS-Module) >managing the in-comming Filerequests and handles, takes care vor >Failoversituations and delegating >Requests to other RealApplication Cluster. > >Layer 2: > >The Oracle 9i R2 Databasesystem handle the IFS-Fileobjects and put it into >its Tablepsaces (Databasefiles and its Pratitions) as an Datarecord (BLOB) > >Next Questions: >Ist there an JAVA (or J2EE) Implementation of an X11 >Server avaiable thadt can be used for studying? > >Is it heavy to implement the Programmlgoic (Functional?) if C/C++ to Java >Translation is necesarry? > >Thanks > > > From huntharo@msu.edu Fri Nov 15 11:14:00 2002 From: huntharo@msu.edu (Harold L Hunt II) Date: Fri, 15 Nov 2002 11:14:00 -0000 Subject: heap errors when running in gdb In-Reply-To: <292581CF68F7D31182440090273CE0B17847A0@icex8.cc.ic.ac.uk> References: <292581CF68F7D31182440090273CE0B17847A0@icex8.cc.ic.ac.uk> Message-ID: <3DD544BE.8060902@msu.edu> Kris, You know, you bring up a good point. I used to use gdb on Cygwin all the time for debugging both XWin.exe and non-X applications that I write. However, gdb has been broken for me on Cygwin for months now; it never works properly anymore. I think I recall CGF insisting that gdb works for him, so I must be doing something wrong. I do recall getting the SIGTRAP errors, and I generally have to kill gdb via Task Manager anytime I try to use it, but I do not recall getting any HEAP errors. I don't know what to tell you :( Harold Thielemans, Kris wrote: >Hi, > >I'm trying to debug my X program. However, when I run it in gdb, I get a >SIGTRAP when stepping over XOpenDisplay(""). Continuing I get it another >time (sorry, not exactly sure where), continuing, my program runs fine >(except for the bugs that I introduce...). >Should this worry me? > >I've downloaded cygwin an dXfree 1 week ago, so am running the latest of >everything. > >gdb screenshot: >--------------- > >warning: HEAP[test_display.exe]: >warning: Heap block at 002541A8 modified at 002544FA past requested size of >34a > > >Program received signal SIGTRAP, Trace/breakpoint trap. >0x77fa018d in ?? () >(gdb) c >Continuing. >warning: HEAP[test_display.exe]: >warning: Invalid Address specified to RtlReAllocateHeap( 230000, 2541b0 ) > > >Program received signal SIGTRAP, Trace/breakpoint trap. >0x77fa018d in ?? () >(gdb) c >Continuing. > >-------------------------- > > >Thanks! > > >Kris Thielemans > > From huntharo@msu.edu Fri Nov 15 12:21:00 2002 From: huntharo@msu.edu (Harold L Hunt II) Date: Fri, 15 Nov 2002 12:21:00 -0000 Subject: Preventing X server resets In-Reply-To: <6B0EDF5A1525D5119C000008C786454845D3A0@ntkfem02.meb.co.uk> References: <6B0EDF5A1525D5119C000008C786454845D3A0@ntkfem02.meb.co.uk> Message-ID: <3DD546F2.4070703@msu.edu> Peter, Let me rephrase your question and ask you if it makes sense: ``If I am talking on the phone to my mother and she unplugs her phone, can I just continue talking to her?'' The answer is no. You have established a connection with a server that is supposed to manage your X session... if that server fails, or if the connection to it is unreliable, then you X Session is terminated. Unfortunately, the way the system is designed is that applications you launch from your X session are managed by the remote XDMCP machine... if that machine goes down there is no way to transfer control of those applications to another machine. You basically have a system problem here: 1) Take steps to stop the machine from crashing or being rebooted (this may involve convincing your sysadmin to change his ways, via a baseball bat if necessary) 2) Remedy the network connection problems between you and the server. There should not be such problems, and the X protocol generally deals quite well with long-distance connections. For example, I XDMCP into my home machine which sits on a cable modem that has 256 kbits/sec upstream... my connection paths to this machine go through many thousands of miles of Internet links before arriving at my laptop machine, yet the connection is responsive and reliable. If you are on a local network and you have problems, then you have some inherent flaw in your network that must be resolved. 3) If you can't do anything about the machine or the network, then you need to adjust your quality-of-service expectations. With that being said, you may be able to alter your working habits, such as opening remote applications via ssh with X forwarding... this will tend to be a little less resource intensive that opening a full XDMCP session on the remote machine (http://xfree86.cygwin.com/docs/ug/using-remote-apps.html#using-remote-apps-ssh). I hope that clarifies the way X works and I hope it gives you a few other ideas to try. Harold Oliver, Peter wrote: >I'm using XDMCP for my session, from where I run X applications on >various different servers. If the machine I logged onto with XDMCP is >rebooted, or suffers network difficulties, the X server resets and I >loose my whole session. I would prefer the X server and it's remaining >clients to continue running, so that I can just start a window manager >on a different box and carry on working. Is there some way to prevent >this reset from happening? I gave the -noreset option a try but it made >no difference. > > > From huntharo@msu.edu Fri Nov 15 12:34:00 2002 From: huntharo@msu.edu (Harold L Hunt II) Date: Fri, 15 Nov 2002 12:34:00 -0000 Subject: depth in pixmap In-Reply-To: <292581CF68F7D31182440090273CE0B17847A1@icex8.cc.ic.ac.uk> References: <292581CF68F7D31182440090273CE0B17847A1@icex8.cc.ic.ac.uk> Message-ID: <3DD547A7.9060207@msu.edu> Kris, You gathered correctly. The depth parameter is only used in fullscreen mode where we can actually change the display depth to match the requested depth. In windowed mode we are stuck with the display depth that Windows is currently running at. Other X Servers support 8 bit visuals on top of 24 bit visuals, but Cygwin/XFree86 does not currently have this support. There is an experimental feature (enabled with -pseudoemulation, I think) that creates an 8 bit visual, however, this visual does not have a real colormap and we do not translate between colormap colors and 24 bit colors... in other words, the colors will be all messed up, but you may find this acceptable. Harold Thielemans, Kris wrote: >Hi, > >do I gather correctly from the FAQ that it is impossible to open an depth 8 >window and display and 8 depth ZPixmap on a 24 bit depth screen? > >It seems that the depth settings are largerly ignored (aside from size >issues). That is, I don't seem to get an error message at all when I ask for >8bit depth, but then it does not seem to work properly. > > >Is this a general restrictiion of X servers, or only of XFree on Windows? > > >Oh, while I'm taking some bandwith here. Can anybody point me to some online >documentation on how to put up a bitmap in 24bit mode? (I'm constructing my >bitmap myself, and do that in 8bit mode with ZPixmap that essentially >indexes in a colormap, but I get the impression that my ZPixmap has to be >24bit per pixel now. What format is it in? Is the colormap ignored?) > > >Thanks for any help! > >Kris Thielemans > > From cgf@redhat.com Fri Nov 15 12:46:00 2002 From: cgf@redhat.com (Christopher Faylor) Date: Fri, 15 Nov 2002 12:46:00 -0000 Subject: Hey hey, I now have the emacs 100% cpu usage bug too [CGF, this one is for you] In-Reply-To: <661-Thu14Nov2002195158+0000-starksb@ebi.ac.uk> References: <3DD3F96E.4010705@msu.edu> <661-Thu14Nov2002195158+0000-starksb@ebi.ac.uk> Message-ID: <20021115202204.GB5230@redhat.com> On Thu, Nov 14, 2002 at 07:51:59PM +0000, David Starks-Browning wrote: >Harold, > >I identify the latest snapshot without the problem here: > > And, for the record, David reports that the *latest* snapshot seems to solve his problem. Note that there were multiple snapshots generated yesterday so if you grabbed one and it didn't work, it's worthwhile to grab the latest. cgf From starksb@ebi.ac.uk Fri Nov 15 12:49:00 2002 From: starksb@ebi.ac.uk (David Starks-Browning) Date: Fri, 15 Nov 2002 12:49:00 -0000 Subject: Hey hey, I now have the emacs 100% cpu usage bug too [CGF, this one is for you] In-Reply-To: <20021115202204.GB5230@redhat.com> References: <3DD3F96E.4010705@msu.edu> <661-Thu14Nov2002195158+0000-starksb@ebi.ac.uk> <20021115202204.GB5230@redhat.com> Message-ID: <9910-Fri15Nov2002203400+0000-starksb@ebi.ac.uk> On Friday 15 Nov 02, Christopher Faylor writes: > Note that there were multiple snapshots generated yesterday so if you > grabbed one and it didn't work, it's worthwhile to grab the latest. Multiple versions dated 2002-11-14? Could that explain why Bill still sees the problem with his 2002-11-14 snapshot? David From huntharo@msu.edu Fri Nov 15 13:02:00 2002 From: huntharo@msu.edu (Harold L Hunt II) Date: Fri, 15 Nov 2002 13:02:00 -0000 Subject: Hey hey, I now have the emacs 100% cpu usage bug too [CGF, this one is for you] In-Reply-To: <3DD3F96E.4010705@msu.edu> References: <3DD3F96E.4010705@msu.edu> <661-Thu14Nov2002195158+0000-starksb@ebi.ac.uk> <20021115202204.GB5230@redhat.com> <9910-Fri15Nov2002203400+0000-starksb@ebi.ac.uk> Message-ID: <3DD55D11.8030503@msu.edu> On a side note, I didn't see an answer to my question about why the cygwin1.dll version number does not agree with the cygwin package version number (1.3.15-1 vs. 1.3.15-2, respectively). Is setup.exe goofing, was the version number of the DLL not bumped on accident, or are the version numbers commonly out of agreement for valid reasons? Harold David Starks-Browning wrote: >On Friday 15 Nov 02, Christopher Faylor writes: > > >>Note that there were multiple snapshots generated yesterday so if you >>grabbed one and it didn't work, it's worthwhile to grab the latest. >> >> > >Multiple versions dated 2002-11-14? > >Could that explain why Bill still sees the problem with his 2002-11-14 >snapshot? > >David > > > From cgf@redhat.com Fri Nov 15 13:34:00 2002 From: cgf@redhat.com (Christopher Faylor) Date: Fri, 15 Nov 2002 13:34:00 -0000 Subject: Hey hey, I now have the emacs 100% cpu usage bug too [CGF, this one is for you] In-Reply-To: <3DD55D11.8030503@msu.edu> References: <3DD3F96E.4010705@msu.edu> <661-Thu14Nov2002195158+0000-starksb@ebi.ac.uk> <20021115202204.GB5230@redhat.com> <9910-Fri15Nov2002203400+0000-starksb@ebi.ac.uk> <3DD55D11.8030503@msu.edu> Message-ID: <20021115204939.GA4814@redhat.com> On Fri, Nov 15, 2002 at 03:46:09PM -0500, Harold L Hunt II wrote: >On a side note, I didn't see an answer to my question about why the >cygwin1.dll version number does not agree with the cygwin package >version number (1.3.15-1 vs. 1.3.15-2, respectively). Is setup.exe >goofing, was the version number of the DLL not bumped on accident, or >are the version numbers commonly out of agreement for valid reasons? The cygwin version number is 1.3.15. There is no -1 or -2 so the only way to know what version of the cygwin *package* you have is to use cygcheck. In other words the -x is only used for the package version numbering. cgf From huntharo@msu.edu Fri Nov 15 14:03:00 2002 From: huntharo@msu.edu (Harold L Hunt II) Date: Fri, 15 Nov 2002 14:03:00 -0000 Subject: Hey hey, I now have the emacs 100% cpu usage bug too [CGF, this one is for you] In-Reply-To: <3DD3F96E.4010705@msu.edu> References: <3DD3F96E.4010705@msu.edu> <661-Thu14Nov2002195158+0000-starksb@ebi.ac.uk> <20021115202204.GB5230@redhat.com> Message-ID: <3DD560EC.7070707@msu.edu> Chris, The latest 2002-11-14 snapshot works for me. Emacs launches without freezing. Harold Christopher Faylor wrote: >On Thu, Nov 14, 2002 at 07:51:59PM +0000, David Starks-Browning wrote: > > >>Harold, >> >>I identify the latest snapshot without the problem here: >> >> >> >> > >And, for the record, David reports that the *latest* snapshot seems to >solve his problem. > >Note that there were multiple snapshots generated yesterday so if you >grabbed one and it didn't work, it's worthwhile to grab the latest. > >cgf > > From cgf@redhat.com Fri Nov 15 14:07:00 2002 From: cgf@redhat.com (Christopher Faylor) Date: Fri, 15 Nov 2002 14:07:00 -0000 Subject: Hey hey, I now have the emacs 100% cpu usage bug too [CGF, this one is for you] In-Reply-To: <9910-Fri15Nov2002203400+0000-starksb@ebi.ac.uk> References: <3DD3F96E.4010705@msu.edu> <661-Thu14Nov2002195158+0000-starksb@ebi.ac.uk> <20021115202204.GB5230@redhat.com> <9910-Fri15Nov2002203400+0000-starksb@ebi.ac.uk> Message-ID: <20021115213524.GA27583@redhat.com> On Fri, Nov 15, 2002 at 08:34:00PM +0000, David Starks-Browning wrote: >On Friday 15 Nov 02, Christopher Faylor writes: >> Note that there were multiple snapshots generated yesterday so if you >> grabbed one and it didn't work, it's worthwhile to grab the latest. > >Multiple versions dated 2002-11-14? > >Could that explain why Bill still sees the problem with his 2002-11-14 >snapshot? Yes, that's why I mentioned this, actually. It occurred to me as I was typing in the response. FWIW, I've just generated a *new* snapshot so there is a 2002-11-15 version up there now. So, that's the one to try. No confusion about dates necessary. cgf From jc.gervais@videotron.ca Fri Nov 15 14:13:00 2002 From: jc.gervais@videotron.ca (Jean-Claude Gervais) Date: Fri, 15 Nov 2002 14:13:00 -0000 Subject: Newbie question - Message-ID: <006f01c28cf2$b5c5ab40$6501a8c0@sprymusic.com> Is there a way to invoke XDMCP AFTER the fact? Once I have started a local window manager, I'd like to do an XDMCP query, but running XWin again creates a second instance of X that is independent of my current window session. I tried running XDM ?!? And it replies only root wants to run xdm... But there is no user called root on my system... Thanks. From huntharo@msu.edu Fri Nov 15 14:24:00 2002 From: huntharo@msu.edu (Harold L Hunt II) Date: Fri, 15 Nov 2002 14:24:00 -0000 Subject: Newbie question - In-Reply-To: <006f01c28cf2$b5c5ab40$6501a8c0@sprymusic.com> References: <006f01c28cf2$b5c5ab40$6501a8c0@sprymusic.com> Message-ID: <3DD5700F.5070800@msu.edu> Jean-Claude, No. XDMCP manages your entire X Windows session. Either you use it at startup or you don't use it at all. If all you want is a local window manager and remote applications, then you should launch XWin with your local window manager, then ssh into your remote host with X forwarding enabled and launch your X Clients in the background (e.g. ``xterm&''). What did you envision would happen if you were running a local window manager and you logged into a remote XDMCP session at the same time, assuming that this was possible? Did you assume that the window managers would share the screen, that a new window would popup with the XDMCP session? What were you envisioning? Harold Harold Jean-Claude Gervais wrote: >Is there a way to invoke XDMCP AFTER the fact? >Once I have started a local window manager, I'd like to do an XDMCP query, >but running XWin again creates a second instance of X that is independent of >my current window session. >I tried running XDM ?!? And it replies only root wants to run xdm... But >there is no user called root on my system... >Thanks. > > > From davidf@sjsoft.com Fri Nov 15 15:13:00 2002 From: davidf@sjsoft.com (David Fraser) Date: Fri, 15 Nov 2002 15:13:00 -0000 Subject: Running XDMCP "server" References: <006f01c28cf2$b5c5ab40$6501a8c0@sprymusic.com> Message-ID: <3DD57164.5000300@sjsoft.com> Jean-Claude Gervais wrote: >I tried running XDM ?!? And it replies only root wants to run xdm... But >there is no user called root on my system... >Thanks. > > > An equal and opposite reaction... Is it possible to run XDMCP as a "server" (sorry probably wrong terminology) on the cygwin side, so I can run say Xnest from Linux, connect to XDMCP on Cygwin, login...? And what does the xdm running as root message mean ... I even tried creating a user called root and that didn't work... Just out of interest David From rrschulz@cris.com Fri Nov 15 15:17:00 2002 From: rrschulz@cris.com (Randall R Schulz) Date: Fri, 15 Nov 2002 15:17:00 -0000 Subject: X11 and Heavy loadbalancing? In-Reply-To: <013101c28c8f$cd03de70$4c64a8c0@ibsfreiburg.de> References: <9E035BE80785AA4EAA456959ECB4A30D03426ED8@nt036.an.sopra> Message-ID: <5.1.0.14.2.20021115141353.031757a8@pop3.cris.com> Hi, Since the native GUI model for Java programs running on Unix and Linux hosts is X11, any and all Java GUI applications running on such hosts are inherently able to have their human user interaction take place on a separate host (or X terminal) from the host on which they execute. Likewise, multiple application clients (in the X sense of client--an application that wants to interact with a user via keyboard, moust and raster display) can share a single server (again, in the X sense--i.e., user interaction hardware). This should make it possible to handle migration or load balancing of the Java application while the user remains at a single workstation. So, any Java software with an AWT or Swing GUI when running on a Unix platform with X support (all of them except MacOS X, I believe) should be able to do what I think you're contemplating. Now usually one does not put conventional Java GUIs on J2EE applications (to my limited knowledge), but I doubt there's any technical reason why it could not be done. Is this at all an answer to your question? Randall Schulz Mountain View, CA USA At 02:14 2002-11-15, choice15@gmx.de wrote: >Hi all, > >At my Connectiontoolprojekt (Win-GUI-Client for Cygwin) >i have think by my self whats happend if a heavy load Situation is comming >up and How can it be solved? > >Is there an Way to Make XFree scalable or is there an J2EE based Container >for a Free XFree avaiable thadt can be integrated as Part of a Java >Serverapplication- >Cluster such as ORACLE 9iAS Appserver Modul? > >(Oracle self has implemented an E-Mailserver, na Fileserver, an Faxserver, > LDAP and so thadt resides in the Applicationserver Middlewarelayer, thadt >can be empowered by an Oracle Realapplication Cluster thadt Spans over the > Network to other Machines they are Member of the Cluster) > >If no Project is launched at this Time then my X.NET Projekt at >Sourceforge will by Upgraded to this Projektfeature. > >http://sourceforge.net/projects/ibsxnet/ > >Greetings Randy From rasjidw@openminddev.net Fri Nov 15 15:28:00 2002 From: rasjidw@openminddev.net (Rasjid Wilcox) Date: Fri, 15 Nov 2002 15:28:00 -0000 Subject: Preventing X server resets In-Reply-To: <6B0EDF5A1525D5119C000008C786454845D3A0@ntkfem02.meb.co.uk> References: <6B0EDF5A1525D5119C000008C786454845D3A0@ntkfem02.meb.co.uk> Message-ID: <200211161007.44331.rasjidw@openminddev.net> On Sat, 16 Nov 2002 2:41 am, Oliver, Peter wrote: > I'm using XDMCP for my session, from where I run X applications on > various different servers. If the machine I logged onto with XDMCP is > rebooted, or suffers network difficulties, the X server resets and I > loose my whole session. I would prefer the X server and it's remaining > clients to continue running, so that I can just start a window manager > on a different box and carry on working. Is there some way to prevent > this reset from happening? I gave the -noreset option a try but it made > no difference. As other posts have indicated, you can't solve this with XDMCP. The only (open source) solution that I'm aware of is to use VNC. There are several different VNC versions out there. http://www.realvnc.com is the new version by the original developers. (There is also Tridia VNC, Tight VNC, esVNC and probably others.) This adds an extra layer between the user and the applications. In essence VNC runs a virtual X-Server on the machine running the applications. (Actually, it could be some other machine, but lets keep this simple.) To illustrate, suppose you have a machine 'Server', and a machine 'Desktop'. The user is sitting in front of 'Desktop', and the applications live on 'Server'. With XDMCP: Process Machine Application A Server | | X Protocol | X-Server Desktop With VNC: Process Machine Application A Server | | X Protocol | VNC Server Server | | VNC Protocol | VNC Client Desktop | | X Protocol | X-Server Desktop If the 'Desktop' is running Windows, you don't need the last step, since there is a native Windows VNC Client. The advantage with VNC is you can kill the VNC client and not lose you X-Session. You can for example, log in at work (using VNC), leave stuff running but kill the VNC client, go home, and re-connect with a new VNC client at home, and still be running the original session you left going at work. The disadvantage (over a LAN) is the 'smoothness' of the display, although I believe the new versions are pretty good. You also can't use XDMCP, so no nice login screen. But for keeping an X-Session going even when your desktop crashes, it is just what the doctor ordered. (VNC is also useful for low bandwidth connections.) Anyway, since there is a Win32 VNC Client (and server), this is not somewhat offtop for this list. OTOH, I wonder what the performance of the *nix vnc client would be under XFree-Cygwin? Might have a look sometime. Cheers, Rasjid. From rasjidw@openminddev.net Fri Nov 15 15:37:00 2002 From: rasjidw@openminddev.net (Rasjid Wilcox) Date: Fri, 15 Nov 2002 15:37:00 -0000 Subject: Preventing X server resets In-Reply-To: <6B0EDF5A1525D5119C000008C786454845D3A0@ntkfem02.meb.co.uk> References: <6B0EDF5A1525D5119C000008C786454845D3A0@ntkfem02.meb.co.uk> Message-ID: <200211161007.44331.rasjidw@openminddev.net> On Sat, 16 Nov 2002 2:41 am, Oliver, Peter wrote: > I'm using XDMCP for my session, from where I run X applications on > various different servers. If the machine I logged onto with XDMCP is > rebooted, or suffers network difficulties, the X server resets and I > loose my whole session. I would prefer the X server and it's remaining > clients to continue running, so that I can just start a window manager > on a different box and carry on working. Is there some way to prevent > this reset from happening? I gave the -noreset option a try but it made > no difference. As other posts have indicated, you can't solve this with XDMCP. The only (open source) solution that I'm aware of is to use VNC. There are several different VNC versions out there. http://www.realvnc.com is the new version by the original developers. (There is also Tridia VNC, Tight VNC, esVNC and probably others.) This adds an extra layer between the user and the applications. In essence VNC runs a virtual X-Server on the machine running the applications. (Actually, it could be some other machine, but lets keep this simple.) To illustrate, suppose you have a machine 'Server', and a machine 'Desktop'. The user is sitting in front of 'Desktop', and the applications live on 'Server'. With XDMCP: Process Machine Application A Server | | X Protocol | X-Server Desktop With VNC: Process Machine Application A Server | | X Protocol | VNC Server Server | | VNC Protocol | VNC Client Desktop | | X Protocol | X-Server Desktop If the 'Desktop' is running Windows, you don't need the last step, since there is a native Windows VNC Client. The advantage with VNC is you can kill the VNC client and not lose you X-Session. You can for example, log in at work (using VNC), leave stuff running but kill the VNC client, go home, and re-connect with a new VNC client at home, and still be running the original session you left going at work. The disadvantage (over a LAN) is the 'smoothness' of the display, although I believe the new versions are pretty good. You also can't use XDMCP, so no nice login screen. But for keeping an X-Session going even when your desktop crashes, it is just what the doctor ordered. (VNC is also useful for low bandwidth connections.) Anyway, since there is a Win32 VNC Client (and server), this is not somewhat offtop for this list. OTOH, I wonder what the performance of the *nix vnc client would be under XFree-Cygwin? Might have a look sometime. Cheers, Rasjid. From jc.gervais@videotron.ca Fri Nov 15 15:45:00 2002 From: jc.gervais@videotron.ca (Jean-Claude Gervais) Date: Fri, 15 Nov 2002 15:45:00 -0000 Subject: Preventing X server resets In-Reply-To: <200211161007.44331.rasjidw@openminddev.net> Message-ID: <007001c28cfd$17747d80$6501a8c0@sprymusic.com> Hi, Would xmove also be a possibility? From what I understand, xmove can be used to disconnect an X session from a host without the session actually closing. You can then "move" the display to another machineand resume where you left off.. You can also simply reattach to the X session from the machine that originally requested it. Is that what you're after? -----Original Message----- From: cygwin-xfree-owner@cygwin.com [mailto:cygwin-xfree-owner@cygwin.com]On Behalf Of Rasjid Wilcox Sent: Friday, November 15, 2002 6:08 PM To: cygwin-xfree@cygwin.com; Oliver, Peter; 'cygwin-xfree@cygwin.com' Subject: Re: Preventing X server resets On Sat, 16 Nov 2002 2:41 am, Oliver, Peter wrote: > I'm using XDMCP for my session, from where I run X applications on > various different servers. If the machine I logged onto with XDMCP is > rebooted, or suffers network difficulties, the X server resets and I > loose my whole session. I would prefer the X server and it's remaining > clients to continue running, so that I can just start a window manager > on a different box and carry on working. Is there some way to prevent > this reset from happening? I gave the -noreset option a try but it made > no difference. As other posts have indicated, you can't solve this with XDMCP. The only (open source) solution that I'm aware of is to use VNC. There are several different VNC versions out there. http://www.realvnc.com is the new version by the original developers. (There is also Tridia VNC, Tight VNC, esVNC and probably others.) This adds an extra layer between the user and the applications. In essence VNC runs a virtual X-Server on the machine running the applications. (Actually, it could be some other machine, but lets keep this simple.) To illustrate, suppose you have a machine 'Server', and a machine 'Desktop'. The user is sitting in front of 'Desktop', and the applications live on 'Server'. With XDMCP: Process Machine Application A Server | | X Protocol | X-Server Desktop With VNC: Process Machine Application A Server | | X Protocol | VNC Server Server | | VNC Protocol | VNC Client Desktop | | X Protocol | X-Server Desktop If the 'Desktop' is running Windows, you don't need the last step, since there is a native Windows VNC Client. The advantage with VNC is you can kill the VNC client and not lose you X-Session. You can for example, log in at work (using VNC), leave stuff running but kill the VNC client, go home, and re-connect with a new VNC client at home, and still be running the original session you left going at work. The disadvantage (over a LAN) is the 'smoothness' of the display, although I believe the new versions are pretty good. You also can't use XDMCP, so no nice login screen. But for keeping an X-Session going even when your desktop crashes, it is just what the doctor ordered. (VNC is also useful for low bandwidth connections.) Anyway, since there is a Win32 VNC Client (and server), this is not somewhat offtop for this list. OTOH, I wonder what the performance of the *nix vnc client would be under XFree-Cygwin? Might have a look sometime. Cheers, Rasjid. From jc.gervais@videotron.ca Fri Nov 15 15:49:00 2002 From: jc.gervais@videotron.ca (Jean-Claude Gervais) Date: Fri, 15 Nov 2002 15:49:00 -0000 Subject: Running XDMCP "server" In-Reply-To: <3DD57164.5000300@sjsoft.com> Message-ID: <007101c28cfe$96971220$6501a8c0@sprymusic.com> *snort* I can't help but laugh, David! No, not at your predicament, but rather at the funny coincidence that you and I are both looking at the same problem but from opposite ends! LOL So I take it that you're running Windows, and you'd like Windows to be the "server" (you're right - probably the wrong terminology here) and permit Linux boxes to XDMCP to your Windows machine? If that is the case, I *think* your Windows machine should run Xnest and your Linux machines should then connect to it. Looks like I'm probably backward... OK, more reading of the docs is in order. I will get back to you if I figure anything out. Please do the same. Thanks Jean-Claude -----Original Message----- From: cygwin-xfree-owner@cygwin.com [mailto:cygwin-xfree-owner@cygwin.com]On Behalf Of David Fraser Sent: Friday, November 15, 2002 5:13 PM To: cygwin-xfree@cygwin.com Subject: Re: Running XDMCP "server" Jean-Claude Gervais wrote: >I tried running XDM ?!? And it replies only root wants to run xdm... But >there is no user called root on my system... >Thanks. > > > An equal and opposite reaction... Is it possible to run XDMCP as a "server" (sorry probably wrong terminology) on the cygwin side, so I can run say Xnest from Linux, connect to XDMCP on Cygwin, login...? And what does the xdm running as root message mean ... I even tried creating a user called root and that didn't work... Just out of interest David From rasjidw@openminddev.net Fri Nov 15 17:00:00 2002 From: rasjidw@openminddev.net (Rasjid Wilcox) Date: Fri, 15 Nov 2002 17:00:00 -0000 Subject: Newbie question - In-Reply-To: <006f01c28cf2$b5c5ab40$6501a8c0@sprymusic.com> References: <006f01c28cf2$b5c5ab40$6501a8c0@sprymusic.com> Message-ID: <200211161037.26254.rasjidw@openminddev.net> On Sat, 16 Nov 2002 9:02 am, Jean-Claude Gervais wrote: > Is there a way to invoke XDMCP AFTER the fact? > Once I have started a local window manager, I'd like to do an XDMCP query, > but running XWin again creates a second instance of X that is independent > of my current window session. > I tried running XDM ?!? And it replies only root wants to run xdm... But > there is no user called root on my system... > Thanks. You could try $ Xnest :1 -query This will give you an XDMCP session in a window inside your current XSession. Rasjid. From jc.gervais@videotron.ca Fri Nov 15 17:31:00 2002 From: jc.gervais@videotron.ca (Jean-Claude Gervais) Date: Fri, 15 Nov 2002 17:31:00 -0000 Subject: Newbie question - In-Reply-To: <3DD5700F.5070800@msu.edu> Message-ID: <007201c28d01$0617c520$6501a8c0@sprymusic.com> Hi Harold! OK, I'll tell you what I'm up to: What I do these days is start XWin -rootless -query host I have the host set up so that I log in using gnome, and I have set the remote Gnome to NOT set a background. That way, all I have is the Gnome taskbar, which I dock on the top of my monitor while the Windows taskbar is docked at the bottom of the monitor. That way, it really is quite like being logged onto both computers simultaneously. The only thing is, I haven't figured out how to run local X applications at the same time. I'd like WindowMaker's desktop launcher come up on the display also. I could probably run a bash shell as a Windows console mode app and from it start some X applications, but this seems inelegant. I'm trying to get all three at the same time, and then, (hopefully) hook Xwinclip into the chain and be able to paste data from one computer to another... Does that sound cogent? I can't really be sure, often I've noticed there are even better ways of doing what I want with *nix, only I am still ignorant of many of them. Thanks -----Original Message----- From: cygwin-xfree-owner@cygwin.com [mailto:cygwin-xfree-owner@cygwin.com]On Behalf Of Harold L Hunt II Sent: Friday, November 15, 2002 5:07 PM To: cygwin-xfree@cygwin.com Subject: Re: Newbie question - Jean-Claude, No. XDMCP manages your entire X Windows session. Either you use it at startup or you don't use it at all. If all you want is a local window manager and remote applications, then you should launch XWin with your local window manager, then ssh into your remote host with X forwarding enabled and launch your X Clients in the background (e.g. ``xterm&''). What did you envision would happen if you were running a local window manager and you logged into a remote XDMCP session at the same time, assuming that this was possible? Did you assume that the window managers would share the screen, that a new window would popup with the XDMCP session? What were you envisioning? Harold Harold Jean-Claude Gervais wrote: >Is there a way to invoke XDMCP AFTER the fact? >Once I have started a local window manager, I'd like to do an XDMCP query, >but running XWin again creates a second instance of X that is independent of >my current window session. >I tried running XDM ?!? And it replies only root wants to run xdm... But >there is no user called root on my system... >Thanks. > > > From lists.ASkwar@email-server.info Fri Nov 15 17:54:00 2002 From: lists.ASkwar@email-server.info (Alexander Skwar) Date: Fri, 15 Nov 2002 17:54:00 -0000 Subject: Getting AltGr on German keyboard to work Message-ID: <20021115234832.GB28397@teich.Garten.DigitalProjects.com> Hello! I'm trying to get the AltGr key on my Dell Precision m50 keyboard to work with a German keyboard layout. The notebook is running Windows XP SP 1 and latest cygwin. The "plain" keys like y and z work fine. However, umlauts like ?, ? and ? don't get displayed at all. And also the AltGr key (for characters like | or @) doesn't seem to work at all. Pressing AltGr shows me these signals when running xev: KeyPress event, serial 26, synthetic NO, window 0x2400001, root 0x36, subw 0x0, time 2220092, (58,87), root:(1242,107), state 0x10, keycode 37 (keysym 0xffe3, Control_L), same_screen YES, XLookupString gives 0 characters: "" KeyPress event, serial 26, synthetic NO, window 0x2400001, root 0x36, subw 0x0, time 2220092, (58,87), root:(1242,107), state 0x14, keycode 113 (keysym 0xff7e, Mode_switch), same_screen YES, XLookupString gives 0 characters: "" KeyRelease event, serial 26, synthetic NO, window 0x2400001, root 0x36, subw 0x0, time 2220112, (58,87), root:(1242,107), state 0x2014, keycode 37 (keysym 0xffe3, Control_L), same_screen YES, XLookupString gives 0 characters: "" KeyRelease event, serial 26, synthetic NO, window 0x2400001, root 0x36, subw 0x0, time 2220112, (58,87), root:(1242,107), state 0x2010, keycode 113 (keysym 0xff7e, Mode_switch), same_screen YES, XLookupString gives 0 characters: "" When I press Alt Gr on my Linux desktop, I just get the Mode_switch keysyms. When I press ?, xev shows that it get's the "odiaresis" keysym just fine and in the characters line it shows the ?. What do I have to do, to get the Alt Gr key to work (most important) and also the umlauts? I'd really like to get a fix on the server side, because (once setup) I'll connect to quite a number of different hosts running all sorts of OS, like HP-UX 11.00, Solaris and Linux. I don't know if all of these machines have xmodmap installed. Thanks, Alexander Skwar -- How to quote: http://learn.to/quote (german) http://quote.6x.to (english) Homepage: http://www.iso-top.biz | Jabber: askwar@a-message.de iso-top.biz - Die g?nstige Art an Linux Distributionen zu kommen Uptime: 2 days 5 hours 21 minutes From kennyho80@softhome.net Sat Nov 16 03:21:00 2002 From: kennyho80@softhome.net (Kenny) Date: Sat, 16 Nov 2002 03:21:00 -0000 Subject: Origin (Where You From?) Message-ID: Hi, Where about on the Globe do you reside? (In other words, Where You From?) Best regards, Kenny Ho This email is sent in compliance with strict anti-abuse and NO SPAM regulations. Your address was collected as a result of posting to a link, a classified ad or you are on a list that I have purchased. To remove your E-mail address, simply reply with REMOVE on SUBJECT line. From rasjidw@openminddev.net Sat Nov 16 05:34:00 2002 From: rasjidw@openminddev.net (Rasjid Wilcox) Date: Sat, 16 Nov 2002 05:34:00 -0000 Subject: Newbie question - In-Reply-To: <007201c28d01$0617c520$6501a8c0@sprymusic.com> References: <007201c28d01$0617c520$6501a8c0@sprymusic.com> Message-ID: <200211161231.32468.rasjidw@openminddev.net> On Sat, 16 Nov 2002 10:45 am, Jean-Claude Gervais wrote: > > What I do these days is start XWin -rootless -query host > I have the host set up so that I log in using gnome, and I have set the > remote Gnome to NOT set a background. That way, all I have is the Gnome > taskbar, which I dock on the top of my monitor while the Windows taskbar is > docked at the bottom of the monitor. > > That way, it really is quite like being logged onto both computers > simultaneously. > > The only thing is, I haven't figured out how to run local X applications at > the same time. I'd like WindowMaker's desktop launcher come up on the > display also. I could probably run a bash shell as a Windows console mode > app and from it start some X applications, but this seems inelegant. Based on the above, I'm not sure that Xnest will do what you want after all. Instead, I've had success using your original: $ start XWin -rootless -query host Then in your XDMCP session, run $ xhost +localhost to allow local X apps to connect to the server. (I'm sure you could get fancy and do some proper Xauthority stuff here.) I then created a script called 'startxapp.bat': Essentially just the first part of 'startxwin.bat' which sets up the path, and then: run %1 Create a shortcut to this, passing the name of the local X app you wish to run as a paramater. It all works very nicely. Rasjid. From papafox888@hotmail.com Sat Nov 16 06:19:00 2002 From: papafox888@hotmail.com (Papa Fox) Date: Sat, 16 Nov 2002 06:19:00 -0000 Subject: X11 and Heavy loadbalancing? References: <9E035BE80785AA4EAA456959ECB4A30D03426ED8@nt036.an.sopra> <5.1.0.14.2.20021115141353.031757a8@pop3.cris.com> Message-ID: Hi, I *think* I understand what choice15@gmx.de is trying to do. The normal term for what he is attempting is host integration. This is where host-based applications are integrated into web-based applications. The most common example of this is the IBM product Host On Demand. The obvious way to do host integration with X Windows is to use the same approach as HOD. Use a java applet implementation of X (WeirdX) and place the applet in a web page. This approach has the same problem as HOD - a very heavy applet download. PapaFox ----- Original Message ----- From: "Randall R Schulz" To: Sent: Saturday, November 16, 2002 9:24 AM Subject: Re: X11 and Heavy loadbalancing? > Hi, > > Since the native GUI model for Java programs running on Unix and Linux > hosts is X11, any and all Java GUI applications running on such hosts are > inherently able to have their human user interaction take place on a > separate host (or X terminal) from the host on which they execute. > Likewise, multiple application clients (in the X sense of client--an > application that wants to interact with a user via keyboard, moust and > raster display) can share a single server (again, in the X sense--i.e., > user interaction hardware). This should make it possible to handle > migration or load balancing of the Java application while the user remains > at a single workstation. > > So, any Java software with an AWT or Swing GUI when running on a Unix > platform with X support (all of them except MacOS X, I believe) should be > able to do what I think you're contemplating. > > Now usually one does not put conventional Java GUIs on J2EE applications > (to my limited knowledge), but I doubt there's any technical reason why it > could not be done. > > Is this at all an answer to your question? > > Randall Schulz > Mountain View, CA USA > > > At 02:14 2002-11-15, choice15@gmx.de wrote: > >Hi all, > > > >At my Connectiontoolprojekt (Win-GUI-Client for Cygwin) > >i have think by my self whats happend if a heavy load Situation is comming > >up and How can it be solved? > > > >Is there an Way to Make XFree scalable or is there an J2EE based Container > >for a Free XFree avaiable thadt can be integrated as Part of a Java > >Serverapplication- > >Cluster such as ORACLE 9iAS Appserver Modul? > > > >(Oracle self has implemented an E-Mailserver, na Fileserver, an Faxserver, > > LDAP and so thadt resides in the Applicationserver Middlewarelayer, thadt > >can be empowered by an Oracle Realapplication Cluster thadt Spans over the > > Network to other Machines they are Member of the Cluster) > > > >If no Project is launched at this Time then my X.NET Projekt at > >Sourceforge will by Upgraded to this Projektfeature. > > > >http://sourceforge.net/projects/ibsxnet/ > > > >Greetings > > > Randy > From wislaj23@wp.pl Sat Nov 16 06:20:00 2002 From: wislaj23@wp.pl (Artur Hefczyc) Date: Sat, 16 Nov 2002 06:20:00 -0000 Subject: Origin (Where You From?) Message-ID: <004301c28d62$6c3550a0$8d364cd4@kobit> > Where about on the Globe do you reside? > (In other words, Where You From?) Poland Artur Hefczyc From mailspam1@robf.de Sat Nov 16 06:54:00 2002 From: mailspam1@robf.de (Robert Fenk) Date: Sat, 16 Nov 2002 06:54:00 -0000 Subject: xwinclip test 6 hacked to leave selection untouched In-Reply-To: <3DD436DF.8060304@msu.edu> References: <15827.58527.984865.157209@sunbayer71.informatik.tu-muenchen.de> <3DD3F749.6050101@msu.edu> <15828.13363.90218.549106@sunbayer71.informatik.tu-muenchen.de> <3DD436DF.8060304@msu.edu> Message-ID: <15830.18748.297901.771397@sunbayer71.informatik.tu-muenchen.de> I have not subscribed to cygwin-xfree and I will not ... On Thursday, November 14, 2002 at 18:50:55, Harold L Hunt II wrote: > Hmm... I forgot that not grabbing the selection causes the > problem that you mention below, namely, that we are no > longer notified of further changes to the X Selection. Dear Harold, the event PropertyNotify with event.xproperty.atom == XA_CUT_BUFFER is the solution (hopefully) ... give it a try! I could not find anything about X11 selection change detection as for MS-windows, but I have been using the event above to detect changes and at least for the applications (xterm/xemacs) I am using it seems to work well! They cause this event for the root window in case of a selection change and so xwinclip knows that it has to grab the new content and it does not require to grab the selection ownership!!! > In that case, your patch won't make much of a difference, as > there is already an earlier version of xwinclip that has > that precise behavior. It does not make much sense to toggle > back and forth between releasing verions that do or do not > grab the selection. I have no idea about the earlier version, but I think mine is different since it is detecting changes without grabbing ownership of the selection! From j_tetazoo@hotmail.com Sat Nov 16 07:08:00 2002 From: j_tetazoo@hotmail.com (Thomas Chadwick) Date: Sat, 16 Nov 2002 07:08:00 -0000 Subject: Newbie question - Message-ID: The problem with what you describe is that you can have 1 and only 1 window manager per X display at a time. In other words, you can't connect through XDMCP, which launches a window manager, and then launch a local window manager on the same display. I don't see what would be wrong with running 2 instances of XWin. You could start the first one with DISPLAY=:0, and do the XDMCP query and all that. The second instance of XWin could be on DISPLAY=:1 and launch a local window manager. The only thing that would give away the fact that they are not the same DISPLAY would be the fact that they would apear to occupy different "planes" in the "z-axis". You should be able to make this relatively seemless in your "startxwin" script. Come to think of it, an alternative to launching a second XWin instance would be to use the Windows Start button to launch local X apps. As I've seen mentioned here before, you should be able to write a simple "startxapp.bat" script which sets the path, DISPLAY, etc. and then runs an x app that can be passed in as a command-line argument. You could then create a group off the Start button with a different shortcut for each X app you want to be able to launch. The drawback to this would be that you'll get a separate icon for each local X app launched in this manner which, when un-minimized, is nothing but an empty box. >From: Jean-Claude Gervais >Reply-To: cygwin-xfree@cygwin.com >To: cygwin-xfree@cygwin.com >Subject: RE: Newbie question - >Date: Fri, 15 Nov 2002 18:45:05 -0500 > >Hi Harold! > > OK, I'll tell you what I'm up to: > >What I do these days is start XWin -rootless -query host >I have the host set up so that I log in using gnome, and I have set the >remote Gnome to NOT set a background. That way, all I have is the Gnome >taskbar, which I dock on the top of my monitor while the Windows taskbar is >docked at the bottom of the monitor. > >That way, it really is quite like being logged onto both computers >simultaneously. > >The only thing is, I haven't figured out how to run local X applications at >the same time. I'd like WindowMaker's desktop launcher come up on the >display also. I could probably run a bash shell as a Windows console mode >app and from it start some X applications, but this seems inelegant. > >I'm trying to get all three at the same time, and then, (hopefully) hook >Xwinclip into the chain and be able to paste data from one computer to >another... > >Does that sound cogent? I can't really be sure, often I've noticed there >are >even better ways of doing what I want with *nix, only I am still ignorant >of >many of them. > >Thanks > > > >-----Original Message----- >From: cygwin-xfree-owner@cygwin.com >[mailto:cygwin-xfree-owner@cygwin.com]On >Behalf Of Harold L Hunt II >Sent: Friday, November 15, 2002 5:07 PM >To: cygwin-xfree@cygwin.com >Subject: Re: Newbie question - > >Jean-Claude, > >No. > >XDMCP manages your entire X Windows session. Either you use it at >startup or you don't use it at all. > >If all you want is a local window manager and remote applications, then >you should launch XWin with your local window manager, then ssh into >your remote host with X forwarding enabled and launch your X Clients in >the background (e.g. ``xterm&''). > >What did you envision would happen if you were running a local window >manager and you logged into a remote XDMCP session at the same time, >assuming that this was possible? Did you assume that the window >managers would share the screen, that a new window would popup with the >XDMCP session? What were you envisioning? > >Harold > >Harold > >Jean-Claude Gervais wrote: > > >Is there a way to invoke XDMCP AFTER the fact? > >Once I have started a local window manager, I'd like to do an XDMCP >query, > >but running XWin again creates a second instance of X that is independent >of > >my current window session. > >I tried running XDM ?!? And it replies only root wants to run xdm... But > >there is no user called root on my system... > >Thanks. > > > > > > _________________________________________________________________ Add photos to your messages with MSN 8. Get 2 months FREE*. http://join.msn.com/?page=features/featuredemail From jc.gervais@videotron.ca Sat Nov 16 07:39:00 2002 From: jc.gervais@videotron.ca (Jean-Claude Gervais) Date: Sat, 16 Nov 2002 07:39:00 -0000 Subject: XWin.exe <--> xinit link Message-ID: <008001c28d7b$3bb114f0$6501a8c0@sprymusic.com> Hello, If I start xinit, it in turn seems to start XWin. My question is What parameters does it use to start XWin? Where does it get the parameters? Is it executing a script? From wislaj23@wp.pl Sat Nov 16 07:40:00 2002 From: wislaj23@wp.pl (Artur Hefczyc) Date: Sat, 16 Nov 2002 07:40:00 -0000 Subject: XWin.exe <--> xinit link References: <008001c28d7b$3bb114f0$6501a8c0@sprymusic.com> Message-ID: <001301c28d80$3f964c20$8d364cd4@kobit> > What parameters does it use to start XWin? Where does it get the parameters? You can find manual and parameters for XWin from command: man XWin > Is it executing a script? /usr/X11R6/bin/startxwin.bat /usr/X11R6/bin/startxwin.sh Artur Hefczyc -- Artur Hefczyc http://wttools.sf.net/ From jc.gervais@videotron.ca Sat Nov 16 08:32:00 2002 From: jc.gervais@videotron.ca (Jean-Claude Gervais) Date: Sat, 16 Nov 2002 08:32:00 -0000 Subject: XWin.exe <--> xinit link In-Reply-To: <001301c28d80$3f964c20$8d364cd4@kobit> Message-ID: <008301c28d81$f8b786f0$6501a8c0@sprymusic.com> Thanks Artur, But that's not quite the info I was looking for; You see, when I type startxwin.bat or startxwin.sh, I get a DIFFERENT result than from starting xinit by itself. Yet, xinit does start XWin, only it is starting it in windowed mode... Which is OK, but I'm just wondering WHERE does xinit get this from? Is it executing a script? -----Original Message----- From: cygwin-xfree-owner@cygwin.com [mailto:cygwin-xfree-owner@cygwin.com]On Behalf Of Artur Hefczyc Sent: Saturday, November 16, 2002 9:56 AM To: cygwin-xfree@cygwin.com Subject: Re: XWin.exe <--> xinit link > What parameters does it use to start XWin? Where does it get the parameters? You can find manual and parameters for XWin from command: man XWin > Is it executing a script? /usr/X11R6/bin/startxwin.bat /usr/X11R6/bin/startxwin.sh Artur Hefczyc -- Artur Hefczyc http://wttools.sf.net/ From wislaj23@wp.pl Sat Nov 16 09:44:00 2002 From: wislaj23@wp.pl (Artur Hefczyc) Date: Sat, 16 Nov 2002 09:44:00 -0000 Subject: XWin.exe <--> xinit link References: <008301c28d81$f8b786f0$6501a8c0@sprymusic.com> Message-ID: <001b01c28d86$70f8c1c0$8d364cd4@kobit> > But that's not quite the info I was looking for; > You see, when I type startxwin.bat or startxwin.sh, I get a DIFFERENT > result than from starting xinit by itself. > Yet, xinit does start XWin, only it is starting it in windowed mode... > Which is OK, but I'm just wondering WHERE does xinit get this from? Is it > executing a script? Hm, there is also similar to XWin info in system manual (in my installation) 'man xinit' under bash shell You get different results because these are different programs which use different runtime scripts. for XWin.exe all parameters are in startxwin.bat or startxwin.sh where it is executed. xinit.exe presents different approach for running xwindows environment. In my configuration it uses /etc/X11/xinit/xinitrc file to set all xwindows parameters. Look in these 2 files and everything should be clear I hope. I don't know yet how to run xinit in fullscreen mode. Maybe there are some parameters to X or xdm to set it but I don't know how. regards Artur Heczyc -- Artur Hefczyc http://wttools.sf.net/ From hyoung@operamail.com Sat Nov 16 10:09:00 2002 From: hyoung@operamail.com (Hansom Young) Date: Sat, 16 Nov 2002 10:09:00 -0000 Subject: Cygwin GNOME 1.4 binary packages Message-ID: <20021116154029.2874.qmail@operamail.com> Hi, guys! I've build nearly all the GNOME 1.4 core packages on Cygwin, following the hints and patches gaven out by Steven O'Brien (http://homepage.ntlworld.com/steven.obrien2). Although I haven't time to maintain them, I think they might be useful. But the problem is that I can't find a place to hold these packags. They need about 50M. Could anybody give me a hint? -- _______________________________________________ Get your free email from http://mymail.operamail.com Powered by Outblaze From cgf@redhat.com Sat Nov 16 11:55:00 2002 From: cgf@redhat.com (Christopher Faylor) Date: Sat, 16 Nov 2002 11:55:00 -0000 Subject: Origin (Where You From?) In-Reply-To: <004301c28d62$6c3550a0$8d364cd4@kobit> References: <004301c28d62$6c3550a0$8d364cd4@kobit> Message-ID: <20021116163326.GD6496@redhat.com> On Sat, Nov 16, 2002 at 12:22:06PM +0100, Artur Hefczyc wrote: >> Where about on the Globe do you reside? >> (In other words, Where You From?) >Poland > >Artur Hefczyc Um. This message spam. Even if it isn't spam, it's off-topic. Please don't respond to it. cgf From jc.gervais@videotron.ca Sat Nov 16 16:01:00 2002 From: jc.gervais@videotron.ca (Jean-Claude Gervais) Date: Sat, 16 Nov 2002 16:01:00 -0000 Subject: Cygwin GNOME 1.4 binary packages In-Reply-To: <20021116154029.2874.qmail@operamail.com> Message-ID: <008401c28d97$7f89ca70$6501a8c0@sprymusic.com> Howabout hosting the diffs on sourceforge.net? -----Original Message----- From: cygwin-xfree-owner@cygwin.com [mailto:cygwin-xfree-owner@cygwin.com]On Behalf Of Hansom Young Sent: Saturday, November 16, 2002 10:40 AM To: cygwin-xfree@cygwin.com Subject: Cygwin GNOME 1.4 binary packages Hi, guys! I've build nearly all the GNOME 1.4 core packages on Cygwin, following the hints and patches gaven out by Steven O'Brien (http://homepage.ntlworld.com/steven.obrien2). Although I haven't time to maintain them, I think they might be useful. But the problem is that I can't find a place to hold these packags. They need about 50M. Could anybody give me a hint? -- _______________________________________________ Get your free email from http://mymail.operamail.com Powered by Outblaze From dcalk@verizon.net Sat Nov 16 18:02:00 2002 From: dcalk@verizon.net (David Calkins) Date: Sat, 16 Nov 2002 18:02:00 -0000 Subject: XDMCP Message-ID: <5.1.1.6.0.20021116131019.00a96a70@mail.verizon.net> I'm trying to connect up to a machine at work using XDMCP. My home machine is Win2k + Cygwin + XFree86. I made sure to use the cygwin setup program to get the latest packages. I'm using the -query option to do this, i.e. XWin -depth 32 -engine 4 -fullscreen -refresh 85 -screen 0 1024 768 -query $remotehost I get the login screen, enter my username and password and attempt to login. For some reason, I just get bounced back to the login screen again. I've been unable to get this to work. Any ideas as to what could cause this? From jc.gervais@videotron.ca Sat Nov 16 20:15:00 2002 From: jc.gervais@videotron.ca (Jean-Claude Gervais) Date: Sat, 16 Nov 2002 20:15:00 -0000 Subject: XDMCP In-Reply-To: <5.1.1.6.0.20021116131019.00a96a70@mail.verizon.net> Message-ID: <008701c28daa$175d4360$6501a8c0@sprymusic.com> Maybe the session is starting up on the remote host, but then shutting down unexpectedly because of security or a file-not-found condition or something like that. It sounds like CygwinXFree IS working for you, because you say that you DO get the login screen, right? So it must be something in the remote session that is making your link go down... Sorry I can't help more. -----Original Message----- From: cygwin-xfree-owner@cygwin.com [mailto:cygwin-xfree-owner@cygwin.com]On Behalf Of David Calkins Sent: Saturday, November 16, 2002 1:11 PM To: cygwin-xfree@cygwin.com Subject: XDMCP I'm trying to connect up to a machine at work using XDMCP. My home machine is Win2k + Cygwin + XFree86. I made sure to use the cygwin setup program to get the latest packages. I'm using the -query option to do this, i.e. XWin -depth 32 -engine 4 -fullscreen -refresh 85 -screen 0 1024 768 -query $remotehost I get the login screen, enter my username and password and attempt to login. For some reason, I just get bounced back to the login screen again. I've been unable to get this to work. Any ideas as to what could cause this? From lapo@lapo.it Sat Nov 16 21:46:00 2002 From: lapo@lapo.it (Lapo Luchini) Date: Sat, 16 Nov 2002 21:46:00 -0000 Subject: Cygwin GNOME 1.4 binary packages In-Reply-To: <20021116154029.2874.qmail@operamail.com> References: <20021116154029.2874.qmail@operamail.com> Message-ID: <3DD6DC50.9070200@lapo.it> > > >I've build nearly all the GNOME 1.4 core packages on Cygwin, >following the hints and patches gaven out by Steven O'Brien (http://homepage.ntlworld.com/steven.obrien2). >Although I haven't time to maintain them, I think they might be useful. > Actually a mantainer is *needed* to have new packages, moreover those patches are a bit "unclean".. some times ago I decided to build those packages too, but the list told me that the correct way to do DLLs is to relibtoolize the package, and not creating custom scripts. I converted libungif in the "clean way" but I have too few time to convert all of them (though I would like to port at least glib and gtk someday, and maybe finisi freeciv gtk port), but they're not straightforward and I lack the necessary X-Windows know-how. Volunteers gladly accepted, as usual 0=) >Could anybody give me a hint? > Once good packages are created and a mantainer is found there is no problem in hosting them in cygwin official mirrors, I bet. Lapo -- Lapo 'Raist' Luchini lapo@lapo.it (PGP & X.509 keys available) http://www.lapo.it (ICQ UIN: 529796) -------------- next part -------------- A non-text attachment was scrubbed... Name: smime.p7s Type: application/x-pkcs7-signature Size: 3441 bytes Desc: S/MIME Cryptographic Signature URL: From hzhr@21cn.com Sat Nov 16 21:54:00 2002 From: hzhr@21cn.com (Huang.) Date: Sat, 16 Nov 2002 21:54:00 -0000 Subject: Cygwin GNOME 1.4 binary packages References: <1037491288.5587.ezmlm@cygwin.com> Message-ID: <3DD6F9D1.6080903@21cn.com> "Hansom Young" wrote: >> >>Hi, guys! >> >>I've build nearly all the GNOME 1.4 core packages on Cygwin, >>following the hints and patches gaven out by Steven O'Brien (http://homepage.ntlworld.com/steven.obrien2). >>Although I haven't time to maintain them, I think they might be useful. >> >>But the problem is that I can't find a place to hold these packags. They need about 50M. >> >>Could anybody give me a hint? >> >> Hi! Can these packages support NLS(or i18n, eg zh_CN locale)? I means i had built gtk1 once, but it can't display Chinese characters though I set the right gtkrc(even cp right one from Linux box), it seems that X fontset not work. Later i find that maybe because of the cygwin1.dll limited setlocale and mbstowcs series support, when i debug some X apps with multibyte characters(need fontset), i find if i use cygwin1.dll's setlocale, the multibyte characters can't display, but if i define X_LOCALE force X's setlocale to use _Xsetlocale, it is OK. Because the X lib has full setlocale (how about mbstowcs series?) implementation, i think. So, which setlocale your packages use? I hope GNOME can be parts of cygwin distribute. BTW: And how about GNOME2? I know GTK+2 can run under cygwin good. Does anyone try to port GNOME2 to cygwin? And to cygwin-developers list, when will cygwin1.dll have full setlocale and mbstowcs series support? Thanks. From bconway@alum.wpi.edu Sat Nov 16 23:41:00 2002 From: bconway@alum.wpi.edu (Brian J. Conway) Date: Sat, 16 Nov 2002 23:41:00 -0000 Subject: Moving windows in rootless mode not showing border Message-ID: <20021116231516.0e35d068.bconway@alum.wpi.edu> Greetings, I had a question about rootless mode (excellent work, BTW). I'm logged into a Solaris 2.6 XDMCP server and using CDE, and if I go to move a window, the window will move correctly, and I get the little square in the middle of the screen showing the coordinate position, but I don't see the silver border of the window I'm moving except within the existing window or any other X window. This is the only difference I've been able to see between -rootless mode and using Reflection X, which I'm trying to replace (our users have simple needs, but a rootless mode is one of them). Any ideas if this is an issue specific to Cygwin/XFree86 rootless mode or if there's somewhere else I should report it? I don't have screenshots on hand at the moment to send, but I can on Monday if people don't know what I'm talking about. Thanks in advance for your time, great work guys. -b From hyoung@operamail.com Sun Nov 17 05:57:00 2002 From: hyoung@operamail.com (Hansom Young) Date: Sun, 17 Nov 2002 05:57:00 -0000 Subject: Cygwin GNOME 1.4 binary packages Message-ID: <20021117054642.2149.qmail@operamail.com> I think it doesn't. I'm a Chinese guy,too. I've noticed that the Chinese charactor couldn't show up properly. But I have no time to investigate this. I share out these packages only in hope that they might be useful to those want to use GNOME applications under Cygwin, esp. for some lazy guys. And maybe we can take them just as a start of Cygwin GNOME project. BTW: How do you know that "GTK+2 can run under cygwin good"? You mean you have built GNOME2 packages under Cygwin, by saying that? PS: I'm not on the mailing list. Please CC me. ----- Original Message ----- From: "Huang." Date: Sun, 17 Nov 2002 10:07:13 +0800 To: Hansom Young Subject: Re: Cygwin GNOME 1.4 binary packages > "Hansom Young" wrote: > >> > >>Hi, guys! > >> > >>I've build nearly all the GNOME 1.4 core packages on Cygwin, > >>following the hints and patches gaven out by Steven O'Brien (http://homepage.ntlworld.com/steven.obrien2). > >>Although I haven't time to maintain them, I think they might be useful. > >> > >>But the problem is that I can't find a place to hold these packags. They need about 50M. > >> > >>Could anybody give me a hint? > >> > >> > Hi! Can these packages support NLS(or i18n, eg zh_CN locale)? I means i had built gtk1 once, > but it can't display Chinese characters though I set the right gtkrc(even cp right one from > Linux box), it seems that X fontset not work. > Later i find that maybe because of the cygwin1.dll limited setlocale and mbstowcs series support, > when i debug some X apps with multibyte characters(need fontset), i find if i use cygwin1.dll's setlocale, > the multibyte characters can't display, but if i define X_LOCALE force X's setlocale to use _Xsetlocale, it is OK. > Because the X lib has full setlocale (how about mbstowcs series?) implementation, i think. > So, which setlocale your packages use? I hope GNOME can be parts of cygwin distribute. > > BTW: And how about GNOME2? I know GTK+2 can run under cygwin good. > Does anyone try to port GNOME2 to cygwin? > And to cygwin-developers list, when will cygwin1.dll have full setlocale and mbstowcs series support? > > Thanks. > > > > -- _______________________________________________ Get your free email from http://mymail.operamail.com Powered by Outblaze From cgf-cygwin-xfree@redhat.com Sun Nov 17 06:31:00 2002 From: cgf-cygwin-xfree@redhat.com (Christopher Faylor) Date: Sun, 17 Nov 2002 06:31:00 -0000 Subject: cygwin GNOME 1.4 binary packages In-Reply-To: <3DD6F9D1.6080903@21cn.com> References: <1037491288.5587.ezmlm@cygwin.com> <3DD6F9D1.6080903@21cn.com> Message-ID: <20021117055459.GA20387@redhat.com> On Sun, Nov 17, 2002 at 10:07:13AM +0800, Huang. wrote: >And to cygwin-developers list, when will cygwin1.dll have full >setlocale and mbstowcs series support? I'm not sure why I always have to make this point but here goes: New features get added by people who care to add them. There is no conspiracy against adding top notch setlocale support. There is just no one interested in doing it, apparently. So, the answer to the question is "never" unless someone steps up to do the work. cgf From hzhr@21cn.com Sun Nov 17 07:31:00 2002 From: hzhr@21cn.com (Huang.) Date: Sun, 17 Nov 2002 07:31:00 -0000 Subject: Cygwin GNOME 1.4 binary packages References: <20021117054642.2149.qmail@operamail.com> Message-ID: <3DD74938.3090207@21cn.com> Hansom Young wrote: > I think it doesn't. > > I'm a Chinese guy,too. I've noticed that the Chinese charactor couldn't show up properly. But I have no time to investigate this. > Yes, what i guess is right, that is because of cygwin1.dll's limited setlocale support. I re-compile gtk1 with -DX_LOCALE flag defined today, find things OK, now gtk can display Chinese characters rightly! > I share out these packages only in hope that they might be useful to those want to use GNOME applications under Cygwin, esp. for some lazy guys. > And maybe we can take them just as a start of Cygwin GNOME project. > > BTW: How do you know that "GTK+2 can run under cygwin good"? > You mean you have built GNOME2 packages under Cygwin, by saying that? > Yes, see http://mail.gnome.org/archives/gtk-devel-list/2002-November/msg00025.html http://mail.gnome.org/archives/gtk-devel-list/2002-November/msg00050.html Good luck! > PS: I'm not on the mailing list. Please CC me. > > > From staf.verhaegen@imec.be Sun Nov 17 09:53:00 2002 From: staf.verhaegen@imec.be (Staf Verhaegen) Date: Sun, 17 Nov 2002 09:53:00 -0000 Subject: XDMCP References: <5.1.1.6.0.20021116131019.00a96a70@mail.verizon.net> Message-ID: <3DD7A05E.3448A0C4@imec.be> David Calkins wrote: > > I'm trying to connect up to a machine at work using XDMCP. My home machine > is Win2k + Cygwin + XFree86. I made sure to use the cygwin setup program > to get the latest packages. I'm using the -query option to do this, i.e. > XWin -depth 32 -engine 4 -fullscreen -refresh 85 -screen 0 1024 768 -query > $remotehost > I get the login screen, enter my username and password and attempt to > login. For some reason, I just get bounced back to the login screen > again. I've been unable to get this to work. > > Any ideas as to what could cause this? > What is the machine you are connecting to ? Is it running a CDE environment ? I've seen this happen for CDE when not all the needed fonts are available for the CDE session. Contact your system adminstrator to see if they have a font server running in your company. Staf. From dcalk@verizon.net Sun Nov 17 17:32:00 2002 From: dcalk@verizon.net (David Calkins) Date: Sun, 17 Nov 2002 17:32:00 -0000 Subject: XDMCP In-Reply-To: <3DD7A05E.3448A0C4@imec.be> References: <5.1.1.6.0.20021116131019.00a96a70@mail.verizon.net> Message-ID: <5.1.1.6.0.20021117093034.00a86f10@mail.verizon.net> At 02:57 PM 11/17/2002 +0100, you wrote: >David Calkins wrote: > > > > I'm trying to connect up to a machine at work using XDMCP. My home machine > > is Win2k + Cygwin + XFree86. I made sure to use the cygwin setup program > > to get the latest packages. I'm using the -query option to do this, i.e. > > XWin -depth 32 -engine 4 -fullscreen -refresh 85 -screen 0 1024 768 -query > > $remotehost > > I get the login screen, enter my username and password and attempt to > > login. For some reason, I just get bounced back to the login screen > > again. I've been unable to get this to work. > > > > Any ideas as to what could cause this? > > > >What is the machine you are connecting to ? Is it running a CDE environment ? >I've seen this happen for CDE when not all the needed fonts are available for >the CDE session. >Contact your system adminstrator to see if they have a font server running in >your company. > >Staf. Thanks for the reply. The machine I'm connecting to is running HP-UX and yes, CDE. wrt the font server. Is it a matter of me running a font server on my local machine or having a font server running on the machine I'm trying to connect to? If they're not running a font server and I'm able to get them to run one, does the configuration on my local box have to change? Dave From staf.verhaegen@imec.be Sun Nov 17 19:40:00 2002 From: staf.verhaegen@imec.be (Staf Verhaegen) Date: Sun, 17 Nov 2002 19:40:00 -0000 Subject: XDMCP References: <5.1.1.6.0.20021116131019.00a96a70@mail.verizon.net> <5.1.1.6.0.20021117093034.00a86f10@mail.verizon.net> Message-ID: <3DD7B663.94D06BB1@imec.be> David Calkins wrote: > > At 02:57 PM 11/17/2002 +0100, you wrote: > >David Calkins wrote: > > > > > > I'm trying to connect up to a machine at work using XDMCP. My home machine > > > is Win2k + Cygwin + XFree86. I made sure to use the cygwin setup program > > > to get the latest packages. I'm using the -query option to do this, i.e. > > > XWin -depth 32 -engine 4 -fullscreen -refresh 85 -screen 0 1024 768 -query > > > $remotehost > > > I get the login screen, enter my username and password and attempt to > > > login. For some reason, I just get bounced back to the login screen > > > again. I've been unable to get this to work. > > > > > > Any ideas as to what could cause this? > > > > > > >What is the machine you are connecting to ? Is it running a CDE environment ? > >I've seen this happen for CDE when not all the needed fonts are available for > >the CDE session. > >Contact your system adminstrator to see if they have a font server running in > >your company. > > > >Staf. > > Thanks for the reply. The machine I'm connecting to is running HP-UX and > yes, CDE. wrt the font server. Is it a matter of me running a font server > on my local machine or having a font server running on the machine I'm > trying to connect to? If they're not running a font server and I'm able to > get them to run one, does the configuration on my local box have to change? It is a matter to have the fonts available needed by the HP-UX CDE environment for your X server. This can be done by either copying the needed fonts from the HP machines to your local XFree86 installation (something I can't help with) or use one of the HP machines with the needed fonts as a font server. Anyway what happens when you select failsafe session during login ? Staf. From G-F-I@t-online.de Sun Nov 17 20:12:00 2002 From: G-F-I@t-online.de (G-F-I@t-online.de) Date: Sun, 17 Nov 2002 20:12:00 -0000 Subject: Window-95 (WIN95) and CYGWIN, unable to open display Message-ID: <200211171831.TAA27650@FIN01.herr.ger> Last week (14 of Nov. 2002) i downloaded CYGWIN, installed it on WIN98, all works fine. All WIN-Computers are connected in a LAN with my LINUX-Server. With CYGWIN on WIN98 i can do all, that i need: rlogin, rsh, ftp, telnet. And of course use CYGWIN as X-Server for programs, that run under linux. Now i wanted to install CYGWIN on a WIN95-computer, there i have problems: o as with WIN98 i used startxwin.sh, the X-Server starts, i can see it, it runs, i can move for instance the mouse. But then i can see the messages vom twm, xsetroot and xterm: .. unable to open display '127.0.0.1:0.0'. I could see, that the X-Server did something, changed colour to black, went off, came again. o To test what happens i startet first XWin.exe, waited until it was running, then i made: xhost +. Again the message: .. unable to open display '127.0.0.1:0.0'. The X-Server changed to black, diappeared, came again with the colour, before i made "xhost". o Then i made the next attempt: i startet XWin.exe, and tried on my LINUX-computer: DISPLAY=192.0.2.10:0.0 ; export DISPLAY ; xterm. I got the answer from the WIN-95-X-Server, that this is not allowed. This was what i expected, because xhost did not run correctly und WIN95-CYGWIN. o I made the next attempt: on WIN-95, under CYGWIN BASH, i made: telnet 192.0.2.112, i got the Login-Prompt from LINUX to enter the name, but when i typed the first letter of my Login-Name, this letter was endless repeated. I made the same attempt on another WIN-95- Computer, exakt the same, with telnet the first letter i entered was repeated endless. Then i testen on WIN-98, there telnet did all right. This shows: under WIN95 there is something other than in WIN98. Perhaps there is the problem, as the programs speak with the X-Server over net-moduls, as ist telnet does. rlogin and ftp worked correctly under WIN95, in opposite to telnet. All my computers have fixed IP-Adresses (WIN-95: 192.0.2.10, LINUX: 192.0.2.112). Perhaps you can help me. If not, i know, that CYGWIN only works fine with NEWER WIN-Operating-Systems. Perhaps i have an problem with errors in WIN-95. I made the test also on an newly installed WIN-95-computer, with ONLY WIN-95 installed, nothing other. Also on this computer i got the error-message " unable to open display ..", and also telnet repeats the firs letter of my Login-Name endless. Georg Fischer +------------------------------------------------------------------+ ! Georg Fischer, Amselweg 7, D-89281 Herrenstetten Germany ! ! Dipl.-Ing. (FH) Holztechnik ! ! Email: ==> G-F-I@t-online.de <== (best way to reach me) ! ! Internet: http://www.fischer-altenstadt.de ! ! Telefon: +49-8337-8646 ! ! Telefax: +49-8337-9118 ! +------------------------------------------------------------------+ From huntharo@msu.edu Sun Nov 17 21:05:00 2002 From: huntharo@msu.edu (Harold L Hunt II) Date: Sun, 17 Nov 2002 21:05:00 -0000 Subject: Window-95 (WIN95) and CYGWIN, unable to open display References: <200211171831.TAA27650@FIN01.herr.ger> Message-ID: <3DD8433D.5050009@msu.edu> Georg, You more than likely just got a bad version of the Cygwin or one of the Cygwin packages... we have been working on fixing a few bugs over the last few weeks. Please run Cygwin's setup.exe again and let it grab any packages that have been updated. Then report to us if you still have the same problems on Windows 95. Harold G-F-I@t-online.de wrote: > Last week (14 of Nov. 2002) i downloaded CYGWIN, installed it on > WIN98, all works fine. All WIN-Computers are connected in a LAN with > my LINUX-Server. With CYGWIN on WIN98 i can do all, that i need: > rlogin, rsh, ftp, telnet. And of course use CYGWIN as X-Server for > programs, that run under linux. > > Now i wanted to install CYGWIN on a WIN95-computer, there i have problems: > o as with WIN98 i used startxwin.sh, the X-Server starts, i can see it, > it runs, i can move for instance the mouse. But then i can see the > messages vom twm, xsetroot and xterm: .. > unable to open display '127.0.0.1:0.0'. I could see, that the X-Server > did something, changed colour to black, went off, came > again. > o To test what happens i startet first XWin.exe, waited until it was > running, then i made: xhost +. Again the message: .. unable to > open display '127.0.0.1:0.0'. The X-Server changed to black, diappeared, > came again with the colour, before i made "xhost". > o Then i made the next attempt: i startet XWin.exe, and tried on my > LINUX-computer: DISPLAY=192.0.2.10:0.0 ; export DISPLAY ; xterm. > I got the answer from the WIN-95-X-Server, that this is not allowed. > This was what i expected, because xhost did not run correctly und > WIN95-CYGWIN. > o I made the next attempt: on WIN-95, under CYGWIN BASH, i made: > telnet 192.0.2.112, i got the Login-Prompt from LINUX to enter the > name, but when i typed the first letter of my Login-Name, this letter > was endless repeated. I made the same attempt on another WIN-95- > Computer, exakt the same, with telnet the first letter i entered was > repeated endless. Then i testen on WIN-98, there telnet did all right. > This shows: under WIN95 there is something other than in WIN98. Perhaps > there is the problem, as the programs speak with the X-Server over > net-moduls, as ist telnet does. rlogin and ftp worked correctly under > WIN95, in opposite to telnet. > > All my computers have fixed IP-Adresses (WIN-95: 192.0.2.10, LINUX: 192.0.2.112). > > Perhaps you can help me. If not, i know, that CYGWIN only works fine with > NEWER WIN-Operating-Systems. Perhaps i have an problem with errors in WIN-95. > I made the test also on an newly > installed WIN-95-computer, with ONLY WIN-95 installed, nothing other. > Also on this computer i got the error-message " unable to open display ..", > and also telnet repeats the firs letter of my Login-Name endless. > > Georg Fischer > > +------------------------------------------------------------------+ > ! Georg Fischer, Amselweg 7, D-89281 Herrenstetten Germany ! > ! Dipl.-Ing. (FH) Holztechnik ! > ! Email: ==> G-F-I@t-online.de <== (best way to reach me) ! > ! Internet: http://www.fischer-altenstadt.de ! > ! Telefon: +49-8337-8646 ! > ! Telefax: +49-8337-9118 ! > +------------------------------------------------------------------+ From j_tetazoo@hotmail.com Sun Nov 17 23:39:00 2002 From: j_tetazoo@hotmail.com (Thomas Chadwick) Date: Sun, 17 Nov 2002 23:39:00 -0000 Subject: XWin.exe <--> xinit link Message-ID: RTFM! Do "man xinit" from the Cygwin command-line and read the 1st 3 paragraphs. >From: Jean-Claude Gervais >Reply-To: cygwin-xfree@cygwin.com >To: cygwin-xfree@cygwin.com >Subject: RE: XWin.exe <--> xinit link >Date: Sat, 16 Nov 2002 10:08:07 -0500 > >Thanks Artur, > > But that's not quite the info I was looking for; > > You see, when I type startxwin.bat or startxwin.sh, I get a DIFFERENT >result than from starting xinit by itself. > > Yet, xinit does start XWin, only it is starting it in windowed mode... >Which is OK, but I'm just wondering WHERE does xinit get this from? Is it >executing a script? > > >-----Original Message----- >From: cygwin-xfree-owner@cygwin.com >[mailto:cygwin-xfree-owner@cygwin.com]On >Behalf Of Artur Hefczyc >Sent: Saturday, November 16, 2002 9:56 AM >To: cygwin-xfree@cygwin.com >Subject: Re: XWin.exe <--> xinit link > > > What parameters does it use to start XWin? Where does it get the >parameters? >You can find manual and parameters for XWin from command: >man XWin > > > Is it executing a script? >/usr/X11R6/bin/startxwin.bat >/usr/X11R6/bin/startxwin.sh > >Artur Hefczyc >-- >Artur Hefczyc >http://wttools.sf.net/ _________________________________________________________________ Add photos to your e-mail with MSN 8. Get 2 months FREE*. http://join.msn.com/?page=features/featuredemail From jc.gervais@videotron.ca Sun Nov 17 23:48:00 2002 From: jc.gervais@videotron.ca (Jean-Claude Gervais) Date: Sun, 17 Nov 2002 23:48:00 -0000 Subject: XWin.exe <--> xinit link In-Reply-To: Message-ID: <000201c28eb8$dae67c20$6501a8c0@sprymusic.com> Thanks Thomas, The thing is, no matter what I put in those files, it either starts XWin with a border, or not at all. And when I do get it to start up, there is always a console mode window hanging around until I close it, and that closes XWin... *sigh* I AM trying to understand how all this stuff fits together, but I'm not having very much luck. -----Original Message----- From: cygwin-xfree-owner@cygwin.com [mailto:cygwin-xfree-owner@cygwin.com]On Behalf Of Thomas Chadwick Sent: Sunday, November 17, 2002 10:41 PM To: cygwin-xfree@cygwin.com Subject: RE: XWin.exe <--> xinit link RTFM! Do "man xinit" from the Cygwin command-line and read the 1st 3 paragraphs. >From: Jean-Claude Gervais >Reply-To: cygwin-xfree@cygwin.com >To: cygwin-xfree@cygwin.com >Subject: RE: XWin.exe <--> xinit link >Date: Sat, 16 Nov 2002 10:08:07 -0500 > >Thanks Artur, > > But that's not quite the info I was looking for; > > You see, when I type startxwin.bat or startxwin.sh, I get a DIFFERENT >result than from starting xinit by itself. > > Yet, xinit does start XWin, only it is starting it in windowed mode... >Which is OK, but I'm just wondering WHERE does xinit get this from? Is it >executing a script? > > >-----Original Message----- >From: cygwin-xfree-owner@cygwin.com >[mailto:cygwin-xfree-owner@cygwin.com]On >Behalf Of Artur Hefczyc >Sent: Saturday, November 16, 2002 9:56 AM >To: cygwin-xfree@cygwin.com >Subject: Re: XWin.exe <--> xinit link > > > What parameters does it use to start XWin? Where does it get the >parameters? >You can find manual and parameters for XWin from command: >man XWin > > > Is it executing a script? >/usr/X11R6/bin/startxwin.bat >/usr/X11R6/bin/startxwin.sh > >Artur Hefczyc >-- >Artur Hefczyc >http://wttools.sf.net/ _________________________________________________________________ Add photos to your e-mail with MSN 8. Get 2 months FREE*. http://join.msn.com/?page=features/featuredemail From swhatley@hal-pc.org Mon Nov 18 00:13:00 2002 From: swhatley@hal-pc.org (Steven Whatley) Date: Mon, 18 Nov 2002 00:13:00 -0000 Subject: Cygwin XFre86 -> Redhat XDM login Message-ID: Hi all, I've been reading man pages, FAQs, and everything I can think of under Cygwin, RedHat 7.1, and the XFree86 web site. I have been trying to figure this out off and on for months. However, I can not figure out how to run an XFree86 session under Cygwin on my WinXP Pro system to get a login session on my RH 7.1 system. I have played with the files in /etc/X11/xdm on the RH system. I played with XWin, xinit, and startx with -queue and -broadcast options under cygwin. All I get on the Cygwin side is no X11 window at all or a blank checkered default pattern X11 window. I do not seem to be getting any error messages besides "Giving up." I've been dealing with X11 for over 10 yers. But this XFree86 stuff is causing me to pull out my hair! BTW, XDM is running fine on the RH box and Gnome comes up just fine. I just don't keep a monitor attached to the system and the system is in another room. Any help to figure out what I am doing wrong will be really appreciated. Thanks! Steven :) -- trying to keep a happy face. From choice15@gmx.de Mon Nov 18 00:23:00 2002 From: choice15@gmx.de (choice15@gmx.de) Date: Mon, 18 Nov 2002 00:23:00 -0000 Subject: X11 and Heavy loadbalancing? References: <9E035BE80785AA4EAA456959ECB4A30D03426ED8@nt036.an.sopra> <5.1.0.14.2.20021115141353.031757a8@pop3.cris.com> Message-ID: <00b101c28ed5$8506f880$4c64a8c0@ibsfreiburg.de> ----- Original Message ----- From: "Papa Fox" To: Sent: Saturday, November 16, 2002 2:53 AM Subject: Re: X11 and Heavy loadbalancing? > Hi, > > I *think* I understand what choice15@gmx.de is trying to do. The normal > term for what he is attempting is host integration. This is where > host-based applications are integrated into web-based applications. The > most common example of this is the IBM product Host On Demand. > > The obvious way to do host integration with X Windows is to use the same > approach as HOD. Use a java applet implementation of X (WeirdX) and place > the applet in a web page. This approach has the same problem as HOD - a > very heavy applet download. > > PapaFox > > ----- Original Message ----- > From: "Randall R Schulz" > To: > Sent: Saturday, November 16, 2002 9:24 AM > Subject: Re: X11 and Heavy loadbalancing? > > > > Hi, > > > > Since the native GUI model for Java programs running on Unix and Linux > > hosts is X11, any and all Java GUI applications running on such hosts are > > inherently able to have their human user interaction take place on a > > separate host (or X terminal) from the host on which they execute. > > Likewise, multiple application clients (in the X sense of client--an > > application that wants to interact with a user via keyboard, moust and > > raster display) can share a single server (again, in the X sense--i.e., > > user interaction hardware). This should make it possible to handle > > migration or load balancing of the Java application while the user remains > > at a single workstation. > > > > So, any Java software with an AWT or Swing GUI when running on a Unix > > platform with X support (all of them except MacOS X, I believe) should be > > able to do what I think you're contemplating. > > > > Now usually one does not put conventional Java GUIs on J2EE applications > > (to my limited knowledge), but I doubt there's any technical reason why it > > could not be done. > > > > Is this at all an answer to your question? > > > > Randall Schulz > > Mountain View, CA USA > > > > > > At 02:14 2002-11-15, choice15@gmx.de wrote: > > >Hi all, > > > > > >At my Connectiontoolprojekt (Win-GUI-Client for Cygwin) > > >i have think by my self whats happend if a heavy load Situation is > comming > > >up and How can it be solved? > > > > > >Is there an Way to Make XFree scalable or is there an J2EE based > Container > > >for a Free XFree avaiable thadt can be integrated as Part of a Java > > >Serverapplication- > > >Cluster such as ORACLE 9iAS Appserver Modul? > > > > > >(Oracle self has implemented an E-Mailserver, na Fileserver, an > Faxserver, > > > LDAP and so thadt resides in the Applicationserver Middlewarelayer, > thadt > > >can be empowered by an Oracle Realapplication Cluster thadt Spans over > the > > > Network to other Machines they are Member of the Cluster) > > > > > >If no Project is launched at this Time then my X.NET Projekt at > > >Sourceforge will by Upgraded to this Projektfeature. > > > > > >http://sourceforge.net/projects/ibsxnet/ > > > > > >Greetings > > > > > > Randy > > > From jensen@physics.unr.edu Mon Nov 18 00:30:00 2002 From: jensen@physics.unr.edu (Lars Jensen) Date: Mon, 18 Nov 2002 00:30:00 -0000 Subject: Cygwin XFre86 -> Redhat XDM login Message-ID: Stephen, Are you sure you are running xdm and not gdm. If you're running the latter, then you need to edit gdm.conf to enable xdmcp. If you're running the former, I assume that xdm.conf must be edited the same way. Also check that your hosts.allow allows connections from the remote machine. Lars. -- Lars Jensen, TMCC/Vista B200, 7000 Dandini Blvd, Reno NV 89512-3999. Internet: , http://www.scsr.nevada.edu/~jensen Tel: 775.673.7113 FAX: 775.674.7592 From papafox888@hotmail.com Mon Nov 18 01:10:00 2002 From: papafox888@hotmail.com (Papa Fox) Date: Mon, 18 Nov 2002 01:10:00 -0000 Subject: Cygwin XFre86 -> Redhat XDM login References: Message-ID: Have you enabled XDMCP over internet? Depending on whether you are running XDM, KDM or GDM, check /etc/X11/xdm/xdm-config Comment out the appropriate line /etc/X11/xdm/kdmrc Set Enable=true for [Xdmcp] /etc/X11/gdm/gdm.conf You may also have to alter you firewall rules to allow UDP packets to port 177. PapaFox ----- Original Message ----- From: "Steven Whatley" To: Sent: Monday, November 18, 2002 4:20 PM Subject: Cygwin XFre86 -> Redhat XDM login > Hi all, > > I've been reading man pages, FAQs, and everything I can think of under > Cygwin, RedHat 7.1, and the XFree86 web site. I have been trying to > figure this out off and on for months. However, I can not figure out how > to run an XFree86 session under Cygwin on my WinXP Pro system to get a > login session on my RH 7.1 system. > > I have played with the files in /etc/X11/xdm on the RH system. I played > with XWin, xinit, and startx with -queue and -broadcast options > under cygwin. All I get on the Cygwin side is no X11 window at all or a > blank checkered default pattern X11 window. I do not seem to be getting > any error messages besides "Giving up." I've been dealing with X11 for > over 10 yers. But this XFree86 stuff is causing me to pull out my hair! > > BTW, XDM is running fine on the RH box and Gnome comes up just fine. I > just don't keep a monitor attached to the system and the system is in > another room. Any help to figure out what I am doing wrong will be really > appreciated. > > Thanks! > Steven :) -- trying to keep a happy face. > > From papafox888@hotmail.com Mon Nov 18 01:18:00 2002 From: papafox888@hotmail.com (Papa Fox) Date: Mon, 18 Nov 2002 01:18:00 -0000 Subject: XDMCP References: <5.1.1.6.0.20021116131019.00a96a70@mail.verizon.net> Message-ID: It looks like the unix login is happening. What's in ~/.xsession-errors? PapaFox ----- Original Message ----- From: "David Calkins" To: Sent: Sunday, November 17, 2002 5:11 AM Subject: XDMCP > I'm trying to connect up to a machine at work using XDMCP. My home machine > is Win2k + Cygwin + XFree86. I made sure to use the cygwin setup program > to get the latest packages. I'm using the -query option to do this, i.e. > XWin -depth 32 -engine 4 -fullscreen -refresh 85 -screen 0 1024 768 -query > $remotehost > I get the login screen, enter my username and password and attempt to > login. For some reason, I just get bounced back to the login screen > again. I've been unable to get this to work. > > Any ideas as to what could cause this? > > > From c_twiner@hotmail.com Mon Nov 18 01:39:00 2002 From: c_twiner@hotmail.com (Chris Twiner) Date: Mon, 18 Nov 2002 01:39:00 -0000 Subject: xwinclip test 6 hacked to leave selection untouched Message-ID: 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 properly on gcc 3.2. The problem being the -mno_cygwin option doesn't seem to work. The dll must be without cygwin1.dll given that as a default it is not placed inside ?:\windows\system. Maybe this is a point for another list. If the latest code is wanted I'll post it, I'm pretty much finished with what I want to do with it. I can't for example see the point in spending much more time on it if it never get's included. Chris _________________________________________________________________ The new MSN 8: advanced junk mail protection and 2 months FREE* http://join.msn.com/?page=features/junkmail From pavel.holejsovsky@st.com Mon Nov 18 04:07:00 2002 From: pavel.holejsovsky@st.com (Pavel Holejsovsky) Date: Mon, 18 Nov 2002 04:07:00 -0000 Subject: XWin.exe <--> xinit link References: Message-ID: <3DD8AE90.30506@st.com> I think you are looking for $HOME/.xserverrc file. E.g. mine contains: #! /bin/sh X -nowinkill -nodecoration -lesspointer -rootless BTW, this all seems to be documented in xinit man page, as pointed out by Thomas. Pavel jc.gervais@videotron.ca wrote: > Thanks Thomas, > > The thing is, no matter what I put in those files, it either starts XWin > with a border, or not at all. > > And when I do get it to start up, there is always a console mode window > hanging around until I close it, and that closes XWin... > > *sigh* I AM trying to understand how all this stuff fits together, but I'm > not having very much luck. > > > -----Original Message----- > From: cygwin-xfree-owner@cygwin.com [mailto:cygwin-xfree-owner@cygwin.com]On > Behalf Of Thomas Chadwick > Sent: Sunday, November 17, 2002 10:41 PM > To: cygwin-xfree@cygwin.com > Subject: RE: XWin.exe <--> xinit link > > RTFM! Do "man xinit" from the Cygwin command-line and read the 1st 3 > paragraphs. > > >>From: Jean-Claude Gervais >>Reply-To: cygwin-xfree@cygwin.com >>To: cygwin-xfree@cygwin.com >>Subject: RE: XWin.exe <--> xinit link >>Date: Sat, 16 Nov 2002 10:08:07 -0500 >> >>Thanks Artur, >> >> But that's not quite the info I was looking for; >> >> You see, when I type startxwin.bat or startxwin.sh, I get a > > DIFFERENT > >>result than from starting xinit by itself. >> >> Yet, xinit does start XWin, only it is starting it in windowed > > mode... > >>Which is OK, but I'm just wondering WHERE does xinit get this from? Is it >>executing a script? >> >> >>-----Original Message----- >>From: cygwin-xfree-owner@cygwin.com >>[mailto:cygwin-xfree-owner@cygwin.com]On >>Behalf Of Artur Hefczyc >>Sent: Saturday, November 16, 2002 9:56 AM >>To: cygwin-xfree@cygwin.com >>Subject: Re: XWin.exe <--> xinit link >> >> >>>What parameters does it use to start XWin? Where does it get the >> >>parameters? >>You can find manual and parameters for XWin from command: >>man XWin >> >> >>>Is it executing a script? >> >>/usr/X11R6/bin/startxwin.bat >>/usr/X11R6/bin/startxwin.sh >> >>Artur Hefczyc >>-- >>Artur Hefczyc >>http://wttools.sf.net/ > > > > _________________________________________________________________ > Add photos to your e-mail with MSN 8. Get 2 months FREE*. > http://join.msn.com/?page=features/featuredemail > From choice15@gmx.de Mon Nov 18 04:29:00 2002 From: choice15@gmx.de (choice15@gmx.de) Date: Mon, 18 Nov 2002 04:29:00 -0000 Subject: X11 and Heavy loadbalancing? References: <9E035BE80785AA4EAA456959ECB4A30D03426ED8@nt036.an.sopra> <5.1.0.14.2.20021115141353.031757a8@pop3.cris.com> Message-ID: <00b601c28ee3$667ca3c0$4c64a8c0@ibsfreiburg.de> > I *think* I understand what Jack is trying to do. The normal > term for what he is attempting is host integration. This is where > host-based applications are integrated into web-based applications. > The most common example of this is the IBM product Host On Demand. > > The obvious way to do host integration with X Windows is to use the same > approach as HOD. Use a java applet implementation of X (WeirdX) and place > the applet in a web page. This approach has the same problem as HOD - a > very heavy applet download. > > PapaFox Hmm, I think the Enduser should not use an Applet to use X-via Web. A More efficient Way is an normal Java Desktop-Application that can be autoupdated via the Webstartfeature (in JDK 1.4.0 Standandard allready involved) The original Projectplan was based on my Idea, to construct up an easy to use "Free-Software" CrossPlatform alternative against the commercial CITRIX / MS-Windows Terminalserver dominated Environment for Endcustomers with the Security of SSH and Highavaiability on Serverside (Disk I/O, Logon-Speed, Failoverc, Enterprisefeatures) On my Ressearche i have found: 1.An Applicationserver such as (commercial) Oracle 9iAS or JBoss (free) (J2EE 1.2-Compliant) brings up an scalable faulttolerant, scalable, highavaiabil Framework for Servercontainers. (Such as E-Mail, HTTP, SOAP, SMTP, POP3, Faxserver, X11, Filerserver and so on) 2. The ORACLE J2EE compliant Applicationserver has implemented a lot of this Features (called as CollaborationSuite) and all Servercontainers like E-mail server can be simply "checked " into the runnign AppServer (for Example: "java -jar ./myOnwnSMTPServer.jar") (it detects and installs the new J2EE Container automatically, by the Path of an XML-Installdefinitionfile) 3. The J2EE-Appserver Certificationprocess at SUN Microsystems restrict propritary Extensions to an J2EE Appllicationservers to enforce compatibility to the Java Enterprise Standard (J2EE ServerContainers can also run on JBoss (the OpenSource Applicationserver) 4. Java is Platform Independant and has rolebased Security Conecepts, it is working on every Environment, all J2EE ServerContainers can use this Features, the only things to do is, writing, code for the Serverside Support of XFree to Support Java X-Clients like Weired. 5. An other Critical Position is the Disk I/O-Traffic and the RAM usage by every User thadt runs Hugh Applications on Serverside like OpenOffice, WINE and so on. (ps: i know thadt the Displayresults is only worked out by the X-Clients, ok?) 6. To solve the Problem for Disk I/O and RAM Usage, a Databasedrivven Filesystem is a Powerfull choice (like the ORACLE Internetfilesystems IFS). (Note: Microsoft implements MS-SQL-Serverfeatures in to the Windows NTFS6-Filesystem, but Oracle has this Feature over 2 Years ago on the Market and has spend its Sourcecode to the OpenSource Comunity under the Terms of the GPL) Ok, it is a big Project and a lot of Work to implement/configure a more advanced Solution as Microsoft/Citrix-Metaframe, but a great Challenge. Greetings from Germany, Jack From danilo.turina@alcatel.it Mon Nov 18 04:32:00 2002 From: danilo.turina@alcatel.it (Danilo Turina) Date: Mon, 18 Nov 2002 04:32:00 -0000 Subject: XDMCP In-Reply-To: <5.1.1.6.0.20021116131019.00a96a70@mail.verizon.net> References: <5.1.1.6.0.20021116131019.00a96a70@mail.verizon.net> Message-ID: I had the same problem some time ago and the solution was to start a font server on one of the HP-UX machines and the use that font server when connecting to any of the HP-UX machines. I also tried to copy all the needed fonts locally, bu I failed: I copied 60Mb of fonts from any directory with fonts but, for some reason, the connection stopped after the login. Ciao, Danilo Turina David Calkins wrote: > I'm trying to connect up to a machine at work using XDMCP. My home > machine is Win2k + Cygwin + XFree86. I made sure to use the cygwin > setup program to get the latest packages. I'm using the -query option > to do this, i.e. > XWin -depth 32 -engine 4 -fullscreen -refresh 85 -screen 0 1024 768 > -query $remotehost > I get the login screen, enter my username and password and attempt to > login. For some reason, I just get bounced back to the login screen > again. I've been unable to get this to work. > > Any ideas as to what could cause this? From peter.oliver@aquila-networks.co.uk Mon Nov 18 05:34:00 2002 From: peter.oliver@aquila-networks.co.uk (Oliver, Peter) Date: Mon, 18 Nov 2002 05:34:00 -0000 Subject: Preventing X server resets Message-ID: <6B0EDF5A1525D5119C000008C786454845D3A1@ntkfem02.meb.co.uk> > -----Original Message----- > From: Harold L Hunt II [SMTP:huntharo@msu.edu] > Sent: Friday, November 15, 2002 7:12 PM > To: cygwin-xfree@cygwin.com > Subject: Re: Preventing X server resets > > Peter, > > Let me rephrase your question and ask you if it makes sense: > > ``If I am talking on the phone to my mother and she unplugs her phone, > can I just continue talking to her?'' > Yes, but if Dad is on the other extension at the same time I would expect to be able to continue talking to him :-) Perhaps I wasn't clear in my question. I know that if a machine is rebooted then any X clients running on it will be lost. As an aside, I also know that if a machine running an X server is rebooted then the server is lost, and there's typically no way to tell the clients where to reconnect to; the RandR extension will apparently change this in the future. However, I have X clients running on many machines and all displaying on the same server. If most of these hosts go down then the clients on that host are lost, but the X server keeps running and the other clients are unaffected. If the host I logged into with XDMCP goes down, the X server resets and kicks off all the other clients which are otherwise fine. It's this behavior that I wish to avoid. > The answer is no. You have established a connection with a server that > is supposed to manage your X session... if that server fails, or if the > connection to it is unreliable, then you X Session is terminated. > Unfortunately, the way the system is designed is that applications you > launch from your X session are managed by the remote XDMCP machine... if > that machine goes down there is no way to transfer control of those > applications to another machine. > I don't believe that this is true. As I understand it, X11 clients connect directly to the X11 server. Checking with netstat, I see that there are no connections between the host that I logged into with XDMCP and another host running an xterm. I know that what I asked is possible in general, since an X server called PC-Xware does it. When XDMCP goes away it asks something like "Your XDM session has ended. Would you like to reset the X server?", and if you say no you can just carry on working. I hoped that I'd be able to do the same thing with XFree86. > 3) If you can't do anything about the machine or the network, then you > need to adjust your quality-of-service expectations. > Perhaps this is the best suggestion. I can usually run a session for weeks or months without incident, so perhaps I'm asking too much :-) Alternatively, it occurs to me that I could start my session using rlogin rather than XDMCP. Fiddly, but it should do the trick. -- Peter Oliver Midrange Services Aquila Networks Services Ltd **************************************************************************************************** Confidentiality: This e-mail and any files transmitted with it are confidential and intended solely for the use of the individual or entity to whom they are addressed. If you have received this e-mail in error, use of this information (including disclosure, copying or distribution) may be unlawful. Please notify postmaster@aquila-networks.co.uk. and delete the message immediately. Security: Internet e-mail is not a 100% secure communications medium. Viruses: This e-mail (and any attachments) has been checked (using Sophos Sweep 3.58 + patches) and found to be clean from any virus infection before leaving. Therefore neither Aquila Networks Services Ltd nor Midlands Electricity plc or any of their group undertakings (as defined by the Companies Act 1989) (together referred to as the "Companies") accept legal responsibility for this message or liability for the consequences of any computer viruses which may have been transmitted by this e-mail. Monitoring: All electronic communications with the Companies may be monitored in accordance with the UK Regulation of Investigatory Powers Act, Lawful Business Practice Regulations, 2000. If you do not consent to such monitoring, you should contact the sender of this e-mail. Aquila Networks Services Limited, Registered office: Whittington Hall, Whittington, Worcester, WR5 2RB Registered in England and Wales number 3600545 This e-mail may be sent on behalf of any of the Companies. **************************************************************************************************** From huntharo@msu.edu Mon Nov 18 07:15:00 2002 From: huntharo@msu.edu (Harold L Hunt II) Date: Mon, 18 Nov 2002 07:15:00 -0000 Subject: xwinclip test 6 hacked to leave selection untouched References: Message-ID: <3DD8DD12.8030302@msu.edu> Chris, From what I understand, you are grabbing ownership of the selection when Cygwin/XFree86 loses focus... that is not the correct solution, as other X Server on Windows implementations out there (not to name any names) are able to watch the X selection without taking ownership of it ever. It sounds likes we need to watch the selection on the root window, rather than stealing it for our own. If you did this, then I misunderstood what you were trying to say. However, I doubt that you did this because grabbing ownership of the selection when we lose focus would be unnecessary. I wait until a solution looks clean before I do anything with it, and stealing ownership on losing focus didn't look like much of a solution. Harold Chris Twiner wrote: > 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 properly on gcc 3.2. > > The problem being the -mno_cygwin option doesn't seem to work. The dll > must be without cygwin1.dll given that as a default it is not placed > inside ?:\windows\system. Maybe this is a point for another list. > > If the latest code is wanted I'll post it, I'm pretty much finished with > what I want to do with it. I can't for example see the point in > spending much more time on it if it never get's included. > > Chris > > _________________________________________________________________ > The new MSN 8: advanced junk mail protection and 2 months FREE* > http://join.msn.com/?page=features/junkmail > From c_twiner@hotmail.com Mon Nov 18 07:50:00 2002 From: c_twiner@hotmail.com (Chris Twiner) Date: Mon, 18 Nov 2002 07:50:00 -0000 Subject: xwinclip test 6 hacked to leave selection untouched Message-ID: 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. I.e. it won't grab it if a user moves from one "cygwin/xfree86" to another. When the "cygwin/xfree86" looses focus it first looks for XA_PRIMARY and then XA_SECONDARY and then clipboard, not that the clipboard code works with motif apps. The basic one window code (no clipboard chain) was there two months ago and posted to the group. I.e. it fixed what was broken in test6 and fixed again by the recent poster. >as other X Server on Windows implementations out there (not to name any >names) are able to watch the X selection without taking ownership of it >ever. Which was the whole point of my fixes, you yourself claimed you could not see what was wrong with test6 "prove to me with code" was your response. So I did, you said "great" it looks like it works, thanks for the contributions I'll put it into a new test release, however you were busy and it would take a while. Which from the level of involvement you have with cygwin was all too reasonable. >It sounds likes we need to watch the selection on the root window, rather >than stealing it for our own. If you did this, then I misunderstood what >you were trying to say. However, I doubt that you did this because grabbing >ownership of the selection when we lose focus would be unnecessary. Indeed I did. It never grabbed the selection when the focus was lost, only when the window was activated again. i.e. you have gone into windows and the clipboard is different so grab the windows clipboard. The current version only does this when the clipboard has changed (And across -screen's). I had tried to explain this before (as had other posters) but you didn't see anything was wrong, so I made it work in a consistent fashion with windows and most x servers and so it wouldn't break nedit (main motivation). >I wait until a solution looks clean before I do anything with it, and >stealing ownership on losing focus didn't look like much of a solution. Again it was only on gaining of activation, and you didn't at the time see anything was wrong with the test6 code. You had wanted it external when you mentioned this (or internal with a disabling switch). My solution was designed from the outset not to intefere with the inner workings of the xserver and to be within the X selection system, something that commercial solutions obviously aren't limited by. Chris _________________________________________________________________ The new MSN 8: smart spam protection and 2 months FREE* http://join.msn.com/?page=features/junkmail From huntharo@msu.edu Mon Nov 18 07:50:00 2002 From: huntharo@msu.edu (Harold L Hunt II) Date: Mon, 18 Nov 2002 07:50:00 -0000 Subject: Preventing X server resets References: <6B0EDF5A1525D5119C000008C786454845D3A1@ntkfem02.meb.co.uk> Message-ID: <3DD8DDB8.6020500@msu.edu> Peter, So, if you knew that this was possible with another product, then why did you bother asking us if it was possible only to make us look like chumps when we said it wasn't? Now I suppose we will look into it at some point in the future. Harold Oliver, Peter wrote: >>-----Original Message----- >>From: Harold L Hunt II [SMTP:huntharo@msu.edu] >>Sent: Friday, November 15, 2002 7:12 PM >>To: cygwin-xfree@cygwin.com >>Subject: Re: Preventing X server resets >> >>Peter, >> >>Let me rephrase your question and ask you if it makes sense: >> >>``If I am talking on the phone to my mother and she unplugs her phone, >>can I just continue talking to her?'' >> > > Yes, but if Dad is on the other extension at the same time I would expect to > be able to continue talking to him :-) > > Perhaps I wasn't clear in my question. I know that if a machine is rebooted > then any X clients running on it will be lost. As an aside, I also know > that if a machine running an X server is rebooted then the server is lost, > and there's typically no way to tell the clients where to reconnect to; the > RandR extension will apparently change this in the future. > > However, I have X clients running on many machines and all displaying on the > same server. If most of these hosts go down then the clients on that host > are lost, but the X server keeps running and the other clients are > unaffected. If the host I logged into with XDMCP goes down, the X server > resets and kicks off all the other clients which are otherwise fine. It's > this behavior that I wish to avoid. > > >>The answer is no. You have established a connection with a server that >>is supposed to manage your X session... if that server fails, or if the >>connection to it is unreliable, then you X Session is terminated. >> Unfortunately, the way the system is designed is that applications you >>launch from your X session are managed by the remote XDMCP machine... if >>that machine goes down there is no way to transfer control of those >>applications to another machine. >> > > I don't believe that this is true. As I understand it, X11 clients connect > directly to the X11 server. Checking with netstat, I see that there are no > connections between the host that I logged into with XDMCP and another host > running an xterm. > > I know that what I asked is possible in general, since an X server called > PC-Xware does it. When XDMCP goes away it asks something like "Your XDM > session has ended. Would you like to reset the X server?", and if you say > no you can just carry on working. I hoped that I'd be able to do the same > thing with XFree86. > > >>3) If you can't do anything about the machine or the network, then you >>need to adjust your quality-of-service expectations. >> > > Perhaps this is the best suggestion. I can usually run a session for weeks > or months without incident, so perhaps I'm asking too much :-) > > Alternatively, it occurs to me that I could start my session using rlogin > rather than XDMCP. Fiddly, but it should do the trick. > From swhatley@hal-pc.org Mon Nov 18 08:18:00 2002 From: swhatley@hal-pc.org (swhatley@hal-pc.org) Date: Mon, 18 Nov 2002 08:18:00 -0000 Subject: Cygwin XFre86 -> Redhat XDM login In-Reply-To: Message-ID: I'll check gdm. I know hosts.allow is set up right. I can telnet, FTP, SSH, HTTP, SWAT, et.c to the Linux box. I have commented out the last line .../xdm/xdm.conf and modified the .../xdm/Xaccess file. BTW, I didn't mean to put down XFree86 in any way. It is a great product. Folks have put a lot of effort int it. I'm just gtying to resolve this one issue. Thanks, Steven On Sun, 17 Nov 2002 23:48:50 -0800 (PST) Lars Jensen wrote: >Stephen, > >Are you sure you are running xdm and not gdm. If you're running the >latter, then you need to edit gdm.conf to enable xdmcp. If you're >running the former, I assume that xdm.conf must be edited the same way. >Also check that your hosts.allow allows connections from the remote >machine. > >Lars. > >-- >Lars Jensen, TMCC/Vista B200, 7000 Dandini Blvd, Reno NV 89512-3999. >Internet: , http://www.scsr.nevada.edu/~jensen >Tel: 775.673.7113 FAX: 775.674.7592 > -- ___ ____________ <<<((__O\ (__<>___<>__ \ ____ Don't get rattled by Steven Whatley \ \_(__<>___<>__)\O\_/O___>-< what I say. It's just swhatley@hal-pc.org \O__<>___<>___<>)\___/ my opinion. From huntharo@msu.edu Mon Nov 18 09:46:00 2002 From: huntharo@msu.edu (Harold L Hunt II) Date: Mon, 18 Nov 2002 09:46:00 -0000 Subject: xwinclip test 6 hacked to leave selection untouched In-Reply-To: References: Message-ID: <3DD90C0F.4050500@msu.edu> Chris, Well, if you solution is everthing you claim, then you certainly have not been promoting it correctly. The impression I have gathered is that it requires hooks to watch messages for the XWin.exe windows, whereas today's solution does not require such hooks. I have really been waiting for a solution that does not require such hooks. If your solution no longer requires such hooks, then you did a poor job of communicating that fact. Harold Chris Twiner wrote: > 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. I.e. it won't grab it if a user moves from one > "cygwin/xfree86" to another. > > When the "cygwin/xfree86" looses focus it first looks for XA_PRIMARY > and then XA_SECONDARY and then clipboard, not that the clipboard code > works with motif apps. > > The basic one window code (no clipboard chain) was there two months > ago and posted to the group. I.e. it fixed what was broken in test6 > and fixed again by the recent poster. > >> as other X Server on Windows implementations out there (not to name >> any names) are able to watch the X selection without taking ownership >> of it ever. > > > Which was the whole point of my fixes, you yourself claimed you could > not see what was wrong with test6 "prove to me with code" was your > response. So I did, you said "great" it looks like it works, thanks > for the contributions I'll put it into a new test release, however you > were busy and it would take a while. Which from the level of > involvement you have with cygwin was all too reasonable. > >> It sounds likes we need to watch the selection on the root window, >> rather than stealing it for our own. If you did this, then I >> misunderstood what you were trying to say. However, I doubt that you >> did this because grabbing ownership of the selection when we lose >> focus would be unnecessary. > > > Indeed I did. It never grabbed the selection when the focus was lost, > only when the window was activated again. i.e. you have gone into > windows and the clipboard is different so grab the windows clipboard. > The current version only does this when the clipboard has changed (And > across -screen's). > > I had tried to explain this before (as had other posters) but you > didn't see anything was wrong, so I made it work in a consistent > fashion with windows and most x servers and so it wouldn't break nedit > (main motivation). > >> I wait until a solution looks clean before I do anything with it, and >> stealing ownership on losing focus didn't look like much of a solution. > > > Again it was only on gaining of activation, and you didn't at the time > see anything was wrong with the test6 code. > > You had wanted it external when you mentioned this (or internal with a > disabling switch). My solution was designed from the outset not to > intefere with the inner workings of the xserver and to be within the X > selection system, something that commercial solutions obviously aren't > limited by. > > Chris > > _________________________________________________________________ > The new MSN 8: smart spam protection and 2 months FREE* > http://join.msn.com/?page=features/junkmail > From jc.gervais@videotron.ca Mon Nov 18 11:33:00 2002 From: jc.gervais@videotron.ca (Jean-Claude Gervais) Date: Mon, 18 Nov 2002 11:33:00 -0000 Subject: Preventing X server resets In-Reply-To: <6B0EDF5A1525D5119C000008C786454845D3A1@ntkfem02.meb.co.uk> Message-ID: <000501c28f1a$3391ccb0$6501a8c0@sprymusic.com> >if a machine running an X server is rebooted then the server is lost, >and there's typically no way to tell the clients where to reconnect to Isn't that what xmove does? From c_twiner@hotmail.com Mon Nov 18 13:23:00 2002 From: c_twiner@hotmail.com (Chris Twiner) Date: Mon, 18 Nov 2002 13:23:00 -0000 Subject: xwinclip test 6 hacked to leave selection untouched Message-ID: >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 gathered is that it requires hooks to watch >messages >for the XWin.exe windows, whereas today's solution does not >require such >hooks. I have really been waiting for a solution that does >not require >such hooks. If your solution no longer requires such hooks, >then you did a >poor job of communicating that fact. Nothing has changed about it using hooks. Nothing at all. If his solution does work/ not had time to try it out. Then at least the jmp's and signal handling should still be of some use. Also : https://listman.redhat.com/pipermail/xdg-list/2000-October/000005.html And the reading I did whilst creating the changes would indicate this only happens for applications that explicitly choose it too. Motif apps don't either it would seem. Chris _________________________________________________________________ MSN 8 helps eliminate e-mail viruses. Get 2 months FREE*. http://join.msn.com/?page=features/virus From j_tetazoo@hotmail.com Mon Nov 18 13:26:00 2002 From: j_tetazoo@hotmail.com (Thomas Chadwick) Date: Mon, 18 Nov 2002 13:26:00 -0000 Subject: XWin.exe <--> xinit link Message-ID: xinit does 2 things - it launches the X server and then one or more X clients. If you want to customize the X client part (including the Window Manager), create/modify/edit the file $HOME/.xinitrc. If you want to customize the X server part, create/modify/edit the file $HOME/.xserverrc. Alternatively, you can pass command-line options to the X server by specifying them on xinit's command-line after "--". For example, "xinit -- -rootless" will cause XWin to startup in rootless mode. As for the console window, there is no way to avoid it being there until xinit completes, which doesn't happen until after the X server shuts down. This is really no different than if you use a Windows batchfile to fire up XWin and one or more local X clients. It's a "necessary evil". >From: Pavel Holejsovsky >Reply-To: cygwin-xfree@cygwin.com >To: cygwin-xfree@cygwin.com >Subject: Re: XWin.exe <--> xinit link >Date: Mon, 18 Nov 2002 10:10:40 +0100 > >I think you are looking for $HOME/.xserverrc file. E.g. mine contains: > >#! /bin/sh >X -nowinkill -nodecoration -lesspointer -rootless > >BTW, this all seems to be documented in xinit man page, as pointed out by >Thomas. > >Pavel > >jc.gervais@videotron.ca wrote: >>Thanks Thomas, >> >> The thing is, no matter what I put in those files, it either starts XWin >>with a border, or not at all. >> >> And when I do get it to start up, there is always a console mode window >>hanging around until I close it, and that closes XWin... >> >> *sigh* I AM trying to understand how all this stuff fits together, but >>I'm >>not having very much luck. >> >> >>-----Original Message----- >>From: cygwin-xfree-owner@cygwin.com >>[mailto:cygwin-xfree-owner@cygwin.com]On >>Behalf Of Thomas Chadwick >>Sent: Sunday, November 17, 2002 10:41 PM >>To: cygwin-xfree@cygwin.com >>Subject: RE: XWin.exe <--> xinit link >> >>RTFM! Do "man xinit" from the Cygwin command-line and read the 1st 3 >>paragraphs. >> >> >>>From: Jean-Claude Gervais >>>Reply-To: cygwin-xfree@cygwin.com >>>To: cygwin-xfree@cygwin.com >>>Subject: RE: XWin.exe <--> xinit link >>>Date: Sat, 16 Nov 2002 10:08:07 -0500 >>> >>>Thanks Artur, >>> >>> But that's not quite the info I was looking for; >>> >>> You see, when I type startxwin.bat or startxwin.sh, I get a >> >>DIFFERENT >> >>>result than from starting xinit by itself. >>> >>> Yet, xinit does start XWin, only it is starting it in windowed >> >>mode... >> >>>Which is OK, but I'm just wondering WHERE does xinit get this from? Is it >>>executing a script? >>> >>> >>>-----Original Message----- >>>From: cygwin-xfree-owner@cygwin.com >>>[mailto:cygwin-xfree-owner@cygwin.com]On >>>Behalf Of Artur Hefczyc >>>Sent: Saturday, November 16, 2002 9:56 AM >>>To: cygwin-xfree@cygwin.com >>>Subject: Re: XWin.exe <--> xinit link >>> >>> >>>>What parameters does it use to start XWin? Where does it get the >>> >>>parameters? >>>You can find manual and parameters for XWin from command: >>>man XWin >>> >>> >>>>Is it executing a script? >>> >>>/usr/X11R6/bin/startxwin.bat >>>/usr/X11R6/bin/startxwin.sh >>> >>>Artur Hefczyc >>>-- >>>Artur Hefczyc >>>http://wttools.sf.net/ >> >> >> >>_________________________________________________________________ >>Add photos to your e-mail with MSN 8. Get 2 months FREE*. >>http://join.msn.com/?page=features/featuredemail >> _________________________________________________________________ MSN 8 with e-mail virus protection service: 2 months FREE* http://join.msn.com/?page=features/virus From huntharo@msu.edu Mon Nov 18 13:33:00 2002 From: huntharo@msu.edu (Harold L Hunt II) Date: Mon, 18 Nov 2002 13:33:00 -0000 Subject: xwinclip test 6 hacked to leave selection untouched In-Reply-To: <15827.58527.984865.157209@sunbayer71.informatik.tu-muenchen.de> References: <15827.58527.984865.157209@sunbayer71.informatik.tu-muenchen.de> <3DD3F749.6050101@msu.edu> <15828.14273.222824.716746@sunbayer71.informatik.tu-muenchen.de> <3DD90F8D.1060109@msu.edu> <15833.5241.206068.293737@sunbayer71.informatik.tu-muenchen.de> Message-ID: <3DD9409B.9050708@msu.edu> Robert, In an intial test of your patch, I noticed that your patch, after the first selection, only tends to grab every other selection that I make on both the Windows clipboard and the X clipboard. For example, I go into emacs under X and select a region, then I go to emacs under Windows and paste the selection with the middle mouse button; the first time it works fine; now I select some text in emacs under Windows (which causes the selection in emacs under X to be unhighlighted) and go to paste it in emacs under X, but instead of getting the new selection coming from emacs under Windows I instead get the same old selection from emacs under X. Now, if I go back to emacs under Windows and select something else, then when I go to emacs under X it pastes the correct selection. This process repeats and it always seems that every-other selection is gotten but that the ones in between are never picked up. Any ideas? Harold From kenn@thebytebusiness.com Mon Nov 18 13:39:00 2002 From: kenn@thebytebusiness.com (Kenn Murrah) Date: Mon, 18 Nov 2002 13:39:00 -0000 Subject: beinnner frustration ... Message-ID: <005201c28f49$0dea7910$2f64a8c0@KENNDESKTOP> okay, i've read the user manual and the FAQ and still can't figure out how to get started ... please feel free to tell me to RTFM, but please oh please help me figure out WHAT and WHERE to read :-) anyway, i installed xfree86/cygwin and i have an icon on my windows desktop to prove it ... how the heck do i connect to the linux box on my network, and login with one of my linux usernames, and run X on my windows box? i hate to feel stupid ... someone PLEASE point me in the direction of a document i can understand. thanks, kenn From huntharo@msu.edu Mon Nov 18 13:51:00 2002 From: huntharo@msu.edu (Harold L Hunt II) Date: Mon, 18 Nov 2002 13:51:00 -0000 Subject: beinnner frustration ... In-Reply-To: <005201c28f49$0dea7910$2f64a8c0@KENNDESKTOP> References: <005201c28f49$0dea7910$2f64a8c0@KENNDESKTOP> Message-ID: <3DD95B06.3030407@msu.edu> Kenn, You must have missed the most relevant section of the Cygwin/XFree86 User's Guide: http://xfree86.cygwin.com/docs/ug/using-remote-session.html Harold Kenn Murrah wrote: >okay, i've read the user manual and the FAQ and still can't figure out how >to get started ... please feel free to tell me to RTFM, but please oh please >help me figure out WHAT and WHERE to read :-) > >anyway, i installed xfree86/cygwin and i have an icon on my windows desktop >to prove it ... how the heck do i connect to the linux box on my network, >and login with one of my linux usernames, and run X on my windows box? > >i hate to feel stupid ... someone PLEASE point me in the direction of a >document i can understand. > >thanks, > >kenn > > > > > > From kenn@thebytebusiness.com Mon Nov 18 17:48:00 2002 From: kenn@thebytebusiness.com (Kenn Murrah) Date: Mon, 18 Nov 2002 17:48:00 -0000 Subject: beinnner frustration ... References: <005201c28f49$0dea7910$2f64a8c0@KENNDESKTOP> <3DD95B06.3030407@msu.edu> Message-ID: <005d01c28f4a$597d9730$2f64a8c0@KENNDESKTOP> no, i found that section, but was confused by it (sorry!) ... it looked like a linux-style syntax, so i tried entering it at the $ prompt in cygwin ... but it could not find the program ... so i tried to find that program as a windows command (such as the .exe extension would indicate) and i couldn't find that, either ... a search of the windows box turned up no programs named xwin.exe ... so there's no telling what i've done (or failed to do) .... any ideas? ----- Original Message ----- From: "Harold L Hunt II" To: Sent: Monday, November 18, 2002 3:26 PM Subject: Re: beinnner frustration ... > Kenn, > > You must have missed the most relevant section of the Cygwin/XFree86 > User's Guide: > > http://xfree86.cygwin.com/docs/ug/using-remote-session.html > > Harold > > Kenn Murrah wrote: > > >okay, i've read the user manual and the FAQ and still can't figure out how > >to get started ... please feel free to tell me to RTFM, but please oh please > >help me figure out WHAT and WHERE to read :-) > > > >anyway, i installed xfree86/cygwin and i have an icon on my windows desktop > >to prove it ... how the heck do i connect to the linux box on my network, > >and login with one of my linux usernames, and run X on my windows box? > > > >i hate to feel stupid ... someone PLEASE point me in the direction of a > >document i can understand. > > > >thanks, > > > >kenn > > > > > > > > > > > > > > From huntharo@msu.edu Mon Nov 18 18:39:00 2002 From: huntharo@msu.edu (Harold L Hunt II) Date: Mon, 18 Nov 2002 18:39:00 -0000 Subject: beinnner frustration ... In-Reply-To: <005201c28f49$0dea7910$2f64a8c0@KENNDESKTOP> References: <005201c28f49$0dea7910$2f64a8c0@KENNDESKTOP> <3DD95B06.3030407@msu.edu> <005d01c28f4a$597d9730$2f64a8c0@KENNDESKTOP> Message-ID: <3DD95E04.7010007@msu.edu> Kenn, You have not installed Cygwin/XFree86. You need to run Cygwin's setup.exe again (you do not need to uninstall Cygwin, setup is smart enough to download only the new packages), and you need to be sure to expand the XFree86 category and select the XFree86-base package. You can then start Cygwin/XFree86 by double-clicking the startxwin.bat file that should reside in c:\cygwin\usr\X11R6\bin\startxwin.bat. After you have that working, you can make a copy of startxwin.bat, being sure to leave it in c:\cygwin\usr\X11R6\bin, REM out the lines that start xterm, twm, and xsetroot, then change add the -query parameter to the line that starts XWin.exe, as described in the user's guide. Harold Kenn Murrah wrote: >no, i found that section, but was confused by it (sorry!) ... > >it looked like a linux-style syntax, so i tried entering it at the $ prompt >in cygwin ... but it could not find the program ... > >so i tried to find that program as a windows command (such as the .exe >extension would indicate) and i couldn't find that, either ... > >a search of the windows box turned up no programs named xwin.exe ... so >there's no telling what i've done (or failed to do) .... > >any ideas? > > > >----- Original Message ----- >From: "Harold L Hunt II" >To: >Sent: Monday, November 18, 2002 3:26 PM >Subject: Re: beinnner frustration ... > > > > >>Kenn, >> >>You must have missed the most relevant section of the Cygwin/XFree86 >>User's Guide: >> >>http://xfree86.cygwin.com/docs/ug/using-remote-session.html >> >>Harold >> >>Kenn Murrah wrote: >> >> >> >>>okay, i've read the user manual and the FAQ and still can't figure out >>> >>> >how > > >>>to get started ... please feel free to tell me to RTFM, but please oh >>> >>> >please > > >>>help me figure out WHAT and WHERE to read :-) >>> >>>anyway, i installed xfree86/cygwin and i have an icon on my windows >>> >>> >desktop > > >>>to prove it ... how the heck do i connect to the linux box on my network, >>>and login with one of my linux usernames, and run X on my windows box? >>> >>>i hate to feel stupid ... someone PLEASE point me in the direction of a >>>document i can understand. >>> >>>thanks, >>> >>>kenn >>> >>> >>> >>> >>> >>> >>> >>> >> >> > > > > From kenn@thebytebusiness.com Mon Nov 18 19:26:00 2002 From: kenn@thebytebusiness.com (Kenn Murrah) Date: Mon, 18 Nov 2002 19:26:00 -0000 Subject: beinnner frustration ... References: <005201c28f49$0dea7910$2f64a8c0@KENNDESKTOP> <3DD95B06.3030407@msu.edu> <005d01c28f4a$597d9730$2f64a8c0@KENNDESKTOP> <3DD95E04.7010007@msu.edu> Message-ID: <006601c28f4c$e54954f0$2f64a8c0@KENNDESKTOP> Harold: I'm doing that now ... thanks for getting me pointed in the right direction. kennM ----- Original Message ----- From: "Harold L Hunt II" To: Sent: Monday, November 18, 2002 3:39 PM Subject: Re: beinnner frustration ... > Kenn, > > You have not installed Cygwin/XFree86. You need to run Cygwin's > setup.exe again (you do not need to uninstall Cygwin, setup is smart > enough to download only the new packages), and you need to be sure to > expand the XFree86 category and select the XFree86-base package. You > can then start Cygwin/XFree86 by double-clicking the startxwin.bat file > that should reside in c:\cygwin\usr\X11R6\bin\startxwin.bat. > > After you have that working, you can make a copy of startxwin.bat, being > sure to leave it in c:\cygwin\usr\X11R6\bin, REM out the lines that > start xterm, twm, and xsetroot, then change add the -query parameter to > the line that starts XWin.exe, as described in the user's guide. > > Harold > > > Kenn Murrah wrote: > > >no, i found that section, but was confused by it (sorry!) ... > > > >it looked like a linux-style syntax, so i tried entering it at the $ prompt > >in cygwin ... but it could not find the program ... > > > >so i tried to find that program as a windows command (such as the .exe > >extension would indicate) and i couldn't find that, either ... > > > >a search of the windows box turned up no programs named xwin.exe ... so > >there's no telling what i've done (or failed to do) .... > > > >any ideas? > > > > > > > >----- Original Message ----- > >From: "Harold L Hunt II" > >To: > >Sent: Monday, November 18, 2002 3:26 PM > >Subject: Re: beinnner frustration ... > > > > > > > > > >>Kenn, > >> > >>You must have missed the most relevant section of the Cygwin/XFree86 > >>User's Guide: > >> > >>http://xfree86.cygwin.com/docs/ug/using-remote-session.html > >> > >>Harold > >> > >>Kenn Murrah wrote: > >> > >> > >> > >>>okay, i've read the user manual and the FAQ and still can't figure out > >>> > >>> > >how > > > > > >>>to get started ... please feel free to tell me to RTFM, but please oh > >>> > >>> > >please > > > > > >>>help me figure out WHAT and WHERE to read :-) > >>> > >>>anyway, i installed xfree86/cygwin and i have an icon on my windows > >>> > >>> > >desktop > > > > > >>>to prove it ... how the heck do i connect to the linux box on my network, > >>>and login with one of my linux usernames, and run X on my windows box? > >>> > >>>i hate to feel stupid ... someone PLEASE point me in the direction of a > >>>document i can understand. > >>> > >>>thanks, > >>> > >>>kenn > >>> > >>> > >>> > >>> > >>> > >>> > >>> > >>> > >> > >> > > > > > > > > > > From swhatley@hal-pc.org Mon Nov 18 19:35:00 2002 From: swhatley@hal-pc.org (Steven Whatley) Date: Mon, 18 Nov 2002 19:35:00 -0000 Subject: [xfree] Re: Cygwin XFre86 -> Redhat XDM login In-Reply-To: Message-ID: Hi all, I must not have been doing a 'kill -1' on the right process. Rebooting the RH server got the login screen coming up. But now, it exits back to the login screen when I try to login. I am getting a 'Can't open display' message in my RH account ~/.xsession-errors file. I am now looking at the recent XDMCP thread. I am very close now. There seems to be a xhost command missing somewhere. Thanks, Steven On Mon, 18 Nov 2002, Papa Fox wrote: > Have you enabled XDMCP over internet? > > Depending on whether you are running XDM, KDM or GDM, check > > /etc/X11/xdm/xdm-config Comment out the appropriate line > /etc/X11/xdm/kdmrc Set Enable=true for [Xdmcp] > /etc/X11/gdm/gdm.conf > > You may also have to alter you firewall rules to allow UDP packets to port > 177. > > PapaFox > > ----- Original Message ----- > From: "Steven Whatley" > To: > Sent: Monday, November 18, 2002 4:20 PM > Subject: Cygwin XFre86 -> Redhat XDM login > > > > Hi all, > > > > I've been reading man pages, FAQs, and everything I can think of under > > Cygwin, RedHat 7.1, and the XFree86 web site. I have been trying to > > figure this out off and on for months. However, I can not figure out how > > to run an XFree86 session under Cygwin on my WinXP Pro system to get a > > login session on my RH 7.1 system. > > > > I have played with the files in /etc/X11/xdm on the RH system. I played > > with XWin, xinit, and startx with -queue and -broadcast options > > under cygwin. All I get on the Cygwin side is no X11 window at all or a > > blank checkered default pattern X11 window. I do not seem to be getting > > any error messages besides "Giving up." I've been dealing with X11 for > > over 10 yers. But this XFree86 stuff is causing me to pull out my hair! > > > > BTW, XDM is running fine on the RH box and Gnome comes up just fine. I > > just don't keep a monitor attached to the system and the system is in > > another room. Any help to figure out what I am doing wrong will be really > > appreciated. > > > > Thanks! > > Steven :) -- trying to keep a happy face. > > > > > -- ___ ____________ <<<((__O\ (__<>___<>__ \ ____ Don't get rattled by Steven Whatley \ \_(__<>___<>__)\O\_/O___>-< what I say. It's just swhatley@hal-pc.org \O__<>___<>___<>)\___/ my opinion. From swhatley@hal-pc.org Mon Nov 18 19:47:00 2002 From: swhatley@hal-pc.org (Steven Whatley) Date: Mon, 18 Nov 2002 19:47:00 -0000 Subject: XDMCP In-Reply-To: Message-ID: The error I am getting in the ~/.xsessoin-errors is: Xlib: connection to ":0.0" refused by server Xlib: Client is not authorized to connect to Server Gtk-WARNING **: cannot open display: :0 Thanks, Steven From: "Papa Fox" Date: Mon, 18 Nov 2002 19:23:17 +1100 Subject: Re: XDMCP It looks like the unix login is happening. What's in ~/.xsession-errors? PapaFox ----- Original Message ----- From: "David Calkins" To: Sent: Sunday, November 17, 2002 5:11 AM Subject: XDMCP > I'm trying to connect up to a machine at work using XDMCP. My home > machine is Win2k + Cygwin + XFree86. I made sure to use the cygwin setup > program to get the latest packages. I'm using the -query option to do this, > i.e. XWin -depth 32 -engine 4 -fullscreen -refresh 85 -screen 0 1024 768 > -query $remotehost > I get the login screen, enter my username and password and attempt to > login. For some reason, I just get bounced back to the login screen > again. I've been unable to get this to work. > > Any ideas as to what could cause this? From dcalk@verizon.net Mon Nov 18 19:57:00 2002 From: dcalk@verizon.net (David Calkins) Date: Mon, 18 Nov 2002 19:57:00 -0000 Subject: Fwd: Re: XDMCP Message-ID: <5.2.0.9.0.20021118222758.00a6dbd8@mail.verizon.net> I'm seeing the following in /tmp/XWin.log AUDIT: Mon Nov 18 22:22:19 2002: 5924 XWin: client 1 rejected from IP port 3468 I get a bunch of the above messages in my XWin.log. Sounds like we're both having problems with convincing the X server that we do, in fact, want to allow connections from the work machine. I tried using xhost, but it just hangs if I run it while my X server is running (with the -query option). Anyone know how else I can tell my X server to trust a remote host? Dave >Mailing-List: contact cygwin-xfree-help@cygwin.com; run by ezmlm >List-Unsubscribe: > >List-Subscribe: >List-Archive: >List-Post: >List-Help: , > >Sender: cygwin-xfree-owner@cygwin.com >Mail-Followup-To: cygwin-xfree@cygwin.com >Reply-To: cygwin-xfree@cygwin.com >Delivered-To: mailing list cygwin-xfree@cygwin.com >Date: Mon, 18 Nov 2002 20:54:52 -0600 (CST) >From: Steven Whatley >X-X-Sender: swhatley@dewontheweb.org >To: cygwin-xfree@cygwin.com >Subject: Re: XDMCP > >The error I am getting in the ~/.xsessoin-errors is: > >Xlib: connection to ":0.0" refused by server >Xlib: Client is not authorized to connect to Server > >Gtk-WARNING **: cannot open display: :0 > >Thanks, >Steven > >From: "Papa Fox" >Date: Mon, 18 Nov 2002 19:23:17 +1100 >Subject: Re: XDMCP > >It looks like the unix login is happening. What's in ~/.xsession-errors? > >PapaFox >----- Original Message ----- >From: "David Calkins" >To: >Sent: Sunday, November 17, 2002 5:11 AM >Subject: XDMCP > > > I'm trying to connect up to a machine at work using XDMCP. My home > > machine is Win2k + Cygwin + XFree86. I made sure to use the cygwin setup > > program to get the latest packages. I'm using the -query option to do > this, > > i.e. XWin -depth 32 -engine 4 -fullscreen -refresh 85 -screen 0 1024 768 > > -query $remotehost > > I get the login screen, enter my username and password and attempt to > > login. For some reason, I just get bounced back to the login screen > > again. I've been unable to get this to work. > > > > Any ideas as to what could cause this? From dcalk@verizon.net Mon Nov 18 20:19:00 2002 From: dcalk@verizon.net (David Calkins) Date: Mon, 18 Nov 2002 20:19:00 -0000 Subject: Fwd: Re: XDMCP Message-ID: <5.2.0.9.0.20021118222318.00aa3e70@mail.verizon.net> I'm seeing the following in /tmp/XWin.log AUDIT: Mon Nov 18 22:22:19 2002: 5924 XWin: client 1 rejected from IP port 3468 I get a bunch of the above messages in my XWin.log. Sounds like we're both having problems with convincing the X server that we do, in fact, want to allow connections from the work machine. I tried using xhost, but it just hangs if I run it while my X server is running (with the -query option). Anyone know how else I can tell my X server to trust a remote host? Dave >Mailing-List: contact cygwin-xfree-help@cygwin.com; run by ezmlm >List-Unsubscribe: > >List-Subscribe: >List-Archive: >List-Post: >List-Help: , > >Sender: cygwin-xfree-owner@cygwin.com >Mail-Followup-To: cygwin-xfree@cygwin.com >Reply-To: cygwin-xfree@cygwin.com >Delivered-To: mailing list cygwin-xfree@cygwin.com >Date: Mon, 18 Nov 2002 20:54:52 -0600 (CST) >From: Steven Whatley >X-X-Sender: swhatley@dewontheweb.org >To: cygwin-xfree@cygwin.com >Subject: Re: XDMCP > >The error I am getting in the ~/.xsessoin-errors is: > >Xlib: connection to ":0.0" refused by server >Xlib: Client is not authorized to connect to Server > >Gtk-WARNING **: cannot open display: :0 > >Thanks, >Steven > >From: "Papa Fox" >Date: Mon, 18 Nov 2002 19:23:17 +1100 >Subject: Re: XDMCP > >It looks like the unix login is happening. What's in ~/.xsession-errors? > >PapaFox >----- Original Message ----- >From: "David Calkins" >To: >Sent: Sunday, November 17, 2002 5:11 AM >Subject: XDMCP > > > I'm trying to connect up to a machine at work using XDMCP. My home > > machine is Win2k + Cygwin + XFree86. I made sure to use the cygwin setup > > program to get the latest packages. I'm using the -query option to do > this, > > i.e. XWin -depth 32 -engine 4 -fullscreen -refresh 85 -screen 0 1024 768 > > -query $remotehost > > I get the login screen, enter my username and password and attempt to > > login. For some reason, I just get bounced back to the login screen > > again. I've been unable to get this to work. > > > > Any ideas as to what could cause this? From dcalk@verizon.net Tue Nov 19 02:05:00 2002 From: dcalk@verizon.net (David Calkins) Date: Tue, 19 Nov 2002 02:05:00 -0000 Subject: Fwd: Re: XDMCP Message-ID: <5.2.0.9.0.20021118224806.0274dd68@mail.verizon.net> I'm seeing the following in /tmp/XWin.log AUDIT: Mon Nov 18 22:22:19 2002: 5924 XWin: client 1 rejected from IP port 3468 I get a bunch of the above messages in my XWin.log. Sounds like we're both having problems with convincing the X server that we do, in fact, want to allow connections from the work machine. I tried using xhost, but it just hangs if I run it while my X server is running (with the -query option). Anyone know how else I can tell my X server to trust a remote host? Dave >Mailing-List: contact cygwin-xfree-help@cygwin.com; run by ezmlm >List-Unsubscribe: > >List-Subscribe: >List-Archive: >List-Post: >List-Help: , > >Sender: cygwin-xfree-owner@cygwin.com >Mail-Followup-To: cygwin-xfree@cygwin.com >Reply-To: cygwin-xfree@cygwin.com >Delivered-To: mailing list cygwin-xfree@cygwin.com >Date: Mon, 18 Nov 2002 20:54:52 -0600 (CST) >From: Steven Whatley >X-X-Sender: swhatley@dewontheweb.org >To: cygwin-xfree@cygwin.com >Subject: Re: XDMCP > >The error I am getting in the ~/.xsessoin-errors is: > >Xlib: connection to ":0.0" refused by server >Xlib: Client is not authorized to connect to Server > >Gtk-WARNING **: cannot open display: :0 > >Thanks, >Steven > >From: "Papa Fox" >Date: Mon, 18 Nov 2002 19:23:17 +1100 >Subject: Re: XDMCP > >It looks like the unix login is happening. What's in ~/.xsession-errors? > >PapaFox >----- Original Message ----- >From: "David Calkins" >To: >Sent: Sunday, November 17, 2002 5:11 AM >Subject: XDMCP > > > I'm trying to connect up to a machine at work using XDMCP. My home > > machine is Win2k + Cygwin + XFree86. I made sure to use the cygwin setup > > program to get the latest packages. I'm using the -query option to do > this, > > i.e. XWin -depth 32 -engine 4 -fullscreen -refresh 85 -screen 0 1024 768 > > -query $remotehost > > I get the login screen, enter my username and password and attempt to > > login. For some reason, I just get bounced back to the login screen > > again. I've been unable to get this to work. > > > > Any ideas as to what could cause this? From swhatley@hal-pc.org Tue Nov 19 02:12:00 2002 From: swhatley@hal-pc.org (Steven Whatley) Date: Tue, 19 Nov 2002 02:12:00 -0000 Subject: [xfree] Fwd: Re: XDMCP In-Reply-To: <5.2.0.9.0.20021118224405.026a0600@mail.verizon.net> Message-ID: Have you modified Cygwin's /etc/hsots.allow and /etc/hosts.deny files? I'm trying this but no go yet. Later, Steven On Mon, 18 Nov 2002, David Calkins wrote: > Well, tried it again to make sure, and if I run XWin *without* the -query > option, I can set my DISPLAY to 127.0.0.1:0.0 and then run xhost and it > (xhost) works. If I then connect via the VPN to my work's intranet, and > then run XWin *with* the -query option, xhost now hangs....... argh! I > think I'm *very* close to having this work. I just need to convince X to > allow my work machine to connect back to my home machine.. > > Dave > > > >I'm seeing the following in /tmp/XWin.log > > > >AUDIT: Mon Nov 18 22:22:19 2002: 5924 XWin: client 1 rejected from IP > > port 3468 > > > >I get a bunch of the above messages in my XWin.log. Sounds like we're > >both having problems with convincing the X server that we do, in fact, > >want to allow connections from the work machine. > > > >I tried using xhost, but it just hangs if I run it while my X server is > >running (with the -query option). Anyone know how else I can tell my X > >server to trust a remote host? > > > >Dave > > > >>Mailing-List: contact cygwin-xfree-help@cygwin.com; run by ezmlm > >>List-Unsubscribe: > >> > >>List-Subscribe: > >>List-Archive: > >>List-Post: > >>List-Help: , > >> > >>Sender: cygwin-xfree-owner@cygwin.com > >>Mail-Followup-To: cygwin-xfree@cygwin.com > >>Reply-To: cygwin-xfree@cygwin.com > >>Delivered-To: mailing list cygwin-xfree@cygwin.com > >>Date: Mon, 18 Nov 2002 20:54:52 -0600 (CST) > >>From: Steven Whatley > >>X-X-Sender: swhatley@dewontheweb.org > >>To: cygwin-xfree@cygwin.com > >>Subject: Re: XDMCP > >> > >>The error I am getting in the ~/.xsessoin-errors is: > >> > >>Xlib: connection to ":0.0" refused by server > >>Xlib: Client is not authorized to connect to Server > >> > >>Gtk-WARNING **: cannot open display: :0 > >> > >>Thanks, > >>Steven > >> > >>From: "Papa Fox" > >>Date: Mon, 18 Nov 2002 19:23:17 +1100 > >>Subject: Re: XDMCP > >> > >>It looks like the unix login is happening. What's in ~/.xsession-errors? > >> > >>PapaFox > >>----- Original Message ----- > >>From: "David Calkins" > >>To: > >>Sent: Sunday, November 17, 2002 5:11 AM > >>Subject: XDMCP > >> > >> > I'm trying to connect up to a machine at work using XDMCP. My home > >> > machine is Win2k + Cygwin + XFree86. I made sure to use the cygwin setup > >> > program to get the latest packages. I'm using the -query option to do > >> this, > >> > i.e. XWin -depth 32 -engine 4 -fullscreen -refresh 85 -screen 0 1024 768 > >> > -query $remotehost > >> > I get the login screen, enter my username and password and attempt to > >> > login. For some reason, I just get bounced back to the login screen > >> > again. I've been unable to get this to work. > >> > > >> > Any ideas as to what could cause this? > > > > -- ___ ____________ <<<((__O\ (__<>___<>__ \ ____ Don't get rattled by Steven Whatley \ \_(__<>___<>__)\O\_/O___>-< what I say. It's just swhatley@hal-pc.org \O__<>___<>___<>)\___/ my opinion. From dcalk@verizon.net Tue Nov 19 02:12:00 2002 From: dcalk@verizon.net (David Calkins) Date: Tue, 19 Nov 2002 02:12:00 -0000 Subject: Fwd: Re: XDMCP Message-ID: <5.2.0.9.0.20021118224405.026a0600@mail.verizon.net> Well, tried it again to make sure, and if I run XWin *without* the -query option, I can set my DISPLAY to 127.0.0.1:0.0 and then run xhost and it (xhost) works. If I then connect via the VPN to my work's intranet, and then run XWin *with* the -query option, xhost now hangs....... argh! I think I'm *very* close to having this work. I just need to convince X to allow my work machine to connect back to my home machine.. Dave >I'm seeing the following in /tmp/XWin.log > >AUDIT: Mon Nov 18 22:22:19 2002: 5924 XWin: client 1 rejected from IP > port 3468 > >I get a bunch of the above messages in my XWin.log. Sounds like we're >both having problems with convincing the X server that we do, in fact, >want to allow connections from the work machine. > >I tried using xhost, but it just hangs if I run it while my X server is >running (with the -query option). Anyone know how else I can tell my X >server to trust a remote host? > >Dave > >>Mailing-List: contact cygwin-xfree-help@cygwin.com; run by ezmlm >>List-Unsubscribe: >> >>List-Subscribe: >>List-Archive: >>List-Post: >>List-Help: , >> >>Sender: cygwin-xfree-owner@cygwin.com >>Mail-Followup-To: cygwin-xfree@cygwin.com >>Reply-To: cygwin-xfree@cygwin.com >>Delivered-To: mailing list cygwin-xfree@cygwin.com >>Date: Mon, 18 Nov 2002 20:54:52 -0600 (CST) >>From: Steven Whatley >>X-X-Sender: swhatley@dewontheweb.org >>To: cygwin-xfree@cygwin.com >>Subject: Re: XDMCP >> >>The error I am getting in the ~/.xsessoin-errors is: >> >>Xlib: connection to ":0.0" refused by server >>Xlib: Client is not authorized to connect to Server >> >>Gtk-WARNING **: cannot open display: :0 >> >>Thanks, >>Steven >> >>From: "Papa Fox" >>Date: Mon, 18 Nov 2002 19:23:17 +1100 >>Subject: Re: XDMCP >> >>It looks like the unix login is happening. What's in ~/.xsession-errors? >> >>PapaFox >>----- Original Message ----- >>From: "David Calkins" >>To: >>Sent: Sunday, November 17, 2002 5:11 AM >>Subject: XDMCP >> >> > I'm trying to connect up to a machine at work using XDMCP. My home >> > machine is Win2k + Cygwin + XFree86. I made sure to use the cygwin setup >> > program to get the latest packages. I'm using the -query option to do >> this, >> > i.e. XWin -depth 32 -engine 4 -fullscreen -refresh 85 -screen 0 1024 768 >> > -query $remotehost >> > I get the login screen, enter my username and password and attempt to >> > login. For some reason, I just get bounced back to the login screen >> > again. I've been unable to get this to work. >> > >> > Any ideas as to what could cause this? > From papafox888@hotmail.com Tue Nov 19 03:27:00 2002 From: papafox888@hotmail.com (Papa Fox) Date: Tue, 19 Nov 2002 03:27:00 -0000 Subject: [xfree] Fwd: Re: XDMCP References: Message-ID: Try creating a file /etc/X0.hosts. Place the names or ip addresses of any clients which need to connect to the Xserver. Make sure you include localhost so that xwinclip will work. This will bypass xauth for those machines. PapaFox ----- Original Message ----- From: "Steven Whatley" To: Sent: Tuesday, November 19, 2002 3:34 PM Subject: Re: [xfree] Fwd: Re: XDMCP > Have you modified Cygwin's /etc/hsots.allow and /etc/hosts.deny files? > I'm trying this but no go yet. > > Later, > Steven > > On Mon, 18 Nov 2002, David Calkins wrote: > > Well, tried it again to make sure, and if I run XWin *without* the -query > > option, I can set my DISPLAY to 127.0.0.1:0.0 and then run xhost and it > > (xhost) works. If I then connect via the VPN to my work's intranet, and > > then run XWin *with* the -query option, xhost now hangs....... argh! I > > think I'm *very* close to having this work. I just need to convince X to > > allow my work machine to connect back to my home machine.. > > > > Dave > > > > > > >I'm seeing the following in /tmp/XWin.log > > > > > >AUDIT: Mon Nov 18 22:22:19 2002: 5924 XWin: client 1 rejected from IP > > > port 3468 > > > > > >I get a bunch of the above messages in my XWin.log. Sounds like we're > > >both having problems with convincing the X server that we do, in fact, > > >want to allow connections from the work machine. > > > > > >I tried using xhost, but it just hangs if I run it while my X server is > > >running (with the -query option). Anyone know how else I can tell my X > > >server to trust a remote host? > > > > > >Dave > > > > > >>Mailing-List: contact cygwin-xfree-help@cygwin.com; run by ezmlm > > >>List-Unsubscribe: > > >> > > >>List-Subscribe: > > >>List-Archive: > > >>List-Post: > > >>List-Help: , > > >> > > >>Sender: cygwin-xfree-owner@cygwin.com > > >>Mail-Followup-To: cygwin-xfree@cygwin.com > > >>Reply-To: cygwin-xfree@cygwin.com > > >>Delivered-To: mailing list cygwin-xfree@cygwin.com > > >>Date: Mon, 18 Nov 2002 20:54:52 -0600 (CST) > > >>From: Steven Whatley > > >>X-X-Sender: swhatley@dewontheweb.org > > >>To: cygwin-xfree@cygwin.com > > >>Subject: Re: XDMCP > > >> > > >>The error I am getting in the ~/.xsessoin-errors is: > > >> > > >>Xlib: connection to ":0.0" refused by server > > >>Xlib: Client is not authorized to connect to Server > > >> > > >>Gtk-WARNING **: cannot open display: :0 > > >> > > >>Thanks, > > >>Steven > > >> > > >>From: "Papa Fox" > > >>Date: Mon, 18 Nov 2002 19:23:17 +1100 > > >>Subject: Re: XDMCP > > >> > > >>It looks like the unix login is happening. What's in ~/.xsession-errors? > > >> > > >>PapaFox > > >>----- Original Message ----- > > >>From: "David Calkins" > > >>To: > > >>Sent: Sunday, November 17, 2002 5:11 AM > > >>Subject: XDMCP > > >> > > >> > I'm trying to connect up to a machine at work using XDMCP. My home > > >> > machine is Win2k + Cygwin + XFree86. I made sure to use the cygwin setup > > >> > program to get the latest packages. I'm using the -query option to do > > >> this, > > >> > i.e. XWin -depth 32 -engine 4 -fullscreen -refresh 85 -screen 0 1024 768 > > >> > -query $remotehost > > >> > I get the login screen, enter my username and password and attempt to > > >> > login. For some reason, I just get bounced back to the login screen > > >> > again. I've been unable to get this to work. > > >> > > > >> > Any ideas as to what could cause this? > > > > > > > > > -- > ___ ____________ > <<<((__O\ (__<>___<>__ \ ____ Don't get rattled by > Steven Whatley \ \_(__<>___<>__)\O\_/O___>-< what I say. It's just > swhatley@hal-pc.org \O__<>___<>___<>)\___/ my opinion. > From pavel.holejsovsky@st.com Tue Nov 19 06:59:00 2002 From: pavel.holejsovsky@st.com (Pavel Holejsovsky) Date: Tue, 19 Nov 2002 06:59:00 -0000 Subject: XWin.exe <--> xinit link References: Message-ID: <3DDA0E50.9030906@st.com> Thanks for the detailed explanation. But I think you can avoid even that console for Xserver. I'm starting my Xserver using shortcut with this commandline: C:\cygwin\bin\cygstart.exe --hide -- bash --login -i -c startx This way, console window just flashes for a small moment and then it is hidden by cygstart (its '--hide' option). Pavel j_tetazoo@hotmail.com wrote: > xinit does 2 things - it launches the X server and then one or more X > clients. > > If you want to customize the X client part (including the Window Manager), > create/modify/edit the file $HOME/.xinitrc. > > If you want to customize the X server part, create/modify/edit the file > $HOME/.xserverrc. > > Alternatively, you can pass command-line options to the X server by > specifying them on xinit's command-line after "--". For example, "xinit -- > -rootless" will cause XWin to startup in rootless mode. > > > As for the console window, there is no way to avoid it being there until > xinit completes, which doesn't happen until after the X server shuts down. > This is really no different than if you use a Windows batchfile to fire up > XWin and one or more local X clients. It's a "necessary evil". From oqvbydkf@web.de Tue Nov 19 07:22:00 2002 From: oqvbydkf@web.de (AAAAA Karakaya) Date: Tue, 19 Nov 2002 07:22:00 -0000 Subject: Yenilenen noseks filuc Message-ID: FULL 2002 YAPIMI PORNO VIDEOLAR Sitemize yeni filmler eklendi. Tam metraj, full kalite Yenilenen Kategoriler: AMATEUR ANAL ASIAN LESBIAN ?yi e?lenceler, http://www.noseks.com id: cygwin-xfree - bvymetpelrtsyaemugqxr- From dcalk@verizon.net Tue Nov 19 18:54:00 2002 From: dcalk@verizon.net (David Calkins) Date: Tue, 19 Nov 2002 18:54:00 -0000 Subject: Fwd: Re: [xfree] Fwd: Re: XDMCP Message-ID: <5.2.0.9.0.20021119062809.0272cda8@mail.verizon.net> That did it! I created /etc/X0.hosts and added localhost and my work machine to it. I was able to log in and get the remote CDE session with no problems. :-) Thanks for the tip. Dave >Try creating a file /etc/X0.hosts. Place the names or ip addresses of any >clients which need to connect to the Xserver. Make sure you include >localhost so that xwinclip will work. > >This will bypass xauth for those machines. > >PapaFox > >----- Original Message ----- >From: "Steven Whatley" >To: >Sent: Tuesday, November 19, 2002 3:34 PM >Subject: Re: [xfree] Fwd: Re: XDMCP > > > > Have you modified Cygwin's /etc/hsots.allow and /etc/hosts.deny files? > > I'm trying this but no go yet. > > > > Later, > > Steven > > > > On Mon, 18 Nov 2002, David Calkins wrote: > > > Well, tried it again to make sure, and if I run XWin *without* >the -query > > > option, I can set my DISPLAY to 127.0.0.1:0.0 and then run xhost and it > > > (xhost) works. If I then connect via the VPN to my work's intranet, and > > > then run XWin *with* the -query option, xhost now hangs....... argh! I > > > think I'm *very* close to having this work. I just need to convince X >to > > > allow my work machine to connect back to my home machine.. > > > > > > Dave > > > > > > > > > >I'm seeing the following in /tmp/XWin.log > > > > > > > >AUDIT: Mon Nov 18 22:22:19 2002: 5924 XWin: client 1 rejected from IP > > > > port 3468 > > > > > > > >I get a bunch of the above messages in my XWin.log. Sounds like we're > > > >both having problems with convincing the X server that we do, in fact, > > > >want to allow connections from the work machine. > > > > > > > >I tried using xhost, but it just hangs if I run it while my X server is > > > >running (with the -query option). Anyone know how else I can tell my X > > > >server to trust a remote host? > > > > > > > >Dave > > > > > > > >>Mailing-List: contact cygwin-xfree-help@cygwin.com; run by ezmlm > > > >>List-Unsubscribe: > > > >> > > > >>List-Subscribe: > > > >>List-Archive: > > > >>List-Post: > > > >>List-Help: , > > > >> > > > >>Sender: cygwin-xfree-owner@cygwin.com > > > >>Mail-Followup-To: cygwin-xfree@cygwin.com > > > >>Reply-To: cygwin-xfree@cygwin.com > > > >>Delivered-To: mailing list cygwin-xfree@cygwin.com > > > >>Date: Mon, 18 Nov 2002 20:54:52 -0600 (CST) > > > >>From: Steven Whatley > > > >>X-X-Sender: swhatley@dewontheweb.org > > > >>To: cygwin-xfree@cygwin.com > > > >>Subject: Re: XDMCP > > > >> > > > >>The error I am getting in the ~/.xsessoin-errors is: > > > >> > > > >>Xlib: connection to ":0.0" refused by server > > > >>Xlib: Client is not authorized to connect to Server > > > >> > > > >>Gtk-WARNING **: cannot open display: :0 > > > >> > > > >>Thanks, > > > >>Steven > > > >> > > > >>From: "Papa Fox" > > > >>Date: Mon, 18 Nov 2002 19:23:17 +1100 > > > >>Subject: Re: XDMCP > > > >> > > > >>It looks like the unix login is happening. What's in >~/.xsession-errors? > > > >> > > > >>PapaFox > > > >>----- Original Message ----- > > > >>From: "David Calkins" > > > >>To: > > > >>Sent: Sunday, November 17, 2002 5:11 AM > > > >>Subject: XDMCP > > > >> > > > >> > I'm trying to connect up to a machine at work using XDMCP. My home > > > >> > machine is Win2k + Cygwin + XFree86. I made sure to use the cygwin >setup > > > >> > program to get the latest packages. I'm using the -query option to >do > > > >> this, > > > >> > i.e. XWin -depth 32 -engine 4 -fullscreen -refresh 85 -screen 0 >1024 768 > > > >> > -query $remotehost > > > >> > I get the login screen, enter my username and password and attempt >to > > > >> > login. For some reason, I just get bounced back to the login >screen > > > >> > again. I've been unable to get this to work. > > > >> > > > > >> > Any ideas as to what could cause this? > > > > > > > > > > > > > > -- > > ___ ____________ > > <<<((__O\ (__<>___<>__ \ ____ Don't get rattled by > > Steven Whatley \ \_(__<>___<>__)\O\_/O___>-< what I say. It's >just > > swhatley@hal-pc.org \O__<>___<>___<>)\___/ my opinion. > > From kenn@thebytebusiness.com Tue Nov 19 19:13:00 2002 From: kenn@thebytebusiness.com (Kenn Murrah) Date: Tue, 19 Nov 2002 19:13:00 -0000 Subject: have cygwin/XFree86 running ... but need help connecting remotely Message-ID: <000701c28fdc$4122ec20$2f64a8c0@KENNDESKTOP> Greetings ... Okay, I know I should be able to understand this from the documentation, but I don't ... I've installed CygwinXFree86 on my windows box ... I can double-click the shortcut on the desktop to run the program, and I can run startxwin.sh, startx, etc. ... but how do i connect to a remote box? I want to connect to a linux box on my network, and I'm puzzled about how to make that happen. Can anyone provide this elementary help to me? Thanks in advance, kenn From rasjidw@openminddev.net Wed Nov 20 00:48:00 2002 From: rasjidw@openminddev.net (Rasjid Wilcox) Date: Wed, 20 Nov 2002 00:48:00 -0000 Subject: have cygwin/XFree86 running ... but need help connecting remotely In-Reply-To: <000701c28fdc$4122ec20$2f64a8c0@KENNDESKTOP> References: <000701c28fdc$4122ec20$2f64a8c0@KENNDESKTOP> Message-ID: <200211200215.29693.rasjidw@openminddev.net> On Wed, 20 Nov 2002 1:59 am, Kenn Murrah wrote: > Greetings ... > > Okay, I know I should be able to understand this from the documentation, > but I don't ... > > I've installed CygwinXFree86 on my windows box ... I can double-click the > shortcut on the desktop to run the program, and I can run startxwin.sh, > startx, etc. ... > > but how do i connect to a remote box? I want to connect to a linux box on > my network, and I'm puzzled about how to make that happen. > > Can anyone provide this elementary help to me? Depends on what type of connection you want? Did you just want to ssh into the box, or did you want to set up XDMCP. If you just want to ssh, then type $ ssh username@linux.box If you want to ssh and forward the X session over ssh, then $ ssh -X username@linux.box If you want XDMCP, then I would suggest reading the Linux XDMCP howto. http://www.tldp.org/HOWTO/XDMCP-HOWTO/ Also see the Cygwin-XFree86 FAQ etc. http://xfree86.cygwin.com/docs/ Cheers, Rasjid. From huntharo@msu.edu Wed Nov 20 01:54:00 2002 From: huntharo@msu.edu (Harold L Hunt II) Date: Wed, 20 Nov 2002 01:54:00 -0000 Subject: xwinclip test 6 hacked to leave selection untouched In-Reply-To: Message-ID: Robert, I have been trying to figure out how your patch to xwinclip works. In particular, I was wondering how it got notification that the selection had changed when it was owned by another window. I can now sum up your changes in a sentence: XA_CUT_BUFFER0 is watched for changes and the selection is copied to the Windows clipboard whenever cut buffer 0 is changed. That may not be a completely clean way to solve the problem forever, but it does work, at the very least. Harold From huntharo@msu.edu Wed Nov 20 02:40:00 2002 From: huntharo@msu.edu (Harold L Hunt II) Date: Wed, 20 Nov 2002 02:40:00 -0000 Subject: Direction of xwinclip In-Reply-To: Message-ID: Chris [Twiner], I have finally had a chance to look at your changes to xwinclip. 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? Robert's method of watching for changes in XA_CUT_BUFFER0 might be hack, but I think it is probably closer to what other X Servers for Windows are doing, as those other X Server do not grab ownership of the X selection when they lose the focus. Have you got any objections to watching for changes in XA_CUT_BUFFER0 as a signal that we should request another copy of the X selection? If we decide to go with the XA_CUT_BUFFER0 hack, then there will probably need to be only one more release of xwinclip. After that we can concentrate on integrating the clipboard support into XWin.exe. By the way... I like the setjmp/longjmp stuff... I thought it was two assembly language instructions that were used. Imagine my surprise when I saw setjmp.h and realized that setjmp and longjmp were (used like) functions. That is a heck of a lot easier than I had thought it would be. Thanks for your contributions Chris. Harold From c_twiner@hotmail.com Wed Nov 20 04:05:00 2002 From: c_twiner@hotmail.com (Chris Twiner) Date: Wed, 20 Nov 2002 04:05:00 -0000 Subject: Direction of xwinclip Message-ID: >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 merely grabs whatever is in the selections, if anything, and puts it into the windows clipboard. >Robert's method of watching for changes in XA_CUT_BUFFER0 might be hack, >but >I think it is probably closer to what other X Servers for Windows are >doing, >as those other X Server do not grab ownership of the X selection when they >lose the focus. Neither does my code, but see later... >Have you got any objections to watching for changes in >XA_CUT_BUFFER0 as a signal that we should request another copy of the X >selection? Yes I have, the ICCM standard says don't use it in new applications and the rest of the x development community says don't use it in new applications. Seemingly only a few do. Motif apps have some wierd logic for working out wether to try and use it but they don't use it directly (they've got their own wierd and wonderful way of doing things for CLIPBOARD). Basically as the ICCM says it's obsolete. You can write a compliant X selection app that works with PRIMARY without problems but never uses the cut buffers. How many applications have you tried it with, sorry I can't try it at mine, gcc's specs don't seem to work for my box (or the work box I have it on). >If we decide to go with the XA_CUT_BUFFER0 hack, then there will probably >need to be only one more release of xwinclip. After that we can >concentrate >on integrating the clipboard support into XWin.exe. I think that it would be usefull (possibly as thats the way xceed works, when it does, to make it an xt/xm app as well) so that we can get the motif clipboard if it's being used. However within XWin it may not be the best approach either way, as all messages go through the xserver anyway should not a simple hook into the server code be better then making a client within a server (and having to look at threading it or more complicated setjmp's). >By the way... I like the setjmp/longjmp stuff... I thought it was two >assembly language instructions that were used. Imagine my surprise when I >saw setjmp.h and realized that setjmp and longjmp were (used like) >functions. That is a heck of a lot easier than I had thought it would be. Glad it could help. >Thanks for your contributions Chris. cheers, Chris _________________________________________________________________ The new MSN 8: smart spam protection and 2 months FREE* http://join.msn.com/?page=features/junkmail From jozsefke@freemail.hu Wed Nov 20 05:48:00 2002 From: jozsefke@freemail.hu (Kercso Jozsef) Date: Wed, 20 Nov 2002 05:48:00 -0000 Subject: Xwinclip doesn't work with Konsole Message-ID: <3DDB5B6F.9000206@freemail.hu> Hi! I have tested the latest official release (Test6) and the hacked one from Chris Twiner, but neither works with Konsole, the console from KDE. Is this feature not yet supported, or is this a bug? If I start a normal xterm, it works, however. Best Regards Jozsef Kercso From c_twiner@hotmail.com Wed Nov 20 06:12:00 2002 From: c_twiner@hotmail.com (Chris Twiner) Date: Wed, 20 Nov 2002 06:12:00 -0000 Subject: Xwinclip doesn't work with Konsole Message-ID: > I have tested the latest official release (Test6) and >the hacked one from Chris Twiner, but neither works with >Konsole, the console from KDE. Hi, What are you doing that makes you think it isn't working? Are you just using primary selection? From what I can tell (quick research) it uses CLIPBOARD and PRIMARY. If (with my version) the selection is still shown can you use the middle mouse button to "paste" it into another X app, like xterm? If so then it should be usable with both mine and test6. does test6 clear the selection after you select it? Chris _________________________________________________________________ MSN 8 helps eliminate e-mail viruses. Get 2 months FREE*. http://join.msn.com/?page=features/virus From jozsefke@freemail.hu Wed Nov 20 08:08:00 2002 From: jozsefke@freemail.hu (Kercso Jozsef) Date: Wed, 20 Nov 2002 08:08:00 -0000 Subject: Xwinclip doesn't work with Konsole References: <3DDB5B6F.9000206@freemail.hu> Message-ID: <3DDB7A75.1050307@freemail.hu> Helo! > What are you doing that makes you think it isn't working? The testcases were: - I have an XSession to a Redhat Linux with KDE desktop. - I have two terminals opened: Konsole and xterm - xwinclip(test6 or yours) is started - the copy/paste operation from an xterm to a normal windows application works fine. Sometimes I must to make a click outside the xterm window, otherwise your version does not copy the selection. Test6 has not this bug. - the copy/paste operation from _Konsole_ to a normal windows application does never work. - the copy from a normal windows application to a _terminal window_ (Konsole or xterm) works fine almost every time. (see below) - test6 does not clear the selection in Konsole, but it clears the selection in the xterm window. After the selection in Konsole, the selection is not cleared either in xterm nor in Konsole and test6 doesn't work any more. - the copy/paste operation from/to _a terminal window_ (Konsole or xterm) from/to _another terminal window_ (Konsole or xterm) works perfect every time. > From what I can tell (quick research) it uses CLIPBOARD and PRIMARY. Sorry, this I don't understand, what this sentence means. Can you explain it? Best Regards Jozsef Kercso From c_twiner@hotmail.com Wed Nov 20 09:43:00 2002 From: c_twiner@hotmail.com (Chris Twiner) Date: Wed, 20 Nov 2002 09:43:00 -0000 Subject: Xwinclip doesn't work with Konsole Message-ID: Thanks Jozsef, That's perfect information. >>From what I can tell (quick research) it uses CLIPBOARD and PRIMARY. >Sorry, this I don't understand, what this sentence means. >Can you explain it? I think so, the Konsole app doesn't seem to use the PRIMARY selection properly (i.e. in a standard way), that is why test6 doesn't automatically remove the selection from it. The primary selection is when you highlight something in xterm and then (whilst it is still highlighted) use the middle button to click in another xterm (or the same one, or another compliant x application). This is the standard way to perform cutting and pasting. This works properly with both versions of xwinclip for compliant applications. Just to check (I don't have kde available) this when you say copy/paste do you mean the edit menu copy and paste? Or do you mean highlight in Konsole and then use the middle button. (although at some stage in the next few months I may get another box for linux). regards, Chris _________________________________________________________________ MSN 8 helps eliminate e-mail viruses. Get 2 months FREE*. http://join.msn.com/?page=features/virus From jozsefke@freemail.hu Wed Nov 20 12:25:00 2002 From: jozsefke@freemail.hu (Kercso Jozsef) Date: Wed, 20 Nov 2002 12:25:00 -0000 Subject: Xwinclip doesn't work with Konsole Message-ID: <3DDB983D.5030306@freemail.hu> Hi! > 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. > Or do you mean highlight in Konsole and then use the middle button. Yes, this is what I meant. Best Regards Jozsef Kercso From c_twiner@hotmail.com Wed Nov 20 22:14:00 2002 From: c_twiner@hotmail.com (Chris Twiner) Date: Wed, 20 Nov 2002 22:14:00 -0000 Subject: Xwinclip doesn't work with Konsole Message-ID: 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 xwinclip have in it? does it show something like : no xa_primary owner or maybe XToWindows XA_PRIMARY convertselect() failed It would mean that there is some dodgy non-standard activity going on or that the format can't be converted. Chris _________________________________________________________________ Add photos to your e-mail with MSN 8. Get 2 months FREE*. http://join.msn.com/?page=features/featuredemail From peter.oliver@aquila-networks.co.uk Thu Nov 21 00:27:00 2002 From: peter.oliver@aquila-networks.co.uk (Oliver, Peter) Date: Thu, 21 Nov 2002 00:27:00 -0000 Subject: Xwinclip doesn't work with Konsole Message-ID: <6B0EDF5A1525D5119C000008C786454845D3A3@ntkfem02.meb.co.uk> > -----Original Message----- > From: Chris Twiner [SMTP:c_twiner@hotmail.com] > Sent: Wednesday, November 20, 2002 4:08 PM > To: cygwin-xfree@cygwin.com > Subject: Re: Xwinclip doesn't work with Konsole > > It would mean that there is some dodgy non-standard activity going on or > that the format can't be converted. > I don't know the details, but I've heard it said that some aspect of copy and paste is broken in Qt 2 when it comes to interoperating with clients using other widget sets, but is fixed in Qt 3. Maybe this is what you're up against? -- Peter Oliver Midrange Services Aquila Networks Services Ltd **************************************************************************************************** Confidentiality: This e-mail and any files transmitted with it are confidential and intended solely for the use of the individual or entity to whom they are addressed. If you have received this e-mail in error, use of this information (including disclosure, copying or distribution) may be unlawful. Please notify postmaster@aquila-networks.co.uk. and delete the message immediately. Security: Internet e-mail is not a 100% secure communications medium. Viruses: This e-mail (and any attachments) has been checked (using Sophos Sweep 3.63 + patches) and found to be clean from any virus infection before leaving. Therefore neither Aquila Networks Services Ltd nor Midlands Electricity plc or any of their group undertakings (as defined by the Companies Act 1989) (together referred to as the "Companies") accept legal responsibility for this message or liability for the consequences of any computer viruses which may have been transmitted by this e-mail. Monitoring: All electronic communications with the Companies may be monitored in accordance with the UK Regulation of Investigatory Powers Act, Lawful Business Practice Regulations, 2000. If you do not consent to such monitoring, you should contact the sender of this e-mail. Aquila Networks Services Limited, Registered office: Whittington Hall, Whittington, Worcester, WR5 2RB Registered in England and Wales number 3600545 This e-mail may be sent on behalf of any of the Companies. **************************************************************************************************** From Alexander.Gottwald@s1999.tu-chemnitz.de Thu Nov 21 04:10:00 2002 From: Alexander.Gottwald@s1999.tu-chemnitz.de (Alexander Gottwald) Date: Thu, 21 Nov 2002 04:10:00 -0000 Subject: Compile error with current CVS Message-ID: Hi, An update to the current XFree86 CVS revealed some compile problems. xc/programs/Xserver/hw/xfree86/common/xf86.h now includes xf86Pci.h which is found in xc/programs/Xserver/hw/xfree86/os-support/bus. The patch adds the path to the include list, but I'm not sure if this is the correct fix. Maybe Alan put some light to this topic. bye ago Index: programs/Xserver/xkb/Imakefile =================================================================== RCS file: /cvs/xc/programs/Xserver/xkb/Imakefile,v retrieving revision 3.19 diff -u -r3.19 Imakefile --- programs/Xserver/xkb/Imakefile 2002/11/20 04:49:02 3.19 +++ programs/Xserver/xkb/Imakefile 2002/11/20 20:19:18 @@ -26,7 +26,7 @@ XKB_DDXDEFS = XkbServerDefines #ifdef XFree86Version -XF86INCLUDES = -I$(XF86COMSRC) -I$(XF86OSSRC) +XF86INCLUDES = -I$(XF86COMSRC) -I$(XF86OSSRC) -I$(XF86OSSRC)/bus XF86_OBJS = xf86KillSrv.o xf86VT.o xf86Private.o #endif -- From pdb1@utah.edu Thu Nov 21 04:34:00 2002 From: pdb1@utah.edu (Philip Blood) Date: Thu, 21 Nov 2002 04:34:00 -0000 Subject: cygwin/xfree86 startup problem Message-ID: <002d01c29127$1eea0340$90fb6e80@phil> I had a problem exactly like the one below except I did install everything in C drive in the proper directories. The only thing I can thin is that I downloaded the cygwin setup.exe to a zip and ran it and downloaded the files to the zip. Then I copied setup.exe and all the cygwin files directly to c:/cyginstall. Then I ran setup.exe again, this time choosing to install from local directory to c:/cygwin. Then I copied the zipped xfree binaries from my zip to c:/cygwin/tmp. Then I installed cygwin/xfree86 exactly according to the users guide, but when I doubleclicked on startxwin.bat, I got the error it could not find cygwin1.dll even though I could see it sitting there in c:/cygwin/bin. There were also messages in the terminal about not being able to locate Xwin, Xterm, and twm. Editing the path to explicitly include c:\ does nothing in my case. I am also using Windows 98SE. Phil Blood > -----Original Message----- > From: cygwin-owner@cygwin.com [mailto:cygwin-owner@cygwin.com]On Behalf > Of Harold L Hunt > Sent: Friday, July 12, 2002 10:27 AM > To: willichnicht habichnet; cygwin-xfree@cygwin.com > Cc: cygwin@cygwin.com > Subject: Re: Bug in startxwin.bat after installing with setup.exe in > win98SE > > > First: Wrong mailing list. Send all Cygwin/XFree86 questions to > cygwin-xfree@cygwin.com. I have redirected this discussion to the correct > mailing list, but be careful to remove cygwin@cygwin.com from the ``cc'' if > you reply to this message. > > Second: Read the extensive comments in startxwin.bat that talk about > CYGWIN_ROOT. Not specifying a drive causes the path to reference \cygwin on > the current drive (such as c:\cygwin, or d:\cygwin). You have to run > startxwin.bat from the same drive that Cygwin is installed on, or it won't get > the correct drive letter. > > startxwin.bat has been using this path setting system for over a year (I > think) and not a *single* person has reported a problem with it until today. > You must be doing something on your system that other users thought better of > (such as running startxwin.bat from the d drive, or from a network drive, when > Cygwin is installed on the c drive). I have to disagree. Absence of complaints does not imply absence of errors. Many people become "used to" buggy software that only works if you don't deviate from the well-trodden path. That's no excuse to fail to fix a known problem. The comments you mention: REM REM The path in the CYGWIN_ROOT environment variable assignment assume REM that Cygwin is installed in a directory called 'cygwin' in the root REM directory of the current drive. You will only need to modify REM CYGWIN_ROOT if you have installed Cygwin in another directory. For REM example, if you installed Cygwin in \foo\bar\baz\cygwin, you will need REM to change \cygwin to \foo\bar\baz\cygwin. REM REM This batch file will almost always be run from the same drive (and REM directory) as the drive that contains Cygwin/XFree86, therefore you will REM not need to add a drive letter to CYGWIN_ROOT. For example, you do REM not need to change \cygwin to c:\cygwin if you are running this REM batch file from the C drive. REM don't explain what is wrong with adding a drive lettter, only that it "almost always" works because the drive letter already matches. You need the drive letter to make an absolute path. (By the way, "." is redundant in a Windows path anyway.) > > Harold > > > willichnicht habichnet said: > > > i installed cygwin/XFree86 with the recommended > > setup.exe in win98SE. > > starting X with startxwin.bat resulted in > > errormessages like "cygwin1.dll not found" etc. > > in startxwin.bat there was a line "SET > > CYGWIN_ROOT=\cygwin" which seemed to be incorrect > > because theres no drive given. > > after editing it to "SET CYGWIN_ROOT=c:\cygwin" > > (installation path) everything works fine. > > i installed it on a win2000 too without these problems > > but on an other win98-system same corrupted > > startxwin.bat was there. > > i have not tried an other installation directory or > > drive. > > this message is only for information; i need no other > > solution. > > > > Michael Heide > > > > From jozsefke@freemail.hu Thu Nov 21 06:00:00 2002 From: jozsefke@freemail.hu (Kercso Jozsef) Date: Thu, 21 Nov 2002 06:00:00 -0000 Subject: Xwinclip doesn't work with Konsole Message-ID: <3DDC98EA.20807@freemail.hu> Hi! I have to make some correction to my previous testcases. Now I see clearer what the situation is: 1. I copy something in a Windows application - paste in a Windows application works - paste in Konsole works 2. I select something in Konsole - in the clipboard viewer I see the _old_ selection(from 1.) - xwinclip says: SelectionNotify UTF8 - paste in Konsole(or xterm) works(paste the selection from Konsole) - paste in a Windows application doesn't work (paste the _old_ selection, that is: selection from 1.) 3. I copy something in a Windows application - in the clipboard viewer I see the _previous_ selection from Konsole!!! - xwinclip says: SelectionNotify UTF8 - paste in a Windows application works(selection from Konsole) - paste in Konsole works(selection from Konsole) 4. I copy something again in a Windows application - in the clipboard viewer I see the current selection - paste in a Windows application works(current selection) - paste in Konsole works(current selection) 5. With xterm everything is fine. So I think, that Konsole use the PRIMARY SELECTION, but I don't see what the problem is. I made some other tests too, but the results were too chaotish, I can't reproduce them every time. Best Regards Jozsef Kercso From c_twiner@hotmail.com Thu Nov 21 11:14:00 2002 From: c_twiner@hotmail.com (Chris Twiner) Date: Thu, 21 Nov 2002 11:14:00 -0000 Subject: Xwinclip doesn't work with Konsole Message-ID: 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 recognise that there is a primary selection. This seems related to the qt bug but I don't know quite how to proove it. Chris _________________________________________________________________ MSN 8 with e-mail virus protection service: 2 months FREE* http://join.msn.com/?page=features/virus From huntharo@msu.edu Thu Nov 21 11:25:00 2002 From: huntharo@msu.edu (Harold L Hunt II) Date: Thu, 21 Nov 2002 11:25:00 -0000 Subject: cygwin/xfree86 startup problem In-Reply-To: <002d01c29127$1eea0340$90fb6e80@phil> References: <002d01c29127$1eea0340$90fb6e80@phil> Message-ID: <3DDCD2E4.7060809@msu.edu> Philip, Your problem is that the User's Guide is out of date. Read the note on xfree86.cygwin.com about how to install. Harold Philip Blood wrote: >I had a problem exactly like the one below except I did install everything >in C drive in the proper directories. The only thing I can thin is that I >downloaded the cygwin setup.exe to a zip and ran it and downloaded the files >to the zip. Then I copied setup.exe and all the cygwin files directly to >c:/cyginstall. Then I ran setup.exe again, this time choosing to install >from local directory to c:/cygwin. Then I copied the zipped xfree binaries >from my zip to c:/cygwin/tmp. Then I installed cygwin/xfree86 exactly >according to the users guide, but when I doubleclicked on startxwin.bat, I >got the error it could not find cygwin1.dll even though I could see it >sitting there in c:/cygwin/bin. There were also messages in the terminal >about not being able to locate Xwin, Xterm, and twm. > >Editing the path to explicitly include c:\ does nothing in my case. I am >also using Windows 98SE. > >Phil Blood > > > >>-----Original Message----- >>From: cygwin-owner@cygwin.com [mailto:cygwin-owner@cygwin.com]On Behalf >>Of Harold L Hunt >>Sent: Friday, July 12, 2002 10:27 AM >>To: willichnicht habichnet; cygwin-xfree@cygwin.com >>Cc: cygwin@cygwin.com >>Subject: Re: Bug in startxwin.bat after installing with setup.exe in >>win98SE >> >> >>First: Wrong mailing list. Send all Cygwin/XFree86 questions to >>cygwin-xfree@cygwin.com. I have redirected this discussion to the correct >>mailing list, but be careful to remove cygwin@cygwin.com from the ``cc'' >> >> >if > > >>you reply to this message. >> >>Second: Read the extensive comments in startxwin.bat that talk about >>CYGWIN_ROOT. Not specifying a drive causes the path to reference \cygwin >> >> >on > > >>the current drive (such as c:\cygwin, or d:\cygwin). You have to run >>startxwin.bat from the same drive that Cygwin is installed on, or it won't >> >> >get > > >>the correct drive letter. >> >>startxwin.bat has been using this path setting system for over a year (I >>think) and not a *single* person has reported a problem with it until >> >> >today. > > >>You must be doing something on your system that other users thought better >> >> >of > > >>(such as running startxwin.bat from the d drive, or from a network drive, >> >> >when > > >>Cygwin is installed on the c drive). >> >> > >I have to disagree. Absence of complaints does not imply absence of errors. >Many people become "used to" buggy software that only works if you don't >deviate >from the well-trodden path. That's no excuse to fail to fix a known >problem. > >The comments you mention: >REM >REM The path in the CYGWIN_ROOT environment variable assignment assume >REM that Cygwin is installed in a directory called 'cygwin' in the root >REM directory of the current drive. You will only need to modify >REM CYGWIN_ROOT if you have installed Cygwin in another directory. For >REM example, if you installed Cygwin in \foo\bar\baz\cygwin, you will need >REM to change \cygwin to \foo\bar\baz\cygwin. >REM >REM This batch file will almost always be run from the same drive (and >REM directory) as the drive that contains Cygwin/XFree86, therefore you will >REM not need to add a drive letter to CYGWIN_ROOT. For example, you do >REM not need to change \cygwin to c:\cygwin if you are running this >REM batch file from the C drive. >REM >don't explain what is wrong with adding a drive lettter, only that >it "almost always" works because the drive letter already matches. > >You need the drive letter to make an absolute path. >(By the way, "." is redundant in a Windows path anyway.) > > > >>Harold >> >> >>willichnicht habichnet said: >> >> >> >>>i installed cygwin/XFree86 with the recommended >>>setup.exe in win98SE. >>>starting X with startxwin.bat resulted in >>>errormessages like "cygwin1.dll not found" etc. >>>in startxwin.bat there was a line "SET >>>CYGWIN_ROOT=\cygwin" which seemed to be incorrect >>>because theres no drive given. >>>after editing it to "SET CYGWIN_ROOT=c:\cygwin" >>>(installation path) everything works fine. >>>i installed it on a win2000 too without these problems >>>but on an other win98-system same corrupted >>>startxwin.bat was there. >>>i have not tried an other installation directory or >>>drive. >>>this message is only for information; i need no other >>>solution. >>> >>>Michael Heide >>> >>> >>> >>> > > > > From jozsefke@freemail.hu Thu Nov 21 11:41:00 2002 From: jozsefke@freemail.hu (Kercso Jozsef) Date: Thu, 21 Nov 2002 11:41:00 -0000 Subject: Xwinclip doesn't work with Konsole Message-ID: <3DDCE6C8.8010909@freemail.hu> Hi! > Can you give me the output of my xwinclip when you run these tests? Here it is: $ ./xwinclip.exe UnicodeSupport - Windows NT/2000/XP [[Prev mail Point 1. Second section("paste in Konsole works")]] FlushXEvents - CreateNotify parent: 54 window: 16777870 FlushXEvents - CreateNotify parent: 54 window: 23069034 [[Prev mail Point 2. Nothing happens!!]] [[Prev mail Point 3.]] SelectionNotify UTF8 [[Prev mail Point 4. Nothing happens.]] $ > I will post the built exe and the dll for my version as well, just to > remove compilation issues. Great! Best Regards Jozsef Kercso From c_twiner@hotmail.com Thu Nov 21 15:23:00 2002 From: c_twiner@hotmail.com (Chris Twiner) Date: Thu, 21 Nov 2002 15:23:00 -0000 Subject: Xwinclip doesn't work with Konsole Message-ID: 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 8. http://join.msn.com/?page=features/junkmail -------------- next part -------------- A non-text attachment was scrubbed... Name: xwinclip_hook.zip Type: application/x-zip-compressed Size: 26286 bytes Desc: not available URL: From andrew.markebo@telia.com Thu Nov 21 15:48:00 2002 From: andrew.markebo@telia.com (Andrew Markebo) Date: Thu, 21 Nov 2002 15:48:00 -0000 Subject: Xwinclip doesn't work with Konsole In-Reply-To: ("Chris Twiner"'s message of "Wed, 20 Nov 2002 13:48:25 +0000") References: Message-ID: / "Chris Twiner" wrote: | Thanks Jozsef, > | That's perfect information. > >>>From what I can tell (quick research) it uses CLIPBOARD and PRIMARY. >>Sorry, this I don't understand, what this sentence means. >>Can you explain it? > | I think so, the Konsole app doesn't seem to use the PRIMARY selection | properly (i.e. in a standard way), that is why test6 doesn't | automatically remove the selection from it. Hi! Sorry for private mail, but I am not sure I can mail to the list.. reading it from news. Just a quick thought.. as you say "it does not use the PRIMARY selection properly", does it use the primary selection at all? I mean, modern X and like the CDE on solaris has two clipboards, one is for CDE, and can be accessed by apps compiled to CDE through the menus edit->copy edit->paste, while the other, in xterms, emacs and so on uses the ancient select with mouse, and paste with middle button.. It is not like Konsole uses the alternative clipboard? Or you are supposed to use it.. Or maybe even you need to select the text, and do a edit->copy to get it to the clipboard? /Andy -- The eye of the beholder rests on the beauty! From c_twiner@hotmail.com Thu Nov 21 23:32:00 2002 From: c_twiner@hotmail.com (Chris Twiner) Date: Thu, 21 Nov 2002 23:32:00 -0000 Subject: Xwinclip doesn't work with Konsole Message-ID: >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 postings. >Just a quick thought.. as you say "it does not use the PRIMARY >selection properly", does it use the primary selection at all? According to the docs on it, yes. It's apparently a well known problem, if it is the problem that was suggested. >I mean, modern X and like the CDE on solaris has two clipboards, one >is for CDE, and can be accessed by apps compiled to CDE through the >menus edit->copy edit->paste, while the other, in xterms, emacs and so >on uses the ancient select with mouse, and paste with middle button.. Strictly speaking the acient select with mouse and paste option is the correct ICCM standard, that's why qt3 is moving to that way of operating. It's probable that it's current implementation is just using it's own wierd solution but the postings on google seem to indicate it uses both CLIPBOARD and PRIMARY so it may be it's just not using it properly. >It is not like Konsole uses the alternative clipboard? Or you are >supposed to use it.. Nope it's non standard. However that doesn't mean that xwinclip shouldn't be changed to work with it. >Or maybe even you need to select the text, and do a edit->copy to get >it to the clipboard? Could be, but I'd like to see what the latest output would be. Chris _________________________________________________________________ Tired of spam? Get advanced junk mail protection with MSN 8. http://join.msn.com/?page=features/junkmail From huntharo@msu.edu Fri Nov 22 01:06:00 2002 From: huntharo@msu.edu (Harold L Hunt II) Date: Fri, 22 Nov 2002 01:06:00 -0000 Subject: Xwinclip doesn't work with Konsole References: <3DDCE6C8.8010909@freemail.hu> Message-ID: <3DDD6AEF.5010704@msu.edu> Jozsef, I think I see the problem. The code that handles converting the text format (added by Kensuke Matsuzaki) *always* looks at the PRIMARY selection, whereas I have just done some testing that seems to indicate that Konsole is using the CLIPBOARD selection. Therefore, the converted text is blank. I am not sure why this was hard coded... it seems to be an accident. The code should be trying to convert the atom specified by event.xselection.selection instead. Download this version of xwinclip and let me know if it works: http://www.msu.edu/~huntharo/xwin/xwinclip/xwinclip-20021121-1800.exe.bz2 (5 KiB) The faster you respond, the more likely I am to finish up this patch, and the happier I will be. On a side note... I seem to have done something strange to this version of xwinclip. I have been playing around with various patches to try and stop from having to grab ownership of the selection and, well, I seem to have stumbled on an improvement, though I cannot explain it and I fear that it might turn out not to be an improvement. The behavior is as such: 1) Go into emacs under X, select some text. The text remains selected. 2) Go into Notepad, paste the text. The expected text is pasted. 3) Go back into emacs under X, select some new text. Again, the text remains selected. 4) Go back into Notepad, paste the text. Again, the expected text is pasted. The behavior of xwinclip has been such that second selections would not work if the PRIMARY selection was not re-owned. I seem to have done something that is stopping the PRIMARY selection from being reowned while still allowing notification of selection updates. I checked my code and I am not watching XA_CUT_BUFFER0, so I have no idea what is going on. 5) Konsole still unselects the selected text immediately. 6) Strange. I am still calling XSetSelectionOwner on event.xselection.selection... so I should be re-owning the PRIMARY or CLIPBOARD selection... maybe I will just leave this alone so that I can enjoy my delusion of having fixed the main problem with xwinclip. Anyway, someone tell me if it works for them, please, please, please. Harold Kercso Jozsef wrote: > Hi! > > > Can you give me the output of my xwinclip when you run these tests? > Here it is: > $ ./xwinclip.exe > UnicodeSupport - Windows NT/2000/XP > [[Prev mail Point 1. Second section("paste in Konsole works")]] > FlushXEvents - CreateNotify parent: 54 window: 16777870 > FlushXEvents - CreateNotify parent: 54 window: 23069034 > [[Prev mail Point 2. Nothing happens!!]] > [[Prev mail Point 3.]] > SelectionNotify UTF8 > [[Prev mail Point 4. Nothing happens.]] > $ > > > I will post the built exe and the dll for my version as well, just to > > remove compilation issues. > Great! > > Best Regards > Jozsef Kercso > From huntharo@msu.edu Fri Nov 22 02:48:00 2002 From: huntharo@msu.edu (Harold L Hunt II) Date: Fri, 22 Nov 2002 02:48:00 -0000 Subject: Xwinclip doesn't work with Konsole References: <3DDCE6C8.8010909@freemail.hu> <3DDD6AEF.5010704@msu.edu> Message-ID: <3DDD70DE.8040605@msu.edu> Hmm... xwinclip-Test06 actually works the exact same way with Emacs... I am pretty sure this is just because Emacs 21 finally fixed the way that the selections were handled. So, I think we can now safely say that if someone has an application that unhighlights the selection when xwinclip is running: fix the *?$%ing application!!! :) As far as Konsole is concerned, take a look at the xwinclip snapshot that I just posted... it has diagnostic messages that print the atom name that was just re-owned. Konsole owns both the CLIPBOARD and the PRIMARY atoms, and it turns out that not reowning the PRIMARY atom and only reowning the CLIPBOARD atom keeps the text highlighted in Konsole. Arrgh... I am just confused now. Is the unhighlighting of selections our problem anymore? I am starting to think that it is not. Harold Harold L Hunt II wrote: > Jozsef, > > I think I see the problem. The code that handles converting the text > format (added by Kensuke Matsuzaki) *always* looks at the PRIMARY > selection, whereas I have just done some testing that seems to indicate > that Konsole is using the CLIPBOARD selection. Therefore, the converted > text is blank. I am not sure why this was hard coded... it seems to be > an accident. The code should be trying to convert the atom specified by > event.xselection.selection instead. > > Download this version of xwinclip and let me know if it works: > http://www.msu.edu/~huntharo/xwin/xwinclip/xwinclip-20021121-1800.exe.bz2 > (5 KiB) > > The faster you respond, the more likely I am to finish up this patch, > and the happier I will be. > > > On a side note... I seem to have done something strange to this version > of xwinclip. I have been playing around with various patches to try and > stop from having to grab ownership of the selection and, well, I seem to > have stumbled on an improvement, though I cannot explain it and I fear > that it might turn out not to be an improvement. The behavior is as such: > > 1) Go into emacs under X, select some text. The text remains selected. > > 2) Go into Notepad, paste the text. The expected text is pasted. > > 3) Go back into emacs under X, select some new text. Again, the text > remains selected. > > 4) Go back into Notepad, paste the text. Again, the expected text is > pasted. The behavior of xwinclip has been such that second selections > would not work if the PRIMARY selection was not re-owned. I seem to > have done something that is stopping the PRIMARY selection from being > reowned while still allowing notification of selection updates. I > checked my code and I am not watching XA_CUT_BUFFER0, so I have no idea > what is going on. > > 5) Konsole still unselects the selected text immediately. > > 6) Strange. > > I am still calling XSetSelectionOwner on event.xselection.selection... > so I should be re-owning the PRIMARY or CLIPBOARD selection... maybe I > will just leave this alone so that I can enjoy my delusion of having > fixed the main problem with xwinclip. > > Anyway, someone tell me if it works for them, please, please, please. > > > Harold > > Kercso Jozsef wrote: > >> Hi! >> >> > Can you give me the output of my xwinclip when you run these tests? >> Here it is: >> $ ./xwinclip.exe >> UnicodeSupport - Windows NT/2000/XP >> [[Prev mail Point 1. Second section("paste in Konsole works")]] >> FlushXEvents - CreateNotify parent: 54 window: 16777870 >> FlushXEvents - CreateNotify parent: 54 window: 23069034 >> [[Prev mail Point 2. Nothing happens!!]] >> [[Prev mail Point 3.]] >> SelectionNotify UTF8 >> [[Prev mail Point 4. Nothing happens.]] >> $ >> >> > I will post the built exe and the dll for my version as well, just to >> > remove compilation issues. >> Great! >> >> Best Regards >> Jozsef Kercso >> > From promolinux@linuxhelpdesk.com.ar Fri Nov 22 03:09:00 2002 From: promolinux@linuxhelpdesk.com.ar (promolinux@linuxhelpdesk.com.ar) Date: Fri, 22 Nov 2002 03:09:00 -0000 Subject: Redhat 8.0 Full en su domicilio Message-ID: <200211220732.gAM7WiU11475@pampita.horizonteit.com.ar> REDHAT LINUX 8.0 FINAL. Los 3 primeros CD sistema completo para usuario final $15. Los 5 cds (instalacion y fuentes) sistema completo para desarrrolladores $25. Instalado en su PC por personal altamente capacitado en Linux $ 75. (incluye CDs de instalaci??n) Haga su pedido a cds@linuxhelpdesk.com.ar Consulte por instalaciones en empresas, Servidores Web/PHP/Firewall. Reemplace sus actuales instalaciones en Windows. Damos soporte completo en migraciones a Linux. El producto se entrega en cd gen??rico, sin caja. Manuales incluidos en los CD. Incluye OpenOffice 1.01 , Gnome 2.0 y KDE 3. Vea las principales caracter??sticas en http://www.redhat.com/software/linux/features/ Ahora puede obtener el escritorio mas estable del planeta absolutamente en regla y con licencia. Si tiene dudas acerca de la licencia consulte los acuerdos de licencia en www.redhat.com. Si busca otras versiones de Linux consultenos enviando un mail a cds@linuxhelpdesk.com.ar Envio a Cap.Fed. $ 4. Gran Buenos Aires $ 4,5. Resto del Pais Consultar pago previo deposito bancario o pago contra reembolso. From kercso.jozsef@evosoft.hu Fri Nov 22 03:12:00 2002 From: kercso.jozsef@evosoft.hu (Kercso Jozsef) Date: Fri, 22 Nov 2002 03:12:00 -0000 Subject: Xwinclip doesn't work with Konsole Message-ID: <3DDDF379.5000102@evosoft.hu> Hi Harold! No, it doesn't work correctly. The output is: UnicodeSupport - Windows NT/2000/XP ## Select something in Konsole SelectionNotify CompoundText (the selection remains selected) ## Click somewhere in X SelectionNotify CompoundText SelectionNotify UTF8 ## Click somewhere in X SelectionNotify UTF8 SelectionNotify - Reasserted ownership of ATOM: PRIMARY SelectionNotify - Reasserted ownership of ATOM: CLIPBOARD Now the paste in a Windows application works. If I do not follow the procedure described, the paste operation in a Windows application doesn't work. The reversed procedure(copy from Windows to X) has a chaotic behaviour. I can't reproduce it every time. Sometimes works, sometimes not. > Download this version of xwinclip and let me know if it works: > http://www.msu.edu/~huntharo/xwin/xwinclip/xwinclip-20021121-1800.exe.bz2 (5 KiB) > The faster you respond, the more likely I am to finish up this patch, and > the happier I will be. Best Regards Jozsef Kercso From hendrik.mueller@dokom.net Fri Nov 22 03:47:00 2002 From: hendrik.mueller@dokom.net (Hendrik Mueller) Date: Fri, 22 Nov 2002 03:47:00 -0000 Subject: cygwin an windows 311 Message-ID: good morning! incidently I stumbled in your offer for a free x-windows-server for ms-windows programs. The 'setup.exe' program I downloaded from your site does not seem to be willing to work in a win311 environment. I'm trying to find a working x-server that is working with win311 because my (lt's call it) older notebook in not willing to carry the load of a win95 distribution or higher. Is there a way to install cygwin working with win311 or do you know any other kind of x-server for free working in thus an old environment? Thanky for your answer, Hendrik M??ller From jozsefke@freemail.hu Fri Nov 22 03:47:00 2002 From: jozsefke@freemail.hu (Kercso Jozsef) Date: Fri, 22 Nov 2002 03:47:00 -0000 Subject: Xwinclip doesn't work with Konsole Message-ID: <3DDE0B26.20103@freemail.hu> 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 unpredictable. (see log2) Best Regards Jozsef Kercso -------------- next part -------------- A non-text attachment was scrubbed... Name: log1.zip Type: application/octet-stream Size: 729 bytes Desc: not available URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: log2.zip Type: application/octet-stream Size: 1001 bytes Desc: not available URL: From wilper-8@ludd.luth.se Fri Nov 22 04:01:00 2002 From: wilper-8@ludd.luth.se (Wilhelm Person) Date: Fri, 22 Nov 2002 04:01:00 -0000 Subject: cygwin an windows 311 In-Reply-To: Message-ID: I assume that Linux/BSD is out of the question... /W On Fri, 22 Nov 2002, Hendrik Mueller wrote: > good morning! > incidently I stumbled in your offer for a free x-windows-server for > ms-windows programs. The 'setup.exe' program I downloaded from your site does > not seem to be willing to work in a win311 environment. I'm trying to find a > working x-server that is working with win311 because my (lt's call it) older > notebook in not willing to carry the load of a win95 distribution or higher. > Is there a way to install cygwin working with win311 or do you know any other > kind of x-server for free working in thus an old environment? > Thanky for your answer, > Hendrik M??ller > +-------------------------------+ | Home: http://wilper.cjb.net | | E-mail: wilper@home.se | +-------------------------------+ From c_twiner@hotmail.com Fri Nov 22 04:37:00 2002 From: c_twiner@hotmail.com (Chris Twiner) Date: Fri, 22 Nov 2002 04:37:00 -0000 Subject: Xwinclip doesn't work with Konsole Message-ID: >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 unpredictable. (see log2) Thanks Jozsef, The output looks as I'd expect for Harolds reasoning. I've put in his changes for selecting the CLIPBOARD (an issue with me for a while) output but I haven't made the thing work yet. It recognises an owner and calls xconvertselection, then the flushxevents function is called but the XNextEvent doesn't show a new message. Bizarre. I'll keep trying to get clipboard working properly maybe that will be enough. chris PS (the "wierd" behaviour with pasting back the windows clipboard is because it won't claim ownership unless a windows application has changed the clipboard since the last primary selection. This is in my code only. It makes logical sense but it doesn't work the way the old one did, as far as possible it leaves XWin to do it's thing, only claiming the primary selection once the clipboard has been changed). _________________________________________________________________ Tired of spam? Get advanced junk mail protection with MSN 8. http://join.msn.com/?page=features/junkmail From Dr.Volker.Zell@oracle.com Fri Nov 22 05:03:00 2002 From: Dr.Volker.Zell@oracle.com (Dr. Volker Zell) Date: Fri, 22 Nov 2002 05:03:00 -0000 Subject: Xwinclip doesn't work with Konsole In-Reply-To: <3DDD70DE.8040605@msu.edu> (Harold L Hunt II's message of "Thu, 21 Nov 2002 18:48:46 -0500") References: <3DDCE6C8.8010909@freemail.hu> <3DDD6AEF.5010704@msu.edu> <3DDD70DE.8040605@msu.edu> Message-ID: <87isypomjb.fsf@vzell-de.de.oracle.com> >>>>> "Harold" == Harold L Hunt, writes: Harold> Hmm... Harold> xwinclip-Test06 actually works the exact same way with Emacs... I am Harold> pretty sure this is just because Emacs 21 finally fixed the way that Harold> the selections were handled. So, I think we can now safely say that Harold> if someone has an application that unhighlights the selection when Harold> xwinclip is running: fix the *?$%ing application!!! :) I know of 2 applications which unhighlight the selection. Xemacs and Nedit. I just tested them with your xwinclip-20021121-1800.exe. But I got a patched version of xwinclip from Chris Twiner once which works perfect even with Xemacs and Nedit. There must be an e-mail about this in the archive. Ciao Volker From c_twiner@hotmail.com Fri Nov 22 10:56:00 2002 From: c_twiner@hotmail.com (Chris Twiner) Date: Fri, 22 Nov 2002 10:56:00 -0000 Subject: Xwinclip doesn't work with Konsole Message-ID: >Hmm... Indeed, the clipboard thing has been irritating me for a while, can't believe i didn't spot it. Either way I can't get the thing to work yet. When I call XConvertSelection on CLIPBOARD it says there is a message (from select) but then XNextEvent doesn't process any message, very wierd. Primary still works fine. >xwinclip-Test06 actually works the exact same way with Emacs... I am > >pretty sure this is just because Emacs 21 finally fixed the way that >the >selections were handled. So, I think we can now safely say that if >someone >has an application that unhighlights the selection when >xwinclip is >running: fix the *?$%ing application!!! :) I'd have to disagree in a big way. xterm, dtterm, nedit, netscape , and countless other X applictions that behave in the right way won't because xwinclip breaks the standard by reclaiming ownership. I've tested your release with at least the above and it causes functionality issues with anything that uses the selection. The next qt format will follow motif i.e. select is primary, ctrl+c (or alt+c etc) copies the highlighted text into the clipboard. This is a very standard way of doing things, and more importantly it works properly. "Fixing" them to leave the selection up breaks the normal visual feedback you get with all standard X apps, not good at all. > Arrgh... I am just confused now. Is the unhighlighting of >selections >our problem anymore? I am starting to think that it is not. It is our problem (well anyone who wants to use xwinclip) and it should be fixed. The hook dll doesn't need to be used as XWin can notify the app itself (if you have it inbuilt into xwin then multiple instances of xwin won't work properly together (although I'm not sure they do anyway), i'm talking about running xwin more than once not a screen option). I can remove the hook by patching xwin to send out WM_ACTIVATE message's to a single xwinclip instance (this of course can be run from within XWin anyway). But I think that's not what you want either. Chris _________________________________________________________________ STOP MORE SPAM with the new MSN 8 and get 2 months FREE* http://join.msn.com/?page=features/junkmail From alexander.gottwald@s1999.tu-chemnitz.de Fri Nov 22 11:03:00 2002 From: alexander.gottwald@s1999.tu-chemnitz.de (Alexander Gottwald) Date: Fri, 22 Nov 2002 11:03:00 -0000 Subject: cygwin an windows 311 In-Reply-To: Message-ID: On Fri, 22 Nov 2002, Hendrik Mueller wrote: > good morning! > incidently I stumbled in your offer for a free x-windows-server for > ms-windows programs. The 'setup.exe' program I downloaded from your site does > not seem to be willing to work in a win311 environment. I'm trying to find a > working x-server that is working with win311 because my (lt's call it) older > notebook in not willing to carry the load of a win95 distribution or higher. > Is there a way to install cygwin working with win311 or do you know any other > kind of x-server for free working in thus an old environment? cygwin is not supported on win 3.11. This means that the Cygwin/XFree will not work either. bye ago -- Alexander.Gottwald@informatik.tu-chemnitz.de http://www.gotti.org ICQ: 126018723 From Vince.Hoffman@uk.circle.com Fri Nov 22 11:05:00 2002 From: Vince.Hoffman@uk.circle.com (Vince Hoffman) Date: Fri, 22 Nov 2002 11:05:00 -0000 Subject: cygwin an windows 311 Message-ID: <3500515B75D9D311948800508BA3795595096A@EX-LONDON> Its possible that you could get this to work, http://www.jcraft.com/wiredx/ maybe.. if windows 3.11 java is up to the job. I'd be supprised though. > -----Original Message----- > From: Hendrik Mueller [mailto:hendrik.mueller@dokom.net] > Sent: 22 November 2002 10:49 > To: cygwin-xfree@cygwin.com > Subject: cygwin an windows 311 > > > good morning! > incidently I stumbled in your offer for a free x-windows-server for > ms-windows programs. The 'setup.exe' program I downloaded > from your site does > not seem to be willing to work in a win311 environment. I'm > trying to find a > working x-server that is working with win311 because my (lt's > call it) older > notebook in not willing to carry the load of a win95 > distribution or higher. > Is there a way to install cygwin working with win311 or do > you know any other > kind of x-server for free working in thus an old environment? > Thanky for your answer, > Hendrik M?ller > From johnny@hwr.arizona.edu Fri Nov 22 11:05:00 2002 From: johnny@hwr.arizona.edu (John Burkhart) Date: Fri, 22 Nov 2002 11:05:00 -0000 Subject: SSH & XFree86 In-Reply-To: <3DDE7CAB.3080208@msu.edu> Message-ID: To whomever may have the knowledge (aka HH?), I am using XFree86 running on a win98 machine to access a remote Unix system. My machine is behind a router, therefore when i run ssh with the parameters : ssh -X -l username hostname I get the follwing error: Warning: No xauth data; using fake authentication data for X11 forwarding. Subsequently the remote machine gives me a "can't open display" error whenever I try to run anything like xmgr or even and xterm on the remote machine. Do I need to use port forwarding? If so, how do I do this? The router has a public IP address, but the IP on my computer is invisible to the WAN as far as I can tell. Thank you, john From andrew.markebo@telia.com Fri Nov 22 11:34:00 2002 From: andrew.markebo@telia.com (Andrew Markebo) Date: Fri, 22 Nov 2002 11:34:00 -0000 Subject: SSH & XFree86 In-Reply-To: (John Burkhart's message of "Fri, 22 Nov 2002 11:56:49 -0700 (MST)") References: <3DDE7CAB.3080208@msu.edu> Message-ID: What is the variable DISPLAY set to on the unix-machines?? What is the variable DISPLAY set to in the terminal you do the ssh -X command from? /Andy / John Burkhart wrote: | To whomever may have the knowledge (aka HH?), > | I am using XFree86 running on a win98 machine to access a remote Unix | system. My machine is behind a router, therefore when i run ssh with the | parameters : ssh -X -l username hostname | I get the follwing error: | Warning: No xauth data; using fake authentication data for X11 forwarding. > | Subsequently the remote machine gives me a "can't open display" error | whenever I try to run anything like xmgr or even and xterm on the remote | machine. Do I need to use port forwarding? If so, how do I do this? The | router has a public IP address, but the IP on my computer is invisible to | the WAN as far as I can tell. > | Thank you, john > > > -- The eye of the beholder rests on the beauty! From jc.gervais@videotron.ca Fri Nov 22 18:22:00 2002 From: jc.gervais@videotron.ca (Jean-Claude Gervais) Date: Fri, 22 Nov 2002 18:22:00 -0000 Subject: SSH & XFree86 In-Reply-To: Message-ID: <007601c2925a$0447c700$6501a8c0@sprymusic.com> Hi John, I use SSH the same way that you do, and although I can't be sure to solve your problem, here are a couple recommendations; Use the -C parameter with SSH so that it will compress your data, this will speed your sessions. Make sure your DISPLAY environment variable is set to 127.0.0.1:0.0 in your local shell before issuing your connection request, because if it is not, you won't be able to receive the X stream back along the SSH conduit. Other than that, I can't think of anything... -----Original Message----- From: cygwin-xfree-owner@cygwin.com [mailto:cygwin-xfree-owner@cygwin.com]On Behalf Of John Burkhart Sent: Friday, November 22, 2002 1:57 PM To: cygwin-xfree@cygwin.com Subject: SSH & XFree86 To whomever may have the knowledge (aka HH?), I am using XFree86 running on a win98 machine to access a remote Unix system. My machine is behind a router, therefore when i run ssh with the parameters : ssh -X -l username hostname I get the follwing error: Warning: No xauth data; using fake authentication data for X11 forwarding. Subsequently the remote machine gives me a "can't open display" error whenever I try to run anything like xmgr or even and xterm on the remote machine. Do I need to use port forwarding? If so, how do I do this? The router has a public IP address, but the IP on my computer is invisible to the WAN as far as I can tell. Thank you, john From huntharo@msu.edu Sat Nov 23 06:54:00 2002 From: huntharo@msu.edu (Harold L Hunt II) Date: Sat, 23 Nov 2002 06:54:00 -0000 Subject: Xwinclip doesn't work with Konsole In-Reply-To: References: Message-ID: <3DDE7FF8.5020507@msu.edu> Chris, > I'd have to disagree in a big way. xterm, dtterm, nedit, netscape , > and countless other X applictions that behave in the right way won't > because xwinclip breaks the standard by reclaiming ownership. I've > tested your release with at least the above and it causes > functionality issues with anything that uses the selection. Run these same applications with xclipboard and see if the behavior is similar. If it is, then I say it is simply a problem with the way that the X clipboard system is designed and we leave it at that. 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. We are not doing a very good job of figuring out how the commercial X applications out there handle clipboard integration. They *never* grab the primary selection and they always have the most recently selected text from either clipboard. Maybe they are doing this through polling, which we are trying to avoid, but I am not even sure how polling would solve the problem (unless you poll for the selection, compare it to the old data, and act accordingly, which would put a huge demand on network bandwidth...). > It is our problem (well anyone who wants to use xwinclip) and it > should be fixed. The hook dll doesn't need to be used as XWin can > notify the app itself (if you have it inbuilt into xwin then multiple > instances of xwin won't work properly together (although I'm not sure > they do anyway), i'm talking about running xwin more than once not a > screen option). Oh please. Integrating the clipboard support into the XWin.exe executable is not going to forbid it from working with multiple screens run by one executable, nor is it going to forbid multiple instances of XWin.exe. You might have to program a little more carefully, but there is nothing about having the functionality present in XWin.exe that prevents anything from working correctly. You have mentioned before that X-Win32 is using an Xt-app for their clipboard support... but I have never noticed such an app. I have always been under the impression that the cipbard support is integrated into X-Win32's executable. In any case, we are unlikely to be able to use Xt because we have to interleave handling of Win32 message with X events... trying to do that with Xt may be difficult if not impossible. There is nothing to say that we cannot handle the selections exactly as Xt does, and doing so does not mean that we actually have to use Xt. Shoot... we have the source code to Xt, so it isn't like something is stopping us from understanding what Xt is doing. > I can remove the hook by patching xwin to send out WM_ACTIVATE > message's to a single xwinclip instance (this of course can be run > from within XWin anyway). But I think that's not what you want either. I just want a solution that works identically to the dozen or so commerical implementations that have conquered this very problem. I won't be satisfied until we have clipboard support that rivals the commercial X Servers for MS Windows. Harold From huntharo@msu.edu Sat Nov 23 17:37:00 2002 From: huntharo@msu.edu (Harold L Hunt II) Date: Sat, 23 Nov 2002 17:37:00 -0000 Subject: SSH & XFree86 In-Reply-To: References: Message-ID: <3DDE86B8.4080007@msu.edu> John, The Cygwin/XFree86 User's Guide explains a procedure that works for using SSH with X11 forwarding: http://xfree86.cygwin.com/docs/ug/using-remote-apps.html#using-remote-apps-ssh I wrote up some notes on why SSH fails for various reasons and how to avoid those failures: http://cygwin.com/ml/cygwin-xfree/2002-10/msg00065.html Your particular failure seems to be that the DISPLAY variable is not defined when you run the ``ssh'' command. I suspect that you are launching Cygwin/XFree86, but instead of running ssh from your xterm you are running ssh from another Cygwin bash shell that does not have DISPLAY defined. Try running ssh from the xterm in Cygwin/XFree86 and I bet it will work. Harold John Burkhart wrote: >To whomever may have the knowledge (aka HH?), > >I am using XFree86 running on a win98 machine to access a remote Unix >system. My machine is behind a router, therefore when i run ssh with the >parameters : ssh -X -l username hostname >I get the follwing error: >Warning: No xauth data; using fake authentication data for X11 forwarding. > >Subsequently the remote machine gives me a "can't open display" error >whenever I try to run anything like xmgr or even and xterm on the remote >machine. Do I need to use port forwarding? If so, how do I do this? The >router has a public IP address, but the IP on my computer is invisible to >the WAN as far as I can tell. > >Thank you, john > > > > From RPellowski@aol.com Sat Nov 23 17:38:00 2002 From: RPellowski@aol.com (RPellowski@aol.com) Date: Sat, 23 Nov 2002 17:38:00 -0000 Subject: SSH & XFree86 Message-ID: <115.1aff4ae5.2b10405a@aol.com> The latest ssh (3.5p1-2) has problems. It breaks connections with "bad packet length", reporting a large positive or negative number. The previous version (3.5p1-1) does not do this. Rob Pellowski From Benjamin.Riefenstahl@epost.de Sun Nov 24 08:09:00 2002 From: Benjamin.Riefenstahl@epost.de (Benjamin Riefenstahl) Date: Sun, 24 Nov 2002 08:09:00 -0000 Subject: Xwinclip doesn't work with Konsole In-Reply-To: <3DDE7FF8.5020507@msu.edu> References: <3DDE7FF8.5020507@msu.edu> Message-ID: Hi Harold, Harold L Hunt II writes: > I just want a solution that works identically to the dozen or so > commerical implementations that have conquered this very problem. I > won't be satisfied until we have clipboard support that rivals the > commercial X Servers for MS Windows. I couldn't help smiling here. I am already using xwinclip with a commercial server (an older version though, eXceed 6.2) because I wasn't satisfied with the functionality that the server gave me. Your work is appreciated ;-) so long, benny From huntharo@msu.edu Sun Nov 24 11:03:00 2002 From: huntharo@msu.edu (Harold L Hunt II) Date: Sun, 24 Nov 2002 11:03:00 -0000 Subject: SSH & XFree86 In-Reply-To: <115.1aff4ae5.2b10405a@aol.com> References: <115.1aff4ae5.2b10405a@aol.com> Message-ID: <3DE02D65.30406@msu.edu> I had John ssh into a machine of mine as a test... he was able to launch X Clients without any problems. Looks like it is just a problem with his server. He is going to work with his admin to figure out what is going on. Harold RPellowski@aol.com wrote: >The latest ssh (3.5p1-2) has problems. >It breaks connections with "bad packet length", >reporting a large positive or negative number. >The previous version (3.5p1-1) does not do this. > >Rob Pellowski > > From huntharo@msu.edu Sun Nov 24 11:40:00 2002 From: huntharo@msu.edu (Harold L Hunt II) Date: Sun, 24 Nov 2002 11:40:00 -0000 Subject: Xwinclip doesn't work with Konsole In-Reply-To: References: <3DDE7FF8.5020507@msu.edu> Message-ID: <3DE02DA8.2030501@msu.edu> Benny, Heh heh... that's pretty odd. I never would have thought that people would prefer xwinclip functionality over their commerical X Server's clipboard integration. I never even realized that xwinclip could be used with a commercial X Server :) Harold Benjamin Riefenstahl wrote: >Hi Harold, > >Harold L Hunt II writes: > > >>I just want a solution that works identically to the dozen or so >>commerical implementations that have conquered this very problem. I >>won't be satisfied until we have clipboard support that rivals the >>commercial X Servers for MS Windows. >> >> > >I couldn't help smiling here. I am already using xwinclip with a >commercial server (an older version though, eXceed 6.2) because I >wasn't satisfied with the functionality that the server gave me. Your >work is appreciated ;-) > >so long, benny > > > From zakki@peppermint.jp Sun Nov 24 12:14:00 2002 From: zakki@peppermint.jp (Kensuke Matsuzaki) Date: Sun, 24 Nov 2002 12:14:00 -0000 Subject: Rootless mode Message-ID: <002b01c293d3$d73da880$0101a8c0@lin> Hello, I am writing code for rootless mode. It creates Windows window for each X Window. I add "-multiwindow" option. With this I can use taskbar, move and resize window. But this sometimes does strange behaivor, and code is not clean. It seems to be difficult for me to write complete rootless mode, so those who are interested, please help. Kensuke Matsuzaki -------------- next part -------------- A non-text attachment was scrubbed... Name: rootless.tar.bz2 Type: application/octet-stream Size: 12534 bytes Desc: not available URL: From huntharo@msu.edu Sun Nov 24 14:08:00 2002 From: huntharo@msu.edu (Harold L Hunt II) Date: Sun, 24 Nov 2002 14:08:00 -0000 Subject: Rootless mode In-Reply-To: <002b01c293d3$d73da880$0101a8c0@lin> References: <002b01c293d3$d73da880$0101a8c0@lin> Message-ID: <3DE12288.9010806@msu.edu> Kensuke, Wow, you have been busy. Could you run Cygwin's ``d2u'' on winwindow.h to convert the DOS end-of-line characters to UNIX end-of-line characters and run the patch again? Just a quick question: does the window manager have to be started seperately from XWin.exe, or does XWin.exe take care of launching the window manager when you specify -multiwindow ? Thanks for your hard work, Harold Kensuke Matsuzaki wrote: >Hello, > >I am writing code for rootless mode. It creates Windows window for each >X Window. I add "-multiwindow" option. With this I can use taskbar, move >and resize window. > >But this sometimes does strange behaivor, and code is not clean. > >It seems to be difficult for me to write complete rootless mode, >so those who are interested, please help. > >Kensuke Matsuzaki > > > From zakki@peppermint.jp Sun Nov 24 14:11:00 2002 From: zakki@peppermint.jp (zakki@peppermint.jp) Date: Sun, 24 Nov 2002 14:11:00 -0000 Subject: Rootless mode In-Reply-To: <3DE12288.9010806@msu.edu> References: <002b01c293d3$d73da880$0101a8c0@lin> <3DE12288.9010806@msu.edu> Message-ID: Harold, Sorry, I forgot to think about end-of-line character. > Just a quick question: does the window manager have to be started > seperately from XWin.exe, or does XWin.exe take care of launching the > nwindow manager when you specify -multiwindow ? It need to be started separately. So $XWin -multiwindow& $mwwm > /dev/null& Kensuke -------------- next part -------------- A non-text attachment was scrubbed... Name: rootless.patch.bz2 Type: application/octet-stream Size: 8641 bytes Desc: not available URL: From kwong@control.toronto.edu Mon Nov 25 01:41:00 2002 From: kwong@control.toronto.edu (Raymond Kwong) Date: Mon, 25 Nov 2002 01:41:00 -0000 Subject: SSH & XFree86 Message-ID: <20021124150941.A18548@thor.control.toronto.edu> I have several setups of cygwin and XFree86. With the latest Cygwin 1.3.16-1, ssh 3.5p1-2 (or ssh 3.5p1-1), and XWin 4.2.0-16 (or 4.2.0-15), I am getting the same warning message as John: Warning: No xauth data; using fake authentication data for X11 forwarding. However, my X clients do work fine, and I haven't found any other problem. With Cygwin 1.3.15-2, ssh 3.5p1-1, and XWin 4.2.0-16, however, there is no such warning message. This seems to suggest there is some problem involving something other than just ssh and XFree86 which generates the warning message. When I ran ssh -v, I get with Cygwin 1.3.15-2, ssh 3.5p1-1, XWin 4.2.0-16, the following as part of the startup message debug1: Entering interactive session. debug1: ssh_session2_setup: id 0 debug1: channel request 0: pty-req debug1: Requesting X11 forwarding with authentication spoofing. debug1: channel request 0: x11-req debug1: channel request 0: shell debug1: fd 4 setting TCP_NODELAY With Cygwin 1.3.16-1, ssh 3.5p1-2, XWin 4.2.0-16, the additional warning message appears just before the debug1: Requesting X11 forwarding with authentication spoofing message. I hope this may help in identifying the source of the warning message. Raymond Kwong From philippe.bastiani@wanadoo.fr Mon Nov 25 06:12:00 2002 From: philippe.bastiani@wanadoo.fr (Philippe Bastiani) Date: Mon, 25 Nov 2002 06:12:00 -0000 Subject: About Lesstif Message-ID: Hi, Two weeks ago, I posted a message about Lesstif... I updated again Cygwin... see below: XFree86-xserv 4.2.0-15 cygrunsrv 0.95-1 cygutils 1.1.3-1 cygwin 1.3.15-2 cygwin-doc 1.2-1 gcc 3.2-3 lesstif 0.93.18-3 Now, most small applications (after rebuilding) seem work... For VXE (a small editor), I obtain a core dump :( Exception: STATUS_ACCESS_VIOLATION at eip=00483293 eax=00000000 ebx=00000000 ecx=610C8FAC edx=0022F784 esi=00000001 edi=0022F7F8 ebp=00220000 esp=0022F760 program=C:\cygwin\Install\Lesstif\xwol-1.0\vxe-3.1\vxe.exe cs=001B ds=0023 es=0023 fs=0038 gs=0000 ss=0023 Stack trace: Frame Function Args 4 [main] vxe 960 handle_exceptions: Error while dumping state (probably corrupted stack) As I said to Alexander Mai, I think that we have a hidden stack problem... Is anybody made tests ? a+ -- Philippe Bastiani From huntharo@msu.edu Mon Nov 25 06:59:00 2002 From: huntharo@msu.edu (Harold L Hunt II) Date: Mon, 25 Nov 2002 06:59:00 -0000 Subject: About Lesstif In-Reply-To: References: Message-ID: <3DE14E84.7010301@msu.edu> Philippe, Sorry, I have not made any tests. I think you're going to have to explore this one more on your own. No one seems interested :( Harold Philippe Bastiani wrote: >Hi, > >Two weeks ago, I posted a message about Lesstif... > >I updated again Cygwin... see below: > >XFree86-xserv 4.2.0-15 >cygrunsrv 0.95-1 >cygutils 1.1.3-1 >cygwin 1.3.15-2 >cygwin-doc 1.2-1 >gcc 3.2-3 >lesstif 0.93.18-3 > >Now, most small applications (after rebuilding) seem work... > >For VXE (a small editor), I obtain a core dump :( > >Exception: STATUS_ACCESS_VIOLATION at eip=00483293 >eax=00000000 ebx=00000000 ecx=610C8FAC edx=0022F784 esi=00000001 >edi=0022F7F8 >ebp=00220000 esp=0022F760 >program=C:\cygwin\Install\Lesstif\xwol-1.0\vxe-3.1\vxe.exe >cs=001B ds=0023 es=0023 fs=0038 gs=0000 ss=0023 >Stack trace: >Frame Function Args > 4 [main] vxe 960 handle_exceptions: Error while dumping state >(probably corrupted stack) > >As I said to Alexander Mai, I think that we have a hidden stack problem... > >Is anybody made tests ? > >a+ >-- >Philippe Bastiani > > > > > > From c_twiner@hotmail.com Mon Nov 25 07:12:00 2002 From: c_twiner@hotmail.com (Chris Twiner) Date: Mon, 25 Nov 2002 07:12:00 -0000 Subject: Xwinclip doesn't work with Konsole Message-ID: >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 or something similar every time I try to use it. Using the openwin (solaris) xclipboard these applications work fine, the selection is fine and everything works as expected. >We are not doing a very good job of figuring out how the commercial X >applications out there handle clipboard integration. They *never* grab the >primary selection and they always have the most recently selected text from >either clipboard. Only ever when you leave one of their windows. Don't forget that they, like you know when you're window is left. That is the time to find out if anything has been grabbed. Also I'm fairly sure that most messages go through the X server so it shouldn't be very difficult to trap drags, ctrl+c's etc. Or more likely the real message ids. >Maybe they are doing this through polling, which we are trying to avoid, >but I am not even sure how polling would solve the problem (unless you poll >for the selection, compare it to the old data, and act accordingly, which >would put a huge demand on network bandwidth...). I doubt polling would solve much. Either way you are still causing unnecessary bandwith hogging when you steal ownership, not much most of the time but heh. More importantly the way that most X users expect the selection system to work (again as a user) is like my fix had made i.e. don't grab the selection. As a side point, yes I prefer my version of xwinclip to exceeds rather poor clipboard handling, including the recent release. Plus it always crashes and it's dead slow. I prefer cygwin/xfree86 by a long shot. >>It is our problem (well anyone who wants to use xwinclip) and it should be >>fixed. The hook dll doesn't need to be used as XWin can notify the app >>itself (if you have it inbuilt into xwin then multiple instances of xwin >>won't work properly together (although I'm not sure they do anyway), i'm >>talking about running xwin more than once not a screen option). >Oh please. Integrating the clipboard support into the XWin.exe executable >is not going to forbid it from working with multiple screens run by one >executable, nor is it going to forbid multiple instances of XWin.exe. The oh please is a little childish don't you think? I never said it would forbid anything. But in terms of real issues that would have to be tackled: - setjmp and longjmp would not be usable within the xwin, they work on stack unwinding and would unwind the whole stack (pos solution to run as a thread but xlib doesn't like that very much). - if you do have multiple instances of the code that does the selection handling you will have to use ipc mechanisms to handle the change in selection loop (xwinclip a and b). A notices that an applicaiton in it's instance has changed the selection, it copies it to the clipboard. B notices that the clipboard has changed and claims ownership, a notices that an app.... If R4 programmers could do it, I'm sure you or I could. >You might have to program a little more carefully, but there is nothing >about having the functionality present in XWin.exe that prevents anything >from working correctly. Never said there was. >You have mentioned before that X-Win32 is using an Xt-app for their >clipboard support... but I have never noticed such an app. I'm a little confused here I have never mentioned X-Win32 before in my life. I did mention Klipper for KDE that I found before solving the problem of inter toolkit selection grabbing. But never X-Win32. >>I can remove the hook by patching xwin to send out WM_ACTIVATE message's >>to a single xwinclip instance (this of course can be run from within XWin >>anyway). But I think that's not what you want either. >I just want a solution that works identically to the dozen or so commerical >implementations that have conquered this very problem. I won't be satisfied >until we have clipboard support that rivals the commercial X Servers for MS >Windows. As I and others have said here, the commercial ones aren't much better but they don't grab the selection (it's about the only good thing they do). Either way unless you can obtain source code or a developer who worked on these you're stuck as to identically doing it. The question you have to ask yourself is if you need to do that. You seem dedicated to copying the selection every time a user highlights something. Why? I doubt seriously that commercial software is doing something so obviously wastefull. Chris _________________________________________________________________ The new MSN 8: smart spam protection and 2 months FREE* http://join.msn.com/?page=features/junkmail From swhatley@hal-pc.org Mon Nov 25 10:44:00 2002 From: swhatley@hal-pc.org (swhatley@hal-pc.org) Date: Mon, 25 Nov 2002 10:44:00 -0000 Subject: Cygwin XFre86 -> Redhat XDM login In-Reply-To: Message-ID: I'll check gdm. I know hosts.allow is set up right. I can telnet, FTP, SSH, HTTP, SWAT, et.c to the Linux box. I have commented out the last line .../xdm/xdm.conf and modified the .../xdm/Xaccess file. BTW, I didn't mean to put down XFree86 in any way. It is a great product. Folks have put a lot of effort int it. I'm just gtying to resolve this one issue. Thanks, Steven On Sun, 17 Nov 2002 23:48:50 -0800 (PST) Lars Jensen wrote: >Stephen, > >Are you sure you are running xdm and not gdm. If you're running the >latter, then you need to edit gdm.conf to enable xdmcp. If you're >running the former, I assume that xdm.conf must be edited the same way. >Also check that your hosts.allow allows connections from the remote >machine. > >Lars. > >-- >Lars Jensen, TMCC/Vista B200, 7000 Dandini Blvd, Reno NV 89512-3999. >Internet: , http://www.scsr.nevada.edu/~jensen >Tel: 775.673.7113 FAX: 775.674.7592 > -- ___ ____________ <<<((__O\ (__<>___<>__ \ ____ Don't get rattled by Steven Whatley \ \_(__<>___<>__)\O\_/O___>-< what I say. It's just swhatley@hal-pc.org \O__<>___<>___<>)\___/ my opinion. -- redhat-list mailing list unsubscribe mailto:redhat-list-request@redhat.com?subject=unsubscribe https://listman.redhat.com/mailman/listinfo/redhat-list From hyoung@operamail.com Mon Nov 25 10:52:00 2002 From: hyoung@operamail.com (Hansom Young) Date: Mon, 25 Nov 2002 10:52:00 -0000 Subject: Cygwin GNOME 1.4 binary packages Message-ID: <20021125141159.26931.qmail@operamail.com> ----- Original Message ----- From: Lisi Date: Thu, 21 Nov 2002 20:57:52 +0200 To: hyoung@operamail.com Subject: Cygwin GNOME 1.4 binary packages > Hi Hansom, > > I am definitely interested in a cygwin GNOME binary, like the KDE binary > which is available on sourceforge using the standard cygwin setup.exe (but > I have not yet managed to get running properly on Win98). Could you please > keep us updated, maybe by posting back on the list, when your port is > available for download? Surely no problem. I just started a project on sourceforge.net. I'll upload the binary packages in a few days, including some applications very usful, such as gftp, sylpheed, gtktalog, anjuta etc. But I'm so busy with my work in recent months. Could somebody give me a hand? And we want to start to work on GNOME 2.0. > > Thanks, > > -Lisi > > -- _______________________________________________ Get your free email from http://mymail.operamail.com Powered by Outblaze From davidf@sjsoft.com Mon Nov 25 11:06:00 2002 From: davidf@sjsoft.com (David Fraser) Date: Mon, 25 Nov 2002 11:06:00 -0000 Subject: Cygwin GNOME 1.4 binary packages In-Reply-To: <20021125141159.26931.qmail@operamail.com> References: <20021125141159.26931.qmail@operamail.com> Message-ID: <3DE23AD6.4050302@sjsoft.com> Hansom Young wrote: > > >----- Original Message ----- >From: Lisi >Date: Thu, 21 Nov 2002 20:57:52 +0200 >To: hyoung@operamail.com >Subject: Cygwin GNOME 1.4 binary packages > > > > >>Hi Hansom, >> >>I am definitely interested in a cygwin GNOME binary, like the KDE binary >>which is available on sourceforge using the standard cygwin setup.exe (but >>I have not yet managed to get running properly on Win98). Could you please >>keep us updated, maybe by posting back on the list, when your port is >>available for download? >> >> >Surely no problem. >I just started a project on sourceforge.net. I'll upload the binary packages in a few days, including some applications very usful, such as gftp, sylpheed, gtktalog, anjuta etc. > Great! What is the project name? I see there is gnome-cygwin, is this it? > >But I'm so busy with my work in recent months. Could somebody give me a hand? > >And we want to start to work on GNOME 2.0. > > I tried to compile GNOME 2.0 on cygwin unsuccessfully. But if there is a base framework there, I'd be very interested in anjuta, and could help out with that. Can I suggest that rather than just hosting diffs you actually have the full source code? If you import it into CVS you can then import later versions again and merge the changes. Since sourceforge is hosting it you shouldn't have bandwidth problems... David From Ralf.Habacker@freenet.de Mon Nov 25 11:12:00 2002 From: Ralf.Habacker@freenet.de (Ralf Habacker) Date: Mon, 25 Nov 2002 11:12:00 -0000 Subject: Cygwin GNOME 1.4 binary packages In-Reply-To: <20021125141159.26931.qmail@operamail.com> Message-ID: <011d01c29495$1f279180$cd6407d5@BRAMSCHE> > > > I am definitely interested in a cygwin GNOME binary, like the KDE binary > > which is available on sourceforge using the standard cygwin setup.exe (but > > I have not yet managed to get running properly on Win98) Where are the problems with win98 ? Ralf From djw@connecttech.com Mon Nov 25 11:19:00 2002 From: djw@connecttech.com (David Worthen) Date: Mon, 25 Nov 2002 11:19:00 -0000 Subject: Memory Leak install Binutil ? Message-ID: <028001c294b2$9d94cf20$434b82ce@vaio> Hi All, I am trying to install binutils on cygwin running under Win 98. = Unfortunately it fails at the same spot each time (see below for the = error messages). It almost seems like there is a memory leak since after the binutil = install failure, I tried to start a command shell and Windows reported = it did not have enough memory to start a shell. The only running process = is bash. Ideas? Suggestions? Regards David PS: Error messages follow: checking if package supports dlls... no checking whether to build shared libraries... no checking whether to build static libraries... yes 165 [main] sh 438179 fork_copy: user/cygwin data pass 2 failed, = 0x980000..0x CC4000, done 0, windows pid 4294683529, Win32 error 8 eval: Cannot fork: Resource temporarily unavailable eval: Cannot fork: Resource temporarily unavailable configure: error: libtool configure failed Configure in /build-binutils/binutils-2.13/opcodes failed, exiting. From djw@connecttech.com Mon Nov 25 15:02:00 2002 From: djw@connecttech.com (David Worthen) Date: Mon, 25 Nov 2002 15:02:00 -0000 Subject: -help Message-ID: <02d201c294b3$c2447b80$434b82ce@vaio> From philippe.bastiani@wanadoo.fr Wed Nov 27 02:42:00 2002 From: philippe.bastiani@wanadoo.fr (Philippe Bastiani) Date: Wed, 27 Nov 2002 02:42:00 -0000 Subject: About Lesstif References: <3DE14E84.7010301@msu.edu> Message-ID: Hi, So, if I understand: Lesstif is not supported any more in Cygwin :( Bad news... OK, I am going to investigate... At the present time, among my applications, only VXE collapses... With the previous release, all the applications seem collapses during the startup code before any initialization of Lesstif... I am going to try to rebuild others app... a+ -- Philippe Bastiani From huntharo@msu.edu Wed Nov 27 05:09:00 2002 From: huntharo@msu.edu (Harold L Hunt II) Date: Wed, 27 Nov 2002 05:09:00 -0000 Subject: About Lesstif In-Reply-To: References: <3DE14E84.7010301@msu.edu> Message-ID: <3DE2760E.705@msu.edu> Philippe, Lesstif is supported in Cygwin/XFree86 in that there is a package of it available that works quite well for most people using it. However, you are correct that there is not someone assigned to spend a lot of time digging deep into issues that are affecting only a few users. Those affected users will have to step forward and diagnose such bugs on their own, hopefully fixing them and sending the patch to cygwin-xfree@cygwin.com so that a new package of Lesstif can be released that fixes their bug. Hope that helps, Harold Philippe Bastiani wrote: >Hi, > >So, if I understand: Lesstif is not supported any more in Cygwin :( Bad >news... >OK, I am going to investigate... > >At the present time, among my applications, only VXE collapses... >With the previous release, all the applications seem collapses during the >startup code before any initialization of Lesstif... > >I am going to try to rebuild others app... > >a+ >-- >Philippe Bastiani > > > > > > From huntharo@msu.edu Wed Nov 27 05:16:00 2002 From: huntharo@msu.edu (Harold L Hunt II) Date: Wed, 27 Nov 2002 05:16:00 -0000 Subject: Memory Leak install Binutil ? In-Reply-To: <028001c294b2$9d94cf20$434b82ce@vaio> References: <028001c294b2$9d94cf20$434b82ce@vaio> Message-ID: <3DE277DA.4040401@msu.edu> David, I do not think that your problem has much to do with the failed binutils install. Rather, I think that your problem has something to do with either a failed installation of the new version of the Cygwin DLL or it is due to a problem with the new version of the Cygwin DLL that was released just a day or two ago. If it is the former, then you should try reinstalling the cygwin package (which contains cygwin1.dll), if it is the later, I am sure that we will hear tons of corroborating reports in the next several days :) Harold David Worthen wrote: >Hi All, >I am trying to install binutils on cygwin running under Win 98. = >Unfortunately it fails at the same spot each time (see below for the = >error messages). > >It almost seems like there is a memory leak since after the binutil = >install failure, I tried to start a command shell and Windows reported = >it did not have enough memory to start a shell. The only running process = >is bash. > >Ideas? Suggestions? > >Regards David >PS: Error messages follow: > >checking if package supports dlls... no >checking whether to build shared libraries... no >checking whether to build static libraries... yes > 165 [main] sh 438179 fork_copy: user/cygwin data pass 2 failed, = >0x980000..0x >CC4000, done 0, windows pid 4294683529, Win32 error 8 >eval: Cannot fork: Resource temporarily unavailable >eval: Cannot fork: Resource temporarily unavailable >configure: error: libtool configure failed >Configure in /build-binutils/binutils-2.13/opcodes failed, exiting. > > > From ccrawford@analogic.com Wed Nov 27 05:43:00 2002 From: ccrawford@analogic.com (Crawford, Carl) Date: Wed, 27 Nov 2002 05:43:00 -0000 Subject: xview toolkit Message-ID: has anyone ported the xview toolkit to cygwin? thanks, --carl Carl R. Crawford Voice: 978-977-3000 x3519 Analogic Corporation Fax: 978-977-6805 8 Centennial Drive Home: 617-566-0286 Peabody, MA 01960-7987 Cell: 617-335-3372 ccrawford@analogic.com Cell-email: 6173353372@mobile.att.net www.analogic.com From lists.ASkwar@email-server.info Wed Nov 27 05:56:00 2002 From: lists.ASkwar@email-server.info (Alexander Skwar) Date: Wed, 27 Nov 2002 05:56:00 -0000 Subject: Can't connect with XDMCP - Invalid MIT-MAGIC-COOKIE-1 key Message-ID: <1038393748.3de4a1944500f@confixx.p15097023.pureserver.info> Hi! I've installed cygwin/xwin on my Windows XP machine so that I can connect to other hosts using XDMCP; ie. I want to run XWin.exe -query host. I'm succesfull in doing so when I'm connect to a certain part of the company LAN network. However, from another part of the network, I cannot. I'm trying to connect to HP-UX 11.00B workstations. In /var/dt/Xerrors I get: Xlib: connection to "0.0.0.0:0.0" refused by server Xlib: Invalid MIT-MAGIC-COOKIE-1 key Xlib: connection to "0.0.0.0:0.0" refused by server Xlib: Invalid MIT-MAGIC-COOKIE-1 key Xlib: connection to "0.0.0.0:0.0" refused by server Xlib: Invalid MIT-MAGIC-COOKIE-1 key Xlib: connection to "0.0.0.0:0.0" refused by server Xlib: Invalid MIT-MAGIC-COOKIE-1 key Xlib: connection to "0.0.0.0:0.0" refused by server Xlib: Invalid MIT-MAGIC-COOKIE-1 key Wed Nov 27 08:47:46 2002 error (pid 4808): Server open attempt #0 failed for 0.0.0.0:0, giving up At the same time, my XWin.log contains: Fatal server error: XDMCP fatal error: Session failed Session 6 failed for display 0.0.0.0:0: Cannot open display Any ideas about what I'm missing? What's striking me, is that I'm able to connect to the workstations from certain parts of our network with the exact same setup - of course the IP adresses and routing is different. Thanks a lot, Alexander Skwar -- How to quote: http://learn.to/quote (german) http://quote.6x.to (en) Homepage: http://www.iso-top.biz | Jabber: askwar@a-message.de iso-top.biz - Die g??nstige Art an Linux Distributionen zu kommen -- ------------------------------------------------- This mail sent through IMP: http://horde.org/imp/ From alexander.gottwald@s1999.tu-chemnitz.de Wed Nov 27 07:05:00 2002 From: alexander.gottwald@s1999.tu-chemnitz.de (Alexander Gottwald) Date: Wed, 27 Nov 2002 07:05:00 -0000 Subject: Can't connect with XDMCP - Invalid MIT-MAGIC-COOKIE-1 key In-Reply-To: <1038393748.3de4a1944500f@confixx.p15097023.pureserver.info> Message-ID: On Wed, 27 Nov 2002, Alexander Skwar wrote: > Hi! > > I've installed cygwin/xwin on my Windows XP machine so that I can connect > to other hosts using XDMCP; ie. I want to run XWin.exe -query host. Have you tried the -from parameter? The 0.0.0.0 seems like Xwin can't find the correct interface and uses an uncofigured one (maybe dialup) bye ago -- Alexander.Gottwald@informatik.tu-chemnitz.de http://www.gotti.org ICQ: 126018723 From huntharo@msu.edu Wed Nov 27 07:19:00 2002 From: huntharo@msu.edu (Harold L Hunt) Date: Wed, 27 Nov 2002 07:19:00 -0000 Subject: Can't connect with XDMCP - Invalid MIT-MAGIC-COOKIE-1 key Message-ID: <200211271315.gARDFwi72668@pilot17.cl.msu.edu> Alexander, It sounds like your problems are probably due to a sector of your network using only internal IP addresses (10.x.x.x, 192.168.x.x) that are not being passed through a Network Address Translation system when they are routed to the sector of your network with valid external IP addresses. In other words, your IP address is being lost by the router for some reason, while the packet is not being dropped for some other reason. Thus your HP-UX machine sees a packet that came from 0.0.0.0 instead of, say, 10.0.0.100. That is my theory... and it seems pretty likely because your machine is not having a problem getting the IP address being used by your adapter when it is on one segment of the network, so it shouldn't be having problems on the other segment of the network either. Now, for the hard-hitting questions: 1) Are you using the same network adapter on both network segments. That is, you aren't using a wireless adpater on one segment and a wired adapter on another segment, are you? 2) Are you using DHCP or not using DHCP on both networks? That is, does one segment use DHCP but the other does not? 3) Can you do a ``traceroute'' to the HP-UX workstations from the network segment that does not work with XDMCP? It would be nice to get some sort of confirmation that you can at least get packets back from the HP-UX workstations. With those answers, we may be better able to help you. Harold Alexander Skwar said: > Hi! > > I've installed cygwin/xwin on my Windows XP machine so that I can connect > to other hosts using XDMCP; ie. I want to run XWin.exe -query host. > > I'm succesfull in doing so when I'm connect to a certain part of the > company LAN network. However, from another part of the network, I cannot. > I'm trying to connect to HP-UX 11.00B workstations. In /var/dt/Xerrors I get: > > Xlib: connection to "0.0.0.0:0.0" refused by server > Xlib: Invalid MIT-MAGIC-COOKIE-1 key > Xlib: connection to "0.0.0.0:0.0" refused by server > Xlib: Invalid MIT-MAGIC-COOKIE-1 key > Xlib: connection to "0.0.0.0:0.0" refused by server > Xlib: Invalid MIT-MAGIC-COOKIE-1 key > Xlib: connection to "0.0.0.0:0.0" refused by server > Xlib: Invalid MIT-MAGIC-COOKIE-1 key > Xlib: connection to "0.0.0.0:0.0" refused by server > Xlib: Invalid MIT-MAGIC-COOKIE-1 key > > Wed Nov 27 08:47:46 2002 > error (pid 4808): Server open attempt #0 failed for 0.0.0.0:0, giving up > > At the same time, my XWin.log contains: > > Fatal server error: > XDMCP fatal error: Session failed Session 6 failed for display 0.0.0.0:0: > Cannot open display > > Any ideas about what I'm missing? What's striking me, is that I'm able to > connect to the workstations from certain parts of our network with the > exact same setup - of course the IP adresses and routing is different. > > Thanks a lot, > > Alexander Skwar > -- > How to quote: http://learn.to/quote (german) http://quote.6x.to (en) > Homepage: http://www.iso-top.biz | Jabber: askwar@a-message.de > iso-top.biz - Die g??nstige Art an Linux Distributionen zu kommen > -- > ------------------------------------------------- > This mail sent through IMP: http://horde.org/imp/ > From moser@decodon.com Wed Nov 27 07:39:00 2002 From: moser@decodon.com (Frank-Michael Moser) Date: Wed, 27 Nov 2002 07:39:00 -0000 Subject: How can I avoid using a DOS box?? In-Reply-To: <5.1.1.6.0.20021126195910.00a51d80@mail.fluidhosting.com> References: <5.1.1.6.0.20021126195910.00a51d80@mail.fluidhosting.com> Message-ID: <3DE4CC12.3040806@decodon.com> I found that the "run" command which comes with Cygwin-XFree is quite useful for launching any shell script with a Windows link without a DOS box flashing. The problem is that it works only when $(cygpath -w /) is in your Windows PATH variable - otherwise it does not find cygwin1.dll. But a simple workaround for this (if you do not like Cygwin in the Windows Path) is to (hard-)link run in /bin: ln /usr/X11R6/bin/run.exe /bin/run.exe This i.e. is the way I start X with reading .xinitrc and .xserverrc from my HOME (what startxwin.bat does not): C:\cygwin\bin\run.exe bash --login -c startx You also can use this as yet another "RXVT here" approach: echo Add Explorer extension \"RXVT here\" regtool add /root/Directory/shell/0cmd-rxvt regtool set /root/Directory/shell/0cmd-rxvt/ "RXVT here" regtool add /root/Directory/shell/0cmd-rxvt/command regtool set /root/Directory/shell/0cmd-rxvt/command/ "$(cygpath -w -a /)\\bin\\run.exe sh ~/bin/goto \"%1\"" where a "goto" script should do the rest. I wonder whether a) run should find cygwin1.dll by reading the mounts from the registry or b) run should go in /bin by default Is either a) or b) an option? Frank-Michael From sandos@home.se Wed Nov 27 08:02:00 2002 From: sandos@home.se (=?iso-8859-1?Q?John_B=E4ckstrand?=) Date: Wed, 27 Nov 2002 08:02:00 -0000 Subject: Fullscreen directx(??) apps hang Xfree86 Message-ID: <000b01c2961c$d5313de0$0219450a@sandos> Whenever I run (for example) battlefield 1942, Xfree86 always segfaults. It also use to segfault if I leave it overnight. Anyway, is this a known bug? --- John B??ckstrand From lists.ASkwar@email-server.info Wed Nov 27 08:06:00 2002 From: lists.ASkwar@email-server.info (Alexander Skwar) Date: Wed, 27 Nov 2002 08:06:00 -0000 Subject: Can't connect with XDMCP - Invalid MIT-MAGIC-COOKIE-1 key In-Reply-To: <200211271315.gARDFwi72668@pilot17.cl.msu.edu> References: <200211271315.gARDFwi72668@pilot17.cl.msu.edu> Message-ID: <1038409525.3de4df358a528@confixx.p15097023.pureserver.info> Zitat von Harold L Hunt : Harold, > Alexander, > > It sounds like your problems are probably due to a sector of your network > using only internal IP addresses (10.x.x.x, 192.168.x.x) that are not > being passed through a Network Address Translation system when they are > routed to the sector of your network with valid external IP addresses. No, I doubt that this is the case. I've just installed cygwin on another PC running Windows NT (instead of XP on my PC) and this PC is connected to the same switch as I am. The NT PC is also in the same network segment. >From this PC, I can do "XWin -query host" fine. On my PC, I've got to do "XWin -query host -from me" (insert IPs there). > In other words, your IP address is being lost by the router for some > reason, while the packet is not being dropped for some other reason. Thus > your HP-UX machine sees a packet that came from 0.0.0.0 instead of, say, > 10.0.0.100. Hmm, but why does the router interfere on such a low level? I highly doubt that a router is involved in my troubles - see above (BTW: I didn't write this in my first mail, because I just now found this out). > 1) Are you using the same network adapter on both network segments. That > is, you aren't using a wireless adpater on one segment and a wired adapter > on another segment, are you? What's the answer? Yes or no? ;) Well, I'm using the same NIC. In fact, my PC is a laptop and thus I've got close to no problems taking the PC to the other network segment. > 2) Are you using DHCP or not using DHCP on both networks? That is, does > one segment use DHCP but the other does not? I'm using DHCP on both net segments. > 3) Can you do a ``traceroute'' to the HP-UX workstations from the network > segment that does not work with XDMCP? It would be nice to get some sort > of confirmation that you can at least get packets back from the HP-UX > workstations. Yes, I can. Back and forth - ie. I can traceroute to the HP-UX workstation from my Windows PC, and I can tracerotue to the Windows PC from my HP-UX workstation. >From HP-UX to Windows: traceroute to 204.104.237.188(204.104.237.188), 30 hops max, 20 byte packets 1 rons (192.85.103.120) 1 ms 1 ms 1 ms 2 D8RJRJ0J (204.104.237.188) 3 ms 1 ms 1 ms >From Windows to HP-UX: [c:\programme\jedit 4.1pre6]tracert tc34 Routenverfolgung zu tc34 [204.104.236.110] ??ber maximal 30 Abschnitte: 1 <1 ms <1 ms <1 ms 192.85.103.190 2 1 ms 1 ms 1 ms tc34 [204.104.236.110] Ablaufverfolgung beendet. That's from the "offending" network segment. When I'm in the segment where "XWin.exe -query host" also works on my Windows XP PC, I'm farther away (as far as network hops are concerned). > With those answers, we may be better able to help you. Although I'm now able to connect - a colleague of mine who's sitting right behind me (and is connected to the same hub) is still having problems. And also I would like to be able to connect without -from. Thanks a lot, Alexander Skwar -- How to quote: http://learn.to/quote (german) http://quote.6x.to (en) Homepage: http://www.iso-top.de | Jabber: askwar@a-message.de iso-top.de - Die g??nstige Art an Linux Distributionen zu kommen -- ------------------------------------------------- This mail sent through IMP: http://horde.org/imp/ From lists.ASkwar@email-server.info Wed Nov 27 08:19:00 2002 From: lists.ASkwar@email-server.info (Alexander Skwar) Date: Wed, 27 Nov 2002 08:19:00 -0000 Subject: Can't connect with XDMCP - Invalid MIT-MAGIC-COOKIE-1 key In-Reply-To: References: Message-ID: <1038410369.3de4e281578b3@confixx.p15097023.pureserver.info> Alexander, Zitat von Alexander Gottwald : > Have you tried the -from parameter? The 0.0.0.0 seems like Xwin > can't find the correct interface and uses an uncofigured one (maybe > dialup) No, I haven't tried -from. I just now did, and with -from, I can connect. Do I understand you right? It's the "fault" of XWin that it sends the 0.0.0.0 IP? Hmm... [c:\programme\jedit 4.1pre6]ipconfig /all Windows-IP-Konfiguration Hostname. . . . . . . . . . . . . : D8RJRJ0J Prim??res DNS-Suffix . . . . . . . : Knotentyp . . . . . . . . . . . . : Hybrid IP-Routing aktiviert. . . . . . . : Nein WINS-Proxy aktiviert. . . . . . . : Nein Ethernetadapter LAN-Verbindung: Medienstatus. . . . . . . . . . . : Es besteht keine Verbindung Beschreibung. . . . . . . . . . . : 3Com 3C920 Integrated Fast Ethernet Controller (3C905C-TX Compatible) Physikalische Adresse . . . . . . : 00-08-74-3E-FD-E2 Ethernetadapter LAN-Verbindung 2: Verbindungsspezifisches DNS-Suffix: wup.de.delphiauto.com Beschreibung. . . . . . . . . . . : 3Com 3C920 Integrated Fast Ethernet Controller (3C905C-TX Compatible) #2 Physikalische Adresse . . . . . . : 00-B0-D0-0C-DF-B5 DHCP aktiviert. . . . . . . . . . : Ja Autokonfiguration aktiviert . . . : Ja IP-Adresse. . . . . . . . . . . . : 204.104.237.188 Subnetzmaske. . . . . . . . . . . : 255.255.255.0 Standardgateway . . . . . . . . . : 204.104.237.250 DHCP-Server . . . . . . . . . . . : 204.104.237.181 DNS-Server. . . . . . . . . . . . : 205.191.7.228 192.85.104.90 Lease erhalten. . . . . . . . . . : Mittwoch, 27. November 2002 07:58:21 Lease l??uft ab. . . . . . . . . . : Donnerstag, 28. November 20 02 07:58:21 As you can see, I've got two NICs. The 1st "Ethernetadapter LAN-Verbindung" is the built-in NIC in my notebook. The 2nd "Ethernetadapter LAN-Verbindung 2" is the one from my docking station. That might also explain, why the Windows NT PC is able to connect w/o -from. It's a "normal" desktop PC and has got only one NIC. Thanks! Alexander Skwar -- How to quote: http://learn.to/quote (german) http://quote.6x.to (en) Homepage: http://www.iso-top.de | Jabber: askwar@a-message.de iso-top.de - Die g??nstige Art an Linux Distributionen zu kommen -- ------------------------------------------------- This mail sent through IMP: http://horde.org/imp/ From alexander.gottwald@s1999.tu-chemnitz.de Wed Nov 27 08:59:00 2002 From: alexander.gottwald@s1999.tu-chemnitz.de (Alexander Gottwald) Date: Wed, 27 Nov 2002 08:59:00 -0000 Subject: Can't connect with XDMCP - Invalid MIT-MAGIC-COOKIE-1 key In-Reply-To: <1038410369.3de4e281578b3@confixx.p15097023.pureserver.info> Message-ID: On Wed, 27 Nov 2002, Alexander Skwar wrote: > Alexander, > > Zitat von Alexander Gottwald : > > > Have you tried the -from parameter? The 0.0.0.0 seems like Xwin > > can't find the correct interface and uses an uncofigured one (maybe > > dialup) > > No, I haven't tried -from. I just now did, and with -from, I can connect. > > Do I understand you right? It's the "fault" of XWin that it sends the > 0.0.0.0 IP? Hmm... It uses the ip address from which it can connect to the xdmcp server. Unfortunately, the first NIC has no IP address assigned and the 0.0.0.0 seems to supersede any other address. bye ago -- Alexander.Gottwald@informatik.tu-chemnitz.de http://www.gotti.org ICQ: 126018723 From huntharo@msu.edu Wed Nov 27 09:09:00 2002 From: huntharo@msu.edu (Harold L Hunt II) Date: Wed, 27 Nov 2002 09:09:00 -0000 Subject: Can't connect with XDMCP - Invalid MIT-MAGIC-COOKIE-1 key In-Reply-To: References: <1038410369.3de4e281578b3@confixx.p15097023.pureserver.info> Message-ID: <3DE4EC87.90209@msu.edu> Alexander [Skwar], Wait, let me get this straight. You DO have two network cards, one in the notebook and one in the docking station, right? Now, are you sure that you are using the same network card on both network segments? That is, are you using the built-in network card on both segments and you are never using the docking station's network card? If that is the case, then I suspect that you problem is when you are plugged into the docking station and XWin.exe thinks that it should use the docking station's NIC, which does not have an IP address (thus the 0.0.0.0). The easiest solution would be to use the -from parameter. Other possible solutions: 1) Plug into the network at the docking station via the docking station's NIC. XWin.exe wants to use that NIC by default, so XWin.exe will work correctly without the -from parameter (probably). 2) Disable the docking station's NIC in your Windows hardware configuration. This will hopefully case XWin.exe to not even see the docking station's NIC as an option. 3) Change the binding order or NIC preference (if there even is such a thing) in your Windows hardware configuration. I am going out on a limb here... I do not remember if this can be done. 4) Stop using your docking station. 5) See if Alexander Gottwald has any ideas to save the day :) Harold Alexander Skwar wrote: >Alexander, > >Zitat von Alexander Gottwald : > > > >>Have you tried the -from parameter? The 0.0.0.0 seems like Xwin >>can't find the correct interface and uses an uncofigured one (maybe >>dialup) >> >> > >No, I haven't tried -from. I just now did, and with -from, I can connect. > >Do I understand you right? It's the "fault" of XWin that it sends the >0.0.0.0 IP? Hmm... > >[c:\programme\jedit 4.1pre6]ipconfig /all > >Windows-IP-Konfiguration > > Hostname. . . . . . . . . . . . . : D8RJRJ0J > Prim??res DNS-Suffix . . . . . . . : > Knotentyp . . . . . . . . . . . . : Hybrid > IP-Routing aktiviert. . . . . . . : Nein > WINS-Proxy aktiviert. . . . . . . : Nein > >Ethernetadapter LAN-Verbindung: > > Medienstatus. . . . . . . . . . . : Es besteht keine Verbindung > > Beschreibung. . . . . . . . . . . : 3Com 3C920 Integrated Fast >Ethernet Controller (3C905C-TX Compatible) > Physikalische Adresse . . . . . . : 00-08-74-3E-FD-E2 > >Ethernetadapter LAN-Verbindung 2: > > Verbindungsspezifisches DNS-Suffix: wup.de.delphiauto.com > Beschreibung. . . . . . . . . . . : 3Com 3C920 Integrated Fast >Ethernet Controller (3C905C-TX Compatible) #2 > Physikalische Adresse . . . . . . : 00-B0-D0-0C-DF-B5 > DHCP aktiviert. . . . . . . . . . : Ja > Autokonfiguration aktiviert . . . : Ja > IP-Adresse. . . . . . . . . . . . : 204.104.237.188 > Subnetzmaske. . . . . . . . . . . : 255.255.255.0 > Standardgateway . . . . . . . . . : 204.104.237.250 > DHCP-Server . . . . . . . . . . . : 204.104.237.181 > DNS-Server. . . . . . . . . . . . : 205.191.7.228 > 192.85.104.90 > Lease erhalten. . . . . . . . . . : Mittwoch, 27. November 2002 > 07:58:21 > Lease l??uft ab. . . . . . . . . . : Donnerstag, 28. November 20 >02 07:58:21 > >As you can see, I've got two NICs. The 1st "Ethernetadapter LAN-Verbindung" >is the built-in NIC in my notebook. The 2nd "Ethernetadapter LAN-Verbindung >2" is the one from my docking station. That might also explain, why the >Windows NT PC is able to connect w/o -from. It's a "normal" desktop PC and >has got only one NIC. > >Thanks! > >Alexander Skwar > > From choice15@gmx.de Wed Nov 27 14:42:00 2002 From: choice15@gmx.de (choice15@gmx.de) Date: Wed, 27 Nov 2002 14:42:00 -0000 Subject: Can't connect with XDMCP - Invalid MIT-MAGIC-COOKIE-1 key References: <1038410369.3de4e281578b3@confixx.p15097023.pureserver.info> Message-ID: <005b01c2962e$cd38f800$4c64a8c0@ibsfreiburg.de> Hi, change your Login credentials to root with the "su" utility and add your xhost "X-Terminaserver" to your access list should work ----- Original Message ----- From: "Alexander Skwar" To: "cygwin xfree" Sent: Wednesday, November 27, 2002 4:19 PM Subject: Re: Can't connect with XDMCP - Invalid MIT-MAGIC-COOKIE-1 key > Alexander, > > Zitat von Alexander Gottwald : > > > Have you tried the -from parameter? The 0.0.0.0 seems like Xwin > > can't find the correct interface and uses an uncofigured one (maybe > > dialup) > > No, I haven't tried -from. I just now did, and with -from, I can connect. > > Do I understand you right? It's the "fault" of XWin that it sends the > 0.0.0.0 IP? Hmm... > > [c:\programme\jedit 4.1pre6]ipconfig /all > > Windows-IP-Konfiguration > > Hostname. . . . . . . . . . . . . : D8RJRJ0J > Prim??res DNS-Suffix . . . . . . . : > Knotentyp . . . . . . . . . . . . : Hybrid > IP-Routing aktiviert. . . . . . . : Nein > WINS-Proxy aktiviert. . . . . . . : Nein > > Ethernetadapter LAN-Verbindung: > > Medienstatus. . . . . . . . . . . : Es besteht keine Verbindung > > Beschreibung. . . . . . . . . . . : 3Com 3C920 Integrated Fast > Ethernet Controller (3C905C-TX Compatible) > Physikalische Adresse . . . . . . : 00-08-74-3E-FD-E2 > > Ethernetadapter LAN-Verbindung 2: > > Verbindungsspezifisches DNS-Suffix: wup.de.delphiauto.com > Beschreibung. . . . . . . . . . . : 3Com 3C920 Integrated Fast > Ethernet Controller (3C905C-TX Compatible) #2 > Physikalische Adresse . . . . . . : 00-B0-D0-0C-DF-B5 > DHCP aktiviert. . . . . . . . . . : Ja > Autokonfiguration aktiviert . . . : Ja > IP-Adresse. . . . . . . . . . . . : 204.104.237.188 > Subnetzmaske. . . . . . . . . . . : 255.255.255.0 > Standardgateway . . . . . . . . . : 204.104.237.250 > DHCP-Server . . . . . . . . . . . : 204.104.237.181 > DNS-Server. . . . . . . . . . . . : 205.191.7.228 > 192.85.104.90 > Lease erhalten. . . . . . . . . . : Mittwoch, 27. November 2002 > 07:58:21 > Lease l??uft ab. . . . . . . . . . : Donnerstag, 28. November 20 > 02 07:58:21 > > As you can see, I've got two NICs. The 1st "Ethernetadapter LAN-Verbindung" > is the built-in NIC in my notebook. The 2nd "Ethernetadapter LAN-Verbindung > 2" is the one from my docking station. That might also explain, why the > Windows NT PC is able to connect w/o -from. It's a "normal" desktop PC and > has got only one NIC. > > Thanks! > > Alexander Skwar > -- > How to quote: http://learn.to/quote (german) http://quote.6x.to (en) > Homepage: http://www.iso-top.de | Jabber: askwar@a-message.de > iso-top.de - Die g??nstige Art an Linux Distributionen zu kommen > -- > ------------------------------------------------- > This mail sent through IMP: http://horde.org/imp/ > From CDold@softek.fujitsu.com Wed Nov 27 14:43:00 2002 From: CDold@softek.fujitsu.com (Dold, Clarence) Date: Wed, 27 Nov 2002 14:43:00 -0000 Subject: Broken Link. Message-ID: <78F968C6298E0D44B5BB8B03EBB1AF2B01A42761@emessage1.amdahl.int> The faq listing at http://xfree86.cygwin.com/docs/faq/cygwin-xfree-faq.html Has a link for Linux: 4.12. Where can I find more information about XDMCP (X Display Manager Protocol). See the Linux XDMCP HOWTO for more information about XDMCP. http://www.linuxdoc.org/HOWTO/XDMCP-HOWTO/ That page retruns an updated link notice: -------------------------------------------------------------------------------- Dear webmaster, I just tried to access The Linux Documentation Project website using a link from your site, but your link is broken. Please replace linuxdoc.org, http://metalab.unc.edu/LDP or http://sunsite.unc.edu/LDP by http://www.tldp.org or http://en.tldp.org if you want to point directly to the english website. Feel free to contact Guylhem Aznar (guylhem_new-tldp-domain@externe.net) if you have any question regarding The Linux Documentation Project. -------------------------------------------------------------------------------- --- Clarence Dold - CDold@Softek.Fujitsu.com 408 746-4618 Sunnyvale B17 - 1052 707 953-2331 Cell Phone 877 630-9448 Pager cdold@skytel.com Message Pager From kris.thielemans@csc.mrc.ac.uk Thu Nov 28 06:11:00 2002 From: kris.thielemans@csc.mrc.ac.uk (Kris Thielemans) Date: Thu, 28 Nov 2002 06:11:00 -0000 Subject: man pages Message-ID: Hi, why are the man page names abbreviated? e.g. instead of typeing 'man XCreateWindow', I have to do 'man XCreWin' Or is there something wrong in my installation? thanks! Kris Thielemans (kris.thielemans ic.ac.uk) Imaging Research Solutions Ltd Cyclotron Building Hammersmith Hospital Du Cane Road London W12 ONN, United Kingdom From alanh@fairlite.demon.co.uk Thu Nov 28 06:31:00 2002 From: alanh@fairlite.demon.co.uk (Alan Hourihane) Date: Thu, 28 Nov 2002 06:31:00 -0000 Subject: man pages In-Reply-To: References: Message-ID: <20021127170840.GI914@fairlite.demon.co.uk> It's broken. We need to rebuild the X tree with #define ExpandManNames YES in cygwin.cf Thanks for reporting this. Alan. On Wed, Nov 27, 2002 at 04:53:23PM -0000, Kris Thielemans wrote: > Hi, > > why are the man page names abbreviated? > e.g. instead of typeing 'man XCreateWindow', I have to do 'man XCreWin' > Or is there something wrong in my installation? > > thanks! > > Kris Thielemans > (kris.thielemans ic.ac.uk) > Imaging Research Solutions Ltd > Cyclotron Building > Hammersmith Hospital > Du Cane Road > London W12 ONN, United Kingdom > From lists.ASkwar@email-server.info Thu Nov 28 06:43:00 2002 From: lists.ASkwar@email-server.info (Alexander Skwar) Date: Thu, 28 Nov 2002 06:43:00 -0000 Subject: Can't connect with XDMCP - Invalid MIT-MAGIC-COOKIE-1 key In-Reply-To: <3DE4EC87.90209@msu.edu> References: <1038410369.3de4e281578b3@confixx.p15097023.pureserver.info> <3DE4EC87.90209@msu.edu> Message-ID: <3DE54A68.7070601@email-server.info> Harold L Hunt II wrote: > Alexander [Skwar], > > Wait, let me get this straight. You DO have two network cards, one in > the notebook and one in the docking station, right? Now, are you sure Correct. > that you are using the same network card on both network segments? That Thinking about it - yes, I'm sure that I did NOT use the same NIC on both segments. When it worked out of the box, I used the builtin NIC, which was the only one available at this time. When I've got to use -from, I'm using the docking stations NIC, which is NIC #2. > never using the docking station's network card? If that is the case, > then I suspect that you problem is when you are plugged into the docking > station and XWin.exe thinks that it should use the docking station's > NIC, which does not have an IP address (thus the 0.0.0.0). Almost. XWin.exe doesn't seem to "think" ;) To me, it looks like XWin.exe always uses the "IP" of the first NIC, even if it doesn't have an IP. > The easiest solution would be to use the -from parameter. Guess so. > 1) Plug into the network at the docking station via the docking > station's NIC. XWin.exe wants to use that NIC by default, so XWin.exe > will work correctly without the -from parameter (probably). Nope. Docking stations NIC is #2, and XWin seems to take #1 - always. > 2) Disable the docking station's NIC in your Windows hardware > configuration. This will hopefully case XWin.exe to not even see the > docking station's NIC as an option. Well, because of "great" design, I wouldn't be able to use any NIC at all in that case. So that's not an option. > 3) Change the binding order or NIC preference (if there even is such a > thing) in your Windows hardware configuration. I am going out on a limb > here... I do not remember if this can be done. Will have a look. Thanks. > 4) Stop using your docking station. Uhmm - guess not ;) > 5) See if Alexander Gottwald has any ideas to save the day :) Thx! However, what about the colleague of mine? He's unable to connect even with -from. As I said, he was connected to the same network segment and hub, when I wrote the first message. He's using the same type of notebook I'm using. And finally, he's trying to connect to the same HP-UX workstation I'm trying to connect to (to be on the safe side, we did not try to connect to it at the same time. I doubt that this can cause problems - but we didn't want to try). And it's possible to traceroute to and from his laptop. Thanks again, Alexander From Hinsonj@cna.org Thu Nov 28 07:30:00 2002 From: Hinsonj@cna.org (Jason Hinson) Date: Thu, 28 Nov 2002 07:30:00 -0000 Subject: fvwm-themes anyone? Message-ID: I haven't been using cygwin for too long (less than a year), and I've just recently decided to try using Xfree within the environment--so, I hope the is a reasonable question for the list... Has anyone been successful in getting fvwm-themes to run under cygwin? I've researched a bit, and apparently as of build 0.6.1, fvwm-themes now has DOS-friendly file names and is ready to compile under cygwin. As suggested in the readme, I downloaded and installed a more recent version of fvwm (2.4.13), and then I installed fvwm-themes. It starts up just fine (except, of course, there doesn't seem to be a working version of xload under cygwin yet). However, when I try to switch themes, it seems to crash fvwm and gives this error message: [FvwmScript][ReadConfig]: <> Can't open the script FvwmScript-NoteMessage Anyone seen this before? Anyone know how to get fvwm-themes running properly under cygwin? Thanks!!! -Jason p.s., I don't guess I'm actually on this mailing list, so I'd appreciate it if you would cc any replies to me personally (unless, of course, that's considered bad form, in which case just tell me how to properly subscribe to the list.) --thanks again! From bax3@bigfoot.com Thu Nov 28 08:08:00 2002 From: bax3@bigfoot.com (Michael Bax) Date: Thu, 28 Nov 2002 08:08:00 -0000 Subject: XFree86 4.2.0 orphans shell on termination Message-ID: <001a01c296e7$ed232370$baa30c80@springbok> Hi When closing XWin, I am experiencing relatively frequent post-termination orphaning (improper clean-up) of the shell opened within the xterm by the default startxwin.bat -- perhaps 1 in 3 times. I can reproduce this by opening X using startxwin.bat and soon closing it by clicking the XWin window's close button. About a third of the time after XWin has disappeared from the process list, bash remains until I manually terminate it. After a number of these orphaned processes accumulate unterminated, an xterm sometimes does not even appear after starting XWin. This occurs with both twm and fvwm2. There does not seem to be a consistent pattern -- sometimes this doesn't seem to happen unless I execute a command (eg xmodmap), but sometimes I don't even need to bring the focus on the xterm. This is on a newly-installed vanilla Cygwin and XFree86 package set downloaded yesterday. The only modification to startxwin.bat was to CYGWIN_ROOT. OS is Windows 2000 Professional Ver 5.0 Build 2195 Service Pack 3. Cheers Michael -------------- next part -------------- An embedded and charset-unspecified text was scrubbed... Name: cygcheck.txt URL: From bax3@bigfoot.com Thu Nov 28 08:10:00 2002 From: bax3@bigfoot.com (Michael Bax) Date: Thu, 28 Nov 2002 08:10:00 -0000 Subject: fvwm-2.4.7-2 install missing /usr/local/etc/fvwm/system.fvwm2rc? Message-ID: <001e01c296ea$d4e16490$baa30c80@springbok> Hi I installed fvwm-2.4.7-2 using setup.exe and changed startxwin.bat to call fvwm instead of twm. The setup.exe process neither supplies nor prompts for any default configuration file. As a result, fvwm is crippled. All one can do by default is move and resize a window, not even close it! INSTALL.fvwm from the fvwm source tarfile (fvwm.org) suggests copying system.fvwm2rc to /usr/local/etc/fvwm/system.fvwm2rc to provide a system default. This file does not appear to be present in the Cygwin package, but it seems that installing this file to the correct place would be the most transparent way to streamline fvwm setup. While researching this issue I came across the package announcment from 9 May 2002, which suggests manually using /usr/share/fvwm/system.fvwm2rc-sample-95. I tried copying this to ~/.fvwm2rc, and it is certainly an improvement. However on my system fvwm then pumps out a long stream of error messages reporting the inability to find various files (bitmaps?), so it appears this is a partial solution at best. This is seen using the command "start fvwm" with no "/b" parameter. OS is Windows 2000 Professional Ver 5.0 Build 2195 Service Pack 3. Cheers Michael From jc.gervais@videotron.ca Thu Nov 28 08:18:00 2002 From: jc.gervais@videotron.ca (Jean-Claude Gervais) Date: Thu, 28 Nov 2002 08:18:00 -0000 Subject: Gnome panel Message-ID: <006001c296ec$53d63270$6501a8c0@sprymusic.com> Hi, If I start XWin in query mode and connect to a Linux box running RH 7.3, I can log in and run Gnome, and everything is fine. However, If I start XWin and a local window manager (WMaker in this case) then SSH to a Linux box running RH 7.3, and type 'panel', I get the gnome panel-launcher from that remote host and it is incredibly slow and sluggish. WindowMaker claims to be Gnome compliant, and the Gnome I am running is 1.x, so this should work, right? If I look in the Xterm I used to start the panel application, I get no warning or error messages on starting up the panel, but when I log out of Gnome, I get these: ** WARNING **: CORBA Exception ** WARNING **: CORBA Exception Traceback (innermost last): File "/usr/bin/../share/rhn/rhn_applet/rhn_applet.py", line 438, in refresh_handler self.refresh(force) File "/usr/bin/../share/rhn/rhn_applet/rhn_applet.py", line 488, in refresh self.set_state(old_state) File "/usr/bin/../share/rhn/rhn_applet/rhn_applet.py", line 101, in set_state self.animate_to("okay") File "/usr/bin/../share/rhn/rhn_applet/rhn_applet.py", line 347, in animate_to self.animate_handler() File "/usr/bin/../share/rhn/rhn_applet/rhn_applet.py", line 300, in animate_handler self.redraw() File "/usr/bin/../share/rhn/rhn_applet/rhn_applet.py", line 364, in redraw self.refresh_bg_image() File "/usr/bin/../share/rhn/rhn_applet/rhn_applet.py", line 250, in refresh_bg_image (rgb, w, h, rowstride) = self.applet.get_rgb_bg() File "/usr/bin/../share/rhn/rhn_applet/applet.py", line 102, in get_rgb_bg MemoryError [1]+ Done panel From Matthias.Muth@bessy.de Thu Nov 28 08:30:00 2002 From: Matthias.Muth@bessy.de (Matthias Muth) Date: Thu, 28 Nov 2002 08:30:00 -0000 Subject: BUG: xset fp+ tcp/hostname:port freezes the Xserver Message-ID: <000e01c296f6$119da320$7c0e95c1@broken> Hi all, I just installed the latest version of the complete Cygwin-Package including XFree86. Because I need some fonts from our fontserver, I added the according xset command to .xinitrc. I must realized that the "xset fp+ tcp/hostname:port" command lets freeze the whole Xserver. BTW, "xset fp= tcp/hostname:port" does work. A bug? Sincerly Yours, Matthias Muth - Matthias Muth email: Matthias.Muth@bessy.de BESSY GmbH phone: +49 30 6392 2954 Albert-Einstein-Str. 15 fax: +49 30 6392 2990 D-12489 Berlin GERMANY From huntharo@msu.edu Thu Nov 28 09:05:00 2002 From: huntharo@msu.edu (Harold L Hunt II) Date: Thu, 28 Nov 2002 09:05:00 -0000 Subject: XFree86 4.2.0 orphans shell on termination In-Reply-To: <001a01c296e7$ed232370$baa30c80@springbok> Message-ID: Michael, Yes, we have known about this for some time now, but no one has volunteered to work on it. I just work around it by always ``exit''ing my xterms before I shutdown XWin.exe. I don't even know where one would start to find a solution to this. Harold -----Original Message----- From: cygwin-xfree-owner@cygwin.com [mailto:cygwin-xfree-owner@cygwin.com]On Behalf Of Michael Bax Sent: Thursday, November 28, 2002 9:11 AM To: cygwin-xfree@cygwin.com Subject: XFree86 4.2.0 orphans shell on termination Hi When closing XWin, I am experiencing relatively frequent post-termination orphaning (improper clean-up) of the shell opened within the xterm by the default startxwin.bat -- perhaps 1 in 3 times. I can reproduce this by opening X using startxwin.bat and soon closing it by clicking the XWin window's close button. About a third of the time after XWin has disappeared from the process list, bash remains until I manually terminate it. After a number of these orphaned processes accumulate unterminated, an xterm sometimes does not even appear after starting XWin. This occurs with both twm and fvwm2. There does not seem to be a consistent pattern -- sometimes this doesn't seem to happen unless I execute a command (eg xmodmap), but sometimes I don't even need to bring the focus on the xterm. This is on a newly-installed vanilla Cygwin and XFree86 package set downloaded yesterday. The only modification to startxwin.bat was to CYGWIN_ROOT. OS is Windows 2000 Professional Ver 5.0 Build 2195 Service Pack 3. Cheers Michael From huntharo@msu.edu Thu Nov 28 09:29:00 2002 From: huntharo@msu.edu (Harold L Hunt II) Date: Thu, 28 Nov 2002 09:29:00 -0000 Subject: man pages In-Reply-To: <20021127170840.GI914@fairlite.demon.co.uk> Message-ID: Alan, Are you going to commit this one directly? Harold -----Original Message----- From: cygwin-xfree-owner@cygwin.com [mailto:cygwin-xfree-owner@cygwin.com]On Behalf Of Alan Hourihane Sent: Wednesday, November 27, 2002 12:09 PM To: cygwin-xfree@cygwin.com Subject: Re: man pages It's broken. We need to rebuild the X tree with #define ExpandManNames YES in cygwin.cf Thanks for reporting this. Alan. On Wed, Nov 27, 2002 at 04:53:23PM -0000, Kris Thielemans wrote: > Hi, > > why are the man page names abbreviated? > e.g. instead of typeing 'man XCreateWindow', I have to do 'man XCreWin' > Or is there something wrong in my installation? > > thanks! > > Kris Thielemans > (kris.thielemans ic.ac.uk) > Imaging Research Solutions Ltd > Cyclotron Building > Hammersmith Hospital > Du Cane Road > London W12 ONN, United Kingdom > From alanh@fairlite.demon.co.uk Thu Nov 28 21:43:00 2002 From: alanh@fairlite.demon.co.uk (Alan Hourihane) Date: Thu, 28 Nov 2002 21:43:00 -0000 Subject: man pages In-Reply-To: References: <20021127170840.GI914@fairlite.demon.co.uk> Message-ID: <20021128161807.GV914@fairlite.demon.co.uk> Yup. On Thu, Nov 28, 2002 at 11:10:46AM -0500, Harold L Hunt II wrote: > Alan, > > Are you going to commit this one directly? > > Harold > > -----Original Message----- > From: cygwin-xfree-owner@cygwin.com > [mailto:cygwin-xfree-owner@cygwin.com]On Behalf Of Alan Hourihane > Sent: Wednesday, November 27, 2002 12:09 PM > To: cygwin-xfree@cygwin.com > Subject: Re: man pages > > > It's broken. > > We need to rebuild the X tree with > > #define ExpandManNames YES > > in cygwin.cf > > Thanks for reporting this. > > Alan. > > On Wed, Nov 27, 2002 at 04:53:23PM -0000, Kris Thielemans wrote: > > Hi, > > > > why are the man page names abbreviated? > > e.g. instead of typeing 'man XCreateWindow', I have to do 'man XCreWin' > > Or is there something wrong in my installation? > > > > thanks! > > > > Kris Thielemans > > (kris.thielemans ic.ac.uk) > > Imaging Research Solutions Ltd > > Cyclotron Building > > Hammersmith Hospital > > Du Cane Road > > London W12 ONN, United Kingdom > > From spetreolle@yahoo.fr Thu Nov 28 21:52:00 2002 From: spetreolle@yahoo.fr (=?iso-8859-1?q?Sylvain=20Petreolle?=) Date: Thu, 28 Nov 2002 21:52:00 -0000 Subject: man pages In-Reply-To: Message-ID: <20021128163046.37262.qmail@web10102.mail.yahoo.com> Harold, could you say if a XF86Config manpage/sample is in CVS ? --- Harold L Hunt II a ??crit : > Alan, > > Are you going to commit this one directly? > > Harold > ___________________________________________________________ Do You Yahoo!? -- Une adresse @yahoo.fr gratuite et en fran??ais ! Yahoo! Mail : http://fr.mail.yahoo.com From spetreolle@yahoo.fr Thu Nov 28 23:55:00 2002 From: spetreolle@yahoo.fr (=?iso-8859-1?q?Sylvain=20Petreolle?=) Date: Thu, 28 Nov 2002 23:55:00 -0000 Subject: man pages In-Reply-To: Message-ID: <20021128170514.42347.qmail@web10102.mail.yahoo.com> no, it's just for keyboard configuration concerns... I don't like hitting on "," key to have a "m" on a non-US keyboard :) same as all others... --- Harold L Hunt II a ??crit : > Yeah, there is one there, but I am not certain if it would end up in > the > Cygwin/XFree86 man page package because I don't know if we use the > XF86Config program... were you wondering something more specific? > > I am leaving in a few minutes for the Thanksgiving weekend... so I > may not > reply until Sunday or Monday. > > Harold > ___________________________________________________________ Do You Yahoo!? -- Une adresse @yahoo.fr gratuite et en fran??ais ! Yahoo! Mail : http://fr.mail.yahoo.com From Alexander.Gottwald@s1999.tu-chemnitz.de Fri Nov 29 02:08:00 2002 From: Alexander.Gottwald@s1999.tu-chemnitz.de (Alexander Gottwald) Date: Fri, 29 Nov 2002 02:08:00 -0000 Subject: man pages In-Reply-To: <20021128163046.37262.qmail@web10102.mail.yahoo.com> Message-ID: Sylvain Petreolle wrote: > Harold, could you say if a XF86Config manpage/sample is in CVS ? The manpage should be in CVS. The used config keys is a subset of those used for the linux XFree86. A sample can be download from http://www-user.tu-chemnitz.de/~goal/xfree/XF86Config-4.bz2 bye ago -- Alexander.Gottwald@informatik.tu-chemnitz.de http://www.gotti.org ICQ: 126018723 From jing.dong@attbi.com Fri Nov 29 03:14:00 2002 From: jing.dong@attbi.com (jing.dong@attbi.com) Date: Fri, 29 Nov 2002 03:14:00 -0000 Subject: gdb received signal SIGSEGV before even entering main! Message-ID: The program I ran gdb on a very standard hello world program, it crashes even before main is entered. Anybody have an idea how to solve this problem? Any help is appreciated. The following is a running script: /home/john> gdb -nw a GNU gdb 5.0 (20010428-3) Copyright 2001 Free Software Foundation, Inc. GDB is free software, covered by the GNU General Public License, and you are welcome to change it and/or distribute copies of it under certain conditions. Type "show copying" to see the conditions. There is absolutely no warranty for GDB. Type "show warranty" for details. This GDB was configured as "i686-pc-cygwin"... (gdb) b main Breakpoint 1 at 0x4010b6: file hello.c, line 3. (gdb) r Starting program: /home/john/a.exe Program received signal SIGSEGV, Segmentation fault. 0x77e75a3d in _libkernel32_a_iname () (gdb) q The program is running. Exit anyway? (y or n) y /home/john> a Hello /home/john> gcc -v Reading specs from /usr/lib/gcc-lib/i686-pc-cygwin/3.2/specs Configured with: /netrel/src/gcc-3.2-1/configure --enable- languages=c,c++,f77,ja va --enable-libgcj --enable-threads=posix --with-system-zlib --enable-nls -- with out-included-gettext --enable-interpreter --disable-sjlj-exceptions --disable- ve rsion-specific-runtime-libs --enable-shared --build=i686-pc-linux --host=i686- pc -cygwin --target=i686-pc-cygwin --enable-haifa --prefix=/usr --exec-prefix=/usr --sysconfdir=/etc --libdir=/usr/lib --includedir=/nonexistent/include -- libexecd ir=/usr/sbin Thread model: posix gcc version 3.2 20020818 (prerelease) From cygwin@cygwin.com Fri Nov 29 03:37:00 2002 From: cygwin@cygwin.com (cygwin@cygwin.com) Date: Fri, 29 Nov 2002 03:37:00 -0000 Subject: gdb received signal SIGSEGV before even entering main! In-Reply-To: <200211290518.gAT5IoP02480@mx1.redhat.com> References: <200211290518.gAT5IoP02480@mx1.redhat.com> Message-ID: <20021129055248.GB25628@redhat.com> Wrong mailing list. Redirected. On Fri, Nov 29, 2002 at 05:43:13AM +0000, jing.dong@attbi.com wrote: >The program I ran gdb on a very standard hello world program, it crashes even >before main is entered. >Anybody have an idea how to solve this problem? >Any help is appreciated. > >The following is a running script: > >/home/john> gdb -nw a >GNU gdb 5.0 (20010428-3) >Copyright 2001 Free Software Foundation, Inc. >GDB is free software, covered by the GNU General Public License, and you are >welcome to change it and/or distribute copies of it under certain conditions. >Type "show copying" to see the conditions. >There is absolutely no warranty for GDB. Type "show warranty" for details. >This GDB was configured as "i686-pc-cygwin"... >(gdb) b main >Breakpoint 1 at 0x4010b6: file hello.c, line 3. >(gdb) r >Starting program: /home/john/a.exe > >Program received signal SIGSEGV, Segmentation fault. >0x77e75a3d in _libkernel32_a_iname () >(gdb) q >The program is running. Exit anyway? (y or n) y > >/home/john> a >Hello > >/home/john> gcc -v >Reading specs from /usr/lib/gcc-lib/i686-pc-cygwin/3.2/specs >Configured with: /netrel/src/gcc-3.2-1/configure --enable- >languages=c,c++,f77,ja >va --enable-libgcj --enable-threads=posix --with-system-zlib --enable-nls -- >with >out-included-gettext --enable-interpreter --disable-sjlj-exceptions --disable- >ve >rsion-specific-runtime-libs --enable-shared --build=i686-pc-linux --host=i686- >pc >-cygwin --target=i686-pc-cygwin --enable-haifa --prefix=/usr --exec-prefix=/usr >--sysconfdir=/etc --libdir=/usr/lib --includedir=/nonexistent/include -- >libexecd >ir=/usr/sbin >Thread model: posix >gcc version 3.2 20020818 (prerelease) From lists.ASkwar@email-server.info Fri Nov 29 04:00:00 2002 From: lists.ASkwar@email-server.info (Alexander Skwar) Date: Fri, 29 Nov 2002 04:00:00 -0000 Subject: xkbcomp.exe segfaults Message-ID: <1038556506.3de71d5aa0147@confixx.p15097023.pureserver.info> Hi! Yesterday, I switched my PC from using the "Novell" Novell client on Windows XP to the Novell client provided by Microsoft. Since then, when I start XWin, xkbcomp.exe segfaults. Here's an excerpt from strace.exe: 39 52243 [main] xkbcomp 3408 fhandler_base::close: closing '/etc/X11/xkb/keycodes/xfree86' handle 0x738 68 52311 [main] xkbcomp 3408 close: 0 = close (0) 1273 53584 [main] xkbcomp 3408 handle_exceptions: In cygwin_except_handler exc 0xC0000005 at 0x40CC22 sp 0x22F468 44 53628 [main] xkbcomp 3408 handle_exceptions: In cygwin_except_handler sig = 11 at 0x40CC22 60 53688 [main] xkbcomp 3408 handle_exceptions: In cygwin_except_handler calling 0x0 41 53729 [main] xkbcomp 3408 try_to_debug: debugger_command '' 470 54199 [main] xkbcomp 3408 open_stackdumpfile: Dumping stack trace to xkbcomp.exe.stackdump 1488999 1543198 [main] xkbcomp 3408 signal_exit: about to call do_exit (18B00) 95 1543293 [main] xkbcomp 3408 do_exit: do_exit (101120) 65 1543358 [main] xkbcomp 3408 void: 0x0 = signal (20, 0x1) 71 1543429 [main] xkbcomp 3408 void: 0x0 = signal (1, 0x1) 60 1543489 [main] xkbcomp 3408 void: 0x0 = signal (2, 0x1) 61 1543550 [main] xkbcomp 3408 void: 0x0 = signal (3, 0x1) 107 1543657 [main] xkbcomp 3408 fhandler_socket::close: 0 = fhandler_socket::close() 70 1543727 [main] xkbcomp 3408 fhandler_base::close: closing '/dev/null' handle 0x728 92 1543819 [main] xkbcomp 3408 fhandler_socket::close: 0 = fhandler_socket::close() 89 1543908 [main] xkbcomp 3408 fhandler_socket::close: 0 = fhandler_socket::close() 66 1543974 [main] xkbcomp 3408 sigproc_terminate: entering 60 1544034 [main] xkbcomp 3408 proc_terminate: nchildren 0, nzombies 0 59 1544093 [main] xkbcomp 3408 proc_terminate: leaving 125 1544218 [main] xkbcomp 3408 __to_clock_t: dwHighDateTime 0, dwLowDateTime 600864 60 1544278 [main] xkbcomp 3408 __to_clock_t: total 00000000 0000003C 61 1544339 [main] xkbcomp 3408 __to_clock_t: dwHighDateTime 0, dwLowDateTime 400576 69 1544408 [main] xkbcomp 3408 __to_clock_t: total 00000000 00000028 1270 1545678 [main] xkbcomp 3408 _pinfo::exit: Calling ExitProcess 101120 xkbcomp.exe.stackdump: Exception: STATUS_ACCESS_VIOLATION at eip=0040CC22 eax=00000008 ebx=0A040EF0 ecx=610CD024 edx=0022F480 esi=00000014 edi=0022F480 ebp=0022FDB0 esp=0022F468 program=C:\cygwin\etc\X11\xkb\xkbcomp.exe cs=001B ds=0023 es=0023 fs=0038 gs=0000 ss=0023 Stack trace: Frame Function Args 0022FDB0 0040CC22 (0A040EF0, 0022FEB0, 00000002, 00401F6D) 0022FE00 0040B277 (0A041150, 0022FEB0, 00000003, 0040457F) 0022FEC0 0040461B (0000000D, 615F2E38, 0A040330, 61006B5A) 0022FF10 610072E8 (610CBAA8, FFFFFFFE, 0000079C, 610CB9CC) 0022FF60 610075CD (00000000, 00000000, C038848C, 00000003) 0022FF90 0043A2E3 (004041FC, 8053D16F, 00000001, 00000000) 0022FFC0 0040103D (0022E468, 00000008, 7FFDF000, EB4BFCF0) 0022FFF0 77E614C7 (00401000, 00000000, 78746341, 00000020) End of stack trace I've installed the XF86Config-4 from gotti. When I start xkbcomp.exe with no parameters, it doesn't segfault. Well, how is xkbcomp.exe called, so that it segfault? Thanks, Alexander Skwar -- How to quote: http://learn.to/quote (german) http://quote.6x.to (en) Homepage: http://www.iso-top.biz | Jabber: askwar@a-message.de iso-top.biz - Die g??nstige Art an Linux Distributionen zu kommen -- ------------------------------------------------- This mail sent through IMP: http://horde.org/imp/ From bax3@bigfoot.com Fri Nov 29 05:13:00 2002 From: bax3@bigfoot.com (Michael Bax) Date: Fri, 29 Nov 2002 05:13:00 -0000 Subject: fvwm-2.4.7-2 install missing /usr/local/etc/fvwm/system.fvwm2rc? Message-ID: <000001c2978f$3274ad20$baa30c80@springbok> In followup to my earlier message: > INSTALL.fvwm from the fvwm source tarfile (fvwm.org) suggests > copying system.fvwm2rc to /usr/local/etc/fvwm/system.fvwm2rc > to provide a system default. This file does not appear to be > present in the Cygwin package, but it seems that installing > this file to the correct place would be the most transparent > way to streamline fvwm setup. The Cygwin version of fvwm2 appears to be configured slightly differently from the default. The appropriate directories for system.fvwm2rc are ${datadir}/fvwm --> /usr/X11R6/share/fvwm and ${sysconfdir} --> /etc (why not /usr/local/etc or even /etc/X11?) As a possible alternative to supplying this default configuration file, what about installing fwwm-icons along with a configuration pre-generated by FvwmScript-Setup95? Cheers Michael From vervoom@hotmail.com Fri Nov 29 06:10:00 2002 From: vervoom@hotmail.com (J S) Date: Fri, 29 Nov 2002 06:10:00 -0000 Subject: XDMCP on Windows 95 Message-ID: Hi, When I try to run the command: XWin -query smpd9 -fp tcp/smpd9:7100 -from a217447 that brings up the solaris xdmcp session if I'm running XFree86 on win XP/2K or NT. But if I try to run this on windows 95, it bombs out. Is this because Xfree86 doesn't support XDMCP on Windows 95? Thanks for any help, JS. _________________________________________________________________ Tired of spam? Get advanced junk mail protection with MSN 8. http://join.msn.com/?page=features/junkmail From edi@serbski-institut.de Fri Nov 29 06:26:00 2002 From: edi@serbski-institut.de (PD Dr. Edward Wornar) Date: Fri, 29 Nov 2002 06:26:00 -0000 Subject: XDMCP on Windows 95 In-Reply-To: References: Message-ID: <20021129.123300.74746910.edi@serbski-institut.de> From: "J S" Subject: XDMCP on Windows 95 Date: Fri, 29 Nov 2002 11:14:28 +0000 > Hi, > > When I try to run the command: > > XWin -query smpd9 -fp tcp/smpd9:7100 -from a217447 > > that brings up the solaris xdmcp session if I'm running XFree86 on win XP/2K > or NT. But if I try to run this on windows 95, it bombs out. > > Is this because Xfree86 doesn't support XDMCP on Windows 95? Definitely not as I got it running on several Win95 machines on our institute. Does the name resolving work? Does it run locally? Without the -fp stuff? Cheers Edi From vervoom@hotmail.com Fri Nov 29 06:48:00 2002 From: vervoom@hotmail.com (J S) Date: Fri, 29 Nov 2002 06:48:00 -0000 Subject: XDMCP on Windows 95 Message-ID: > > Hi, > > > > When I try to run the command: > > > > XWin -query smpd9 -fp tcp/smpd9:7100 -from a217447 > > > > that brings up the solaris xdmcp session if I'm running XFree86 on win >XP/2K > > or NT. But if I try to run this on windows 95, it bombs out. > > > > Is this because Xfree86 doesn't support XDMCP on Windows 95? > >Definitely not as I got it running on several Win95 machines on our >institute. >Does the name resolving work? Does it run locally? Without the -fp stuff? > >Cheers > >Edi There are no problems with the name resolving and XFree86 runs OK on the localhost. I have tested this on two win 95 machines now (one is a fresh win 95 install) and both exhibit the same problem. _________________________________________________________________ Tired of spam? Get advanced junk mail protection with MSN 8. http://join.msn.com/?page=features/junkmail From alexander.gottwald@s1999.tu-chemnitz.de Fri Nov 29 07:30:00 2002 From: alexander.gottwald@s1999.tu-chemnitz.de (Alexander Gottwald) Date: Fri, 29 Nov 2002 07:30:00 -0000 Subject: XDMCP on Windows 95 In-Reply-To: Message-ID: On Fri, 29 Nov 2002, J S wrote: > Hi, > > When I try to run the command: > > XWin -query smpd9 -fp tcp/smpd9:7100 -from a217447 > > that brings up the solaris xdmcp session if I'm running XFree86 on win XP/2K > or NT. But if I try to run this on windows 95, it bombs out. ^^^^^^^^^^^^ Good. A very short error description with nearly no information. What's in /tmp/XWin.log What does xdm tell Is there any network traffic > Is this because Xfree86 doesn't support XDMCP on Windows 95? It does support windows 95. bye ago From bportaluri@excite.it Fri Nov 29 08:14:00 2002 From: bportaluri@excite.it (Bruno Portaluri) Date: Fri, 29 Nov 2002 08:14:00 -0000 Subject: Keyboard configuration problems for XDMCP connection Message-ID: <000501c297b1$2df71bd0$09b15492@rome.tivoli.com> Hi all, I'm trying to connect to an AIX machine from a Cygwin installation on a Win2000 client. I use the following command to query a session to the X server: XWin -query aix_hostname The login screen appears correctly but I'm not able to configure the italian keyboard. Following the instructions on the faq I'm able to configure the keyboard only for local x sessions. Here's the content of xwin.log file ddxProcessArgument - Initializing default screens winInitializeDefaultScreens - w 1024 h 768 winInitializeDefaultScreens - Returning OsVendorInit - Creating bogus screen 0 _XSERVTransmkdir: Owner of /tmp/.X11-unix should be set to root (EE) Unable to locate/open config file InitOutput - Error reading config file winDetectSupportedEngines - Windows NT/2000/XP winDetectSupportedEngines - DirectDraw installed winDetectSupportedEngines - Allowing PrimaryDD winDetectSupportedEngines - DirectDraw4 installed winDetectSupportedEngines - Returning, supported engines 0000001f InitOutput - g_iNumScreens: 1 iMaxConsecutiveScreen: 1 winSetEngine - Using Shadow DirectDraw NonLocking winAdjustVideoModeShadowDDNL - Using Windows display depth of 32 bits per pixel winCreateBoundingWindowWindowed - Initial w: 1024 h: 768 winAdjustForAutoHide - Original WorkArea: 0 0 740 1024 winAdjustForAutoHide - Adjusted WorkArea: 0 0 740 1024 winCreateBoundingWindowWindowed - WindowClient w 1018 h 715 r 1018 l 0 b 715 t 0 winCreateBoundingWindowWindowed - Returning winCreatePrimarySurfaceShadowDDNL - Creating primary surface winCreatePrimarySurfaceShadowDDNL - Created primary surface winCreatePrimarySurfaceShadowDDNL - Attached clipper to primary surface winAllocateFBShadowDDNL - lPitch: 4072 winFinishScreenInitFB - Masks: 00ff0000 0000ff00 000000ff winInitVisualsShadowDDNL - Masks 00ff0000 0000ff00 000000ff BPRGB 8 d 24 bpp 32 winCreateDefColormap - Deferring to fbCreateDefColormap () winScreenInit - returning (EE) No primary keyboard configured (==) Using compiletime defaults for keyboard Rules = "xfree86" Model = "pc101" Layout = "us" Variant = "(null)" Options = "(null)" Thanks in advance for any suggestions. Bruno From lists.ASkwar@email-server.info Fri Nov 29 10:11:00 2002 From: lists.ASkwar@email-server.info (Alexander Skwar) Date: Fri, 29 Nov 2002 10:11:00 -0000 Subject: Host Chooser Program? Message-ID: <1038579977.3de77909f317e@confixx.p15097023.pureserver.info> Hi! Now that I've (kinda) got XWin running, I'm looking for a program which will let me type in the name of the host that I want to connect to. What I'm trying to do, is to have a shell script, which will run some sort of Windows GUI program where the user can enter something. This "something" should then be used as the parameter to the -query option. Kinda like this: XWin.exe -query $(user_prompter) Any ideas? Thanks, Alexander Skwar -- How to quote: http://learn.to/quote (german) http://quote.6x.to (en) Homepage: http://www.iso-top.biz | Jabber: askwar@a-message.de iso-top.biz - Die g??nstige Art an Linux Distributionen zu kommen -- ------------------------------------------------- This mail sent through IMP: http://horde.org/imp/ From Vince.Hoffman@uk.circle.com Fri Nov 29 13:39:00 2002 From: Vince.Hoffman@uk.circle.com (Vince Hoffman) Date: Fri, 29 Nov 2002 13:39:00 -0000 Subject: Host Chooser Program? Message-ID: <3500515B75D9D311948800508BA3795595099C@EX-LONDON> I seem to remember post about something similar, try searching the archives for 'connection tool' > -----Original Message----- > From: Alexander Skwar [mailto:lists.ASkwar@email-server.info] > Sent: 29 November 2002 14:26 > To: Cygwin XWin Mailingliste > Subject: Host Chooser Program? > > > Hi! > > Now that I've (kinda) got XWin running, I'm looking for a > program which > will let me type in the name of the host that I want to connect to. > > What I'm trying to do, is to have a shell script, which will > run some sort > of Windows GUI program where the user can enter something. > This "something" > should then be used as the parameter to the -query option. > Kinda like this: > > XWin.exe -query $(user_prompter) > > Any ideas? > > Thanks, > > Alexander Skwar > -- > How to quote: http://learn.to/quote (german) http://quote.6x.to (en) > Homepage: http://www.iso-top.biz | Jabber: askwar@a-message.de > iso-top.biz - Die g?nstige Art an Linux Distributionen zu kommen > -- > ------------------------------------------------- > This mail sent through IMP: http://horde.org/imp/ > From Alexander.Gottwald@s1999.tu-chemnitz.de Sat Nov 30 06:19:00 2002 From: Alexander.Gottwald@s1999.tu-chemnitz.de (Alexander Gottwald) Date: Sat, 30 Nov 2002 06:19:00 -0000 Subject: Keyboard configuration problems for XDMCP connection In-Reply-To: <000501c297b1$2df71bd0$09b15492@rome.tivoli.com> Message-ID: Bruno Portaluri wrote: > Hi all, > I'm trying to connect to an AIX machine from a Cygwin installation on a > Win2000 client. > I use the following command to query a session to the X server: > XWin -query aix_hostname AFAIR, there were a lot of reports about problems with AIX on the list. The list archive might give you some information. I think it had to do with Numlock being turned on. > The login screen appears correctly but I'm not able to configure the italian > keyboard. Get http://www-user.tu-chemnitz.de/~goal/xfree/XF86Config-4.bz2, unbzip2 it to /etc/X11/XF86Config and change the line Option "XkbLayout" "de" to Option "XkbLayout" "it" Whit this and the solution for the XKB problem with AIX will give you an italian keyboard. bye ago NP: Blutengel - Warriors of destiny -- Alexander.Gottwald@informatik.tu-chemnitz.de http://www.gotti.org ICQ: 126018723