From pgeorge@aalayance.com Tue Oct 1 05:59:00 2002 From: pgeorge@aalayance.com (George Thomas P) Date: Tue, 01 Oct 2002 05:59:00 -0000 Subject: Remote sessions with HP UX CDE ? Message-ID: <006301c26949$ee0b6b10$4101a8c0@india.aalayance.com> Hi there, I'm a newbie with Cygwin. I have the following problem after executing the following command to start an X session with a HP UX machine:- XWin -query where is our HPUX ip. My Cygwin instance hangs after that. I was wondering if any of you folks were successful in starting remote X Sessions with HP-UX ? HP-UX uses the CDE window manager I believe, I saw some suggestions for the Solaris CDE in the Cygwin FAQ, do they apply to HP UX as well ? If anyone out there could offer some pointers I'd be most grateful. Thanks in advance regards George From alanh@fairlite.demon.co.uk Tue Oct 1 07:38:00 2002 From: alanh@fairlite.demon.co.uk (Alan Hourihane) Date: Tue, 01 Oct 2002 07:38:00 -0000 Subject: XFree 4.2.1 + fontconfig-2 In-Reply-To: References: <20020925134833.GU1409@fairlite.demon.co.uk> Message-ID: <20021001143713.GJ25048@fairlite.demon.co.uk> On Sat, Sep 28, 2002 at 05:19:53PM +0200, Alexander Gottwald wrote: > Alan Hourihane wrote: > > > When you've come to a decision on the patch, post a new one so I > > can take a look and then commit it. > > There's a new one. > > The cygwin.rules diff includes: > > - new macro SharedLibraryName > evalutes to cygName-Version.dll > - new macro ImportLibraryName > evaluates to libName-Version.dll.a > - new macro ShortImportLibraryName > evaluates to libName.dll.a > - new macro InstallLink > creates a symlink on install. Needed for symlinking ImportLibraryName() > to ShortImportLibraryName() > - new macro LinkImportLibrary > creates a link to ImportLibraryName as xc/exports/lib/libName.a > - cleaup of of old macros to use the ShareLibraryName and ImportLibraryName > macros instead of the old Concat3() composition > - added new ld option --exclude-libs All in MakeDLLProg. This should prevent > exporting of symbols which were imported from another library. > - Some macros now also need the library version to pass it to the new *Name > macros. Added rev to parameterlists. > - Installing a link libName-Version.dll.a with name libName.dll.a > > The --exclude-libs ALL is needed at my system since Xft exported symbols > from Xrender. linking a program with -Xrender -lXft failed because of > duplicate symbols. Since we're using spec files to specify which symbols > have to be exported, --exclude-libs ALL should be no problem. > > The second path changes the order of the libraries. It is now -lXrender > -lXext -lX11. This fixes an error where some symbols from libX11 were not > found when the linker resolved symbols from libXrender. I've done a test build with this and my other patches and it seems to work well in my "limited" testing. I've now committed the changes, so if others can also test as well, that'd be good. Can someone test a Cross Compile environment. I needed to comment out the ComplexProgramTarget_1 rule which isn't needed when building on Cygwin in my tests, but may well be needed for cross compiles. If so I can stick in the #if CrossCompile/#endif stuff. Thanks for the patch Alexander. We're also awaiting the new cygwin dll and relevant binutils packages before we can turn on shared libraries for Xaw/Xt as they export arrays which the auto-import can't currently deal with. There are workarounds for this, but I'm loathe to implement those kinds of fixes. Alan. From alexander.gottwald@s1999.tu-chemnitz.de Tue Oct 1 07:52:00 2002 From: alexander.gottwald@s1999.tu-chemnitz.de (Alexander Gottwald) Date: Tue, 01 Oct 2002 07:52:00 -0000 Subject: XFree 4.2.1 + fontconfig-2 In-Reply-To: <20021001143713.GJ25048@fairlite.demon.co.uk> Message-ID: On Tue, 1 Oct 2002, Alan Hourihane wrote: > > Can someone test a Cross Compile environment. I needed to comment > out the ComplexProgramTarget_1 rule which isn't needed when building > on Cygwin in my tests, but may well be needed for cross compiles. If > so I can stick in the #if CrossCompile/#endif stuff. Are these recent changes? All testing I've done was only in a crosscompile environment. > We're also awaiting the new cygwin dll and relevant binutils packages > before we can turn on shared libraries for Xaw/Xt as they export > arrays which the auto-import can't currently deal with. And the new binutils will help? I've run into this problem too. bye ago -- Alexander.Gottwald@informatik.tu-chemnitz.de http://www.gotti.org ICQ: 126018723 From alanh@fairlite.demon.co.uk Tue Oct 1 07:58:00 2002 From: alanh@fairlite.demon.co.uk (Alan Hourihane) Date: Tue, 01 Oct 2002 07:58:00 -0000 Subject: XFree 4.2.1 + fontconfig-2 In-Reply-To: References: <20021001143713.GJ25048@fairlite.demon.co.uk> Message-ID: <20021001145839.GK25048@fairlite.demon.co.uk> On Tue, Oct 01, 2002 at 04:52:29PM +0200, Alexander Gottwald wrote: > On Tue, 1 Oct 2002, Alan Hourihane wrote: > > > > Can someone test a Cross Compile environment. I needed to comment > > out the ComplexProgramTarget_1 rule which isn't needed when building > > on Cygwin in my tests, but may well be needed for cross compiles. If > > so I can stick in the #if CrossCompile/#endif stuff. > > Are these recent changes? All testing I've done was only in a crosscompile > environment. Yes, then they are probably needed, so just check for me and I'll make the change. > > We're also awaiting the new cygwin dll and relevant binutils packages > > before we can turn on shared libraries for Xaw/Xt as they export > > arrays which the auto-import can't currently deal with. > > And the new binutils will help? I've run into this problem too. Yes, aparently so. Check out the cygwin archive lists for more details. Alan. From huntharo@msu.edu Tue Oct 1 08:36:00 2002 From: huntharo@msu.edu (Harold Hunt) Date: Tue, 01 Oct 2002 08:36:00 -0000 Subject: Remote sessions with HP UX CDE ? In-Reply-To: <006301c26949$ee0b6b10$4101a8c0@india.aalayance.com> Message-ID: George, Your email has been received. However, I do not work with HP-UX and I am not sure if anyone here does, so I didn't want you to think that you were being ignored if you don't get any further replies. Hopefully someone around here will be able to help you out. I can start with the usual though: send in your /tmp/XWin.log contents. Harold > -----Original Message----- > From: cygwin-xfree-owner@cygwin.com > [mailto:cygwin-xfree-owner@cygwin.com]On Behalf Of George Thomas P > Sent: Tuesday, October 01, 2002 8:56 AM > To: cygwin-xfree@cygwin.com > Subject: Remote sessions with HP UX CDE ? > > > Hi there, > > I'm a newbie with Cygwin. I have the following problem after executing the > following command to start an X session with a HP UX machine:- > > XWin -query > > where is our HPUX ip. My Cygwin instance hangs after that. > > I was wondering if any of you folks were successful in starting remote X > Sessions with HP-UX ? > > HP-UX uses the CDE window manager I believe, I saw some > suggestions for the > Solaris CDE in the Cygwin FAQ, do they apply to HP UX as well ? > > If anyone out there could offer some pointers I'd be most grateful. Thanks > in advance > > > regards George > > From huntharo@msu.edu Tue Oct 1 08:43:00 2002 From: huntharo@msu.edu (Harold Hunt) Date: Tue, 01 Oct 2002 08:43:00 -0000 Subject: XFree 4.2.1 + fontconfig-2 In-Reply-To: <20021001145839.GK25048@fairlite.demon.co.uk> Message-ID: Alan, If I recall correctly, the reason we have to override ComplexProgramTarget_1 for cross compiling is that the correct dependency list is not generated for the first run through the build tree. Some executables are not going to be built until a second pass through the build tree. No errors are generated when this problem occurs, so the only way you know that there is a problem during cross compiling is to go and audit one of the sets of targets that are built with ComplexProgramTarget and make sure that all of those targets were built. With that being said, I will do a build check. However, I can think of nothing that has been done to remedy this problem, so I will almost guarantee that #if CrossCompiling will be needed for ComplexProgramTarget_1. Will let you know. Harold > -----Original Message----- > From: cygwin-xfree-owner@cygwin.com > [mailto:cygwin-xfree-owner@cygwin.com]On Behalf Of Alan Hourihane > Sent: Tuesday, October 01, 2002 10:59 AM > To: cygwin-xfree@cygwin.com > Subject: Re: XFree 4.2.1 + fontconfig-2 > > > On Tue, Oct 01, 2002 at 04:52:29PM +0200, Alexander Gottwald wrote: > > On Tue, 1 Oct 2002, Alan Hourihane wrote: > > > > > > Can someone test a Cross Compile environment. I needed to comment > > > out the ComplexProgramTarget_1 rule which isn't needed when building > > > on Cygwin in my tests, but may well be needed for cross compiles. If > > > so I can stick in the #if CrossCompile/#endif stuff. > > > > Are these recent changes? All testing I've done was only in a > crosscompile > > environment. > > Yes, then they are probably needed, so just check for me and I'll make > the change. > > > > We're also awaiting the new cygwin dll and relevant binutils packages > > > before we can turn on shared libraries for Xaw/Xt as they export > > > arrays which the auto-import can't currently deal with. > > > > And the new binutils will help? I've run into this problem too. > > Yes, aparently so. Check out the cygwin archive lists for more details. > > Alan. From ben.calvert@ams.com Tue Oct 1 08:46:00 2002 From: ben.calvert@ams.com (Ben Calvert) Date: Tue, 01 Oct 2002 08:46:00 -0000 Subject: Remote sessions with HP UX CDE ? Message-ID: sorry, looks like i missed this the first time 'round. with both hp-ux and solaris i have mixed results, but i think this is mostly due to our interesting dns/wins combination here. Sometimes i need to specify the ip i'm sending from: Xwin -query -from but this may be due to the fact that my laptop's hostname isn't reliably resolvable. thanks, ben "Harold Hunt" To: Sent by: cc: cygwin-xfree-owner@ Subject: RE: Remote sessions with HP UX CDE ? cygwin.com 10/01/2002 11:36 AM Please respond to cygwin-xfree George, Your email has been received. However, I do not work with HP-UX and I am not sure if anyone here does, so I didn't want you to think that you were being ignored if you don't get any further replies. Hopefully someone around here will be able to help you out. I can start with the usual though: send in your /tmp/XWin.log contents. Harold > -----Original Message----- > From: cygwin-xfree-owner@cygwin.com > [mailto:cygwin-xfree-owner@cygwin.com]On Behalf Of George Thomas P > Sent: Tuesday, October 01, 2002 8:56 AM > To: cygwin-xfree@cygwin.com > Subject: Remote sessions with HP UX CDE ? > > > Hi there, > > I'm a newbie with Cygwin. I have the following problem after executing the > following command to start an X session with a HP UX machine:- > > XWin -query > > where is our HPUX ip. My Cygwin instance hangs after that. > > I was wondering if any of you folks were successful in starting remote X > Sessions with HP-UX ? > > HP-UX uses the CDE window manager I believe, I saw some > suggestions for the > Solaris CDE in the Cygwin FAQ, do they apply to HP UX as well ? > > If anyone out there could offer some pointers I'd be most grateful. Thanks > in advance > > > regards George > > From schwaa98@yahoo.com Tue Oct 1 08:58:00 2002 From: schwaa98@yahoo.com (Brian Rowe) Date: Tue, 01 Oct 2002 08:58:00 -0000 Subject: X11 headers not found Message-ID: <20021001155812.34669.qmail@web40206.mail.yahoo.com> When I try to compile some code (NetHack) I can't find hearders in so #include results in file not found. The file is there, so it must think X11 is somewhere else. How does this get set. My C is 5 years old, sorry for the stupid question. __________________________________________________ Do you Yahoo!? New DSL Internet Access from SBC & Yahoo! http://sbc.yahoo.com From pgeorge@aalayance.com Tue Oct 1 09:26:00 2002 From: pgeorge@aalayance.com (George Thomas P) Date: Tue, 01 Oct 2002 09:26:00 -0000 Subject: Remote sessions with HP UX CDE ? Message-ID: <007601c26966$db125e70$4101a8c0@india.aalayance.com> Hi All, Thanks :-) for the responses ...but I'm still unsuccessful. I did try XWin -query -from but no luck yet....Here's my XWin.log file. To those folks who are able to run remote HP CDE sessions ( I be ;-) ), did you have to do any special configuration, or tweak any prop files or something. Once again :-) thanks in advance. regards George -------------- next part -------------- A non-text attachment was scrubbed... Name: XWin.log Type: application/octet-stream Size: 1878 bytes Desc: not available URL: From papafox888@hotmail.com Tue Oct 1 09:53:00 2002 From: papafox888@hotmail.com (Papa Fox) Date: Tue, 01 Oct 2002 09:53:00 -0000 Subject: Remote sessions with HP UX CDE ? Message-ID: Hi, Cygwin XFree has a limitation - it doesn't work with 8bpp screens. You need to change your screen settings to at least 16bpp. To change you color depth: Right click on the desktop, select 'Properties'; select the 'Settings' tab; change the 'Color Quality' setting to either 'High (24 bits)' or 'Highest (32 bits)'. Warning: check that selecting a higher color depth doesn't cause Windows to reduce you screen resolution. Check that the 'Screen Resolution' value has not changed. Click OK. regards Papa Fox _________________________________________________________________ MSN Photos is the easiest way to share and print your photos: http://photos.msn.com/support/worldwide.aspx From ben.calvert@ams.com Tue Oct 1 12:15:00 2002 From: ben.calvert@ams.com (Ben Calvert) Date: Tue, 01 Oct 2002 12:15:00 -0000 Subject: Remote sessions with HP UX CDE ? Message-ID: george - i've rebooted since ths morning, and have dug up this bat file i was playing with. i'm able to connect to my machine with it, maybe it'll help you. (See attached file: X.bat) "George Thomas P" com> cc: Sent by: Subject: Re: Re: Remote sessions with HP UX CDE ? cygwin-xfree-owner@ cygwin.com 10/01/2002 09:23 AM Please respond to cygwin-xfree Hi All, Thanks :-) for the responses ...but I'm still unsuccessful. I did try XWin -query -from but no luck yet....Here's my XWin.log file. To those folks who are able to run remote HP CDE sessions ( I be ;-) ), did you have to do any special configuration, or tweak any prop files or something. Once again :-) thanks in advance. regards George (See attached file: XWin.log) -------------- next part -------------- A non-text attachment was scrubbed... Name: X.bat Type: application/octet-stream Size: 136 bytes Desc: not available URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: XWin.log Type: application/octet-stream Size: 1878 bytes Desc: not available URL: From Administrator@dounsix.co.nz Tue Oct 1 12:16:00 2002 From: Administrator@dounsix.co.nz (Administrator@dounsix.co.nz) Date: Tue, 01 Oct 2002 12:16:00 -0000 Subject: Mail Notification Message-ID: <20021001191635.68A4EADFBF@smtp-3.paradise.net.nz> The attached message has been deleted because of the following reason: Message contains attachments: X.bat Additional Information: none -------------- next part -------------- An embedded message was scrubbed... From: "Ben Calvert" Subject: Re: Re: Remote sessions with HP UX CDE ? Date: Tue, 1 Oct 2002 12:15:33 -0700 Size: 7633 URL: From mecklen@cimsoft.com Tue Oct 1 12:46:00 2002 From: mecklen@cimsoft.com (Robert Mecklenburg) Date: Tue, 01 Oct 2002 12:46:00 -0000 Subject: Debatable: Rootless Mode is an Important and Needed Feature In-Reply-To: <3D94B1AC.2060705@msu.edu> References: <3D94B1AC.2060705@msu.edu> Message-ID: <15769.64377.285000.831461@gargle.gargle.HOWL> HLH> Could you please ask your pointy-haired bosses for a few thousand bucks HLH> to pay one of your programmers to throw some time at a rootless mode? HLH> Better yet, why don't you ask them if they would be willing to pay me to HLH> do it? Some time ago there was a suggestion to setup a paypal account to receive donations for this purpose. I recall someone saying that an announcement would be made when the account was available. What ever happened to this? Personally, I'd be happy to contribute some hard cash to whomever implements this feature. Cheers, -- Robert From huntharo@msu.edu Tue Oct 1 14:14:00 2002 From: huntharo@msu.edu (Harold L Hunt II) Date: Tue, 01 Oct 2002 14:14:00 -0000 Subject: Remote sessions with HP UX CDE ? References: Message-ID: <3D9A1011.1050008@msu.edu> Mr. Fox, What limitation are you speaking of? I wrote the 8bpp code, so I can assure you that there is no such limitation. Perhaps you were saying that Cygwin/XFree86 cannot connect to HP UX's CDE when running in 8bpp --- I would certainly believe that, but I have not heard that from other users yet. If you haven't tried 8bpp in awhile, try it. It has worked fine for months now. The only remaining problem is that we cannot support 8bpp visuals when the root visual is >8bpp; for example, we can't allow you to run your desktop in 16bpp and still display a given CAD program on an 8bpp visual (seems CAD programs love to use 8bpp). Other than that we are pretty much feature complete in the 8bpp department. Harold Papa Fox wrote: > Hi, > > Cygwin XFree has a limitation - it doesn't work with 8bpp screens. You > need to change your screen settings to at least 16bpp. > > To change you color depth: > > Right click on the desktop, select 'Properties'; select the 'Settings' > tab; change the 'Color Quality' setting to either 'High (24 bits)' or > 'Highest (32 bits)'. Warning: check that selecting a higher color depth > doesn't cause Windows to reduce you screen resolution. Check that the > 'Screen Resolution' value has not changed. Click OK. > > regards > Papa Fox > > > _________________________________________________________________ > MSN Photos is the easiest way to share and print your photos: > http://photos.msn.com/support/worldwide.aspx > From huntharo@msu.edu Tue Oct 1 14:55:00 2002 From: huntharo@msu.edu (Harold L Hunt II) Date: Tue, 01 Oct 2002 14:55:00 -0000 Subject: Debatable: Rootless Mode is an Important and Needed Feature References: <3D94B1AC.2060705@msu.edu> <15769.64377.285000.831461@gargle.gargle.HOWL> Message-ID: <3D9A19CE.8060500@msu.edu> Robert, My PayPal account is my email address. I have not setup a link to it from my homepage yet, but I have that on my To-Do list. I have also not proposed any prices for developing features that do not exist. However, I would be more than happy to accept any contributions for the work that I have already done... I could certainly use that money to keep my development hardware up-to-date. I have really been looking into upgrading my Linux machine that I use for building Cygwin/XFree86 --- I need a new motherboard ($120), a new chip ($200), a new 7200 RPM hard drive ($120), a bundle of RAM ($100), and a semi-modern graphics card ($120). I'd also like to have a UPS ($100-$200) since uptimes of more than 7 days are becoming rather rare at my apartment due to lightning storms and whatnot. It is a real pain to try logging on to my Linux machine from school only to find out that the storm during the night caused it to hang (we've had some power sags that caused it to hang but that did not cause the machine to reboot or X to stop displaying on the screen). PayPal money would be perfect for this because I don't have to struggle with myself as to whether spending this money is worth it or not --- the PayPal money would only be spent for hardware, so there is nothing to struggle about. Needless to say, the fiance stays out of the loop on that money as well, so there is no chance of veto on any purchases :) Hopefully that will do until I put a link on my page. Like I said, my PayPal account is my email address. Harold Robert Mecklenburg wrote: > HLH> Could you please ask your pointy-haired bosses for a few thousand bucks > HLH> to pay one of your programmers to throw some time at a rootless mode? > HLH> Better yet, why don't you ask them if they would be willing to pay me to > HLH> do it? > > Some time ago there was a suggestion to setup a paypal account to > receive donations for this purpose. I recall someone saying that an > announcement would be made when the account was available. What ever > happened to this? Personally, I'd be happy to contribute some hard > cash to whomever implements this feature. > > Cheers, From huntharo@msu.edu Tue Oct 1 17:45:00 2002 From: huntharo@msu.edu (Harold Hunt) Date: Tue, 01 Oct 2002 17:45:00 -0000 Subject: XFree 4.2.1 + fontconfig-2 In-Reply-To: <20021001145839.GK25048@fairlite.demon.co.uk> Message-ID: Alan, Something is definitely borken: make[4]: Nothing to be done for `Makefiles'. make[4]: Leaving directory `/home/harold/x-devel/build/cross/doc/man/GLU' make[3]: Leaving directory `/home/harold/x-devel/build/cross/doc/man' make[2]: Leaving directory `/home/harold/x-devel/build/cross/doc' make[1]: Leaving directory `/home/harold/x-devel/build/cross' make -f xmakefile BOOTSTRAPSUBDIRS= clean make[1]: Entering directory `/home/harold/x-devel/build/cross' RemoveFile(Concat3(lib,libname,-rev.dll.a)) /bin/sh: -c: line 1: syntax error near unexpected token `RemoveFile(Concat3(' /bin/sh: -c: line 1: `RemoveFile(Concat3(lib,libname,-rev.dll.a))' make[1]: *** [cleandir] Error 2 make[1]: Leaving directory `/home/harold/x-devel/build/cross' make: *** [World] Error 2 What do you make of that? I have the latest cygwin.rules and I updated my entire tree about 10 hours ago (or a little less than that). Harold From huntharo@msu.edu Tue Oct 1 20:35:00 2002 From: huntharo@msu.edu (Harold Hunt) Date: Tue, 01 Oct 2002 20:35:00 -0000 Subject: Donations Message-ID: I have setup a Donations page on the Cygwin/XFree86 site. http://xfree86.cygwin.com/donations.html On the page is a link to contribute funds to Cygwin/XFree86 on the project-level (which I will collect and distribute to anyone needing a book or some equipment for development --- after they have become an established Cygwin/XFree86 developer). There is also a section for links to any individual contributor's web pages. Currently there is only my own link on this page: http://www.msu.edu/~huntharo/xwin/donations.htm The PayPal account that I have setup can accept credit card payments from anyone; additionally, PayPal members should be able to directly transfer funds into my PayPal account from their own account. By all means, do not feel obligated to make a donation. Also, realize that future Cygwin/XFree86 development does not depend upon the amount of donations received. Granted, it will be easier to do development when I know that my hardware upgrade costs are taken care of, but I will always be spending some amount of time tinkering with Cygwin/XFree86 regardless of the amount of donations. Think of the donations as either a way for you to give a token of your appreciation or as a way for you to influence the priority and amount of time put in to developing some feature that you would benefit from. Let the donations begin! ;) Harold P.S. One contributor has already given $25 and I thank him for that (he knows who he is). From geert.pille@vandemoortele.com Wed Oct 2 00:46:00 2002 From: geert.pille@vandemoortele.com (Pille Geert (bizvdm)) Date: Wed, 02 Oct 2002 00:46:00 -0000 Subject: RE Cygwin List posts Message-ID: <2FAEFC2A851BD211AD820008C7286BA402D7E294@NBIZ205> I have learned from a reliable source, that Harold has (repeat: HAS) a pain in the ass. Which sometimes explains a person's emotional reactions. But one must admit that Ben did not help to ease the pain. -----Original Message----- From: Jean-Claude Gervais [mailto:jc.gervais@videotron.ca] Sent: woensdag 25 september 2002 21:21 To: cygwin-xfree@cygwin.com; cygwin-xfree@cygwin.com Subject: RE: RE Cygwin List posts Having problems with your dog, Harold? ;-) -----Original Message----- From: cygwin-xfree-owner@cygwin.com [mailto:cygwin-xfree-owner@cygwin.com]On Behalf Of Harold L Hunt II Sent: Wednesday, September 25, 2002 4:16 PM To: Benjamin Simmons Cc: cygwin-xfree@cygwin.com Subject: Re: RE Cygwin List posts Ben, See, you aren't telling me what you have had success in doing. What do you mean ``They all work fine''? Does that mean that you have successfully done an XDMCP session, used ssh to display remote clients, and used telnet to display remote clients? If so, then say exactly that. I'm not just going to ``elaborate'' about the wonderful things that you can do with XDMCP and ssh --- I could write about them all day long. You have to ask a specific question about precisely what it is that you want to do. We cannot read your mind. Imagine for a moment that your dog cannot walk and that I am a vet. If you come to me and say, ``my dog has a broken leg, can you fix it?'', then I am very likely to help you. If, on the other hand, you come to me and say, ``My dog needs to [mumble mumble mumble]... can you tell me about the many things that dogs can do?'', then I'm going to kick you out of my office. Harold P.S. - This is going back on cygwin-xfree@cygwin.com because it seems to me like you are trying to waste my time since you are being vague about both your questions and your answers. Don't reply to me personally, only send your questions to cygwin-xfree@cygwin.com Benjamin Simmons wrote: >thank you sir for your reply, >at this point I would love to gain some further instruction on either option >you present. I have multiple RHLinux 7.2 boxes setup so that I can do your >first option. They all work fine. I am having the difficulty in setting up >a RH Linux 7.3 box in the same manner. > >I did the things you discuss in the guide, and any further elaboration is >greatly appreciated. > >Thank you, >Ben Simmons > >Harold L Hunt II wrote: > > > >>Ben, >> >>I have been reading the list and it looks to me like you asked the same >>question over again. Rasjid gave you the same answer that I gave you >>--- which defeats the purpose of writing a User's Guide, since I wrote >>the User's Guide to explain this very question once and for all. >> >>You say that you need to connect to multiple machines. Is that the >>specific part that you are having trouble with? Are you able to connect >>to one machine at a time, but not to multiple machines at once? If so, >>I can help you with that. >> >>Please be clear on whether you are trying to run a remote session via >>XDMCP (where you are presented by a login box and one Cygwin/XFree86 >>window is owned entirely by one remote machine) or whether you are >>trying to display remote clients via ssh (in which case you can ssh to >>multiple remote machines and have them all display X Clients in one >>Cygwin/XFree86 window - or in multiple Cygwin/XFree86 windows). >> >>Harold >> >>Benjamin Simmons wrote: >> >> >> >>>If you had ben paying attention to the list today, you would have seen >>>an excahnge between myself and Rasjid Wilcox. >>> >>>If you were paying attention to this exchange, you would have noticed >>>that he has offered further details. >>> >>>I did read through what you sent me, and found it to cover exactly what >>>I had already done. Since I had used your information, but felt that I >>>needed further details, I responded to someone that was willing to >>>provide them. >>> >>>If you are having a problem with my exchange on this topic, please feel >>>free to ignore all further posts to this message, otherwise, I would >>>like to personally thank you for your assistance. I have gotten >>>frustrated with my inability to connect the final piece of this puzzle. >>> >>>To clarify, I do work for and am a student at The University of >>>Memphis. I am currently performing research and need to access multiple >>>linux machines remotely to complete my dissertation. >>> >>>Thank you again for your help, >>>Ben Simmons >>> >>> >>> >>> >>> >>> >>> >>> >>> > > > =============================== 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 alanh@fairlite.demon.co.uk Wed Oct 2 03:14:00 2002 From: alanh@fairlite.demon.co.uk (Alan Hourihane) Date: Wed, 02 Oct 2002 03:14:00 -0000 Subject: XFree 4.2.1 + fontconfig-2 In-Reply-To: References: <20021001145839.GK25048@fairlite.demon.co.uk> Message-ID: <20021002101422.GB1631@fairlite.demon.co.uk> On Tue, Oct 01, 2002 at 08:45:00PM -0400, Harold Hunt wrote: > Alan, > > Something is definitely borken: > > make[4]: Nothing to be done for `Makefiles'. > make[4]: Leaving directory `/home/harold/x-devel/build/cross/doc/man/GLU' > make[3]: Leaving directory `/home/harold/x-devel/build/cross/doc/man' > make[2]: Leaving directory `/home/harold/x-devel/build/cross/doc' > make[1]: Leaving directory `/home/harold/x-devel/build/cross' > make -f xmakefile BOOTSTRAPSUBDIRS= clean > make[1]: Entering directory `/home/harold/x-devel/build/cross' > RemoveFile(Concat3(lib,libname,-rev.dll.a)) > /bin/sh: -c: line 1: syntax error near unexpected token > `RemoveFile(Concat3(' > /bin/sh: -c: line 1: `RemoveFile(Concat3(lib,libname,-rev.dll.a))' > make[1]: *** [cleandir] Error 2 > make[1]: Leaving directory `/home/harold/x-devel/build/cross' > make: *** [World] Error 2 > > > What do you make of that? Well, RemoveFile should have been expanded in the 'xmakefile' - regardless of the Concat3(....) stuff. Check your xmakefile and do 'touch Imakefile;make Makefile'. See if that still isn't expanding, if it isn't I'll leave for Alexander to explain as I don't have a cross compilation environment setup. It certainly doesn't happen natively. Alan. From alexander.gottwald@s1999.tu-chemnitz.de Wed Oct 2 03:39:00 2002 From: alexander.gottwald@s1999.tu-chemnitz.de (Alexander Gottwald) Date: Wed, 02 Oct 2002 03:39:00 -0000 Subject: XFree 4.2.1 + fontconfig-2 In-Reply-To: <20021001145839.GK25048@fairlite.demon.co.uk> Message-ID: On Tue, 1 Oct 2002, Alan Hourihane wrote: > > Yes, then they are probably needed, so just check for me and I'll make > the change. I've done a test run this morning. Without the ComplexProgramTarget_1 in cygwin.rules it fails in programs/bitmap with "No rule for target bitmap found" since the makefile looks like this. PROGRAMS=bitmap ... all: $(PROGRAMS) bitmap.exe: ... With ComplexProgramTarget it builds succesfully. The Makefile is similar to this: PROGRAMS=bitmap all: $(foreach prog,$(PROGRAMS),prog.exe) bitmap.exe: ... To remove the ComplexProgramTarget we either have to write all elementes of PROGRAMS as ProgramTarget(prog) or have ComplexTarget write a all:: ProgramTarget(prog) and remove the all: $(PROGRAMS) rule. bye ago -- Alexander.Gottwald@informatik.tu-chemnitz.de http://www.gotti.org ICQ: 126018723 From alanh@fairlite.demon.co.uk Wed Oct 2 03:47:00 2002 From: alanh@fairlite.demon.co.uk (Alan Hourihane) Date: Wed, 02 Oct 2002 03:47:00 -0000 Subject: XFree 4.2.1 + fontconfig-2 In-Reply-To: References: <20021001145839.GK25048@fairlite.demon.co.uk> Message-ID: <20021002104658.GD1631@fairlite.demon.co.uk> On Wed, Oct 02, 2002 at 12:39:04PM +0200, Alexander Gottwald wrote: > On Tue, 1 Oct 2002, Alan Hourihane wrote: > > > > > Yes, then they are probably needed, so just check for me and I'll make > > the change. > > I've done a test run this morning. Without the ComplexProgramTarget_1 in > cygwin.rules it fails in programs/bitmap with "No rule for target bitmap found" > since the makefile looks like this. > PROGRAMS=bitmap ... > all: $(PROGRAMS) > bitmap.exe: ... > > With ComplexProgramTarget it builds succesfully. The Makefile is similar to this: > PROGRAMS=bitmap > all: $(foreach prog,$(PROGRAMS),prog.exe) > bitmap.exe: ... Then I'll put the #if CrossCompile in for this rule only. Thanks Alexander. Alan. From huntharo@msu.edu Wed Oct 2 07:59:00 2002 From: huntharo@msu.edu (Harold L Hunt II) Date: Wed, 02 Oct 2002 07:59:00 -0000 Subject: RE Cygwin List posts References: <2FAEFC2A851BD211AD820008C7286BA402D7E294@NBIZ205> Message-ID: <3D9B099D.5040803@msu.edu> Geert, I don't know what you are trying to say here. My response to Jean-Claude was light-hearted (I said my dog was fine): http://cygwin.com/ml/cygwin-xfree/2002-09/msg00279.html Ben responded to me throwing my hands in the air with a much more detailed account of his situation (notice that the message subject changed back to RH 7.3 from our off-list subject of Cygwin List Posts): http://cygwin.com/ml/cygwin-xfree/2002-09/msg00280.html I then responded with some information that was probably helpful: http://cygwin.com/ml/cygwin-xfree/2002-09/msg00281.html After that there was no response, so I can only assume that the 1024x768x65535 was causing the problem (or his RedHat machine was not in runlevel 5). So Geert, I have misunderstood your postings before... what have I misunderstood this time? Harold Pille Geert (bizvdm) wrote: > I have learned from a reliable source, that Harold has (repeat: HAS) a pain > in the ass. Which sometimes explains a person's emotional reactions. But > one must admit that Ben did not help to ease the pain. > > -----Original Message----- > From: Jean-Claude Gervais [mailto:jc.gervais@videotron.ca] > Sent: woensdag 25 september 2002 21:21 > To: cygwin-xfree@cygwin.com; cygwin-xfree@cygwin.com > Subject: RE: RE Cygwin List posts > > > Having problems with your dog, Harold? ;-) > > -----Original Message----- > From: cygwin-xfree-owner@cygwin.com [mailto:cygwin-xfree-owner@cygwin.com]On > Behalf Of Harold L Hunt II > Sent: Wednesday, September 25, 2002 4:16 PM > To: Benjamin Simmons > Cc: cygwin-xfree@cygwin.com > Subject: Re: RE Cygwin List posts > > Ben, > > See, you aren't telling me what you have had success in doing. What do > you mean ``They all work fine''? Does that mean that you have > successfully done an XDMCP session, used ssh to display remote clients, > and used telnet to display remote clients? If so, then say exactly that. > > I'm not just going to ``elaborate'' about the wonderful things that you > can do with XDMCP and ssh --- I could write about them all day long. > You have to ask a specific question about precisely what it is that you > want to do. We cannot read your mind. Imagine for a moment that your > dog cannot walk and that I am a vet. If you come to me and say, ``my > dog has a broken leg, can you fix it?'', then I am very likely to help > you. If, on the other hand, you come to me and say, ``My dog needs to > [mumble mumble mumble]... can you tell me about the many things that > dogs can do?'', then I'm going to kick you out of my office. > > Harold > > P.S. - This is going back on cygwin-xfree@cygwin.com because it seems to > me like you are trying to waste my time since you are being vague about > both your questions and your answers. Don't reply to me personally, > only send your questions to cygwin-xfree@cygwin.com > > Benjamin Simmons wrote: > > >>thank you sir for your reply, >>at this point I would love to gain some further instruction on either > > option > >>you present. I have multiple RHLinux 7.2 boxes setup so that I can do your >>first option. They all work fine. I am having the difficulty in setting > > up > >>a RH Linux 7.3 box in the same manner. >> >>I did the things you discuss in the guide, and any further elaboration is >>greatly appreciated. >> >>Thank you, >>Ben Simmons >> >>Harold L Hunt II wrote: >> >> >> >> >>>Ben, >>> >>>I have been reading the list and it looks to me like you asked the same >>>question over again. Rasjid gave you the same answer that I gave you >>>--- which defeats the purpose of writing a User's Guide, since I wrote >>>the User's Guide to explain this very question once and for all. >>> >>>You say that you need to connect to multiple machines. Is that the >>>specific part that you are having trouble with? Are you able to connect >>>to one machine at a time, but not to multiple machines at once? If so, >>>I can help you with that. >>> >>>Please be clear on whether you are trying to run a remote session via >>>XDMCP (where you are presented by a login box and one Cygwin/XFree86 >>>window is owned entirely by one remote machine) or whether you are >>>trying to display remote clients via ssh (in which case you can ssh to >>>multiple remote machines and have them all display X Clients in one >>>Cygwin/XFree86 window - or in multiple Cygwin/XFree86 windows). >>> >>>Harold >>> >>>Benjamin Simmons wrote: >>> >>> >>> >>> >>>>If you had ben paying attention to the list today, you would have seen >>>>an excahnge between myself and Rasjid Wilcox. >>>> >>>>If you were paying attention to this exchange, you would have noticed >>>>that he has offered further details. >>>> >>>>I did read through what you sent me, and found it to cover exactly what >>>>I had already done. Since I had used your information, but felt that I >>>>needed further details, I responded to someone that was willing to >>>>provide them. >>>> >>>>If you are having a problem with my exchange on this topic, please feel >>>>free to ignore all further posts to this message, otherwise, I would >>>>like to personally thank you for your assistance. I have gotten >>>>frustrated with my inability to connect the final piece of this puzzle. >>>> >>>>To clarify, I do work for and am a student at The University of >>>>Memphis. I am currently performing research and need to access multiple >>>>linux machines remotely to complete my dissertation. >>>> >>>>Thank you again for your help, >>>>Ben Simmons >>>> >>>> >>>> >>>> >>>> >>>> >>>> >>>> >>>> >>> >> >> > > > > =============================== > 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 huntharo@msu.edu Wed Oct 2 08:02:00 2002 From: huntharo@msu.edu (Harold L Hunt II) Date: Wed, 02 Oct 2002 08:02:00 -0000 Subject: XFree 4.2.1 + fontconfig-2 References: <20021001145839.GK25048@fairlite.demon.co.uk> <20021002101422.GB1631@fairlite.demon.co.uk> Message-ID: <3D9B0A51.4090503@msu.edu> Alan, Everytime I a build check I do something like the following: cd ../ [from foo/xc] cd build mkdir std cd std lndir ../../xc > /dev/null make CROSSCOMPILEDIR="/cygwin/bin" World > World.log 2>&1 Thus, I know for sure that any built file is being rebuilt :) Next idea? Harold Alan Hourihane wrote: > On Tue, Oct 01, 2002 at 08:45:00PM -0400, Harold Hunt wrote: > >>Alan, >> >>Something is definitely borken: >> >>make[4]: Nothing to be done for `Makefiles'. >>make[4]: Leaving directory `/home/harold/x-devel/build/cross/doc/man/GLU' >>make[3]: Leaving directory `/home/harold/x-devel/build/cross/doc/man' >>make[2]: Leaving directory `/home/harold/x-devel/build/cross/doc' >>make[1]: Leaving directory `/home/harold/x-devel/build/cross' >>make -f xmakefile BOOTSTRAPSUBDIRS= clean >>make[1]: Entering directory `/home/harold/x-devel/build/cross' >>RemoveFile(Concat3(lib,libname,-rev.dll.a)) >>/bin/sh: -c: line 1: syntax error near unexpected token >>`RemoveFile(Concat3(' >>/bin/sh: -c: line 1: `RemoveFile(Concat3(lib,libname,-rev.dll.a))' >>make[1]: *** [cleandir] Error 2 >>make[1]: Leaving directory `/home/harold/x-devel/build/cross' >>make: *** [World] Error 2 >> >> >>What do you make of that? > > > Well, RemoveFile should have been expanded in the 'xmakefile' - regardless > of the Concat3(....) stuff. > > Check your xmakefile and do 'touch Imakefile;make Makefile'. > > See if that still isn't expanding, if it isn't I'll leave for Alexander > to explain as I don't have a cross compilation environment setup. > > It certainly doesn't happen natively. > > Alan. From alanh@fairlite.demon.co.uk Wed Oct 2 08:12:00 2002 From: alanh@fairlite.demon.co.uk (Alan Hourihane) Date: Wed, 02 Oct 2002 08:12:00 -0000 Subject: XFree 4.2.1 + fontconfig-2 In-Reply-To: <3D9B0A51.4090503@msu.edu> References: <20021001145839.GK25048@fairlite.demon.co.uk> <20021002101422.GB1631@fairlite.demon.co.uk> <3D9B0A51.4090503@msu.edu> Message-ID: <20021002151213.GG1631@fairlite.demon.co.uk> On Wed, Oct 02, 2002 at 11:01:37AM -0400, Harold L Hunt II wrote: > Alan, > > Everytime I a build check I do something like the following: > > cd ../ [from foo/xc] > cd build > mkdir std > cd std > lndir ../../xc > /dev/null > make CROSSCOMPILEDIR="/cygwin/bin" World > World.log 2>&1 > > > Thus, I know for sure that any built file is being rebuilt :) > > Next idea? None. Like I said, I don't have a cross compile environment and it works fine natively. Alexander - any ideas ? Alan. From alexander.gottwald@s1999.tu-chemnitz.de Wed Oct 2 08:23:00 2002 From: alexander.gottwald@s1999.tu-chemnitz.de (Alexander Gottwald) Date: Wed, 02 Oct 2002 08:23:00 -0000 Subject: XFree 4.2.1 + fontconfig-2 In-Reply-To: Message-ID: On Tue, 1 Oct 2002, Harold Hunt wrote: > Alan, > > Something is definitely borken: > > make[4]: Nothing to be done for `Makefiles'. > make[4]: Leaving directory `/home/harold/x-devel/build/cross/doc/man/GLU' > make[3]: Leaving directory `/home/harold/x-devel/build/cross/doc/man' > make[2]: Leaving directory `/home/harold/x-devel/build/cross/doc' > make[1]: Leaving directory `/home/harold/x-devel/build/cross' > make -f xmakefile BOOTSTRAPSUBDIRS= clean > make[1]: Entering directory `/home/harold/x-devel/build/cross' > RemoveFile(Concat3(lib,libname,-rev.dll.a)) > /bin/sh: -c: line 1: syntax error near unexpected token > `RemoveFile(Concat3(' > /bin/sh: -c: line 1: `RemoveFile(Concat3(lib,libname,-rev.dll.a))' Is this from xc/Imakefile? Can you please post 10 lines above and below the RemoveFile in the Makefile. Maybe I can get a clue where it is coming from. bye ago -- Alexander.Gottwald@informatik.tu-chemnitz.de http://www.gotti.org ICQ: 126018723 From huntharo@msu.edu Wed Oct 2 08:30:00 2002 From: huntharo@msu.edu (Harold L Hunt II) Date: Wed, 02 Oct 2002 08:30:00 -0000 Subject: XFree 4.2.1 + fontconfig-2 References: Message-ID: <3D9B10EF.4050105@msu.edu> Alexander, > Is this from xc/Imakefile? Can you please post 10 lines above and below the > RemoveFile in the Makefile. Maybe I can get a clue where it is coming from. Actually, I think it is from xc/xmakefile, since the Makefile is static. I will do one better than posting a few lines: http://www.msu.edu/~huntharo/xwin/xmakefile.bz2 However, below are the first few lines of the xmakefile... which contain the Concat3 call. Harold # Makefile generated by imake - do not edit! # $Xorg: imake.c,v 1.6 2001/02/09 02:03:15 xorgcvs Exp $ # ---------------------------------------------------------------------- # Makefile generated from "Imake.tmpl" and # $Xorg: Imake.tmpl,v 1.4 2000/08/17 19:41:46 cpqbld Exp $ # # # # # $XFree86: xc/config/cf/Imake.tmpl,v 3.129 2002/09/16 18:05:12 eich Exp $ # ---------------------------------------------------------------------- all:: .SUFFIXES: .i # $Xorg: Imake.cf,v 1.4 2000/08/17 19:41:45 cpqbld Exp $ # $XFree86: xc/config/cf/Imake.cf,v 3.78 2002/08/06 13:32:08 herrb Exp $ # ----------------------------------------------------------------------- # site-specific configuration parameters that need to come before # the platform-specific parameters - edit site.def to change # site: $TOG: site.sample /main/r64_final/1 1998/02/05 16:28:49 kaleb $ # site: $XFree86: xc/config/cf/site.def,v 3.25 2002/02/27 00:51:12 dawes Exp $ # $XFree86: xc/config/cf/xf86site.def,v 3.181 2002/02/22 21:32:33 dawes Exp $ # ---------------------------------------------------------------------- # platform-specific configuration parameters - edit cygwin.cf to change # platform: $XFree86: xc/config/cf/cygwin.cf,v 3.45 2002/10/01 14:31:36 alanh Exp $ # $XFree86: xc/config/cf/cygwin.rules,v 3.20 2002/10/01 14:31:36 alanh Exp $ Concat3(cyg,libname,-$(shell echo rev|sed s=\\..*==).dll): deplist libname.def RemoveFile(Concat3(lib,libname,-$(shell echo rev|sed s=\\..*==).dll.a)) RemoveFile(Concat3(cyg,libname,-$(shell echo rev|sed s=\\..*==).dll)) MakeCplusplusDLL(libname,solist,rev) LinkBuildLibrary(Concat3(lib,libname,-$(shell echo rev|sed s=\\..*==).dll.a)) LinkImportLibrary(Concat3(lib,libname,-$(shell echo rev|sed s=\\..*==).dll.a),LibraryTargetName(libname)) LinkBuildDLL(Concat3(cyg,libname,-$(shell echo rev|sed s=\\..*==).dll)) cleandir:: RemoveFile(Concat3(lib,libname,-$(shell echo rev|sed s=\\..*==).dll.a)) RemoveFile(Concat3(cyg,libname,-$(shell echo rev|sed s=\\..*==).dll)) # $XFree86: xc/config/cf/xfree86.cf,v 3.407 2002/09/24 02:55:00 tsi Exp $ # $Xorg: xfree86.cf,v 1.4 2000/08/17 19:41:49 cpqbld Exp $ DRIVERSDKDIR = $(USRLIBDIR)/Server DRIVERSDKMODULEDIR = $(USRLIBDIR)/Server/modules DRIVERSDKINCLUDEDIR = $(USRLIBDIR)/Server/include From frank.l.lane@boeing.com Wed Oct 2 09:04:00 2002 From: frank.l.lane@boeing.com (Lane, Frank L) Date: Wed, 02 Oct 2002 09:04:00 -0000 Subject: How do you gentleuser's start your X stuff? Message-ID: <3B2480653E7D2C4E8AA5699598D691C423005C@xch-se-03.se.nos.boeing.com> Hello again, I'm managing to take a couple of steps a day. One thing I stumbled across the other day is the startx command. I use this to work. I've noticed that my windows are not resizable and do not have scrollbars. Is there a better way to kickoff X? Second question, as I'm interested in learning everything I can about X, I'm trying to write some beginner programs. When I compile using gcc I get a message about unresolved calls to _XSimpleWindow and some other functions. I've tried including -L/usr/X11R6/bin/libX11.dll but that doesn't help. Any suggestions? Is there anyway I can see if the function xsimplewindow is in the libX11.dll or what files exist in what dll's? Thanks, Frank From alexander.gottwald@s1999.tu-chemnitz.de Wed Oct 2 09:11:00 2002 From: alexander.gottwald@s1999.tu-chemnitz.de (Alexander Gottwald) Date: Wed, 02 Oct 2002 09:11:00 -0000 Subject: XFree 4.2.1 + fontconfig-2 In-Reply-To: <3D9B10EF.4050105@msu.edu> Message-ID: On Wed, 2 Oct 2002, Harold L Hunt II wrote: > > # platform: $XFree86: xc/config/cf/cygwin.cf,v 3.45 2002/10/01 14:31:36 > alanh Exp $ > > # $XFree86: xc/config/cf/cygwin.rules,v 3.20 2002/10/01 14:31:36 alanh Exp $ > > Concat3(cyg,libname,-$(shell echo rev|sed s=\\..*==).dll): deplist > libname.def > RemoveFile(Concat3(lib,libname,-$(shell echo rev|sed s=\\..*==).dll.a)) > RemoveFile(Concat3(cyg,libname,-$(shell echo rev|sed s=\\..*==).dll)) > MakeCplusplusDLL(libname,solist,rev) > LinkBuildLibrary(Concat3(lib,libname,-$(shell echo rev|sed > s=\\..*==).dll.a)) > LinkImportLibrary(Concat3(lib,libname,-$(shell echo rev|sed > s=\\..*==).dll.a),LibraryTargetName(libname)) > LinkBuildDLL(Concat3(cyg,libname,-$(shell echo rev|sed s=\\..*==).dll)) > > cleandir:: > RemoveFile(Concat3(lib,libname,-$(shell echo rev|sed s=\\..*==).dll.a)) > RemoveFile(Concat3(cyg,libname,-$(shell echo rev|sed s=\\..*==).dll)) > > # $XFree86: xc/config/cf/xfree86.cf,v 3.407 2002/09/24 02:55:00 tsi Exp $ > > # $Xorg: xfree86.cf,v 1.4 2000/08/17 19:41:49 cpqbld Exp $ Hm, The reference was added in cygwin.rules. The expanded macro was SharedDepCplusplusLibraryTarget. But the version in CVS has only one line with SharedDepCplusplusLibraryTarget. Maybe you're checked out version is garbled? Can you create the xmakefile with line information? imake -v should print the cpp command and adding -dN -dI and removing -P from that commandline should create an xmakefile with all line info and all defines in it. bye ago -- Alexander.Gottwald@informatik.tu-chemnitz.de http://www.gotti.org ICQ: 126018723 From alexander.gottwald@s1999.tu-chemnitz.de Wed Oct 2 09:13:00 2002 From: alexander.gottwald@s1999.tu-chemnitz.de (Alexander Gottwald) Date: Wed, 02 Oct 2002 09:13:00 -0000 Subject: How do you gentleuser's start your X stuff? In-Reply-To: <3B2480653E7D2C4E8AA5699598D691C423005C@xch-se-03.se.nos.boeing.com> Message-ID: On Wed, 2 Oct 2002, Lane, Frank L wrote: > Second question, as I'm interested in learning everything I can about X, I'm > trying to write some beginner programs. When I compile using gcc I get a > message about unresolved calls to _XSimpleWindow and some other functions. > I've tried including -L/usr/X11R6/bin/libX11.dll but that doesn't help. Any > suggestions? Is there anyway I can see if the function xsimplewindow is in > the libX11.dll or what files exist in what dll's? bye ago -- Alexander.Gottwald@informatik.tu-chemnitz.de http://www.gotti.org ICQ: 126018723 From frank.l.lane@boeing.com Wed Oct 2 09:19:00 2002 From: frank.l.lane@boeing.com (Lane, Frank L) Date: Wed, 02 Oct 2002 09:19:00 -0000 Subject: How do you gentleuser's start your X stuff? Message-ID: <3B2480653E7D2C4E8AA5699598D691C423005E@xch-se-03.se.nos.boeing.com> OK. If my questions about xfree aren't welcome on this list where should I go to ask them? Also, the fact that new user questions aren't welcome here is not obvious from the project page description. Thanks, Frank -----Original Message----- From: Alexander Gottwald [mailto:alexander.gottwald@s1999.tu-chemnitz.de] Sent: Wednesday, October 02, 2002 11:13 AM To: 'cygwin-xfree@cygwin.com' Subject: Re: How do you gentleuser's start your X stuff? On Wed, 2 Oct 2002, Lane, Frank L wrote: > Second question, as I'm interested in learning everything I can about X, I'm > trying to write some beginner programs. When I compile using gcc I get a > message about unresolved calls to _XSimpleWindow and some other functions. > I've tried including -L/usr/X11R6/bin/libX11.dll but that doesn't help. Any > suggestions? Is there anyway I can see if the function xsimplewindow is in > the libX11.dll or what files exist in what dll's? bye ago -- Alexander.Gottwald@informatik.tu-chemnitz.de http://www.gotti.org ICQ: 126018723 From jc.gervais@videotron.ca Wed Oct 2 09:20:00 2002 From: jc.gervais@videotron.ca (Jean-Claude Gervais) Date: Wed, 02 Oct 2002 09:20:00 -0000 Subject: RE Cygwin List posts In-Reply-To: <3D9B099D.5040803@msu.edu> Message-ID: As long as we are at it, I want to know what color your dog is. Also, I am glad Pookie is feeling better. Geert had mentioned something about Pookie's posterior being hurt. -----Original Message----- From: cygwin-xfree-owner@cygwin.com [mailto:cygwin-xfree-owner@cygwin.com]On Behalf Of Harold L Hunt II Sent: Wednesday, October 02, 2002 10:59 AM To: cygwin-xfree@cygwin.com Subject: Re: RE Cygwin List posts Geert, I don't know what you are trying to say here. My response to Jean-Claude was light-hearted (I said my dog was fine): http://cygwin.com/ml/cygwin-xfree/2002-09/msg00279.html Ben responded to me throwing my hands in the air with a much more detailed account of his situation (notice that the message subject changed back to RH 7.3 from our off-list subject of Cygwin List Posts): http://cygwin.com/ml/cygwin-xfree/2002-09/msg00280.html I then responded with some information that was probably helpful: http://cygwin.com/ml/cygwin-xfree/2002-09/msg00281.html After that there was no response, so I can only assume that the 1024x768x65535 was causing the problem (or his RedHat machine was not in runlevel 5). So Geert, I have misunderstood your postings before... what have I misunderstood this time? Harold Pille Geert (bizvdm) wrote: > I have learned from a reliable source, that Harold has (repeat: HAS) a pain > in the ass. Which sometimes explains a person's emotional reactions. But > one must admit that Ben did not help to ease the pain. > > -----Original Message----- > From: Jean-Claude Gervais [mailto:jc.gervais@videotron.ca] > Sent: woensdag 25 september 2002 21:21 > To: cygwin-xfree@cygwin.com; cygwin-xfree@cygwin.com > Subject: RE: RE Cygwin List posts > > > Having problems with your dog, Harold? ;-) > > -----Original Message----- > From: cygwin-xfree-owner@cygwin.com [mailto:cygwin-xfree-owner@cygwin.com]On > Behalf Of Harold L Hunt II > Sent: Wednesday, September 25, 2002 4:16 PM > To: Benjamin Simmons > Cc: cygwin-xfree@cygwin.com > Subject: Re: RE Cygwin List posts > > Ben, > > See, you aren't telling me what you have had success in doing. What do > you mean ``They all work fine''? Does that mean that you have > successfully done an XDMCP session, used ssh to display remote clients, > and used telnet to display remote clients? If so, then say exactly that. > > I'm not just going to ``elaborate'' about the wonderful things that you > can do with XDMCP and ssh --- I could write about them all day long. > You have to ask a specific question about precisely what it is that you > want to do. We cannot read your mind. Imagine for a moment that your > dog cannot walk and that I am a vet. If you come to me and say, ``my > dog has a broken leg, can you fix it?'', then I am very likely to help > you. If, on the other hand, you come to me and say, ``My dog needs to > [mumble mumble mumble]... can you tell me about the many things that > dogs can do?'', then I'm going to kick you out of my office. > > Harold > > P.S. - This is going back on cygwin-xfree@cygwin.com because it seems to > me like you are trying to waste my time since you are being vague about > both your questions and your answers. Don't reply to me personally, > only send your questions to cygwin-xfree@cygwin.com > > Benjamin Simmons wrote: > > >>thank you sir for your reply, >>at this point I would love to gain some further instruction on either > > option > >>you present. I have multiple RHLinux 7.2 boxes setup so that I can do your >>first option. They all work fine. I am having the difficulty in setting > > up > >>a RH Linux 7.3 box in the same manner. >> >>I did the things you discuss in the guide, and any further elaboration is >>greatly appreciated. >> >>Thank you, >>Ben Simmons >> >>Harold L Hunt II wrote: >> >> >> >> >>>Ben, >>> >>>I have been reading the list and it looks to me like you asked the same >>>question over again. Rasjid gave you the same answer that I gave you >>>--- which defeats the purpose of writing a User's Guide, since I wrote >>>the User's Guide to explain this very question once and for all. >>> >>>You say that you need to connect to multiple machines. Is that the >>>specific part that you are having trouble with? Are you able to connect >>>to one machine at a time, but not to multiple machines at once? If so, >>>I can help you with that. >>> >>>Please be clear on whether you are trying to run a remote session via >>>XDMCP (where you are presented by a login box and one Cygwin/XFree86 >>>window is owned entirely by one remote machine) or whether you are >>>trying to display remote clients via ssh (in which case you can ssh to >>>multiple remote machines and have them all display X Clients in one >>>Cygwin/XFree86 window - or in multiple Cygwin/XFree86 windows). >>> >>>Harold >>> >>>Benjamin Simmons wrote: >>> >>> >>> >>> >>>>If you had ben paying attention to the list today, you would have seen >>>>an excahnge between myself and Rasjid Wilcox. >>>> >>>>If you were paying attention to this exchange, you would have noticed >>>>that he has offered further details. >>>> >>>>I did read through what you sent me, and found it to cover exactly what >>>>I had already done. Since I had used your information, but felt that I >>>>needed further details, I responded to someone that was willing to >>>>provide them. >>>> >>>>If you are having a problem with my exchange on this topic, please feel >>>>free to ignore all further posts to this message, otherwise, I would >>>>like to personally thank you for your assistance. I have gotten >>>>frustrated with my inability to connect the final piece of this puzzle. >>>> >>>>To clarify, I do work for and am a student at The University of >>>>Memphis. I am currently performing research and need to access multiple >>>>linux machines remotely to complete my dissertation. >>>> >>>>Thank you again for your help, >>>>Ben Simmons >>>> >>>> >>>> >>>> >>>> >>>> >>>> >>>> >>>> >>> >> >> > > > > =============================== > 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 huntharo@msu.edu Wed Oct 2 09:22:00 2002 From: huntharo@msu.edu (Harold L Hunt II) Date: Wed, 02 Oct 2002 09:22:00 -0000 Subject: How do you gentleuser's start your X stuff? References: <3B2480653E7D2C4E8AA5699598D691C423005E@xch-se-03.se.nos.boeing.com> Message-ID: <3D9B1D18.4080702@msu.edu> Frank, I think Alexander probably hit the send button before he was finished writing a reply (or, in this case, before he even started). He signs all of his emails with ``bye [return] ago'', so I am guessing that he has this in a signature file that automatically gets added to the end of the emails that he writes. The ``bye'' is because he is a native German speaker and lots of Germans use ``bye'' as their closing... that is just a cultural thing. You should hear them speak it... they say it very politely, not curtly like it may seem in email. Anyway, your questions are valid here, just wait until someone answers them. Harold Lane, Frank L wrote: > OK. If my questions about xfree aren't welcome on this list where should I > go to ask them? > > Also, the fact that new user questions aren't welcome here is not obvious > from the project page description. > > Thanks, > Frank > > -----Original Message----- > From: Alexander Gottwald > [mailto:alexander.gottwald@s1999.tu-chemnitz.de] > Sent: Wednesday, October 02, 2002 11:13 AM > To: 'cygwin-xfree@cygwin.com' > Subject: Re: How do you gentleuser's start your X stuff? > > > On Wed, 2 Oct 2002, Lane, Frank L wrote: > > >>Second question, as I'm interested in learning everything I can about X, > > I'm > >>trying to write some beginner programs. When I compile using gcc I get a >>message about unresolved calls to _XSimpleWindow and some other functions. >>I've tried including -L/usr/X11R6/bin/libX11.dll but that doesn't help. > > Any > >>suggestions? Is there anyway I can see if the function xsimplewindow is > > in > >>the libX11.dll or what files exist in what dll's? > > > bye > ago From alexander.gottwald@s1999.tu-chemnitz.de Wed Oct 2 09:22:00 2002 From: alexander.gottwald@s1999.tu-chemnitz.de (Alexander Gottwald) Date: Wed, 02 Oct 2002 09:22:00 -0000 Subject: How do you gentleuser's start your X stuff? In-Reply-To: <3B2480653E7D2C4E8AA5699598D691C423005E@xch-se-03.se.nos.boeing.com> Message-ID: On Wed, 2 Oct 2002, Lane, Frank L wrote: > OK. If my questions about xfree aren't welcome on this list where should I > go to ask them? Oops. Sorry. The editor must have eaten some lines. So I try again: Use -L/usr/X11R6/lib -lX11. Sorry, ago -- Alexander.Gottwald@informatik.tu-chemnitz.de http://www.gotti.org ICQ: 126018723 From march@indirect.com Wed Oct 2 09:23:00 2002 From: march@indirect.com (Michael F. March) Date: Wed, 02 Oct 2002 09:23:00 -0000 Subject: Rootless Mode is an Important and Needed Feature References: <3D94B320.8090309@msu.edu> Message-ID: <3D9B1D67.5010309@indirect.com> Harold L Hunt II wrote: > Good point Alexander. > > On a side note: Why is it that XDarwin has so many people contributing > code and features (they seem to have an OpenGL-passthrough system now, > which is pretty amazing), while Cygwin/XFree86 has so few > contributors? This seems contradictory because Windows is on 95% of > desktops while Mac OS X is only on < 1% (~20% of Apple's 5% market > share are running Mac OS X). > > That question will probably always baffle me. Up until the past year or so, porting to Cygwin was a little more difficult than porting application to OSX. Don't forget, the Cygwin folks have had to write more of the layers of the *NIX environment whereas the OSX folks have a nice (and complete) *NIX environment handed to them on a plate. I have been using Cygwin for years now and I would say the momentum, user base, and usability is definitely increasing. From huntharo@msu.edu Wed Oct 2 09:26:00 2002 From: huntharo@msu.edu (Harold L Hunt II) Date: Wed, 02 Oct 2002 09:26:00 -0000 Subject: RE Cygwin List posts References: Message-ID: <3D9B1DFB.807@msu.edu> Heh... Pookie is a golden retriever, but she lives with my parents so I only get to see her once every month or two :( Harold Jean-Claude Gervais wrote: > As long as we are at it, I want to know what color your dog is. > Also, I am glad Pookie is feeling better. Geert had mentioned something > about Pookie's posterior being hurt. > > > -----Original Message----- > From: cygwin-xfree-owner@cygwin.com [mailto:cygwin-xfree-owner@cygwin.com]On > Behalf Of Harold L Hunt II > Sent: Wednesday, October 02, 2002 10:59 AM > To: cygwin-xfree@cygwin.com > Subject: Re: RE Cygwin List posts > > Geert, > > I don't know what you are trying to say here. > > My response to Jean-Claude was light-hearted (I said my dog was fine): > http://cygwin.com/ml/cygwin-xfree/2002-09/msg00279.html > > Ben responded to me throwing my hands in the air with a much more > detailed account of his situation (notice that the message subject > changed back to RH 7.3 from our off-list subject of Cygwin List Posts): > http://cygwin.com/ml/cygwin-xfree/2002-09/msg00280.html > > I then responded with some information that was probably helpful: > http://cygwin.com/ml/cygwin-xfree/2002-09/msg00281.html > > After that there was no response, so I can only assume that the > 1024x768x65535 was causing the problem (or his RedHat machine was not in > runlevel 5). > > > So Geert, I have misunderstood your postings before... what have I > misunderstood this time? > > > Harold > > Pille Geert (bizvdm) wrote: > >>I have learned from a reliable source, that Harold has (repeat: HAS) a > > pain > >>in the ass. Which sometimes explains a person's emotional reactions. But >>one must admit that Ben did not help to ease the pain. >> >>-----Original Message----- >>From: Jean-Claude Gervais [mailto:jc.gervais@videotron.ca] >>Sent: woensdag 25 september 2002 21:21 >>To: cygwin-xfree@cygwin.com; cygwin-xfree@cygwin.com >>Subject: RE: RE Cygwin List posts >> >> >>Having problems with your dog, Harold? ;-) >> >>-----Original Message----- >>From: cygwin-xfree-owner@cygwin.com > > [mailto:cygwin-xfree-owner@cygwin.com]On > >>Behalf Of Harold L Hunt II >>Sent: Wednesday, September 25, 2002 4:16 PM >>To: Benjamin Simmons >>Cc: cygwin-xfree@cygwin.com >>Subject: Re: RE Cygwin List posts >> >>Ben, >> >>See, you aren't telling me what you have had success in doing. What do >>you mean ``They all work fine''? Does that mean that you have >>successfully done an XDMCP session, used ssh to display remote clients, >>and used telnet to display remote clients? If so, then say exactly that. >> >>I'm not just going to ``elaborate'' about the wonderful things that you >>can do with XDMCP and ssh --- I could write about them all day long. >> You have to ask a specific question about precisely what it is that you >>want to do. We cannot read your mind. Imagine for a moment that your >>dog cannot walk and that I am a vet. If you come to me and say, ``my >>dog has a broken leg, can you fix it?'', then I am very likely to help >>you. If, on the other hand, you come to me and say, ``My dog needs to >>[mumble mumble mumble]... can you tell me about the many things that >>dogs can do?'', then I'm going to kick you out of my office. >> >>Harold >> >>P.S. - This is going back on cygwin-xfree@cygwin.com because it seems to >>me like you are trying to waste my time since you are being vague about >>both your questions and your answers. Don't reply to me personally, >>only send your questions to cygwin-xfree@cygwin.com >> >>Benjamin Simmons wrote: >> >> >> >>>thank you sir for your reply, >>>at this point I would love to gain some further instruction on either >> >>option >> >> >>>you present. I have multiple RHLinux 7.2 boxes setup so that I can do >> > your > >>>first option. They all work fine. I am having the difficulty in setting >> >>up >> >> >>>a RH Linux 7.3 box in the same manner. >>> >>>I did the things you discuss in the guide, and any further elaboration is >>>greatly appreciated. >>> >>>Thank you, >>>Ben Simmons >>> >>>Harold L Hunt II wrote: >>> >>> >>> >>> >>> >>>>Ben, >>>> >>>>I have been reading the list and it looks to me like you asked the same >>>>question over again. Rasjid gave you the same answer that I gave you >>>>--- which defeats the purpose of writing a User's Guide, since I wrote >>>>the User's Guide to explain this very question once and for all. >>>> >>>>You say that you need to connect to multiple machines. Is that the >>>>specific part that you are having trouble with? Are you able to connect >>>>to one machine at a time, but not to multiple machines at once? If so, >>>>I can help you with that. >>>> >>>>Please be clear on whether you are trying to run a remote session via >>>>XDMCP (where you are presented by a login box and one Cygwin/XFree86 >>>>window is owned entirely by one remote machine) or whether you are >>>>trying to display remote clients via ssh (in which case you can ssh to >>>>multiple remote machines and have them all display X Clients in one >>>>Cygwin/XFree86 window - or in multiple Cygwin/XFree86 windows). >>>> >>>>Harold >>>> >>>>Benjamin Simmons wrote: >>>> >>>> >>>> >>>> >>>> >>>>>If you had ben paying attention to the list today, you would have seen >>>>>an excahnge between myself and Rasjid Wilcox. >>>>> >>>>>If you were paying attention to this exchange, you would have noticed >>>>>that he has offered further details. >>>>> >>>>>I did read through what you sent me, and found it to cover exactly what >>>>>I had already done. Since I had used your information, but felt that I >>>>>needed further details, I responded to someone that was willing to >>>>>provide them. >>>>> >>>>>If you are having a problem with my exchange on this topic, please feel >>>>>free to ignore all further posts to this message, otherwise, I would >>>>>like to personally thank you for your assistance. I have gotten >>>>>frustrated with my inability to connect the final piece of this puzzle. >>>>> >>>>>To clarify, I do work for and am a student at The University of >>>>>Memphis. I am currently performing research and need to access multiple >>>>>linux machines remotely to complete my dissertation. >>>>> >>>>>Thank you again for your help, >>>>>Ben Simmons >>>>> >>>>> >>>>> >>>>> >>>>> >>>>> >>>>> >>>>> >>>>> >>>> >>> >> >> >>=============================== >>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 jc.gervais@videotron.ca Wed Oct 2 09:32:00 2002 From: jc.gervais@videotron.ca (Jean-Claude Gervais) Date: Wed, 02 Oct 2002 09:32:00 -0000 Subject: How do you gentleuser's start your X stuff? In-Reply-To: <3B2480653E7D2C4E8AA5699598D691C423005E@xch-se-03.se.nos.boeing.com> Message-ID: Hi Frank, This list is really all about the Cygwin implementation of X and issues concerning that. If you have generic questions about X development, www.x.org might be a place to start. The comp.windows.x newsgroup might have some people on it that could help you. As an aside, your question about linking X calls to your cygwin app does seem legit to me, but I cannot answer it. Sorry. -----Original Message----- From: cygwin-xfree-owner@cygwin.com [mailto:cygwin-xfree-owner@cygwin.com]On Behalf Of Lane, Frank L Sent: Wednesday, October 02, 2002 12:19 PM To: 'cygwin-xfree@cygwin.com' Subject: RE: How do you gentleuser's start your X stuff? OK. If my questions about xfree aren't welcome on this list where should I go to ask them? Also, the fact that new user questions aren't welcome here is not obvious from the project page description. Thanks, Frank -----Original Message----- From: Alexander Gottwald [mailto:alexander.gottwald@s1999.tu-chemnitz.de] Sent: Wednesday, October 02, 2002 11:13 AM To: 'cygwin-xfree@cygwin.com' Subject: Re: How do you gentleuser's start your X stuff? On Wed, 2 Oct 2002, Lane, Frank L wrote: > Second question, as I'm interested in learning everything I can about X, I'm > trying to write some beginner programs. When I compile using gcc I get a > message about unresolved calls to _XSimpleWindow and some other functions. > I've tried including -L/usr/X11R6/bin/libX11.dll but that doesn't help. Any > suggestions? Is there anyway I can see if the function xsimplewindow is in > the libX11.dll or what files exist in what dll's? bye ago -- Alexander.Gottwald@informatik.tu-chemnitz.de http://www.gotti.org ICQ: 126018723 From frank.l.lane@boeing.com Wed Oct 2 10:56:00 2002 From: frank.l.lane@boeing.com (Lane, Frank L) Date: Wed, 02 Oct 2002 10:56:00 -0000 Subject: How do you gentleuser's start your X stuff? Message-ID: <3B2480653E7D2C4E8AA5699598D691C423005F@xch-se-03.se.nos.boeing.com> Thanks to all, please excuse my whining. Gawd I love this stuff!:-) Frank -----Original Message----- From: Jean-Claude Gervais [mailto:jc.gervais@videotron.ca] Sent: Wednesday, October 02, 2002 11:33 AM To: cygwin-xfree@cygwin.com Subject: RE: How do you gentleuser's start your X stuff? Hi Frank, This list is really all about the Cygwin implementation of X and issues concerning that. If you have generic questions about X development, www.x.org might be a place to start. The comp.windows.x newsgroup might have some people on it that could help you. As an aside, your question about linking X calls to your cygwin app does seem legit to me, but I cannot answer it. Sorry. -----Original Message----- From: cygwin-xfree-owner@cygwin.com [mailto:cygwin-xfree-owner@cygwin.com]On Behalf Of Lane, Frank L Sent: Wednesday, October 02, 2002 12:19 PM To: 'cygwin-xfree@cygwin.com' Subject: RE: How do you gentleuser's start your X stuff? OK. If my questions about xfree aren't welcome on this list where should I go to ask them? Also, the fact that new user questions aren't welcome here is not obvious from the project page description. Thanks, Frank -----Original Message----- From: Alexander Gottwald [mailto:alexander.gottwald@s1999.tu-chemnitz.de] Sent: Wednesday, October 02, 2002 11:13 AM To: 'cygwin-xfree@cygwin.com' Subject: Re: How do you gentleuser's start your X stuff? On Wed, 2 Oct 2002, Lane, Frank L wrote: > Second question, as I'm interested in learning everything I can about X, I'm > trying to write some beginner programs. When I compile using gcc I get a > message about unresolved calls to _XSimpleWindow and some other functions. > I've tried including -L/usr/X11R6/bin/libX11.dll but that doesn't help. Any > suggestions? Is there anyway I can see if the function xsimplewindow is in > the libX11.dll or what files exist in what dll's? bye ago -- Alexander.Gottwald@informatik.tu-chemnitz.de http://www.gotti.org ICQ: 126018723 From huntharo@msu.edu Wed Oct 2 11:12:00 2002 From: huntharo@msu.edu (Harold L Hunt II) Date: Wed, 02 Oct 2002 11:12:00 -0000 Subject: How do you gentleuser's start your X stuff? References: <3B2480653E7D2C4E8AA5699598D691C423005C@xch-se-03.se.nos.boeing.com> Message-ID: <3D9B36C7.4030500@msu.edu> Frank, There is information in the Cygwin/XFree86 User's Guide that describes your different options for starting Cygwin/XFree86: http://xfree86.cygwin.com/docs/ug/using.html#using-starting Window resizing and scrollbars are both controlled by the X ``window manager''. You are looking for something that we are all always looking for, the unobtainable ``better window manager''. However, there are several other options for a window manager that you can try out without much work. Just rerun Cygwin's setup.exe and look under the XFree86 category --- there are a few window managers listed there (MWM is in the Lesstif package, openbox, window-maker, etc.). You can edit startxwin.bat (which is, by the way, the recommended way to start Cygwin/XFree86) and replace the line that starts ``twm'' with one of the others that you have installed, e.g., ``mwm''. Each window manager has its own quirks and bugs (some of them don't work correctly when the NumLock key is on, etc.). Choosing a window manager is a highly personal thing so that is about all the help that I can give you. I am sure that others will chime in with links to their favorite WMs now. :) Harold Lane, Frank L wrote: > Hello again, > > I'm managing to take a couple of steps a day. One thing I stumbled across > the other day is the startx command. I use this to work. I've noticed that > my windows are not resizable and do not have scrollbars. Is there a better > way to kickoff X? > > Second question, as I'm interested in learning everything I can about X, I'm > trying to write some beginner programs. When I compile using gcc I get a > message about unresolved calls to _XSimpleWindow and some other functions. > I've tried including -L/usr/X11R6/bin/libX11.dll but that doesn't help. Any > suggestions? Is there anyway I can see if the function xsimplewindow is in > the libX11.dll or what files exist in what dll's? > > Thanks, > Frank From schwaa98@yahoo.com Wed Oct 2 16:26:00 2002 From: schwaa98@yahoo.com (Brian Rowe) Date: Wed, 02 Oct 2002 16:26:00 -0000 Subject: GTK+ for XFree86 cygwin - Window or Unix src files? And other windows dll's really. Message-ID: <20021002232630.42301.qmail@web40210.mail.yahoo.com> If I want GTK+ for use on cygwin and Xfree86. Let's say I want to compile Dillo for the XFree86 server. Do I get the Windows version of GTK or the unix version? At a basic level can I link to Windows libraries (which they all are since I am on windows) and expect the code to work in XFree86 on Cygwin? I haven't tried this yet, obviously. I know people have gotten Dillo to work, so GTK must work, but which version. Should one always chose a version over another? thanks __________________________________________________ Do you Yahoo!? New DSL Internet Access from SBC & Yahoo! http://sbc.yahoo.com From pgeorge@aalayance.com Wed Oct 2 21:27:00 2002 From: pgeorge@aalayance.com (George Thomas P) Date: Wed, 02 Oct 2002 21:27:00 -0000 Subject: Remote sessions with HP UX CDE ? References: Message-ID: <009201c26a94$bb385350$4101a8c0@india.aalayance.com> Hi everyone, Sorry for not responding it was a holiday yesterday, and I dont have net at home :-S. First thanks to all of you for your replies. But I'm still out of luck :-( .I'll tried using some of the stuff in Ben's batch file XWin -screen 0 1024x768x16 -once -query (thanks for sending it :-)). It still didn't work but, there was a change in that my X session opened a window, I saw that squat looking hour glass for about 2 secsonds before it blanked out. Here's my XWin.log file. I looked through it and found something odd :- "_XSERVTransmkdir: Owner of /tmp/.X11-unix should be set to root " Anyone out there able to help me out with intrepreting this ? regards George :-) P.S. (I tried resolution changing too 8bpp, 16bpp) -------------- next part -------------- A non-text attachment was scrubbed... Name: XWin.log Type: application/octet-stream Size: 1177 bytes Desc: not available URL: From cgf@redhat.com Wed Oct 2 21:34:00 2002 From: cgf@redhat.com (Christopher Faylor) Date: Wed, 02 Oct 2002 21:34:00 -0000 Subject: Donations In-Reply-To: References: Message-ID: <20021003043535.GA19588@redhat.com> On Tue, Oct 01, 2002 at 11:35:37PM -0400, Harold Hunt wrote: >I have setup a Donations page on the Cygwin/XFree86 site. >http://xfree86.cygwin.com/donations.html So, is everyone streaming to help fund Harold's good work in XFree86? cgf From jd108@pacbell.net Wed Oct 2 22:05:00 2002 From: jd108@pacbell.net (Joseph I. Davida) Date: Wed, 02 Oct 2002 22:05:00 -0000 Subject: Port of xlockmore-5.01.2 to latest Cygwin port of X11 Message-ID: <0H3E00KKM3HWB3@mta7.pltn13.pbi.net> I had to kludge it in order to make it compile correctly on Cygwin (on win2k). However, cygwin still does not properly support passwords, so xlock is unable to verify the password. This problem affects other programs that require password verification as well. Hopefully, xlockmore's maintaner will fix the configure script to recognize cygwin and generate the right #define's and #include's In particular, the files I had to change are: modes/dclock.c 903c903 < extern long timezone; --- > // extern long timezone; due to confilict with timezone def in time.h /modes/solitare.cc Changed every occurance of round(.. to myround(... because it was confilicting with round declaration in math.h xlock/logout.c 34a35 > #include ./xlock/xlock.c 180a181,182 > #define CYGWIN > 2697c2699 < #if defined( SYSV ) || defined( SVR4 ) || ( __VMS_VER >= 70000000 ) --- > #if defined( SYSV ) || defined( SVR4 ) || ( __VMS_VER >= 70000000 ) || defined( CYGWIN ) 2744c2746 < #if defined( SYSV ) || defined( SVR4 ) || ( __VMS_VER >= 70000000 ) --- > #if defined( SYSV ) || defined( SVR4 ) || ( __VMS_VER >= 70000000 ) || defined( CYGWIN ) 3640c3642 < #if defined( SYSV ) || defined( SVR4 ) || ( __VMS_VER >= 70000000 ) --- > #if defined( SYSV ) || defined( SVR4 ) || ( __VMS_VER >= 70000000 ) || defined( CYGWIN ) 3708a3711 > xmlock/Makefile 95c95 < XMLOCKLIBS = -L/usr/X11R6/lib -L/usr/X11R6/lib -L/usr/X11R6/lib -L/usr/X11R6/lib -lXpm -lXmu -lXm -lXt -lX11 --- > XMLOCKLIBS = -L/usr/X11R6/lib -lXpm -lXmu -lXm -lXt -lX11 -lSM -lICE From cgf@redhat.com Wed Oct 2 22:09:00 2002 From: cgf@redhat.com (Christopher Faylor) Date: Wed, 02 Oct 2002 22:09:00 -0000 Subject: Port of xlockmore-5.01.2 to latest cygwin port of X11 In-Reply-To: <0H3E00KKM3HWB3@mta7.pltn13.pbi.net> References: <0H3E00KKM3HWB3@mta7.pltn13.pbi.net> Message-ID: <20021003051030.GA19974@redhat.com> On Wed, Oct 02, 2002 at 10:10:56PM -0700, Joseph I. Davida wrote: >I had to kludge it in order to make it compile correctly on Cygwin (on >win2k). However, cygwin still does not properly support passwords, so >xlock is unable to verify the password. This problem affects other >programs that require password verification as well. "passwd", "telnet", and "login" (to name a few) all support passwords on win2k. So, I don't understand why this should be a problem. cgf From geert.pille@vandemoortele.com Thu Oct 3 00:09:00 2002 From: geert.pille@vandemoortele.com (Pille Geert (bizvdm)) Date: Thu, 03 Oct 2002 00:09:00 -0000 Subject: RE Cygwin List posts Message-ID: <2FAEFC2A851BD211AD820008C7286BA402D7E29D@NBIZ205> You didn't misunderstand a thing, Harold, I was just in a surrealistic mood. Sorry I made you waste your time. -----Original Message----- From: Harold L Hunt II [mailto:huntharo@msu.edu] Sent: woensdag 2 oktober 2002 15:59 To: cygwin-xfree@cygwin.com Subject: Re: RE Cygwin List posts Geert, I don't know what you are trying to say here. My response to Jean-Claude was light-hearted (I said my dog was fine): http://cygwin.com/ml/cygwin-xfree/2002-09/msg00279.html Ben responded to me throwing my hands in the air with a much more detailed account of his situation (notice that the message subject changed back to RH 7.3 from our off-list subject of Cygwin List Posts): http://cygwin.com/ml/cygwin-xfree/2002-09/msg00280.html I then responded with some information that was probably helpful: http://cygwin.com/ml/cygwin-xfree/2002-09/msg00281.html After that there was no response, so I can only assume that the 1024x768x65535 was causing the problem (or his RedHat machine was not in runlevel 5). So Geert, I have misunderstood your postings before... what have I misunderstood this time? Harold Pille Geert (bizvdm) wrote: > I have learned from a reliable source, that Harold has (repeat: HAS) a pain > in the ass. Which sometimes explains a person's emotional reactions. But > one must admit that Ben did not help to ease the pain. > > -----Original Message----- > From: Jean-Claude Gervais [mailto:jc.gervais@videotron.ca] > Sent: woensdag 25 september 2002 21:21 > To: cygwin-xfree@cygwin.com; cygwin-xfree@cygwin.com > Subject: RE: RE Cygwin List posts > > > Having problems with your dog, Harold? ;-) > > -----Original Message----- > From: cygwin-xfree-owner@cygwin.com [mailto:cygwin-xfree-owner@cygwin.com]On > Behalf Of Harold L Hunt II > Sent: Wednesday, September 25, 2002 4:16 PM > To: Benjamin Simmons > Cc: cygwin-xfree@cygwin.com > Subject: Re: RE Cygwin List posts > > Ben, > > See, you aren't telling me what you have had success in doing. What do > you mean ``They all work fine''? Does that mean that you have > successfully done an XDMCP session, used ssh to display remote clients, > and used telnet to display remote clients? If so, then say exactly that. > > I'm not just going to ``elaborate'' about the wonderful things that you > can do with XDMCP and ssh --- I could write about them all day long. > You have to ask a specific question about precisely what it is that you > want to do. We cannot read your mind. Imagine for a moment that your > dog cannot walk and that I am a vet. If you come to me and say, ``my > dog has a broken leg, can you fix it?'', then I am very likely to help > you. If, on the other hand, you come to me and say, ``My dog needs to > [mumble mumble mumble]... can you tell me about the many things that > dogs can do?'', then I'm going to kick you out of my office. > > Harold > > P.S. - This is going back on cygwin-xfree@cygwin.com because it seems to > me like you are trying to waste my time since you are being vague about > both your questions and your answers. Don't reply to me personally, > only send your questions to cygwin-xfree@cygwin.com > > Benjamin Simmons wrote: > > >>thank you sir for your reply, >>at this point I would love to gain some further instruction on either > > option > >>you present. I have multiple RHLinux 7.2 boxes setup so that I can do your >>first option. They all work fine. I am having the difficulty in setting > > up > >>a RH Linux 7.3 box in the same manner. >> >>I did the things you discuss in the guide, and any further elaboration is >>greatly appreciated. >> >>Thank you, >>Ben Simmons >> >>Harold L Hunt II wrote: >> >> >> >> >>>Ben, >>> >>>I have been reading the list and it looks to me like you asked the same >>>question over again. Rasjid gave you the same answer that I gave you >>>--- which defeats the purpose of writing a User's Guide, since I wrote >>>the User's Guide to explain this very question once and for all. >>> >>>You say that you need to connect to multiple machines. Is that the >>>specific part that you are having trouble with? Are you able to connect >>>to one machine at a time, but not to multiple machines at once? If so, >>>I can help you with that. >>> >>>Please be clear on whether you are trying to run a remote session via >>>XDMCP (where you are presented by a login box and one Cygwin/XFree86 >>>window is owned entirely by one remote machine) or whether you are >>>trying to display remote clients via ssh (in which case you can ssh to >>>multiple remote machines and have them all display X Clients in one >>>Cygwin/XFree86 window - or in multiple Cygwin/XFree86 windows). >>> >>>Harold >>> >>>Benjamin Simmons wrote: >>> >>> >>> >>> >>>>If you had ben paying attention to the list today, you would have seen >>>>an excahnge between myself and Rasjid Wilcox. >>>> >>>>If you were paying attention to this exchange, you would have noticed >>>>that he has offered further details. >>>> >>>>I did read through what you sent me, and found it to cover exactly what >>>>I had already done. Since I had used your information, but felt that I >>>>needed further details, I responded to someone that was willing to >>>>provide them. >>>> >>>>If you are having a problem with my exchange on this topic, please feel >>>>free to ignore all further posts to this message, otherwise, I would >>>>like to personally thank you for your assistance. I have gotten >>>>frustrated with my inability to connect the final piece of this puzzle. >>>> >>>>To clarify, I do work for and am a student at The University of >>>>Memphis. I am currently performing research and need to access multiple >>>>linux machines remotely to complete my dissertation. >>>> >>>>Thank you again for your help, >>>>Ben Simmons >>>> >>>> >>>> >>>> >>>> >>>> >>>> >>>> >>>> >>> >> >> > > > > =============================== > 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. > =============================== 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 pgeorge@aalayance.com Thu Oct 3 05:23:00 2002 From: pgeorge@aalayance.com (George Thomas P) Date: Thu, 03 Oct 2002 05:23:00 -0000 Subject: Remote sessions with HP UX CDE ? References: Message-ID: <00d801c26ad7$38990320$4101a8c0@india.aalayance.com> Hi all, I finally solved my HP UX remote session issue !! Just wanted to share the news and perhaps help people who might face the same issue. I saw in the Cygwin /XFree FAQ some pointers regarding the Solaris CDE, especially the bit about specifying a font server. Since HP also uses CDE I decided to give it a shot.Well what I did was I telneted to the HP box and started up a font server - xfs & -it brings the font server up on port 7100 Then from my Cygwin I ran the following command XWin -query -fp tcp/ And voila it worked :-) !! Thanks all the same to all those people who responded ... : -) - Cheers !! George From huntharo@msu.edu Thu Oct 3 05:34:00 2002 From: huntharo@msu.edu (Harold L Hunt II) Date: Thu, 03 Oct 2002 05:34:00 -0000 Subject: Remote sessions with HP UX CDE ? References: <009201c26a94$bb385350$4101a8c0@india.aalayance.com> Message-ID: <3D9C3907.7090104@msu.edu> George Thomas P wrote: > Hi everyone, > > Sorry for not responding it was a holiday yesterday, and I dont have net at > home > :-S. > > First thanks to all of you for your replies. But I'm still out of luck :-( > .I'll tried using some of the stuff in Ben's batch file > > XWin -screen 0 1024x768x16 -once -query > > (thanks for sending it :-)). It still didn't work but, there was a change in > that my X session opened a window, I saw that squat looking hour glass for > about 2 secsonds > before it blanked out. > > Here's my XWin.log file. I looked through it and found something odd :- > > "_XSERVTransmkdir: Owner of /tmp/.X11-unix should be set to root " > > Anyone out there able to help me out with intrepreting this ? > > > > regards George :-) > > P.S. (I tried resolution changing too 8bpp, 16bpp) > George, Note that if you are running in windowed mode (i.e., not passing the -fullscreen parameter), then the depth of the widthxheightxdepth parameter is ignored. That makes sense, right, since Windows applications that are sharing the display all have to run at the same color depth. You should actually just be passing ``-screen 0 1024 768'' and you should be setting Windows to run in the desired color mode. Not that any of this will matter, but perhaps you should give it a try. It seems that you are indeed connecting to your CDE session, but that the remote side is then shutting down the connection. Since there is nothing of interest in your XWin.log, I suggest that you have a look (or have your sys admin have a look) at the XDM logs on the HP UX machine. That will probably tell why your session is being rejected. Harold From spetreolle@yahoo.fr Thu Oct 3 08:45:00 2002 From: spetreolle@yahoo.fr (=?iso-8859-1?q?Sylvain=20Petreolle?=) Date: Thu, 03 Oct 2002 08:45:00 -0000 Subject: Remote sessions with HP UX CDE ? In-Reply-To: <009201c26a94$bb385350$4101a8c0@india.aalayance.com> Message-ID: <20021003154004.25966.qmail@web10104.mail.yahoo.com> this isn't an error and can ignored. > "_XSERVTransmkdir: Owner of /tmp/.X11-unix should be set to root " > > Anyone out there able to help me out with intrepreting this ? > ___________________________________________________________ Do You Yahoo!? -- Une adresse @yahoo.fr gratuite et en fran??ais ! Yahoo! Mail : http://fr.mail.yahoo.com From ben.calvert@ams.com Thu Oct 3 08:46:00 2002 From: ben.calvert@ams.com (Ben Calvert) Date: Thu, 03 Oct 2002 08:46:00 -0000 Subject: Remote sessions with HP UX CDE ? Message-ID: I don't think the /tmp/.X11-unix is related. Hmm.... remind me; are you getting a black screen & the hourglass, or just the stipple ? "George Thomas P" com> cc: Sent by: Subject: Re: Remote sessions with HP UX CDE ? cygwin-xfree-owner@ cygwin.com 10/02/2002 09:24 PM Please respond to cygwin-xfree Hi everyone, Sorry for not responding it was a holiday yesterday, and I dont have net at home :-S. First thanks to all of you for your replies. But I'm still out of luck :-( .I'll tried using some of the stuff in Ben's batch file XWin -screen 0 1024x768x16 -once -query (thanks for sending it :-)). It still didn't work but, there was a change in that my X session opened a window, I saw that squat looking hour glass for about 2 secsonds before it blanked out. Here's my XWin.log file. I looked through it and found something odd :- "_XSERVTransmkdir: Owner of /tmp/.X11-unix should be set to root " Anyone out there able to help me out with intrepreting this ? regards George :-) P.S. (I tried resolution changing too 8bpp, 16bpp) (See attached file: XWin.log) -------------- next part -------------- A non-text attachment was scrubbed... Name: XWin.log Type: application/octet-stream Size: 1177 bytes Desc: not available URL: From alexvn@come.to Thu Oct 3 09:00:00 2002 From: alexvn@come.to (Alex Vinokur) Date: Thu, 03 Oct 2002 09:00:00 -0000 Subject: xterm Xt error: Can't open display References: <000b01c26afb$faefa4a0$ef6996d4@5at8s8cqeex4qhi> Message-ID: ===================== Windows 2000 Professional CYGWIN_NT-5.0 Cygwin/XFree86 4.2.0 ===================== Administrator@5AT8S8CQEEX4QHI / $ which xterm /usr/X11R6/bin/xterm ###### Attempt-1 ###### Administrator@5AT8S8CQEEX4QHI ~ $ set | grep DISPLAY Administrator@5AT8S8CQEEX4QHI / $ xterm xterm Xt error: Can't open display: ###### Attempt-2 ###### Administrator@5AT8S8CQEEX $ set | grep DISPLAY DISPLAY=127.0.0.1:0.0 Administrator@5AT8S8CQEEX4QHI ~ $ xterm xterm Xt error: Can't open display: 127.0.0.1:0.0 What is wrong ? ================== Alex Vinokur mailto:alexvn@go.to http://up.to/alexvn ================== From diplomas@univdp.com Thu Oct 3 09:04:00 2002 From: diplomas@univdp.com (Barry Fortaleza) Date: Thu, 03 Oct 2002 09:04:00 -0000 Subject: Confidentiality assured. Message-ID: *This message was transferred with a trial version of CommuniGate(tm) Pro* UNIVERSITY DIPLOMAS Obtain a prosperous future, money earning power, and the admiration of all. Diplomas from prestigious, non-accredited universities based on your present knowledge and life experience. No required tests, classes, books, or interviews. Bachelors, masters, MBA, and doctorate (PhD) diplomas available in the field of your choice. No one is turned down. Confidentiality assured. CALL NOW to receive your diploma within days!!! 770-492-2996 Call 24 hours a day, 7 days a week, including Sundays and holidays. From spetreolle@yahoo.fr Thu Oct 3 09:05:00 2002 From: spetreolle@yahoo.fr (=?iso-8859-1?q?Sylvain=20Petreolle?=) Date: Thu, 03 Oct 2002 09:05:00 -0000 Subject: xterm Xt error: Can't open display In-Reply-To: Message-ID: <20021003160504.857.qmail@web10101.mail.yahoo.com> Obvious question : did you launch XFree (e.g launch 'startx' in cygwin or by startxwin.bat from windows)? --- Alex Vinokur a ??crit : > ===================== > Windows 2000 Professional > CYGWIN_NT-5.0 > Cygwin/XFree86 4.2.0 > ===================== > > > Administrator@5AT8S8CQEEX4QHI / > $ which xterm > /usr/X11R6/bin/xterm > > > ###### Attempt-1 ###### > > Administrator@5AT8S8CQEEX4QHI ~ > $ set | grep DISPLAY > > Administrator@5AT8S8CQEEX4QHI / > $ xterm > xterm Xt error: Can't open display: > > > ###### Attempt-2 ###### > > Administrator@5AT8S8CQEEX > $ set | grep DISPLAY > DISPLAY=127.0.0.1:0.0 > > Administrator@5AT8S8CQEEX4QHI ~ > $ xterm > xterm Xt error: Can't open display: 127.0.0.1:0.0 > > > What is wrong ? > > ================== > Alex Vinokur > mailto:alexvn@go.to > http://up.to/alexvn > ================== > > > > > > > ___________________________________________________________ Do You Yahoo!? -- Une adresse @yahoo.fr gratuite et en fran??ais ! Yahoo! Mail : http://fr.mail.yahoo.com From spetreolle@yahoo.fr Thu Oct 3 09:06:00 2002 From: spetreolle@yahoo.fr (=?iso-8859-1?q?Sylvain=20Petreolle?=) Date: Thu, 03 Oct 2002 09:06:00 -0000 Subject: Confidentiality assured. In-Reply-To: Message-ID: <20021003160649.28185.qmail@web10107.mail.yahoo.com> A spammer with an unregistered version of a mail client ! LOL ! --- Barry Fortaleza a ??crit : > *This message was transferred with a trial version of CommuniGate(tm) > Pro* > UNIVERSITY DIPLOMAS > > Obtain a prosperous future, money earning power, and > the admiration of all. > > Diplomas from prestigious, non-accredited > universities based on your present knowledge and > life experience. > > No required tests, classes, books, or interviews. > > Bachelors, masters, MBA, and doctorate (PhD) > diplomas available in the field of your choice. > > No one is turned down. > > Confidentiality assured. > > CALL NOW to receive your diploma within days!!! > > 770-492-2996 > > Call 24 hours a day, 7 days a week, including > Sundays and holidays. ___________________________________________________________ Do You Yahoo!? -- Une adresse @yahoo.fr gratuite et en fran??ais ! Yahoo! Mail : http://fr.mail.yahoo.com From ben.calvert@ams.com Thu Oct 3 09:09:00 2002 From: ben.calvert@ams.com (Ben Calvert) Date: Thu, 03 Oct 2002 09:09:00 -0000 Subject: xterm Xt error: Can't open display Message-ID: 1. is X running? 2. which user is X running as? 3. what machine does it think it's running on? (ie, does it know that 127.0.0.1 is your machine? ) i've seen windows installs without 127.0.0.1 before. 4. if the above seem to be working, try "xhost + 5AT8S8CQEEX4QHI" which will allow anyone on that machine to run programs. theoretically :) "Alex Vinokur" To: cygwin-xfree@cygwin.com Sent by: cc: cygwin-xfree-owner@ Subject: xterm Xt error: Can't open display cygwin.com 10/03/2002 09:55 AM Please respond to cygwin-xfree ===================== Windows 2000 Professional CYGWIN_NT-5.0 Cygwin/XFree86 4.2.0 ===================== Administrator@5AT8S8CQEEX4QHI / $ which xterm /usr/X11R6/bin/xterm ###### Attempt-1 ###### Administrator@5AT8S8CQEEX4QHI ~ $ set | grep DISPLAY Administrator@5AT8S8CQEEX4QHI / $ xterm xterm Xt error: Can't open display: ###### Attempt-2 ###### Administrator@5AT8S8CQEEX $ set | grep DISPLAY DISPLAY=127.0.0.1:0.0 Administrator@5AT8S8CQEEX4QHI ~ $ xterm xterm Xt error: Can't open display: 127.0.0.1:0.0 What is wrong ? ================== Alex Vinokur mailto:alexvn@go.to http://up.to/alexvn ================== From alexvn@come.to Thu Oct 3 09:13:00 2002 From: alexvn@come.to (Alex Vinokur) Date: Thu, 03 Oct 2002 09:13:00 -0000 Subject: xterm Xt error: Can't open display References: <20021003160504.857.qmail@web10101.mail.yahoo.com> Message-ID: "Sylvain Petreolle" wrote in message news:20021003160504.857.qmail@web10101.mail.yahoo.com... > Obvious question : did you launch XFree (e.g launch 'startx' in cygwin > or by startxwin.bat from windows)? ------ launching 'startx' in cygwin ------ Administrator@5AT8S8CQEEX4QHI ~ $ startx giving up. xinit: Connection refused (errno 111): unable to connect to X server xinit: No such process (errno 3): Server error. ------ launching startxwin.bat from windows ------ C:\cyg_win\usr\X11R6\bin>startxwin.bat startxwin.bat - Starting on Windows NT/2000 XIO: fatal IO error 104 (Connection reset by peer) on X server "127.0.0.1:0.0" after 0 requests (0 known processed) with 0 events remaining. XIO: fatal IO error 104 (Connection reset by peer) on X server "127.0.0.1:0.0" after 0 requests (0 known processed) with 0 events remaining. XIO: fatal IO error 104 (Connection reset by peer) on X server "127.0.0.1:0.0" after 0 requests (0 known processed) with 0 events remaining. > > --- Alex Vinokur a ??crit : > ===================== > > Windows 2000 Professional > > CYGWIN_NT-5.0 > > Cygwin/XFree86 4.2.0 > > ===================== > > > > > > Administrator@5AT8S8CQEEX4QHI / > > $ which xterm > > /usr/X11R6/bin/xterm > > > > > > ###### Attempt-1 ###### > > > > Administrator@5AT8S8CQEEX4QHI ~ > > $ set | grep DISPLAY > > > > Administrator@5AT8S8CQEEX4QHI / > > $ xterm > > xterm Xt error: Can't open display: > > > > > > ###### Attempt-2 ###### > > > > Administrator@5AT8S8CQEEX > > $ set | grep DISPLAY > > DISPLAY=127.0.0.1:0.0 > > > > Administrator@5AT8S8CQEEX4QHI ~ > > $ xterm > > xterm Xt error: Can't open display: 127.0.0.1:0.0 > > > > > > What is wrong ? > > > > ================== > > Alex Vinokur > > mailto:alexvn@go.to > > http://up.to/alexvn > > ================== > > > > > > > > > > > > > > > > ___________________________________________________________ > Do You Yahoo!? -- Une adresse @yahoo.fr gratuite et en fran??ais ! > Yahoo! Mail : http://fr.mail.yahoo.com > From alexvn@come.to Thu Oct 3 09:20:00 2002 From: alexvn@come.to (Alex Vinokur) Date: Thu, 03 Oct 2002 09:20:00 -0000 Subject: xterm Xt error: Can't open display References: Message-ID: "Ben Calvert" wrote in message news:OF29710025.9429B63C-ON88256C47.00587392-88256C47.0058B6CF@ams.com... > > 1. is X running? How can I know that ? > 2. which user is X running as? The same question > 3. what machine does it think it's running on? (ie, does it know that > 127.0.0.1 is your machine? ) i've seen windows installs without 127.0.0.1 > before. The same question > 4. if the above seem to be working, try "xhost + 5AT8S8CQEEX4QHI" which > will allow anyone on that machine to run programs. theoretically :) Administrator@5AT8S8CQEEX4QHI ~ $ xhost + 5AT8S8CQEEX4QHI xhost: unable to open display "127.0.0.1:0.0" > > > ===================== > Windows 2000 Professional > CYGWIN_NT-5.0 > Cygwin/XFree86 4.2.0 > ===================== > > > Administrator@5AT8S8CQEEX4QHI / > $ which xterm > /usr/X11R6/bin/xterm > > > ###### Attempt-1 ###### > > Administrator@5AT8S8CQEEX4QHI ~ > $ set | grep DISPLAY > > Administrator@5AT8S8CQEEX4QHI / > $ xterm > xterm Xt error: Can't open display: > > > ###### Attempt-2 ###### > > Administrator@5AT8S8CQEEX > $ set | grep DISPLAY > DISPLAY=127.0.0.1:0.0 > > Administrator@5AT8S8CQEEX4QHI ~ > $ xterm > xterm Xt error: Can't open display: 127.0.0.1:0.0 > > > What is wrong ? > -- ================== Alex Vinokur mailto:alexvn@go.to http://up.to/alexvn ================== From spetreolle@yahoo.fr Thu Oct 3 09:31:00 2002 From: spetreolle@yahoo.fr (=?iso-8859-1?q?Sylvain=20Petreolle?=) Date: Thu, 03 Oct 2002 09:31:00 -0000 Subject: xterm Xt error: Can't open display In-Reply-To: Message-ID: <20021003163139.89448.qmail@web10105.mail.yahoo.com> you were launching an xterm not being under X. Post your /tmp/Xwin.log on the list and read FAQ. --- Alex Vinokur a ??crit : > "Sylvain Petreolle" wrote in message > news:20021003160504.857.qmail@web10101.mail.yahoo.com... > > Obvious question : did you launch XFree (e.g launch 'startx' in > cygwin > > or by startxwin.bat from windows)? > > ------ launching 'startx' in cygwin ------ > Administrator@5AT8S8CQEEX4QHI ~ > $ startx > > giving up. > xinit: Connection refused (errno 111): unable to connect to X > server > xinit: No such process (errno 3): Server error. > > ------ launching startxwin.bat from windows ------ > C:\cyg_win\usr\X11R6\bin>startxwin.bat > startxwin.bat - Starting on Windows NT/2000 > XIO: fatal IO error 104 (Connection reset by peer) on X server > "127.0.0.1:0.0" > after 0 requests (0 known processed) with 0 events remaining. > XIO: fatal IO error 104 (Connection reset by peer) on X server > "127.0.0.1:0.0" > after 0 requests (0 known processed) with 0 events remaining. > XIO: fatal IO error 104 (Connection reset by peer) on X server > "127.0.0.1:0.0" > after 0 requests (0 known processed) with 0 events remaining. > ___________________________________________________________ Do You Yahoo!? -- Une adresse @yahoo.fr gratuite et en fran??ais ! Yahoo! Mail : http://fr.mail.yahoo.com From Smafrozahsan@aol.com Thu Oct 3 09:37:00 2002 From: Smafrozahsan@aol.com (Smafrozahsan@aol.com) Date: Thu, 03 Oct 2002 09:37:00 -0000 Subject: cygwin-xfree Digest 1 Oct 2002 19:15:48 -0000 Issue 887 Message-ID:
How do i unsubscribe from this list ...please some one tell me. i didn't 
intentionally sign on to this list my younger brother tricked me into it. 
Sorry for your inconvinence..to all


From alexvn@come.to  Thu Oct  3 10:12:00 2002
From: alexvn@come.to (Alex Vinokur)
Date: Thu, 03 Oct 2002 10:12:00 -0000
Subject: xterm Xt error: Can't open display
References:  <20021003163139.89448.qmail@web10105.mail.yahoo.com>
Message-ID: 



"Sylvain Petreolle"  wrote in message news:20021003163139.89448.qmail@web10105.mail.yahoo.com...
> you were launching an xterm not being under X.
> Post your /tmp/Xwin.log on the list and read FAQ.
>
[snip]

------ Xwin.log : BEGIN ------
ddxProcessArgument () - Initializing default screens
winInitializeDefaultScreens () - w 1024 h 768
_XSERVTransmkdir: Owner of /tmp/.X11-unix should be set to root
[---omitted---]

------ Xwin.log : END --------


Administrator@5AT8S8CQEEX4QHI /tmp
$ ls -ld .X11-unix
drwxr-xr-x    2 Administ None            0 Oct  3 19:07 .X11-unix

Administrator@5AT8S8CQEEX4QHI /tmp
$ chown root .X11-unix
chown: `root': invalid user


------ /etc/passwd : BEGIN ------
Everyone:*:0:0:,S-1-1-0::
SYSTEM:*:18:18:,S-1-5-18::
Administrators:*:544:544:,S-1-5-32-544::
Administrator:unused_by_nt/2000/xp:500:513:U-5AT8S8CQEEX4QHI\Administrator,S-1-5-21-602162358-839522115-547660867-500:/home/Administ
rator:/bin/bash
Guest:unused_by_nt/2000/xp:501:513:U-5AT8S8CQEEX4QHI\Guest,S-1-5-21-602162358-839522115-547660867-501:/home/Guest:/bin/bash
------ /etc/passwd : END --------

   ==================
   Alex Vinokur
     mailto:alexvn@go.to
     http://up.to/alexvn
   ==================





From alexvn@come.to  Thu Oct  3 10:23:00 2002
From: alexvn@come.to (Alex Vinokur)
Date: Thu, 03 Oct 2002 10:23:00 -0000
Subject: xterm Xt error: Can't open display
References:  <20021003163139.89448.qmail@web10105.mail.yahoo.com>
Message-ID: 


----- Original Message -----
From: "Sylvain Petreolle" 
Sent: Thursday, October 03, 2002 6:31 PM
Subject: Re: xterm Xt error: Can't open display


> you were launching an xterm not being under X.
> Post your /tmp/Xwin.log on the list and read FAQ.

------ launching 'startx' in cygwin : BEGIN ------
Administrator@5AT8S8CQEEX4QHI ~
$ startx

giving up.
xinit:  Connection refused (errno 111):  unable to connect to X server
xinit:  No such process (errno 3):  Server error.

------ launching 'startx' in cygwin : END --------



------ XWinn.log : BEGIN ------
ddxProcessArgument () - Initializing default screens
winInitializeDefaultScreens () - w 1024 h 768
_XSERVTransmkdir: Owner of /tmp/.X11-unix should be set to root
winDetectSupportedEngines () - Windows NT/2000
winDetectSupportedEngines () - DirectDraw installed
winDetectSupportedEngines () - Allowing PrimaryDD
winDetectSupportedEngines () - DirectDraw4 installed
winDetectSupportedEngines () - Returning, supported engines 0000001f
winSetEngine () - Using Shadow DirectDraw NonLocking
winAdjustVideoModeShadowDDNL () - Using Windows display depth of 16 bits per pixel
winAdjustForAutoHide - Original WorkArea: 0 0 739 1024
winAdjustForAutoHide - Adjusted WorkArea: 0 0 739 1024
winCreateBoundingWindowWindowed () - WindowClient w 1018 h 713 r 1018 l 0 b 713 t 0
winCreateBoundingWindowWindowed () -  Returning
winAllocateFBShadowDDNL () - lPitch: 2036
winInitVisualsShadowDDNL () - Masks 0000f800 000007e0 0000001f BPRGB 6 d 16
winLayerCreate () - dwDepth 16
winRandRInit ()
winCreateDefColormap () - Deferring to fbCreateDefColormap ()
winScreenInit () - returning
Could not init font path element /usr/X11R6/lib/X11/fonts/misc/, removing from list!
Could not init font path element /usr/X11R6/lib/X11/fonts/Speedo/, removing from list!
Could not init font path element /usr/X11R6/lib/X11/fonts/Type1/, removing from list!
Could not init font path element /usr/X11R6/lib/X11/fonts/CID/, removing from list!
Could not init font path element /usr/X11R6/lib/X11/fonts/75dpi/, removing from list!
Could not init font path element /usr/X11R6/lib/X11/fonts/100dpi/, removing from list!

Fatal server error:
could not open default font 'fixed'

------ XWinn.log : END --------

[snip]

   ==================
   Alex Vinokur
     mailto:alexvn@go.to
     http://up.to/alexvn
   ==================






From swamp-dog@ntlworld.com  Thu Oct  3 10:58:00 2002
From: swamp-dog@ntlworld.com (Guy Harrison)
Date: Thu, 03 Oct 2002 10:58:00 -0000
Subject: GTK+ for XFree86 cygwin - Window or Unix src files? And other windows dll's really.
In-Reply-To: <20021002232630.42301.qmail@web40210.mail.yahoo.com>
References: <20021002232630.42301.qmail@web40210.mail.yahoo.com>
Message-ID: <3d9e76a5.411684541@smtp.ntlworld.com>

On Wed, 2 Oct 2002 16:26:30 -0700 (PDT), Brian Rowe 
wrote:

>If I want GTK+ for use on cygwin and Xfree86.  Let's
>say I want to compile Dillo for the XFree86 server.
>Do I get the Windows version of GTK or the unix
>version?

Assume Cygwin=unix. In the absence of gcc being passed the "-mno-cygwin"
flag you should expect most source trees to configure themselves for
unix/X.

>At a basic level can I link to Windows libraries
>(which they all are since I am on windows) and expect
>the code to work in XFree86 on Cygwin?  I haven't
>tried this yet, obviously.

"No". Distinction needs to be made between "windows libraries" and
"windows dll". No for the former, yes for the latter provided you have a
tool to generate the former for compiler in question. Don't be concerned
with this. All the libraries exist.

>I know people have gotten Dillo to work, so GTK must
>work, but which version. 
>Should one always chose a version over another?
>thanks

Dillo compiles OOTB, or will once you've got enough of its requirements
installed. These are the versions lurking about on my system...

glib-1.2.10
gtk+-1.2.10
gdk-pixbuf-0.10.1
imlib-1.9.10

...iirc dillo only needs the first two. I don't recall gtk having any
xfree issues so we're probably going off-topic. Email if you get really
stuck.


-- 
swamp-dog@ntlworld.com


From spetreolle@yahoo.fr  Thu Oct  3 11:16:00 2002
From: spetreolle@yahoo.fr (=?iso-8859-1?q?Sylvain=20Petreolle?=)
Date: Thu, 03 Oct 2002 11:16:00 -0000
Subject: xterm Xt error: Can't open display
In-Reply-To: 
Message-ID: <20021003181650.27668.qmail@web10108.mail.yahoo.com>


read the FAQ :

http://xfree86.cygwin.com/docs/faq/cygwin-xfree-faq.html#q-error-font-eof
> Fatal server error:
> could not open default font 'fixed'
> 

___________________________________________________________
Do You Yahoo!? -- Une adresse @yahoo.fr gratuite et en fran??ais !
Yahoo! Mail : http://fr.mail.yahoo.com


From rrschulz@cris.com  Thu Oct  3 13:20:00 2002
From: rrschulz@cris.com (Randall R Schulz)
Date: Thu, 03 Oct 2002 13:20:00 -0000
Subject: cygwin-xfree Digest 1 Oct 2002 19:15:48 -0000 Issue 887
In-Reply-To: 
Message-ID: <5.1.0.14.2.20021003123541.02fd7e40@pop3.cris.com>

At 09:37 2002-10-03, Smafrozahsan@aol.com wrote:
>
How do i unsubscribe from this list ...please some one tell me. i didn't
>intentionally sign on to this list my younger brother tricked me into it.
>Sorry for your inconvinence..to all


Hi,

Hint attached. Use the corresponding header from your mail (please don't 
attempt to unsubscribe me...)

Randall Schulz
Mountain View, CA USA
-------------- next part --------------
A non-text attachment was scrubbed...
Name: Unsubscribe-Answer.gif
Type: image/gif
Size: 25699 bytes
Desc: not available
URL: 

From huntharo@msu.edu  Thu Oct  3 13:52:00 2002
From: huntharo@msu.edu (Harold L Hunt II)
Date: Thu, 03 Oct 2002 13:52:00 -0000
Subject: cygwin-xfree Digest 1 Oct 2002 19:15:48 -0000 Issue 887
References: <5.1.0.14.2.20021003123541.02fd7e40@pop3.cris.com>
Message-ID: <3D9CAE06.7090902@msu.edu>

Randall,

Now that is cool!  What program did you do the highlighting in?  I think 
we should make an AI program that automatically searches the FAQ or 
project website for anything following ``Why can't I [...]'' or ``How do 
I [...]'', grabs a screen shot, and highlights the relevant portion.  I 
think we should do it if for no other reason than the huge grin it gave 
me when I saw it :)

Harold

Randall R Schulz wrote:
> At 09:37 2002-10-03, Smafrozahsan@aol.com wrote:
> 
>> 
How do i unsubscribe from this list ...please some one tell me. i 
>> didn't
>> intentionally sign on to this list my younger brother tricked me into it.
>> Sorry for your inconvinence..to all
> 
> 
> 
> Hi,
> 
> Hint attached. Use the corresponding header from your mail (please don't 
> attempt to unsubscribe me...)
> 
> Randall Schulz
> Mountain View, CA USA
> 
> ------------------------------------------------------------------------
> 


From alexvn@come.to  Thu Oct  3 14:40:00 2002
From: alexvn@come.to (Alex Vinokur)
Date: Thu, 03 Oct 2002 14:40:00 -0000
Subject: xterm Xt error: Can't open display
References:  <20021003181650.27668.qmail@web10108.mail.yahoo.com>
Message-ID: 



"Sylvain Petreolle"  wrote in message news:20021003181650.27668.qmail@web10108.mail.yahoo.com...
>
> read the FAQ :
>
> http://xfree86.cygwin.com/docs/faq/cygwin-xfree-faq.html#q-error-font-eof
> > Fatal server error:
> > could not open default font 'fixed'
> >
>

Thanks.

I reinstalled Cygwin and Cygwin/XFree86.
Now it works.

   ==================
   Alex Vinokur
     mailto:alexvn@go.to
     http://up.to/alexvn
   ==================





From cgf@redhat.com  Thu Oct  3 15:08:00 2002
From: cgf@redhat.com (Christopher Faylor)
Date: Thu, 03 Oct 2002 15:08:00 -0000
Subject: cygwin-xfree Digest 1 Oct 2002 19:15:48 -0000 Issue 887
In-Reply-To: <5.1.0.14.2.20021003123541.02fd7e40@pop3.cris.com>
References:  <5.1.0.14.2.20021003123541.02fd7e40@pop3.cris.com>
Message-ID: <20021003220905.GA1083@redhat.com>

On Thu, Oct 03, 2002 at 12:37:15PM -0700, Randall R Schulz wrote:
>At 09:37 2002-10-03, Smafrozahsan@aol.com wrote:
>>
How do i unsubscribe from this list ...please some one tell me. i 
>>didn't
>>intentionally sign on to this list my younger brother tricked me into it.
>>Sorry for your inconvinence..to all
>
>
>Hi,
>
>Hint attached. Use the corresponding header from your mail (please don't 
>attempt to unsubscribe me...)

I actually took pity on this guy and unsubscribed him manually.  This was
actually one of the few people pleading to unsubscribe that actually had
the email address that they used to plead in the subscriber database.

Usually, the mail comes from "bob@bushwah.org" and the address that needs
to be unsubscribed is "Robert.Johnson@Wah.11.San.Francisco.Bush.org".  That's
why I always try to get people to unsubscribe themselves since the information
from the header (like what Randall provided) allows them to do that with ease.

I wonder if putting that gif image on the web site would be worthwhile.  It
would be interesting to see how often Randall would have to resubscribe to
the list.  :-)

cgf


From huntharo@msu.edu  Thu Oct  3 16:16:00 2002
From: huntharo@msu.edu (Harold L Hunt II)
Date: Thu, 03 Oct 2002 16:16:00 -0000
Subject: SSH Notes
Message-ID: <3D9CCFDA.7090309@msu.edu>

X11 tunnelling via SSH has always been somewhat of a mystery to me and 
to most other Cygwin/XFree86 users.  I knew that the instructions that I 
provided in the Cygwin/XFree86 User's Guide worked, but I did not know 
what most other methods of starting ssh and Cygwin/XFree86 did not work. 
  I have now found out what is going on, and I actually think that we 
may want to make a patch to openssh for Cygwin to make the system more 
fool-proof.  Below are my notes on what I found.

Notes on X11 Tunnelling
=======================

1) The key to X11 tunnelling via openssh is to have the ``DISPLAY'' 
environment variable defined in your Cygwin bash shell BEFORE you ssh 
into your remote host.  That is, you must run the following command 
before you run ssh:

export DISPLAY=127.0.0.1:0.0

2) You do not have to have your X Server (Cygwin/XFree86) running when 
you open your ssh session to your remote machine, but you have to have 
the DISPLAY variable set to a valid value.  Remember, you would open an 
ssh session with X11 forwarding like so:

ssh -X -C foo_user@foo_machine

3) The .Xauthority file is created on your remote host.  I always 
thought that the .Xauthority file was created on your Cygwin host, but I 
was wrong.  Thus, there are no problems with the .Xauthority file being 
stored in the wrong place in your Cygwin file system, as we have 
sometimes thought.

4) The instructions in the Cygwin/XFree86 User's Guide for ssh 
tunnelling work because you launch ssh from within an xterm, which has 
the DISPLAY variable set correctly already.

5) When ssh launches with the ``-X'' paramter (for X11 tunnelling) on 
Cygwin, it looks for the DISPLAY environment variable.  If DISPLAY is 
not defined, ssh assumes that you do not really want X11 tunnelling and 
it fails to set the DISPLAY environment variable on the remote host 
(which is the key step).

6) You cannot set the DISPLAY environment variable by hand on the remote 
host after connecting with ssh when the DISPLAY variable was not set on 
the Cygwin host when you launched.  You might have seen 
DISPLAY=localhost:10.0 in one of your previous sessions on your remote 
host and thought that you could just set the DISPLAY variable to that 
again, but you can't.  It appears that ssh just disables the X11 
tunnelling (silent failure, the worst kind) when the DISPLAY variable is 
not defined on your Cygwin host.


What to Fix
===========

ssh should assume ``DISPLAY=127.0.0.1:0.0'' when the DISPLAY variable is 
not set on the Cygwin host.  I am not sure why this is not currently the 
case.  I can only guess that the lack of this assumption is either do to 
1) a whiny security geek on the openssh project, or 2) that the assumed 
usage scenario for openssh is more like a Linux/X machine where you have 
probably got your X Server running when you connect to your remote 
machine with ssh, thus DISPLAY would already be set.

At the very least, we should patch the Cygwin release of openssh to 
assume that DISPLAY=127.0.0.1:0.0 when DISPLAY is not defined in the 
environment.  That would make X11 tunnelling much much easier for 95% of 
our users and I either can't see or I don't care about any 
pseduo-security hole that this might open up.  (Hey, if SSH Secure Shell 
makes this assumption, then we can too.)


Stupid Pet Tricks
+++++++++++++++++

NOTE: I can hardly advocate using either of the following commercial 
products.  But, users continually express interest in how to 
interoperate with these products, so I wanted to show that it is 
possible and I wanted to document how it is done.


Using SSH Secure Shell with Cygwin/XFree86
==========================================

NOTE: You do not, I repeat, NOT, need to run the xhost command on your 
Cygwin host.  In fact, that may break things.

1) Edit->Settings->Profile Settings->Tunnelling, check the ``Tunnel X11 
connections'' check box.

2) Edit->Settings->Profile Settings->Connection, select ``zlib'' from 
the Compression drop-down list box.  [optional, but recommended for slow 
network connections]

3) File->Save Settings

4) Open a connection to your remote host

5) Launch Cygwin/XFree86 using startxwin.bat, or your favorite method. 
[You can actuall do this step at any of the steps up until now.]

6) Launch your X Client from your SSH Secure Shell, for example, ``xterm''.

7) Observe that your X Client has shown up in Cygwin/XFree86.


Using Cygwin's OpenSSH with XWin-32
===================================

1) Launch XWin-32

2) Open XWin-32's X-Config program (usually done by right-clicking on 
the blue X icon in the system tray and choosing X-Config from the pop-up 
menu)

3) Navigate to the Security tab

4) Check the ``Use XAuth'' check box

5) Click the ``Add'' button and in the ``Add X Host'' window type 
``127.0.0.1'', then press ``OK'' on both dialog boxes.

6) Reset XWin-32 (usually done by right-clicking on the blue X icon in 
the system tray and choosing Reset from the pop-up menu)

7) Open a Cygwin bash shell by clicking or double-clicking your Cygwin icon.

8) In your Cygwin bash shell, run:

export DISPLAY=127.0.0.1:0.0

9) In your Cygwin bash shell, open an ssh session to your remote host 
with X11 tunnelling enabled (and I recommend the -C for compression on 
slow network links):

ssh -X -C foo_user@foo_machine

10) Launch your X Client from your ssh session in your Cygwin bash 
shell, for example, ``xterm''.

11) Observer that your X Client has shown up in XWin-32.



Neat, eh?


Eventually some of this information will find its way to the 
Cygwin/XFree86 User's Guide.  Until then, just post a link to the 
mailing list archive of this message whenever a user has questions about 
ssh and X11 tunnelling.


I hope this helps someone out there,

Harold


From rrschulz@cris.com  Thu Oct  3 19:43:00 2002
From: rrschulz@cris.com (Randall R Schulz)
Date: Thu, 03 Oct 2002 19:43:00 -0000
Subject: cygwin-xfree Digest 1 Oct 2002 19:15:48 -0000 Issue 887
In-Reply-To: <3D9CAE06.7090902@msu.edu>
References: <5.1.0.14.2.20021003123541.02fd7e40@pop3.cris.com>
Message-ID: <5.1.0.14.2.20021003192650.02fb65e8@pop3.cris.com>

Harold,

I'm glad you liked it. I used PhotoPlus 8 from Serif software 
(). I'm sure lots of image manipulation programs can 
do that. Surely GIMP can, right?

Randall Schulz
Mountain View, CA USA


At 13:52 2002-10-03, you wrote:
>Randall,
>
>Now that is cool!  What program did you do the highlighting in?  I think 
>we should make an AI program that automatically searches the FAQ or 
>project website for anything following ``Why can't I [...]'' or ``How do I 
>[...]'', grabs a screen shot, and highlights the relevant portion.  I 
>think we should do it if for no other reason than the huge grin it gave me 
>when I saw it :)
>
>Harold
>
>Randall R Schulz wrote:
>>At 09:37 2002-10-03, Smafrozahsan@aol.com wrote:
>>
>>>
How do i unsubscribe from this list ...please some one tell me. i 
>>>didn't
>>>intentionally sign on to this list my younger brother tricked me into it.
>>>Sorry for your inconvinence..to all
>>
>>Hi,
>>
>>Hint attached. Use the corresponding header from your mail (please don't
>>attempt to unsubscribe me...)
>>
>>
>>Randall Schulz
>>Mountain View, CA USA


From bagleyd@tux.org  Thu Oct  3 20:24:00 2002
From: bagleyd@tux.org (David A Bagley)
Date: Thu, 03 Oct 2002 20:24:00 -0000
Subject: Port of xlockmore-5.01.2 to latest Cygwin port of X11
In-Reply-To: <0H3E00KKM3HWB3@mta7.pltn13.pbi.net> from "Joseph I. Davida" at Oct 02, 2002 10:10:56 PM
Message-ID: <200210040323.XAA04995@gwyn.tux.org>

Hi

I got xlock working on Cygwin.
WOW its my first time using Cygwin, I could believe how easy it was
to download and get running.

I just needed the below patch for logout.c
I use __CYGWIN__ for the #define variable.
I am using xlockmore-5.06ALPHA03.tar.bz2 (5.02 and greater has all the
other Cygwin patches built in).
I'll see that the logout.c patch gets in the next release.

Password works if you initially say

configure --enable-xlockrc

The first time you run xlock it will set up a key and store it in
.xlockrc

If you don't configure it that way it seems to kill my x server.


> I had to kludge it in order to make it compile
> correctly on Cygwin (on win2k).
> However, cygwin still does not properly support
> passwords, so xlock is unable to verify
> the password. This problem affects other programs that
> require password verification as well.
> 
> Hopefully, xlockmore's maintaner will fix the configure
> script to recognize cygwin and generate the 
> right #define's and #include's
> 
> 
> In particular, the files I had
> to change are:
> 
> 
> modes/dclock.c
> 903c903
> <       extern long timezone;
> ---
> >       // extern long timezone;
> due to confilict with timezone def in time.h
> 
> 
> /modes/solitare.cc  Changed every  occurance of round(..
> to myround(...
> 
> because it was confilicting with round declaration in math.h
> 
> 
> 
> xlock/logout.c
> 34a35
> > #include 
> 
> 
> ./xlock/xlock.c
> 180a181,182
> > #define       CYGWIN
> >
> 2697c2699
> < #if defined( SYSV ) || defined( SVR4 ) || ( __VMS_VER >= 70000000 )
> ---
> > #if defined( SYSV ) || defined( SVR4 ) || ( __VMS_VER >= 70000000 ) || defined( CYGWIN )
> 2744c2746
> < #if defined( SYSV ) || defined( SVR4 ) || ( __VMS_VER >= 70000000 )
> ---
> > #if defined( SYSV ) || defined( SVR4 ) || ( __VMS_VER >= 70000000 ) || defined( CYGWIN )
> 3640c3642
> < #if defined( SYSV ) || defined( SVR4 ) || ( __VMS_VER >= 70000000 )
> ---
> > #if defined( SYSV ) || defined( SVR4 ) || ( __VMS_VER >= 70000000 ) || defined( CYGWIN )
> 3708a3711
> >
> 
> 
> xmlock/Makefile
> 95c95
> < XMLOCKLIBS = -L/usr/X11R6/lib  -L/usr/X11R6/lib -L/usr/X11R6/lib
> -L/usr/X11R6/lib -lXpm -lXmu -lXm -lXt  -lX11
> ---
> > XMLOCKLIBS = -L/usr/X11R6/lib -lXpm -lXmu -lXm -lXt  -lX11 -lSM -lICE
> 


-- 
Cheers,
 /X\  David A. Bagley
(( X  bagleyd@tux.org     http://www.tux.org/~bagleyd/
 \X/  xlockmore and more   ftp://ftp.tux.org/pub/tux/bagleyd


From Alexander.Gottwald@informatik.tu-chemnitz.de  Fri Oct  4 02:56:00 2002
From: Alexander.Gottwald@informatik.tu-chemnitz.de (Alexander Gottwald)
Date: Fri, 04 Oct 2002 02:56:00 -0000
Subject: SSH Notes
In-Reply-To: <3D9CCFDA.7090309@msu.edu>
Message-ID: 

Harold L Hunt II wrote:

> ssh should assume ``DISPLAY=127.0.0.1:0.0'' when the DISPLAY variable is 
> not set on the Cygwin host.  I am not sure why this is not currently the 
> case.  I can only guess that the lack of this assumption is either do to 
> 1) a whiny security geek on the openssh project, or 2) that the assumed 
> usage scenario for openssh is more like a Linux/X machine where you have 
> probably got your X Server running when you connect to your remote 
> machine with ssh, thus DISPLAY would already be set.

What if you are remote on an machine (linux or cygwin, does not matter) and
a user has already started a xserver on localhost:0.0. You are not allowed
to connect. So you don't set DISPLAY. If ssh would automaticly set DISPLAY
it would try to connect to an xserver which then refuses the connect. 
ssh would abort because of an error. Not setting DISPLAY means "don't use X"

If users want DIPLAY explicitly set they can add it to their .profile

bye
    ago
-- 
 Alexander.Gottwald@informatik.tu-chemnitz.de 
 http://www.gotti.org           ICQ: 126018723


From strube@physik3.gwdg.de  Fri Oct  4 03:59:00 2002
From: strube@physik3.gwdg.de (Hans Werner Strube)
Date: Fri, 04 Oct 2002 03:59:00 -0000
Subject: nedit-5.3, Cygwin
Message-ID: <200210041059.MAA22545@r2d2.physik3.gwdg.de>

For building nedit-5.3 (or 5.1.1) in Cygwin 1.3.12 with XFree86 4.2.0
and lesstif 0.93.18, change /usr/X11R6.4/ to /usr/X11R6/ in
makefiles/Makefile.cygwin, lines 10 and 12 (or 5 and 7 in nedit-5.1.1).

(discuss@nedit.org: I am not subscribed to this mailing list)


From huntharo@msu.edu  Fri Oct  4 06:57:00 2002
From: huntharo@msu.edu (Harold Hunt)
Date: Fri, 04 Oct 2002 06:57:00 -0000
Subject: SSH Notes
In-Reply-To: 
Message-ID: 



> -----Original Message-----
> From: cygwin-xfree-owner@cygwin.com
> [mailto:cygwin-xfree-owner@cygwin.com]On Behalf Of Alexander Gottwald
> Sent: Friday, October 04, 2002 5:57 AM
> To: cygwin-xfree@cygwin.com
> Subject: Re: SSH Notes
>
>
> Harold L Hunt II wrote:
>
> > ssh should assume ``DISPLAY=127.0.0.1:0.0'' when the DISPLAY
> variable is
> > not set on the Cygwin host.  I am not sure why this is not
> currently the
> > case.  I can only guess that the lack of this assumption is
> either do to
> > 1) a whiny security geek on the openssh project, or 2) that the assumed
> > usage scenario for openssh is more like a Linux/X machine where
> you have
> > probably got your X Server running when you connect to your remote
> > machine with ssh, thus DISPLAY would already be set.
>
> What if you are remote on an machine (linux or cygwin, does not
> matter) and
> a user has already started a xserver on localhost:0.0. You are not allowed
> to connect. So you don't set DISPLAY. If ssh would automaticly set DISPLAY
> it would try to connect to an xserver which then refuses the connect.
> ssh would abort because of an error. Not setting DISPLAY means
> "don't use X"
>

That doesn't make any sense.  ssh picks up the DISPLAY value on your Cygwin
host because it needs to know where to direct the data that comes in over
the X11 tunnel.  So, a DISPLAY of 127.0.0.1 on your Cygwin host can only
cause ssh to try to connect to the X Server on your Cygwin host ---
127.0.0.1 does not mean that ssh will try to connect to the remote host's
local X Server.

My point is, why on earth did the user run ``ssh -X [...]'' if they did not
want to actually enable X11 tunnelling?  I would say it is a pretty safe
assumption that they want to use the X Server on their Cygwin host to
display the tunnelled data.  Most users are entirely confused when they run
``ssh -X [...]'' and X11 tunnelling does not actually get enabled.  We
should not be making users jump through any hoops to use X11 tunnelling.

> If users want DIPLAY explicitly set they can add it to their .profile
>

Are we talking about the same type of users?  :)

Harold

> bye
>     ago
> --
>  Alexander.Gottwald@informatik.tu-chemnitz.de
>  http://www.gotti.org           ICQ: 126018723
>


From j_tetazoo@hotmail.com  Fri Oct  4 07:35:00 2002
From: j_tetazoo@hotmail.com (Thomas Chadwick)
Date: Fri, 04 Oct 2002 07:35:00 -0000
Subject: SSH Notes
Message-ID: 

>From: Harold L Hunt II 
>Reply-To: cygwin-xfree@cygwin.com
>To: cygwin-xfree@cygwin.com
>Subject: SSH Notes
>Date: Thu, 03 Oct 2002 19:16:42 -0400
>
>X11 tunnelling via SSH has always been somewhat of a mystery to me and to 
>most other Cygwin/XFree86 users.  I knew that the instructions that I 
>provided in the Cygwin/XFree86 User's Guide worked, but I did not know what 
>most other methods of starting ssh and Cygwin/XFree86 did not work.  I have 
>now found out what is going on, and I actually think that we may want to 
>make a patch to openssh for Cygwin to make the system more fool-proof.  
>Below are my notes on what I found.
>
>Notes on X11 Tunnelling
>=======================
>
>1) The key to X11 tunnelling via openssh is to have the ``DISPLAY'' 
>environment variable defined in your Cygwin bash shell BEFORE you ssh into 
>your remote host.  That is, you must run the following command before you 
>run ssh:
>
>export DISPLAY=127.0.0.1:0.0
>
>2) You do not have to have your X Server (Cygwin/XFree86) running when you 
>open your ssh session to your remote machine, but you have to have the 
>DISPLAY variable set to a valid value.  Remember, you would open an ssh 
>session with X11 forwarding like so:
>
>ssh -X -C foo_user@foo_machine
>
>3) The .Xauthority file is created on your remote host.  I always thought 
>that the .Xauthority file was created on your Cygwin host, but I was wrong. 
>  Thus, there are no problems with the .Xauthority file being stored in the 
>wrong place in your Cygwin file system, as we have sometimes thought.

All of this information is in the ssh man page:

X11 and TCP forwarding

   If the ForwardX11 variable is set to ``yes'' (or, see the description of
   the -X and -x options described later) and the user is using X11 (the
   DISPLAY environment variable is set), the connection to the X11 display
   is automatically forwarded to the remote side in such a way that any X11
   programs started from the shell (or command) will go through the
   encrypted channel, and the connection to the real X server will be made
   from the local machine.  The user should not manually set DISPLAY.  For-
   warding of X11 connections can be configured on the command line or in
   configuration files.

   The DISPLAY value set by ssh will point to the server machine, but with a
   display number greater than zero.  This is normal, and happens because
   ssh creates a ``proxy'' X server on the server machine for forwarding the
   connections over the encrypted channel.

   ssh will also automatically set up Xauthority data on the server machine.
   For this purpose, it will generate a random authorization cookie, store
   it in Xauthority on the server, and verify that any forwarded connections
   carry this cookie and replace it by the real cookie when the connection
   is opened.  The real authentication cookie is never sent to the server
   machine (and no cookies are sent in the plain).

Admittedly, it's not altogether very clear.  And they're using the term 
"server" in a confusing way.  Personally I think they should use "remote 
machine" or "far-end machine" instead of "server machine", since "server" 
has a particular connotation when talking about X11.

>4) The instructions in the Cygwin/XFree86 User's Guide for ssh tunnelling 
>work because you launch ssh from within an xterm, which has the DISPLAY 
>variable set correctly already.
>
>5) When ssh launches with the ``-X'' paramter (for X11 tunnelling) on 
>Cygwin, it looks for the DISPLAY environment variable.  If DISPLAY is not 
>defined, ssh assumes that you do not really want X11 tunnelling and it 
>fails to set the DISPLAY environment variable on the remote host (which is 
>the key step).
>
>6) You cannot set the DISPLAY environment variable by hand on the remote 
>host after connecting with ssh when the DISPLAY variable was not set on the 
>Cygwin host when you launched.  You might have seen DISPLAY=localhost:10.0 
>in one of your previous sessions on your remote host and thought that you 
>could just set the DISPLAY variable to that again, but you can't.  It 
>appears that ssh just disables the X11 tunnelling (silent failure, the 
>worst kind) when the DISPLAY variable is not defined on your Cygwin host.
>
>
>What to Fix
>===========
>
>ssh should assume ``DISPLAY=127.0.0.1:0.0'' when the DISPLAY variable is 
>not set on the Cygwin host.  I am not sure why this is not currently the 
>case.  I can only guess that the lack of this assumption is either do to 1) 
>a whiny security geek on the openssh project, or 2) that the assumed usage 
>scenario for openssh is more like a Linux/X machine where you have probably 
>got your X Server running when you connect to your remote machine with ssh, 
>thus DISPLAY would already be set.
>
>At the very least, we should patch the Cygwin release of openssh to assume 
>that DISPLAY=127.0.0.1:0.0 when DISPLAY is not defined in the environment.  
>That would make X11 tunnelling much much easier for 95% of our users and I 
>either can't see or I don't care about any pseduo-security hole that this 
>might open up.  (Hey, if SSH Secure Shell makes this assumption, then we 
>can too.)

I don't agree with this fix.  I think the correct fix should be to make ssh 
die if the -X flag is specified  but the DISPLAY variable is not set 
(instead of quietly continuing on in a somewhat broken state).  A simple 
error message like the following should be sufficient: "Error: In order to 
enable X11 forwarding the DISPLAY variable must be set".

I know you want to make ssh behave correctly for the masses, but you don't 
want to make it behave incorrectly for advanced users trying to debug their 
code.  For instance, I may have 3 different screens running on my local box 
(:0, :1, and :2) and want to set up an ssh channel between screen :2 and a 
remote machine.  If I screw up the way I assign a value to DISPLAY, I don't 
want ssh to keep going and forward my X traffic to the wrong display!


_________________________________________________________________
Chat with friends online, try MSN Messenger: http://messenger.msn.com


From Alexander.Gottwald@informatik.tu-chemnitz.de  Fri Oct  4 07:46:00 2002
From: Alexander.Gottwald@informatik.tu-chemnitz.de (Alexander Gottwald)
Date: Fri, 04 Oct 2002 07:46:00 -0000
Subject: SSH Notes
In-Reply-To: 
Message-ID: 

Harold Hunt wrote:
> That doesn't make any sense.  ssh picks up the DISPLAY value on your Cygwin
> host because it needs to know where to direct the data that comes in over
> the X11 tunnel.  So, a DISPLAY of 127.0.0.1 on your Cygwin host can only
> cause ssh to try to connect to the X Server on your Cygwin host ---
> 127.0.0.1 does not mean that ssh will try to connect to the remote host's
> local X Server.

But how do you know that the Xserver on the cygwin host was run the user? 
Maybe he is also logging in (to the cygwin host) via ssh or telnet.

> 
> My point is, why on earth did the user run ``ssh -X [...]'' if they did not
> want to actually enable X11 tunnelling?  

/etc/ssh/ssh_config might contain "ForwardX11 yes". Now you confuse all
users which want to use only ssh but don't have a xserver running.

> I would say it is a pretty safe
> assumption that they want to use the X Server on their Cygwin host to
> display the tunnelled data.  Most users are entirely confused when they run
> ``ssh -X [...]'' and X11 tunnelling does not actually get enabled.  We
> should not be making users jump through any hoops to use X11 tunnelling.

I don't think it is a good idea to do some implict configuration changes
and I don't expect that such a patch would ever reach the openssh cvs.

SuSE has a similar thing in their default .profile

if test -z "$DISPLAY" -a "$TERM" = "xterm" -a -x /usr/bin/who ; then
    WHOAMI="`/usr/bin/who am i`"
    _DISPLAY="`expr "$WHOAMI" : '.*(\([^\.][^\.]*\).*)'`:0.0"
    if [ "${_DISPLAY}" != ":0:0.0" -a "${_DISPLAY}" != " :0.0" \
         -a "${_DISPLAY}" != ":0.0" ]; then
        export DISPLAY="${_DISPLAY}";
    fi
    unset WHOAMI _DISPLAY
fi

And there are a lot of cases where this does not work and you search a 
long time for error.

> > If users want DIPLAY explicitly set they can add it to their .profile
> >
> 
> Are we talking about the same type of users?  :)

No I don't think so. I still expect some kind of clevernes from the user *g*
But I know we can't expect it for all windows users :(

-- 
 Alexander.Gottwald@informatik.tu-chemnitz.de 
 http://www.gotti.org           ICQ: 126018723


From j_tetazoo@hotmail.com  Fri Oct  4 07:51:00 2002
From: j_tetazoo@hotmail.com (Thomas Chadwick)
Date: Fri, 04 Oct 2002 07:51:00 -0000
Subject: SSH Notes
Message-ID: 

>From: Harold L Hunt II 
>Reply-To: cygwin-xfree@cygwin.com
>To: cygwin-xfree@cygwin.com
>Subject: SSH Notes
>Date: Thu, 03 Oct 2002 19:16:42 -0400

[snip]

>At the very least, we should patch the Cygwin release of openssh to assume 
>that DISPLAY=127.0.0.1:0.0 when DISPLAY is not defined in the environment.  
>That would make X11 tunnelling much much easier for 95% of our users and I 
>either can't see or I don't care about any pseduo-security hole that this 
>might open up.  (Hey, if SSH Secure Shell makes this assumption, then we 
>can too.)

Come to think of it, why can't we introduce a wrapper script (we could call 
it xssh) instead of patching ssh itself?  Here's my suggestion:

#!/bin/sh

if [ -n "$DISPLAY" ]
then
  echo "Error: In order to enable X11 forwarding the DISPLAY variable must 
be set"
  exit
fi

ssh -X $*


Or, alternatively:

if [ -n "$DISPLAY" ]
then
  export DISPLAY=127.0.0.1:0.0
fi

ssh -X $*


_________________________________________________________________
Chat with friends online, try MSN Messenger: http://messenger.msn.com


From davidf@sjsoft.com  Fri Oct  4 07:53:00 2002
From: davidf@sjsoft.com (David Fraser)
Date: Fri, 04 Oct 2002 07:53:00 -0000
Subject: SSH Notes
References: 
Message-ID: <3D9DAB62.7090008@sjsoft.com>

Thomas Chadwick wrote:

>> What to Fix
>> ===========
>>
>> ssh should assume ``DISPLAY=127.0.0.1:0.0'' when the DISPLAY variable 
>> is not set on the Cygwin host.  I am not sure why this is not 
>> currently the case.  I can only guess that the lack of this 
>> assumption is either do to 1) a whiny security geek on the openssh 
>> project, or 2) that the assumed usage scenario for openssh is more 
>> like a Linux/X machine where you have probably got your X Server 
>> running when you connect to your remote machine with ssh, thus 
>> DISPLAY would already be set.
>>
>> At the very least, we should patch the Cygwin release of openssh to 
>> assume that DISPLAY=127.0.0.1:0.0 when DISPLAY is not defined in the 
>> environment.  That would make X11 tunnelling much much easier for 95% 
>> of our users and I either can't see or I don't care about any 
>> pseduo-security hole that this might open up.  (Hey, if SSH Secure 
>> Shell makes this assumption, then we can too.)
>
>
> I don't agree with this fix.  I think the correct fix should be to 
> make ssh die if the -X flag is specified  but the DISPLAY variable is 
> not set (instead of quietly continuing on in a somewhat broken 
> state).  A simple error message like the following should be 
> sufficient: "Error: In order to enable X11 forwarding the DISPLAY 
> variable must be set".
>
> I know you want to make ssh behave correctly for the masses, but you 
> don't want to make it behave incorrectly for advanced users trying to 
> debug their code.  For instance, I may have 3 different screens 
> running on my local box (:0, :1, and :2) and want to set up an ssh 
> channel between screen :2 and a remote machine.  If I screw up the way 
> I assign a value to DISPLAY, I don't want ssh to keep going and 
> forward my X traffic to the wrong display!

I agree. In fact even a warning would be great. Then you could have the 
ForwardX11 variable set to yes in /etc/ssh_config or ~/.ssh/config and 
there would be a warning as well. Also a warning if DISPLAY is not set 
would be useful in all versions of openssh, not just the cygwin one, so 
hopefully it could go into the main trunk and we wouldn't have to patch 
it specificly.

David



From andrew_gouldey@hp.com  Fri Oct  4 10:41:00 2002
From: andrew_gouldey@hp.com (GOULDEY,ANDREW (HP-FtCollins,ex1))
Date: Fri, 04 Oct 2002 10:41:00 -0000
Subject: right 1/4 of XWin.exe window displays white bar instead of graphi
	cs on wide display
Message-ID: 

Hi,

I am trying to use Cygwin/XFree86 as an X server on my PC so that I can
remote-display my hpux box.  When I start up X, I get a window that fills my
entire screen, but I only see the cursor and thatch background pattern on
the left 3/4 of the window; the right 1/4 of the window is white, and if I
move the cursor over it, the cursor disappears.

My setup:
NVIDIA Quadro4 900XGL w/ 128MB, dual monitor
Win2k, SP3
either 2560x1024x32bpp or 3200x1200x32bpp

The /tmp/XWin.log file indicates that XWin.exe thinks it is using the whole
screen, and when I fire up gnome on my hpux box, it seems to think it has
the full XWin window to work with (but I can only see the left 3/4 of my
unix desktop).

My /tmp/XWin.log:
$ cat /tmp/XWin.log
winInitializeDefaultScreens - w 3200 h 1200
winInitializeDefaultScreens - Returning
_XSERVTransmkdir: Owner of /tmp/.X11-unix should be set to root
winDetectSupportedEngines - Windows NT/2000/XP
winDetectSupportedEngines - DirectDraw installed
winDetectSupportedEngines - Allowing PrimaryDD
winDetectSupportedEngines - DirectDraw4 installed
winDetectSupportedEngines - Returning, supported engines 0000001f
winSetEngine - Using Shadow DirectDraw NonLocking
winAdjustVideoModeShadowDDNL - Using Windows display depth of 32 bits per
pixel
winAdjustForAutoHide - Original WorkArea: 0 2 1172 3200
winAdjustForAutoHide - Found LEFT auto-hide taskbar
winAdjustForAutoHide - Adjusted WorkArea: 0 3 1172 3200
winCreateBoundingWindowWindowed - WindowClient w 3191 h 1147 r 3191 l 0 b
1147 t 0
winCreateBoundingWindowWindowed -  Returning
winAllocateFBShadowDDNL - lPitch: 12764
winFinishScreenInitFB - Masks: 00ff0000 0000ff00 000000ff
winInitVisualsShadowDDNL - Masks 00ff0000 0000ff00 000000ff BPRGB 8 d 24 bpp
32
winCreateDefColormap - Deferring to fbCreateDefColormap ()
winScreenInit - returning

I can't figure out how to tell what version of XWin.exe I have installed,
but I just grabbed it a week or two ago, and 'man XWin' has a "4.2.0" at the
bottom, so it should be up-to-date.

By playing around with the -screen option, I have determined that the
maximum width I can get without the white bar appearing is 2040 or 2041
pixels.

The interesting thing is that I can get a full dual-monitor display (without
the white bar) if I go into window's Display
Properties->Settings->Advanced->Troubleshooting and move the hardware
acceleration slider to a position that disables directdraw/direct3d.

Has anyone successfully run Cygwin/XFree86 on a display wider than 2040
pixels with directx enabled?  On an NVIDIA card?  ATI card?  I updated my
drivers to the latest and greatest, and it made no difference.  I can
successfully run ReflectionX (commercial X server) full screen on my dual
monitor setup (I assume that uses directx also, so I am not convinced it is
just my video card), but I haven't been all that happy with ReflectionX.

Any help would be appreciated.

Andrew

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
https://ecardfile.com/id/Andrew+Gouldey


From john.r.morrison@ntlworld.com  Fri Oct  4 10:59:00 2002
From: john.r.morrison@ntlworld.com (John Morrison)
Date: Fri, 04 Oct 2002 10:59:00 -0000
Subject: SSH Notes
In-Reply-To: 
Message-ID: 

On Fri, 4 Oct 2002, Alexander Gottwald wrote:

> SuSE has a similar thing in their default .profile

Is that /etc/profile or ~/.bash_profile?

> if test -z "$DISPLAY" -a "$TERM" = "xterm" -a -x /usr/bin/who ; then
>     WHOAMI="`/usr/bin/who am i`"
>     _DISPLAY="`expr "$WHOAMI" : '.*(\([^\.][^\.]*\).*)'`:0.0"
>     if [ "${_DISPLAY}" != ":0:0.0" -a "${_DISPLAY}" != " :0.0" \
>          -a "${_DISPLAY}" != ":0.0" ]; then
>         export DISPLAY="${_DISPLAY}";
>     fi
>     unset WHOAMI _DISPLAY
> fi
>
> And there are a lot of cases where this does not work and you search a
> long time for error.

So, not something folks would like me to add to /etc/profile?

J.


From huntharo@msu.edu  Fri Oct  4 13:40:00 2002
From: huntharo@msu.edu (Harold Hunt)
Date: Fri, 04 Oct 2002 13:40:00 -0000
Subject: right 1/4 of XWin.exe window displays white bar instead of graphics on wide display
In-Reply-To: 
Message-ID: 

Could you send in a link to a screenshot of this?  Or, personally email me a
PNG of this and I will post a link to it.  Do not send the graphic to the
mailing list, as most users do not want to download a large image from the
mailing list.

Harold

> -----Original Message-----
> From: cygwin-xfree-owner@cygwin.com
> [mailto:cygwin-xfree-owner@cygwin.com]On Behalf Of GOULDEY,ANDREW
> (HP-FtCollins,ex1)
> Sent: Friday, October 04, 2002 1:41 PM
> To: 'cygwin-xfree@cygwin.com'
> Subject: right 1/4 of XWin.exe window displays white bar instead of
> graphics on wide display
>
>
> Hi,
>
> I am trying to use Cygwin/XFree86 as an X server on my PC so that I can
> remote-display my hpux box.  When I start up X, I get a window
> that fills my
> entire screen, but I only see the cursor and thatch background pattern on
> the left 3/4 of the window; the right 1/4 of the window is white, and if I
> move the cursor over it, the cursor disappears.
>
> My setup:
> NVIDIA Quadro4 900XGL w/ 128MB, dual monitor
> Win2k, SP3
> either 2560x1024x32bpp or 3200x1200x32bpp
>
> The /tmp/XWin.log file indicates that XWin.exe thinks it is using
> the whole
> screen, and when I fire up gnome on my hpux box, it seems to think it has
> the full XWin window to work with (but I can only see the left 3/4 of my
> unix desktop).
>
> My /tmp/XWin.log:
> $ cat /tmp/XWin.log
> winInitializeDefaultScreens - w 3200 h 1200
> winInitializeDefaultScreens - Returning
> _XSERVTransmkdir: Owner of /tmp/.X11-unix should be set to root
> winDetectSupportedEngines - Windows NT/2000/XP
> winDetectSupportedEngines - DirectDraw installed
> winDetectSupportedEngines - Allowing PrimaryDD
> winDetectSupportedEngines - DirectDraw4 installed
> winDetectSupportedEngines - Returning, supported engines 0000001f
> winSetEngine - Using Shadow DirectDraw NonLocking
> winAdjustVideoModeShadowDDNL - Using Windows display depth of 32 bits per
> pixel
> winAdjustForAutoHide - Original WorkArea: 0 2 1172 3200
> winAdjustForAutoHide - Found LEFT auto-hide taskbar
> winAdjustForAutoHide - Adjusted WorkArea: 0 3 1172 3200
> winCreateBoundingWindowWindowed - WindowClient w 3191 h 1147 r 3191 l 0 b
> 1147 t 0
> winCreateBoundingWindowWindowed -  Returning
> winAllocateFBShadowDDNL - lPitch: 12764
> winFinishScreenInitFB - Masks: 00ff0000 0000ff00 000000ff
> winInitVisualsShadowDDNL - Masks 00ff0000 0000ff00 000000ff BPRGB
> 8 d 24 bpp
> 32
> winCreateDefColormap - Deferring to fbCreateDefColormap ()
> winScreenInit - returning
>
> I can't figure out how to tell what version of XWin.exe I have installed,
> but I just grabbed it a week or two ago, and 'man XWin' has a
> "4.2.0" at the
> bottom, so it should be up-to-date.
>
> By playing around with the -screen option, I have determined that the
> maximum width I can get without the white bar appearing is 2040 or 2041
> pixels.
>
> The interesting thing is that I can get a full dual-monitor
> display (without
> the white bar) if I go into window's Display
> Properties->Settings->Advanced->Troubleshooting and move the hardware
> acceleration slider to a position that disables directdraw/direct3d.
>
> Has anyone successfully run Cygwin/XFree86 on a display wider than 2040
> pixels with directx enabled?  On an NVIDIA card?  ATI card?  I updated my
> drivers to the latest and greatest, and it made no difference.  I can
> successfully run ReflectionX (commercial X server) full screen on my dual
> monitor setup (I assume that uses directx also, so I am not
> convinced it is
> just my video card), but I haven't been all that happy with ReflectionX.
>
> Any help would be appreciated.
>
> Andrew
>
> ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> https://ecardfile.com/id/Andrew+Gouldey


From rbrook@cim.mcgill.ca  Fri Oct  4 21:08:00 2002
From: rbrook@cim.mcgill.ca (Rupert Brooks)
Date: Fri, 04 Oct 2002 21:08:00 -0000
Subject: x apps cant start from bash
Message-ID: 

Hi
 - having a strange problem here.  Just installed a fresh install of
Cygwin / Xfree.  startxwin.bat works, and an xterm appears.  From that
xterm I can start other xapps and they work.

BUT, from another cygwin bash shell, started independently, I get the
following error
xterm XT error: Can't open display:

I have tried with numerous variations in the DISPLAY variable
localhost:0
localhost:0.0
127.0.0.1:0
127.0.0.1:0.0
192.168.1.150:0.0

etc

I have done a tracert on all those addresses, and my routing seems ok,
that is packets for the localhost don't get routed out into the network
where the router might frig with them.

Xwin.log shows no signs of having refused the connections.  So I am
guessing that the request never made it to the Xserver.

The problem I am ultimately trying to solve, is to get a remote connection
tunnelled over openSSH or putty.  I have that setup on another machine,
and working well.  there are two differences with this machine - this OS
is WinME not Win2K, and this one lives behind a LinkSys router.  

Anyway, I think I should get the local set up working right first before
trying to diagnose the SSH part.  I don't see, though, why the router
should stop packets from the localhost.  There is no firewall software on
this machine.

Has anyone seen this before?  Can anyone suggest where else to look?

Thanks much
Rupert B.

-- 
--------------------------------------------------------------
Rupert Brooks
McGill Centre for Intelligent Machines (www.cim.mcgill.ca)
PhD. Student
http://www.cyberus.ca/~rbrooks
rbrook@cim.mcgill.ca
ICQ: 27978014  CELL: 6137997873  
SMS: send short mail to @pcs.rogers.com




From rbrook@cim.mcgill.ca  Sat Oct  5 12:59:00 2002
From: rbrook@cim.mcgill.ca (Rupert Brooks)
Date: Sat, 05 Oct 2002 12:59:00 -0000
Subject: x apps cant start from bash
In-Reply-To: 
Message-ID: 

Solved my own problem; sorry to bother y'all

FTR, the solution is that 
a) if the DISPLAY variable in bash is set without export, then when SSH
starts up its not noticed, and then SSH does not notice where to send
the X11 stream

b) you have to set and export the display variable, it is neither set
automatically, nor does ssh have a default.

I'm a tcsh user, so didnt realize that necessity under bash.

This seems to be covered in the SSH notes message, sorry I didn't see that
before.

Rupert B


On Sat, 5 Oct 2002, Rupert Brooks wrote:

> Hi
>  - having a strange problem here.  Just installed a fresh install of
> Cygwin / Xfree.  startxwin.bat works, and an xterm appears.  From that
> xterm I can start other xapps and they work.
> 
> BUT, from another cygwin bash shell, started independently, I get the
> following error
> xterm XT error: Can't open display:
> 
> I have tried with numerous variations in the DISPLAY variable
> localhost:0
> localhost:0.0
> 127.0.0.1:0
> 127.0.0.1:0.0
> 192.168.1.150:0.0
> 
> etc
> 
> I have done a tracert on all those addresses, and my routing seems ok,
> that is packets for the localhost don't get routed out into the network
> where the router might frig with them.
> 
> Xwin.log shows no signs of having refused the connections.  So I am
> guessing that the request never made it to the Xserver.
> 
> The problem I am ultimately trying to solve, is to get a remote connection
> tunnelled over openSSH or putty.  I have that setup on another machine,
> and working well.  there are two differences with this machine - this OS
> is WinME not Win2K, and this one lives behind a LinkSys router.  
> 
> Anyway, I think I should get the local set up working right first before
> trying to diagnose the SSH part.  I don't see, though, why the router
> should stop packets from the localhost.  There is no firewall software on
> this machine.
> 
> Has anyone seen this before?  Can anyone suggest where else to look?
> 
> Thanks much
> Rupert B.
> 
> 

-- 
--------------------------------------------------------------
Rupert Brooks
McGill Centre for Intelligent Machines (www.cim.mcgill.ca)
PhD. Student
http://www.cyberus.ca/~rbrooks
rbrook@cim.mcgill.ca
ICQ: 27978014  CELL: 6137997873  
SMS: send short mail to @pcs.rogers.com




From huntharo@msu.edu  Sat Oct  5 14:03:00 2002
From: huntharo@msu.edu (Harold Hunt)
Date: Sat, 05 Oct 2002 14:03:00 -0000
Subject: x apps cant start from bash
In-Reply-To: 
Message-ID: 

Rupert,

Hey, we like users that solve their own problems, we would like you to stick
around :)

Harold

> -----Original Message-----
> From: cygwin-xfree-owner@cygwin.com
> [mailto:cygwin-xfree-owner@cygwin.com]On Behalf Of Rupert Brooks
> Sent: Saturday, October 05, 2002 4:00 PM
> To: cygwin-xfree@cygwin.com
> Subject: Re: x apps cant start from bash
>
>
> Solved my own problem; sorry to bother y'all
>
> FTR, the solution is that
> a) if the DISPLAY variable in bash is set without export, then when SSH
> starts up its not noticed, and then SSH does not notice where to send
> the X11 stream
>
> b) you have to set and export the display variable, it is neither set
> automatically, nor does ssh have a default.
>
> I'm a tcsh user, so didnt realize that necessity under bash.
>
> This seems to be covered in the SSH notes message, sorry I didn't see that
> before.
>
> Rupert B
>
>
> On Sat, 5 Oct 2002, Rupert Brooks wrote:
>
> > Hi
> >  - having a strange problem here.  Just installed a fresh install of
> > Cygwin / Xfree.  startxwin.bat works, and an xterm appears.  From that
> > xterm I can start other xapps and they work.
> >
> > BUT, from another cygwin bash shell, started independently, I get the
> > following error
> > xterm XT error: Can't open display:
> >
> > I have tried with numerous variations in the DISPLAY variable
> > localhost:0
> > localhost:0.0
> > 127.0.0.1:0
> > 127.0.0.1:0.0
> > 192.168.1.150:0.0
> >
> > etc
> >
> > I have done a tracert on all those addresses, and my routing seems ok,
> > that is packets for the localhost don't get routed out into the network
> > where the router might frig with them.
> >
> > Xwin.log shows no signs of having refused the connections.  So I am
> > guessing that the request never made it to the Xserver.
> >
> > The problem I am ultimately trying to solve, is to get a remote
> connection
> > tunnelled over openSSH or putty.  I have that setup on another machine,
> > and working well.  there are two differences with this machine - this OS
> > is WinME not Win2K, and this one lives behind a LinkSys router.
> >
> > Anyway, I think I should get the local set up working right first before
> > trying to diagnose the SSH part.  I don't see, though, why the router
> > should stop packets from the localhost.  There is no firewall
> software on
> > this machine.
> >
> > Has anyone seen this before?  Can anyone suggest where else to look?
> >
> > Thanks much
> > Rupert B.
> >
> >
>
> --
> --------------------------------------------------------------
> Rupert Brooks
> McGill Centre for Intelligent Machines (www.cim.mcgill.ca)
> PhD. Student
> http://www.cyberus.ca/~rbrooks
> rbrook@cim.mcgill.ca
> ICQ: 27978014  CELL: 6137997873
> SMS: send short mail to @pcs.rogers.com
>
>
>


From rbrook@cim.mcgill.ca  Sun Oct  6 05:51:00 2002
From: rbrook@cim.mcgill.ca (Rupert Brooks)
Date: Sun, 06 Oct 2002 05:51:00 -0000
Subject: x apps cant start from bashW
In-Reply-To: 
Message-ID: 

Well that was premature - I just changed the nature of my problem.  the
export issue fixed the local problem

However, upon ssh -Xg to a remote host (RedHat Linux, uses an XDM login,
so XDM is probably running when i login)  I get the following messages
during the startup script of that host.  I have tried on different
machines on this network, so the problem is not specific to one machine.

/usr/X11R6/bin/xauth:  creating new authority file
/home/rain/rbrook/.Xauthority
/usr/X11R6/bin/xauth:  unable to open tmp file
"/home/rain/rbrook/.Xauthority-n"
/usr/X11R6/bin/xauth:  unable to write authority file
/home/rain/rbrook/.Xauthority-n

Then when I try an x client

rbrook@skinner{rbrook}xterm &
[1] 5721
rbrook@skinner{rbrook}X11 connection rejected because of wrong
authentication.
X connection to localhost:10.0 broken (explicit kill or server
shutdown).

So what I think is happening, is that 
  - ssh needs to set a fake authority cookie for the virtual display it
creats
  - xauth cant set that cookie
  - therefore Xapps cant send stuff out the channel.

Trouble is, I have absolutely no idea why xauth can't set that cookie.  i
have successfully ssh -X'ed into this machine before and it all just
worked, first time.

So, if someone could give me a tip or two on how to diagnose what xauth is
whinging about - much appreciated.

Thanks
Rupert B.

On Sat,
5 Oct 2002, Rupert Brooks wrote:

> Solved my own problem; sorry to bother y'all
> 
> FTR, the solution is that 
> a) if the DISPLAY variable in bash is set without export, then when SSH
> starts up its not noticed, and then SSH does not notice where to send
> the X11 stream
> 
> b) you have to set and export the display variable, it is neither set
> automatically, nor does ssh have a default.
> 
> I'm a tcsh user, so didnt realize that necessity under bash.
> 
> This seems to be covered in the SSH notes message, sorry I didn't see that
> before.
> 
> Rupert B
> 
> 
> On Sat, 5 Oct 2002, Rupert Brooks wrote:
> 
> > Hi
> >  - having a strange problem here.  Just installed a fresh install of
> > Cygwin / Xfree.  startxwin.bat works, and an xterm appears.  From that
> > xterm I can start other xapps and they work.
> > 
> > BUT, from another cygwin bash shell, started independently, I get the
> > following error
> > xterm XT error: Can't open display:
> > 
> > I have tried with numerous variations in the DISPLAY variable
> > localhost:0
> > localhost:0.0
> > 127.0.0.1:0
> > 127.0.0.1:0.0
> > 192.168.1.150:0.0
> > 
> > etc
> > 
> > I have done a tracert on all those addresses, and my routing seems ok,
> > that is packets for the localhost don't get routed out into the network
> > where the router might frig with them.
> > 
> > Xwin.log shows no signs of having refused the connections.  So I am
> > guessing that the request never made it to the Xserver.
> > 
> > The problem I am ultimately trying to solve, is to get a remote connection
> > tunnelled over openSSH or putty.  I have that setup on another machine,
> > and working well.  there are two differences with this machine - this OS
> > is WinME not Win2K, and this one lives behind a LinkSys router.  
> > 
> > Anyway, I think I should get the local set up working right first before
> > trying to diagnose the SSH part.  I don't see, though, why the router
> > should stop packets from the localhost.  There is no firewall software on
> > this machine.
> > 
> > Has anyone seen this before?  Can anyone suggest where else to look?
> > 
> > Thanks much
> > Rupert B.
> > 
> > 
> 
> 

-- 
--------------------------------------------------------------
Rupert Brooks
McGill Centre for Intelligent Machines (www.cim.mcgill.ca)
PhD. Student
http://www.cyberus.ca/~rbrooks
rbrook@cim.mcgill.ca
ICQ: 27978014  CELL: 6137997873  
SMS: send short mail to @pcs.rogers.com




From rbrook@cim.mcgill.ca  Sun Oct  6 05:57:00 2002
From: rbrook@cim.mcgill.ca (Rupert Brooks)
Date: Sun, 06 Oct 2002 05:57:00 -0000
Subject: x apps cant start from bashW
In-Reply-To: 
Message-ID: 

Yeesh, I am embarassed again.  Found the problem - full local disk so
Xauth could not set a cookie.  something I really should have noticed
*blush*

Works now.  hopefullly it helps someone searching the list

Rupert B.

-- 
--------------------------------------------------------------
Rupert Brooks
McGill Centre for Intelligent Machines (www.cim.mcgill.ca)
PhD. Student
http://www.cyberus.ca/~rbrooks
rbrook@cim.mcgill.ca
ICQ: 27978014  CELL: 6137997873  
SMS: send short mail to @pcs.rogers.com




From huntharo@msu.edu  Sun Oct  6 09:05:00 2002
From: huntharo@msu.edu (Harold Hunt)
Date: Sun, 06 Oct 2002 09:05:00 -0000
Subject: x apps cant start from bashW
In-Reply-To: 
Message-ID: 

Rupert,

Excellent.  I've had a full disk bite me before too.

However, I was also going to ask why you are using the -g parameter for ssh?
If you just want to tunnel X applications between your two hosts then -X is
all you need (and I recommend -C for slow links --- compression).  Do you
have some specific scenario that requires -g?  No need to explain your
scenario if you have one, a simple yes will do.

Harold

> -----Original Message-----
> From: cygwin-xfree-owner@cygwin.com
> [mailto:cygwin-xfree-owner@cygwin.com]On Behalf Of Rupert Brooks
> Sent: Sunday, October 06, 2002 8:57 AM
> To: Rupert Brooks
> Cc: cygwin-xfree@cygwin.com
> Subject: Re: x apps cant start from bashW
>
>
> Yeesh, I am embarassed again.  Found the problem - full local disk so
> Xauth could not set a cookie.  something I really should have noticed
> *blush*
>
> Works now.  hopefullly it helps someone searching the list
>
> Rupert B.
>
> --
> --------------------------------------------------------------
> Rupert Brooks
> McGill Centre for Intelligent Machines (www.cim.mcgill.ca)
> PhD. Student
> http://www.cyberus.ca/~rbrooks
> rbrook@cim.mcgill.ca
> ICQ: 27978014  CELL: 6137997873
> SMS: send short mail to @pcs.rogers.com
>
>
>


From huntharo@msu.edu  Sun Oct  6 09:45:00 2002
From: huntharo@msu.edu (Harold Hunt)
Date: Sun, 06 Oct 2002 09:45:00 -0000
Subject: XFree 4.2.1 + fontconfig-2
In-Reply-To: <20021002151213.GG1631@fairlite.demon.co.uk>
Message-ID: 

Alan,

Somehow my cygwin.rules file got a bogus newline in one of the new rules.  I
removed the newline and I am doing a test build now.  So far it has
progressed past where it was bombing before.

Harold

> -----Original Message-----
> From: cygwin-xfree-owner@cygwin.com
> [mailto:cygwin-xfree-owner@cygwin.com]On Behalf Of Alan Hourihane
> Sent: Wednesday, October 02, 2002 11:12 AM
> To: cygwin-xfree@cygwin.com
> Subject: Re: XFree 4.2.1 + fontconfig-2
>
>
> On Wed, Oct 02, 2002 at 11:01:37AM -0400, Harold L Hunt II wrote:
> > Alan,
> >
> > Everytime I a build check I do something like the following:
> >
> > cd ../ [from foo/xc]
> > cd build
> > mkdir std
> > cd std
> > lndir ../../xc > /dev/null
> > make CROSSCOMPILEDIR="/cygwin/bin" World > World.log 2>&1
> >
> >
> > Thus, I know for sure that any built file is being rebuilt :)
> >
> > Next idea?
>
> None. Like I said, I don't have a cross compile environment and it
> works fine natively. Alexander - any ideas ?
>
> Alan.


From Alexander.Gottwald@informatik.tu-chemnitz.de  Sun Oct  6 15:08:00 2002
From: Alexander.Gottwald@informatik.tu-chemnitz.de (Alexander Gottwald)
Date: Sun, 06 Oct 2002 15:08:00 -0000
Subject: XFree 4.2.1 + fontconfig-2
In-Reply-To: 
Message-ID: 

Harold Hunt wrote:

> Alan,
> 
> Somehow my cygwin.rules file got a bogus newline in one of the new rules.  I
> removed the newline and I am doing a test build now.  So far it has
> progressed past where it was bombing before.

Good to hear. I already expected such a thing.

bye
    ago
BTW: Having spend the weekend to get xc crosscompiling for Solaris8 I now 
know how easy it was for cygwin *g*
-- 
 Alexander.Gottwald@informatik.tu-chemnitz.de 
 http://www.gotti.org           ICQ: 126018723


From dwilson4life@yahoo.com  Sun Oct  6 18:03:00 2002
From: dwilson4life@yahoo.com (dwilson4life@yahoo.com)
Date: Sun, 06 Oct 2002 18:03:00 -0000
Subject: x apps cant start from bash
In-Reply-To: <1033851781.9146.ezmlm@cygwin.com>
Message-ID: <20021007010312.75370.qmail@web20504.mail.yahoo.com>

Set you DISPLAY variable to an IP address that your
remote application can connect to, followed by setting
up your X server access control program (xhost) to
allow remote connections from all hosts (xhost +) or a
particular host (xhost +  Date: Sat, 5 Oct 2002 00:08:01 -0400 (EDT)
> From: Rupert Brooks 
> To: cygwin-xfree@cygwin.com
> Subject: x apps cant start from bash
> 
> Hi
>  - having a strange problem here.  Just installed a
> fresh install of
> Cygwin / Xfree.  startxwin.bat works, and an xterm
> appears.  From that
> xterm I can start other xapps and they work.
> 
> BUT, from another cygwin bash shell, started
> independently, I get the
> following error
> xterm XT error: Can't open display:
> 
> I have tried with numerous variations in the DISPLAY
> variable
> localhost:0
> localhost:0.0
> 127.0.0.1:0
> 127.0.0.1:0.0
> 192.168.1.150:0.0
> 
> etc
> 
> I have done a tracert on all those addresses, and my
> routing seems ok,
> that is packets for the localhost don't get routed
> out into the network
> where the router might frig with them.
> 
> Xwin.log shows no signs of having refused the
> connections.  So I am
> guessing that the request never made it to the
> Xserver.
> 
> The problem I am ultimately trying to solve, is to
> get a remote connection
> tunnelled over openSSH or putty.  I have that setup
> on another machine,
> and working well.  there are two differences with
> this machine - this OS
> is WinME not Win2K, and this one lives behind a
> LinkSys router.  
> 
> Anyway, I think I should get the local set up
> working right first before
> trying to diagnose the SSH part.  I don't see,
> though, why the router
> should stop packets from the localhost.  There is no
> firewall software on
> this machine.
> 
> Has anyone seen this before?  Can anyone suggest
> where else to look?
> 
> Thanks much
> Rupert B.

__________________________________________________
Do you Yahoo!?
Faith Hill - Exclusive Performances, Videos & More
http://faith.yahoo.com


From mika.laitio@sysline.com  Mon Oct  7 09:00:00 2002
From: mika.laitio@sysline.com (mika.laitio@sysline.com)
Date: Mon, 07 Oct 2002 09:00:00 -0000
Subject: Shared memory?
Message-ID: 

I am also having problems with shared memory segments in Windoes-dll.
I trying to make a dll which- can be used from two different application 
(process)  and which can still share the same data-segment.
(Ie. application two can read data that is set by application one)

I need to use -mno-cygwin option while compiling this dll.

Mika





Harold L Hunt II 
Sent by: cygwin-xfree-owner@cygwin.com
30.09.2002 22:59
Please respond to cygwin-xfree

 
        To:     cygwin-xfree@cygwin.com
        cc: 
        Subject:        Re: Shared memory?


Jean-Claude,

Yes, but you have to run some service that supports the SHM model (I 
forget the package name or whether it was ever rolled into a Cygwin 
setup package that is in the primary distribution, and for anyone about 
to jog my memory: I don't care either).

Go look at the KDE on Cygwin pages if you want more information.  They 
have to build Cygwin/XFree86 with the MITSHM extension in order to 
support KDE.  The ``cygipc'' library or package comes to mind, as we 
have some #ifdef test in xc/config/cf/cygwin.* that check CygIPC.

In case you were wondering, MITSHM is not enabled in the default build, 
nor in the default Cygwin/XFree86 distribution, because the cygipc 
library/package/whatever is either 1) not included in the default 
distribution, 2) not stable enough, 3) not automatically installed with 
absolutely no user intervention, or 4) because no one poked me to let me 
know that the previous 3 possibilities have all been taken care of.

There, that should give you enough to Google on.

Harold

Jean-Claude Gervais wrote:
> Does Cygwin support any equivalent to the *nux shared memory APIs?
> The  shm* functions.
> 
> Thanks.
> 
> 






From bob.cavanaugh@flextronicssemi.com  Mon Oct  7 11:41:00 2002
From: bob.cavanaugh@flextronicssemi.com (bob.cavanaugh@flextronicssemi.com)
Date: Mon, 07 Oct 2002 11:41:00 -0000
Subject: Trying to build graphical applications for Cygwin - Please help
Message-ID: 

Hello all,
First of all, I apologize for the length of this post. I have done a lot of
reading, downloading, and building and I am stuck. I am somewhat new to using
Cygwin but I have been an embedded systems engineer for 15 years so I am not new
to computers.

I am trying to get the following packages to run on my Cygwin/XFree86:
1) Eterm-0.9.1 - an enhanced terminal program that allows backgrounds
2) gpsim-0.20.14 - a Microchip PIC simulation package

Trying to build Eterm, it requires imlib. I downloaded imlib- 2.1.06. The
configure fails, looking for shmat().  I sent a message to the cygwin list, and
received a reply from J. Larsen directing me to load Cygipc, which I did. This
time the configure fails looking for XShmAttach().

To build gpsim, I need glib and GTK+, pkg-config, and gtk+extra-0.99.17
I tried building the lastest versions of glib and GTK, 2.0.6, with no luck. I
backed up to the 1.2.8 version, and that builds, but the built version fails the
testglib.exe file, seg faults on string test.
I went to the maillist, and downloaded Lupo's glib 1.2.10 and GTK+1.2.10.
Tried to build gtk+extra, and during the configure stage, a Windows messagebox
comes up and says that I am missing "shmat" for X11.  Configure completed but
said I have an invalid version of GTK+.

OK, several things may be going on. I think I am having the same problem with
both builds.

1. I am running Cygipc as a service on Win2K. Do I need to do something else,
like re-build XFree86? Is there a site with instructions?
2. What else is required to get imlib and GTK+ to work correctly? Has anybody
been able to do so, or am I trying to do something Cygwin cannot perform?
3. I saw one post which indicated a problem with FAT-32. Is NTFS a requirement
to run Cygwin/XFree86 on Win2K?

I don't want to waste anybody's time, but I would really appreciate any help
offered. I know that eveybody's time is valuable (I promised a patch to the
WxWindows group over a month ago I haven't gotten to yet :-(  ), but getting
gpsim is a fairly high priority for me.

Thanks to all in advance

Robert Cavanaugh
Senior Firmware Engineer
Flextronics Design
Mountain States Engineering
Salt Lake City, Utah
(801)-685-9330



From huntharo@msu.edu  Mon Oct  7 12:06:00 2002
From: huntharo@msu.edu (Harold L Hunt II)
Date: Mon, 07 Oct 2002 12:06:00 -0000
Subject: Trying to build graphical applications for Cygwin - Please help
References: 
Message-ID: <3DA1DAFE.3000105@msu.edu>

Bob,

bob.cavanaugh@flextronicssemi.com wrote:
> Hello all,
> First of all, I apologize for the length of this post. I have done a lot of
> reading, downloading, and building and I am stuck. I am somewhat new to using
> Cygwin but I have been an embedded systems engineer for 15 years so I am not new
> to computers.
> 
> I am trying to get the following packages to run on my Cygwin/XFree86:
> 1) Eterm-0.9.1 - an enhanced terminal program that allows backgrounds
> 2) gpsim-0.20.14 - a Microchip PIC simulation package
> 
> Trying to build Eterm, it requires imlib. I downloaded imlib- 2.1.06. The
> configure fails, looking for shmat().  I sent a message to the cygwin list, and
> received a reply from J. Larsen directing me to load Cygipc, which I did. This
> time the configure fails looking for XShmAttach().
> 

Yes, you did need CygIPC.  However, you now either have to rebuild 
XFree86 with the X Shared Memory Extension or you have to install the 
few files thare changed when XSHM is enabled.  The KDE on Cygwin project 
distributes these changed files and they have instructions on how to 
install them.  You need the KDE-X package from the way bottom of this page:

http://sourceforge.net/project/showfiles.php?group_id=27249**

> To build gpsim, I need glib and GTK+, pkg-config, and gtk+extra-0.99.17
> I tried building the lastest versions of glib and GTK, 2.0.6, with no luck. I
> backed up to the 1.2.8 version, and that builds, but the built version fails the
> testglib.exe file, seg faults on string test.
> I went to the maillist, and downloaded Lupo's glib 1.2.10 and GTK+1.2.10.
> Tried to build gtk+extra, and during the configure stage, a Windows messagebox
> comes up and says that I am missing "shmat" for X11.  Configure completed but
> said I have an invalid version of GTK+.
> 

The KDE on Cygwin folks have the answer for undefined references to shmat:

http://kde-cygwin.sourceforge.net/faq/kde2.php#D6


> OK, several things may be going on. I think I am having the same problem with
> both builds.
> 
> 1. I am running Cygipc as a service on Win2K. Do I need to do something else,
> like re-build XFree86? Is there a site with instructions?

Yes, you could rebuild Cygwin/XFree86 with shared memory support, but I 
recommend just installing the KDE on Cygwin package that provides the 
modified files.

> 2. What else is required to get imlib and GTK+ to work correctly? Has anybody
> been able to do so, or am I trying to do something Cygwin cannot perform?

Not sure.  I am pretty sure that imlib and GTK+ both work but that they 
have to be static libraries, to a degree.  At least, there was not an 
optimal solution for building GTK+ with a shared library the last time I 
checked into it.

> 3. I saw one post which indicated a problem with FAT-32. Is NTFS a requirement
> to run Cygwin/XFree86 on Win2K?
> 

No problems with FAT32.  Don't believe everything that you read.

> I don't want to waste anybody's time, but I would really appreciate any help
> offered. I know that eveybody's time is valuable (I promised a patch to the
> WxWindows group over a month ago I haven't gotten to yet :-(  ), but getting
> gpsim is a fairly high priority for me.
> 

Hope that helps.

Harold

P.S. I am cheering for Solectron, booh Flextronics  :)  Just kidding.


> Thanks to all in advance
> 
> Robert Cavanaugh
> Senior Firmware Engineer
> Flextronics Design
> Mountain States Engineering
> Salt Lake City, Utah
> (801)-685-9330
> 
> 


From choice15@gmx.de  Tue Oct  8 00:45:00 2002
From: choice15@gmx.de (choice15@gmx.de)
Date: Tue, 08 Oct 2002 00:45:00 -0000
Subject: Cygwin Remote: Want to implement a Citrix Metaframe alternative 
Message-ID: <003001c26e9e$27593100$4c64a8c0@ibsfreiburg.de>

Hi all,

I am a Newbee to the X11 System (ok i can  configure an compiled it) but,
the Steps for Remote Working (like an ICA Metraframe Client) for
Cygwin/Xfree86 is
not really easy.

In Think i have two choices:

1)
Remoteauthentication via the Remote Dektopmanager Control Protocol,
(But Everyon tells me it is complex an still unsecure?)

2)
Using the "sure" way over an OpenBSD SSH-Shell
(thins is the actually configuration, but not a Release Candidate.

The SSH way works fine, but the Problem is the Logon Interface (Bash shell)
add xhost, DISPLAY=xxx.xxx.xxx.xxx:0.0; export DISPLAY startkde (catch an
Error)

Wow! My Boss is killing me for this nasty Way.

Ok, iam a Programmer, and i think (write a little Windows Application for
Logon to
the X-Remote Server (but still the non-interactive SSH Shell is bugging me.

(I have read from "empty Keyphrase Trick"???)

Ok Guys, what the best and fastest Way (non commercial, Software must be
free)?





From j_tetazoo@hotmail.com  Tue Oct  8 11:08:00 2002
From: j_tetazoo@hotmail.com (Thomas Chadwick)
Date: Tue, 08 Oct 2002 11:08:00 -0000
Subject: Cygwin Remote: Want to implement a Citrix Metaframe alternative
Message-ID: 

>From: 
>Reply-To: 
>To: 
>Subject: Cygwin Remote: Want to implement a Citrix Metaframe alternative 
>Date: Tue, 8 Oct 2002 09:41:45 +0200
>
>Hi all,
>
>I am a Newbee to the X11 System (ok i can  configure an compiled it) but,
>the Steps for Remote Working (like an ICA Metraframe Client) for
>Cygwin/Xfree86 is
>not really easy.
>
>In Think i have two choices:
>
>1)
>Remoteauthentication via the Remote Dektopmanager Control Protocol,
>(But Everyon tells me it is complex an still unsecure?)
>
>2)
>Using the "sure" way over an OpenBSD SSH-Shell
>(thins is the actually configuration, but not a Release Candidate.
>
>The SSH way works fine, but the Problem is the Logon Interface (Bash shell)
>add xhost, DISPLAY=xxx.xxx.xxx.xxx:0.0; export DISPLAY startkde (catch an
>Error)
>
>Wow! My Boss is killing me for this nasty Way.
>
>Ok, iam a Programmer, and i think (write a little Windows Application for
>Logon to
>the X-Remote Server (but still the non-interactive SSH Shell is bugging me.
>
>(I have read from "empty Keyphrase Trick"???)
>
>Ok Guys, what the best and fastest Way (non commercial, Software must be
>free)?


I think I follow what you're trying to do in #2 above.  May I suggest the 
following?

On the remote system, create a shell script which contains something like 
the following:

  #!/bin/sh

  # Launch an Xterm (run in the pack ground)
  xterm -title `whoami`@`hostname` &

  # Launch WindowManager (run in the foreground)
  mwm

On the local (Cygwin) system, create a shell script that contains something 
similar to the following, and save it as .xinitrc in your home directory:

  #!/bin/sh

  ssh  -X  remoteusername@remotehostname  pathtoremotescript

The "pathtoremotescript" is referring to the script on the remote system I 
suggested above.

On the local (Cygwin) system, edit the file .bash_profile in your home 
directory and add /usr/X11R6/bin to your path:

  export PATH=$PATH:/usr/X11R6/bin

Finally, on the Cygwin system, create a Windows shortcut with the following 
target:

  C:\cygwin\bin\bash.exe --login -c "xinit -- -nodecoration"

When you double click the shortcut, the following sequence of events will 
happen:

1) Windows will run bash.  The --login parameter tells it to source your 
.bash_profile file, adding /usr/X11R6/bin to your PATH.
2) Bash will run xinit, which will start up the X server, then source the 
.xinitrc file.
3) .xinitrc will execute ssh.
4) ssh will connect to the remote system and prompt you for a password.  It 
will then enable X11 Forwarding, assign the appropriate value to DISPLAY, 
and will execute the remote shell script.
5) The remote shell script will run, launching an xterm and window manager 
which will appear on your Cygwin X server screen.
6) Close things down by quitting the window manager on the remote system or 
by killing the Cygwin X server with Alt-F4.


_________________________________________________________________
MSN Photos is the easiest way to share and print your photos: 
http://photos.msn.com/support/worldwide.aspx


From jc.gervais@videotron.ca  Tue Oct  8 11:25:00 2002
From: jc.gervais@videotron.ca (Jean-Claude Gervais)
Date: Tue, 08 Oct 2002 11:25:00 -0000
Subject: Cygwin Remote: Want to implement a Citrix Metaframe alternative
In-Reply-To: 
Message-ID: 

Whoah!

	Does that actually work Thomas?

	Slick!

	Thanks for the tip! I may not have originally asked the question, but I can
definitely use your solution!

	Thanks again.


-----Original Message-----
From: cygwin-xfree-owner@cygwin.com [mailto:cygwin-xfree-owner@cygwin.com]On
Behalf Of Thomas Chadwick
Sent: Tuesday, October 08, 2002 2:09 PM
To: choice15@gmx.de; cygwin-xfree@cygwin.com
Subject: Re: Cygwin Remote: Want to implement a Citrix Metaframe alternative

>From: 
>Reply-To: 
>To: 
>Subject: Cygwin Remote: Want to implement a Citrix Metaframe alternative
>Date: Tue, 8 Oct 2002 09:41:45 +0200
>
>Hi all,
>
>I am a Newbee to the X11 System (ok i can  configure an compiled it) but,
>the Steps for Remote Working (like an ICA Metraframe Client) for
>Cygwin/Xfree86 is
>not really easy.
>
>In Think i have two choices:
>
>1)
>Remoteauthentication via the Remote Dektopmanager Control Protocol,
>(But Everyon tells me it is complex an still unsecure?)
>
>2)
>Using the "sure" way over an OpenBSD SSH-Shell
>(thins is the actually configuration, but not a Release Candidate.
>
>The SSH way works fine, but the Problem is the Logon Interface (Bash shell)
>add xhost, DISPLAY=xxx.xxx.xxx.xxx:0.0; export DISPLAY startkde (catch an
>Error)
>
>Wow! My Boss is killing me for this nasty Way.
>
>Ok, iam a Programmer, and i think (write a little Windows Application for
>Logon to
>the X-Remote Server (but still the non-interactive SSH Shell is bugging me.
>
>(I have read from "empty Keyphrase Trick"???)
>
>Ok Guys, what the best and fastest Way (non commercial, Software must be
>free)?


I think I follow what you're trying to do in #2 above.  May I suggest the
following?

On the remote system, create a shell script which contains something like
the following:

  #!/bin/sh

  # Launch an Xterm (run in the pack ground)
  xterm -title `whoami`@`hostname` &

  # Launch WindowManager (run in the foreground)
  mwm

On the local (Cygwin) system, create a shell script that contains something
similar to the following, and save it as .xinitrc in your home directory:

  #!/bin/sh

  ssh  -X  remoteusername@remotehostname  pathtoremotescript

The "pathtoremotescript" is referring to the script on the remote system I
suggested above.

On the local (Cygwin) system, edit the file .bash_profile in your home
directory and add /usr/X11R6/bin to your path:

  export PATH=$PATH:/usr/X11R6/bin

Finally, on the Cygwin system, create a Windows shortcut with the following
target:

  C:\cygwin\bin\bash.exe --login -c "xinit -- -nodecoration"

When you double click the shortcut, the following sequence of events will
happen:

1) Windows will run bash.  The --login parameter tells it to source your
.bash_profile file, adding /usr/X11R6/bin to your PATH.
2) Bash will run xinit, which will start up the X server, then source the
.xinitrc file.
3) .xinitrc will execute ssh.
4) ssh will connect to the remote system and prompt you for a password.  It
will then enable X11 Forwarding, assign the appropriate value to DISPLAY,
and will execute the remote shell script.
5) The remote shell script will run, launching an xterm and window manager
which will appear on your Cygwin X server screen.
6) Close things down by quitting the window manager on the remote system or
by killing the Cygwin X server with Alt-F4.


_________________________________________________________________
MSN Photos is the easiest way to share and print your photos:
http://photos.msn.com/support/worldwide.aspx


From j_tetazoo@hotmail.com  Tue Oct  8 12:02:00 2002
From: j_tetazoo@hotmail.com (Thomas Chadwick)
Date: Tue, 08 Oct 2002 12:02:00 -0000
Subject: Cygwin Remote: Want to implement a Citrix Metaframe alternative
Message-ID: 

Yup.  Works like a charm!  I use a version of the scheme described below 
every day to get an X session on my Thinkpad served up by my RS/6000. (Can 
you guess who I work for?)  I have the monitor from my RS/6000 side-by-side 
with my Thinkpad, and run x2x to effectively give me a dual-headed X 
Session.

>From: Jean-Claude Gervais 
>Reply-To: cygwin-xfree@cygwin.com
>To: cygwin-xfree@cygwin.com
>Subject: RE: Cygwin Remote: Want to implement a Citrix Metaframe 
>alternative
>Date: Tue, 08 Oct 2002 14:25:01 -0400
>
>Whoah!
>
>	Does that actually work Thomas?
>
>	Slick!
>
>	Thanks for the tip! I may not have originally asked the question, but I 
>can
>definitely use your solution!
>
>	Thanks again.
>
>
>-----Original Message-----
>From: cygwin-xfree-owner@cygwin.com 
>[mailto:cygwin-xfree-owner@cygwin.com]On
>Behalf Of Thomas Chadwick
>Sent: Tuesday, October 08, 2002 2:09 PM
>To: choice15@gmx.de; cygwin-xfree@cygwin.com
>Subject: Re: Cygwin Remote: Want to implement a Citrix Metaframe 
>alternative
>
> >From: 
> >Reply-To: 
> >To: 
> >Subject: Cygwin Remote: Want to implement a Citrix Metaframe alternative
> >Date: Tue, 8 Oct 2002 09:41:45 +0200
> >
> >Hi all,
> >
> >I am a Newbee to the X11 System (ok i can  configure an compiled it) but,
> >the Steps for Remote Working (like an ICA Metraframe Client) for
> >Cygwin/Xfree86 is
> >not really easy.
> >
> >In Think i have two choices:
> >
> >1)
> >Remoteauthentication via the Remote Dektopmanager Control Protocol,
> >(But Everyon tells me it is complex an still unsecure?)
> >
> >2)
> >Using the "sure" way over an OpenBSD SSH-Shell
> >(thins is the actually configuration, but not a Release Candidate.
> >
> >The SSH way works fine, but the Problem is the Logon Interface (Bash 
>shell)
> >add xhost, DISPLAY=xxx.xxx.xxx.xxx:0.0; export DISPLAY startkde (catch an
> >Error)
> >
> >Wow! My Boss is killing me for this nasty Way.
> >
> >Ok, iam a Programmer, and i think (write a little Windows Application for
> >Logon to
> >the X-Remote Server (but still the non-interactive SSH Shell is bugging 
>me.
> >
> >(I have read from "empty Keyphrase Trick"???)
> >
> >Ok Guys, what the best and fastest Way (non commercial, Software must be
> >free)?
>
>
>I think I follow what you're trying to do in #2 above.  May I suggest the
>following?
>
>On the remote system, create a shell script which contains something like
>the following:
>
>   #!/bin/sh
>
>   # Launch an Xterm (run in the pack ground)
>   xterm -title `whoami`@`hostname` &
>
>   # Launch WindowManager (run in the foreground)
>   mwm
>
>On the local (Cygwin) system, create a shell script that contains something
>similar to the following, and save it as .xinitrc in your home directory:
>
>   #!/bin/sh
>
>   ssh  -X  remoteusername@remotehostname  pathtoremotescript
>
>The "pathtoremotescript" is referring to the script on the remote system I
>suggested above.
>
>On the local (Cygwin) system, edit the file .bash_profile in your home
>directory and add /usr/X11R6/bin to your path:
>
>   export PATH=$PATH:/usr/X11R6/bin
>
>Finally, on the Cygwin system, create a Windows shortcut with the following
>target:
>
>   C:\cygwin\bin\bash.exe --login -c "xinit -- -nodecoration"
>
>When you double click the shortcut, the following sequence of events will
>happen:
>
>1) Windows will run bash.  The --login parameter tells it to source your
>.bash_profile file, adding /usr/X11R6/bin to your PATH.
>2) Bash will run xinit, which will start up the X server, then source the
>.xinitrc file.
>3) .xinitrc will execute ssh.
>4) ssh will connect to the remote system and prompt you for a password.  It
>will then enable X11 Forwarding, assign the appropriate value to DISPLAY,
>and will execute the remote shell script.
>5) The remote shell script will run, launching an xterm and window manager
>which will appear on your Cygwin X server screen.
>6) Close things down by quitting the window manager on the remote system or
>by killing the Cygwin X server with Alt-F4.
>
>
>_________________________________________________________________
>MSN Photos is the easiest way to share and print your photos:
>http://photos.msn.com/support/worldwide.aspx




_________________________________________________________________
MSN Photos is the easiest way to share and print your photos: 
http://photos.msn.com/support/worldwide.aspx


From huntharo@msu.edu  Tue Oct  8 13:43:00 2002
From: huntharo@msu.edu (Harold L Hunt II)
Date: Tue, 08 Oct 2002 13:43:00 -0000
Subject: Cygwin Remote: Want to implement a Citrix Metaframe alternative
References: 
Message-ID: <3DA34384.9020206@msu.edu>

Thomas,

Yes, that is an excellent answer and it describes an elegant solution 
that 99% of people would not be able to come up with on their own.  I am 
flagging it for inclusion into the User's Guide.  Of course, that 
doesn't mean it will be in the User's Guide next week, or even next 
month, but it will eventually get there.

Harold

Thomas Chadwick wrote:
> Yup.  Works like a charm!  I use a version of the scheme described below 
> every day to get an X session on my Thinkpad served up by my RS/6000. 
> (Can you guess who I work for?)  I have the monitor from my RS/6000 
> side-by-side with my Thinkpad, and run x2x to effectively give me a 
> dual-headed X Session.
> 
>> From: Jean-Claude Gervais 
>> Reply-To: cygwin-xfree@cygwin.com
>> To: cygwin-xfree@cygwin.com
>> Subject: RE: Cygwin Remote: Want to implement a Citrix Metaframe 
>> alternative
>> Date: Tue, 08 Oct 2002 14:25:01 -0400
>>
>> Whoah!
>>
>>     Does that actually work Thomas?
>>
>>     Slick!
>>
>>     Thanks for the tip! I may not have originally asked the question, 
>> but I can
>> definitely use your solution!
>>
>>     Thanks again.
>>
>>
>> -----Original Message-----
>> From: cygwin-xfree-owner@cygwin.com 
>> [mailto:cygwin-xfree-owner@cygwin.com]On
>> Behalf Of Thomas Chadwick
>> Sent: Tuesday, October 08, 2002 2:09 PM
>> To: choice15@gmx.de; cygwin-xfree@cygwin.com
>> Subject: Re: Cygwin Remote: Want to implement a Citrix Metaframe 
>> alternative
>>
>> >From: 
>> >Reply-To: 
>> >To: 
>> >Subject: Cygwin Remote: Want to implement a Citrix Metaframe alternative
>> >Date: Tue, 8 Oct 2002 09:41:45 +0200
>> >
>> >Hi all,
>> >
>> >I am a Newbee to the X11 System (ok i can  configure an compiled it) 
>> but,
>> >the Steps for Remote Working (like an ICA Metraframe Client) for
>> >Cygwin/Xfree86 is
>> >not really easy.
>> >
>> >In Think i have two choices:
>> >
>> >1)
>> >Remoteauthentication via the Remote Dektopmanager Control Protocol,
>> >(But Everyon tells me it is complex an still unsecure?)
>> >
>> >2)
>> >Using the "sure" way over an OpenBSD SSH-Shell
>> >(thins is the actually configuration, but not a Release Candidate.
>> >
>> >The SSH way works fine, but the Problem is the Logon Interface (Bash 
>> shell)
>> >add xhost, DISPLAY=xxx.xxx.xxx.xxx:0.0; export DISPLAY startkde 
>> (catch an
>> >Error)
>> >
>> >Wow! My Boss is killing me for this nasty Way.
>> >
>> >Ok, iam a Programmer, and i think (write a little Windows Application 
>> for
>> >Logon to
>> >the X-Remote Server (but still the non-interactive SSH Shell is 
>> bugging me.
>> >
>> >(I have read from "empty Keyphrase Trick"???)
>> >
>> >Ok Guys, what the best and fastest Way (non commercial, Software must be
>> >free)?
>>
>>
>> I think I follow what you're trying to do in #2 above.  May I suggest the
>> following?
>>
>> On the remote system, create a shell script which contains something like
>> the following:
>>
>>   #!/bin/sh
>>
>>   # Launch an Xterm (run in the pack ground)
>>   xterm -title `whoami`@`hostname` &
>>
>>   # Launch WindowManager (run in the foreground)
>>   mwm
>>
>> On the local (Cygwin) system, create a shell script that contains 
>> something
>> similar to the following, and save it as .xinitrc in your home directory:
>>
>>   #!/bin/sh
>>
>>   ssh  -X  remoteusername@remotehostname  pathtoremotescript
>>
>> The "pathtoremotescript" is referring to the script on the remote 
>> system I
>> suggested above.
>>
>> On the local (Cygwin) system, edit the file .bash_profile in your home
>> directory and add /usr/X11R6/bin to your path:
>>
>>   export PATH=$PATH:/usr/X11R6/bin
>>
>> Finally, on the Cygwin system, create a Windows shortcut with the 
>> following
>> target:
>>
>>   C:\cygwin\bin\bash.exe --login -c "xinit -- -nodecoration"
>>
>> When you double click the shortcut, the following sequence of events will
>> happen:
>>
>> 1) Windows will run bash.  The --login parameter tells it to source your
>> .bash_profile file, adding /usr/X11R6/bin to your PATH.
>> 2) Bash will run xinit, which will start up the X server, then source the
>> .xinitrc file.
>> 3) .xinitrc will execute ssh.
>> 4) ssh will connect to the remote system and prompt you for a 
>> password.  It
>> will then enable X11 Forwarding, assign the appropriate value to DISPLAY,
>> and will execute the remote shell script.
>> 5) The remote shell script will run, launching an xterm and window 
>> manager
>> which will appear on your Cygwin X server screen.
>> 6) Close things down by quitting the window manager on the remote 
>> system or
>> by killing the Cygwin X server with Alt-F4.
>>
>>
>> _________________________________________________________________
>> MSN Photos is the easiest way to share and print your photos:
>> http://photos.msn.com/support/worldwide.aspx
> 
> 
> 
> 
> 
> _________________________________________________________________
> MSN Photos is the easiest way to share and print your photos: 
> http://photos.msn.com/support/worldwide.aspx
> 


From j_tetazoo@hotmail.com  Tue Oct  8 17:28:00 2002
From: j_tetazoo@hotmail.com (Thomas Chadwick)
Date: Tue, 08 Oct 2002 17:28:00 -0000
Subject: Cygwin Remote: Want to implement a Citrix Metaframe alternative
Message-ID: 

Thanks.

I have a small "bag of tricks" like this.  One of these days I'll get around 
to documenting them.  If/when I do so I'll be sure to post a URL to the ML.

By the way, I discovered a caveat in the solution I posted at the root of 
this thread.  XWin starts up before xinit launches ssh, causing the root 
window to obscure the command-line so that you can't see it prompt for a 
password.  I think a reasonable fix would be to put the ssh command "inside" 
an xterm in the .xinitrc file as follows:

xterm -title "ssh on `hostname`" \
-e ssh -X remoteusername@remotehostname pathtoremotescript

>From: Harold L Hunt II 
>Reply-To: cygwin-xfree@cygwin.com
>To: cygwin-xfree@cygwin.com
>Subject: Re: Cygwin Remote: Want to implement a Citrix Metaframe 
>alternative
>Date: Tue, 08 Oct 2002 16:43:48 -0400
>
>Thomas,
>
>Yes, that is an excellent answer and it describes an elegant solution that 
>99% of people would not be able to come up with on their own.  I am 
>flagging it for inclusion into the User's Guide.  Of course, that doesn't 
>mean it will be in the User's Guide next week, or even next month, but it 
>will eventually get there.
>
>Harold

[snip]


_________________________________________________________________
MSN Photos is the easiest way to share and print your photos: 
http://photos.msn.com/support/worldwide.aspx


From huntharo@msu.edu  Tue Oct  8 20:54:00 2002
From: huntharo@msu.edu (Harold L Hunt II)
Date: Tue, 08 Oct 2002 20:54:00 -0000
Subject: Wine DIB Engine - Might be useful reference when writing Native GDI
Message-ID: <3DA3A81F.3040602@msu.edu>

While working on the Native GDI engine, Alan Hourihane discovered that 
the bit order of 1 bit DIBs differs from that reported in the Win32 API 
documentation (or no documentation really specifies the bit order).  In 
any case, the Wine project has just gained a DIB implementation that may 
provide us with some insight as to how the 1 bit DIBs work, assuming 
that this DIB implementation handles 1 bit DIBs.  Below is a link to the 
Kernel Cousin Wine item that announces the new DIB system:

http://kt.zork.net/wine/wn20021004_138.html#2


Harold


From j_tetazoo@hotmail.com  Wed Oct  9 07:13:00 2002
From: j_tetazoo@hotmail.com (Thomas Chadwick)
Date: Wed, 09 Oct 2002 07:13:00 -0000
Subject: Rootless mode revisited...
Message-ID: 

I just had a thought on how to implement rootless mode and I'm hoping 
someone more familiar with Windows programming and/or the XWin server might 
let me know if it's a dead-end before I spend too much time researching it 
further.

The idea I had is this:  Can we exploit the features of the Windows API that 
allow for non-rectangular windows to achieve a "pseudo-rootless" mode?  I 
have looked into it enough to find that non-rectangular Windows windows are 
really collections of multiple rectangles, ellipses, etc.  Seems to me XWin 
could exploit this by simply {adding|removing} a rectangle {to|from} the 
collection that makes up its shape whenever an Xclient is 
{created|destroyed}.

I call it "pseudo-rootless" mode because you would still need to run an 
XWindows window manager to decorate the Xclients, as opposed to having the 
Windows window manager do the decoration.

What I don't know is how well Windows will handle, for instance, moving an 
Xclient window around once it's been created, since that would involve 
dynamically manipulating the shape of a Windows window.

What I also don't know is whether or not the way XWin uses DirectDraw and 
frame-buffering somehow precludes the use of the Windows window-shaping 
APIs.


_________________________________________________________________
Send and receive Hotmail on your mobile device: http://mobile.msn.com


From nahor@bravobrava.com  Wed Oct  9 09:41:00 2002
From: nahor@bravobrava.com (Jehan)
Date: Wed, 09 Oct 2002 09:41:00 -0000
Subject: Rootless mode revisited...
In-Reply-To: 
References: 
Message-ID: 

Thomas Chadwick wrote:
> I just had a thought on how to implement rootless mode and I'm hoping 
> someone more familiar with Windows programming and/or the XWin server 
> might let me know if it's a dead-end before I spend too much time 
> researching it further.
> 
> The idea I had is this:  Can we exploit the features of the Windows API 
> that allow for non-rectangular windows to achieve a "pseudo-rootless" 
> mode?  I have looked into it enough to find that non-rectangular Windows 
> windows are really collections of multiple rectangles, ellipses, etc.  
> Seems to me XWin could exploit this by simply {adding|removing} a 
> rectangle {to|from} the collection that makes up its shape whenever an 
> Xclient is {created|destroyed}.
> 
> I call it "pseudo-rootless" mode because you would still need to run an 
> XWindows window manager to decorate the Xclients, as opposed to having 
> the Windows window manager do the decoration.
> 
> What I don't know is how well Windows will handle, for instance, moving 
> an Xclient window around once it's been created, since that would 
> involve dynamically manipulating the shape of a Windows window.
> 
> What I also don't know is whether or not the way XWin uses DirectDraw 
> and frame-buffering somehow precludes the use of the Windows 
> window-shaping APIs.

I thought of something similar but "less pseudo". Currently, XWin draws 
in a buffer and copy this buffer to the XWin window. If one knows how to 
get the X windows position, one could create one Windows window per X 
Window a copy just the part matching the X window. This has the 
advantage over your method to give one button in the taskbar per X window.
If the Windows windows are fully opaque (which is the case for every 
body except a few geeks), the fact that, when windows overlap, the 
bottom window contains part of the top windows should not be a problem 
(it should be hidden by the top windows)

	Jehan




From huntharo@msu.edu  Wed Oct  9 09:51:00 2002
From: huntharo@msu.edu (Harold L Hunt II)
Date: Wed, 09 Oct 2002 09:51:00 -0000
Subject: Rootless mode revisited...
References:  
Message-ID: <3DA45E63.6010705@msu.edu>

Let me sum it up like this: we already know how to do it.  That isn't 
the problem.  The problem is that requires lot of work to implement the 
design that we have in mind.

What Thomas suggested is an interesting idea.  His idea was obviously a 
suggestion and it probably wasn't thought out from the standpoint of 
architecting an entire system to use that idea.  With that being said, I 
think that the system that we have in mind (modeled after X Darwin's 
rootless mode) won't require that we have windows that are anywhere near 
as complicated as that.  Then again, what Thomas is suggesting might be 
a way to handle windows created with the X Shape Extension.  However, to 
consider issues related to shaped windows now (before we can even handle 
basic windows) would be frivilous.  The handling of standard windows 
would not be well enough known for us to even know what we were trying 
to talk about.

Harold


From zephod@drizzle.com  Wed Oct  9 11:53:00 2002
From: zephod@drizzle.com (Bill Hughey)
Date: Wed, 09 Oct 2002 11:53:00 -0000
Subject: Rootless mode revisited...
References: 
Message-ID: <003e01c26f61$b195ca90$0201a8c0@billhu1>

In a cursory look at the Darwin project, it seemed that they were shadowing
every top-level (child of root) window with a pixmap / hbitmap / dibsection.
The action would be something like draw into the dibsections memory with X
windows drawing routines and then use DirectDraw's fastblt to push it to the
hwnd (Microsloth window) on the screen.

Having worked on a commercial PC X server using gdi exclusively,  my
experience would suggest extending this sort of approach with just a short
list of obvious DirectDraw accelerations: rectangle solid color fill and
pix-to-window copies of pixmaps with constant contents (how about all those
mwm pixmaps with the window decorations in them!)  The copy pix-to-win
operations could be accelerated by moving pixmaps into video memory caches
when it is available.

An approach using dibsections would make this feasible, just be careful of
bit/byte ordering differences between X and WIndows!

Also worth noting, this approach lends itself to emulating 8-bit color on a
true color screen.  Check out WRQ's pseudocolor emulation mode, reasonably
fast and very color accurate with the additional benefit of unlimited
simultaneously installed colormaps or in layman's terms, no colormap
flashing!.



----- Original Message -----
From: "Thomas Chadwick" 
To: 
Sent: Wednesday, October 09, 2002 7:13 AM
Subject: Rootless mode revisited...


> I just had a thought on how to implement rootless mode and I'm hoping
> someone more familiar with Windows programming and/or the XWin server
might
> let me know if it's a dead-end before I spend too much time researching it
> further.
>
> The idea I had is this:  Can we exploit the features of the Windows API
that
> allow for non-rectangular windows to achieve a "pseudo-rootless" mode?  I
> have looked into it enough to find that non-rectangular Windows windows
are
> really collections of multiple rectangles, ellipses, etc.  Seems to me
XWin
> could exploit this by simply {adding|removing} a rectangle {to|from} the
> collection that makes up its shape whenever an Xclient is
> {created|destroyed}.
>
> I call it "pseudo-rootless" mode because you would still need to run an
> XWindows window manager to decorate the Xclients, as opposed to having the
> Windows window manager do the decoration.
>
> What I don't know is how well Windows will handle, for instance, moving an
> Xclient window around once it's been created, since that would involve
> dynamically manipulating the shape of a Windows window.
>
> What I also don't know is whether or not the way XWin uses DirectDraw and
> frame-buffering somehow precludes the use of the Windows window-shaping
> APIs.
>
>
> _________________________________________________________________
> Send and receive Hotmail on your mobile device: http://mobile.msn.com
>


From munir_amanjordan@yahoo.com  Thu Oct 10 01:24:00 2002
From: munir_amanjordan@yahoo.com (AMAN- Munir Idaibes)
Date: Thu, 10 Oct 2002 01:24:00 -0000
Subject: The third Millennium and Human Rights Conference (Arabic)
Message-ID: <200210100821.g9A8Ldm10496@mail.nets1.com.jo>

Please go to:
http://www.amanjordan.org/arabic_news/wmview.php?ArtID=3353

Arabic News:
http://www.amanjordan.org/arabic_news/index.php


From choice15@gmx.de  Thu Oct 10 03:38:00 2002
From: choice15@gmx.de (choice15@gmx.de)
Date: Thu, 10 Oct 2002 03:38:00 -0000
Subject: Cygwin Remote: Want to implement a Citrix Metaframe alternative
References: 
Message-ID: <006c01c27048$a32b5f00$4c64a8c0@ibsfreiburg.de>

Hi Thomas,

Ok now i have a little Moment to talkback to you for youSolution.

The Citrix Metaframe-Client has an Graphical User-Logon Frontend,
thadt authenticates  the credentials of NT/W2K-Domain User.

Ok, i have backed up an Little GUI-Application in Borlad Delphi6
(OpenEdition)
thats can handle and execute internal Batchscripts (a DOS-Box inside the
Application)
so i can parse and prepare via Cejckboxe and Button-Clicks the
"startxwin.bat" File
with Params like -fullscreen, -noderocation and other various Settings
special to the User.


> On the remote system, create a shell script which contains something like
> the following:

>   #!/bin/sh
>
>   # Launch an Xterm (run in the pack ground)
>   xterm -title `whoami`@`hostname` &
>
>   # Launch WindowManager (run in the foreground)
>   mwm


>   #!/bin/sh
>
>   ssh  -X  remoteusername@remotehostname  pathtoremotescript
>
> The "pathtoremotescript" is referring to the script on the remote system I
> suggested above.

This part where are the biggest Nut to crack for me!

Graphical User Frontend Alwas should be shown (not a Bash-Shell)

Note:
The psychologic effect by an Commandline Interface to an Common User
brings  always a negative feedback

I have handled the Problem with ssh-keygen -t dsa to bake up an Key-pair
and distribute it to the X-Server and Cygwin Client.

Now all works fine (but the different Profiles of the Users are now an
Problem to handle)

Any Ideas?

If the programm is ready to release, then it should be under the
GPL-Licensed




From rasjidw@openminddev.net  Thu Oct 10 06:58:00 2002
From: rasjidw@openminddev.net (Rasjid Wilcox)
Date: Thu, 10 Oct 2002 06:58:00 -0000
Subject: Cygwin Remote: Want to implement a Citrix Metaframe alternative
In-Reply-To: <006c01c27048$a32b5f00$4c64a8c0@ibsfreiburg.de>
References:  <006c01c27048$a32b5f00$4c64a8c0@ibsfreiburg.de>
Message-ID: <200210102358.46666.rasjidw@openminddev.net>

On Thu, 10 Oct 2002 8:34 pm, choice15@gmx.de wrote:
>
> I have handled the Problem with ssh-keygen -t dsa to bake up an Key-pair
> and distribute it to the X-Server and Cygwin Client.

Do these keys have passphrases?  If yes, then how is it different to asking 
for a password.  If no, then how have you made the system secure?

I am interested in the development of this idea, but would be very concerned 
about the use of passphrase-less keys.

Rasjid.


From pechtcha@cs.nyu.edu  Thu Oct 10 12:54:00 2002
From: pechtcha@cs.nyu.edu (Igor Pechtchanski)
Date: Thu, 10 Oct 2002 12:54:00 -0000
Subject: cygwin's ssh with Xwin
In-Reply-To: 
Message-ID: 

On Thu, 10 Oct 2002, Matthew Bailey wrote:

> I have the latest version of Cygwin and ssh.  I am trying to display
> another program remotely which I'm using Xwin32 5.2 to allow the display.
>
> The server always responds Can't connect to display :"0.0".
>
> I looked at my man pages for ssh and used the flag -X to enable forwarding
> of my X11.  But, the server still responds the same, and will not allow me
> to display my program.
>
> Can anyone help me with this problem?
>
> Thanks,
> M. Bailey

I'm sure this'll get redirected to cygwin-xfree, so I'm replying straight
there.

ssh, when run with X forwarding, sets up a special display on the target
machine.  The value of the DISPLAY variable should reflect that.
There are a couple of possibilities:

1) You are running 'ssh -X' from a bash prompt that does not have DISPLAY
set.  In this case ssh will silently ignore the -X option and will not set
up X forwarding.  To fix this, set DISPLAY to "localhost:0.0" before
invoking ssh.

2) (more likely from your symptoms) You have a login script that
automatically sets the DISPLAY to :0.0 on the target machine, overriding
the ssh-set value.  To fix this, find which script does that (could be
.bashrc, .profile, some other rc script, could even be /etc/profile if
your system administrator is sadistic/incompetent), and bracket the line
that assigns DISPLAY by (for sh/ksh/bash) 'if [ -z "$DISPLAY" ]; then' and
'fi'.

Hope this helps,
	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 huntharo@msu.edu  Thu Oct 10 15:42:00 2002
From: huntharo@msu.edu (Harold L Hunt II)
Date: Thu, 10 Oct 2002 15:42:00 -0000
Subject: cygwin's ssh with Xwin
References: 
Message-ID: <3DA60203.3010806@msu.edu>

Additionally, my recent SSH Notes email describes the scenario that you 
are in (next to last item on the list):

http://cygwin.com/ml/cygwin-xfree/2002-10/msg00065.html

Harold

Igor Pechtchanski wrote:
> On Thu, 10 Oct 2002, Matthew Bailey wrote:
> 
> 
>>I have the latest version of Cygwin and ssh.  I am trying to display
>>another program remotely which I'm using Xwin32 5.2 to allow the display.
>>
>>The server always responds Can't connect to display :"0.0".
>>
>>I looked at my man pages for ssh and used the flag -X to enable forwarding
>>of my X11.  But, the server still responds the same, and will not allow me
>>to display my program.
>>
>>Can anyone help me with this problem?
>>
>>Thanks,
>>M. Bailey
> 
> 
> I'm sure this'll get redirected to cygwin-xfree, so I'm replying straight
> there.
> 
> ssh, when run with X forwarding, sets up a special display on the target
> machine.  The value of the DISPLAY variable should reflect that.
> There are a couple of possibilities:
> 
> 1) You are running 'ssh -X' from a bash prompt that does not have DISPLAY
> set.  In this case ssh will silently ignore the -X option and will not set
> up X forwarding.  To fix this, set DISPLAY to "localhost:0.0" before
> invoking ssh.
> 
> 2) (more likely from your symptoms) You have a login script that
> automatically sets the DISPLAY to :0.0 on the target machine, overriding
> the ssh-set value.  To fix this, find which script does that (could be
> .bashrc, .profile, some other rc script, could even be /etc/profile if
> your system administrator is sadistic/incompetent), and bracket the line
> that assigns DISPLAY by (for sh/ksh/bash) 'if [ -z "$DISPLAY" ]; then' and
> 'fi'.
> 
> Hope this helps,
> 	Igor


From vvikram@stanford.edu  Fri Oct 11 03:40:00 2002
From: vvikram@stanford.edu (Vikram)
Date: Fri, 11 Oct 2002 03:40:00 -0000
Subject: wmaker signal 11
Message-ID: 


Hi,

I downloaded cygwin afresh on a new box yesterday. For the first time
decided to try out wmaker.exe  wmaker got signal 11 everytime I started.

I searched the archives for quite a while before I saw the solution to
this posted by someone. It was that the directory $HOME/GNUStep should be
binary mounted [or] as I did for quick hack run dos2unix on the files in
that directory. Is there a fix for this in the works [or] has it already
been fixed ... ?

Thanks,
			Vikram






From mail1@mailsendserver.com  Fri Oct 11 19:04:00 2002
From: mail1@mailsendserver.com (Solitaire plus)
Date: Fri, 11 Oct 2002 19:04:00 -0000
Subject: Solitaire plus-Jewellery
Message-ID: 

www.solitaire-plus.com
''Jewellery ''

''joaillerie'' jetez un coup d'oiel, s.v.p


From swamp-dog@ntlworld.com  Sat Oct 12 03:49:00 2002
From: swamp-dog@ntlworld.com (Guy Harrison)
Date: Sat, 12 Oct 2002 03:49:00 -0000
Subject: Trying to build graphical applications for Cygwin - Please help
In-Reply-To: 
References: 
Message-ID: <3da7fb99.504767196@smtp.ntlworld.com>

On Mon, 7 Oct 2002 12:41:42 -0600, bob.cavanaugh@flextronicssemi.com
wrote:

>Hello all,
>First of all, I apologize for the length of this post. I have done a lot of
>reading, downloading, and building and I am stuck. I am somewhat new to using
>Cygwin but I have been an embedded systems engineer for 15 years so I am not new
>to computers.
>
>I am trying to get the following packages to run on my Cygwin/XFree86:
>1) Eterm-0.9.1 - an enhanced terminal program that allows backgrounds
>2) gpsim-0.20.14 - a Microchip PIC simulation package
>
>Trying to build Eterm, it requires imlib. I downloaded imlib- 2.1.06. The
>configure fails, looking for shmat().  I sent a message to the cygwin list, and
>received a reply from J. Larsen directing me to load Cygipc, which I did. This
>time the configure fails looking for XShmAttach().
>
>To build gpsim, I need glib and GTK+, pkg-config, and gtk+extra-0.99.17
>I tried building the lastest versions of glib and GTK, 2.0.6, with no luck. I
>backed up to the 1.2.8 version, and that builds, but the built version fails the
>testglib.exe file, seg faults on string test.
>I went to the maillist, and downloaded Lupo's glib 1.2.10 and GTK+1.2.10.
>Tried to build gtk+extra, and during the configure stage, a Windows messagebox
>comes up and says that I am missing "shmat" for X11.  Configure completed but
>said I have an invalid version of GTK+.
>
>OK, several things may be going on. I think I am having the same problem with
>both builds.
>
>1. I am running Cygipc as a service on Win2K. Do I need to do something else,
>like re-build XFree86? Is there a site with instructions?
>2. What else is required to get imlib and GTK+ to work correctly? Has anybody
>been able to do so, or am I trying to do something Cygwin cannot perform?

A static build is fairly trivial. I didn't have the details in response
to http://cygwin.com/ml/cygwin-xfree/2002-10/msg00059.html so here they
are now (you can safely add -O2 btw)...

glib (1.2.10)
--disable-shared --enable-threads=no
CFLAGS+=-DDEFS_H

gtk+ (1.2.10)
--disable-shared

gdk-pixbuf (0.10.1)
--disable-shared --disable-modules --disable-mmx

imlib (1.9.10)
--disable-shared --disable-modules

...none of the above require the presence of Cygipc.

>3. I saw one post which indicated a problem with FAT-32. Is NTFS a requirement
>to run Cygwin/XFree86 on Win2K?
>
>I don't want to waste anybody's time, but I would really appreciate any help
>offered. I know that eveybody's time is valuable (I promised a patch to the
>WxWindows group over a month ago I haven't gotten to yet :-(  ), but getting
>gpsim is a fairly high priority for me.

 ...

seems gtk+extra-0.99.17 just wants --disable-shared as well.


-- 
swamp-dog@ntlworld.com


From j-chow@northwestern.edu  Sat Oct 12 21:38:00 2002
From: j-chow@northwestern.edu (Jarva Chow)
Date: Sat, 12 Oct 2002 21:38:00 -0000
Subject: installation help!
Message-ID: <3DA8F819.8040002@northwestern.edu>

I went through the whole download process, following the user's guide 
(downloaded from setup.exe, downloaded all the required binaries) up to 
the point where it wanted us to run cygwin (chapter 2), and it doesn't 
work... cygwin just opens a window for half a second and then closes on 
me.  Help, what'd I do wrong?  and how can I fix this?  thanks!

Jarva
-- 

Jarva Chow
Northwestern University, Evanston, IL.  USA
j-chow@northwestern.edu


From huntharo@msu.edu  Sat Oct 12 21:42:00 2002
From: huntharo@msu.edu (Harold L Hunt II)
Date: Sat, 12 Oct 2002 21:42:00 -0000
Subject: installation help!
References: <3DA8F819.8040002@northwestern.edu>
Message-ID: <3DA8F957.6080006@msu.edu>

Jarva,

Cygwin/XFree86 is install completely with the Cygwin setup.exe 
installer.  There is no need to download the Cygwin/XFree86 binaries 
seperately.  In fact, the seperate binaries are old and probably broken 
by now.

You need to start over and follow the instructions on the Cygwin/XFree86 
home page (the User's Guide is a little out of date, but the home page 
is up to date):

http://xfree86.cygwin.com/

Let us know if you are successful.


Harold

Jarva Chow wrote:
> I went through the whole download process, following the user's guide 
> (downloaded from setup.exe, downloaded all the required binaries) up to 
> the point where it wanted us to run cygwin (chapter 2), and it doesn't 
> work... cygwin just opens a window for half a second and then closes on 
> me.  Help, what'd I do wrong?  and how can I fix this?  thanks!
> 
> Jarva


From wilper-8@ludd.luth.se  Sun Oct 13 03:25:00 2002
From: wilper-8@ludd.luth.se (Wilhelm Person)
Date: Sun, 13 Oct 2002 03:25:00 -0000
Subject: Problem with Backspace and Delete (fwd)
Message-ID: 


I have problems with Backspace and Delete keys when I use XFree and Cygwin
to connect to a remote Red Hat box.

In the terminal window that I did "ssh -X user@host" from, everything
works, but if I make a new xterm Backspace and Delete just print
tilde-chars instead of erasing.

If I connect to a Solaris box every thing works just fine.

I use xmodmap to get a Swedish kayboard layout
http://www.ludd.luth.se/~wilper-8/computer/xmodmap.se


How do I get Backspace and Delete to work in new xterms on a Linux box?

/Wilhelm



From arief@cs.Technion.AC.IL  Sun Oct 13 08:03:00 2002
From: arief@cs.Technion.AC.IL (Freund Ari)
Date: Sun, 13 Oct 2002 08:03:00 -0000
Subject: fvwm95
Message-ID: 


I saw some talk about a port of fvwm95 to Cygwin/XFree86 in the archives.
Does such a port exist?  Has it been made available?

Ari Freund


From pechtcha@cs.nyu.edu  Sun Oct 13 09:42:00 2002
From: pechtcha@cs.nyu.edu (Igor Pechtchanski)
Date: Sun, 13 Oct 2002 09:42:00 -0000
Subject: cygwin's ssh with Xwin
In-Reply-To: <3DA60203.3010806@msu.edu>
Message-ID: 

Harold,

While I don't doubt your expertise with XFree86, I would like to
respectfully disagree with your statement.  The next to last item on the
list (#5, IIRC) describes the same scenario that I mentioned as #1, and it
seems unlikely.  When 'ssh -X' is run from a prompt with no DISPLAY set,
the resulting message on the ssh target host is, e.g., 'xterm Xt error:
Can't open display:'.  Matthew's error explicitly states the ':0.0' as the
display number...  So, it looks like something does set the display, but
to the wrong value.  This is not to say that he might not have BOTH
problems at once, i.e., once he finds what sets his display, he'll still
have no X forwarding, but his immediate problem is, apparently, not what
you mentioned.
	Igor
P.S. I don't mean to be nitpicking here, just want the archives to reflect
the correct information...

On Thu, 10 Oct 2002, Harold L Hunt II wrote:

> Additionally, my recent SSH Notes email describes the scenario that you
> are in (next to last item on the list):
>
> http://cygwin.com/ml/cygwin-xfree/2002-10/msg00065.html
>
> Harold
>
> Igor Pechtchanski wrote:
> > On Thu, 10 Oct 2002, Matthew Bailey wrote:
> >
> >>I have the latest version of Cygwin and ssh.  I am trying to display
> >>another program remotely which I'm using Xwin32 5.2 to allow the display.
> >>
> >>The server always responds Can't connect to display :"0.0".
> >>
> >>I looked at my man pages for ssh and used the flag -X to enable forwarding
> >>of my X11.  But, the server still responds the same, and will not allow me
> >>to display my program.
> >>
> >>Can anyone help me with this problem?
> >>
> >>Thanks,
> >>M. Bailey
> >
> >
> > I'm sure this'll get redirected to cygwin-xfree, so I'm replying straight
> > there.
> >
> > ssh, when run with X forwarding, sets up a special display on the target
> > machine.  The value of the DISPLAY variable should reflect that.
> > There are a couple of possibilities:
> >
> > 1) You are running 'ssh -X' from a bash prompt that does not have DISPLAY
> > set.  In this case ssh will silently ignore the -X option and will not set
> > up X forwarding.  To fix this, set DISPLAY to "localhost:0.0" before
> > invoking ssh.
> >
> > 2) (more likely from your symptoms) You have a login script that
> > automatically sets the DISPLAY to :0.0 on the target machine, overriding
> > the ssh-set value.  To fix this, find which script does that (could be
> > .bashrc, .profile, some other rc script, could even be /etc/profile if
> > your system administrator is sadistic/incompetent), and bracket the line
> > that assigns DISPLAY by (for sh/ksh/bash) 'if [ -z "$DISPLAY" ]; then' and
> > 'fi'.
> >
> > Hope this helps,
> >       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 pechtcha@cs.nyu.edu  Sun Oct 13 09:46:00 2002
From: pechtcha@cs.nyu.edu (Igor Pechtchanski)
Date: Sun, 13 Oct 2002 09:46:00 -0000
Subject: fvwm95
In-Reply-To: 
Message-ID: 

On Sun, 13 Oct 2002, Freund Ari wrote:

> I saw some talk about a port of fvwm95 to Cygwin/XFree86 in the archives.
> Does such a port exist?  Has it been made available?
>
> Ari Freund

http://cygwin.com/cgi-bin2/package-grep.cgi?grep=bin%2Ffvwm
	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 gp@familiehaase.de  Sun Oct 13 22:44:00 2002
From: gp@familiehaase.de (Gerrit P. Haase)
Date: Sun, 13 Oct 2002 22:44:00 -0000
Subject: Glib and GTK cygwin Patch
In-Reply-To: <000801c27317$2729fb60$02f1ad41@mage>
References: <000801c27317$2729fb60$02f1ad41@mage>
Message-ID: <1861464076080.20021014074648@familiehaase.de>

Hallo Clint,

please no private mail, others may be interested in these issues too.
CC && F'up to cygwin-xfree list.

Am Montag, 14. Oktober 2002 um 02:17 schriebst du:

> Can you tell me the proper setup/syntax to use on the patch files to patch the
> gtk/glib 1.2.10 files...

You fetched the patches from Steve O'Brien's site (he did all the
patches)? > http://homepage.ntlworld.com/steven.obrien2/index.html
There are also sme instructions.

What I did, well, it was 'easy'.  Just unpacked the original source,
chdired into the source directory and did:

$ patch -p1<../glib-1.2.10.patch
$ ./configure --prefix=/usr/local 2>&1 | tee log.configure
$ make 2>&1 | tee log.make
$ make test 2>&1 | tee log.test
(or make check 2>&1 | tee log.test or skip this step)
$ make install 2>&1 | tee log.install

And the same for gtk and the other GNOME packages.

I saw no problems using Steve's patches, if you see problems, ask
Steve or post them via the cygwin-xfree list to the gurus please.


Gerrit
-- 
=^..^=


From choice15@gmx.de  Sun Oct 13 23:52:00 2002
From: choice15@gmx.de (choice15@gmx.de)
Date: Sun, 13 Oct 2002 23:52:00 -0000
Subject: Cygwin Remote: Want to implement a Citrix Metaframe alternative
References:  <006c01c27048$a32b5f00$4c64a8c0@ibsfreiburg.de> <200210102358.46666.rasjidw@openminddev.net>
Message-ID: <004601c2734e$6b27a9c0$4c64a8c0@ibsfreiburg.de>

Hi all,

The Implementation of my Cygwin Logon Programm works fine,
but the Workarraound with SAMBA (Singlesign on is not the real Deal)
has any One an Idea?

I want to try an Implementaton of SSH2 Protokoll to my Client to make
the Authentication to my X-Server (via SSH witout the Cygwin Bash)

I dont want (like commercial StarWin implementation use th "insecure XPDM"
Protocol.

Note: I tryin to register my Project on Sourceforge.org to make it common
avaiable under the GPL. (searchname: xnet)



> On Thu, 10 Oct 2002 8:34 pm, choice15@gmx.de wrote:
> >
> > I have handled the Problem with ssh-keygen -t dsa to bake up an Key-pair
> > and distribute it to the X-Server and Cygwin Client.
>
> Do these keys have passphrases?  If yes, then how is it different to
asking
> for a password.  If no, then how have you made the system secure?
>
> I am interested in the development of this idea, but would be very
concerned
> about the use of passphrase-less keys.
>
> Rasjid.
>


From sumeetj@hclinsys.com  Mon Oct 14 02:46:00 2002
From: sumeetj@hclinsys.com (Sumeet)
Date: Mon, 14 Oct 2002 02:46:00 -0000
Subject: Technical Qquery
Message-ID: 

Hi,

I am J Sumeet working as a Product Engineer for HCL Infosystems Ltd. I have
a few queries regarding this software :

1. Whether it will be able to bring the HP-UX Server GUI on our Windows
Desktop ?

2. Whether it is a freeware which doesn't require any other additional
software ?

Best Regards,

Sumeet J
PEG HCL Infosystems Ltd.
INDIA



From choice15@gmx.de  Mon Oct 14 03:53:00 2002
From: choice15@gmx.de (choice15@gmx.de)
Date: Mon, 14 Oct 2002 03:53:00 -0000
Subject: Technical Qquery
References: 
Message-ID: <005901c27370$12c27360$4c64a8c0@ibsfreiburg.de>

Hi Sumeet J,

I am not sure what Kind of X11-Protocoll  HP-UX (how Vers?) support.
My Implementation is written in Borland Delphi6 / Kylix3 (OpenEdition) but
still
an Alpha Prototype.

Features of the Windowsclient:

- X11 Remote Connections via (buildt in) OpenSSH (V2)
- Tabbedconfiguration Dialog for set up the X11-Environment.
- Local Printing & Sound Support for X11-Connections
- Automatic Distribution via Logonscript (bundling needed Cygwin Binaries)

Requirements:

- Windows 9.x  & NT.x
- Some Cygwin Packages
- TCP/IP-Networkconnections

> I am J Sumeet working as a Product Engineer for HCL Infosystems Ltd. I
have
> a few queries regarding this software :
>
> 1. Whether it will be able to bring the HP-UX Server GUI on our Windows
> Desktop ?
>
> 2. Whether it is a freeware which doesn't require any other additional
> software ?
>
> Best Regards,
>
> Sumeet J
> PEG HCL Infosystems Ltd.
> INDIA
>
>


From gsw@agere.com  Mon Oct 14 08:08:00 2002
From: gsw@agere.com (Gerald S. Williams)
Date: Mon, 14 Oct 2002 08:08:00 -0000
Subject: wmaker signal 11
In-Reply-To: 
Message-ID: 

Vikram [mailto:vvikram@stanford.edu] wrote:
> I downloaded cygwin afresh on a new box yesterday. For the first time
> decided to try out wmaker.exe  wmaker got signal 11 everytime I started.

I had similar problems at first. I believe I had to switch
to a binary mount point. Something like this:
 $ mount -f -s -b "C:/cygwin" "/"

But make sure you know what you're doing before you try it.

:-)

-Jerry


From huntharo@msu.edu  Mon Oct 14 08:13:00 2002
From: huntharo@msu.edu (Harold L Hunt II)
Date: Mon, 14 Oct 2002 08:13:00 -0000
Subject: Technical Qquery
In-Reply-To: 
References: 
Message-ID: <3DAADEB9.7030601@msu.edu>

Sumeet,

Yes, there are two ways that you can use Cygwin/XFree86 to display 
applications from your HP-UX server:

1) Remote sessions via XDMCP (there is an additional load placed on your 
server for each XDMCP session that is open).  This option allows you to 
get a complete GUI just as if you were on the console of the HP-UX machine:

http://xfree86.cygwin.com/docs/ug/using-remote-session.html

2) You can display individual client applications in Cygwin/XFree86 from 
your HP-UX machine using either telnet or ssh with X11 forwarding:

http://xfree86.cygwin.com/docs/ug/using-remote-apps.html


Yes, Cygwin/XFree86 is free to use and no additional software is 
required.  Specifically, Cygwin is free software and XFree86 is open 
source, both of which mean that the source code is available for free 
and you are free to use it.

Harold

Sumeet wrote:

>Hi,
>
>I am J Sumeet working as a Product Engineer for HCL Infosystems Ltd. I have
>a few queries regarding this software :
>
>1. Whether it will be able to bring the HP-UX Server GUI on our Windows
>Desktop ?
>
>2. Whether it is a freeware which doesn't require any other additional
>software ?
>
>Best Regards,
>
>Sumeet J
>PEG HCL Infosystems Ltd.
>INDIA
>
>
>  
>


From huntharo@msu.edu  Mon Oct 14 08:27:00 2002
From: huntharo@msu.edu (Harold L Hunt II)
Date: Mon, 14 Oct 2002 08:27:00 -0000
Subject: wmaker signal 11
In-Reply-To: 
References: 
Message-ID: <3DAAE220.3060906@msu.edu>

Did I build the wmaker package?  I am guessing that I did... in that 
case, I should be linking automode.o with the wmaker executable so that 
we are not dependent upon binary mounts.  Any objections?

Harold

Gerald S. Williams wrote:

>Vikram [mailto:vvikram@stanford.edu] wrote:
>  
>
>>I downloaded cygwin afresh on a new box yesterday. For the first time
>>decided to try out wmaker.exe  wmaker got signal 11 everytime I started.
>>    
>>
>
>I had similar problems at first. I believe I had to switch
>to a binary mount point. Something like this:
> $ mount -f -s -b "C:/cygwin" "/"
>
>But make sure you know what you're doing before you try it.
>
>:-)
>
>-Jerry
>  
>


From jc.gervais@videotron.ca  Mon Oct 14 08:33:00 2002
From: jc.gervais@videotron.ca (Jean-Claude Gervais)
Date: Mon, 14 Oct 2002 08:33:00 -0000
Subject: wmaker signal 11
In-Reply-To: <3DAAE220.3060906@msu.edu>
Message-ID: 

I can report that if you install Cygwin and choose DOS files instead of UNIX
files as a setup option, wmaker crashes on startup as a matter of course.

'course I don't really know WHY that is, but I did observe the fact.

-----Original Message-----
From: cygwin-xfree-owner@cygwin.com [mailto:cygwin-xfree-owner@cygwin.com]On
Behalf Of Harold L Hunt II
Sent: Monday, October 14, 2002 11:26 AM
To: cygwin-xfree@cygwin.com
Subject: Re: wmaker signal 11

Did I build the wmaker package?  I am guessing that I did... in that
case, I should be linking automode.o with the wmaker executable so that
we are not dependent upon binary mounts.  Any objections?

Harold

Gerald S. Williams wrote:

>Vikram [mailto:vvikram@stanford.edu] wrote:
>
>
>>I downloaded cygwin afresh on a new box yesterday. For the first time
>>decided to try out wmaker.exe  wmaker got signal 11 everytime I started.
>>
>>
>
>I had similar problems at first. I believe I had to switch
>to a binary mount point. Something like this:
> $ mount -f -s -b "C:/cygwin" "/"
>
>But make sure you know what you're doing before you try it.
>
>:-)
>
>-Jerry
>
>


From tjsl7@yahoo.com  Mon Oct 14 08:59:00 2002
From: tjsl7@yahoo.com (Tim Slomer)
Date: Mon, 14 Oct 2002 08:59:00 -0000
Subject: Running Setup Problem 
Message-ID: <20021014155920.15297.qmail@web80310.mail.yahoo.com>

I need to have setup run so that everything is
automatic, using the defaults.  I do not want anyone
to be able to change the settings, because this will
cause problems.  I was going to just write
insturctions but someone might try to be brave and
change something.  Any help would be great.

__________________________________________________
Do you Yahoo!?
New DSL Internet Access from SBC & Yahoo!
http://sbc.yahoo.com


From huntharo@msu.edu  Mon Oct 14 09:06:00 2002
From: huntharo@msu.edu (Harold L Hunt II)
Date: Mon, 14 Oct 2002 09:06:00 -0000
Subject: Running Setup Problem
In-Reply-To: <20021014155920.15297.qmail@web80310.mail.yahoo.com>
References: <20021014155920.15297.qmail@web80310.mail.yahoo.com>
Message-ID: <3DAAEB4C.3060805@msu.edu>

Tim,

I would suggest that you search the Cygwin mailing list for setup.exe 
and scriptable.  I remember seeing references to the scripability of 
setup.exe.

http://cygwin.com/ml/cygwin/

http://cygwin.com/cgi-bin/htsearch?method=and&format=builtin-long&sort=time&config=htdig&restrict=%2Fml%2Fcygwin%2F&exclude=&words=setup.exe+scriptable

http://www.google.com/search?hl=en&ie=UTF-8&oe=UTF-8&q=site%3Acygwin.com+setup.exe+scriptable&btnG=Google+Search


Harold

Tim Slomer wrote:

>I need to have setup run so that everything is
>automatic, using the defaults.  I do not want anyone
>to be able to change the settings, because this will
>cause problems.  I was going to just write
>insturctions but someone might try to be brave and
>change something.  Any help would be great.
>
>__________________________________________________
>Do you Yahoo!?
>New DSL Internet Access from SBC & Yahoo!
>http://sbc.yahoo.com
>  
>


From jc.gervais@videotron.ca  Mon Oct 14 11:10:00 2002
From: jc.gervais@videotron.ca (Jean-Claude Gervais)
Date: Mon, 14 Oct 2002 11:10:00 -0000
Subject: Dual-display
Message-ID: 

I have a machine with two video cards in it (forms one 2048x768 desktop).
I??d like to make XWin start on the second display, is there a way to do
that?
I think I once read that on Windows, when you have multiple video cards,
only the ??first?? one is accelerated. So the command line would have to
contain ??engine 1

Proposed feature addition:
The ??display switch.
Default would be ??display 1 and in my case you would use it like
this: ??display 2

Or possibly the DISPLAY environment variable. Ex: DISPLAY=127.0.0.1:0.2



From zakki@peppermint.jp  Mon Oct 14 11:32:00 2002
From: zakki@peppermint.jp (MATSUZAKI Kensuke)
Date: Mon, 14 Oct 2002 11:32:00 -0000
Subject: Rootless mode revisited...
In-Reply-To: <3DA45E63.6010705@msu.edu>
References: 
	
	<3DA45E63.6010705@msu.edu>
Message-ID: 

Thomas didn't talk about X Shape Extension.
I think Thomas's idea is something like this.

With this patch and "-nodecoration" option, it seems to work good.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: pseudo-rootless.patch
Type: application/octet-stream
Size: 8963 bytes
Desc: not available
URL: 

From a_w@gmx.li  Mon Oct 14 16:14:00 2002
From: a_w@gmx.li (Arno Waschk)
Date: Mon, 14 Oct 2002 16:14:00 -0000
Subject: AW: Build Gtk+ static
Message-ID: <7895.1034637263@www46.gmx.net>

Which versions of glib and gtk are you trying?
There have been links to patched 1.2.10 packages in this archive i think...
tryy a search.
In the 2.0 CVS of both glib and gtk are hints in the comments which one
might understand in the direction of them being meant to compile under
cygwin,
which is what i am trying out  right now. But i can't persuade libtool to
create a shared libglib-2.0 which gives huge problems
already within the glib build. Perhaps we can help each other (or somebody
else?)
I am trying with glib latest-cvs, libtool lates-cvs, automake 1.4-p5, latest
cygwin release, gcc 3.2, Win ME

Arno

-- 
+++ GMX - Mail, Messaging & more  http://www.gmx.net +++
NEU: Mit GMX ins Internet. Rund um die Uhr f??r 1 ct/ Min. surfen!


From luke.kendall@cisra.canon.com.au  Mon Oct 14 18:19:00 2002
From: luke.kendall@cisra.canon.com.au (luke.kendall@cisra.canon.com.au)
Date: Mon, 14 Oct 2002 18:19:00 -0000
Subject: wmaker signal 11
In-Reply-To: <3DAAE220.3060906@msu.edu>
Message-ID: <20021015011932.64889340A1@nevin.research.canon.com.au>

On 14 Oct, Harold L Hunt II wrote:
>  Did I build the wmaker package?  I am guessing that I did... in that 
>  case, I should be linking automode.o with the wmaker executable so that 
>  we are not dependent upon binary mounts.  Any objections?
>  
>  Harold

Maybe ...

I made a patch for WM that made sure to open all the files in binary
mode.  As far as I understand it, this means that that whether or not
the file system is mounted as binary or text, the WM config files would
always be written out in binary mode (i.e. just LF, no CR-LF).

This patch was accepted into the post- wm 0.80.1 development version by
the WM developers.  SO I'd expect it to be fine when the next version
is released.

Would automode.o help or hinder all this?  Note also that the config
files are written out by the config program WPrefs, as well as by doing
a Save Session from WM.

What my WM patch does *not* fix is files that have been modified
outside WM, and somehow get CR-LF line endings.  *That* would be
guaranteed to crash WM still.

BTW, I currently have a temporary workaround for the problem - a WM
exitscript that trims off the CRs.

Might be worth mentioning my home page that tries to make Cygwin
installation easy for novice users, coincidentally updated last night:
http://members.optushome.com.au/lukekendall/xwin-network.html

The post-install.sh script is quite nice, I think.  I'd welcome
comments and feedback about any of the above info.

   NOTE: don't run post-install.sh with the "-fresh" option that is
         recommended for new users if you already have your home
         directory set up.  It does a mount -t $CYGDRIVE:\\home /home
         which might hide your existing home directory!

We use a modified form of this to install Cygwin on all the Windows PCs
at work now.  It's taken years to get the okay to do this, and for
Cygwin or U/Win to be as beautifully capable as they now are.

Regards,

luke

>  Gerald S. Williams wrote:
>  
>  >Vikram [mailto:vvikram@stanford.edu] wrote:
> >  
>  >
>  >>I downloaded cygwin afresh on a new box yesterday. For the first time
>  >>decided to try out wmaker.exe  wmaker got signal 11 everytime I started.
>  >>    
>  >>
>  >
>  >I had similar problems at first. I believe I had to switch
>  >to a binary mount point. Something like this:
> > $ mount -f -s -b "C:/cygwin" "/"
>  >
>  >But make sure you know what you're doing before you try it.
>  >
>  >:-)
>  >
>  >-Jerry




From luke.kendall@cisra.canon.com.au  Mon Oct 14 18:31:00 2002
From: luke.kendall@cisra.canon.com.au (luke.kendall@cisra.canon.com.au)
Date: Mon, 14 Oct 2002 18:31:00 -0000
Subject: xwinclip problem/puzzle
Message-ID: <20021015013116.63EB3340A1@nevin.research.canon.com.au>

My wife's Windows config at home now is very functional, thanks to
Cygwin and Cygwin-xfree (thanks Christopher, Harold, and everone else!)

But, we still can't get copy and paste between XFree86 and Windows...

xwinclip works exactly as advertised, but its insistence on de-selecting
as it copies to the Windows clipboard means that a broad range of user
interface actions inside X become impossible.

One example is where you have to select an item from a list before
applying some action to the selection; or selecting a piece of text for
cut and paste.

At home, my wife had to stop using xwinclip because of this.

Could it be changed to not do this selection-clearing?  I got the
impression it was only done so that you knew the copy-to-Windows-
clipboard action had happened.

But I'm quite happy to take that on faith!  At least, could there be a
command line option to turn off this activity?

luke







From nahor@bravobrava.com  Mon Oct 14 19:05:00 2002
From: nahor@bravobrava.com (Jehan)
Date: Mon, 14 Oct 2002 19:05:00 -0000
Subject: xwinclip problem/puzzle
In-Reply-To: <20021015013116.63EB3340A1@nevin.research.canon.com.au>
References: <20021015013116.63EB3340A1@nevin.research.canon.com.au>
Message-ID: 

luke.kendall@cisra.canon.com.au wrote:
> Could it be changed to not do this selection-clearing?  I got the
> impression it was only done so that you knew the copy-to-Windows-
> clipboard action had happened.

It was not done for the user to know that copy happened, but for 
xwinclip to know when the user select something (xwinclip loses the 
"clipboard focus" then).

Anyway, Chris Twiner posted a version that does the copy to windows only 
when XWin gets deactivated (i.e. when you select another Windows 
application, so the selection stays until you leave the XWin window).

See the attachment at the bottom of the message:
http://sources.redhat.com/ml/cygwin-xfree/2002-08/msg00260.html
You'll need to compile it yourself though.

And maybe Chris has a newer version now.

	Jehan




From c_twiner@hotmail.com  Tue Oct 15 01:57:00 2002
From: c_twiner@hotmail.com (Chris Twiner)
Date: Tue, 15 Oct 2002 01:57:00 -0000
Subject: xwinclip problem/puzzle
Message-ID: 

Thanks for the referal Jehan,

>And maybe Chris has a newer version now.

Unfortunately not.  The version most recently posted had the ctrl+c and 
server reset code in place but nothing much else.  This I had planned to do:

- get the windows clipboard only when something has changed on it (don't 
unnecessarily grab the x selection)
- handle multiple X server screens (so you don't end up using windows as an 
unnecessary intermediatary clipboard system).

When you run multiple screens do you keep the same display setting or does 
it need to change?  If it is the same display I can get it working (by 
making sure the newly activated window is not a cygwin window).

As to further dev I want to contribute but my time is tight at the moment, 
previously I was on a part time contract so I could devote time to xwinclip. 
  Now I'm full time so I don't know when I'll get round to it. I will do 
them both, but I just can't say when.

Chris

_________________________________________________________________
Join the world??s largest e-mail service with MSN Hotmail. 
http://www.hotmail.com


From choice15@gmx.de  Tue Oct 15 02:08:00 2002
From: choice15@gmx.de (choice15@gmx.de)
Date: Tue, 15 Oct 2002 02:08:00 -0000
Subject: Technical Qquery
References:  <3DAADEB9.7030601@msu.edu>
Message-ID: <014201c2742a$84862ef0$4c64a8c0@ibsfreiburg.de>

> Sumeet,
>
> Yes, there are two ways that you can use Cygwin/XFree86 to display
> applications from your HP-UX server:

Ok, then my Logon Client is working on HP-UX , fine

Note The X.NET Project can be found under
http://sourceforge.net/projects/ibsxnet/


> 1) Remote sessions via XDMCP (there is an additional load placed on your
> server for each XDMCP session that is open).  This option allows you to
> get a complete GUI just as if you were on the console of the HP-UX
machine:
>
> http://xfree86.cygwin.com/docs/ug/using-remote-session.html
>
> 2) You can display individual client applications in Cygwin/XFree86 from
> your HP-UX machine using either telnet or ssh with X11 forwarding:
>
> http://xfree86.cygwin.com/docs/ug/using-remote-apps.html
>
>
> Yes, Cygwin/XFree86 is free to use and no additional software is
> required.  Specifically, Cygwin is free software and XFree86 is open
> source, both of which mean that the source code is available for free
> and you are free to use it.
>
> Harold
>
> Sumeet wrote:
>
> >Hi,
> >
> >I am J Sumeet working as a Product Engineer for HCL Infosystems Ltd. I
have
> >a few queries regarding this software :
> >
> >1. Whether it will be able to bring the HP-UX Server GUI on our Windows
> >Desktop ?
> >
> >2. Whether it is a freeware which doesn't require any other additional
> >software ?
> >
> >Best Regards,
> >
> >Sumeet J
> >PEG HCL Infosystems Ltd.
> >INDIA
> >
> >
> >
> >
>


From arc@elex.be  Tue Oct 15 02:13:00 2002
From: arc@elex.be (Arkadi Colson)
Date: Tue, 15 Oct 2002 02:13:00 -0000
Subject: Change keyboard layout from qwerty to azerty.
Message-ID: <5.1.0.14.0.20021015110728.020ee268@pop.tess.elex.be>

Does anybody know how to change the keyboard settings from qwerty to 
azerty? I`m using the latest version of cygwin with windowmaker?

Thanks allready,
      Arkadi


From spetreolle@yahoo.fr  Tue Oct 15 08:32:00 2002
From: spetreolle@yahoo.fr (=?iso-8859-1?q?Sylvain=20Petreolle?=)
Date: Tue, 15 Oct 2002 08:32:00 -0000
Subject: Problem with the ht:///Dig search engine
Message-ID: <20021015153225.51986.qmail@web10102.mail.yahoo.com>

Hi list,

Today I wanted to search in the ML archive about setting Cygwin as
XDMCP server.
I went to http://cygwin.com/ml/cygwin-xfree/ and typed in 'XDMCP
server'.

The search engine matched 546 entries.
But when you are at the 10th page, the pages shows the results 90-100,
but the arrow to show the 100-110 is disabled !

Can someone correct this ?

___________________________________________________________
Do You Yahoo!? -- Une adresse @yahoo.fr gratuite et en fran??ais !
Yahoo! Mail : http://fr.mail.yahoo.com


From nicolas.rouquette@jpl.nasa.gov  Tue Oct 15 12:15:00 2002
From: nicolas.rouquette@jpl.nasa.gov (Nicolas F Rouquette)
Date: Tue, 15 Oct 2002 12:15:00 -0000
Subject: Cannot start X server
Message-ID: <3DAC6933.4000302@jpl.nasa.gov>

I have been running cygwin & X for quite a while. Recently, my setup got 
corrupted after a setup session gone bad (not sure why).
Today, I reinstalled everything (cygwin & xfree) from the internet but I 
can't start a basic X server. Here's what I get:

$ startx

waiting for X server to begin accepting connections .
..
.. [repeated many times]
..
giving up.
xinit: Permission denied (errno 13): unable to connect to X server

waiting for X server to shut down

xinit: Server error

The /tmp/XWin.log doesn't seem to have particularly alarming messages,
except for the ownership message that I've read in the mailing list 
archive to ignore
(perhaps it no longer should???)

---------------------
ddxProcessArgument - Initializing default screens
winInitializeDefaultScreens - w 1600 h 1200
winInitializeDefaultScreens - Returning
_XSERVTransmkdir: Owner of /tmp/.X11-unix should be set to root
winDetectSupportedEngines - Windows NT/2000/XP
winDetectSupportedEngines - DirectDraw installed
winDetectSupportedEngines - Allowing PrimaryDD
winDetectSupportedEngines - DirectDraw4 installed
winDetectSupportedEngines - Returning, supported engines 0000001f
winSetEngine - Using Shadow DirectDraw NonLocking
winAdjustVideoModeShadowDDNL - Using Windows display depth of 32 bits 
per pixel
winAdjustForAutoHide - Original WorkArea: 0 0 1166 1600
winAdjustForAutoHide - Adjusted WorkArea: 0 0 1166 1600
winCreateBoundingWindowWindowed - WindowClient w 1594 h 1135 r 1594 l 0 
b 1135 t 0
winCreateBoundingWindowWindowed -  Returning
winAllocateFBShadowDDNL - lPitch: 6376
winFinishScreenInitFB - Masks: 00ff0000 0000ff00 000000ff
winInitVisualsShadowDDNL - Masks 00ff0000 0000ff00 000000ff BPRGB 8 d 24 
bpp 32
winCreateDefColormap - Deferring to fbCreateDefColormap ()
winScreenInit - returning
Could not init font path element /usr/X11R6/lib/X11/fonts/Speedo/, 
removing from list!
Could not init font path element /usr/X11R6/lib/X11/fonts/Type1/, 
removing from list!
Could not init font path element /usr/X11R6/lib/X11/fonts/100dpi/, 
removing from list!
-----------------------

Suggestions?

-- Nicolas.



From alanh@fairlite.demon.co.uk  Tue Oct 15 15:49:00 2002
From: alanh@fairlite.demon.co.uk (Alan Hourihane)
Date: Tue, 15 Oct 2002 15:49:00 -0000
Subject: XFree86-f100-4.2.0-1.tar.bz2 still exists..
Message-ID: <20021015224931.GQ1585@fairlite.demon.co.uk>

Is there any reason why the above file still exists when
there is a -2.tar.bz2 version now ?

Alan.


From alanh@fairlite.demon.co.uk  Tue Oct 15 15:51:00 2002
From: alanh@fairlite.demon.co.uk (Alan Hourihane)
Date: Tue, 15 Oct 2002 15:51:00 -0000
Subject: XFree86-f100-4.2.0-1.tar.bz2 still exists..
In-Reply-To: <20021015224931.GQ1585@fairlite.demon.co.uk>
References: <20021015224931.GQ1585@fairlite.demon.co.uk>
Message-ID: <20021015225116.GR1585@fairlite.demon.co.uk>

On Tue, Oct 15, 2002 at 11:49:31PM +0100, Alan Hourihane wrote:
> Is there any reason why the above file still exists when
> there is a -2.tar.bz2 version now ?

In fact there's others too in the font directories...

Alan.


From alanh@fairlite.demon.co.uk  Tue Oct 15 15:53:00 2002
From: alanh@fairlite.demon.co.uk (Alan Hourihane)
Date: Tue, 15 Oct 2002 15:53:00 -0000
Subject: XFree86-f100-4.2.0-1.tar.bz2 still exists..
In-Reply-To: <20021015225116.GR1585@fairlite.demon.co.uk>
References: <20021015224931.GQ1585@fairlite.demon.co.uk> <20021015225116.GR1585@fairlite.demon.co.uk>
Message-ID: <20021015225314.GS1585@fairlite.demon.co.uk>

On Tue, Oct 15, 2002 at 11:51:16PM +0100, Alan Hourihane wrote:
> On Tue, Oct 15, 2002 at 11:49:31PM +0100, Alan Hourihane wrote:
> > Is there any reason why the above file still exists when
> > there is a -2.tar.bz2 version now ?
> 
> In fact there's others too in the font directories...

Ignore this, I realise it's for those who wish to drop back a
version with cygwin's setup.exe tool.

Alan.


From Tom_Roche@pobox.com  Tue Oct 15 16:43:00 2002
From: Tom_Roche@pobox.com (Tom Roche)
Date: Tue, 15 Oct 2002 16:43:00 -0000
Subject: how to make startxwin.bat "just like" startx?
Message-ID: <3DACA80D.4040500@pobox.com>

Is there a way to have startxwin.bat behave "just like" startx? I.e.
to have the XFree86 window resulting from running startxwin.bat be
just like the one resulting from running cygwin.bat, and then startx?

I'd like to not maintain two sets of configuration files, so I'd like
to be able to just work with startx, e.g. to have startxwin.bat invoke
it somehow. Can that be done? if so, how?


From j_tetazoo@hotmail.com  Wed Oct 16 07:21:00 2002
From: j_tetazoo@hotmail.com (Thomas Chadwick)
Date: Wed, 16 Oct 2002 07:21:00 -0000
Subject: Rootless mode revisited...
Message-ID: 

I tried out this patch (took a few days because I needed to get xfree86 out 
of CVS and build it).  Very cool.  Thanks a bunch to MATSUZAKI for coding 
it!  You saved me a lot of work.

Here's a screenshot...

http://home.adelphia.net/~tlcweb/cygwin/pseudo_rootless_screenshot.gif

Notice that you can see IE in the background along with some Windows desktop 
icons down the left side of the screen.  The windows in the forground are 
Xclients (namely xterm, xclock, and xeyes).  The icon in the lower left is 
an iconified Xclient.

However, I noticed a few strange artifacts of this approach to rootless 
mode...

1) When you click and drag on an Xwindow to move it, you only see the bits 
and pieces of the "rubber band" outline which happen to overlap the other 
Xwindows.  Where the rubber band overlaps Windows windows, you see nothing.

2) Now that there is no root window, you can't use the XWindows window 
manager's root-window menus.

3) A favorite tool of mine, x2x, is broken, which is due to the lack of a 
root window causing the mouse focus to jump back and forth XWindows and 
Windows.


Still, if anyone wants to try it out, here's a binary that I built last 
night from source I pulled from CVS yesterday...

http://home.adelphia.net/~tlcweb/cygwin/XWin.exe


>From: MATSUZAKI Kensuke 
>Reply-To: cygwin-xfree@cygwin.com
>To: cygwin-xfree@cygwin.com
>Subject: Re: Rootless mode revisited...
>Date: Tue, 15 Oct 2002 03:30:50 +0900
>
>Thomas didn't talk about X Shape Extension.
>I think Thomas's idea is something like this.
>
>With this patch and "-nodecoration" option, it seems to work good.
>
><< pseudo-rootless.patch >>


_________________________________________________________________
Internet access plans that fit your lifestyle -- join MSN. 
http://resourcecenter.msn.com/access/plans/default.asp


From j_tetazoo@hotmail.com  Wed Oct 16 07:26:00 2002
From: j_tetazoo@hotmail.com (Thomas Chadwick)
Date: Wed, 16 Oct 2002 07:26:00 -0000
Subject: how to make startxwin.bat "just like" startx?
Message-ID: 

You might want to take a look at this recent post of mine...

http://www.cygwin.com/ml/cygwin-xfree/2002-10/msg00091.html

Of particular interest to you might be the stuff at the bottom about how to 
create a shortcut on the Windows desktop which runs xinit.  You could easily 
change the target to call startx instead.

>From: Tom Roche 
>Reply-To: Tom_Roche@pobox.com
>To: cygwin-xfree@cygwin.com
>Subject: how to make startxwin.bat "just like" startx?
>Date: Tue, 15 Oct 2002 19:43:09 -0400
>
>Is there a way to have startxwin.bat behave "just like" startx? I.e.
>to have the XFree86 window resulting from running startxwin.bat be
>just like the one resulting from running cygwin.bat, and then startx?
>
>I'd like to not maintain two sets of configuration files, so I'd like
>to be able to just work with startx, e.g. to have startxwin.bat invoke
>it somehow. Can that be done? if so, how?


_________________________________________________________________
Unlimited Internet access -- and 2 months free!?? Try MSN. 
http://resourcecenter.msn.com/access/plans/2monthsfree.asp


From huntharo@msu.edu  Wed Oct 16 07:26:00 2002
From: huntharo@msu.edu (Harold L Hunt II)
Date: Wed, 16 Oct 2002 07:26:00 -0000
Subject: Rootless mode revisited...
In-Reply-To: 
References: 
Message-ID: <3DAD770C.2050502@msu.edu>

Thomas,

What CVS tree did you pull this from?  Why isn't MATSUZAKI working with 
us?  If I recall correctly, he wrote the Unicode support for xwinclip, 
right?

Harold

Thomas Chadwick wrote:

> I tried out this patch (took a few days because I needed to get 
> xfree86 out of CVS and build it).  Very cool.  Thanks a bunch to 
> MATSUZAKI for coding it!  You saved me a lot of work.
>
> Here's a screenshot...
>
> http://home.adelphia.net/~tlcweb/cygwin/pseudo_rootless_screenshot.gif
>
> Notice that you can see IE in the background along with some Windows 
> desktop icons down the left side of the screen.  The windows in the 
> forground are Xclients (namely xterm, xclock, and xeyes).  The icon in 
> the lower left is an iconified Xclient.
>
> However, I noticed a few strange artifacts of this approach to 
> rootless mode...
>
> 1) When you click and drag on an Xwindow to move it, you only see the 
> bits and pieces of the "rubber band" outline which happen to overlap 
> the other Xwindows.  Where the rubber band overlaps Windows windows, 
> you see nothing.
>
> 2) Now that there is no root window, you can't use the XWindows window 
> manager's root-window menus.
>
> 3) A favorite tool of mine, x2x, is broken, which is due to the lack 
> of a root window causing the mouse focus to jump back and forth 
> XWindows and Windows.
>
>
> Still, if anyone wants to try it out, here's a binary that I built 
> last night from source I pulled from CVS yesterday...
>
> http://home.adelphia.net/~tlcweb/cygwin/XWin.exe
>
>
>> From: MATSUZAKI Kensuke 
>> Reply-To: cygwin-xfree@cygwin.com
>> To: cygwin-xfree@cygwin.com
>> Subject: Re: Rootless mode revisited...
>> Date: Tue, 15 Oct 2002 03:30:50 +0900
>>
>> Thomas didn't talk about X Shape Extension.
>> I think Thomas's idea is something like this.
>>
>> With this patch and "-nodecoration" option, it seems to work good.
>>
>> << pseudo-rootless.patch >>
>
>
>
> _________________________________________________________________
> Internet access plans that fit your lifestyle -- join MSN. 
> http://resourcecenter.msn.com/access/plans/default.asp
>


From j_tetazoo@hotmail.com  Wed Oct 16 07:40:00 2002
From: j_tetazoo@hotmail.com (Thomas Chadwick)
Date: Wed, 16 Oct 2002 07:40:00 -0000
Subject: Rootless mode revisited...
Message-ID: 

In response to your first question - the patch isn't in CVS.  I pulled the 
source from CVS, applied the patch that was posted to the ML, then built it. 
  Sorry if that wasn't clear.

As for your other 2 questions - I don't have an answer.

The fact that Matsuzaki posted this patch came as a complete surprise to me. 
  I had every intention of developing and experimenting with such a patch 
myself.  He just beat me to it.

>From: Harold L Hunt II 
>Reply-To: cygwin-xfree@cygwin.com
>To: cygwin-xfree@cygwin.com
>Subject: Re: Rootless mode revisited...
>Date: Wed, 16 Oct 2002 10:26:20 -0400
>
>Thomas,
>
>What CVS tree did you pull this from?  Why isn't MATSUZAKI working with us? 
>  If I recall correctly, he wrote the Unicode support for xwinclip, right?
>
>Harold
>
>Thomas Chadwick wrote:
>
>>I tried out this patch (took a few days because I needed to get xfree86 
>>out of CVS and build it).  Very cool.  Thanks a bunch to MATSUZAKI for 
>>coding it!  You saved me a lot of work.
>>
>>Here's a screenshot...
>>
>>http://home.adelphia.net/~tlcweb/cygwin/pseudo_rootless_screenshot.gif
>>
>>Notice that you can see IE in the background along with some Windows 
>>desktop icons down the left side of the screen.  The windows in the 
>>forground are Xclients (namely xterm, xclock, and xeyes).  The icon in the 
>>lower left is an iconified Xclient.
>>
>>However, I noticed a few strange artifacts of this approach to rootless 
>>mode...
>>
>>1) When you click and drag on an Xwindow to move it, you only see the bits 
>>and pieces of the "rubber band" outline which happen to overlap the other 
>>Xwindows.  Where the rubber band overlaps Windows windows, you see 
>>nothing.
>>
>>2) Now that there is no root window, you can't use the XWindows window 
>>manager's root-window menus.
>>
>>3) A favorite tool of mine, x2x, is broken, which is due to the lack of a 
>>root window causing the mouse focus to jump back and forth XWindows and 
>>Windows.
>>
>>
>>Still, if anyone wants to try it out, here's a binary that I built last 
>>night from source I pulled from CVS yesterday...
>>
>>http://home.adelphia.net/~tlcweb/cygwin/XWin.exe
>>
>>
>>>From: MATSUZAKI Kensuke 
>>>Reply-To: cygwin-xfree@cygwin.com
>>>To: cygwin-xfree@cygwin.com
>>>Subject: Re: Rootless mode revisited...
>>>Date: Tue, 15 Oct 2002 03:30:50 +0900
>>>
>>>Thomas didn't talk about X Shape Extension.
>>>I think Thomas's idea is something like this.
>>>
>>>With this patch and "-nodecoration" option, it seems to work good.
>>>
>>><< pseudo-rootless.patch >>
>>
>>
>>
>>_________________________________________________________________
>>Internet access plans that fit your lifestyle -- join MSN. 
>>http://resourcecenter.msn.com/access/plans/default.asp
>>


_________________________________________________________________
Surf the Web without missing calls! Get MSN Broadband. 
http://resourcecenter.msn.com/access/plans/freeactivation.asp


From huntharo@msu.edu  Wed Oct 16 07:44:00 2002
From: huntharo@msu.edu (Harold L Hunt II)
Date: Wed, 16 Oct 2002 07:44:00 -0000
Subject: Rootless mode revisited...
In-Reply-To: 
References: 		<3DA45E63.6010705@msu.edu> 
Message-ID: <3DAD7B54.1020308@msu.edu>

Oh my god, I completely missed this patch!  Wow!

I can't wait to take a look at it tonight!

Harold

MATSUZAKI Kensuke wrote:

>Thomas didn't talk about X Shape Extension.
>I think Thomas's idea is something like this.
>
>With this patch and "-nodecoration" option, it seems to work good.
>
>  
>


From huntharo@msu.edu  Wed Oct 16 07:45:00 2002
From: huntharo@msu.edu (Harold L Hunt II)
Date: Wed, 16 Oct 2002 07:45:00 -0000
Subject: Rootless mode revisited...
In-Reply-To: 
References: 
Message-ID: <3DAD7B8C.4070806@msu.edu>

Heh heh... as you will see from my reply that I just sent to MATSUZAKI's 
post, I missed his email, or I saw it but I didn't realize that he wrote 
a patch for rootless mode.

Very cool.

Harold

Thomas Chadwick wrote:

> In response to your first question - the patch isn't in CVS.  I pulled 
> the source from CVS, applied the patch that was posted to the ML, then 
> built it.  Sorry if that wasn't clear.
>
> As for your other 2 questions - I don't have an answer.
>
> The fact that Matsuzaki posted this patch came as a complete surprise 
> to me.  I had every intention of developing and experimenting with 
> such a patch myself.  He just beat me to it.
>
>> From: Harold L Hunt II 
>> Reply-To: cygwin-xfree@cygwin.com
>> To: cygwin-xfree@cygwin.com
>> Subject: Re: Rootless mode revisited...
>> Date: Wed, 16 Oct 2002 10:26:20 -0400
>>
>> Thomas,
>>
>> What CVS tree did you pull this from?  Why isn't MATSUZAKI working 
>> with us?  If I recall correctly, he wrote the Unicode support for 
>> xwinclip, right?
>>
>> Harold
>>
>> Thomas Chadwick wrote:
>>
>>> I tried out this patch (took a few days because I needed to get 
>>> xfree86 out of CVS and build it).  Very cool.  Thanks a bunch to 
>>> MATSUZAKI for coding it!  You saved me a lot of work.
>>>
>>> Here's a screenshot...
>>>
>>> http://home.adelphia.net/~tlcweb/cygwin/pseudo_rootless_screenshot.gif
>>>
>>> Notice that you can see IE in the background along with some Windows 
>>> desktop icons down the left side of the screen.  The windows in the 
>>> forground are Xclients (namely xterm, xclock, and xeyes).  The icon 
>>> in the lower left is an iconified Xclient.
>>>
>>> However, I noticed a few strange artifacts of this approach to 
>>> rootless mode...
>>>
>>> 1) When you click and drag on an Xwindow to move it, you only see 
>>> the bits and pieces of the "rubber band" outline which happen to 
>>> overlap the other Xwindows.  Where the rubber band overlaps Windows 
>>> windows, you see nothing.
>>>
>>> 2) Now that there is no root window, you can't use the XWindows 
>>> window manager's root-window menus.
>>>
>>> 3) A favorite tool of mine, x2x, is broken, which is due to the lack 
>>> of a root window causing the mouse focus to jump back and forth 
>>> XWindows and Windows.
>>>
>>>
>>> Still, if anyone wants to try it out, here's a binary that I built 
>>> last night from source I pulled from CVS yesterday...
>>>
>>> http://home.adelphia.net/~tlcweb/cygwin/XWin.exe
>>>
>>>
>>>> From: MATSUZAKI Kensuke 
>>>> Reply-To: cygwin-xfree@cygwin.com
>>>> To: cygwin-xfree@cygwin.com
>>>> Subject: Re: Rootless mode revisited...
>>>> Date: Tue, 15 Oct 2002 03:30:50 +0900
>>>>
>>>> Thomas didn't talk about X Shape Extension.
>>>> I think Thomas's idea is something like this.
>>>>
>>>> With this patch and "-nodecoration" option, it seems to work good.
>>>>
>>>> << pseudo-rootless.patch >>
>>>
>>>
>>>
>>>
>>> _________________________________________________________________
>>> Internet access plans that fit your lifestyle -- join MSN. 
>>> http://resourcecenter.msn.com/access/plans/default.asp
>>>
>
>
> _________________________________________________________________
> Surf the Web without missing calls! Get MSN Broadband. 
> http://resourcecenter.msn.com/access/plans/freeactivation.asp
>


From alexander.gottwald@s1999.tu-chemnitz.de  Wed Oct 16 07:49:00 2002
From: alexander.gottwald@s1999.tu-chemnitz.de (Alexander Gottwald)
Date: Wed, 16 Oct 2002 07:49:00 -0000
Subject: Rootless mode revisited...
In-Reply-To: <3DAD7B54.1020308@msu.edu>
Message-ID: 

On Wed, 16 Oct 2002, Harold L Hunt II wrote:

> Oh my god, I completely missed this patch!  Wow!

I can't remember this patch too. Either it got lost or was somehow
rejected by the mailserver or maybe was sent to a private address.

bye
	ago
-- 
 Alexander.Gottwald@informatik.tu-chemnitz.de 
 http://www.gotti.org           ICQ: 126018723


From j_tetazoo@hotmail.com  Wed Oct 16 07:52:00 2002
From: j_tetazoo@hotmail.com (Thomas Chadwick)
Date: Wed, 16 Oct 2002 07:52:00 -0000
Subject: Rootless mode revisited...
Message-ID: 

By the way, my ISP seems to be blocking downloads of exe's.  Zipping it 
seems to work.  Please download the exe using this URL instead...

http://home.adelphia.net/~tlcweb/cygwin/XWin.zip

>From: "Thomas Chadwick" 
>Reply-To: cygwin-xfree@cygwin.com
>To: cygwin-xfree@cygwin.com, zakki@peppermint.jp
>Subject: Re: Rootless mode revisited...
>Date: Wed, 16 Oct 2002 10:21:25 -0400
>
>I tried out this patch (took a few days because I needed to get xfree86 out 
>of CVS and build it).  Very cool.  Thanks a bunch to MATSUZAKI for coding 
>it!  You saved me a lot of work.
>
>Here's a screenshot...
>
>http://home.adelphia.net/~tlcweb/cygwin/pseudo_rootless_screenshot.gif
>
>Notice that you can see IE in the background along with some Windows 
>desktop icons down the left side of the screen.  The windows in the 
>forground are Xclients (namely xterm, xclock, and xeyes).  The icon in the 
>lower left is an iconified Xclient.
>
>However, I noticed a few strange artifacts of this approach to rootless 
>mode...
>
>1) When you click and drag on an Xwindow to move it, you only see the bits 
>and pieces of the "rubber band" outline which happen to overlap the other 
>Xwindows.  Where the rubber band overlaps Windows windows, you see nothing.
>
>2) Now that there is no root window, you can't use the XWindows window 
>manager's root-window menus.
>
>3) A favorite tool of mine, x2x, is broken, which is due to the lack of a 
>root window causing the mouse focus to jump back and forth XWindows and 
>Windows.
>
>
>Still, if anyone wants to try it out, here's a binary that I built last 
>night from source I pulled from CVS yesterday...
>
>http://home.adelphia.net/~tlcweb/cygwin/XWin.exe
>
>
>>From: MATSUZAKI Kensuke 
>>Reply-To: cygwin-xfree@cygwin.com
>>To: cygwin-xfree@cygwin.com
>>Subject: Re: Rootless mode revisited...
>>Date: Tue, 15 Oct 2002 03:30:50 +0900
>>
>>Thomas didn't talk about X Shape Extension.
>>I think Thomas's idea is something like this.
>>
>>With this patch and "-nodecoration" option, it seems to work good.
>>
>><< pseudo-rootless.patch >>
>
>
>_________________________________________________________________
>Internet access plans that fit your lifestyle -- join MSN. 
>http://resourcecenter.msn.com/access/plans/default.asp


_________________________________________________________________
Unlimited Internet access -- and 2 months free!?? Try MSN. 
http://resourcecenter.msn.com/access/plans/2monthsfree.asp


From Tom_Roche@pobox.com  Wed Oct 16 08:37:00 2002
From: Tom_Roche@pobox.com (Tom Roche)
Date: Wed, 16 Oct 2002 08:37:00 -0000
Subject: how to make startxwin.bat "just like" startx?
References: 
Message-ID: <3DAD87C8.2040009@pobox.com>

Thomas Chadwick Wed, 16 Oct 2002 10:26:36 -0400
 > You might want to take a look at this recent post of mine...

 > http://www.cygwin.com/ml/cygwin-xfree/2002-10/msg00091.html

 > Of particular interest to you might be the stuff at the bottom about
 > how to create a shortcut on the Windows desktop which runs xinit.
 > You could easily change the target to call startx instead.

Thanks!

 > rem My path to bash
 > cd /d D:\bin\cygwin\1.3.13-1\bin
 > bash --login -c "startx"

does the job.



From colin.harrison@virgin.net  Wed Oct 16 09:27:00 2002
From: colin.harrison@virgin.net (Colin Harrison)
Date: Wed, 16 Oct 2002 09:27:00 -0000
Subject: Rootless mode revisted...
Message-ID: <200210161627.g9GGRY704096@chamonix.straightrunning.com>


That's brilliant.
Works well on W2K serving a remote Linux. Problems with applications that spawn extra child windows, help, abouts etc, being confined to the top left of the parent window. I ssh tunelled stuff like ethereal with no other problems. Spotted the 'ghost' rubber banding on movement, but otherwise good stuff.

Colin


From zakki@peppermint.jp  Wed Oct 16 10:09:00 2002
From: zakki@peppermint.jp (MATSUZAKI Kensuke)
Date: Wed, 16 Oct 2002 10:09:00 -0000
Subject: Rootless mode revisited...
In-Reply-To: 
References: 
Message-ID: 


> 1) When you click and drag on an Xwindow to move it, you only see the bits 
> and pieces of the "rubber band" outline which happen to overlap the other 
> Xwindows.  Where the rubber band overlaps Windows windows, you see nothing.

It seems that outline is drawn on Root window and this patch creates only
window region for top leve X windows (child of root), so 1) occur.
I don't know how to solve it.


> 2) Now that there is no root window, you can't use the XWindows window 
> manager's root-window menus.

How about "CreateRectRgn (0, 0, 4, 4)" in winUpdateRgn(WindowPtr pWin)
instead of "CreateRectRgn (0, 0, 0, 0)"?
It makes small top left area of root window visible.

  
> 3) A favorite tool of mine, x2x, is broken, which is due to the lack of a 
> root window causing the mouse focus to jump back and forth XWindows and 
> Windows.
Sorry. I have not used x2x, and I have only one display, so I can't
comment 3).

MATSUZAKI Kensuke


From nahor@bravobrava.com  Wed Oct 16 10:40:00 2002
From: nahor@bravobrava.com (Jehan)
Date: Wed, 16 Oct 2002 10:40:00 -0000
Subject: Rootless mode revisited...
In-Reply-To: 
References:  <18955.6873207495$1034788139@news.gmane.org>
Message-ID: 

MATSUZAKI Kensuke wrote:
>>1) When you click and drag on an Xwindow to move it, you only see the bits 
>>and pieces of the "rubber band" outline which happen to overlap the other 
>>Xwindows.  Where the rubber band overlaps Windows windows, you see nothing.
> 
> 
> It seems that outline is drawn on Root window and this patch creates only
> window region for top leve X windows (child of root), so 1) occur.
> I don't know how to solve it.
> 
> 
> 
>>2) Now that there is no root window, you can't use the XWindows window 
>>manager's root-window menus.
> 
> 
> How about "CreateRectRgn (0, 0, 4, 4)" in winUpdateRgn(WindowPtr pWin)
> instead of "CreateRectRgn (0, 0, 0, 0)"?
> It makes small top left area of root window visible.

We should be able to move the area if possible. With WMaker for 
instance, by default, there is a big icon on the top left.

Or, we could have an option in the XWin system menu that 
enables/disables regions. Checking the option would then show/hide the 
root window.

Or, since shape windows don't work yet, we could create a shaped X 
window with an empty content. If I run xeyes in shape mode, I can "see" 
the root window and get the menus when clicking between the eyes.
IOW, run xeyes with the eyes :)


Otherwise, another "weird" thing, in the mouse cursor that gets cut at 
the window borders but I don't think it would be worth the trouble to do 
something about it.

	Jehan




From Tom_Roche@pobox.com  Wed Oct 16 10:48:00 2002
From: Tom_Roche@pobox.com (Tom Roche)
Date: Wed, 16 Oct 2002 10:48:00 -0000
Subject: Cygwinized Emacs HOWTO
Message-ID: <3DADA662.8050907@pobox.com>

Thanks to the help of lots of folks, I now have emacs goodness in both
bash and X. I've tried to transfer the knowledge to

http://www.emacswiki.org/cgi-bin/wiki.pl?CygwinizedEmacsHOWTO

Feel free to add/modify. HTH another newbie.


From j_tetazoo@hotmail.com  Wed Oct 16 11:52:00 2002
From: j_tetazoo@hotmail.com (Thomas Chadwick)
Date: Wed, 16 Oct 2002 11:52:00 -0000
Subject: Rootless mode revisited...
Message-ID: 

>From: MATSUZAKI Kensuke 
>To: "Thomas Chadwick" 
>CC: cygwin-xfree@cygwin.com
>Subject: Re: Rootless mode revisited...
>Date: Thu, 17 Oct 2002 02:08:41 +0900

[snip]

> > 3) A favorite tool of mine, x2x, is broken, which is due to the lack of 
>a
> > root window causing the mouse focus to jump back and forth XWindows and
> > Windows.
>
>Sorry. I have not used x2x, and I have only one display, so I can't
>comment 3).

x2x does XGrabPointer and XGrabKeyboard on the "from" display in order to 
redirect the mouse and keybaord events to the "to" display (it uses XunGrab 
to stop the redirection).  Does MS-Windows have an equivalent function?  If 
so, I could patch x2x to also do an MS-Windows grab.

Come to think of it, would it not be a good idea to change the XGrab 
procedures themselves to also do an MS-Windows grab when XWin is running in 
rootless or pseudo-rootless mode?


_________________________________________________________________
Internet access plans that fit your lifestyle -- join MSN. 
http://resourcecenter.msn.com/access/plans/default.asp


From keith@keithtyler.com  Wed Oct 16 13:57:00 2002
From: keith@keithtyler.com (Keith D. Tyler)
Date: Wed, 16 Oct 2002 13:57:00 -0000
Subject: Rootless mode revisited...
In-Reply-To:  from "Thomas Chadwick" at Oct 16, 2002 10:21:25 AM
Message-ID: <200210162057.g9GKvgg21541@shell.faradic.net>

> However, I noticed a few strange artifacts of this approach to rootless 
> mode...
> 
> 2) Now that there is no root window, you can't use the XWindows window 
> manager's root-window menus.

Unless you turn off -nodecoration, then the root window is available as an
ugly strip above your X apps. :) But then the bottom 18 pixels of your X
app are unavailable, unless you use the overlapping trick.

Another thing woth noting IMO (though I'm sure obvious to many here) is
that if you are using a virtual pager inside X, and you change pages, your
*X Apps* will switch but your Win32 apps will not.

Other obvious caveats to note about xmag, xv capture, etc.

This is a neat patch. I could replace my fvwm2 root menus with a fixed
permanent menu box, and set XWin as a fixed window within my Windows
virtual pager. This could be a nifty option while I hold my breath for
win32-x11. :)

Thanks Mr. Matsuzaki.

==================================================================
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 CPlonski@nbc6.com  Wed Oct 16 14:47:00 2002
From: CPlonski@nbc6.com (Chris Plonski)
Date: Wed, 16 Oct 2002 14:47:00 -0000
Subject: XFree86 install fails
Message-ID: 

I have seen this on multiple Win2k SP3 machines.  I cannot perform a new install of the XFree86 package.  The setup proceeds as normal till it gets to the fonts.  It will freeze unpacking the first font package, and I have to cancel.  I have tried to manually running bunzip2 on any of the fonts packages, and it fails with aas follows:

$ bunzip2 XFree86-fenc-4.2.0-2.tar.bz2

bunzip2: I/O or other error, bailing out.  Possible reason follows.
bunzip2: Invalid argument
        Input file = XFree86-fenc-4.2.0-2.tar.bz2, output file = XFree86-fenc-4.
2.0-2.tar
bunzip2: Deleting output file XFree86-fenc-4.2.0-2.tar, if it exists.

Using a win utility to extract out the .tar file and issuing a tar -xvf command does as follows:
$ tar -xvf XFree86-fenc-4.2.0-2.tar
usr/X11R6/lib/X11/fonts/
tar: usr/X11R6/lib/X11/fonts: Cannot mkdir: No such file or directory
usr/X11R6/lib/X11/fonts/encodings/
tar: usr/X11R6/lib/X11/fonts/encodings: Cannot mkdir: No such file or directory

I attempted to simply issue a mkdir command as follows, and it fails doing that too!

$ mkdir /usr/X11R6/lib/X11/fonts
mkdir: cannot create directory `/usr/X11R6/lib/X11/fonts': No such file or directory

What's up?


From huntharo@msu.edu  Wed Oct 16 15:39:00 2002
From: huntharo@msu.edu (Harold Hunt)
Date: Wed, 16 Oct 2002 15:39:00 -0000
Subject: XFree86 install fails
In-Reply-To: 
Message-ID: 

Chris,

You need to run ``mount'' from a Cygwin bash prompt and check the location
of your fonts mount.  For example, here is what I get:

Administrator@HUNTHARO ~
$ mount
C:\cygwin\usr\X11R6\lib\X11\fonts on /usr/X11R6/lib/X11/fonts type system
(binmo
de)
C:\cygwin\bin on /usr/bin type system (binmode)
C:\cygwin\lib on /usr/lib type system (binmode)
c:\PalmDev on /PalmDev type system (textmode)
C:\cygwin on / type system (binmode)
c: on /cygdrive/c type user (binmode,noumount)
w: on /cygdrive/w type user (binmode,noumount)
y: on /cygdrive/y type user (binmode,noumount)
z: on /cygdrive/z type user (binmode,noumount)


My guess is that at some point you had Cygwin/XFree86 installed to a
different drive that is no longer available.  You can unmount your current
mount for /usr/X11R6/lib/X11/fonts and either 1) remount it if your default
mount is not binary mode, or 2) leave out that mount if your default mount
is binary mode.

Harold

> -----Original Message-----
> From: cygwin-xfree-owner@cygwin.com
> [mailto:cygwin-xfree-owner@cygwin.com]On Behalf Of Chris Plonski
> Sent: Wednesday, October 16, 2002 5:47 PM
> To: cygwin-xfree@cygwin.com
> Subject: XFree86 install fails
>
>
> I have seen this on multiple Win2k SP3 machines.  I cannot
> perform a new install of the XFree86 package.  The setup proceeds
> as normal till it gets to the fonts.  It will freeze unpacking
> the first font package, and I have to cancel.  I have tried to
> manually running bunzip2 on any of the fonts packages, and it
> fails with aas follows:
>
> $ bunzip2 XFree86-fenc-4.2.0-2.tar.bz2
>
> bunzip2: I/O or other error, bailing out.  Possible reason follows.
> bunzip2: Invalid argument
>         Input file = XFree86-fenc-4.2.0-2.tar.bz2, output file =
> XFree86-fenc-4.
> 2.0-2.tar
> bunzip2: Deleting output file XFree86-fenc-4.2.0-2.tar, if it exists.
>
> Using a win utility to extract out the .tar file and issuing a
> tar -xvf command does as follows:
> $ tar -xvf XFree86-fenc-4.2.0-2.tar
> usr/X11R6/lib/X11/fonts/
> tar: usr/X11R6/lib/X11/fonts: Cannot mkdir: No such file or directory
> usr/X11R6/lib/X11/fonts/encodings/
> tar: usr/X11R6/lib/X11/fonts/encodings: Cannot mkdir: No such
> file or directory
>
> I attempted to simply issue a mkdir command as follows, and it
> fails doing that too!
>
> $ mkdir /usr/X11R6/lib/X11/fonts
> mkdir: cannot create directory `/usr/X11R6/lib/X11/fonts': No
> such file or directory
>
> What's up?


From jc.gervais@videotron.ca  Wed Oct 16 16:03:00 2002
From: jc.gervais@videotron.ca (Jean-Claude Gervais)
Date: Wed, 16 Oct 2002 16:03:00 -0000
Subject: Rootless mode revisited...
In-Reply-To: <200210162057.g9GKvgg21541@shell.faradic.net>
Message-ID: 

What is that?

-----Original Message-----
From: cygwin-xfree-owner@cygwin.com [mailto:cygwin-xfree-owner@cygwin.com]On
Behalf Of Keith D. Tyler

This could be a nifty option while I hold my breath for win32-x11. :)



From huntharo@msu.edu  Wed Oct 16 17:36:00 2002
From: huntharo@msu.edu (Harold Hunt)
Date: Wed, 16 Oct 2002 17:36:00 -0000
Subject: Cygwin synchronization
Message-ID: 

Many, many changes.

1) Include an X icon and the necessary build rules for building Windows
resource files (even while cross compiling).  (Harold Hunt, Jehan Bing)

2) Include a preliminary rootless mode.  (MATSUZAKI Kensuke)

3) XF86Configfile suppport.  (Alexander Gottwald)

4) Scrollbars support.  (Jehan Bing, Harold Hunt)

5) Warning dialog on disruptive screen depth change --- not quite perfect.
(Harold Hunt)

Harold
-------------- next part --------------
A non-text attachment was scrubbed...
Name: xwin-20021016-2004.diff.bz2
Type: application/octet-stream
Size: 22011 bytes
Desc: not available
URL: 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: xwin-newfiles.tar.bz2
Type: application/octet-stream
Size: 9957 bytes
Desc: not available
URL: 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: xc-programs-Xserver-Imakefile-20021016-2004.diff
Type: application/octet-stream
Size: 1515 bytes
Desc: not available
URL: 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: xc-config-cf-cygwin.cf-20021016-2004.diff
Type: application/octet-stream
Size: 2583 bytes
Desc: not available
URL: 

From huntharo@msu.edu  Wed Oct 16 17:57:00 2002
From: huntharo@msu.edu (Harold Hunt)
Date: Wed, 16 Oct 2002 17:57:00 -0000
Subject: Cygwin synchronization
In-Reply-To: 
Message-ID: 

Oops, remove the ``cygwin.cf'' from the name of the
``xc-config-cf-cygwin.cf-20021016-2004.diff'' file.  That patch applies to
all files, not just to cygwin.cf.

Harold

> -----Original Message-----
> From: cygwin-xfree-owner@cygwin.com
> [mailto:cygwin-xfree-owner@cygwin.com]On Behalf Of Harold Hunt
> Sent: Wednesday, October 16, 2002 8:36 PM
> To: xf-patch
> Cc: cygx
> Subject: Cygwin synchronization
>
>
> Many, many changes.
>
> 1) Include an X icon and the necessary build rules for building Windows
> resource files (even while cross compiling).  (Harold Hunt, Jehan Bing)
>
> 2) Include a preliminary rootless mode.  (MATSUZAKI Kensuke)
>
> 3) XF86Configfile suppport.  (Alexander Gottwald)
>
> 4) Scrollbars support.  (Jehan Bing, Harold Hunt)
>
> 5) Warning dialog on disruptive screen depth change --- not quite perfect.
> (Harold Hunt)
>
> Harold
>


From huntharo@msu.edu  Wed Oct 16 18:21:00 2002
From: huntharo@msu.edu (Harold Hunt)
Date: Wed, 16 Oct 2002 18:21:00 -0000
Subject: [ANNOUNCEMENT] Server Test 66
Message-ID: 

Links:

I just posted Test 66 to the server development page:
http://xfree86.cygwin.com/devel/shadow/

You can install the Test 66 package via setup.exe by selecting the
'test' package (and be sure to check the 'Bin' box): XFree86-xserv-4.2.0-13

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-Test66.exe.bz2 (1106 KiB)

Server source, direct link:
http://www.msu.edu/~huntharo/xwin/shadow/xwin-20021016-2004.tar.bz2 (90 KiB)

xc/config/cf (all files) diff against 20021016 XFree86 CVS:
http://www.msu.edu/~huntharo/xwin/shadow/xc-config-cf-20021016-2004.diff (3
KiB)

xc/programs/Xserver/Imakefile diff against 20021016 XFree86 CVS:
http://www.msu.edu/~huntharo/xwin/shadow/xc-programs-Xserver-Imakefile-20021
016-2004.diff (2 KiB)

xc/programs/Xserver/hw/xwin (all files) diff against 20021016 XFree86 CVS:
http://www.msu.edu/~huntharo/xwin/shadow/xwin-20021016-2004.diff.bz2 (22
KiB)

xc/programs/Xserver/hw/xwin new files:
http://www.msu.edu/~huntharo/xwin/shadow/xwin-newfiles-20021016-2004.tar.bz2
(10 KiB)



Changes:

1) Include an X icon and the necessary build rules for building
Windows resource files (even while cross compiling).  (Harold Hunt,
Jehan Bing)

2) Include a preliminary rootless mode.  (MATSUZAKI Kensuke

3) XF86Configfile suppport.  (Alexander Gottwald)

4) Scrollbars support.  (Jehan Bing, Harold Hunt)

5) Warning dialog on disruptive screen depth change --- not quite perfect.
(Harold Hunt)


Enjoy,

Harold


From cplonski@nbc6.com  Wed Oct 16 19:22:00 2002
From: cplonski@nbc6.com (Chris plonski)
Date: Wed, 16 Oct 2002 19:22:00 -0000
Subject: XFree86 install fails
In-Reply-To: 
References: 
Message-ID: <1034821359.2955.25.camel@cplonskimdk>

Thanks!  This did the trick!  I just have a question now, where is this
mount information stored?  I started out by deleting any previous cygwin
directory trees.  Does cygwin use the windows registry to save previous
configurations?

On Wed, 2002-10-16 at 18:39, Harold Hunt wrote:
> Chris,
> 
> You need to run ``mount'' from a Cygwin bash prompt and check the location
> of your fonts mount.  For example, here is what I get:
> 
> Administrator@HUNTHARO ~
> $ mount
> C:\cygwin\usr\X11R6\lib\X11\fonts on /usr/X11R6/lib/X11/fonts type system
> (binmo
> de)
> C:\cygwin\bin on /usr/bin type system (binmode)
> C:\cygwin\lib on /usr/lib type system (binmode)
> c:\PalmDev on /PalmDev type system (textmode)
> C:\cygwin on / type system (binmode)
> c: on /cygdrive/c type user (binmode,noumount)
> w: on /cygdrive/w type user (binmode,noumount)
> y: on /cygdrive/y type user (binmode,noumount)
> z: on /cygdrive/z type user (binmode,noumount)
> 
> 
> My guess is that at some point you had Cygwin/XFree86 installed to a
> different drive that is no longer available.  You can unmount your current
> mount for /usr/X11R6/lib/X11/fonts and either 1) remount it if your default
> mount is not binary mode, or 2) leave out that mount if your default mount
> is binary mode.
> 
> Harold
> 
> > -----Original Message-----
> > From: cygwin-xfree-owner@cygwin.com
> > [mailto:cygwin-xfree-owner@cygwin.com]On Behalf Of Chris Plonski
> > Sent: Wednesday, October 16, 2002 5:47 PM
> > To: cygwin-xfree@cygwin.com
> > Subject: XFree86 install fails
> >
> >
> > I have seen this on multiple Win2k SP3 machines.  I cannot
> > perform a new install of the XFree86 package.  The setup proceeds
> > as normal till it gets to the fonts.  It will freeze unpacking
> > the first font package, and I have to cancel.  I have tried to
> > manually running bunzip2 on any of the fonts packages, and it
> > fails with aas follows:
> >
> > $ bunzip2 XFree86-fenc-4.2.0-2.tar.bz2
> >
> > bunzip2: I/O or other error, bailing out.  Possible reason follows.
> > bunzip2: Invalid argument
> >         Input file = XFree86-fenc-4.2.0-2.tar.bz2, output file =
> > XFree86-fenc-4.
> > 2.0-2.tar
> > bunzip2: Deleting output file XFree86-fenc-4.2.0-2.tar, if it exists.
> >
> > Using a win utility to extract out the .tar file and issuing a
> > tar -xvf command does as follows:
> > $ tar -xvf XFree86-fenc-4.2.0-2.tar
> > usr/X11R6/lib/X11/fonts/
> > tar: usr/X11R6/lib/X11/fonts: Cannot mkdir: No such file or directory
> > usr/X11R6/lib/X11/fonts/encodings/
> > tar: usr/X11R6/lib/X11/fonts/encodings: Cannot mkdir: No such
> > file or directory
> >
> > I attempted to simply issue a mkdir command as follows, and it
> > fails doing that too!
> >
> > $ mkdir /usr/X11R6/lib/X11/fonts
> > mkdir: cannot create directory `/usr/X11R6/lib/X11/fonts': No
> > such file or directory
> >
> > What's up?
> 



From BradeyH@construx.com  Wed Oct 16 19:54:00 2002
From: BradeyH@construx.com (Bradey Honsinger)
Date: Wed, 16 Oct 2002 19:54:00 -0000
Subject: Invoking rootless mode
Message-ID: <2A53F00A2DBBDA479B7E84DA2023A4EBC842DE@gypsy.construx.com>

I didn't see a mention of the argument to invoke the new rootless mode
anywhere in this thread--no doubt it's in the updated man pages, but I just
grabbed the Test66 binary. Logically enough, it's '-rootless':

    -rootless
            EXPERIMENTAL: Run the server in pseudo-rootless mode. 

You don't appear to need the '-nodecoration' option when you use
'-rootless'. Note that the output of 'XWin -help' goes to /tmp/XWin.log[1],
a fact which I had forgotten.

This is really cool--many thanks to Matsuzaki, Thomas, and Harold! It's a
bit of a hack, but it looks very useful, and at the least it should get most
of the 'Why doesn't cygwin-xfree work like my favorite commerial X server?'
people off of Harold's back. I'll probably go back to full-screen 'rooted'
mode, though--I _like_ hiding all of the Windows junk when I'm working in X.

  - Bradey

[1] http://www.cygwin.com/ml/cygwin-xfree/2002-04/msg00504.html


From luke.kendall@cisra.canon.com.au  Thu Oct 17 00:24:00 2002
From: luke.kendall@cisra.canon.com.au (luke.kendall@cisra.canon.com.au)
Date: Thu, 17 Oct 2002 00:24:00 -0000
Subject: xwinclip problem/puzzle
In-Reply-To: 
Message-ID: <20021017072404.9C4D5340A1@nevin.research.canon.com.au>

On 15 Oct, Chris Twiner wrote:
>  Thanks for the referal Jehan,
>  
>  >And maybe Chris has a newer version now.
>  
>  Unfortunately not.  The version most recently posted had the ctrl+c and 
>  server reset code in place but nothing much else.

Oh.

>    This I had planned to do:
>  - get the windows clipboard only when something has changed on it (don't 
>  unnecessarily grab the x selection)
>  - handle multiple X server screens (so you don't end up using windows as an 
>  unnecessary intermediatary clipboard system).


>  When you run multiple screens do you keep the same display setting or does 
>  it need to change?  If it is the same display I can get it working (by 
>  making sure the newly activated window is not a cygwin window).

Do you mean multiple virtual desktops, or dual monitors?  Though I
haven't figured out how to do the former (esp. on Win95), and we don't
have dual monitors, so I'll have to leave others to voice their
opinions there.

>  As to further dev I want to contribute but my time is tight at the moment, 
>  previously I was on a part time contract so I could devote time to xwinclip. 
>    Now I'm full time so I don't know when I'll get round to it. I will do 
>  them both, but I just can't say when.

Fair enough!

Regards,

luke


From U.Schmidtmann@visicon-online.de  Thu Oct 17 01:11:00 2002
From: U.Schmidtmann@visicon-online.de (Uwe Schmidtmann)
Date: Thu, 17 Oct 2002 01:11:00 -0000
Subject: Invoking rootless mode
References: <2A53F00A2DBBDA479B7E84DA2023A4EBC842DE@gypsy.construx.com>
Message-ID: <3DAE7116.7010407@visicon-online.de>


Hi!

The "rootless" mode is much more interesting than the "real" one from 
other products (at least for me). One of the reasons for this is cygwins 
capability of still being able to use an X11 window manager (e.g. icewm) 
instead of the dump windows user interface (oh how I miss the "focus 
follows mouse" function within windows, just to mention one)...

I sometimes use a tail -f to follow some debug from a windows 
application compiled with borland and I definitely use nedit as my 
favourite editor (I came from the unix world). The first works much 
better when in rootless mode than being forced to switch from win to x 
and the other way round.

So - many useless words, but one tip:
Having icewm with the statusbar almost everything can be used as with 
fullscreen mode (Window managers menus are available via status bar). 
When icewm moves the complete window (I think that was called opaque 
move) even the problem with the invisible(?) window outline does not 
exists.

So GREAT WORK done there!

Bradey Honsinger wrote:
> I didn't see a mention of the argument to invoke the new rootless mode
> anywhere in this thread--no doubt it's in the updated man pages, but I just
> grabbed the Test66 binary. Logically enough, it's '-rootless':
> 
>     -rootless
>             EXPERIMENTAL: Run the server in pseudo-rootless mode. 
> 
> You don't appear to need the '-nodecoration' option when you use
> '-rootless'. Note that the output of 'XWin -help' goes to /tmp/XWin.log[1],
> a fact which I had forgotten.

I just used -rootless without any other options. Works fine. Window 
creation and movement slows down a little but when the windows are shown 
there seems to be no speed punishment for using the pseudo rootless mode.

> This is really cool--many thanks to Matsuzaki, Thomas, and Harold! It's a
> bit of a hack, but it looks very useful, and at the least it should get most
> of the 'Why doesn't cygwin-xfree work like my favorite commerial X server?'
> people off of Harold's back. I'll probably go back to full-screen 'rooted'
> mode, though--I _like_ hiding all of the Windows junk when I'm working in X.
> 
>   - Bradey
> 

Just one question (little of topic in this thread): Has anyone 
succesfully used dfm with cygwin? It compiled flawless but when started 
it complains about dll`s missing in the path. That happened when trying 
to start a program or to change some preferences. (Funny enough those 
were cygwin1.dll and libX11.dll and the path was something like 
c:\cygwin\...) Maybe I just missed an existing patch (took dfm source 
from the projects homepage).

Regards,

Uwe




From sam.edgeZZZ@lineone.net  Thu Oct 17 01:57:00 2002
From: sam.edgeZZZ@lineone.net (Sam Edge)
Date: Thu, 17 Oct 2002 01:57:00 -0000
Subject: Invoking rootless mode
In-Reply-To: <3DAE7116.7010407@visicon-online.de>
References: <2A53F00A2DBBDA479B7E84DA2023A4EBC842DE@gypsy.construx.com> <3DAE7116.7010407@visicon-online.de>
Message-ID: <65usqu4thomh2f05jqjbuoa0t8m3lpd3kd@4ax.com>

You wrote in <3DAE7116.7010407@visicon-online.de>
in gmane.os.cygwin.xfree on Thu, 17 Oct 2002 10:13:10 +0200:

> oh how I miss the "focus 
> follows mouse" function within windows, just to mention one

At the expense of being somewhat off topic and sounding like a
Microsoft UI aficionado you can get this behaviour out of most
versions of Windows if you install Microsoft Tweak UI. (Some versions
need the XMouse powertoy instead - also from Microsoft.)

Windows 9x, Me, 2000:
http://www.microsoft.com/ntworkstation/downloads/PowerToys/Networking/NTTweakUI.asp

Windows XP:
http://www.microsoft.com/windowsxp/pro/downloads/powertoys.asp

XMouse (95):
http://www.microsoft.com/windows95/downloads/contents/wutoys/w95pwrtoysset/default.asp

This might make working with X and Windows WMs at the same time
slightly more consistent.

-- 
Sam Edge


From U.Schmidtmann@visicon-online.de  Thu Oct 17 03:22:00 2002
From: U.Schmidtmann@visicon-online.de (Uwe Schmidtmann)
Date: Thu, 17 Oct 2002 03:22:00 -0000
Subject: Invoking rootless mode
References: <2A53F00A2DBBDA479B7E84DA2023A4EBC842DE@gypsy.construx.com> <3DAE7116.7010407@visicon-online.de> <65usqu4thomh2f05jqjbuoa0t8m3lpd3kd@4ax.com>
Message-ID: <3DAE8FF1.8090600@visicon-online.de>

Hallo Sam.

Sam Edge wrote:
> 
> At the expense of being somewhat off topic and sounding like a

and so on - at least avoid full qoute...

Guess I needed that - I had TweakUI already installed for some other 
reason but never checked the mouse options... sh...

By the way: This works absolutely positiv with the "-rootless" option of 
the new xwin binary. All looks like being integrated expcept copy/paste.

Thanks a lot!

Uwe



From c_twiner@hotmail.com  Thu Oct 17 03:26:00 2002
From: c_twiner@hotmail.com (Chris Twiner)
Date: Thu, 17 Oct 2002 03:26:00 -0000
Subject: xwinclip problem/puzzle
Message-ID: 

>>  Unfortunately not.  The version most recently posted had the ctrl+c and  
>>server reset code in place but nothing much else.

>Oh.

It does however contain the code to handle the selections properly.  I'm not 
sure I made that clear enough.  It does what you want it to do but not much 
else, is what I should have said :-).

>>  When you run multiple screens do you keep the same display setting or 
>>does  it need to change?  If it is the same display I can get it working 
>>(by  making sure the newly activated window is not a cygwin window).

>Do you mean multiple virtual desktops, or dual monitors?  Though I

Multiple virtual desktops, dual monitors didn't seem to work in any way.  
I.e. using the screen option on xwin.exe

chris

_________________________________________________________________
Choose an Internet access plan right for you -- try MSN! 
http://resourcecenter.msn.com/access/plans/default.asp


From rasjidw@openminddev.net  Thu Oct 17 04:42:00 2002
From: rasjidw@openminddev.net (Rasjid Wilcox)
Date: Thu, 17 Oct 2002 04:42:00 -0000
Subject: XFree86 install fails
In-Reply-To: <1034821359.2955.25.camel@cplonskimdk>
References:  <1034821359.2955.25.camel@cplonskimdk>
Message-ID: <200210172143.04542.rasjidw@openminddev.net>

On Thu, 17 Oct 2002 12:22 pm, Chris plonski wrote:
> Does cygwin use the windows registry to save previous
> configurations?

Yes.  See the Cygwin FAQ 'How do I uninstall all of Cygwin' 
(http://cygwin.com/faq/faq_2.html#SEC19) - there are entires in the registry 
tree `Software\Cygnus Solutions' under HKEY_LOCAL_MACHINE and/or 
HKEY_CURRENT_USER.

Rasjid.


From huntharo@msu.edu  Thu Oct 17 05:02:00 2002
From: huntharo@msu.edu (Harold L Hunt II)
Date: Thu, 17 Oct 2002 05:02:00 -0000
Subject: XFree86 install fails
In-Reply-To: 
References:  <1034821359.2955.25.camel@cplonskimdk>
Message-ID: <3DAEA6C6.1050400@msu.edu>

Chris,

The mount information is pretty much the only information that Cygwin 
stores in the registry, and unfortunately it is not cleared when you 
uninstall Cygwin/XFree86.  At least, I don't recall that it is cleared. 
 I will probably add something about this to the FAQ, eventually.

Harold

Chris plonski wrote:

>Thanks!  This did the trick!  I just have a question now, where is this
>mount information stored?  I started out by deleting any previous cygwin
>directory trees.  Does cygwin use the windows registry to save previous
>configurations?
>
>On Wed, 2002-10-16 at 18:39, Harold Hunt wrote:
>  
>
>>Chris,
>>
>>You need to run ``mount'' from a Cygwin bash prompt and check the location
>>of your fonts mount.  For example, here is what I get:
>>
>>Administrator@HUNTHARO ~
>>$ mount
>>C:\cygwin\usr\X11R6\lib\X11\fonts on /usr/X11R6/lib/X11/fonts type system
>>(binmo
>>de)
>>C:\cygwin\bin on /usr/bin type system (binmode)
>>C:\cygwin\lib on /usr/lib type system (binmode)
>>c:\PalmDev on /PalmDev type system (textmode)
>>C:\cygwin on / type system (binmode)
>>c: on /cygdrive/c type user (binmode,noumount)
>>w: on /cygdrive/w type user (binmode,noumount)
>>y: on /cygdrive/y type user (binmode,noumount)
>>z: on /cygdrive/z type user (binmode,noumount)
>>
>>
>>My guess is that at some point you had Cygwin/XFree86 installed to a
>>different drive that is no longer available.  You can unmount your current
>>mount for /usr/X11R6/lib/X11/fonts and either 1) remount it if your default
>>mount is not binary mode, or 2) leave out that mount if your default mount
>>is binary mode.
>>
>>Harold
>>
>>    
>>
>>>-----Original Message-----
>>>From: cygwin-xfree-owner@cygwin.com
>>>[mailto:cygwin-xfree-owner@cygwin.com]On Behalf Of Chris Plonski
>>>Sent: Wednesday, October 16, 2002 5:47 PM
>>>To: cygwin-xfree@cygwin.com
>>>Subject: XFree86 install fails
>>>
>>>
>>>I have seen this on multiple Win2k SP3 machines.  I cannot
>>>perform a new install of the XFree86 package.  The setup proceeds
>>>as normal till it gets to the fonts.  It will freeze unpacking
>>>the first font package, and I have to cancel.  I have tried to
>>>manually running bunzip2 on any of the fonts packages, and it
>>>fails with aas follows:
>>>
>>>$ bunzip2 XFree86-fenc-4.2.0-2.tar.bz2
>>>
>>>bunzip2: I/O or other error, bailing out.  Possible reason follows.
>>>bunzip2: Invalid argument
>>>        Input file = XFree86-fenc-4.2.0-2.tar.bz2, output file =
>>>XFree86-fenc-4.
>>>2.0-2.tar
>>>bunzip2: Deleting output file XFree86-fenc-4.2.0-2.tar, if it exists.
>>>
>>>Using a win utility to extract out the .tar file and issuing a
>>>tar -xvf command does as follows:
>>>$ tar -xvf XFree86-fenc-4.2.0-2.tar
>>>usr/X11R6/lib/X11/fonts/
>>>tar: usr/X11R6/lib/X11/fonts: Cannot mkdir: No such file or directory
>>>usr/X11R6/lib/X11/fonts/encodings/
>>>tar: usr/X11R6/lib/X11/fonts/encodings: Cannot mkdir: No such
>>>file or directory
>>>
>>>I attempted to simply issue a mkdir command as follows, and it
>>>fails doing that too!
>>>
>>>$ mkdir /usr/X11R6/lib/X11/fonts
>>>mkdir: cannot create directory `/usr/X11R6/lib/X11/fonts': No
>>>such file or directory
>>>
>>>What's up?
>>>      
>>>
>
>
>  
>


From huntharo@msu.edu  Thu Oct 17 05:05:00 2002
From: huntharo@msu.edu (Harold L Hunt II)
Date: Thu, 17 Oct 2002 05:05:00 -0000
Subject: Invoking rootless mode
In-Reply-To: <2A53F00A2DBBDA479B7E84DA2023A4EBC842DE@gypsy.construx.com>
References: <2A53F00A2DBBDA479B7E84DA2023A4EBC842DE@gypsy.construx.com>
Message-ID: <3DAEA773.1010109@msu.edu>

Bradey,

Thanks for pointing that out.  I added the -rootless command-line arg to 
the patch that Matsuzaki sent in, so Test66 and XFree86-xserv-4.2.0-13 
are different than the release that Thomas Chadwick made.

This version of a rootless mode is precisely what I was aiming for: 
something simple that can be built off of.  I had no idea that it would 
be quite that simple though!  :)

Now it is only a matter of time until we implement all of the little 
features that will make rootless mode complete.

Harold

Bradey Honsinger wrote:

>I didn't see a mention of the argument to invoke the new rootless mode
>anywhere in this thread--no doubt it's in the updated man pages, but I just
>grabbed the Test66 binary. Logically enough, it's '-rootless':
>
>    -rootless
>            EXPERIMENTAL: Run the server in pseudo-rootless mode. 
>
>You don't appear to need the '-nodecoration' option when you use
>'-rootless'. Note that the output of 'XWin -help' goes to /tmp/XWin.log[1],
>a fact which I had forgotten.
>
>This is really cool--many thanks to Matsuzaki, Thomas, and Harold! It's a
>bit of a hack, but it looks very useful, and at the least it should get most
>of the 'Why doesn't cygwin-xfree work like my favorite commerial X server?'
>people off of Harold's back. I'll probably go back to full-screen 'rooted'
>mode, though--I _like_ hiding all of the Windows junk when I'm working in X.
>
>  - Bradey
>
>[1] http://www.cygwin.com/ml/cygwin-xfree/2002-04/msg00504.html
>  
>


From j_tetazoo@hotmail.com  Thu Oct 17 05:53:00 2002
From: j_tetazoo@hotmail.com (Thomas Chadwick)
Date: Thu, 17 Oct 2002 05:53:00 -0000
Subject: Rootless mode revisited...
Message-ID: 

FYI - I've taken down the binary I posted to avoid any confusion with 
Harold's test release of XWin -rootless.

>From: "Thomas Chadwick" 
>Reply-To: cygwin-xfree@cygwin.com
>To: cygwin-xfree@cygwin.com
>Subject: Re: Rootless mode revisited...
>Date: Wed, 16 Oct 2002 10:52:56 -0400
>
>By the way, my ISP seems to be blocking downloads of exe's.  Zipping it 
>seems to work.  Please download the exe using this URL instead...
>
>http://home.adelphia.net/~tlcweb/cygwin/XWin.zip
>
>>From: "Thomas Chadwick" 
>>Reply-To: cygwin-xfree@cygwin.com
>>To: cygwin-xfree@cygwin.com, zakki@peppermint.jp
>>Subject: Re: Rootless mode revisited...
>>Date: Wed, 16 Oct 2002 10:21:25 -0400
>>
>>I tried out this patch (took a few days because I needed to get xfree86 
>>out of CVS and build it).  Very cool.  Thanks a bunch to MATSUZAKI for 
>>coding it!  You saved me a lot of work.
>>
>>Here's a screenshot...
>>
>>http://home.adelphia.net/~tlcweb/cygwin/pseudo_rootless_screenshot.gif
>>
>>Notice that you can see IE in the background along with some Windows 
>>desktop icons down the left side of the screen.  The windows in the 
>>forground are Xclients (namely xterm, xclock, and xeyes).  The icon in the 
>>lower left is an iconified Xclient.
>>
>>However, I noticed a few strange artifacts of this approach to rootless 
>>mode...
>>
>>1) When you click and drag on an Xwindow to move it, you only see the bits 
>>and pieces of the "rubber band" outline which happen to overlap the other 
>>Xwindows.  Where the rubber band overlaps Windows windows, you see 
>>nothing.
>>
>>2) Now that there is no root window, you can't use the XWindows window 
>>manager's root-window menus.
>>
>>3) A favorite tool of mine, x2x, is broken, which is due to the lack of a 
>>root window causing the mouse focus to jump back and forth XWindows and 
>>Windows.
>>
>>
>>Still, if anyone wants to try it out, here's a binary that I built last 
>>night from source I pulled from CVS yesterday...
>>
>>http://home.adelphia.net/~tlcweb/cygwin/XWin.exe
>>
>>
>>>From: MATSUZAKI Kensuke 
>>>Reply-To: cygwin-xfree@cygwin.com
>>>To: cygwin-xfree@cygwin.com
>>>Subject: Re: Rootless mode revisited...
>>>Date: Tue, 15 Oct 2002 03:30:50 +0900
>>>
>>>Thomas didn't talk about X Shape Extension.
>>>I think Thomas's idea is something like this.
>>>
>>>With this patch and "-nodecoration" option, it seems to work good.
>>>
>>><< pseudo-rootless.patch >>
>>
>>
>>_________________________________________________________________
>>Internet access plans that fit your lifestyle -- join MSN. 
>>http://resourcecenter.msn.com/access/plans/default.asp
>
>
>_________________________________________________________________
>Unlimited Internet access -- and 2 months free!?? Try MSN. 
>http://resourcecenter.msn.com/access/plans/2monthsfree.asp


_________________________________________________________________
Get faster connections??-- switch to??MSN Internet Access! 
http://resourcecenter.msn.com/access/plans/default.asp


From colin.harrison@virgin.net  Thu Oct 17 08:36:00 2002
From: colin.harrison@virgin.net (root)
Date: Thu, 17 Oct 2002 08:36:00 -0000
Subject: Rootless mode revisited...
Message-ID: <200210171536.g9HFaEs10780@chamonix.straightrunning.com>

Works fine..no rubber bands.. none of my previous
problems (my error!).

Only quirk I can see is loads of 'winAddRgn()' message lines at the end of
my XWin.log.

Thanks a million..I owe someone a beer for this!!

Colin


From huntharo@msu.edu  Thu Oct 17 08:40:00 2002
From: huntharo@msu.edu (Harold L Hunt II)
Date: Thu, 17 Oct 2002 08:40:00 -0000
Subject: Rootless mode revisited...
In-Reply-To: <200210171536.g9HFaEs10780@chamonix.straightrunning.com>
References: <200210171536.g9HFaEs10780@chamonix.straightrunning.com>
Message-ID: <3DAED9E2.6000505@msu.edu>

Yikes!!!  I just noticed that my XWin.log is 52 MB for my one hour 
session in Cygwin/XFree86.  I will have to roll a new release tonight 
that turns off the logging of the winAddRgn messages.  Sorry about that.

Harold

root wrote:

>Works fine..no rubber bands.. none of my previous
>problems (my error!).
>
>Only quirk I can see is loads of 'winAddRgn()' message lines at the end of
>my XWin.log.
>
>Thanks a million..I owe someone a beer for this!!
>
>Colin
>  
>


From cgf@redhat.com  Thu Oct 17 10:20:00 2002
From: cgf@redhat.com (Christopher Faylor)
Date: Thu, 17 Oct 2002 10:20:00 -0000
Subject: xfree86 install fails
In-Reply-To: <3DAEA6C6.1050400@msu.edu>
References:  <1034821359.2955.25.camel@cplonskimdk> <3DAEA6C6.1050400@msu.edu>
Message-ID: <20021017172210.GA11667@redhat.com>

On Thu, Oct 17, 2002 at 08:02:14AM -0400, Harold L Hunt II wrote:
>The mount information is pretty much the only information that Cygwin 
>stores in the registry, and unfortunately it is not cleared when you 
>uninstall Cygwin/XFree86.  At least, I don't recall that it is cleared. 
>I will probably add something about this to the FAQ, eventually.

If you do, I would appreciate minimizing the references to the registry.
People are fascinated by the fact that cygwin uses the registry and,
knowing this, seem to resist using mount and umount to manipulate paths.

In future versions of cygwin it is entirely possible that the registry
usage will change so anyone who is relying on registry "tricks" will
potentially be confused.

cgf


From keith@keithtyler.com  Thu Oct 17 13:24:00 2002
From: keith@keithtyler.com (Keith D. Tyler)
Date: Thu, 17 Oct 2002 13:24:00 -0000
Subject: Invoking rootless mode
In-Reply-To: <65usqu4thomh2f05jqjbuoa0t8m3lpd3kd@4ax.com> from "Sam Edge" at Oct 17, 2002 09:56:59 AM
Message-ID: <200210172024.g9HKOHx10838@shell.faradic.net>

Sam Edge was recently quoted as saying...
> 
> You wrote in <3DAE7116.7010407@visicon-online.de>
> in gmane.os.cygwin.xfree on Thu, 17 Oct 2002 10:13:10 +0200:
> 
> > oh how I miss the "focus 
> > follows mouse" function within windows, just to mention one
> 
> At the expense of being somewhat off topic and sounding like a
> Microsoft UI aficionado you can get this behaviour out of most
> versions of Windows if you install Microsoft Tweak UI. (Some versions
> need the XMouse powertoy instead - also from Microsoft.)

At the expense of sounding like a picky naysayer, XMouse never worked
consistently similar to any other X wm's focus-follows-mouse behaviour
that I ever used. And it will never work like Fvwm2 SloppyFocus, which
I've become addicted to. :)

As for rootless mode, I'd throw out some other caveats and
recommendations:

* I'm using a Win32 virtual pager. When XWin is active, even in rootless
mode, the window covers up the page in the virtual display. (Yes I know
why, and this is with JSPager, perhaps there are shape-aware virt pagers
for Win32.)

* I recommend running this mode with the X server set to run
always-on-top. Right now I'm using a tool called Make Always On Top to
make XWin.exe this way, perhaps I could suggest that XWin.exe include this
ability as a command-line and/or icon-menu option.

Right now I'm using Chris's patched binary, set sticky in my Win32 pager,
and Always On Top via that tool. I've moved my fvwm root-window menus to
be invoked via an added title button on all fvwm windows, and turned on
the titlebar for one of my X sticky windows so that I can always access 
it. I then get myself into the habit of manually minimizing X apps when I
need to use a large Win32 app. This is a bit of a minor inconvenience, but
the always-on-top has the benefit of making my X icons, winlist and pager
window always available.

In the meantime, I've trimmed off two pages of my X virtual desktop, two
pages off my Windows virtual desktop, and turned off the overhead caused
by my X root-pattern switcher (FvwmBacker). I'm enjoying this desktop
paradigm.

==================================================================
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 keith@keithtyler.com  Thu Oct 17 13:30:00 2002
From: keith@keithtyler.com (Keith D. Tyler)
Date: Thu, 17 Oct 2002 13:30:00 -0000
Subject: Invoking rootless mode
In-Reply-To: <3DAE8FF1.8090600@visicon-online.de> from "Uwe Schmidtmann" at Oct 17, 2002 12:24:49 PM
Message-ID: <200210172030.g9HKUb811520@shell.faradic.net>

Uwe Schmidtmann was recently quoted as saying...
> Guess I needed that - I had TweakUI already installed for some other 
> reason but never checked the mouse options... sh...
> 
> By the way: This works absolutely positiv with the "-rootless" option of 
> the new xwin binary. All looks like being integrated expcept copy/paste.

To get integrated copy/paste, you need xwinclip:

http://xfree86.cygwin.com/devel/xwinclip/

And warning: it tends to crash here and there, so be prepared to restart
it as needed. Some days I have to restart it once or twice. But it works
rather well.

HTH,

==================================================================
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 huntharo@msu.edu  Thu Oct 17 13:51:00 2002
From: huntharo@msu.edu (Harold L Hunt II)
Date: Thu, 17 Oct 2002 13:51:00 -0000
Subject: Thanks for the icon
Message-ID: <3DAF22B0.7040006@msu.edu>

Jehan (Bing),

I wanted to say thanks for provided the .ico file that I used for the 
icon in Cygwin/XFree86 - Server Test Series - Test 66.  I stole that 
icon from your systray icon patches.  I was never able to find nor 
create an X icon that had the proper transaparency and that looked good 
in all color modes.  You either found that one or created it and, 
regardless of which of those it was, it fit the bill.  I hope you 
noticed that your name was on the credit line for the icon patch.

Anyway, I just wanted to make sure that I called attention to the 
creator/finder of the X icon that we are now using.

Harold


From huntharo@msu.edu  Thu Oct 17 14:12:00 2002
From: huntharo@msu.edu (Harold L Hunt II)
Date: Thu, 17 Oct 2002 14:12:00 -0000
Subject: Rootless mode logging and slowness
Message-ID: <3DAF27B7.5040905@msu.edu>

Some of you have noticed that a message is being added to /tmp/XWin.log 
every time that winAddRgn (or something close to that) is called.

Other of you have also noticed that certain window operations and other 
random operations are slower than expected in Cygwin/XFree86 with 
rootless mode enabled.

It turns out that these two issues are related.  The winAddRgn function 
is being called many, many, many thousands, if not hundreds of thousands 
of times and the average window operation may cause it to be called 
several hundred times.  As you can imagine, writing a message to the log 
file during every one of these calls is an extraordinary burden.

I built a test version for my own purposes with this logging message 
disabled and I fully expected the performance hit to go away.  Well, it 
did, for the most part.  I would estimate that about 95% of the slowdown 
in rootless mode was caused by this errant logging, but the rootless 
mode is still a little bit slower than non-rootless mode.  However, the 
performance hit is now well worth the features and new usage scenarios 
that rootless mode provides.

I used Cygwin/XFree86 today in rootless mode for several hours while 
creating a LaTeX  document for my homework and creating figures for that 
document in xfig.  Rootless mode made it so much easier to switch 
between emacs and xfig running under Cygwin/XFree86 to Adobe Acrobat or 
to Mozilla running under Windows.  (Yes, I know, I could use ghostscript 
to view my pdf, but gs keeps crashing on startup whenever I try to run 
it; also, Acrobat is much more user-friendly than gs).

So, rootless mode makes Cygwin/XFree86 actually useful for the primary 
maintainer to get some work done!  This is astonishing!  :)

Harold


From nahor@bravobrava.com  Thu Oct 17 16:42:00 2002
From: nahor@bravobrava.com (Jehan)
Date: Thu, 17 Oct 2002 16:42:00 -0000
Subject: Thanks for the icon
In-Reply-To: <3DAF22B0.7040006@msu.edu>
References: <3DAF22B0.7040006@msu.edu>
Message-ID: 

Harold L Hunt II wrote:

> I wanted to say thanks for provided the .ico file that I used for the
> icon in Cygwin/XFree86 - Server Test Series - Test 66.  I stole that
> icon from your systray icon patches.  I was never able to find nor
> create an X icon that had the proper transaparency and that looked 
> good in all color modes.  You either found that one or created it and,
> regardless of which of those it was, it fit the bill.  

I created it with a nice screenshot of "xlogo" and a bit of PaintShop 
Pro (for the individual images) and Visual C (for the ico file itself 
and transparency).

> I hope you noticed that your name was on the credit line for the icon 
> patch.

Yes I did, thanks, that will help me become famous one day *grin*

	Jehan




From nahor@bravobrava.com  Thu Oct 17 16:51:00 2002
From: nahor@bravobrava.com (Jehan)
Date: Thu, 17 Oct 2002 16:51:00 -0000
Subject: Rootless mode logging and slowness
In-Reply-To: <3DAF27B7.5040905@msu.edu>
References: <3DAF27B7.5040905@msu.edu>
Message-ID: 

Harold L Hunt II wrote:

> So, rootless mode makes Cygwin/XFree86 actually useful for the primary
> maintainer to get some work done!  This is astonishing!  :)

So hopefully that will give you some incentive to finish the rootless 
mode sooner then... Ouch, no, no beating, I was just kidding. ;)

	Jehan




From rgu@TheWorld.com  Thu Oct 17 19:33:00 2002
From: rgu@TheWorld.com (Rick Umali)
Date: Thu, 17 Oct 2002 19:33:00 -0000
Subject: Invoking rootless mode
In-Reply-To: <2A53F00A2DBBDA479B7E84DA2023A4EBC842DE@gypsy.construx.com>
References: <2A53F00A2DBBDA479B7E84DA2023A4EBC842DE@gypsy.construx.com>
Message-ID: <20021018023354.GA66625239@TheWorld.com>

I just wanted to echo Bradey's e-ail below. I installed Cygwin/XFree86
with rootless support, and it's really really nice. I've been using it
to test out emacs. It's all good so far!

Many thanks for the creators, and the maintainers!

Bradey Honsinger wrote:
>     -rootless
>             EXPERIMENTAL: Run the server in pseudo-rootless mode. 
> 
> This is really cool--many thanks to Matsuzaki, Thomas, and Harold! ...

-- 
Rick Umali    rgu@TheWorld.com    www.rickumali.com


From wurster@architur.de  Fri Oct 18 01:10:00 2002
From: wurster@architur.de (Jochen Wurster)
Date: Fri, 18 Oct 2002 01:10:00 -0000
Subject: keyboard problem
Message-ID: 

Hi,

i am running Xfree on an english Windows 2000 version with a german
keyboard. How can i configure xfree to use a german keyboard instead of the
default english?

Thanks in advance

Joche Wurster





From FRANZW@dk.ibm.com  Fri Oct 18 02:15:00 2002
From: FRANZW@dk.ibm.com (Franz Wolfhagen)
Date: Fri, 18 Oct 2002 02:15:00 -0000
Subject: keyboard problem
Message-ID: 


First - read the XFree faqs and manuals - then search the mailinglist
archives for xmodmap/xkbmap and read....

But to be helpful :

You kan use 2 methods :

Compile the German keybord with xkbcomp and start your X session with the "
+kb -xkbmap ge" setting (be aware that numlock must be off...)
Create/Copy a German keymap file and execute "xmodmap " after
your X session has started.

Med venlig hilsen / Regards
Franz Wolfhagen

>Hi,
>
>i am running Xfree on an english Windows 2000 version with a german
>keyboard. How can i configure xfree to use a german keyboard instead of
the
>default english?
>
>Thanks in advance
>
>Joche Wurster



From alexander.gottwald@s1999.tu-chemnitz.de  Fri Oct 18 02:41:00 2002
From: alexander.gottwald@s1999.tu-chemnitz.de (Alexander Gottwald)
Date: Fri, 18 Oct 2002 02:41:00 -0000
Subject: Invoking rootless mode
In-Reply-To: <200210172024.g9HKOHx10838@shell.faradic.net>
Message-ID: 

On Thu, 17 Oct 2002, Keith D. Tyler wrote:

> * I recommend running this mode with the X server set to run
> always-on-top. 

Why? 
You will never get the w32 windows in front of any x11 window. 

> Right now I'm using a tool called Make Always On Top to
> make XWin.exe this way, perhaps I could suggest that XWin.exe include this
> ability as a command-line and/or icon-menu option.

Feel free to add such a commandline option.

bye
	ago
-- 
 Alexander.Gottwald@informatik.tu-chemnitz.de 
 http://www.gotti.org           ICQ: 126018723



From U.Schmidtmann@visicon-online.de  Fri Oct 18 05:00:00 2002
From: U.Schmidtmann@visicon-online.de (Uwe Schmidtmann)
Date: Fri, 18 Oct 2002 05:00:00 -0000
Subject: Invoking rootless mode
References: <200210172024.g9HKOHx10838@shell.faradic.net>
Message-ID: <3DAFF858.3040309@visicon-online.de>

Keith D. Tyler wrote:
> At the expense of sounding like a picky naysayer, XMouse never worked
> consistently similar to any other X wm's focus-follows-mouse behaviour
> that I ever used. And it will never work like Fvwm2 SloppyFocus, which
> I've become addicted to. :)

Maybe I was not clear enough with my posting (english is not my native 
language, sorry). What I am running is a combination of xmouse for the 
native windoze stuff and icewm managing the mouse focus for x11. This is 
not always flawless, but with icewm using the "nice" scheme windows and 
X11 almost look the same and the context switch between X and windoze 
works without having to click or press any weired keys.

This is extremely useful as I use nedit for editing my source code while 
using borland as a compiler. I am used to nedit for almost 7 years now 
and had extreme problems with editor integrated in borlands ide when I 
came to this job.

Sorry for being off topic again...

Maybe Harold Hunt could give a short hint on where to get the xwin.exe 
version with less logging... Thanks.

Regards and have a nice weekend.

Uwe



From holger.vogt@ims.fhg.de  Fri Oct 18 07:48:00 2002
From: holger.vogt@ims.fhg.de (Holger Vogt)
Date: Fri, 18 Oct 2002 07:48:00 -0000
Subject: Invoking rootless mode
Message-ID: <3DB01F5F.E19072EA@ims.fhg.de>

Hi all,

I have just installed XWin-Test66.exe over a very old Cygwin
installation (May 01, X-dlls March 01) on a Windows NT4 notebook. After
starting and a short DOS box pop up ... nothing happened.

But then there it was: a small green rectangle among all my Windows
icons stating "sh".

Now my screen is full with applications (Xman, Xciruit drawing program,
MAGIC layout editor), and still the Windows background, Windows Netscape
and others.

Congratulations, great work.

Holger Vogt


From huntharo@msu.edu  Fri Oct 18 07:59:00 2002
From: huntharo@msu.edu (Harold L Hunt II)
Date: Fri, 18 Oct 2002 07:59:00 -0000
Subject: Invoking rootless mode
In-Reply-To: <200210172024.g9HKOHx10838@shell.faradic.net>
References: <200210172024.g9HKOHx10838@shell.faradic.net> <3DAFF858.3040309@visicon-online.de>
Message-ID: <3DB021D9.4040606@msu.edu>

Uwe,

There is a preliminary Server Test Series - Test 67 release up at:

http://www.msu.edu/~huntharo/xwin/shadow/XWin-Test67.exe.bz2 (~1,225 KB)


I say that this is preliminary because I built it from the HEAD branch, 
rather than from the 4.2.0 branch.  Thus, if you run xdpyinfo it will 
report a strange version number, whereas the usual releases report 4.2.0.

I am only putting this link up for those few brave soles that want to 
minimize logging before I can make an official release.

Harold

Uwe Schmidtmann wrote:

> Keith D. Tyler wrote:
>
>> At the expense of sounding like a picky naysayer, XMouse never worked
>> consistently similar to any other X wm's focus-follows-mouse behaviour
>> that I ever used. And it will never work like Fvwm2 SloppyFocus, which
>> I've become addicted to. :)
>
>
> Maybe I was not clear enough with my posting (english is not my native 
> language, sorry). What I am running is a combination of xmouse for the 
> native windoze stuff and icewm managing the mouse focus for x11. This 
> is not always flawless, but with icewm using the "nice" scheme windows 
> and X11 almost look the same and the context switch between X and 
> windoze works without having to click or press any weired keys.
>
> This is extremely useful as I use nedit for editing my source code 
> while using borland as a compiler. I am used to nedit for almost 7 
> years now and had extreme problems with editor integrated in borlands 
> ide when I came to this job.
>
> Sorry for being off topic again...
>
> Maybe Harold Hunt could give a short hint on where to get the xwin.exe 
> version with less logging... Thanks.
>
> Regards and have a nice weekend.
>
> Uwe
>
>


From huntharo@msu.edu  Fri Oct 18 08:01:00 2002
From: huntharo@msu.edu (Harold L Hunt II)
Date: Fri, 18 Oct 2002 08:01:00 -0000
Subject: Invoking rootless mode
In-Reply-To: <3DB01F5F.E19072EA@ims.fhg.de>
References: <3DB01F5F.E19072EA@ims.fhg.de>
Message-ID: <3DB0222C.4010205@msu.edu>

Holger,

You will probably want to grab that Test 67 preliminary release that I 
just posted... it has much better performance due to reduced logging. 
 Take a look at your /tmp/XWin.log file, it is probably over 50 MB.

http://www.msu.edu/~huntharo/xwin/shadow/XWin-Test67.exe.bz2

Harold

Holger Vogt wrote:

>Hi all,
>
>I have just installed XWin-Test66.exe over a very old Cygwin
>installation (May 01, X-dlls March 01) on a Windows NT4 notebook. After
>starting and a short DOS box pop up ... nothing happened.
>
>But then there it was: a small green rectangle among all my Windows
>icons stating "sh".
>
>Now my screen is full with applications (Xman, Xciruit drawing program,
>MAGIC layout editor), and still the Windows background, Windows Netscape
>and others.
>
>Congratulations, great work.
>
>Holger Vogt
>  
>


From gary@garydjones.mailshell.com  Fri Oct 18 10:22:00 2002
From: gary@garydjones.mailshell.com (gary@garydjones.mailshell.com)
Date: Fri, 18 Oct 2002 10:22:00 -0000
Subject: Rootless mode revisited...
References: <3DAD7B54.1020308@msu.edu> 
Message-ID: 

Hi,

On 16 Oct 2002, Alexander Gottwald
 wrote: 

> On Wed, 16 Oct 2002, Harold L Hunt II wrote:
> 
>> Oh my god, I completely missed this patch!  Wow!
> 
> I can't remember this patch too. Either it got lost or was
> somehow rejected by the mailserver or maybe was sent to a
> private address. 

It was posted on the 15th of this month in this thread. The M-ID 
I have is from the gmane newsserver so it won't be helpful to 
you I guess, sorry. If you can't get it then I will forward it 
to you (9k).

(Off list - I can't email everyone a copy after all, there is a 
limit to my bandwidth :-)

-- 
Cheers,
Gary


From huntharo@msu.edu  Fri Oct 18 10:32:00 2002
From: huntharo@msu.edu (Harold L Hunt II)
Date: Fri, 18 Oct 2002 10:32:00 -0000
Subject: Rootless mode revisited...
In-Reply-To: <3DAD7B54.1020308@msu.edu>
References: <3DAD7B54.1020308@msu.edu>  <200210181722.g9IHMbr27702@pilot03.cl.msu.edu>
Message-ID: <3DB045BC.5010506@msu.edu>

Don't worry, the patch came through correctly.  The problem was that the 
email did not clearly state that a rootless mode had been implemented, 
so both Alexander and I didn't pay any attention to it.  I didn't even 
notice that it had a patch attached.

The message is in the archives:
http://cygwin.com/ml/cygwin-xfree/2002-10/msg00126.html

Harold

gary@garydjones.mailshell.com wrote:

>Hi,
>
>On 16 Oct 2002, Alexander Gottwald
> wrote: 
>
>  
>
>>On Wed, 16 Oct 2002, Harold L Hunt II wrote:
>>
>>    
>>
>>>Oh my god, I completely missed this patch!  Wow!
>>>      
>>>
>>I can't remember this patch too. Either it got lost or was
>>somehow rejected by the mailserver or maybe was sent to a
>>private address. 
>>    
>>
>
>It was posted on the 15th of this month in this thread. The M-ID 
>I have is from the gmane newsserver so it won't be helpful to 
>you I guess, sorry. If you can't get it then I will forward it 
>to you (9k).
>
>(Off list - I can't email everyone a copy after all, there is a 
>limit to my bandwidth :-)
>
>  
>


From Alexander.Gottwald@informatik.tu-chemnitz.de  Fri Oct 18 12:52:00 2002
From: Alexander.Gottwald@informatik.tu-chemnitz.de (Alexander Gottwald)
Date: Fri, 18 Oct 2002 12:52:00 -0000
Subject: Rootless mode revisited...
In-Reply-To: 
Message-ID: 

gary@garydjones.mailshell.com wrote:

> It was posted on the 15th of this month in this thread.

And I received it. Must have been blind that day.

bye
    ago
-- 
 Alexander.Gottwald@informatik.tu-chemnitz.de 
 http://www.gotti.org           ICQ: 126018723


From Carlton.Teel@signal-analysis.com  Fri Oct 18 13:09:00 2002
From: Carlton.Teel@signal-analysis.com (Carlton Teel)
Date: Fri, 18 Oct 2002 13:09:00 -0000
Subject: Need help
Message-ID: <3DB06A28.A500957B@signal-analysis.com>

Greetings all,

I have been trying to locate the steps needed to use the fvwm
distributed with Cygwin, but I have not found the silver bullet yet.
Can you point to where I need to look or provide me with the necessary
steps?   Once fvwm is in place, how do I integrate in another theme for
fvwm to use?

Your assistance would be greatly appreciated :)

BTW - Thanks for providing this product!

Carlton
-------------- next part --------------
A non-text attachment was scrubbed...
Name: Carlton.Teel.vcf
Type: text/x-vcard
Size: 377 bytes
Desc: Card for Carlton Teel
URL: 

From skoehler@upb.de  Fri Oct 18 13:11:00 2002
From: skoehler@upb.de (=?ISO-8859-1?Q?Sven_K=F6hler?=)
Date: Fri, 18 Oct 2002 13:11:00 -0000
Subject: x-server with window-manager
Message-ID: 

hi,

is there a project for an x-server with window-manager that integrates 
remote-windows into the windows-desktop?




From huntharo@msu.edu  Fri Oct 18 13:14:00 2002
From: huntharo@msu.edu (Harold L Hunt II)
Date: Fri, 18 Oct 2002 13:14:00 -0000
Subject: x-server with window-manager
In-Reply-To: 
References: 
Message-ID: <3DB06BB7.5030908@msu.edu>

Sven,

I realize that English is probably not your native language, but could 
you elaborate on your question a little bit?  I cannot understand what 
you are asking.

Harold

Sven K??hler wrote:

> hi,
>
> is there a project for an x-server with window-manager that integrates 
> remote-windows into the windows-desktop?
>
>
>


From skoehler@upb.de  Fri Oct 18 14:03:00 2002
From: skoehler@upb.de (=?ISO-8859-1?Q?Sven_K=F6hler?=)
Date: Fri, 18 Oct 2002 14:03:00 -0000
Subject: x-server with window-manager
In-Reply-To: 
References:  <3DB06BB7.5030908@msu.edu>
Message-ID: 

> I realize that English is probably not your native language, but could
> you elaborate on your question a little bit?  I cannot understand what
> you are asking.


Is there a project, that is developing a x-server that has an integrated 
window-manager so that x-forwarded windows will appear like ms-windows' 
native ones?

I think cygwin's current x-server is based on Xnest so that all the 
x-forwarded windows will appear within one big window which is my 
"XFree"-Desktop and they do not seamlessly integrate into the 
ms-windows-desktop.




From huntharo@msu.edu  Fri Oct 18 14:10:00 2002
From: huntharo@msu.edu (Harold L Hunt II)
Date: Fri, 18 Oct 2002 14:10:00 -0000
Subject: x-server with window-manager
In-Reply-To: 
References:  <3DB06BB7.5030908@msu.edu> 
Message-ID: <3DB078D1.6020905@msu.edu>

Sven,

For future reference, Cygwin/XFree86 is not in any way based on Xnest.

Also, what you are trying to accomplish has nothing to do with whether a 
window is created by a local X client or by a remote X client with X11 
forwarding.

Now, to answer  your question, yes, there is preliminary support for a 
so-called ``rootless''.  However, this ``rootless'' mode still requires 
an X Window Manager.  That is, X clients do not appear within a Windows 
window, they appear within an X window, but the root window is not 
displayed so it looks like the X apps are floating above your Windows apps.

The release announcement for the ``rootless'' support is here:
http://cygwin.com/ml/cygwin-xfree/2002-10/msg00160.html

Also, I posted a slightly faster binary, Test 67, that you can download 
instead of Test 66:
http://cygwin.com/ml/cygwin-xfree/2002-10/msg00188.html

Or, you can wait a day or two and I will make an official Test 67 
release announcement and you can just download that version then.

Harold

Sven K??hler wrote:

>> I realize that English is probably not your native language, but could
>> you elaborate on your question a little bit?  I cannot understand what
>> you are asking.
>
>
>
> Is there a project, that is developing a x-server that has an 
> integrated window-manager so that x-forwarded windows will appear like 
> ms-windows' native ones?
>
> I think cygwin's current x-server is based on Xnest so that all the 
> x-forwarded windows will appear within one big window which is my 
> "XFree"-Desktop and they do not seamlessly integrate into the 
> ms-windows-desktop.
>
>
>


From skoehler@upb.de  Fri Oct 18 14:11:00 2002
From: skoehler@upb.de (=?ISO-8859-1?Q?Sven_K=F6hler?=)
Date: Fri, 18 Oct 2002 14:11:00 -0000
Subject: x-server with window-manager
In-Reply-To: 
References:  <3DB06BB7.5030908@msu.edu>
Message-ID: 

> I realize that English is probably not your native language, but could
> you elaborate on your question a little bit?  I cannot understand what
> you are asking.

should better read next time:

http://xfree86.cygwin.com/devel/todo.html
it says:
"Seamless integration with Windows"
that was what i asked for.

have you already started to implements that feature?




From huntharo@msu.edu  Fri Oct 18 20:17:00 2002
From: huntharo@msu.edu (Harold Hunt)
Date: Fri, 18 Oct 2002 20:17:00 -0000
Subject: [ANNOUNCEMENT] Server Test 67
Message-ID: 

Links:

I just posted Test 67 to the server development page:
http://xfree86.cygwin.com/devel/shadow/

You can install the Test 67 package via setup.exe by selecting the
'test' package (and be sure to check the 'Bin' box): XFree86-xserv-4.2.0-14

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-Test67.exe.bz2 (1105 KiB)

Server source, direct link:
http://www.msu.edu/~huntharo/xwin/shadow/xwin-20021018-2248.tar.bz2 (90 KiB)

xc/programs/Xserver/hw/xwin (all files) diff against 20021018 XFree86 CVS:
http://www.msu.edu/~huntharo/xwin/shadow/xwin-20021018-2248.diff (1 KiB)


Changes:

1) Turn off debugging message in winwindow.c/winAddRgn () that was
being printed thousands, if not millions, of times.  (Harold Hunt)


Enjoy,

Harold


From jc.gervais@videotron.ca  Sat Oct 19 00:39:00 2002
From: jc.gervais@videotron.ca (Jean-Claude Gervais)
Date: Sat, 19 Oct 2002 00:39:00 -0000
Subject: Need help
In-Reply-To: <3DB06A28.A500957B@signal-analysis.com>
Message-ID: 

http://themes.freshmeat.net/articles/view/465/


-----Original Message-----
From: cygwin-xfree-owner@cygwin.com [mailto:cygwin-xfree-owner@cygwin.com]On
Behalf Of Carlton Teel
Sent: Friday, October 18, 2002 4:08 PM
To: cygwin-xfree@cygwin.com
Subject: Need help

Greetings all,

I have been trying to locate the steps needed to use the fvwm
distributed with Cygwin, but I have not found the silver bullet yet.
Can you point to where I need to look or provide me with the necessary
steps?   Once fvwm is in place, how do I integrate in another theme for
fvwm to use?

Your assistance would be greatly appreciated :)

BTW - Thanks for providing this product!

Carlton


From aman@amanjordan.org  Sat Oct 19 01:55:00 2002
From: aman@amanjordan.org (AMAN- Munir Idaibes)
Date: Sat, 19 Oct 2002 01:55:00 -0000
Subject: Tunis: Workshop on Gender & Devolopment (20-22/10/2002)
Message-ID: <200210190853.g9J8rH108614@mail.nets1.com.jo>

Please go to:
http://www.amanjordan.org/arabic_news/wmview.php?ArtID=3452

AMAN News Center:
http://www.amanjordan.org/arabic_news/index.php


From skoehler@upb.de  Sat Oct 19 06:10:00 2002
From: skoehler@upb.de (=?ISO-8859-1?Q?Sven_K=F6hler?=)
Date: Sat, 19 Oct 2002 06:10:00 -0000
Subject: x-server with window-manager
In-Reply-To: 
References:  <3DB06BB7.5030908@msu.edu>  <3DB078D1.6020905@msu.edu>
Message-ID: 

> For future reference, Cygwin/XFree86 is not in any way based on Xnest.


i tought that i've read something like that.
was it Xvfb? but it's not so important...

> Also, what you are trying to accomplish has nothing to do with whether a
> window is created by a local X client or by a remote X client with X11
> forwarding.


OK, that's right, i just took x-forwarding as an example.

> Now, to answer  your question, yes, there is preliminary support for a
> so-called ``rootless''.  However, this ``rootless'' mode still requires
> an X Window Manager.  That is, X clients do not appear within a Windows
> window, they appear within an X window, but the root window is not
> displayed so it looks like the X apps are floating above your Windows 
> apps.
>
> The release announcement for the ``rootless'' support is here:
> http://cygwin.com/ml/cygwin-xfree/2002-10/msg00160.html


OK, but how to i start XWin.exe so it will work in "rootless"-mode?

> Also, I posted a slightly faster binary, Test 67, that you can download
> instead of Test 66:
> http://cygwin.com/ml/cygwin-xfree/2002-10/msg00188.html

just installed it ...




From skoehler@upb.de  Sat Oct 19 07:59:00 2002
From: skoehler@upb.de (=?ISO-8859-1?Q?Sven_K=F6hler?=)
Date: Sat, 19 Oct 2002 07:59:00 -0000
Subject: x-server with window-manager
In-Reply-To: 
References:  <3DB06BB7.5030908@msu.edu>  <3DB078D1.6020905@msu.edu> 
Message-ID: 

> OK, but how to i start XWin.exe so it will work in "rootless"-mode?

OK, i found out, that i should start "XWin -rootless" but i still need a 
window-manager afterwards (like twm) ro have a window-titlebar.

will there be a window-manager integrated into XWin that uses 
Win32-native windows? (native title-bar, buttons, resizing etc.)




From huntharo@msu.edu  Sat Oct 19 14:03:00 2002
From: huntharo@msu.edu (Harold Hunt)
Date: Sat, 19 Oct 2002 14:03:00 -0000
Subject: x-server with window-manager
In-Reply-To: 
Message-ID: 

Sven,

> > For future reference, Cygwin/XFree86 is not in any way based on Xnest.
>
>
> i tought that i've read something like that.
> was it Xvfb? but it's not so important...
>

You must be reading some really ancient materials.  There was a very early
version of Cygwin/XFree86 (about two or three years ago) that was a hack on
Xvfb.  However, since then Cygwin/XFree86 has been completely rewritten and
now we directly use the ``fb'' and ``shadow'' layers that are used by many
of the XFree86 drivers for graphics cards.  But, none of that is really
important...

Harold


From huntharo@msu.edu  Sat Oct 19 14:04:00 2002
From: huntharo@msu.edu (Harold Hunt)
Date: Sat, 19 Oct 2002 14:04:00 -0000
Subject: x-server with window-manager
In-Reply-To: 
Message-ID: 

Sven,

> > OK, but how to i start XWin.exe so it will work in "rootless"-mode?
>
> OK, i found out, that i should start "XWin -rootless" but i still need a
> window-manager afterwards (like twm) ro have a window-titlebar.
>
> will there be a window-manager integrated into XWin that uses
> Win32-native windows? (native title-bar, buttons, resizing etc.)
>

I said earlier that you would still have to run an X Window Manager.  Yes,
Cygwin/XFree86 will eventually have a window manager that opens X windows in
Windows windows.  However, we only got rootless support three days ago, so I
wouldn't count on that integrated window manager being finished any time
soon, unless you are willing to help write it.

Harold


From frank.l.lane@boeing.com  Sat Oct 19 14:09:00 2002
From: frank.l.lane@boeing.com (Lane, Frank L)
Date: Sat, 19 Oct 2002 14:09:00 -0000
Subject: x-server with window-manager
Message-ID: <3B2480653E7D2C4E8AA5699598D691C4230085@xch-se-03.se.nos.boeing.com>

Hi Harold,

I'm trying to learn and maybe that puts me out of the loop here.  But, I'll
ask anyway.  Is there a place users, like myself, can go and see a list of
outstanding projects for cygwin?  You know, the one's that you authors would
allow us to help on.

Thanks,
Frank

-----Original Message-----
From: Harold Hunt [mailto:huntharo@msu.edu]
Sent: Saturday, October 19, 2002 4:05 PM
To: cygwin-xfree@cygwin.com
Subject: RE: x-server with window-manager


Sven,


I said earlier that you would still have to run an X Window Manager.  Yes,
Cygwin/XFree86 will eventually have a window manager that opens X windows in
Windows windows.  However, we only got rootless support three days ago, so I
wouldn't count on that integrated window manager being finished any time
soon, unless you are willing to help write it.

Harold


From huntharo@msu.edu  Sat Oct 19 15:03:00 2002
From: huntharo@msu.edu (Harold L Hunt II)
Date: Sat, 19 Oct 2002 15:03:00 -0000
Subject: x-server with window-manager
In-Reply-To: <3B2480653E7D2C4E8AA5699598D691C4230085@xch-se-03.se.nos.boeing.com>
References: <3B2480653E7D2C4E8AA5699598D691C4230085@xch-se-03.se.nos.boeing.com>
Message-ID: <3DB1D6B7.9090106@msu.edu>

Frank,

I'm not sure if Cygwin proper maintains an open development items list, 
but Cygwin/XFree86 has a development to-do page:
http://xfree86.cygwin.com/devel/todo.html

Some of the items listed on that page are more housekeeping, such as 
integrating the Wine DirectDraw headers with Cygwin's win32api package, 
while others are sort of wish-list items, such as writing the 
Windows-based window manager that works together with the new rootless 
mode.  The new rootless mode itself will require a lot of attention, as 
we could provide an option that would allow root menus to work (but this 
wouldn't allow you to click the focus through to a Windows window; we 
also need to handle non-rectangular windows created with the X Shape 
Extension.

Then there is xwinclip, which Chris Twiner has put a lot of work into 
and I need to review and accept his patches... his work should allow us 
to integrate clipboard support into XWin.exe, rather than having to run 
a stand-alone executable.

Hmm... I just realized that the To-Do list needs to be updated and 
several items need to be added.  I will try to get around to that soon.

Harold

Lane, Frank L wrote:

>Hi Harold,
>
>I'm trying to learn and maybe that puts me out of the loop here.  But, I'll
>ask anyway.  Is there a place users, like myself, can go and see a list of
>outstanding projects for cygwin?  You know, the one's that you authors would
>allow us to help on.
>
>Thanks,
>Frank
>
>-----Original Message-----
>From: Harold Hunt [mailto:huntharo@msu.edu]
>Sent: Saturday, October 19, 2002 4:05 PM
>To: cygwin-xfree@cygwin.com
>Subject: RE: x-server with window-manager
>
>
>Sven,
>
>
>I said earlier that you would still have to run an X Window Manager.  Yes,
>Cygwin/XFree86 will eventually have a window manager that opens X windows in
>Windows windows.  However, we only got rootless support three days ago, so I
>wouldn't count on that integrated window manager being finished any time
>soon, unless you are willing to help write it.
>
>Harold
>  
>


From zakki@peppermint.jp  Sat Oct 19 22:35:00 2002
From: zakki@peppermint.jp (MATSUZAKI Kensuke)
Date: Sat, 19 Oct 2002 22:35:00 -0000
Subject: [PATCH] X Shape Extension
Message-ID: 

Hello,

Here is a patch that adds "X Shape Extension" to rootless mode.
With this, xeyes seems to work.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: xshapeextension.patch
Type: application/octet-stream
Size: 9559 bytes
Desc: not available
URL: 

From d98macke@dtek.chalmers.se  Sun Oct 20 03:02:00 2002
From: d98macke@dtek.chalmers.se (Marcus Lindblom)
Date: Sun, 20 Oct 2002 03:02:00 -0000
Subject: Rootless mode only works on one monitor
Message-ID: <000401c2781f$d165e370$91f70bc1@fizzgig>

Hi!

Am running Cygwin and Test67 of XWin.exe, a GF4 Ti4200 and a
nView-enhanced desktop (which windows sees as one monitor at 2560x1024,
not as two 1280x1024).

Rootless mode is really cool, but the windows only shows on one of the
screens (the primary).

Also, when running with a root window, I can get it to strectch across
both screens, but I get the same bug that was reported a while ago: a
white part on the right side. Looks like only the 2048 leftmost pixel
columns are redrawn, and the rest are missed out (they get redrawn
sometimes, but very seldom.)

/Marcus


From kgk@pharm.auth.gr  Sun Oct 20 04:27:00 2002
From: kgk@pharm.auth.gr (Kyriakos Kachrimanis)
Date: Sun, 20 Oct 2002 04:27:00 -0000
Subject: multiple windows
Message-ID: <001a01c2782c$0a949900$5e05cf9b@pharm.auth.gr>

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 huntharo@msu.edu  Sun Oct 20 09:44:00 2002
From: huntharo@msu.edu (Harold L Hunt II)
Date: Sun, 20 Oct 2002 09:44:00 -0000
Subject: Rootless mode only works on one monitor
In-Reply-To: <000401c2781f$d165e370$91f70bc1@fizzgig>
References: <000401c2781f$d165e370$91f70bc1@fizzgig>
Message-ID: <3DB2DD71.4050706@msu.edu>

Marcus,

Try it with the ``-engine 1'' parameter and report your results.

Harold

Marcus Lindblom wrote:

>Hi!
>
>Am running Cygwin and Test67 of XWin.exe, a GF4 Ti4200 and a
>nView-enhanced desktop (which windows sees as one monitor at 2560x1024,
>not as two 1280x1024).
>
>Rootless mode is really cool, but the windows only shows on one of the
>screens (the primary).
>
>Also, when running with a root window, I can get it to strectch across
>both screens, but I get the same bug that was reported a while ago: a
>white part on the right side. Looks like only the 2048 leftmost pixel
>columns are redrawn, and the rest are missed out (they get redrawn
>sometimes, but very seldom.)
>
>/Marcus
>
>  
>


From d98macke@dtek.chalmers.se  Sun Oct 20 12:08:00 2002
From: d98macke@dtek.chalmers.se (Marcus Lindblom)
Date: Sun, 20 Oct 2002 12:08:00 -0000
Subject: Rootless mode only works on one monitor
In-Reply-To: <3DB2DD71.4050706@msu.edu>
Message-ID: <001101c2786c$11d94d10$91f70bc1@fizzgig>

Problems solved!

The first was my bad (told nView not to let apps span two screens when
maximizing, do'h!).

'-engine 1' took care of the redraw problem, which appeared with
rootless as well.

/Marcus

> From: cygwin-xfree-owner@cygwin.com 
> 
> Try it with the ``-engine 1'' parameter and report your results.
> 
> Harold
> 
> Marcus Lindblom wrote:
> 
> >Hi!
> >
> >Am running Cygwin and Test67 of XWin.exe, a GF4 Ti4200 and a
> >nView-enhanced desktop (which windows sees as one monitor at 
> 2560x1024,
> >not as two 1280x1024).
> >
> >Rootless mode is really cool, but the windows only shows on 
> one of the
> >screens (the primary).
> >
> >Also, when running with a root window, I can get it to 
> strectch across
> >both screens, but I get the same bug that was reported a while ago: a
> >white part on the right side. Looks like only the 2048 leftmost pixel
> >columns are redrawn, and the rest are missed out (they get redrawn
> >sometimes, but very seldom.)
> >
> >/Marcus
> >
> >  
> >
> 


From jc.gervais@videotron.ca  Sun Oct 20 12:54:00 2002
From: jc.gervais@videotron.ca (Jean-Claude Gervais)
Date: Sun, 20 Oct 2002 12:54:00 -0000
Subject: Rootless mode only works on one monitor
In-Reply-To: <001101c2786c$11d94d10$91f70bc1@fizzgig>
Message-ID: 

Marcus,

	Could you post the details of how you get multiple-monitors to work with X?



-----Original Message-----
From: cygwin-xfree-owner@cygwin.com [mailto:cygwin-xfree-owner@cygwin.com]On
Behalf Of Marcus Lindblom
Sent: Sunday, October 20, 2002 3:08 PM
To: cygwin-xfree@cygwin.com
Subject: RE: Rootless mode only works on one monitor

Problems solved!

The first was my bad (told nView not to let apps span two screens when
maximizing, do'h!).

'-engine 1' took care of the redraw problem, which appeared with
rootless as well.

/Marcus

> From: cygwin-xfree-owner@cygwin.com
>
> Try it with the ``-engine 1'' parameter and report your results.
>
> Harold
>
> Marcus Lindblom wrote:
>
> >Hi!
> >
> >Am running Cygwin and Test67 of XWin.exe, a GF4 Ti4200 and a
> >nView-enhanced desktop (which windows sees as one monitor at
> 2560x1024,
> >not as two 1280x1024).
> >
> >Rootless mode is really cool, but the windows only shows on
> one of the
> >screens (the primary).
> >
> >Also, when running with a root window, I can get it to
> strectch across
> >both screens, but I get the same bug that was reported a while ago: a
> >white part on the right side. Looks like only the 2048 leftmost pixel
> >columns are redrawn, and the rest are missed out (they get redrawn
> >sometimes, but very seldom.)
> >
> >/Marcus
> >
> >
> >
>


From d98macke@dtek.chalmers.se  Sun Oct 20 13:32:00 2002
From: d98macke@dtek.chalmers.se (Marcus Lindblom)
Date: Sun, 20 Oct 2002 13:32:00 -0000
Subject: Rootless mode only works on one monitor
In-Reply-To: 
Message-ID: <001201c27877$ca3e7f50$91f70bc1@fizzgig>

I sort of did that, didn't I? ;)

Note that I am running both monitors from the same graphics adapter, and
use driver software to link them together as one big screen. I haven't
tested using the WinXP-multimon feature, or using two separate adapters.
(I have a voodoo2 which I used with a GF1 before I got the GF4).

I think XWin tries to open one maximized window (albeit transparent or
non-existant, whatever, anyway it uses that as a measure on how big the
screen is), and only create subwindows within that border. As you
probably know, maximizing a window with Windows-multimon only put's it
on one screen, so XWin only get's one screen. As I said, I use nView
(nVidia driver thingy) to get one big monitor, so windows doesn't know
that it's two of them, thus no problem in running xwin on two monitors,
as it is only one.

This is a bit silly if you're running rootless though, but I do believe
that is why it works for me. (It fits the problems and my solutions to
it below, i.e. I had to start xwin-test67.exe non-rootless and tell
nview to allow it to maximize to both screens, then I could get rootless
windows on both monitors.)

/Marcus

> -----Original Message-----
> From: cygwin-xfree-owner@cygwin.com 
> [mailto:cygwin-xfree-owner@cygwin.com] On Behalf Of 
> Jean-Claude Gervais
> Sent: den 20 oktober 2002 21:54
> To: cygwin-xfree@cygwin.com
> Subject: RE: Rootless mode only works on one monitor
> 
> 
> Marcus,
> 
> 	Could you post the details of how you get 
> multiple-monitors to work with X?
> 
> 
> 
> -----Original Message-----
> From: cygwin-xfree-owner@cygwin.com 
> [mailto:cygwin-xfree-owner@cygwin.com]On
> Behalf Of Marcus 
> Lindblom
> Sent: Sunday, October 20, 2002 3:08 PM
> To: cygwin-xfree@cygwin.com
> Subject: RE: Rootless mode only works on one monitor
> 
> Problems solved!
> 
> The first was my bad (told nView not to let apps span two screens when
> maximizing, do'h!).
> 
> '-engine 1' took care of the redraw problem, which appeared with
> rootless as well.
> 
> /Marcus
> 
> > From: cygwin-xfree-owner@cygwin.com
> >
> > Try it with the ``-engine 1'' parameter and report your results.
> >
> > Harold
> >
> > Marcus Lindblom wrote:
> >
> > >Hi!
> > >
> > >Am running Cygwin and Test67 of XWin.exe, a GF4 Ti4200 and a
> > >nView-enhanced desktop (which windows sees as one monitor at
> > 2560x1024,
> > >not as two 1280x1024).
> > >
> > >Rootless mode is really cool, but the windows only shows on
> > one of the
> > >screens (the primary).
> > >
> > >Also, when running with a root window, I can get it to
> > strectch across
> > >both screens, but I get the same bug that was reported a 
> while ago: a
> > >white part on the right side. Looks like only the 2048 
> leftmost pixel
> > >columns are redrawn, and the rest are missed out (they get redrawn
> > >sometimes, but very seldom.)
> > >
> > >/Marcus
> > >
> > >
> > >
> >
> 


From jc.gervais@videotron.ca  Sun Oct 20 14:21:00 2002
From: jc.gervais@videotron.ca (Jean-Claude Gervais)
Date: Sun, 20 Oct 2002 14:21:00 -0000
Subject: Rootless mode only works on one monitor
In-Reply-To: <001201c27877$ca3e7f50$91f70bc1@fizzgig>
Message-ID: 

I see.

I'm using two graphics adapters on Windows 2000, but I can't get XWin to
come up on the second display, no matter what I try.



-----Original Message-----
From: cygwin-xfree-owner@cygwin.com [mailto:cygwin-xfree-owner@cygwin.com]On
Behalf Of Marcus Lindblom
Sent: Sunday, October 20, 2002 4:32 PM
To: cygwin-xfree@cygwin.com
Subject: RE: Rootless mode only works on one monitor

I sort of did that, didn't I? ;)

Note that I am running both monitors from the same graphics adapter, and
use driver software to link them together as one big screen. I haven't
tested using the WinXP-multimon feature, or using two separate adapters.
(I have a voodoo2 which I used with a GF1 before I got the GF4).

I think XWin tries to open one maximized window (albeit transparent or
non-existant, whatever, anyway it uses that as a measure on how big the
screen is), and only create subwindows within that border. As you
probably know, maximizing a window with Windows-multimon only put's it
on one screen, so XWin only get's one screen. As I said, I use nView
(nVidia driver thingy) to get one big monitor, so windows doesn't know
that it's two of them, thus no problem in running xwin on two monitors,
as it is only one.

This is a bit silly if you're running rootless though, but I do believe
that is why it works for me. (It fits the problems and my solutions to
it below, i.e. I had to start xwin-test67.exe non-rootless and tell
nview to allow it to maximize to both screens, then I could get rootless
windows on both monitors.)

/Marcus

> -----Original Message-----
> From: cygwin-xfree-owner@cygwin.com
> [mailto:cygwin-xfree-owner@cygwin.com] On Behalf Of
> Jean-Claude Gervais
> Sent: den 20 oktober 2002 21:54
> To: cygwin-xfree@cygwin.com
> Subject: RE: Rootless mode only works on one monitor
>
>
> Marcus,
>
>       Could you post the details of how you get
> multiple-monitors to work with X?
>
>
>
> -----Original Message-----
> From: cygwin-xfree-owner@cygwin.com
> [mailto:cygwin-xfree-owner@cygwin.com]On
> Behalf Of Marcus
> Lindblom
> Sent: Sunday, October 20, 2002 3:08 PM
> To: cygwin-xfree@cygwin.com
> Subject: RE: Rootless mode only works on one monitor
>
> Problems solved!
>
> The first was my bad (told nView not to let apps span two screens when
> maximizing, do'h!).
>
> '-engine 1' took care of the redraw problem, which appeared with
> rootless as well.
>
> /Marcus
>
> > From: cygwin-xfree-owner@cygwin.com
> >
> > Try it with the ``-engine 1'' parameter and report your results.
> >
> > Harold
> >
> > Marcus Lindblom wrote:
> >
> > >Hi!
> > >
> > >Am running Cygwin and Test67 of XWin.exe, a GF4 Ti4200 and a
> > >nView-enhanced desktop (which windows sees as one monitor at
> > 2560x1024,
> > >not as two 1280x1024).
> > >
> > >Rootless mode is really cool, but the windows only shows on
> > one of the
> > >screens (the primary).
> > >
> > >Also, when running with a root window, I can get it to
> > strectch across
> > >both screens, but I get the same bug that was reported a
> while ago: a
> > >white part on the right side. Looks like only the 2048
> leftmost pixel
> > >columns are redrawn, and the rest are missed out (they get redrawn
> > >sometimes, but very seldom.)
> > >
> > >/Marcus
> > >
> > >
> > >
> >
>


From nahor@bravobrava.com  Sun Oct 20 15:09:00 2002
From: nahor@bravobrava.com (Jehan)
Date: Sun, 20 Oct 2002 15:09:00 -0000
Subject: Rootless mode only works on one monitor
In-Reply-To: <3DB2DD71.4050706@msu.edu>
References: <3DB2DD71.4050706@msu.edu> <001101c2786c$11d94d10$91f70bc1@fizzgig>
Message-ID: 

Marcus Lindblom wrote:

> Problems solved!
>
> The first was my bad (told nView not to let apps span two screens when
> maximizing, do'h!).

By default, XWin open a window as big as the primary desktop. Setting 
nView to use both monitors as one big desktop is one solution.
But you can also have two desktops (so the taskbar isn't extended on 
both screen and a mazimized window fit on one monitor only) and use the 
-screen parameter to force XWin to be bigger than the primary desktop.




From huntharo@msu.edu  Sun Oct 20 15:59:00 2002
From: huntharo@msu.edu (Harold L Hunt II)
Date: Sun, 20 Oct 2002 15:59:00 -0000
Subject: Rootless mode only works on one monitor
In-Reply-To: <3DB2DD71.4050706@msu.edu>
References: <3DB2DD71.4050706@msu.edu> <001101c2786c$11d94d10$91f70bc1@fizzgig> 
Message-ID: <3DB33543.8070703@msu.edu>

Yes, we should look into doing something that would allow rootless-mode 
windows to be placed anywhere on the virtual display area.  I think that 
may only require setting the size of the fake Windows-window to the size 
of the virtual display region.  Should be easy, right? ;)

Harold

Jehan wrote:

> Marcus Lindblom wrote:
>
>> Problems solved!
>>
>> The first was my bad (told nView not to let apps span two screens when
>> maximizing, do'h!).
>
>
> By default, XWin open a window as big as the primary desktop. Setting 
> nView to use both monitors as one big desktop is one solution.
> But you can also have two desktops (so the taskbar isn't extended on 
> both screen and a mazimized window fit on one monitor only) and use 
> the -screen parameter to force XWin to be bigger than the primary desktop.
>
>
>


From huntharo@msu.edu  Sun Oct 20 17:58:00 2002
From: huntharo@msu.edu (Harold L Hunt II)
Date: Sun, 20 Oct 2002 17:58:00 -0000
Subject: [PATCH] X Shape Extension
In-Reply-To: 
References: 
Message-ID: <3DB35143.7050401@msu.edu>

Matsuzaki,

I have applied your patch to my local tree and I like it.  It seems to 
work well and it also seems to perform a little better.

I will be making a Server Test Series release tomorrow with your patch 
included.

Thanks for your great work,

Harold

MATSUZAKI Kensuke wrote:

>Hello,
>
>Here is a patch that adds "X Shape Extension" to rootless mode.
>With this, xeyes seems to work.
>
>  
>


From huntharo@msu.edu  Sun Oct 20 20:34:00 2002
From: huntharo@msu.edu (Harold Hunt)
Date: Sun, 20 Oct 2002 20:34:00 -0000
Subject: [ANNOUNCEMENT] Server Test 68
Message-ID: 

Links:

I just posted Test 68 to the server development page:
http://xfree86.cygwin.com/devel/shadow/

You can install the Test 68 package via setup.exe by selecting the
'test' package (and be sure to check the 'Bin' box): XFree86-xserv-4.2.0-15

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-Test68.exe.bz2 (1106 KiB)

Server source, direct link:
http://www.msu.edu/~huntharo/xwin/shadow/xwin-20021020-2321.tar.bz2 (90 KiB)

xc/programs/Xserver/hw/xwin (all files) diff against 20021020 XFree86 CVS:
http://www.msu.edu/~huntharo/xwin/shadow/xwin-20021020-2321.diff (14 KiB)


Changes:

1) Add support for non-rectangular windows created by the X Shape Extension
while in Rootless mode (e.g., ``XWin -rootless'').  (MATSUZAKI Kensuke)

2) Not in the release build, but in the sources: Clean up the RANDR
extension code to match the latest RANDR interface.  This can't be enabled
yet because it crashes on startup in 32 bit per pixel mode. (Harold Hunt)


Release plans:

I intend to make XFree86-xserv-4.2.0-15 the stable release as soon as I
receive some feedback that it does not introduce any substantial bugs.  Be
sure to check non-rootless mode with the ``-scrollbars'' parameter and make
sure that the window is created at the correct size and that there is no
wierdness when resizing.  For example, I recall seeing Cygwin/XFree86
startup with the display area being chopped to allow space for scrollbars
that were not being displayed.  I didn't look into that one --- so I would
appreciate it if someone else could verify that it happens.


Enjoy,

Harold


From choice15@gmx.de  Mon Oct 21 02:33:00 2002
From: choice15@gmx.de (choice15@gmx.de)
Date: Mon, 21 Oct 2002 02:33:00 -0000
Subject: Cygwin Remote: Want to implement a Citrix Metaframe alternative
References:  <006c01c27048$a32b5f00$4c64a8c0@ibsfreiburg.de> <200210102358.46666.rasjidw@openminddev.net> <004601c2734e$6b27a9c0$4c64a8c0@ibsfreiburg.de>
Message-ID: <00e901c278e4$e3e55790$4c64a8c0@ibsfreiburg.de>


Hi all

http://sourceforge.net/projects/ibsxnet/

Ok, the First Release of this Project  (ICA Citrix Metaframe altenative
Client for X11 with Gygwin) is released. This Project is published under the
GPL (is this ok but the Project need Cygwin Binaries?)

How does it works:

The Logon Client looks like an little Win32 GUI App (Look & Feel)
It connect via an SSH2 connection to the LINUX X11-Server (in my Case Debian
3.0)
to an an OpenBSD SSH Server and authenticates with an Users thadts must be
present on the Linux System (such as root or an other User)

On the login to the Linux System the bash_profile Batshscript was calling
"always" a
x11netini.sh Script thad catch an Commandlineargument (xnet100_hook).
If the Hook is 100 then it Startup the KDE-Desktop "startkde"

Properties: An Tabbed Register Dialog is implemented for some User defiened
Actions, but it is Password protected (password is: qrzx)

Bad things: This is NOT a Full funtional Version 1.0.0 and the UI Layout is
in German Lang
and the Sourcecode is not yet added this Time)







----- Original Message -----
From: 
To: ; "Thomas Chadwick" 
Sent: Monday, October 14, 2002 8:53 AM
Subject: Re: Cygwin Remote: Want to implement a Citrix Metaframe alternative


> Hi all,
>
> The Implementation of my Cygwin Logon Programm works fine,
> but the Workarraound with SAMBA (Singlesign on is not the real Deal)
> has any One an Idea?
>
> I want to try an Implementaton of SSH2 Protokoll to my Client to make
> the Authentication to my X-Server (via SSH witout the Cygwin Bash)
>
> I dont want (like commercial StarWin implementation use th "insecure XPDM"
> Protocol.
>
> Note: I tryin to register my Project on Sourceforge.org to make it common
> avaiable under the GPL. (searchname: xnet)
>
>
>
> > On Thu, 10 Oct 2002 8:34 pm, choice15@gmx.de wrote:
> > >
> > > I have handled the Problem with ssh-keygen -t dsa to bake up an
Key-pair
> > > and distribute it to the X-Server and Cygwin Client.
> >
> > Do these keys have passphrases?  If yes, then how is it different to
> asking
> > for a password.  If no, then how have you made the system secure?
> >
> > I am interested in the development of this idea, but would be very
> concerned
> > about the use of passphrase-less keys.
> >
> > Rasjid.
> >
>


From wj@sunroot.de  Mon Oct 21 02:58:00 2002
From: wj@sunroot.de (Walter.Justen)
Date: Mon, 21 Oct 2002 02:58:00 -0000
Subject: Cannot start X server
Message-ID: <3DB3CF90.5080701@sunroot.de>

Hi there,

i have seen the enclosed mail from Nicolas at the archive. I have the 
same problems. First the xserver works fine, after a reboot of the 
systems it dont work again.

Is the a solution ...

regards
Walter


    * From: Nicolas F Rouquette
    * Subject: Cannot start X server
    * Date: Tue, 15 Oct 2002 11:48:29 -0700

------------------------------------------------------------------------

I have been running cygwin & X for quite a while. Recently, my setup got 
corrupted after a setup session gone bad (not sure why).
Today, I reinstalled everything (cygwin & xfree) from the internet but I 
can't start a basic X server. Here's what I get:

$ startx

waiting for X server to begin accepting connections .
..
.. [repeated many times]
..
giving up.
xinit: Permission denied (errno 13): unable to connect to X server

waiting for X server to shut down

xinit: Server error

The /tmp/XWin.log doesn't seem to have particularly alarming messages,
except for the ownership message that I've read in the mailing list 
archive to ignore
(perhaps it no longer should???)

---------------------
ddxProcessArgument - Initializing default screens
winInitializeDefaultScreens - w 1600 h 1200
winInitializeDefaultScreens - Returning
_XSERVTransmkdir: Owner of /tmp/.X11-unix should be set to root
winDetectSupportedEngines - Windows NT/2000/XP
winDetectSupportedEngines - DirectDraw installed
winDetectSupportedEngines - Allowing PrimaryDD
winDetectSupportedEngines - DirectDraw4 installed
winDetectSupportedEngines - Returning, supported engines 0000001f
winSetEngine - Using Shadow DirectDraw NonLocking
winAdjustVideoModeShadowDDNL - Using Windows display depth of 32 bits 
per pixel
winAdjustForAutoHide - Original WorkArea: 0 0 1166 1600
winAdjustForAutoHide - Adjusted WorkArea: 0 0 1166 1600
winCreateBoundingWindowWindowed - WindowClient w 1594 h 1135 r 1594 l 0 
b 1135 t 0
winCreateBoundingWindowWindowed -  Returning
winAllocateFBShadowDDNL - lPitch: 6376
winFinishScreenInitFB - Masks: 00ff0000 0000ff00 000000ff
winInitVisualsShadowDDNL - Masks 00ff0000 0000ff00 000000ff BPRGB 8 d 24 
bpp 32
winCreateDefColormap - Deferring to fbCreateDefColormap ()
winScreenInit - returning
Could not init font path element /usr/X11R6/lib/X11/fonts/Speedo/, 
removing from list!
Could not init font path element /usr/X11R6/lib/X11/fonts/Type1/, 
removing from list!
Could not init font path element /usr/X11R6/lib/X11/fonts/100dpi/, 
removing from list!
-----------------------

Suggestions?

-- Nicolas.






From Dr.Volker.Zell@oracle.com  Mon Oct 21 04:29:00 2002
From: Dr.Volker.Zell@oracle.com (Dr. Volker Zell)
Date: Mon, 21 Oct 2002 04:29:00 -0000
Subject: Problems with xwinclip version 0.5/0.6
Message-ID: <871y6kxc8o.fsf@vzell-de.de.oracle.com>

Hi

I have some problems with the different versions of xwinclip.

o xwinclip-Test05:

Marking and pasting works in both directions from Windows to X and
vice versa.
But when marking in an X window the marked area disapppears as 
soon as I release the left mouse button, but at least it's copied 
to the clipboard.

Now my problem: In the cygwin X-version of XEmacs 21.4 (patch 6) 
I do not get active regions anymore because of this feature. So
all the region commands do not work anymore rendering Xemacs almost
useless.

When killing xwinclip the active regions work again but of course now
I can only copy between X windows.

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 !!

So this fixes the xemacs active region behaviour.

But now xwinclip works only in one direction and it also depends
from where you start marking regions.

This is what I found:

When I start marking regions in a Windows window (Ww) I can paste it
in an X window (Xw).
But as soon as I mark a region in an Xw the clipboard contents
which gets pasted in the Ww is the last text I marked in the Ww.

It looks like from that point on there are now two independent clipboards
one for Windows and on for Xfree.

Any hints or at least can somebody confirm my findings ?

Ciao
  Volker
 
By the way the new rootless mode works great. I'm using the latest 4.2.0-15


From j_tetazoo@hotmail.com  Mon Oct 21 05:33:00 2002
From: j_tetazoo@hotmail.com (Thomas Chadwick)
Date: Mon, 21 Oct 2002 05:33:00 -0000
Subject: Cannot start X server
Message-ID: 

If you, too, are seeing the messages about not finding fonts, then it
is covered in the FAQ...

http://xfree86.cygwin.com/docs/faq/cygwin-xfree-faq.html#q-removing-font-path-element

Note that the FAQ is a little out of date.  You should NOT be using 
Xinstall.sh to install XFree86, you should be using the Cygwin setup program 
and selecting what you want from the XFree86 section.

>From: "Walter.Justen" 
>Reply-To: cygwin-xfree@cygwin.com
>To: cygwin-xfree@cygwin.com
>Subject: Cannot start X server
>Date: Mon, 21 Oct 2002 11:57:36 +0200
>
>Hi there,
>
>i have seen the enclosed mail from Nicolas at the archive. I have the same 
>problems. First the xserver works fine, after a reboot of the systems it 
>dont work again.
>
>Is the a solution ...
>
>regards
>Walter
>
>
>    * From: Nicolas F Rouquette
>    * Subject: Cannot start X server
>    * Date: Tue, 15 Oct 2002 11:48:29 -0700
>
>------------------------------------------------------------------------
>
>I have been running cygwin & X for quite a while. Recently, my setup got 
>corrupted after a setup session gone bad (not sure why).
>Today, I reinstalled everything (cygwin & xfree) from the internet but I 
>can't start a basic X server. Here's what I get:
>
>$ startx
>
>waiting for X server to begin accepting connections .
>..
>.. [repeated many times]
>..
>giving up.
>xinit: Permission denied (errno 13): unable to connect to X server
>
>waiting for X server to shut down
>
>xinit: Server error
>
>The /tmp/XWin.log doesn't seem to have particularly alarming messages,
>except for the ownership message that I've read in the mailing list archive 
>to ignore
>(perhaps it no longer should???)
>
>---------------------
>ddxProcessArgument - Initializing default screens
>winInitializeDefaultScreens - w 1600 h 1200
>winInitializeDefaultScreens - Returning
>_XSERVTransmkdir: Owner of /tmp/.X11-unix should be set to root
>winDetectSupportedEngines - Windows NT/2000/XP
>winDetectSupportedEngines - DirectDraw installed
>winDetectSupportedEngines - Allowing PrimaryDD
>winDetectSupportedEngines - DirectDraw4 installed
>winDetectSupportedEngines - Returning, supported engines 0000001f
>winSetEngine - Using Shadow DirectDraw NonLocking
>winAdjustVideoModeShadowDDNL - Using Windows display depth of 32 bits per 
>pixel
>winAdjustForAutoHide - Original WorkArea: 0 0 1166 1600
>winAdjustForAutoHide - Adjusted WorkArea: 0 0 1166 1600
>winCreateBoundingWindowWindowed - WindowClient w 1594 h 1135 r 1594 l 0 b 
>1135 t 0
>winCreateBoundingWindowWindowed -  Returning
>winAllocateFBShadowDDNL - lPitch: 6376
>winFinishScreenInitFB - Masks: 00ff0000 0000ff00 000000ff
>winInitVisualsShadowDDNL - Masks 00ff0000 0000ff00 000000ff BPRGB 8 d 24 
>bpp 32
>winCreateDefColormap - Deferring to fbCreateDefColormap ()
>winScreenInit - returning
>Could not init font path element /usr/X11R6/lib/X11/fonts/Speedo/, removing 
>from list!
>Could not init font path element /usr/X11R6/lib/X11/fonts/Type1/, removing 
>from list!
>Could not init font path element /usr/X11R6/lib/X11/fonts/100dpi/, removing 
>from list!
>-----------------------
>
>Suggestions?
>
>-- Nicolas.


_________________________________________________________________
Get a speedy connection with MSN Broadband.?? Join now! 
http://resourcecenter.msn.com/access/plans/freeactivation.asp


From strube@physik3.gwdg.de  Mon Oct 21 06:00:00 2002
From: strube@physik3.gwdg.de (Hans Werner Strube)
Date: Mon, 21 Oct 2002 06:00:00 -0000
Subject: Rootless: how to get wm menu?
Message-ID: <200210211300.PAA23460@r2d2.physik3.gwdg.de>

How do I open the X11 window-manager menu when working in rootless mode?
When clicking a mouse button on the background, I get a Windows menu.
There should be a small area or special icon as an event proxy for the
missing X11 background.


From c_twiner@hotmail.com  Mon Oct 21 08:51:00 2002
From: c_twiner@hotmail.com (Chris Twiner)
Date: Mon, 21 Oct 2002 08:51:00 -0000
Subject: Problems with xwinclip version 0.5/0.6
Message-ID: 

Hi Volker,

Can you try the version I posted last month (there were several versions but 
the last post holds the best version).

It solves the clearing of the selection.  I am suprised that the test06 
solved your problem, it didn't with me or other users.  I use NEdit so I 
have the same issue with active regions.

With respect to the selection maintaining two different clipboards can you 
tell me if it seems to behave the same with my changes?

Also if you're testing rootless mode it would be good to know if it works in 
that (it looks for a focus change in the root window so I am not sure it 
will), I haven't had time to have a look yet.

Regards,

Chris




_________________________________________________________________
Surf the Web without missing calls! Get MSN Broadband. 
http://resourcecenter.msn.com/access/plans/freeactivation.asp


From nahor@bravobrava.com  Mon Oct 21 08:56:00 2002
From: nahor@bravobrava.com (Jehan)
Date: Mon, 21 Oct 2002 08:56:00 -0000
Subject: Rootless mode only works on one monitor
In-Reply-To: <3DB2DD71.4050706@msu.edu>
References: <3DB2DD71.4050706@msu.edu> <001101c2786c$11d94d10$91f70bc1@fizzgig>  <3DB33543.8070703@msu.edu>
Message-ID: 

Harold L Hunt II wrote:

> Yes, we should look into doing something that would allow rootless-mode
> windows to be placed anywhere on the virtual display area.  I think that
> may only require setting the size of the fake Windows-window to the size
> of the virtual display region.  Should be easy, right? ;)

Getting all the desktops is easy with EnumDisplayMonitors.

The problem is the non rectangular shape. One desktop could be 1280x1024 
while the other is 640x480, so there would be a non visible area that 
could be pretty annoying, especially with WM that have "smart placement".

	Jehan




From agrimm@redwood.rsc.raytheon.com  Mon Oct 21 10:14:00 2002
From: agrimm@redwood.rsc.raytheon.com (Andrew Grimm)
Date: Mon, 21 Oct 2002 10:14:00 -0000
Subject: Cannot start X server
Message-ID: 


I was having the exact same problem starting X under the newest Cygwin
release.  I also found this very frustrating as I have been running X for
quite some time with no problems, then *boom* it suddenly broke.

One option that worked for me was to downgrade to the previous version of
the DLL (backout 1.3.13-2 to 1.3.12-4).  This is simple to do using the
setup program but is not a long-term solution.

I am not an expert on this, but some research revealed that 1.3.13-2 has
turned on the "ntsec" option by default.  If your computer is in an NT
domain, this affects you.  To check, compare the UID/GID reported by your
"id -a" command with the ownership of your existing files "ls -ln $HOME".

If they don't match, you need to update your /etc/passwd and/or /etc/group
files.  You can do this by replacing the  entry in
/etc/passwd with the output of "mkpasswd -d -u " and
updating /etc/group with the output of "mkgroup -d | grep ::"
(note that the angled brackets are meant to indicate variables and are not
literally part of the commands).

This is not really an XFree problem, rather it is a global Cygwin issue
caused by a policy change that took most people by surprise.

Hope that fixes your particular problem,
Andy


From wj@sunroot.de  Mon Oct 21 10:32:00 2002
From: wj@sunroot.de (Walter Justen)
Date: Mon, 21 Oct 2002 10:32:00 -0000
Subject: Cannot start X server
In-Reply-To: 
References: 
Message-ID: <20021021192709.4554f521.wj@sunroot.de>

Thomas,

thanks for reply. 

The installation of the packages dont solve it. 
Bevor i reboot the systems it works fine whithout the packages in the same configuration.

regards
Walter

On Mon, 21 Oct 2002 08:33:08 -0400
"Thomas Chadwick"  wrote:

> If you, too, are seeing the messages about not finding fonts, then it
> is covered in the FAQ...
> 
> http://xfree86.cygwin.com/docs/faq/cygwin-xfree-faq.html#q-removing-font-path-element
> 
> Note that the FAQ is a little out of date.  You should NOT be using 
> Xinstall.sh to install XFree86, you should be using the Cygwin setup program 
> and selecting what you want from the XFree86 section.
> 


From huntharo@msu.edu  Mon Oct 21 10:41:00 2002
From: huntharo@msu.edu (Harold L Hunt II)
Date: Mon, 21 Oct 2002 10:41:00 -0000
Subject: Cannot start X server
In-Reply-To: 
References:  <20021021192709.4554f521.wj@sunroot.de>
Message-ID: <3DB43C5D.6020006@msu.edu>

Walter,

Please follows Andrew's suggestion that he just mailed in.  You could 
first try to downgrade cygwin1.dll, if that works, upgrade cygwin1.dll 
to the current version and repair your passwd file as Andrew describes.

Harold

Walter Justen wrote:

>Thomas,
>
>thanks for reply. 
>
>The installation of the packages dont solve it. 
>Bevor i reboot the systems it works fine whithout the packages in the same configuration.
>
>regards
>Walter
>
>On Mon, 21 Oct 2002 08:33:08 -0400
>"Thomas Chadwick"  wrote:
>
>  
>
>>If you, too, are seeing the messages about not finding fonts, then it
>>is covered in the FAQ...
>>
>>http://xfree86.cygwin.com/docs/faq/cygwin-xfree-faq.html#q-removing-font-path-element
>>
>>Note that the FAQ is a little out of date.  You should NOT be using 
>>Xinstall.sh to install XFree86, you should be using the Cygwin setup program 
>>and selecting what you want from the XFree86 section.
>>
>>    
>>


From yadin@pitt.edu  Mon Oct 21 11:11:00 2002
From: yadin@pitt.edu (Yadin Y. Goldschmidt)
Date: Mon, 21 Oct 2002 11:11:00 -0000
Subject: color of title bar
Message-ID: 

In rootless mode, how I do I change the color of the window title bar? It
always appears green and I would like to change it to blue like my other
windows' title bars. Also is there a way that the color of the title bar
changes color depending if the window is currently selected or not?
TIA, Yadin.





From cgf@redhat.com  Mon Oct 21 13:31:00 2002
From: cgf@redhat.com (Christopher Faylor)
Date: Mon, 21 Oct 2002 13:31:00 -0000
Subject: Cannot start X server
In-Reply-To: 
References: 
Message-ID: <20021021203326.GA20069@redhat.com>

On Mon, Oct 21, 2002 at 11:11:19AM -0600, Andrew Grimm wrote:
>This is not really an XFree problem, rather it is a global Cygwin issue
>caused by a policy change that took most people by surprise.

Sounds like most people need to read the cygwin release announcements a
little more closely rather than just blindly upgrading.

cgf


From agrimm@redwood.rsc.raytheon.com  Mon Oct 21 15:09:00 2002
From: agrimm@redwood.rsc.raytheon.com (Andrew Grimm)
Date: Mon, 21 Oct 2002 15:09:00 -0000
Subject: Cannot start X server
Message-ID: 


> >This is not really an XFree problem, rather it is a global Cygwin issue
> >caused by a policy change that took most people by surprise.
>
> Sounds like most people need to read the cygwin release announcements a
> little more closely rather than just blindly upgrading.
>
> cgf

It was not my intention to sound cynical.  I was merely pointing out that
the problem in question was not an XFree-specific problem.

However....

To a Cygwin developer or expert "CYGWIN=ntsec is now on by default"
probably serves fine as a description (albeit buried amongst 37 other
change notes).  However, most of the Cygwin-using community would not
mentally equate that with "I need to update my authentication files or
Cygwin will break" or know offhand how to do that.

The User's Guide is great.  However, your average user will not have waded
through the ntsec section for the fun of it, because a standard Cygwin
install works out of the box.  Ironically, uneducated users may be the
one price of quality (note that I must group myself as uneducated in the
true ways of Cygwin, although I've been using it and XFree for some time).

The "setup" program, which I run every morning like a kid at Christmas,
encourages people to install updates by making it mind-numbingly simple.
This is usually good and quite cool.  However, given that model, perhaps
a package mechanism which would inform users of required (non-automatable)
configuration changes would be nice.

This is not a flame.  I have a deep appreciation for the hard work that
goes into Cygwin and the quality of the evolving product--as well as for
the time spent by those individuals whose efforts make Cygwin possible.
I merely suggest that the upgrade process could do more to identify
potential impacts and suggest corrective action, be that in the release
notes or integrated into the process itself.

-Andy


From CPlonski@nbc6.com  Mon Oct 21 16:04:00 2002
From: CPlonski@nbc6.com (Chris Plonski)
Date: Mon, 21 Oct 2002 16:04:00 -0000
Subject: Uses for Cygwin/XFree86
Message-ID: 

I have used Cygwin/XFree86 for a couple of years now almost exclusively for XDMCP.  I think it's one of the best products available for this.  And now with the new rootless mode, Irix seems quite at home on my PC!

However, every time I fire it up in "stand-alone" mode (non-XDMCP) via the startxwin.bat or .sh scripts, I am amazed by the apparent dearth of X applications (with the exception of xterm and xeyes).  Are most people using this product for home-brewed applications or am I missing something really obvious?  I would really like to know what most people are using this apparently very powerful tool for.


From huntharo@msu.edu  Mon Oct 21 16:18:00 2002
From: huntharo@msu.edu (Harold L Hunt II)
Date: Mon, 21 Oct 2002 16:18:00 -0000
Subject: Uses for Cygwin/XFree86
In-Reply-To: 
References: 
Message-ID: <3DB48B51.2040002@msu.edu>

Chris,

Well, I am one of the developers of Cygwin/XFree86 and until recently I 
used it almost exclusively for XDMCP, just as yourself.

However, I have just started using emacs and xfig under Cygwin/XFree86 
to typset some of my homeworks for class.  xfig is really the best way 
to draw finite state machines that can be exported into a format that 
Latex can import, and xfig is, you guessed it, an X application. 
 Granted, xfig is not available as a Cygwin package, but it is available 
as a tarball that is easy to install.

Some people use Cygwin/XFree86 for IBM's OpenDX, which is a graphical 
modeling program of some sort that is useful to chemists, I believe.

I also use Cygwin/XFree86 to display X forwarded windows via ssh from 
other hosts... this is more convenient that XDMCP when the remote host 
is running some crap WM like CDE, or when XDMCP logins are disabled to 
save processing resources (like at the cyclotron lab that I work at).  

I would be willing to bet that 95% of the Cygwin/XFree86 users are using 
it almost exclusively for XDMCP or X forwarding; there are simply not 
enough easy-to-install packages available for Cygwin/XFree86 for people 
to be running a lot of local applications.  Granted, there are also 
those users out there that are running KDE and all of  its applications 
under Cygwin/XFree86, but those users are limited in number.

I hope that that reflects the actual user community to a degree, though 
I am sure that others will pipe in to prove me wrong :)

Harold

Chris Plonski wrote:

>I have used Cygwin/XFree86 for a couple of years now almost exclusively for XDMCP.  I think it's one of the best products available for this.  And now with the new rootless mode, Irix seems quite at home on my PC!
>
>However, every time I fire it up in "stand-alone" mode (non-XDMCP) via the startxwin.bat or .sh scripts, I am amazed by the apparent dearth of X applications (with the exception of xterm and xeyes).  Are most people using this product for home-brewed applications or am I missing something really obvious?  I would really like to know what most people are using this apparently very powerful tool for.
>  
>


From huntharo@msu.edu  Mon Oct 21 16:22:00 2002
From: huntharo@msu.edu (Harold L Hunt II)
Date: Mon, 21 Oct 2002 16:22:00 -0000
Subject: Uses for Cygwin/XFree86
In-Reply-To: 
References: 
Message-ID: <3DB48C38.1080308@msu.edu>

Chris,

By the way, if you have not been following the list for the past week, 
the new ``-rootless'' mode makes it much more convenient to work with a 
combination of Windows programs, X forwarded windows, and local X 
windows.  For example, I can be using Xfig, emacs, and xterm (for 
running make on my Latex) under Cygwin/XFree86, and I can 
``click-through'' to the Adobe Acrobat window that is underlying the X 
programs that I am using to see what the latest compiled PDF looks like; 
when done with Acrobat I can click back on one of the X windows to bring 
it back into focus.

I will really have to add a screenshot of the rootless mode.

Harold



From rrschulz@cris.com  Mon Oct 21 16:25:00 2002
From: rrschulz@cris.com (Randall R Schulz)
Date: Mon, 21 Oct 2002 16:25:00 -0000
Subject: Uses for Cygwin/XFree86
In-Reply-To: 
Message-ID: <5.1.0.14.2.20021021161101.02d1de78@pop3.cris.com>

Chris,

There are 139 executables in the /usr/X11R6/bin directory of my 
installation. Granted, most of them are just X and XFree86 utilities and 
elementary components, but it's more than just XTerm and XEyes.

I've compiled the NCAR graphics environment (version 4.2.3) under 
Cygwin/XFree86.

Somewhere along the line I picked up xfig, but I can't remember where (it's 
not listed as a part of the Cygwin distribution). Ahh, there we go: 
. That must be where I got 
it. Look there for other contributed software. OpenDX looks cool.

Also try this page:  
( for English).

What sort of applications are you looking for? What do you wish you had 
that you don't?

I don't know for what purposes others use this "very powerful tool," but 
it's an integral part of my plan for world domination.

Randall Schulz
Mountain View, CA USA


At 16:04 2002-10-21, Chris Plonski wrote:
>I have used Cygwin/XFree86 for a couple of years now almost exclusively 
>for XDMCP.  I think it's one of the best products available for this.  And 
>now with the new rootless mode, Irix seems quite at home on my PC!
>
>However, every time I fire it up in "stand-alone" mode (non-XDMCP) via the 
>startxwin.bat or .sh scripts, I am amazed by the apparent dearth of X 
>applications (with the exception of xterm and xeyes).  Are most people 
>using this product for home-brewed applications or am I missing something 
>really obvious?  I would really like to know what most people are using 
>this apparently very powerful tool for.


From luke.kendall@cisra.canon.com.au  Mon Oct 21 20:41:00 2002
From: luke.kendall@cisra.canon.com.au (luke.kendall@cisra.canon.com.au)
Date: Mon, 21 Oct 2002 20:41:00 -0000
Subject: Uses for Cygwin/XFree86
In-Reply-To: <3DB48B51.2040002@msu.edu>
Message-ID: <20021022034142.59E99340A1@nevin.research.canon.com.au>

On 21 Oct, Harold L Hunt II wrote:
>  I also use Cygwin/XFree86 to display X forwarded windows via ssh from  
>  other hosts... this is more convenient that XDMCP when the remote host  
>  is running some crap WM like CDE, or when XDMCP logins are disabled to  
>  save processing resources (like at the cyclotron lab that I work at).   

At home, my wife uses is to run a nice GUI mail client that's safe from
Windows viruses etc. (since it's actually running on a Linux box),
under Windows 95.

I'm also doing the same thing on my laptop at work, for when I'm off
site and want to slogin to read my email (which again, is delivered to
my Linux machine there).

luke


From luke.kendall@cisra.canon.com.au  Mon Oct 21 20:49:00 2002
From: luke.kendall@cisra.canon.com.au (luke.kendall@cisra.canon.com.au)
Date: Mon, 21 Oct 2002 20:49:00 -0000
Subject: How to start rxvt via .xinitrc?
Message-ID: <20021022034941.371FD340A1@nevin.research.canon.com.au>

I prefer rxvt over xterm, and it's great that it works with or without
Cygwin/XFree86 running.

But I just discovered that if I start rxvt like I do xterm from inside
my .xinitrc, it starts up in non-X11 mode.  It appears to depend on
DISPLAY - if it's just ".0" it runs without X11, if it's ":0.0" it runs
inside X11.

But what's the right way to get it to start up via .xinitrc?  It seems
wrong that I should do:

	DISPLAY=":0$DISPLAY" rxvt -sr -sk -backspacekey ^? &

luke


From rgu@TheWorld.com  Mon Oct 21 20:53:00 2002
From: rgu@TheWorld.com (Rick Umali)
Date: Mon, 21 Oct 2002 20:53:00 -0000
Subject: color of title bar
In-Reply-To: 
References: 
Message-ID: <20021022035304.GA66148131@TheWorld.com>

Yadin Y. Goldschmidt asked:
> In rootless mode, how I do I change the color of the window title bar? It
> always appears green and I would like to change it to blue ...

I believe you may need to explore the window manager. Starting the X
Server with the default startxwin.bat or startxwin.sh normally fires up
a window manager. By default, it's typically twm. twm (or whichever
window manager you're using) is in charge of the title bars, and their
colors.

I created a .twmrc in my home directory with these lines:

     Color
     {
         DefaultBackground "rgb:2/a/9"
         DefaultForeground "gray85"
         TitleBackground "rgb:2/a/9"
         TitleForeground "gray85"
     }

Check the twm manual page for more details.
-- 
Rick Umali    rgu@TheWorld.com    www.rickumali.com


From rrschulz@cris.com  Mon Oct 21 20:58:00 2002
From: rrschulz@cris.com (Randall R Schulz)
Date: Mon, 21 Oct 2002 20:58:00 -0000
Subject: Uses for Cygwin/XFree86
In-Reply-To: <20021022034142.59E99340A1@nevin.research.canon.com.au>
References: <3DB48B51.2040002@msu.edu>
Message-ID: <5.1.0.14.2.20021021205538.02b3cb38@pop3.cris.com>

Luke,

Would that mail client be Sylpheed?

I looked into it and generally liked what I saw, but the fact that it uses 
MH style message storage (one file per message!!) led me to decide I could 
not switch to it. That's far to much storage overhead for me to tolerate 
since I keep very large archives of the many mailing lists to which I 
subscribe.

If it's some other mail client, I'd like to hear about it, because I'm 
looking to trade up from Eudora, but the only feature that it's missing 
(apart from it's limited platform support) is message threading based on 
message IDs (not merely subject headers). Everything else about it is 
pretty good, especially it's searching and filtering capabilties.

Randall Schulz
Mountain View, CA USA


At 20:41 2002-10-21, you wrote:
>On 21 Oct, Harold L Hunt II wrote:
> >  I also use Cygwin/XFree86 to display X forwarded windows via ssh from
> >  other hosts... this is more convenient that XDMCP when the remote host
> >  is running some crap WM like CDE, or when XDMCP logins are disabled to
> >  save processing resources (like at the cyclotron lab that I work at).
>
>At home, my wife uses is to run a nice GUI mail client that's safe from 
>Windows viruses etc. (since it's actually running on a Linux box), under 
>Windows 95.
>
>I'm also doing the same thing on my laptop at work, for when I'm off site 
>and want to slogin to read my email (which again, is delivered to my Linux 
>machine there).
>
>luke


From luke.kendall@cisra.canon.com.au  Mon Oct 21 21:14:00 2002
From: luke.kendall@cisra.canon.com.au (luke.kendall@cisra.canon.com.au)
Date: Mon, 21 Oct 2002 21:14:00 -0000
Subject: Uses for Cygwin/XFree86
In-Reply-To: <5.1.0.14.2.20021021205538.02b3cb38@pop3.cris.com>
Message-ID: <20021022041405.CFD9D340A1@nevin.research.canon.com.au>

On 21 Oct, Randall R Schulz wrote:
>  Would that mail client be Sylpheed? 
>   
>  I looked into it and generally liked what I saw, but the fact that it uses  
>  MH style message storage (one file per message!!) led me to decide I could  
>  not switch to it. That's far to much storage overhead for me to tolerate  
>  since I keep very large archives of the many mailing lists to which I  
>  subscribe. 

Actually, it's Postilion (http://www.postilion.org/), which is based on
the Nextstep mail program (Mail.app).

Problems with Postilion:

1) Nic Bernstein isn't actively developing it anymore - I think he may
   have decided that GNUMail would be a better long term area to devote
   his efforts.  (GNUMail is based on GNUstep, and works.  Big
   mailboxes require a lot of memory, though, currently.)

2) Postilion requires Tk/Tcl for the GUI, and a few other libraries, so
   it's not a complete piece of cake to compile and install.  It can
   handle 100MB mail folders, though it starts getting very slow when
   the messages are in the 10 - 20 thousand range, IIRC.
 
>  If it's some other mail client, I'd like to hear about it, because I'm  
>  looking to trade up from Eudora, but the only feature that it's missing  
>  (apart from it's limited platform support) is message threading based on  
>  message IDs (not merely subject headers). Everything else about it is  
>  pretty good, especially it's searching and filtering capabilties 

Postilion allows mailboxes to be presented as sorted by date, in
arrival order (mbox order), by subject, subject-by-date (which is
*similar* to threading), by sender, reverse date, etc.

It's also very extensible in editing messages being composed and
operations on messages in mailboxes.

I tried sylpheed maybe 6 months ago, but it didn't do enough (then).
I think I have my hopes pinned on GNUMail, for the future.

luke


From luke.kendall@cisra.canon.com.au  Mon Oct 21 21:28:00 2002
From: luke.kendall@cisra.canon.com.au (luke.kendall@cisra.canon.com.au)
Date: Mon, 21 Oct 2002 21:28:00 -0000
Subject: How to start rxvt via .xinitrc?
In-Reply-To: <20021022034941.371FD340A1@nevin.research.canon.com.au>
Message-ID: <20021022042829.67848340A1@nevin.research.canon.com.au>

On 22 Oct, To: cygwin-xfree@cygwin.com wrote:
>  But what's the right way to get it to start up via .xinitrc?  It seems 
>  wrong that I should do: 
>   
>  	DISPLAY=":0$DISPLAY" rxvt -sr -sk -backspacekey ^? & 

Well, experiments show that

	DISPLAY="$DISPLAY.0" rxvt -sr -sk -backspacekey ^? &

appears to work, though it still seems like I'm being very kludgey
there.

luke


From david.meleedy@analog.com  Mon Oct 21 23:06:00 2002
From: david.meleedy@analog.com (David Meleedy)
Date: Mon, 21 Oct 2002 23:06:00 -0000
Subject: startx fails with cygwin 1.3.13-2, 1.3.12-4 works
Message-ID: <200210220606.g9M662Y14799@zeus.spd.analog.com>


I can't use "startx" anymore with the new cygwin package on my 
Windows 2000 machine.  The problem goes away when I revert to
the previous version.  I totally uninstalled and reinstalled cygwin
(deleting the entire folder) to make sure there was nothing non-standard
about my setup.

What happens is that when I run "startx", which invokes xinit,
I get the gray window with the X cursor that moves around, but nothing
else, and then in the cygwin window, the following messages appear:

: startx

waiting for X server to begin accepting connections .
..
..
( a lot of double dot lines appear )
..
( eventually I click the close box on the Cygwin/XFree86 application)

giving up.
xinit: No such file or directory (errno 2): unable to connect to Xserver
xinit: No such process (errno 3): Server error.


To me it looks like there might be something going on with the
socket connection to the Xserver?  Just a guess, all I know is
that the old version works.

Thanks for looking into this.

-Dave

________________________________________________________________________
David Meleedy				Analog Devices, Inc.
David.Meleedy@analog.com		Three Technology Way
Phone: 617 461 3494			Norwood, MA  02062-9106  USA


From aon.912045499@aon.at  Tue Oct 22 00:05:00 2002
From: aon.912045499@aon.at (Schneeberger Heinz)
Date: Tue, 22 Oct 2002 00:05:00 -0000
Subject: Keyboard Layout
Message-ID: 

When I start with Cygwin , I have my normal German Layout . Changing to
xfree86 I have an US-Layout.
How I can change the Layout in xfree86 permanently to German?

With my kindest regards

Schneeberger Heinrich
TB f??r Vermessung

8430 Leibnitz, Kudlichweg 4
Tel.:   (03452) 85771
Mobil: (0664) 462 1975

mailto:tbv.schneeb@aon.at




From wj@sunroot.de  Tue Oct 22 00:08:00 2002
From: wj@sunroot.de (Walter.Justen)
Date: Tue, 22 Oct 2002 00:08:00 -0000
Subject: Cannot start X server
References: 
Message-ID: <3DB4F961.2080605@sunroot.de>

Thanks Andrew works fine now !!!



From wj@sunroot.de  Tue Oct 22 01:02:00 2002
From: wj@sunroot.de (Walter.Justen)
Date: Tue, 22 Oct 2002 01:02:00 -0000
Subject: Keyboard Layout
References: 
Message-ID: <3DB505DC.3000709@sunroot.de>

Heinz,

when you start x set german keyboard with

setxkbmap de


Gruss
Walter

Schneeberger Heinz wrote:

>When I start with Cygwin , I have my normal German Layout . Changing to
>xfree86 I have an US-Layout.
>How I can change the Layout in xfree86 permanently to German?
>
>With my kindest regards
>
>Schneeberger Heinrich
>TB f??r Vermessung
>
>8430 Leibnitz, Kudlichweg 4
>Tel.:   (03452) 85771
>Mobil: (0664) 462 1975
>
>mailto:tbv.schneeb@aon.at
>
>
>
>



From david.meleedy@analog.com  Tue Oct 22 01:02:00 2002
From: david.meleedy@analog.com (David Meleedy)
Date: Tue, 22 Oct 2002 01:02:00 -0000
Subject: startx fails may be ntsec issue instead
Message-ID: <200210220801.g9M81sF02594@jetcar.spd.analog.com>


I had reported a problem where startx was failing due to
the X server not accepting connections.  It was pointed
out to me that from 1.3.12-4 to 1.3.13-2, the ntsec
option was on by default and this would affect NT domain
machines (which is what I am using on my Windows 2000 machine).

So here is the symptoms of the problem on a UID basis:

DMELEEDY-D01-13: id
uid=500(AdiPcAdmin) gid=544(Administrators) groups=544(Administrators)
DMELEEDY-D01-14: touch foo
DMELEEDY-D01-15: ls -l foo
DMELEEDY-D01-16: ls -l foo
-rw-r--r--    1 7469 Administ        0 Oct 22 03:41 foo

As you can see, with 1.3.13-2, the file is owned by UID "7469" not
500.

If I revert to the old dll, 1.3.13-2, the same file (not recreated):

DMELEEDY-D01-3: ls -l foo
-rw-r--r--    1 AdiPcAdm Administ        0 Oct 22 03:41 foo

has the correct file permissions.

So it was suggested that I use, mkpasswd to fix the problem.
The problem with this is that my machine was set up by my
corporation to use an NT domain, but it would not be connected
to that domain unless I use VPN.  So without VPN running, this
is what happened:

DMELEEDY-D01-1: mkpasswd -d -u AdiPcAdm
mkpasswd: [2453] Could not find domain controller for this domain

So then I connected with VPN to see if I could do it after that:

DMELEEDY-D0102: mkpasswd -d -u AdiPcAdm
mkpasswd: [2221] The user name could not be found.

Now this machine was set up with it's own local domain, so that
is probably why it couldn't find the domain controller in the first
case, and then in the 2nd case the domain controller didn't
know anything about my local accounts.

So, another problem I saw is when I reinstalled cygwin with the new
dll, some files weren't being created properly, I remember seeing
flashing by something about permissions not being correct to create
the /var/spool/texmf/ls-R file, and indeed that file is 0 bytes long.

So other than preventing "startx" from working, this is breaking
the basic install process for other packages as well.

What can be done to fix this?

Is there a way to shut off ntsec so I can get things working with the new dll?

Please let me know if I can supply you with any further
information.  Also, I will be glad to help debug any tests
you may set up.  Just tell me the details of how to download
any test code.

Thanks,

-Dave

________________________________________________________________________
David Meleedy				Analog Devices, Inc.
David.Meleedy@analog.com		Three Technology Way
Phone: 617 461 3494			Norwood, MA  02062-9106  USA



From Dr.Volker.Zell@oracle.com  Tue Oct 22 02:01:00 2002
From: Dr.Volker.Zell@oracle.com (Dr. Volker Zell)
Date: Tue, 22 Oct 2002 02:01:00 -0000
Subject: Problems with xwinclip version 0.5/0.6
In-Reply-To:  ("Chris Twiner"'s
 message of "Mon, 21 Oct 2002 15:51:20 +0000")
References: 
Message-ID: <874rbeyhla.fsf@vzell-de.de.oracle.com>

>>>>> "Chris" == Chris Twiner  writes:

    Chris> Hi Volker,
    Chris> Can you try the version I posted last month (there were several
    Chris> versions but the last post holds the best version).

Okay I downloaded

o xwinclip-20020622-0007.tar.bz2 - http://www.msu.edu/~huntharo/xwin/xwinclip/xwinclip-20020622-0007.tar.bz2
and
o xwinclip_chris_twiner - http://sources.redhat.com/ml/cygwin-xfree/2002-09/msg00042/xwinclip_chris_twiner.zip 
attached to your message from # Sun, 08 Sep 2002 22:23:21 +0000

I then copied over your stuff to the xwinclip-20020622-0007 release and did a 

xmkmf
make
./build_dll.SH

The last step gave me:

Build the Dll

linking hook dll DllMain as entry point
Creating library file: libxwinclip_hook.import.a
xwinclip_hook.o(.eh_frame+0x11):xwinclip_hook.cpp: undefined reference to `__gxx_personality_v0'

So I added to the link line in the build_dll.SH script: -L/lib/mingw -lstdc++

---
#!/bin/bash

echo 
echo Build the Dll
echo 

gcc -c xwinclip_hook.cpp -o xwinclip_hook.o
echo linking hook dll DllMain as entry point
gcc -Wl,--out-implib,libxwinclip_hook.import.a -shared -e _DllMain@12 -mno-cygwin -o xwinclip_hook.dll xwinclip_hook.o -L/lib/mingw -lstdc++
---

Now I had xwinclip.exe and xwinclip_hook.dll. I tried with both rootless and nonrooless mode
but in both cases when starting up xwinclip I get:

UnicodeSupport - Windows NT/2000/XP
starting thread
message id is 36
message id is 129
message id is 131
the hwnd is 1179884
!!! Message for another window recieved, ioctl not being called before windows messages recieved is probable problem
could not get set hook func

    Chris> It solves the clearing of the selection.  I am suprised that the
    Chris> test06 solved your problem, it didn't with me or other users.  I use
    Chris> NEdit so I have the same issue with active regions.

    Chris> With respect to the selection maintaining two different clipboards can
    Chris> you tell me if it seems to behave the same with my changes?

See above

    Chris> Also if you're testing rootless mode it would be good to know if it
    Chris> works in that (it looks for a focus change in the root window so I am

See above

    Chris> not sure it will), I haven't had time to have a look yet.

    Chris> Regards,

    Chris> Chris

Ciao
  Volker


From c_twiner@hotmail.com  Tue Oct 22 02:25:00 2002
From: c_twiner@hotmail.com (Chris Twiner)
Date: Tue, 22 Oct 2002 02:25:00 -0000
Subject: Problems with xwinclip version 0.5/0.6
Message-ID: 

Hi Volker,

I notice you had a mingw error.  Could you please try using the gcc provided 
with cygwin, as I believe myself and others use.  It should remove most of 
the problems you're seeing as neither myself nor others seem to have them.

As to the output, that's correct it's debug information to let me know what 
is going on message wise through the system.  The ioctl statement is due to 
the cygwin code for the windows device explicitly mentioning setting the 
hwnd it listens to (or listens to all).  Which doesn't really hurt anything 
in the code you have.

After that message it should also display information in the xwinclip window 
about what windows and X messages are being processed involving the 
clipboards, again just debug information.

Thank you for trying to use the code though.

Chris

_________________________________________________________________
Unlimited Internet access for only $21.95/month.?? Try MSN! 
http://resourcecenter.msn.com/access/plans/2monthsfree.asp


From david.meleedy@analog.com  Tue Oct 22 04:15:00 2002
From: david.meleedy@analog.com (David Meleedy)
Date: Tue, 22 Oct 2002 04:15:00 -0000
Subject: nt domain security issues with cygwin dll 1.3.13-2
Message-ID: <200210221115.g9MBFMg03172@jetcar.spd.analog.com>


this is FYI, a startx problem that ends up being
an NT domain issue.

I had reported a problem where startx was failing due to
the X server not accepting connections.  It was pointed
out to me that from 1.3.12-4 to 1.3.13-2, the ntsec
option was on by default and this would affect NT domain
machines (which is what I am using on my Windows 2000 machine).

So here is the symptoms of the problem on a UID basis:

DMELEEDY-D01-13: id
uid=500(AdiPcAdmin) gid=544(Administrators) groups=544(Administrators)
DMELEEDY-D01-14: touch foo
DMELEEDY-D01-15: ls -l foo
DMELEEDY-D01-16: ls -l foo
-rw-r--r--    1 7469 Administ        0 Oct 22 03:41 foo

As you can see, with 1.3.13-2, the file is owned by UID "7469" not
500.

If I revert to the old dll, 1.3.13-2, the same file (not recreated):

DMELEEDY-D01-3: ls -l foo
-rw-r--r--    1 AdiPcAdm Administ        0 Oct 22 03:41 foo

has the correct file permissions.

So it was suggested that I use, mkpasswd to fix the problem.
The problem with this is that my machine was set up by my
corporation to use an NT domain, but it would not be connected
to that domain unless I use VPN.  So without VPN running, this
is what happened:

DMELEEDY-D01-1: mkpasswd -d -u AdiPcAdm
mkpasswd: [2453] Could not find domain controller for this domain

So then I connected with VPN to see if I could do it after that:

DMELEEDY-D0102: mkpasswd -d -u AdiPcAdm
mkpasswd: [2221] The user name could not be found.

Now this machine was set up with it's own local domain, so that
is probably why it couldn't find the domain controller in the first
case, and then in the 2nd case the domain controller didn't
know anything about my local accounts.

So, another problem I saw is when I reinstalled cygwin with the new
dll, some files weren't being created properly, I remember seeing
flashing by something about permissions not being correct to create
the /var/spool/texmf/ls-R file, and indeed that file is 0 bytes long.

So other than preventing "startx" from working, this is breaking
the basic install process for other packages as well.

What can be done to fix this?

Is there a way to shut off ntsec so I can get things working with the new dll?

Please let me know if I can supply you with any further
information.  Also, I will be glad to help debug any tests
you may set up.  Just tell me the details of how to download
any test code.

Thanks,

-Dave

________________________________________________________________________
David Meleedy				Analog Devices, Inc.
David.Meleedy@analog.com		Three Technology Way
Phone: 617 461 3494			Norwood, MA  02062-9106  USA



From huntharo@msu.edu  Tue Oct 22 07:30:00 2002
From: huntharo@msu.edu (Harold L Hunt II)
Date: Tue, 22 Oct 2002 07:30:00 -0000
Subject: nt domain security issues with cygwin dll 1.3.13-2
In-Reply-To: <200210221115.g9MBFMg03172@jetcar.spd.analog.com>
Message-ID: 

Dave,

If you are running mkpasswd for a local account, then you do not want to
pass -d to mkpasswd, as that tells it to look for a domain account.  For
your local account you should be running:

mkpasswd -u AdiPcAdm


Only for your domain account should you run:

mkpasswd -d -u [domain-account-username]

Give that a shot and see what happens.

Harold


> -----Original Message-----
> From: cygwin-xfree-owner@cygwin.com
> [mailto:cygwin-xfree-owner@cygwin.com]On Behalf Of David Meleedy
> Sent: Tuesday, October 22, 2002 7:15 AM
> To: cygwin-xfree@cygwin.com
> Subject: nt domain security issues with cygwin dll 1.3.13-2
>
>
>
> this is FYI, a startx problem that ends up being
> an NT domain issue.
>
> I had reported a problem where startx was failing due to
> the X server not accepting connections.  It was pointed
> out to me that from 1.3.12-4 to 1.3.13-2, the ntsec
> option was on by default and this would affect NT domain
> machines (which is what I am using on my Windows 2000 machine).
>
> So here is the symptoms of the problem on a UID basis:
>
> DMELEEDY-D01-13: id
> uid=500(AdiPcAdmin) gid=544(Administrators) groups=544(Administrators)
> DMELEEDY-D01-14: touch foo
> DMELEEDY-D01-15: ls -l foo
> DMELEEDY-D01-16: ls -l foo
> -rw-r--r--    1 7469 Administ        0 Oct 22 03:41 foo
>
> As you can see, with 1.3.13-2, the file is owned by UID "7469" not
> 500.
>
> If I revert to the old dll, 1.3.13-2, the same file (not recreated):
>
> DMELEEDY-D01-3: ls -l foo
> -rw-r--r--    1 AdiPcAdm Administ        0 Oct 22 03:41 foo
>
> has the correct file permissions.
>
> So it was suggested that I use, mkpasswd to fix the problem.
> The problem with this is that my machine was set up by my
> corporation to use an NT domain, but it would not be connected
> to that domain unless I use VPN.  So without VPN running, this
> is what happened:
>
> DMELEEDY-D01-1: mkpasswd -d -u AdiPcAdm
> mkpasswd: [2453] Could not find domain controller for this domain
>
> So then I connected with VPN to see if I could do it after that:
>
> DMELEEDY-D0102: mkpasswd -d -u AdiPcAdm
> mkpasswd: [2221] The user name could not be found.
>
> Now this machine was set up with it's own local domain, so that
> is probably why it couldn't find the domain controller in the first
> case, and then in the 2nd case the domain controller didn't
> know anything about my local accounts.
>
> So, another problem I saw is when I reinstalled cygwin with the new
> dll, some files weren't being created properly, I remember seeing
> flashing by something about permissions not being correct to create
> the /var/spool/texmf/ls-R file, and indeed that file is 0 bytes long.
>
> So other than preventing "startx" from working, this is breaking
> the basic install process for other packages as well.
>
> What can be done to fix this?
>
> Is there a way to shut off ntsec so I can get things working with
> the new dll?
>
> Please let me know if I can supply you with any further
> information.  Also, I will be glad to help debug any tests
> you may set up.  Just tell me the details of how to download
> any test code.
>
> Thanks,
>
> -Dave
>
> ________________________________________________________________________
> David Meleedy				Analog Devices, Inc.
> David.Meleedy@analog.com		Three Technology Way
> Phone: 617 461 3494			Norwood, MA  02062-9106  USA
>
>


From j_tetazoo@hotmail.com  Tue Oct 22 07:51:00 2002
From: j_tetazoo@hotmail.com (Thomas Chadwick)
Date: Tue, 22 Oct 2002 07:51:00 -0000
Subject: [ANNOUNCEMENT] Server Test 68
Message-ID: 

I ran Cygwin Setup and installed package XFree86-xserv-4.2.0-15.  However, 
when I run XWin -rootless, it complains:

>ddxProcessArgument - Initializing default screens
>winInitializeDefaultScreens - w 1024 h 768
>winInitializeDefaultScreens - Returning
>Unrecognized option: -rootless
>use: X [:] [option]
>-a #                   mouse acceleration (pixels)
>-ac                    disable access control restrictions
>-audit int             set audit trail level
>-auth file             select authorization file

[snip]

If I ls -l /usr/X11R6/bin/XWin.exe I see:

>-rwxrwxrwx    1 Administ None      3137536 Oct 20 22:47 
>/usr/X11R6/bin/XWin.exe*

The Oct 20 timestamp is consistant with the Test 68 announcement, so I'm 
pretty sure I have the right version.


_________________________________________________________________
Unlimited Internet access -- and 2 months free!?? Try MSN. 
http://resourcecenter.msn.com/access/plans/2monthsfree.asp


From pechtcha@cs.nyu.edu  Tue Oct 22 07:51:00 2002
From: pechtcha@cs.nyu.edu (Igor Pechtchanski)
Date: Tue, 22 Oct 2002 07:51:00 -0000
Subject: color of title bar
In-Reply-To: <20021022035304.GA66148131@TheWorld.com>
Message-ID: 

On Mon, 21 Oct 2002, Rick Umali wrote:

> Yadin Y. Goldschmidt asked:
> > In rootless mode, how I do I change the color of the window title bar? It
> > always appears green and I would like to change it to blue ...
>
> I believe you may need to explore the window manager. Starting the X
> Server with the default startxwin.bat or startxwin.sh normally fires up
> a window manager. By default, it's typically twm. twm (or whichever
> window manager you're using) is in charge of the title bars, and their
> colors.
>
> I created a .twmrc in my home directory with these lines:
>
>      Color
>      {
>          DefaultBackground "rgb:2/a/9"
>          DefaultForeground "gray85"
>          TitleBackground "rgb:2/a/9"
>          TitleForeground "gray85"
>      }
>
> Check the twm manual page for more details.

Or try fvwm - it has a mode that makes it look just like Windows 95/NT4.
I'm sure with a bit of customizing you could even make it look like XP.
	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 j_tetazoo@hotmail.com  Tue Oct 22 07:56:00 2002
From: j_tetazoo@hotmail.com (Thomas Chadwick)
Date: Tue, 22 Oct 2002 07:56:00 -0000
Subject: NEVERMIND: RE: [ANNOUNCEMENT] Server Test 68
Message-ID: 

Oops.  I just discovered that I had a old XWin.exe in a directory that is 
ahead of /usr/X11R6/bin in my path.  I used the full path and all is well!

Sorry for the false alarm.

>From: "Thomas Chadwick" 
>Reply-To: cygwin-xfree@cygwin.com
>To: cygwin-xfree@cygwin.com
>Subject: RE: [ANNOUNCEMENT] Server Test 68
>Date: Tue, 22 Oct 2002 10:51:21 -0400
>
>I ran Cygwin Setup and installed package XFree86-xserv-4.2.0-15.  However, 
>when I run XWin -rootless, it complains:
>
>>ddxProcessArgument - Initializing default screens
>>winInitializeDefaultScreens - w 1024 h 768
>>winInitializeDefaultScreens - Returning
>>Unrecognized option: -rootless
>>use: X [:] [option]
>>-a #                   mouse acceleration (pixels)
>>-ac                    disable access control restrictions
>>-audit int             set audit trail level
>>-auth file             select authorization file
>
>[snip]
>
>If I ls -l /usr/X11R6/bin/XWin.exe I see:
>
>>-rwxrwxrwx    1 Administ None      3137536 Oct 20 22:47 
>>/usr/X11R6/bin/XWin.exe*
>
>The Oct 20 timestamp is consistant with the Test 68 announcement, so I'm 
>pretty sure I have the right version.
>
>
>_________________________________________________________________
>Unlimited Internet access -- and 2 months free!?? Try MSN. 
>http://resourcecenter.msn.com/access/plans/2monthsfree.asp


_________________________________________________________________
Choose an Internet access plan right for you -- try MSN! 
http://resourcecenter.msn.com/access/plans/default.asp


From alexander.gottwald@s1999.tu-chemnitz.de  Tue Oct 22 07:59:00 2002
From: alexander.gottwald@s1999.tu-chemnitz.de (Alexander Gottwald)
Date: Tue, 22 Oct 2002 07:59:00 -0000
Subject: [ANNOUNCEMENT] Server Test 68
In-Reply-To: 
Message-ID: 

On Tue, 22 Oct 2002, Thomas Chadwick wrote:

> 
> >-rwxrwxrwx    1 Administ None      3137536 Oct 20 22:47 
> >/usr/X11R6/bin/XWin.exe*

The size is ok. Please try /usr/X11R6/bin/XWin -rootless (use full
path) maybe you have another XWin.exe installed somewhere


bye
	ago
-- 
 Alexander.Gottwald@informatik.tu-chemnitz.de 
 http://www.gotti.org           ICQ: 126018723


From pechtcha@cs.nyu.edu  Tue Oct 22 08:06:00 2002
From: pechtcha@cs.nyu.edu (Igor Pechtchanski)
Date: Tue, 22 Oct 2002 08:06:00 -0000
Subject: Cannot start X server
In-Reply-To: <20021021203326.GA20069@redhat.com>
Message-ID: 

Sorry for the cross-post, but I feel it's relevant to both lists...  We
should move any resulting discussion to one of them (probably
cygwin@cygwin.com).

On Mon, 21 Oct 2002, Christopher Faylor wrote:

> On Mon, Oct 21, 2002 at 11:11:19AM -0600, Andrew Grimm wrote:
> >This is not really an XFree problem, rather it is a global Cygwin issue
> >caused by a policy change that took most people by surprise.
>
> Sounds like most people need to read the cygwin release announcements a
> little more closely rather than just blindly upgrading.
> cgf

In retrospective, would it help to mark any other new release with such a
major policy change 'Experimental' for a while?
	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 Dr.Volker.Zell@oracle.com  Tue Oct 22 10:24:00 2002
From: Dr.Volker.Zell@oracle.com (Dr. Volker Zell)
Date: Tue, 22 Oct 2002 10:24:00 -0000
Subject: Problems with xwinclip version 0.5/0.6
In-Reply-To:  ("Chris Twiner"'s
 message of "Tue, 22 Oct 2002 09:25:48 +0000")
References: 
Message-ID: <871y6iqtgk.fsf@vzell-de.de.oracle.com>

>>>>> "Chris" == Chris Twiner  writes:

    Chris> Hi Volker,
    Chris> I notice you had a mingw error.  Could you please try using the gcc
    Chris> provided with cygwin, as I believe myself and others use.  It should
    Chris> remove most of the problems you're seeing as neither myself nor others
    Chris> seem to have them.

Actually I'm using the latest cygwin gcc-3.2-1.
Is it possible to send me your version of xwinclip privatly ?

    Chris> As to the output, that's correct it's debug information to let me know
    Chris> what is going on message wise through the system.  The ioctl statement
    Chris> is due to the cygwin code for the windows device explicitly mentioning
    Chris> setting the hwnd it listens to (or listens to all).  Which doesn't
    Chris> really hurt anything in the code you have.

    Chris> After that message it should also display information in the xwinclip
    Chris> window about what windows and X messages are being processed involving
    Chris> the clipboards, again just debug information.

My xwinclip dies after displaying this messages.

    Chris> Thank you for trying to use the code though.

    Chris> Chris

Ciao
  Volker


From cgf@redhat.com  Tue Oct 22 12:00:00 2002
From: cgf@redhat.com (Christopher Faylor)
Date: Tue, 22 Oct 2002 12:00:00 -0000
Subject: Cannot start X server
In-Reply-To: 
References: <20021021203326.GA20069@redhat.com> 
Message-ID: <20021022190212.GC4828@redhat.com>

On Tue, Oct 22, 2002 at 11:06:01AM -0400, Igor Pechtchanski wrote:
>Sorry for the cross-post, but I feel it's relevant to both lists...  We
>should move any resulting discussion to one of them (probably
>cygwin@cygwin.com).
>
>On Mon, 21 Oct 2002, Christopher Faylor wrote:
>
>> On Mon, Oct 21, 2002 at 11:11:19AM -0600, Andrew Grimm wrote:
>> >This is not really an XFree problem, rather it is a global Cygwin issue
>> >caused by a policy change that took most people by surprise.
>>
>> Sounds like most people need to read the cygwin release announcements a
>> little more closely rather than just blindly upgrading.
>
>In retrospective, would it help to mark any other new release with such a
>major policy change 'Experimental' for a while?

That's what snapshots are for.

cgf


From siii1@kuwait-mail.com  Tue Oct 22 13:06:00 2002
From: siii1@kuwait-mail.com (R. A)
Date: Tue, 22 Oct 2002 13:06:00 -0000
Subject: RESPOND BY FAX URGENTLY!
Message-ID: 

For Your Attention,

(TREAT PRIVATELY BY THE OWNER OF COMPANY)

[ALL REPLIES FROM YOU SHOULD BE BY FAX PLEASE WITH ALL OF YOUR CONTACT INFORMATION STATED]

I am writing to solicite for your cooperation in a multi million dollars international contract supply for the Government of Kuwait. We are a small company and a government employee that won a supply contractorship for the supply of some humanitarian products, but due to the status of our company as having no international banking accounts and registration to recieve the funds, we are contacting you to act as our foreign partner beneficiary so that the fund can be released to you on our behalf as a sub-contractor.

For your information, the contract value was over inflated by 30% and the Kuwait Ministry Of Finance approved the payment, so we would be willing to pay you for your assistance by means of commission from the over inflated sum.
If you can be relied upon and trusted in recieving the funds on our behalf, then please contact me immediately via my private Global Satelite Voice/Fax Number: + 14136386967 and provide me BY FAX ONLY with your Direct Telephone and Fax Numbers, and your Exclusive Email Address including full details of your company and personal profile so that we can evaluate how to incoporate your company as the fund reciever. Make SURE to send a fax with the above details.  As soon as I recieve the information, I shall contact you and discuss the immediate commencement of the project.

Thank you for your anticipated cooperation as I expect your swift response in the above subject.

Regards,
R. Al-Mejrin.
SII International.  

From spetreolle@yahoo.fr  Tue Oct 22 17:16:00 2002
From: spetreolle@yahoo.fr (=?iso-8859-1?q?Sylvain=20Petreolle?=)
Date: Tue, 22 Oct 2002 17:16:00 -0000
Subject: color of title bar
In-Reply-To: 
Message-ID: <20021023001647.38490.qmail@web10104.mail.yahoo.com>

What about xpde (http://www.xpde.com/) ?
> Or try fvwm - it has a mode that makes it look just like Windows
> 95/NT4.
> I'm sure with a bit of customizing you could even make it look like
> XP.
> 	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
>  

___________________________________________________________
Do You Yahoo!? -- Une adresse @yahoo.fr gratuite et en fran??ais !
Yahoo! Mail : http://fr.mail.yahoo.com


From huntharo@msu.edu  Tue Oct 22 19:03:00 2002
From: huntharo@msu.edu (Harold L Hunt II)
Date: Tue, 22 Oct 2002 19:03:00 -0000
Subject: Updated on sourceware: XFree86-xserv-4.2.0-15
Message-ID: 

The XFree86-xserv-4.2.0-15 package has been updated in the Cygwin
distribution.

This is a synchronization with all the fixes that have been applied
from Server Test Series - Test 64 through Server Test Series - Test 68.
These fixes are summarized below:


1) Add support for using XF86Config-style configuration files.
(Alexander Gottwald)

2) Include an X icon and the necessary build rules for building
Windows resource files (even while cross compiling).  (Harold Hunt,
Jehan Bing)

3) Include an initial rootless mode with X Shape Extension support.
(MATSUZAKI Kensuke)

4) Scrollbars support.  (Jehan Bing, Harold Hunt)

5) Warning dialog on disruptive screen depth change --- not quite perfect.
(Harold Hunt)


--
Harold Hunt

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 'XFree86-xserv' 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 at:
cygwin-xfree@sources.redhat.com .  If you want to subscribe go to:
http://cygwin.com/lists.html I would appreciate if you would use
this 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.


From cgf@redhat.com  Tue Oct 22 19:52:00 2002
From: cgf@redhat.com (Christopher Faylor)
Date: Tue, 22 Oct 2002 19:52:00 -0000
Subject: Updated on sourceware: xfree86-xserv-4.2.0-15
In-Reply-To: 
References: 
Message-ID: <20021023025438.GA25595@redhat.com>

On Tue, Oct 22, 2002 at 10:03:06PM -0400, Harold L Hunt II wrote:
>3) Include an initial rootless mode with X Shape Extension support.
>(MATSUZAKI Kensuke)

I just wanted to say that this is really really cool.  I've been waiting
for the "official" release of this and it is really amazing.

I love the fact that the windows are controlled by the X window manager.

Wonderful job!

cgf


From extern.thomas.arend@volkswagen.de  Wed Oct 23 00:18:00 2002
From: extern.thomas.arend@volkswagen.de (Arend, Thomas (SD&M))
Date: Wed, 23 Oct 2002 00:18:00 -0000
Subject: WinXP and setxkbmap
Message-ID: 

Hello everybody,

when changing the keyboard via

	setxkbmap de

I often (not always!) get errors like this:

  Couldn't interpret _XKB_RULES_NAMES property
  Use defaults: rules - 'xfree86' model - 'pc101' layout - 'us'
  Error loading new keyboard description

while the keyboard remains unchanged. After some repetitions of 'setxkbmap
de',
the keyboard IS changed, sometimes with, sometimes without a keyboard
loading
error.

My configuration:

  Windows XP Professional Version 2002 (5.1.2600 Build 2600)
  cygwin-1.3.13-2
  XFree86-base-4.2.0-1
  XFree86-bin-4.2.0-2


Regards,

	Thomas


From danilo.turina@alcatel.it  Wed Oct 23 00:23:00 2002
From: danilo.turina@alcatel.it (Danilo Turina)
Date: Wed, 23 Oct 2002 00:23:00 -0000
Subject: Rootless: how to get wm menu?
Message-ID: <3DB64E2A.40204@alcatel.it>

With WindowMaker, I select one of the applications running under X and 
then press F12.
I think it's the only way.

 > How do I open the X11 window-manager menu when working in rootless mode?
 > When clicking a mouse button on the background, I get a Windows menu.
 > There should be a small area or special icon as an event proxy for the
 > missing X11 background.



From wurster@architur.de  Wed Oct 23 01:19:00 2002
From: wurster@architur.de (Jochen Wurster)
Date: Wed, 23 Oct 2002 01:19:00 -0000
Subject: AW: Problem adding figure to figure float
In-Reply-To: <200210220949.20597.juergen.sp@t-online.de>
Message-ID: 

Hi,

The converters are there and after installinge ImageMagick everything works
fine.
Thank you

Jochen

P.S.: I think lyx should give a more meaningful error message in this case,
like ImageMagick not found or no converter found.



Jochen Wurster wrote:
>> Now inserting pictures works and the picture is show correct in the
pdf/dvi
>> output, but in lyx it shows an error message ("error converting ro
loadable
>> format") instead of the picture.
>> I have tried png and ps files.

>Do you have converters for PNG->EPS and EPS->XPM in Edit->Preferences?
>If it is convert, do you have ImageMagick installed?

>J??rgen.


From c_twiner@hotmail.com  Wed Oct 23 03:11:00 2002
From: c_twiner@hotmail.com (Chris Twiner)
Date: Wed, 23 Oct 2002 03:11:00 -0000
Subject: Problems with xwinclip version 0.5/0.6
Message-ID: 

Hi,

I can send you them directly later (I'm at work now) but..

You say it dies after the messages are displayed, do you mean that xwinclip 
then terminates?  Or do you mean it doesn't seem to do much?

Also I'm still a little confused as to why you needed to change the build 
dll script anyway, what release of cygwin are you using?  Maybe I and the 
others have an older/newer version.

Chris


_________________________________________________________________
Get faster connections??-- switch to??MSN Internet Access! 
http://resourcecenter.msn.com/access/plans/default.asp


From Dr.Volker.Zell@oracle.com  Wed Oct 23 08:27:00 2002
From: Dr.Volker.Zell@oracle.com (Dr. Volker Zell)
Date: Wed, 23 Oct 2002 08:27:00 -0000
Subject: Problems with xwinclip version 0.5/0.6
In-Reply-To:  ("Chris Twiner"'s
 message of "Wed, 23 Oct 2002 10:11:33 +0000")
References: 
Message-ID: <873cqxjhx1.fsf@vzell-de.de.oracle.com>

>>>>> "Chris" == Chris Twiner  writes:

    Chris> Hi,
    Chris> I can send you them directly later (I'm at work now) but..

Thanks, I installed your version and all is fine now. Maybe this can be released
as xwinclip-Test07 ?

    Chris> You say it dies after the messages are displayed, do you mean that
    Chris> xwinclip then terminates?  Or do you mean it doesn't seem to do much?

It terminated with: could not get set hook func

    Chris> Also I'm still a little confused as to why you needed to change the
    Chris> build dll script anyway, what release of cygwin are you using?  Maybe
    Chris> I and the others have an older/newer version.

As I said earlier I have the latest gcc version installed.

gcc -v
Reading specs from /bin/../lib/gcc-lib/i686-pc-cygwin/3.2/specs
Configured with: /netrel/src/gcc-3.2-1/configure --enable-languages=c,c++,f77,java --enable-libgcj --enable-threads=posix --with-system-zlib --enable-nls --without-included-gettext --enable-interpreter --disable-sjlj-exceptions --disable-version-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 --libexecdir=/usr/sbin
Thread model: posix
gcc version 3.2 20020818 (prerelease)

And your build script gives:

Build the Dll

linking hook dll DllMain as entry point
Creating library file: libxwinclip_hook.import.a
xwinclip_hook.o(.eh_frame+0x11):xwinclip_hook.cpp: undefined reference to `__gxx_personality_v0'

When I change the last line from:

gcc -Wl,--out-implib,libxwinclip_hook.import.a -shared -e _DllMain@12 -mno-cygwin -o xwinclip_hook.dll xwinclip_hook.o

to

g++ -Wl,--out-implib,libxwinclip_hook.import.a -shared -e _DllMain@12 -mno-cygwin -o xwinclip_hook.dll xwinclip_hook.o

the script works. But xwinclip with the resulting xwinclip_hook.dll terminates with
the error: could not get set hook func


I have also installed the latest gcc version 2.95.3-10 (cygwin special).
When I change your build script to use this gcc version everything compiles and links OOTB.

#!/bin/bash

echo 
echo Build the Dll
echo 

gcc-2 -c xwinclip_hook.cpp -o xwinclip_hook.o
echo linking hook dll DllMain as entry point
gcc-2 -Wl,--out-implib,libxwinclip_hook.import.a -shared -e _DllMain@12 -mno-cygwin -o xwinclip_hook.dll xwinclip_hook.o 

With this xwinclip_hook.dll everything works fine.


So the problem is gcc-3.2-1.

    Chris> Chris

Ciao
  Volker


From c_twiner@hotmail.com  Wed Oct 23 10:57:00 2002
From: c_twiner@hotmail.com (Chris Twiner)
Date: Wed, 23 Oct 2002 10:57:00 -0000
Subject: Problems with xwinclip version 0.5/0.6
Message-ID: 

Hi,

A release was planned by Harold but he's very busy so it could be a while.  
All is now clear with regards the compiler.

Indeed I used gcc 2.95 not the 3.1 release.

So, the reason it fails with the can't set hook func is that the name 
mangling has changed. I'll investigate what it has changed to.

The failed linking is a little strange but heh.  At least I understand why 
the dynamic loading doesn't work.

chris

_________________________________________________________________
Surf the Web without missing calls!??Get MSN Broadband.  
http://resourcecenter.msn.com/access/plans/freeactivation.asp


From rgu@TheWorld.com  Wed Oct 23 21:17:00 2002
From: rgu@TheWorld.com (Rick Umali)
Date: Wed, 23 Oct 2002 21:17:00 -0000
Subject: Uses for Cygwin/XFree86
In-Reply-To: <3DB48C38.1080308@msu.edu>
References:  <3DB48C38.1080308@msu.edu>
Message-ID: <20021024041716.GA67708225@TheWorld.com>

Harold:

On Mon, Oct 21, 2002 Harold L Hunt II wrote:
> I will really have to add a screenshot of the rootless mode.

I put up three screen shots of me using rootless mode:

http://members.tripod.com/rick_umali/rootless/

Feel free to grab and reuse however you see fit. I love rootless mode!
-- 
Rick Umali    rgu@TheWorld.com    www.rickumali.com


From rrschulz@cris.com  Wed Oct 23 22:00:00 2002
From: rrschulz@cris.com (Randall R Schulz)
Date: Wed, 23 Oct 2002 22:00:00 -0000
Subject: Uses for Cygwin/XFree86
In-Reply-To: <20021024041716.GA67708225@TheWorld.com>
References: <3DB48C38.1080308@msu.edu>
 
 <3DB48C38.1080308@msu.edu>
Message-ID: <5.1.0.14.2.20021023215645.01fdf870@pop3.cris.com>

Rick,

"The document contains no data."

At least that's what Mozilla 1.1 tells me when I access that URL.

Randall Schulz
Mountain View, CA USA


At 21:17 2002-10-23, Rick Umali wrote:
>Harold:
>
>On Mon, Oct 21, 2002 Harold L Hunt II wrote:
> > I will really have to add a screenshot of the rootless mode.
>
>I put up three screen shots of me using rootless mode:
>
>http://members.tripod.com/rick_umali/rootless/
>
>Feel free to grab and reuse however you see fit. I love rootless mode!
>--
>Rick Umali


From satimis@writeme.com  Wed Oct 23 22:14:00 2002
From: satimis@writeme.com (Stephen Liu)
Date: Wed, 23 Oct 2002 22:14:00 -0000
Subject: Uses for Cygwin/XFree86
In-Reply-To: <20021024041716.GA67708225@TheWorld.com>
References: 
	<3DB48C38.1080308@msu.edu>  <20021024041716.GA67708225@TheWorld.com>
Message-ID: <1035436490.1532.76.camel@m40g>

Hi Rich,

What is rootless mode

I found it on Cygwin/XFree86 Cygwin/XFree86, Last updated: 2002-10-20
2321 EDT, as NEWS only.  Any pointer?

I browsed  http://members.tripod.com/rick_umali/rootless/  and found:

rootless-2.jpg (178KB) - SSH to my ISP. X Forwarding enabled. Running
xcalendar ....

What is "xcalendar"?
What do you mean "X Forwarding enable".  Is it allowed to forward
pictures to Windows OS internally without via Internet.  If YES.  HOW?

Thanks in advance.

Stephen Liu


On Thu, 2002-10-24 at 12:17, Rick Umali wrote:
> Harold:
> 
> On Mon, Oct 21, 2002 Harold L Hunt II wrote:
> > I will really have to add a screenshot of the rootless mode.
> 
> I put up three screen shots of me using rootless mode:
> 
> http://members.tripod.com/rick_umali/rootless/
> 
> Feel free to grab and reuse however you see fit. I love rootless mode!
> -- 
> Rick Umali    rgu@TheWorld.com    www.rickumali.com
> 



From Ralf.Habacker@freenet.de  Wed Oct 23 23:46:00 2002
From: Ralf.Habacker@freenet.de (Ralf Habacker)
Date: Wed, 23 Oct 2002 23:46:00 -0000
Subject: [ANNOUNCEMENT] Server Test 68 
Message-ID: <007301c27b29$0143c790$0a1c440a@BRAMSCHE>

Hi all,

>1) Add support for non-rectangular windows created by the X Shape Extension
>while in Rootless mode (e.g., ``XWin -rootless'').  (MATSUZAKI Kensuke)

Thanks to all who are working to get ready this feature.

I've tried to run kwin/kmail/korganizer/konqueror and other kde apps on
cygwin/xfree in rootless mode and they works fine. :-)

>I intend to make XFree86-xserv-4.2.0-15 the stable release as soon as I
>receive some feedback that it does not introduce any substantial bugs.

... then on the kde-cygwin site there will be some screenshots with "windowed"
kde applications.

Great work.

Ralf






From U.Schmidtmann@visicon-online.de  Thu Oct 24 01:13:00 2002
From: U.Schmidtmann@visicon-online.de (Uwe Schmidtmann)
Date: Thu, 24 Oct 2002 01:13:00 -0000
Subject: [ANNOUNCEMENT] Server Test 68
References: <007301c27b29$0143c790$0a1c440a@BRAMSCHE>
Message-ID: <3DB7AC23.1090006@visicon-online.de>


Hello Harold, Hello all.

Just to give some more (late) feedback (hope it helps a bit):

>>I intend to make XFree86-xserv-4.2.0-15 the stable release as soon as I
>>receive some feedback that it does not introduce any substantial bugs.

I have been using the rootless mode since it was first "released" as a 
test for doing my daily programming. I only updated the XWin.exe to the 
test without extended logging as that consumed too much time and disk 
space. What I use is:

- icewm as window manager (task bar always visible and supplying
   the window manager`s menu to open new xterms, apart from that I
   do most of the work via command line anyway), usually one work space
   left unused to be able to "hide" all X windows with one mouse click...
- nedit with multiple windows (my C source code editor, sometimes 6 and
   more distributet over icewm`s workspaces)
- ssh login to my home system
- administration of our internet gateway here in the company (2 LinuX
   boxes)
- mozilla from the LinuX box

In parallel on the Windoze side I used
- Borland C++ to comile and debug while having nedit open
- Mozilla
- Open Office
- setiathome client

I had NO problems at all, everything runs fine except slightly more time 
seems to be needed to open an X window - but that is no problem here, 
maybe it is an illusion anyway.

Cygwin saved me a lot of trouble in my daily work anyway but with 
rootless mode the "context switching" between editing and compiling has 
become extremely convenient.

The Host OS is Windows NT with Service Pack 6.

I did not fully check it on my laptop with Windows 98 yet.

As far as my experience is concerned: Green light for a release...

Regards and have a nice weekend,

Uwe


From R.Hoenlinger@gmx.de  Thu Oct 24 01:46:00 2002
From: R.Hoenlinger@gmx.de (Robert =?ISO-8859-1?Q?H=F6nlinger?=)
Date: Thu, 24 Oct 2002 01:46:00 -0000
Subject: XKB doesn't work
Message-ID: <3DB7B360.1010508@gmx.de>

Hello,

I just installed the new Cygwin/XFree86 server and discovered two problems:
Calling "start XWin +kb -xkbmap de" no longer works. Instead of loading 
the keymap file /tmp/de.xkm it is deleted from the /tmp directory. This 
command worked with the previous version of Cygwin/XFree86. Then neither 
"XWin -help" nor "XWin --help" writes any information about its 
parameters to the shell window. It returns immediately to the shell.

Regards,
Robert



From geek@burri.to  Thu Oct 24 05:10:00 2002
From: geek@burri.to (Brian Gallew)
Date: Thu, 24 Oct 2002 05:10:00 -0000
Subject: Problems with xwinclip version 0.5/0.6
In-Reply-To: 
References: 
Message-ID: <3421.205.201.13.251.1035461347.squirrel@mail.burri.to>

Chris Twiner said:
> Also I'm still a little confused as to why you needed to change the
> build  dll script anyway, what release of cygwin are you using?
> Maybe I and the  others have an older/newer version.

So, the fundamental problem is that gcc-3.2 does name mangling in a
different way than gcc-2.95.  In xwinclip.c you have code which
references "SetHook__Fv" and "RemHook__Fv".  Under gcc-2.95, SetHook
gets mangled to _SetHook__Fv and so it is found properly.  Under
gcc-3.2, SetHook gets mangled to __Z7SetHookv, so it isn't found.

This is the fundamental problem with mixing C++ and C code together. 
I've attached a patch to take care of the problem.


-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: patch
URL: 

From Alexander.Gottwald@informatik.tu-chemnitz.de  Thu Oct 24 05:15:00 2002
From: Alexander.Gottwald@informatik.tu-chemnitz.de (Alexander Gottwald)
Date: Thu, 24 Oct 2002 05:15:00 -0000
Subject: XKB doesn't work
In-Reply-To: <3DB7B360.1010508@gmx.de>
Message-ID: 

Robert H??nlinger wrote:

> Hello,
> 
> I just installed the new Cygwin/XFree86 server and discovered two problems:
> Calling "start XWin +kb -xkbmap de" no longer works. Instead of loading 
> the keymap file /tmp/de.xkm it is deleted from the /tmp directory. This 
> command worked with the previous version of Cygwin/XFree86. Then neither 
> "XWin -help" nor "XWin --help" writes any information about its 
> parameters to the shell window. It returns immediately to the shell.

With the new version the xf86config patch is now build into the server. 
You can configure the xkb options in /etc/X11/XF86Config-4.

If you dont't have that file, get it 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 Dr.Volker.Zell@oracle.com  Thu Oct 24 05:25:00 2002
From: Dr.Volker.Zell@oracle.com (Dr. Volker Zell)
Date: Thu, 24 Oct 2002 05:25:00 -0000
Subject: [ANNOUNCEMENT] Server Test 68
In-Reply-To: <3DB7AC23.1090006@visicon-online.de> (Uwe Schmidtmann's message
 of "Thu, 24 Oct 2002 10:15:31 +0200")
References: <007301c27b29$0143c790$0a1c440a@BRAMSCHE>
	<3DB7AC23.1090006@visicon-online.de>
Message-ID: <87hefcauv1.fsf@vzell-de.de.oracle.com>

Hi all

I'm also using the rootless mode since "the beginning". Never had any problems
except with xwinclip which are solved when using the patched version from Chris Twiner.

For my window manager I'm using WindowMaker-0.80.0-2. There is actually a new patch
release available 0.80.1.

I think we can drop the test status.

My system is
System:   W2K SP2 - 512 MB Ram
          cygwin snapshot from cygwin1-20021018
           - everything mounted binary,
           - CYGWIN = title binmode ntea nontsec


Ciao
  Volker


From Dr.Volker.Zell@oracle.com  Thu Oct 24 05:28:00 2002
From: Dr.Volker.Zell@oracle.com (Dr. Volker Zell)
Date: Thu, 24 Oct 2002 05:28:00 -0000
Subject: XKB doesn't work
In-Reply-To: <3DB7B360.1010508@gmx.de> (Robert
 =?iso-8859-1?q?H=F6nlinger's?= message of "Thu, 24 Oct 2002 10:46:24
 +0200")
References: <3DB7B360.1010508@gmx.de>
Message-ID: <87d6q0auq2.fsf@vzell-de.de.oracle.com>

>>>>> "Robert" == Robert H??nlinger  writes:

    Robert> Hello,
    Robert> I just installed the new Cygwin/XFree86 server and discovered two problems:
    Robert> Calling "start XWin +kb -xkbmap de" no longer works. Instead of
    Robert> loading the keymap file /tmp/de.xkm it is deleted from the /tmp
    Robert> directory. This command worked with the previous version of
    Robert> Cygwin/XFree86. Then neither "XWin -help" nor "XWin --help" writes any
    Robert> information about its parameters to the shell window. It returns
    Robert> immediately to the shell.

Try the new support for the XF86Config file.
There is a version available from

o http://www-user.tu-chemnitz.de/~goal/xfree/test-config-1/X-Server.tar.bz2

It works perfect here for a german keyboard.

    Robert> Regards,
    Robert> Robert

Ciao
  Volker


From choice15@gmx.de  Thu Oct 24 06:12:00 2002
From: choice15@gmx.de (choice15@gmx.de)
Date: Thu, 24 Oct 2002 06:12:00 -0000
Subject: Handling XWin.exe with Namedpipes for IPC with und generated Windows Program (Win-32 PE .EXE)
References: <3DB7B360.1010508@gmx.de> <87d6q0auq2.fsf@vzell-de.de.oracle.com>
Message-ID: <00aa01c27b5e$f3e700e0$4c64a8c0@ibsfreiburg.de>

Hi,

Is there an Difference between the XWin.exe (or any other Cygwin compiled
Binaries) and
MS Visual C/C++ oder Borland C Executables?

I experimenting the handling of XWin.exe vCommandline Arguments via
Namedpipes
but on Access to the Process my MS C or Borland C Programm is teminating
with a
Access Violation (Windows Programms like ping.exe works fine?)

Is there an Problem to handle Cygwin binaries via Named Pipes from "normal"
Windows 32 Portable Excutable?

Greetings


From c_twiner@hotmail.com  Thu Oct 24 06:42:00 2002
From: c_twiner@hotmail.com (Chris Twiner)
Date: Thu, 24 Oct 2002 06:42:00 -0000
Subject: Problems with xwinclip version 0.5/0.6
Message-ID: 

Hi Brian,

Thanks for the 'extern "C"', I had forgotten to add those.  If you don't 
mind however I'll avoid poluting the std namespace.

Chris

_________________________________________________________________
Choose an Internet access plan right for you -- try MSN! 
http://resourcecenter.msn.com/access/plans/default.asp


From shel@cmhcsys.com  Thu Oct 24 07:27:00 2002
From: shel@cmhcsys.com (Sheldon T. Hall)
Date: Thu, 24 Oct 2002 07:27:00 -0000
Subject: Fw: Problem Using Cygwin To Open Remote CDE
Message-ID: <003401c27b69$4e218f80$6500a8c0@mobilart>

I believe Bryan White has discovered a real bug in xfree86/cygwin.  Here's
his message and my response in comp.unix.solaris.

I'm not on the cygwin-xfree@cygwin.com mailing list, so if you wish to reach
me, go direct.

Thanks.

-Shel

----- Original Message -----
From: "Sheldon T. Hall" 
Newsgroups: comp.unix.solaris
Sent: Thursday, October 24, 2002 10:18 AM
Subject: Re: Problem Using Cygwin To Open Remote CDE


>
> "Bryan White"  wrote in message
> news:6aHt9.8140$46.1600@fe01...
> > hola -
> >
> > i've been using xwin32 to remotely log on to my cde session on my
sparc10
> > from my windows box. my trial version is about to expire and i don't
have
> > the $$ to buy a license. anyway i've installed cygwin & xfree86. i can
run
> a
> > local x session just fine & i can even display the x sessions on my
linux
> > boxes. however, i am unable to get it working with my sparc10.
> >
> > i launch cygwin and type 'XWin -query 172.16.1.201' (which is working
fine
> > for my linux boxes), however all i get when connecting to the sparc10 is
> the
> > blank grey screen & the mouse pointer. like i say, xwin32 has worked
just
> > fine connecting to the sparc10, so i'm confident that it is ready to go.
i
> > have read on google groups that many people use cygwin to connect to
their
> > sun boxes, i'm just wondering why i can't?? it seems they've been using
> the
> > same command as me.
>
> Further to the above ... using your "-query" command resulting in the
> following errors in the log:
>
> Wed Oct 23 21:03:12 2002 error (pid 20305): Hung in
> XOpenDisplay(208.178.101.40:0) attempt #0, aborting.
> Wed Oct 23 21:03:12 2002 error (pid 20305): Server open attempt #0 failed
> for 208.178.101.40:0, giving up
>
> Now, the interesting thing here is that the IP address 298.178.101.40 is
not
> the IP address I used, no is it one on my network, or my ISP's network.
It
> is, however, an address I know.  Bring up xfree86 with a local xterm and
> command "xhost"; you'll see it.  It seems to be built into xfree86
somehow,
> maybe left over from testing.  It's the address of some law firm,
according
> to whois....
>
> I think you've found a real xfree86 bug.
>
> -Shel
>
>
>


From Brian.Dunbar@plexus.com  Thu Oct 24 07:57:00 2002
From: Brian.Dunbar@plexus.com (Brian Dunbar)
Date: Thu, 24 Oct 2002 07:57:00 -0000
Subject: Problem Using Cygwin To Open Remote CDE
Message-ID: <93EF56FF0BD1234E8D1C74B9813E0EA0013F26D5@neen-mail-003.na.plexus.com>

All,

This works for me - talking from cygwin on a w2k box to SunOS 2.5/2.6/5.8
systems.

C:\cygwin\usr\X11R6\bin\xwin.exe -query orion -fp tcp/orion:7100

Where 'orion' is the name of the host I'm getting my CDE session from.


I moved from a regional office to corporate, and had problems on my "IT
issue" (Desktop services uses Ghost to image systems) laptop very similar to
yours.  XFree didn't work, Exceed didn't work, SCO XVision didn't work,
error was the 'blank grey screen' and monitor.

Removed TCP/IP protocol, restarted.  Installed TCP/IP and voila Exceed and
XFree 'Just Work'.  YMMV.

~brian

-----Original Message-----
From: Sheldon T. Hall [mailto:shel@cmhcsys.com]
Sent: Thursday, October 24, 2002 9:26 AM
To: cygwin-xfree@cygwin.com
Subject: Fw: Problem Using Cygwin To Open Remote CDE


I believe Bryan White has discovered a real bug in xfree86/cygwin.  Here's
his message and my response in comp.unix.solaris.

I'm not on the cygwin-xfree@cygwin.com mailing list, so if you wish to reach
me, go direct.

Thanks.

-Shel

----- Original Message -----
From: "Sheldon T. Hall" 
Newsgroups: comp.unix.solaris
Sent: Thursday, October 24, 2002 10:18 AM
Subject: Re: Problem Using Cygwin To Open Remote CDE


>
> "Bryan White"  wrote in message
> news:6aHt9.8140$46.1600@fe01...
> > hola -
> >
> > i've been using xwin32 to remotely log on to my cde session on my
sparc10
> > from my windows box. my trial version is about to expire and i don't
have
> > the $$ to buy a license. anyway i've installed cygwin & xfree86. i can
run
> a
> > local x session just fine & i can even display the x sessions on my
linux
> > boxes. however, i am unable to get it working with my sparc10.
> >
> > i launch cygwin and type 'XWin -query 172.16.1.201' (which is working
fine
> > for my linux boxes), however all i get when connecting to the sparc10 is
> the
> > blank grey screen & the mouse pointer. like i say, xwin32 has worked
just
> > fine connecting to the sparc10, so i'm confident that it is ready to go.
i
> > have read on google groups that many people use cygwin to connect to
their
> > sun boxes, i'm just wondering why i can't?? it seems they've been using
> the
> > same command as me.
>
> Further to the above ... using your "-query" command resulting in the
> following errors in the log:
>
> Wed Oct 23 21:03:12 2002 error (pid 20305): Hung in
> XOpenDisplay(208.178.101.40:0) attempt #0, aborting.
> Wed Oct 23 21:03:12 2002 error (pid 20305): Server open attempt #0 failed
> for 208.178.101.40:0, giving up
>
> Now, the interesting thing here is that the IP address 298.178.101.40 is
not
> the IP address I used, no is it one on my network, or my ISP's network.
It
> is, however, an address I know.  Bring up xfree86 with a local xterm and
> command "xhost"; you'll see it.  It seems to be built into xfree86
somehow,
> maybe left over from testing.  It's the address of some law firm,
according
> to whois....
>
> I think you've found a real xfree86 bug.
>
> -Shel
>
>
>


From rgu@TheWorld.com  Thu Oct 24 08:57:00 2002
From: rgu@TheWorld.com (Rick Umali)
Date: Thu, 24 Oct 2002 08:57:00 -0000
Subject: Uses for Cygwin/XFree86
In-Reply-To: <5.1.0.14.2.20021023215645.01fdf870@pop3.cris.com>
References: <3DB48C38.1080308@msu.edu>  <3DB48C38.1080308@msu.edu> <5.1.0.14.2.20021023215645.01fdf870@pop3.cris.com>
Message-ID: <20021024155737.GA71776922@TheWorld.com>

On Wed, Oct 23, 2002 at 10:00:08PM -0700, Randall R Schulz wrote:
> "The document contains no data."
> 
> At least that's what Mozilla 1.1 tells me when I access that URL.

Strange. 

The page displays for me with Mozilla 1.0.  I don't have Mozilla 1.1
handy, but I can zip up the files to you. Alternatively, I could put it
somewhere else. Are you able to get to members.tripod.com/rick_umali?

I'm actually hoping Harold might put it at
http://xfree86.cygwin.com/screenshots/. Let me know if you want these
zip'd up or whether I should try another server.

> At 21:17 2002-10-23, Rick Umali wrote:
> >http://members.tripod.com/rick_umali/rootless/

Peace.
-- 
Rick Umali    rgu@TheWorld.com    www.rickumali.com


From eric.chastan@netcelo.com  Thu Oct 24 09:07:00 2002
From: eric.chastan@netcelo.com (Eric Chastan)
Date: Thu, 24 Oct 2002 09:07:00 -0000
Subject: Window maker error with xterm menu
Message-ID: <3DB81993.7080606@netcelo.com>

With windowmaker when I click on menu item xterm I got the following 
errro  : xterm: Error 14, errno 9: Bad file descriptor.

xrvt runs well and if I lauch xterm from it all is Ok.

If I click on the run command menu item and I try the command "xterm" I 
got same error ???

What is the problem (and the solution) ??

Eric.


From rrschulz@cris.com  Thu Oct 24 09:38:00 2002
From: rrschulz@cris.com (Randall R Schulz)
Date: Thu, 24 Oct 2002 09:38:00 -0000
Subject: Uses for Cygwin/XFree86
In-Reply-To: <20021024155737.GA71776922@TheWorld.com>
References: <5.1.0.14.2.20021023215645.01fdf870@pop3.cris.com>
 <3DB48C38.1080308@msu.edu>
 
 <3DB48C38.1080308@msu.edu>
 <5.1.0.14.2.20021023215645.01fdf870@pop3.cris.com>
Message-ID: <5.1.0.14.2.20021024093415.02bb23d8@pop3.cris.com>

Rick,

Very odd. It works fjne in Opera, IE and Netscape 4.79. Using "WebClient," I 
can see the full response:

-==--==--==--==--==--==--==--==--==--==--==--==--==--==--==-
HTTP/1.1 200 OK
Date: Thu, 24 Oct 2002 16:33:49 GMT
Server: Squeegit/1.2.5 (3_sir)
Set-Cookie: CookieStatus=COOKIE_OK; path=/; domain=.tripod.com; expires=Fri, 24-Oct-2003 16:33:49 GMT
P3P: policyref="http://www.lycos.com/w3c/p3p.xml", CP="IDC DSP COR CURa ADMa DEVa CUSa PSAa IVAa CONo OUR IND UNI STA"
Set-Cookie: MEMBER_PAGE=rick_umali/rootless/index.html; path=/; domain=.tripod.com
Set-Cookie: REFERRER=(null); path=/; domain=.tripod.com
Connection: close
Content-Type: text/html

Pictures of Cygwin/XFree86 Rootless Mode

Pictures of Cygwin/XFree86 Rootless Mode

rootless-1.jpg (209KB) - XEyes in the background. Emacs. All on top of MS-DOS window.

rootless-2.jpg (178KB) - SSH to my ISP. X Forwarding enabled. Running xcalendar. Simple. Nice.

rootless-2.jpg (170KB) - SSH to my ISP. X Forwarding enabled. Running xv on my ISP displaying back to rootless mode. Nice!


Rick (rgu@TheWorld.com) Umali
Last Update: 10/24/2002 -==--==--==--==--==--==--==--==--==--==--==--==--==--==--==- I don't know what it is, but something's there must be giving Mozilla 1.1. indigestion. Sorry to bother you. Randall Schulz Mountain View, CA USA At 08:57 2002-10-24, you wrote: >On Wed, Oct 23, 2002 at 10:00:08PM -0700, Randall R Schulz wrote: >> "The document contains no data." >> >> At least that's what Mozilla 1.1 tells me when I access that URL. > >Strange. > >The page displays for me with Mozilla 1.0. I don't have Mozilla 1.1 >handy, but I can zip up the files to you. Alternatively, I could put it >somewhere else. Are you able to get to members.tripod.com/rick_umali? > >I'm actually hoping Harold might put it at >http://xfree86.cygwin.com/screenshots/. Let me know if you want these >zip'd up or whether I should try another server. > >> At 21:17 2002-10-23, Rick Umali wrote: >> >http://members.tripod.com/rick_umali/rootless/ > >Peace. >-- >Rick Umali rgu@TheWorld.com www.rickumali.com From huntharo@msu.edu Thu Oct 24 11:08:00 2002 From: huntharo@msu.edu (Harold L Hunt II) Date: Thu, 24 Oct 2002 11:08:00 -0000 Subject: Uses for Cygwin/XFree86 In-Reply-To: <3DB48C38.1080308@msu.edu> References: <3DB48C38.1080308@msu.edu> <3DB48C38.1080308@msu.edu> <5.1.0.14.2.20021023215645.01fdf870@pop3.cris.com> <20021024155737.GA71776922@TheWorld.com> Message-ID: <3DB8371F.1010407@msu.edu> Rick, If you want me to upload them, then please convert the original BMP to a PNG using ImageMagick or some other graphics program (ImageMagick is probably the easiest ``convert foo.bmp foo.png''). Alternatively, you can send me links to the BMPs and I will download them, convert them, and upload them myself. Either way is fine with me. Note that I prefer PNGs because they do not blur text like JPGs do. Also, for those just dying to see a screenshot, I made a giant one that my friend and I posted on ArsTechnica, but here is a direct link to the file: http://www.cse.msu.edu/~huntharo/cygwin-xfree86-rootless-xfig-etc.png Harold Rick Umali wrote: >On Wed, Oct 23, 2002 at 10:00:08PM -0700, Randall R Schulz wrote: > > >>"The document contains no data." >> >>At least that's what Mozilla 1.1 tells me when I access that URL. >> >> > >Strange. > >The page displays for me with Mozilla 1.0. I don't have Mozilla 1.1 >handy, but I can zip up the files to you. Alternatively, I could put it >somewhere else. Are you able to get to members.tripod.com/rick_umali? > >I'm actually hoping Harold might put it at >http://xfree86.cygwin.com/screenshots/. Let me know if you want these >zip'd up or whether I should try another server. > > > >>At 21:17 2002-10-23, Rick Umali wrote: >> >> >>>http://members.tripod.com/rick_umali/rootless/ >>> >>> > >Peace. > > From CPlonski@nbc6.com Thu Oct 24 11:28:00 2002 From: CPlonski@nbc6.com (Chris Plonski) Date: Thu, 24 Oct 2002 11:28:00 -0000 Subject: question on running kde under cygwin/xfree86 Message-ID: > I tried getting the kde binaries to run under cygwin/xfree86 and I had limited success on my home pc (works, but with several errors), and no success on my work pc. At work, I get the following after issuing a startx & at the cygwin prompt: > > The X server fires up, but KDE never initializes. back at the cygwin prompt I get this: > > waiting for X server to begin accepting connections . > .. > .. > .. > > after I manually close the X server I see: > > giving up. > xinit: Permission denied (errno 13): unable to connect to X server > xinit: No such process (errno 3): unexpected signal 2. > > Ideas anyone? From Alexander.Gottwald@informatik.tu-chemnitz.de Thu Oct 24 14:05:00 2002 From: Alexander.Gottwald@informatik.tu-chemnitz.de (Alexander Gottwald) Date: Thu, 24 Oct 2002 14:05:00 -0000 Subject: XKB doesn't work In-Reply-To: <87d6q0auq2.fsf@vzell-de.de.oracle.com> Message-ID: > > Try the new support for the XF86Config file. This now got into the main distribution. > There is a version available from > > o http://www-user.tu-chemnitz.de/~goal/xfree/test-config-1/X-Server.tar.bz2 I should remove the file. So everone will complain a file not found before complaining "foo does not work" because they got got an old binary. > It works perfect here for a german keyboard. good to hear ;) bye ago -- Alexander.Gottwald@informatik.tu-chemnitz.de http://www.gotti.org ICQ: 126018723 From seth_dheeraj@hotmail.com Thu Oct 24 15:58:00 2002 From: seth_dheeraj@hotmail.com (dheeraj seth) Date: Thu, 24 Oct 2002 15:58:00 -0000 Subject: sdiff related..... Message-ID: Hi everybody, I have searched amlost evrything mentioned on the cygwin site. The Problem is: i used diff utility to get differences between two files(F1 and F2).It worked.it gave me the changes to add and replace in the file(F2), now i can use sdiff but the problem is want to add a line before and after the changes, when sidff adds those changes to the file. Is there any option to add my lines while doing this? Please any help would be really appreciated. Thanks a lot. Best Regards. Example: this is a portion of output by diff diff -r 72/compproc/xbpaEstimateLineSelect.sql 73/compproc/xbpaEstimateLineSelect.sql 56a57,63 > AND (PCBACTUALQTY < PCBESTIMATEQTY or not exists(select 1 from PCB00125 > where PCBJOBNUMBER = @project > AND PCBPNUM = @phase)) Want to Add this to File F2: #If xyz == 21 AND (PCBACTUALQTY < PCBESTIMATEQTY or not exists(select 1 from PCB00125 where PCBJOBNUMBER = @project AND PCBPNUM = @phase)) #endif _________________________________________________________________ Get faster connections??-- switch to??MSN Internet Access! http://resourcecenter.msn.com/access/plans/default.asp From Ralf.Habacker@freenet.de Thu Oct 24 23:35:00 2002 From: Ralf.Habacker@freenet.de (Ralf Habacker) Date: Thu, 24 Oct 2002 23:35:00 -0000 Subject: question on running kde under cygwin/xfree86 In-Reply-To: Message-ID: <00b001c27bf0$9f7026d0$0a1c440a@BRAMSCHE> > > The X server fires up, but KDE never initializes. back at the > cygwin prompt I get this: > > > > waiting for X server to begin accepting connections . > > .. > > .. > > .. > > > > after I manually close the X server I see: > > > > giving up. > > xinit: Permission denied (errno 13): unable to connect to X server > > xinit: No such process (errno 3): unexpected signal 2. > > > > Ideas anyone? try http://kde-cygwin.sourceforge.net/faq/kde2.php#D9 Regards Ralf From geek@burri.to Fri Oct 25 05:09:00 2002 From: geek@burri.to (Brian Gallew) Date: Fri, 25 Oct 2002 05:09:00 -0000 Subject: Problems with xwinclip version 0.5/0.6 In-Reply-To: References: Message-ID: <3039.128.2.120.244.1035547675.squirrel@mail.burri.to> Chris Twiner said: > Thanks for the 'extern "C"', I had forgotten to add those. If you > don't mind however I'll avoid poluting the std namespace. By all means. I'm just glad it works. From jc.gervais@videotron.ca Fri Oct 25 07:55:00 2002 From: jc.gervais@videotron.ca (Jean-Claude Gervais) Date: Fri, 25 Oct 2002 07:55:00 -0000 Subject: XWinClip Message-ID: Hi, I've followed the posted instructions for downloading and installing XWinClip, but for some odd reason, I get the following error when trying to extract the .EXE: >bunzip2 xwinclip-Test06.exe.bz2 bunzip2: I/O or other error, bailing out. Possible reason follows. bunzip2: Permission denied Input file = xwinclip-Test06.exe.bz2, output file = xwinclip-Test06.exe bunzip2: Deleting output file xwinclip-Test06.exe, if it exists. /home/jc > I've also tried this on a totally different computer and gotten the same result. Anyone have a clue as to what the problem is? From keith@keithtyler.com Fri Oct 25 08:08:00 2002 From: keith@keithtyler.com (Keith D. Tyler) Date: Fri, 25 Oct 2002 08:08:00 -0000 Subject: Rootless: how to get wm menu? In-Reply-To: <3DB64E2A.40204@alcatel.it> from "Danilo Turina" at Oct 23, 2002 09:22:18 AM Message-ID: <200210251508.g9PF8ae21362@shell.faradic.net> Danilo Turina was recently quoted as saying... > > With WindowMaker, I select one of the applications running under X and > then press F12. > I think it's the only way. > > > How do I open the X11 window-manager menu when working in rootless mode? > > When clicking a mouse button on the background, I get a Windows menu. > > There should be a small area or special icon as an event proxy for the > > missing X11 background. You could run an app that shows some root window space. Try running Xeyes. The rootless mode doesnt include the X shape mask of xeyes in the Windows shape map for rootless mode, so the corners of xeyes should be usable as root window click-space. The other way, which is what I've done in my fvwm, is to move your root window menus to an always-visible location, like opened from a titlebar button. HTH, ================================================================== 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 Robert.White@morganstanley.com Fri Oct 25 08:14:00 2002 From: Robert.White@morganstanley.com (Robert White) Date: Fri, 25 Oct 2002 08:14:00 -0000 Subject: Keyboard confusion References: Message-ID: <3DB95FDD.57D546FC@morganstanley.com> Hi I have noticed that when I am using the Xwin it seems to detect that I am using an Amercan Keyboard, rather than the British one. This is not the behaviour outside the X server. (I.e in a cygwin command prompt window the keyboard map is correct). Not having the XF86config I understand from the documentation that Xwin is configured from a combination of the native env and command line switches. I have checked the region settings and they are set to United Kingdom, althougth the checkbox set as system wide locale is not selected. Can anyone offer any pointers as to where to go next. Thanks in advance. Regds Rob White From rrschulz@cris.com Fri Oct 25 08:45:00 2002 From: rrschulz@cris.com (Randall R Schulz) Date: Fri, 25 Oct 2002 08:45:00 -0000 Subject: -Rootless AND -NoDecoration Message-ID: <5.1.0.14.2.20021025084203.02ec9ce8@pop3.cris.com> Hi, Please forgive my creative capitalization in the Subject line. I had hoped that using "-nodecoration" with "-rootless" would prevent the XWin server getting a taskbar icon, but alas, no. Is there a combination of options or a configuration file or environment setting that will suppress the taskbar icon in rootless mode? Oh, yeah... Rootless Rocks! Randall Schulz Mountain View, CA USA From nahor@bravobrava.com Fri Oct 25 08:46:00 2002 From: nahor@bravobrava.com (Jehan) Date: Fri, 25 Oct 2002 08:46:00 -0000 Subject: Rootless: how to get wm menu? In-Reply-To: <3DB64E2A.40204@alcatel.it> References: <3DB64E2A.40204@alcatel.it> <200210251508.g9PF8ae21362@shell.faradic.net> Message-ID: Keith D. Tyler wrote: > You could run an app that shows some root window space. Try running > Xeyes. The rootless mode doesnt include the X shape mask of xeyes in > the Windows shape map for rootless mode, so the corners of xeyes > should be usable as root window click-space. That's not true anymore. The latest release of XWin (4.2.0-15) support shapes in rootless mode. Jehan From jc.gervais@videotron.ca Fri Oct 25 09:05:00 2002 From: jc.gervais@videotron.ca (Jean-Claude Gervais) Date: Fri, 25 Oct 2002 09:05:00 -0000 Subject: Rootless: how to get wm menu? In-Reply-To: Message-ID: If you are running WindowMaker, pressing F12 gets the root menu. -----Original Message----- From: cygwin-xfree-owner@cygwin.com [mailto:cygwin-xfree-owner@cygwin.com]On Behalf Of Jehan Sent: Friday, October 25, 2002 11:46 AM To: cygwin-xfree@cygwin.com Subject: Re: Rootless: how to get wm menu? Keith D. Tyler wrote: > You could run an app that shows some root window space. Try running > Xeyes. The rootless mode doesnt include the X shape mask of xeyes in > the Windows shape map for rootless mode, so the corners of xeyes > should be usable as root window click-space. That's not true anymore. The latest release of XWin (4.2.0-15) support shapes in rootless mode. Jehan From rrschulz@cris.com Fri Oct 25 09:35:00 2002 From: rrschulz@cris.com (Randall R Schulz) Date: Fri, 25 Oct 2002 09:35:00 -0000 Subject: Rootless: how to get wm menu? In-Reply-To: References: Message-ID: <5.1.0.14.2.20021025091211.01fe0d40@pop3.cris.com> Hi, And the F12 and all other keyboard bindings are configurable, of course. Also, F11 brings up the WindowMaker windows menu. On a related topic: I just tried to get window cycling to work, but changing the configured key sequence doesn't seem to work. I used the "Capture" button to change the "Focus next window" and "Focus previous window" to CTRL-TAB and CTRL-SHIFT-TAB, resp. The WMaker options dialog reports these as "Control+Mod2+Tab" and "Control+Shift+Mod2+Tab". Nonetheless, neither the window activation nor the focus are switched when I type CTRL-TAB or CTRL-SHIFT-TAB. Am I doing something wrong, or is this feature not working? Or is it simply not supported. Thanks. Randall Schulz Mountain View, CA USA At 09:05 2002-10-25, you wrote: >If you are running WindowMaker, pressing F12 gets the root menu. > > >-----Original Message----- >From: cygwin-xfree-owner@cygwin.com [mailto:cygwin-xfree-owner@cygwin.com]On >Behalf Of Jehan >Sent: Friday, October 25, 2002 11:46 AM >To: cygwin-xfree@cygwin.com >Subject: Re: Rootless: how to get wm menu? > >Keith D. Tyler wrote: > > > You could run an app that shows some root window space. Try running > > Xeyes. The rootless mode doesnt include the X shape mask of xeyes in > > the Windows shape map for rootless mode, so the corners of xeyes > > should be usable as root window click-space. > > >That's not true anymore. The latest release of XWin (4.2.0-15) support >shapes in rootless mode. > > Jehan From kirschpe@utrc.utc.com Fri Oct 25 10:00:00 2002 From: kirschpe@utrc.utc.com (kirschpe@utrc.utc.com) Date: Fri, 25 Oct 2002 10:00:00 -0000 Subject: how to compile icewm-1.2.2 Message-ID: Icewm-1.2.2 will not make for me. { } configure --disable-nls --disable-i18n (stuff deleted) Build targets: base Applications: genpref icewm icesh icewmhint icewmbg icehelp Image library: Imlib Audio support: Features: x86-asm Paths: PREFIX: /usr/local BINDIR: /usr/local/bin LOCDIR: LIBDIR: /usr/local/lib/X11/icewm CFGDIR: /usr/local/etc/X11/icewm KDEDIR: /usr/local/share DOCDIR: /usr/local/share/doc { } make make[1]: Entering directory `/home/kirschpe/icewm-1.2.2/src' Linking genpref.exe... gcc: no input files make[1]: *** [genpref.exe] Error 1 make[1]: Leaving directory `/home/kirschpe/icewm-1.2.2/src' make: *** [base] Error 2 icewm-1.2.0 compiled fine out of the box. icewm-1.2.1 fails like 1.2.2. I am using the latest cygwin/xfree stuff. I compiled and loaded imlib previously from instructions from the mailing list. Anyone get this to work? ----------------------------------------------------------------------------------------- Paul Kirschner Systems Department United Technologies Research Center kirschpe@utrc.utc.com (860)610-7119 From mrausche@gmx.de Fri Oct 25 10:14:00 2002 From: mrausche@gmx.de (Martin Rausche) Date: Fri, 25 Oct 2002 10:14:00 -0000 Subject: Cannot start X Message-ID: <003401c27c49$f83d02c0$0146a8c0@jnpr.net> Hello everyone, I guess this is a common question, but the FAQ didn't help. When I say "startx" in the shell, I get a Windows error message, which is titled "xinit.exe - Entry Point Not Found" and the according message says "The procedure entry point getpwnam_r could not be located in the dynamic link library cygwin1.dll". I have read the FAQ and it says I should run setup.exe and install latest versions, which I did, but I still get this message. Any pointers to a resolution? Thanks, Martin. From huntharo@msu.edu Fri Oct 25 10:24:00 2002 From: huntharo@msu.edu (Harold L Hunt II) Date: Fri, 25 Oct 2002 10:24:00 -0000 Subject: -Rootless AND -NoDecoration In-Reply-To: <5.1.0.14.2.20021025084203.02ec9ce8@pop3.cris.com> References: <5.1.0.14.2.20021025084203.02ec9ce8@pop3.cris.com> Message-ID: <3DB97E66.9020400@msu.edu> Randall, No, there is no such combination of flags. How do you intend to set the focus to Cygwin/XFree86 without a taskbar entry? I mean, you could minimize it and not be able to get it back. In the future, when we write the Windows-based window manager, I intend to make Cygwin/XFree86 use a system tray icon rather than a taskbar icon, but only when using the Windows-based window manager. Now, from the perspective of building a correct application, can't you see that it would be incredibly non-standard of us to allow Cygwin/XFree86 to not have a taskbar icon? No other Windows application that needs to be minimized/restored/closed has that behavior. Typically, only applications that are either closed or open are in the system tray. Can you see my point? I suppose you could code such a feature if you wanted that did not change the default behavior, but I'm not sure how much use it would be to others... Harold Randall R Schulz wrote: > Hi, > > Please forgive my creative capitalization in the Subject line. > > I had hoped that using "-nodecoration" with "-rootless" would prevent > the XWin server getting a taskbar icon, but alas, no. > > Is there a combination of options or a configuration file or > environment setting that will suppress the taskbar icon in rootless mode? > > > Oh, yeah... Rootless Rocks! > > > Randall Schulz > Mountain View, CA USA > From nahor@bravobrava.com Fri Oct 25 10:55:00 2002 From: nahor@bravobrava.com (Jehan) Date: Fri, 25 Oct 2002 10:55:00 -0000 Subject: -Rootless AND -NoDecoration In-Reply-To: <5.1.0.14.2.20021025084203.02ec9ce8@pop3.cris.com> References: <5.1.0.14.2.20021025084203.02ec9ce8@pop3.cris.com> <3DB97E66.9020400@msu.edu> Message-ID: Harold L Hunt II wrote: > Now, from the perspective of building a correct application, can't you > see that it would be incredibly non-standard of us to allow > Cygwin/XFree86 to not have a taskbar icon? No other Windows > application that needs to be minimized/restored/closed has that > behavior. Typically, only applications that are either closed or open > are in the system tray. Actually, that's not entirely true. The Windows Task Manager can be "Hidden When Minimized". WinAmp and Trillian (given, they are not typical Windows applications) have this feature too. I think, most "persistant" applications (running from login to logout) can be moved to the systray instead of the taskbar one way or another. Maybe XWin could benefit from such a feature. It would be interesting for people who start XWin at login and never exit it until logout to minimize XWin in the systray when they don't actively use any X application. That way, XWin would not use precious space in the taskbar. > Can you see my point? I suppose you could code such a feature if > you wanted that did not change the default behavior, but I'm not sure > how much use it would be to others... I could try to modify/update my systray patch to that effect if I find some time to do it. Jehan From rrschulz@cris.com Fri Oct 25 10:57:00 2002 From: rrschulz@cris.com (Randall R Schulz) Date: Fri, 25 Oct 2002 10:57:00 -0000 Subject: No Taskbar Icon (Was: Re: -Rootless AND -NoDecoration) In-Reply-To: <3DB97E66.9020400@msu.edu> References: <5.1.0.14.2.20021025084203.02ec9ce8@pop3.cris.com> <5.1.0.14.2.20021025084203.02ec9ce8@pop3.cris.com> Message-ID: <5.1.0.14.2.20021025103402.01fe1ea0@pop3.cris.com> Harold, At 10:24 2002-10-25, you wrote: >Randall, > >No, there is no such combination of flags. > >How do you intend to set the focus to Cygwin/XFree86 without a taskbar >entry? I mean, you could minimize it and not be able to get it back. Without a taskbar icon, I don't know how XWin could get minimized. Would "ALT-SPACE N" while the X server "layer" (as I think of it in "-rootless" mode) was active do it? Also, the Windows SETI@home GUI shows that a window with no taskbar icon can still show up in the ALT-TAB list of icons. >In the future, when we write the Windows-based window manager, I intend to >make Cygwin/XFree86 use a system tray icon rather than a taskbar icon, but >only when using the Windows-based window manager. That would be nice, but I'd still like to avoid the taskbar icon even when I'm using an X-based window manager. >Now, from the perspective of building a correct application, can't you see >that it would be incredibly non-standard of us to allow Cygwin/XFree86 to >not have a taskbar icon? No other Windows application that needs to be >minimized/restored/closed has that behavior. Typically, only applications >that are either closed or open are in the system tray. Can you see my >point? I suppose you could code such a feature if you wanted that did not >change the default behavior, but I'm not sure how much use it would be to >others... Not at all. There are applications that show windows without taskbar icons when the application writer deemed it appropriate. Since the Windows API makes it possible, it was clearly seen as a viable option that might be desirable in some contexts. Perhaps others could weigh in on whether they'd like to have the option to avoid a taskbar icon? >Harold Randall Schulz Mountain View, CA USA >Randall R Schulz wrote: > >>Hi, >> >>Please forgive my creative capitalization in the Subject line. >> >>I had hoped that using "-nodecoration" with "-rootless" would prevent the >>XWin server getting a taskbar icon, but alas, no. >> >>Is there a combination of options or a configuration file or environment >>setting that will suppress the taskbar icon in rootless mode? >> >> >>Oh, yeah... Rootless Rocks! >> >> >>Randall Schulz >>Mountain View, CA USA From BradeyH@construx.com Fri Oct 25 11:13:00 2002 From: BradeyH@construx.com (Bradey Honsinger) Date: Fri, 25 Oct 2002 11:13:00 -0000 Subject: XWinClip Message-ID: <2A53F00A2DBBDA479B7E84DA2023A4EBC84377@gypsy.construx.com> I saw that just the other day--I didn't have the appropriate permissions to a directory on a network share, so bunzip2 couldn't create the new file without the .bz2 extension. The "Permission denied" message is a hint, I think :) Try copying the file to a local directory that you know you have permissions on--Cygwin's /tmp is a good candidate. Double-check the permissions in Explorer, and make sure you're the owner of the directory. You may also want to double-check that you've run mkpasswd -d > /etc/passwd if you're in a domain. - Bradey -----Original Message----- From: Jean-Claude Gervais [mailto:jc.gervais@videotron.ca] Sent: Friday, October 25, 2002 7:56 AM To: Cygwin-XFree Subject: XWinClip Hi, I've followed the posted instructions for downloading and installing XWinClip, but for some odd reason, I get the following error when trying to extract the .EXE: >bunzip2 xwinclip-Test06.exe.bz2 bunzip2: I/O or other error, bailing out. Possible reason follows. bunzip2: Permission denied Input file = xwinclip-Test06.exe.bz2, output file = xwinclip-Test06.exe bunzip2: Deleting output file xwinclip-Test06.exe, if it exists. /home/jc > I've also tried this on a totally different computer and gotten the same result. Anyone have a clue as to what the problem is? From jc.gervais@videotron.ca Fri Oct 25 11:52:00 2002 From: jc.gervais@videotron.ca (Jean-Claude Gervais) Date: Fri, 25 Oct 2002 11:52:00 -0000 Subject: XWinClip In-Reply-To: <2A53F00A2DBBDA479B7E84DA2023A4EBC84377@gypsy.construx.com> Message-ID: Hi Bradey, Thanks for helping. Nope, it's not that. For one thing, this IS happening on a local drive. The NTFS security and permissions and ownership are set properly. As for the Cygwin ownership and rights, I am the file's owner and have all rights to it. As an aside, I went though the whole user/password procedure a while ago when I couldn't start X anymore because the user I was logged on as did not exist as a local user (domain user), and Cygwin's policy concerning such a situation had changed. Maybe this is another manifestation of the problem that that policy change caused. Um, could someone send me the XWinClip Test 06 source code in a zip file and I'll build it... Anyhow, I'm not sure what version of XWinClip I'm currently running, but after a paste or two, it starts taking a lot of CPU and doesn't work anymore. If that is still going on in the Test 06 source, I might perform an analysis and figure what is going wrong with it. J -----Original Message----- From: cygwin-xfree-owner@cygwin.com [mailto:cygwin-xfree-owner@cygwin.com]On Behalf Of Bradey Honsinger Sent: Friday, October 25, 2002 2:13 PM To: 'cygwin-xfree@cygwin.com' Subject: RE: XWinClip I saw that just the other day--I didn't have the appropriate permissions to a directory on a network share, so bunzip2 couldn't create the new file without the .bz2 extension. The "Permission denied" message is a hint, I think :) Try copying the file to a local directory that you know you have permissions on--Cygwin's /tmp is a good candidate. Double-check the permissions in Explorer, and make sure you're the owner of the directory. You may also want to double-check that you've run mkpasswd -d > /etc/passwd if you're in a domain. - Bradey -----Original Message----- From: Jean-Claude Gervais [mailto:jc.gervais@videotron.ca] Sent: Friday, October 25, 2002 7:56 AM To: Cygwin-XFree Subject: XWinClip Hi, I've followed the posted instructions for downloading and installing XWinClip, but for some odd reason, I get the following error when trying to extract the .EXE: >bunzip2 xwinclip-Test06.exe.bz2 bunzip2: I/O or other error, bailing out. Possible reason follows. bunzip2: Permission denied Input file = xwinclip-Test06.exe.bz2, output file = xwinclip-Test06.exe bunzip2: Deleting output file xwinclip-Test06.exe, if it exists. /home/jc > I've also tried this on a totally different computer and gotten the same result. Anyone have a clue as to what the problem is? From huntharo@msu.edu Fri Oct 25 12:26:00 2002 From: huntharo@msu.edu (Harold L Hunt II) Date: Fri, 25 Oct 2002 12:26:00 -0000 Subject: XWinClip In-Reply-To: References: Message-ID: <3DB99AEE.3080605@msu.edu> Make sure that you have the latest cygwin1.dll from yesterday's release (run setup.exe again). Several issues related to the now default ``ntsec'' option were corrected, and one of these fixes may resolve your problems. Harold Jean-Claude Gervais wrote: >Hi Bradey, > > > Thanks for helping. > > Nope, it's not that. > For one thing, this IS happening on a local drive. >The NTFS security and permissions and ownership are set properly. > As for the Cygwin ownership and rights, I am the file's owner and have all >rights to it. > >As an aside, I went though the whole user/password procedure a while ago >when I couldn't start X anymore because the user I was logged on as did not >exist as a local user (domain user), and Cygwin's policy concerning such a >situation had changed. > >Maybe this is another manifestation of the problem that that policy change >caused. > >Um, could someone send me the XWinClip Test 06 source code in a zip file and >I'll build it... > >Anyhow, I'm not sure what version of XWinClip I'm currently running, but >after a paste or two, it starts taking a lot of CPU and doesn't work >anymore. > >If that is still going on in the Test 06 source, I might perform an analysis >and figure what is going wrong with it. > >J > >-----Original Message----- >From: cygwin-xfree-owner@cygwin.com [mailto:cygwin-xfree-owner@cygwin.com]On >Behalf Of Bradey Honsinger >Sent: Friday, October 25, 2002 2:13 PM >To: 'cygwin-xfree@cygwin.com' >Subject: RE: XWinClip > >I saw that just the other day--I didn't have the appropriate permissions to >a directory on a network share, so bunzip2 couldn't create the new file >without the .bz2 extension. The "Permission denied" message is a hint, I >think :) > >Try copying the file to a local directory that you know you have permissions >on--Cygwin's /tmp is a good candidate. Double-check the permissions in >Explorer, and make sure you're the owner of the directory. You may also want >to double-check that you've run mkpasswd -d > /etc/passwd if you're in a >domain. > > - Bradey > >-----Original Message----- >From: Jean-Claude Gervais [mailto:jc.gervais@videotron.ca] >Sent: Friday, October 25, 2002 7:56 AM >To: Cygwin-XFree >Subject: XWinClip > > >Hi, > > I've followed the posted instructions for downloading and >installing XWinClip, but for some odd reason, I get the following error when >trying to extract the .EXE: > > > > >>bunzip2 xwinclip-Test06.exe.bz2 >> >> > >bunzip2: I/O or other error, bailing out. Possible reason follows. >bunzip2: Permission denied > Input file = xwinclip-Test06.exe.bz2, output file = >xwinclip-Test06.exe >bunzip2: Deleting output file xwinclip-Test06.exe, if it exists. >/home/jc > > > > >I've also tried this on a totally different computer and gotten the same >result. >Anyone have a clue as to what the problem is? > > > > From jc.gervais@videotron.ca Fri Oct 25 13:45:00 2002 From: jc.gervais@videotron.ca (Jean-Claude Gervais) Date: Fri, 25 Oct 2002 13:45:00 -0000 Subject: No Taskbar Icon (Was: Re: -Rootless AND -NoDecoration) In-Reply-To: <5.1.0.14.2.20021025103402.01fe1ea0@pop3.cris.com> Message-ID: Here's a heretic opinion: I want a taskbar icon for EACH X application! Nyah! -----Original Message----- From: cygwin-xfree-owner@cygwin.com [mailto:cygwin-xfree-owner@cygwin.com]On Behalf Of Randall R Schulz Sent: Friday, October 25, 2002 1:45 PM To: cygwin-xfree@cygwin.com Subject: No Taskbar Icon (Was: Re: -Rootless AND -NoDecoration) Harold, At 10:24 2002-10-25, you wrote: >Randall, > >No, there is no such combination of flags. > >How do you intend to set the focus to Cygwin/XFree86 without a taskbar >entry? I mean, you could minimize it and not be able to get it back. Without a taskbar icon, I don't know how XWin could get minimized. Would "ALT-SPACE N" while the X server "layer" (as I think of it in "-rootless" mode) was active do it? Also, the Windows SETI@home GUI shows that a window with no taskbar icon can still show up in the ALT-TAB list of icons. >In the future, when we write the Windows-based window manager, I intend to >make Cygwin/XFree86 use a system tray icon rather than a taskbar icon, but >only when using the Windows-based window manager. That would be nice, but I'd still like to avoid the taskbar icon even when I'm using an X-based window manager. >Now, from the perspective of building a correct application, can't you see >that it would be incredibly non-standard of us to allow Cygwin/XFree86 to >not have a taskbar icon? No other Windows application that needs to be >minimized/restored/closed has that behavior. Typically, only applications >that are either closed or open are in the system tray. Can you see my >point? I suppose you could code such a feature if you wanted that did not >change the default behavior, but I'm not sure how much use it would be to >others... Not at all. There are applications that show windows without taskbar icons when the application writer deemed it appropriate. Since the Windows API makes it possible, it was clearly seen as a viable option that might be desirable in some contexts. Perhaps others could weigh in on whether they'd like to have the option to avoid a taskbar icon? >Harold Randall Schulz Mountain View, CA USA >Randall R Schulz wrote: > >>Hi, >> >>Please forgive my creative capitalization in the Subject line. >> >>I had hoped that using "-nodecoration" with "-rootless" would prevent the >>XWin server getting a taskbar icon, but alas, no. >> >>Is there a combination of options or a configuration file or environment >>setting that will suppress the taskbar icon in rootless mode? >> >> >>Oh, yeah... Rootless Rocks! >> >> >>Randall Schulz >>Mountain View, CA USA From rrschulz@cris.com Fri Oct 25 13:55:00 2002 From: rrschulz@cris.com (Randall R Schulz) Date: Fri, 25 Oct 2002 13:55:00 -0000 Subject: No Taskbar Icon (Was: Re: -Rootless AND -NoDecoration) In-Reply-To: References: <5.1.0.14.2.20021025103402.01fe1ea0@pop3.cris.com> Message-ID: <5.1.0.14.2.20021025135245.027c08b0@pop3.cris.com> Jean-Claude, I think that's equally a valid a request. Probably even more-so. I just don't like how cramped the taskbar tabs get, and I refuse to give the taskbar more than one row. I'm just odd that way. Sorry not to disagree with you. Randall Schulz Mountai View, CA USA At 13:46 2002-10-25, Jean-Claude Gervais wrote: >Here's a heretic opinion: > >I want a taskbar icon for EACH X application! > >Nyah! From huntharo@msu.edu Fri Oct 25 14:02:00 2002 From: huntharo@msu.edu (Harold L Hunt II) Date: Fri, 25 Oct 2002 14:02:00 -0000 Subject: No Taskbar Icon (Was: Re: -Rootless AND -NoDecoration) In-Reply-To: References: Message-ID: <3DB9B147.9050509@msu.edu> Heh heh... Harold Jean-Claude Gervais wrote: >Here's a heretic opinion: > >I want a taskbar icon for EACH X application! > >Nyah! > > >-----Original Message----- >From: cygwin-xfree-owner@cygwin.com [mailto:cygwin-xfree-owner@cygwin.com]On >Behalf Of Randall R Schulz >Sent: Friday, October 25, 2002 1:45 PM >To: cygwin-xfree@cygwin.com >Subject: No Taskbar Icon (Was: Re: -Rootless AND -NoDecoration) > >Harold, > >At 10:24 2002-10-25, you wrote: > > >>Randall, >> >>No, there is no such combination of flags. >> >>How do you intend to set the focus to Cygwin/XFree86 without a taskbar >>entry? I mean, you could minimize it and not be able to get it back. >> >> > >Without a taskbar icon, I don't know how XWin could get minimized. Would >"ALT-SPACE N" while the X server "layer" (as I think of it in "-rootless" >mode) was active do it? > >Also, the Windows SETI@home GUI shows that a window with no taskbar icon >can still show up in the ALT-TAB list of icons. > > > > >>In the future, when we write the Windows-based window manager, I intend to >>make Cygwin/XFree86 use a system tray icon rather than a taskbar icon, but >>only when using the Windows-based window manager. >> >> > >That would be nice, but I'd still like to avoid the taskbar icon even when >I'm using an X-based window manager. > > > > >>Now, from the perspective of building a correct application, can't you see >>that it would be incredibly non-standard of us to allow Cygwin/XFree86 to >>not have a taskbar icon? No other Windows application that needs to be >>minimized/restored/closed has that behavior. Typically, only applications >>that are either closed or open are in the system tray. Can you see my >>point? I suppose you could code such a feature if you wanted that did not >>change the default behavior, but I'm not sure how much use it would be to >>others... >> >> > >Not at all. There are applications that show windows without taskbar icons >when the application writer deemed it appropriate. Since the Windows API >makes it possible, it was clearly seen as a viable option that might be >desirable in some contexts. > > >Perhaps others could weigh in on whether they'd like to have the option to >avoid a taskbar icon? > > > > >>Harold >> >> > > >Randall Schulz >Mountain View, CA USA > > > > >>Randall R Schulz wrote: >> >> >> >>>Hi, >>> >>>Please forgive my creative capitalization in the Subject line. >>> >>>I had hoped that using "-nodecoration" with "-rootless" would prevent the >>>XWin server getting a taskbar icon, but alas, no. >>> >>>Is there a combination of options or a configuration file or environment >>>setting that will suppress the taskbar icon in rootless mode? >>> >>> >>>Oh, yeah... Rootless Rocks! >>> >>> >>>Randall Schulz >>>Mountain View, CA USA >>> >>> > > > From jc.gervais@videotron.ca Fri Oct 25 14:06:00 2002 From: jc.gervais@videotron.ca (Jean-Claude Gervais) Date: Fri, 25 Oct 2002 14:06:00 -0000 Subject: XWinClip - bunzip2 - problem solved! In-Reply-To: <3DB99AEE.3080605@msu.edu> Message-ID: Bing!!! Give that man a cigar! Nope, better than that, I'm going to register my copy of Cygwin, dammit! Thanks Harold. J -----Original Message----- From: cygwin-xfree-owner@cygwin.com [mailto:cygwin-xfree-owner@cygwin.com]On Behalf Of Harold L Hunt II Sent: Friday, October 25, 2002 3:27 PM To: cygwin-xfree@cygwin.com Subject: Re: XWinClip Make sure that you have the latest cygwin1.dll from yesterday's release (run setup.exe again). Several issues related to the now default ``ntsec'' option were corrected, and one of these fixes may resolve your problems. Harold Jean-Claude Gervais wrote: >Hi Bradey, > > > Thanks for helping. > > Nope, it's not that. > For one thing, this IS happening on a local drive. >The NTFS security and permissions and ownership are set properly. > As for the Cygwin ownership and rights, I am the file's owner and have all >rights to it. > >As an aside, I went though the whole user/password procedure a while ago >when I couldn't start X anymore because the user I was logged on as did not >exist as a local user (domain user), and Cygwin's policy concerning such a >situation had changed. > >Maybe this is another manifestation of the problem that that policy change >caused. > >Um, could someone send me the XWinClip Test 06 source code in a zip file and >I'll build it... > >Anyhow, I'm not sure what version of XWinClip I'm currently running, but >after a paste or two, it starts taking a lot of CPU and doesn't work >anymore. > >If that is still going on in the Test 06 source, I might perform an analysis >and figure what is going wrong with it. > >J > >-----Original Message----- >From: cygwin-xfree-owner@cygwin.com [mailto:cygwin-xfree-owner@cygwin.com]On >Behalf Of Bradey Honsinger >Sent: Friday, October 25, 2002 2:13 PM >To: 'cygwin-xfree@cygwin.com' >Subject: RE: XWinClip > >I saw that just the other day--I didn't have the appropriate permissions to >a directory on a network share, so bunzip2 couldn't create the new file >without the .bz2 extension. The "Permission denied" message is a hint, I >think :) > >Try copying the file to a local directory that you know you have permissions >on--Cygwin's /tmp is a good candidate. Double-check the permissions in >Explorer, and make sure you're the owner of the directory. You may also want >to double-check that you've run mkpasswd -d > /etc/passwd if you're in a >domain. > > - Bradey > >-----Original Message----- >From: Jean-Claude Gervais [mailto:jc.gervais@videotron.ca] >Sent: Friday, October 25, 2002 7:56 AM >To: Cygwin-XFree >Subject: XWinClip > > >Hi, > > I've followed the posted instructions for downloading and >installing XWinClip, but for some odd reason, I get the following error when >trying to extract the .EXE: > > > > >>bunzip2 xwinclip-Test06.exe.bz2 >> >> > >bunzip2: I/O or other error, bailing out. Possible reason follows. >bunzip2: Permission denied > Input file = xwinclip-Test06.exe.bz2, output file = >xwinclip-Test06.exe >bunzip2: Deleting output file xwinclip-Test06.exe, if it exists. >/home/jc > > > > >I've also tried this on a totally different computer and gotten the same >result. >Anyone have a clue as to what the problem is? > > > > From spetreolle@yahoo.fr Fri Oct 25 17:13:00 2002 From: spetreolle@yahoo.fr (=?iso-8859-1?q?Sylvain=20Petreolle?=) Date: Fri, 25 Oct 2002 17:13:00 -0000 Subject: Cannot start X In-Reply-To: <003401c27c49$f83d02c0$0146a8c0@jnpr.net> Message-ID: <20021026001310.71754.qmail@web10105.mail.yahoo.com> you must have an old copy of cygwin1.dll in your system. --- Martin Rausche a ??crit??: > Hello everyone, > > I guess this is a common question, but the FAQ didn't help. When I > say > "startx" in the shell, I get a Windows error message, which is titled > "xinit.exe - Entry Point Not Found" and the according message says > "The > procedure entry point getpwnam_r could not be located in the dynamic > link > library cygwin1.dll". ___________________________________________________________ Do You Yahoo!? -- Une adresse @yahoo.fr gratuite et en fran??ais ! Yahoo! Mail : http://fr.mail.yahoo.com From rgu@TheWorld.com Fri Oct 25 19:20:00 2002 From: rgu@TheWorld.com (Rick Umali) Date: Fri, 25 Oct 2002 19:20:00 -0000 Subject: Uses for Cygwin/XFree86 In-Reply-To: <3DB8371F.1010407@msu.edu> References: <3DB48C38.1080308@msu.edu> <3DB48C38.1080308@msu.edu> <5.1.0.14.2.20021023215645.01fdf870@pop3.cris.com> <20021024155737.GA71776922@TheWorld.com> <3DB8371F.1010407@msu.edu> Message-ID: <20021026022041.GA73570311@TheWorld.com> On Thu, Oct 24, 2002 Harold L Hunt II wrote: > If you want me to upload them, then please convert the original BMP to a > PNG using ImageMagick or some other graphics program ... > > Note that I prefer PNGs because they do not blur text like JPGs do. I captured the screen shots into Paint Shop Pro, and saved the images directly to JPG. I didn't save them into BMP, unfortunately. Paint Shop Pro lets me convert the JPGs to PNGs. I have done this, and the PNG files are on the same URL: http://members.tripod.com/rick_umali/rootless/ Let me know if you want me to redo the images and save them as PNGs directly (without the intermediate JPG file). > http://www.cse.msu.edu/~huntharo/cygwin-xfree86-rootless-xfig-etc.png Very nice screen shot, BTW. -- Rick Umali rgu@TheWorld.com www.rickumali.com From huntharo@msu.edu Fri Oct 25 19:25:00 2002 From: huntharo@msu.edu (Harold L Hunt II) Date: Fri, 25 Oct 2002 19:25:00 -0000 Subject: Uses for Cygwin/XFree86 In-Reply-To: <3DB48C38.1080308@msu.edu> References: <3DB48C38.1080308@msu.edu> <3DB48C38.1080308@msu.edu> <5.1.0.14.2.20021023215645.01fdf870@pop3.cris.com> <20021024155737.GA71776922@TheWorld.com> <3DB8371F.1010407@msu.edu> <20021026022041.GA73570311@TheWorld.com> Message-ID: <3DB9FD19.5040809@msu.edu> Rick, Unfortunately, you will have to recapture the screen shots and store them as PNGs. You only have the original shots in JPG form, so the only format that you have them in has already been run through a lossy compression scheme. This means that the text is irreversibly blurred in these images and it also means that your PNGs will be huge as they have to perfectly reproduce this blurring. If you regrab the screenshots and save them directly to PNG then the files will be about the same size as your JPGs but the text will be much crisper. Thanks for the complement on the screenshot :) Yours are nice too. Harold Rick Umali wrote: >On Thu, Oct 24, 2002 Harold L Hunt II wrote: > > >>If you want me to upload them, then please convert the original BMP to a >>PNG using ImageMagick or some other graphics program ... >> >>Note that I prefer PNGs because they do not blur text like JPGs do. >> >> > >I captured the screen shots into Paint Shop Pro, and saved the images >directly to JPG. I didn't save them into BMP, unfortunately. > >Paint Shop Pro lets me convert the JPGs to PNGs. I have done this, and >the PNG files are on the same URL: > >http://members.tripod.com/rick_umali/rootless/ > >Let me know if you want me to redo the images and save them as PNGs >directly (without the intermediate JPG file). > > > >>http://www.cse.msu.edu/~huntharo/cygwin-xfree86-rootless-xfig-etc.png >> >> > >Very nice screen shot, BTW. > >-- >Rick Umali rgu@TheWorld.com www.rickumali.com > > From mrausche@gmx.de Fri Oct 25 22:47:00 2002 From: mrausche@gmx.de (Martin Rausche) Date: Fri, 25 Oct 2002 22:47:00 -0000 Subject: Cannot start X In-Reply-To: <20021026001310.71754.qmail@web10105.mail.yahoo.com> Message-ID: <000401c27cb3$36318380$0146a8c0@jnpr.net> The question is where do I get a current one and where do I have to replace it. Cygwin setup doesn't seem to update this file, because I have all current versions installed via setup. Can I replace that file manually? Can I download it as a single file from somewhere? TIA, Martin. > -----Original Message----- > From: cygwin-xfree-owner@cygwin.com > [mailto:cygwin-xfree-owner@cygwin.com]On Behalf Of Sylvain Petreolle > Sent: Saturday, October 26, 2002 02:13 > To: cygwin-xfree@cygwin.com > Subject: Re: Cannot start X > > > you must have an old copy of cygwin1.dll in your system. > --- Martin Rausche a ??crit??: > Hello everyone, > > > > I guess this is a common question, but the FAQ didn't help. When I > > say > > "startx" in the shell, I get a Windows error message, which > is titled > > "xinit.exe - Entry Point Not Found" and the according message says > > "The > > procedure entry point getpwnam_r could not be located in the dynamic > > link > > library cygwin1.dll". > > > ___________________________________________________________ > Do You Yahoo!? -- Une adresse @yahoo.fr gratuite et en fran??ais ! > Yahoo! Mail : http://fr.mail.yahoo.com > From huntharo@msu.edu Fri Oct 25 22:52:00 2002 From: huntharo@msu.edu (Harold L Hunt II) Date: Fri, 25 Oct 2002 22:52:00 -0000 Subject: Cannot start X In-Reply-To: <000401c27cb3$36318380$0146a8c0@jnpr.net> References: <000401c27cb3$36318380$0146a8c0@jnpr.net> Message-ID: <3DBA2D80.8030203@msu.edu> Martin, You need to search your computer for ``cygwin1.dll'' and remove any copies that are not in your Cygwin directory. You must search *all directories* on your computer for cygwin1.dll. The following FAQ entry gives a little additional information on the problem: http://xfree86.cygwin.com/docs/faq/cygwin-xfree-faq.html#q-status-access-violation Harold Martin Rausche wrote: >The question is where do I get a current one and where do I have to >replace it. Cygwin setup doesn't seem to update this file, because I >have all current versions installed via setup. Can I replace that >file manually? Can I download it as a single file from somewhere? > >TIA, >Martin. > > > >>-----Original Message----- >>From: cygwin-xfree-owner@cygwin.com >>[mailto:cygwin-xfree-owner@cygwin.com]On Behalf Of Sylvain Petreolle >>Sent: Saturday, October 26, 2002 02:13 >>To: cygwin-xfree@cygwin.com >>Subject: Re: Cannot start X >> >> >>you must have an old copy of cygwin1.dll in your system. >> --- Martin Rausche a ??crit : > Hello everyone, >> >> >>>I guess this is a common question, but the FAQ didn't help. When I >>>say >>>"startx" in the shell, I get a Windows error message, which >>> >>> >>is titled >> >> >>>"xinit.exe - Entry Point Not Found" and the according message says >>>"The >>>procedure entry point getpwnam_r could not be located in the dynamic >>>link >>>library cygwin1.dll". >>> >>> >>___________________________________________________________ >>Do You Yahoo!? -- Une adresse @yahoo.fr gratuite et en fran??ais ! >>Yahoo! Mail : http://fr.mail.yahoo.com >> >> >> > > > From mrausche@gmx.de Fri Oct 25 22:58:00 2002 From: mrausche@gmx.de (Martin Rausche) Date: Fri, 25 Oct 2002 22:58:00 -0000 Subject: Cannot start X In-Reply-To: <3DBA2D80.8030203@msu.edu> Message-ID: <000a01c27cb4$c3a170d0$0146a8c0@jnpr.net> Harold, THANKS! That was the cause of my problems. There was a copy under WINNT :-( X is working now. Martin. > -----Original Message----- > From: cygwin-xfree-owner@cygwin.com > [mailto:cygwin-xfree-owner@cygwin.com]On Behalf Of Harold L Hunt II > Sent: Saturday, October 26, 2002 07:52 > To: cygwin-xfree@cygwin.com > Subject: Re: Cannot start X > > > Martin, > > You need to search your computer for ``cygwin1.dll'' and remove any > copies that are not in your Cygwin directory. You must search *all > directories* on your computer for cygwin1.dll. The following > FAQ entry > gives a little additional information on the problem: > > http://xfree86.cygwin.com/docs/faq/cygwin-xfree-faq.html#q-sta > tus-access-violation > > Harold > > Martin Rausche wrote: > > >The question is where do I get a current one and where do I have to > >replace it. Cygwin setup doesn't seem to update this file, because I > >have all current versions installed via setup. Can I replace that > >file manually? Can I download it as a single file from somewhere? > > > >TIA, > >Martin. > > > > > > > >>-----Original Message----- > >>From: cygwin-xfree-owner@cygwin.com > >>[mailto:cygwin-xfree-owner@cygwin.com]On Behalf Of Sylvain Petreolle > >>Sent: Saturday, October 26, 2002 02:13 > >>To: cygwin-xfree@cygwin.com > >>Subject: Re: Cannot start X > >> > >> > >>you must have an old copy of cygwin1.dll in your system. > >> --- Martin Rausche a ??crit : > Hello everyone, > >> > >> > >>>I guess this is a common question, but the FAQ didn't help. When I > >>>say > >>>"startx" in the shell, I get a Windows error message, which > >>> > >>> > >>is titled > >> > >> > >>>"xinit.exe - Entry Point Not Found" and the according message says > >>>"The > >>>procedure entry point getpwnam_r could not be located in > the dynamic > >>>link > >>>library cygwin1.dll". > >>> > >>> > >>___________________________________________________________ > >>Do You Yahoo!? -- Une adresse @yahoo.fr gratuite et en fran??ais ! > >>Yahoo! Mail : http://fr.mail.yahoo.com > >> > >> > >> > > > > > > > From huntharo@msu.edu Fri Oct 25 23:01:00 2002 From: huntharo@msu.edu (Harold L Hunt II) Date: Fri, 25 Oct 2002 23:01:00 -0000 Subject: Cannot start X In-Reply-To: <000a01c27cb4$c3a170d0$0146a8c0@jnpr.net> References: <000a01c27cb4$c3a170d0$0146a8c0@jnpr.net> Message-ID: <3DBA2FCE.4040201@msu.edu> Martin, Glad I could help. It was actually Sylvain Petreolle that answered your question... I just helped you understand what that answer meant. :) Harold Martin Rausche wrote: >Harold, > >THANKS! That was the cause of my problems. There was a copy under >WINNT :-( > >X is working now. > >Martin. > > > >>-----Original Message----- >>From: cygwin-xfree-owner@cygwin.com >>[mailto:cygwin-xfree-owner@cygwin.com]On Behalf Of Harold L Hunt II >>Sent: Saturday, October 26, 2002 07:52 >>To: cygwin-xfree@cygwin.com >>Subject: Re: Cannot start X >> >> >>Martin, >> >>You need to search your computer for ``cygwin1.dll'' and remove any >>copies that are not in your Cygwin directory. You must search *all >>directories* on your computer for cygwin1.dll. The following >>FAQ entry >>gives a little additional information on the problem: >> >>http://xfree86.cygwin.com/docs/faq/cygwin-xfree-faq.html#q-sta >>tus-access-violation >> >>Harold >> >>Martin Rausche wrote: >> >> >> >>>The question is where do I get a current one and where do I have to >>>replace it. Cygwin setup doesn't seem to update this file, because I >>>have all current versions installed via setup. Can I replace that >>>file manually? Can I download it as a single file from somewhere? >>> >>>TIA, >>>Martin. >>> >>> >>> >>> >>> >>>>-----Original Message----- >>>>From: cygwin-xfree-owner@cygwin.com >>>>[mailto:cygwin-xfree-owner@cygwin.com]On Behalf Of Sylvain Petreolle >>>>Sent: Saturday, October 26, 2002 02:13 >>>>To: cygwin-xfree@cygwin.com >>>>Subject: Re: Cannot start X >>>> >>>> >>>>you must have an old copy of cygwin1.dll in your system. >>>>--- Martin Rausche a ??crit : > Hello everyone, >>>> >>>> >>>> >>>> >>>>>I guess this is a common question, but the FAQ didn't help. When I >>>>>say >>>>>"startx" in the shell, I get a Windows error message, which >>>>> >>>>> >>>>> >>>>> >>>>is titled >>>> >>>> >>>> >>>> >>>>>"xinit.exe - Entry Point Not Found" and the according message says >>>>>"The >>>>>procedure entry point getpwnam_r could not be located in >>>>> >>>>> >>the dynamic >> >> >>>>>link >>>>>library cygwin1.dll". >>>>> >>>>> >>>>> >>>>> >>>>___________________________________________________________ >>>>Do You Yahoo!? -- Une adresse @yahoo.fr gratuite et en fran??ais ! >>>>Yahoo! Mail : http://fr.mail.yahoo.com >>>> >>>> >>>> >>>> >>>> >>> >>> >>> > > > From Max.Buvry@enseeiht.fr Sat Oct 26 01:33:00 2002 From: Max.Buvry@enseeiht.fr (Max Buvry) Date: Sat, 26 Oct 2002 01:33:00 -0000 Subject: Ported X11 soft from Solaris Message-ID: <3DBA534D.D045D8E9@enseeiht.fr> Hi, I use cygwin/xfree under XP and I attempt to port a graphic application which runs under Solaris 7. The beginning of my makefile is : CC = gcc COPT= -O -c -g -Wall LIB = -lSM -lXpm -lXaw -lXmu -lXt -lX11 -lXext -lm -lc -lpq CFLAGS = -I/usr/include/ -I/usr/X11R6/include/ LDFLAGS = -L/usr/X11R6/lib -L/usr/lib The adresses of the include files and the libraries is correct for my installation. Under Solaris, I don't need the SM and Xpm library. I added it under cygwin because of the following messages. My 2 problems is shown by the following make. The first problem is a warning but I don't understand it. The second is a problem of unreseolved references but I don't find the correction. in advance, thanks for your help mb $ make gcc -O -c -g -Wall -I/usr/include/ -I/usr/X11R6/include/ gestion_scores.c cc1: warning: changing search order for system directory "/usr/include" cc1: warning: as it has already been specified as a non-system directory gcc -L/usr/X11R6/lib -L/usr/lib -o Tetris dep_horiz.o interface_X.o main.o boutons.o tetris.o Scale.o gestion_scores.o rotation.o colorer.o lignes_pleines.o -lSM -lXpm -lXaw -lXmu -lXt -lX11 -lXext -lm -lc -lpq /usr/X11R6/lib/libXaw.a(Pixmap.o)(.text+0x1d4b):Pixmap.c: undefined reference to `_XpmReadFileToPixmap' /usr/X11R6/lib/libXt.a(Shell.o)(.text+0x3536):Shell.c: undefined reference to `_SmcCloseConnection' /usr/X11R6/lib/libXt.a(Shell.o)(.text+0x3617):Shell.c: undefined reference to `_SmcModifyCallbacks' /usr/X11R6/lib/libXt.a(Shell.o)(.text+0x3626):Shell.c: undefined reference to `_SmcClientID' /usr/X11R6/lib/libXt.a(Shell.o)(.text+0x3686):Shell.c: undefined reference to `_SmcOpenConnection From Benjamin.Riefenstahl@epost.de Sat Oct 26 05:13:00 2002 From: Benjamin.Riefenstahl@epost.de (Benjamin Riefenstahl) Date: Sat, 26 Oct 2002 05:13:00 -0000 Subject: Ported X11 soft from Solaris In-Reply-To: <3DBA534D.D045D8E9@enseeiht.fr> References: <3DBA534D.D045D8E9@enseeiht.fr> Message-ID: Hi Max, Max Buvry writes: > LIB = -lSM -lXpm -lXaw -lXmu -lXt -lX11 -lXext -lm -lc -lpq Don't specify the C runtime libraries, they are implied and adding them here can only do harm. IOW drop "-lm -lc". > CFLAGS = -I/usr/include/ -I/usr/X11R6/include/ Same with C runtime header directories. Drop "-I/usr/include". > [. . .] > > $ make > gcc -O -c -g -Wall -I/usr/include/ -I/usr/X11R6/include/ > gestion_scores.c > cc1: warning: changing search order for system directory "/usr/include" > cc1: warning: as it has already been specified as a non-system > directory The compiler is irritated because you specified the redundant "-I/usr/include" in your CFLAGS above. > gcc -L/usr/X11R6/lib -L/usr/lib -o Tetris dep_horiz.o interface_X.o > main.o boutons.o tetris.o Scale.o gestion_scores.o rotation.o > colorer.o lignes_pleines.o -lSM -lXpm -lXaw -lXmu -lXt -lX11 -lXext > -lm -lc -lpq The next warnings are because the linker examines the libraries from left to right *once* only, therefore the order of your "-l" options matters. > /usr/X11R6/lib/libXaw.a(Pixmap.o)(.text+0x1d4b):Pixmap.c: undefined > reference to `_XpmReadFileToPixmap' Says that libXaw.a reference a symbol that is probably in libXpm.a. So you need to have -lXaw *before* -lXpm. > /usr/X11R6/lib/libXt.a(Shell.o)(.text+0x3536):Shell.c: undefined > reference to `_SmcCloseConnection' > /usr/X11R6/lib/libXt.a(Shell.o)(.text+0x3617):Shell.c: undefined > reference to `_SmcModifyCallbacks' > /usr/X11R6/lib/libXt.a(Shell.o)(.text+0x3626):Shell.c: undefined > reference to `_SmcClientID' > /usr/X11R6/lib/libXt.a(Shell.o)(.text+0x3686):Shell.c: undefined > reference to `_SmcOpenConnection Similar problems with -lXt and -lSM, I guess. so long, benny From zakki@peppermint.jp Sat Oct 26 08:28:00 2002 From: zakki@peppermint.jp (Kensuke Matsuzaki) Date: Sat, 26 Oct 2002 08:28:00 -0000 Subject: [ANNOUNCEMENT] Server Test 68 In-Reply-To: References: Message-ID: Rootless mode initialize in CreateWindow, and clean up in DestroyWindow. But DestroyWindow is seldom called(I don't know why), so we can't delete HRGN and resource leaks. In XDarwin, it seems that they use RootlessRealizeWindow/RootlessUnrealizeWindow. We will need to move code to winMapWindowPRootless/winUnmapWindowPRootless. Kensuke Matsuzaki From Alexander.Gottwald@informatik.tu-chemnitz.de Sun Oct 27 06:12:00 2002 From: Alexander.Gottwald@informatik.tu-chemnitz.de (Alexander Gottwald) Date: Sun, 27 Oct 2002 06:12:00 -0000 Subject: Keyboard confusion In-Reply-To: <3DB95FDD.57D546FC@morganstanley.com> Message-ID: Robert White wrote: > Hi > > I have noticed that when I am using the Xwin it seems to detect that I am using > an Amercan Keyboard, rather than the British one. The XServer is not detecting anything. You'll have to configure it in /etc/X11/XF86Config. > This is not the behaviour > outside the X server. (I.e in a cygwin command prompt window the keyboard map is > correct). > > Not having the XF86config I understand from the documentation that Xwin is > configured from a combination of the native env and command line switches. Maybe the XF86Config file is not installed by default but the newest release now read this file if it exists. A sample file can be found at http://www-user.tu-chemnitz.de/~goal/xfree/XF86Config-4.bz2 > I have checked the region settings and they are set to United Kingdom, althougth > the checkbox set as system wide locale is not selected. The windows settings have no effect to XWin. bye ago NP: Project Pitchfork - Malicious Delight -- Alexander.Gottwald@informatik.tu-chemnitz.de http://www.gotti.org ICQ: 126018723 From sam.edgeZZZ@lineone.net Sun Oct 27 07:11:00 2002 From: sam.edgeZZZ@lineone.net (Sam Edge) Date: Sun, 27 Oct 2002 07:11:00 -0000 Subject: ttmkfdir download location Message-ID: <4tvnruor9eq47djki9b1mpptpp93234nfb@4ax.com> Just a note to say that the download location for my Cygwin binary of Joerg Pommnitz's ttmkfdir has changed from the one given on http://xfree86.cygwin.com/ported-software.html due to a redesign to a frameset-less format. The correct URI is now http://fundin.f2g.net/download.html. Perhaps the maintainers of the Cygwin/XFree web pages could update the link when they get a moment. Thanks. -- Sam From jc.gervais@videotron.ca Sun Oct 27 07:44:00 2002 From: jc.gervais@videotron.ca (Jean-Claude Gervais) Date: Sun, 27 Oct 2002 07:44:00 -0000 Subject: True-type Fonts on *nixes and Cygwin XFree also? In-Reply-To: <4tvnruor9eq47djki9b1mpptpp93234nfb@4ax.com> Message-ID: Hi, I recently read this article http://corefonts.sourceforge.net/ And applied the procedure to my Linux machine. My question is, how relevant is this to Cygwin? Meaning, does Cygwin use True-Type and anti-aliased fonts? If Cygwin can use anti-aliased fonts, how do you get that working? The installation procedure has a few steps that pertain to the RPM module. I tried downloading the Cygwin port of it, and the link seems to be broken. Does anyone have information on anti-aliased fonts on Cygwin? From sb@dod.no Sun Oct 27 11:43:00 2002 From: sb@dod.no (Steinar Bang) Date: Sun, 27 Oct 2002 11:43:00 -0000 Subject: Uses for Cygwin/XFree86 References: <3DB48C38.1080308@msu.edu> <3DB48C38.1080308@msu.edu> <5.1.0.14.2.20021023215645.01fdf870@pop3.cris.com> <20021024155737.GA71776922@TheWorld.com> <3DB8371F.1010407@msu.edu> <20021026022041.GA73570311@TheWorld.com> Message-ID: <87k7k3u0pz.fsf@doohan.bang.priv.no> >>>>> Rick Umali : > I captured the screen shots into Paint Shop Pro, and saved the > images directly to JPG. I didn't save them into BMP, unfortunately. Once you have saved them as JPEGs, the blurring has already occurred. What happens is that sharp transitions are blurred because of the quantization done by the JPEG algorithm. Basically, the high frequency components in the image are chopped away. From ehud@unix.mvs.co.il Mon Oct 28 03:10:00 2002 From: ehud@unix.mvs.co.il (Ehud Karni) Date: Mon, 28 Oct 2002 03:10:00 -0000 Subject: Uses for Cygwin/XFree86 In-Reply-To: <87k7k3u0pz.fsf@doohan.bang.priv.no> (message from Steinar Bang on Sun, 27 Oct 2002 20:43:20 +0100) References: <3DB48C38.1080308@msu.edu> <3DB48C38.1080308@msu.edu> <5.1.0.14.2.20021023215645.01fdf870@pop3.cris.com> <20021024155737.GA71776922@TheWorld.com> <3DB8371F.1010407@msu.edu> <20021026022041.GA73570311@TheWorld.com> <87k7k3u0pz.fsf@doohan.bang.priv.no> Message-ID: <200210281113.g9SBDHTx009318@beta.mvs.co.il> On Sun, 27 Oct 2002 20:43:20 +0100, Steinar Bang wrote: > > >>>>> Rick Umali : > > > I captured the screen shots into Paint Shop Pro, and saved the > > images directly to JPG. I didn't save them into BMP, unfortunately. > > Once you have saved them as JPEGs, the blurring has already occurred. > > What happens is that sharp transitions are blurred because of the > quantization done by the JPEG algorithm. Basically, the high > frequency components in the image are chopped away. May I suggest the use of Irfan view ( http://www.irfanview.com/ ). It is a freeware, It can capture the whole screen (or a window) and save it in many formats (including png). Ehud. -- Ehud Karni Tel: +972-3-7966-561 /"\ Mivtach - Simon Fax: +972-3-7966-667 \ / ASCII Ribbon Campaign Insurance agencies (USA) voice mail and X Against HTML Mail http://www.mvs.co.il FAX: 1-815-5509341 / \ mailto:ehud@unix.mvs.co.il Better Safe Than Sorry From c_twiner@hotmail.com Tue Oct 29 07:43:00 2002 From: c_twiner@hotmail.com (Chris Twiner) Date: Tue, 29 Oct 2002 07:43:00 -0000 Subject: right mouse button doesn't work (re: old subject) Message-ID: Hi All, A while ago the point was made that when using X from a solaris system to cygwin the right mouse button did not work. Mentions of recompiling x for solaris were mentioned but no conclusion was shown. Only a post by Harold that someone got it working. Suffice to say I have such a situation. It happens on my home solaris box and those at work. Whilst messing around on my own box is ok, it's definitely not for the work machines. Was any conclusion reached? Did anyone have a solution? Chris _________________________________________________________________ Internet access plans that fit your lifestyle -- join MSN. http://resourcecenter.msn.com/access/plans/default.asp From huntharo@msu.edu Tue Oct 29 07:47:00 2002 From: huntharo@msu.edu (Harold L Hunt II) Date: Tue, 29 Oct 2002 07:47:00 -0000 Subject: right mouse button doesn't work (re: old subject) In-Reply-To: References: Message-ID: <3DBEAD9E.9060506@msu.edu> Chris, If you can send me the date of that post by me, I can check my email when I get home to see how sent me private information about their fix. I can then either forward the information they gave me, assuming they gave me some and that I still have it, or I can try to contact them regarding their solution. Of course, it would be great if someone out there has dealt with this and could just send in their solution... Harold Chris Twiner wrote: > Hi All, > > A while ago the point was made that when using X from a solaris system > to cygwin the right mouse button did not work. > > Mentions of recompiling x for solaris were mentioned but no conclusion > was shown. Only a post by Harold that someone got it working. > > Suffice to say I have such a situation. It happens on my home solaris > box and those at work. Whilst messing around on my own box is ok, > it's definitely not for the work machines. > > Was any conclusion reached? Did anyone have a solution? > > Chris > > > > > > _________________________________________________________________ > Internet access plans that fit your lifestyle -- join MSN. > http://resourcecenter.msn.com/access/plans/default.asp > From c_twiner@hotmail.com Tue Oct 29 08:15:00 2002 From: c_twiner@hotmail.com (Chris Twiner) Date: Tue, 29 Oct 2002 08:15:00 -0000 Subject: right mouse button doesn't work (re: old subject) Message-ID: Hi Harold, The address of the old message is here, http://www.cygwin.com/ml/cygwin-xfree/2001-q4/msg00272.html David Esposito is the person who said he had everything working. Just a little info, I checked xmodmap -pp and all the mappings are ok, running NEdit on the local machine (cygwin to cygwin) works fine, NEdit from the solaris box doesn't. Also some other applications that are used at work don't. Incidently there is also a drag and drop issue. The cursor changes to indicate the drag has started but the window never recieves the drop (although the initiator changes the cursor back). It's possibly the same issue. I did the xev check as well, just to make sure it was somewhere between solaris and the solaris default X server system (i.e. using nedit as a server to cygwin). cheers, Chris _________________________________________________________________ Surf the Web without missing calls!??Get MSN Broadband. http://resourcecenter.msn.com/access/plans/freeactivation.asp From c_twiner@hotmail.com Tue Oct 29 08:44:00 2002 From: c_twiner@hotmail.com (Chris Twiner) Date: Tue, 29 Oct 2002 08:44:00 -0000 Subject: right mouse button doesn't work (re: old subject) Message-ID: Hi Harold, Just got some extra info. Rather curiously holding down ctrl and clicking the right mouse button works as expected. This further compounds the issue given that some button 3 messages are definitely getting through. cheers, Chris _________________________________________________________________ Surf the Web without missing calls! Get MSN Broadband. http://resourcecenter.msn.com/access/plans/freeactivation.asp From guilherme.barbosa@sangari.com.br Tue Oct 29 12:28:00 2002 From: guilherme.barbosa@sangari.com.br (guilherme.barbosa@sangari.com.br) Date: Tue, 29 Oct 2002 12:28:00 -0000 Subject: Doubt about vi editor Message-ID: Dear friend, I'm trying to install the vi editor in my computer and I'd like to know how can i do this, because when I find out the link of the vi at cygwin site, I can't do the dowload. Please help me! Thank??s a lot. Guilherme From frank.l.lane@boeing.com Tue Oct 29 12:31:00 2002 From: frank.l.lane@boeing.com (Lane, Frank L) Date: Tue, 29 Oct 2002 12:31:00 -0000 Subject: Doubt about vi editor Message-ID: <3B2480653E7D2C4E8AA5699598D691C42300A7@xch-se-03.se.nos.boeing.com> This is one I can answer, I think. You have to go back to the reinstall site and start the reinstall. When you get to the point that you specify things to install scroll down until you see the vim (vi iMproved) package. Select this package, for some reason it doesn't automatically get installed. Things should work great for you after that. BTW, I always download the binaries, if you download the source you'll have to build the editor. Good Luck, Frank -----Original Message----- From: guilherme.barbosa@sangari.com.br [mailto:guilherme.barbosa@sangari.com.br] Sent: Tuesday, October 29, 2002 2:30 PM To: cygwin-xfree@cygwin.com Subject: Doubt about vi editor Dear friend, I'm trying to install the vi editor in my computer and I'd like to know how can i do this, because when I find out the link of the vi at cygwin site, I can't do the dowload. Please help me! Thank?s a lot. Guilherme From c_twiner@hotmail.com Wed Oct 30 04:02:00 2002 From: c_twiner@hotmail.com (Chris Twiner) Date: Wed, 30 Oct 2002 04:02:00 -0000 Subject: right mouse button doesn't work (re: old subject) Message-ID: Hi All, got the problem. When the num-lock is on it won't work properly in nedit: similar problem non-cygwin related: www.nedit.org slash archives slash discuss slash 2000-Mar slash 0383.html (slashed it so it would go through the spam filter) So it's possibly an application problem I'm looking at. Why it works on local and not remote I don't know. It doesn't help with the other application though. (Drag and drop and right mouse button, which works under exceed). The application is Razor by the way. chris _________________________________________________________________ Unlimited Internet access -- and 2 months free!?? Try MSN. http://resourcecenter.msn.com/access/plans/2monthsfree.asp From bob.cavanaugh@flextronics.com Wed Oct 30 17:55:00 2002 From: bob.cavanaugh@flextronics.com (bob.cavanaugh@flextronics.com) Date: Wed, 30 Oct 2002 17:55:00 -0000 Subject: Building Eterm - please more help Message-ID: Hello, I am still trying to build Eterm for Cygwin. I have now successfully got cygipc running (thanks J. L!) and have built Imlib2 (Thanks Harold!). The Eterm source appears to compile completely, but is failing in the linker. Here is the messages from the make process. I included the entire thing in case I missed something. The main problem I am having is the undefined references. Any help will be gratefully appreciated. make all-recursive make[1]: Entering directory `/usr/local/Eterm-0.9.1' Making all in src make[2]: Entering directory `/usr/local/Eterm-0.9.1/src' /bin/sh ../libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/include -I/usr/X11R6/include -g -O2 -c actions.c gcc -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/include -I/usr/X11R6/include -g -O2 -c actions.c -o actions.o In file included from actions.c:30: /usr/include/limits.h:128: warning: `PATH_MAX' redefined /usr/local/include/libast.h:357: warning: this is the location of the previous definition echo timestamp > actions.lo /bin/sh ../libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/include -I/usr/X11R6/include -g -O2 -c buttons.c gcc -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/include -I/usr/X11R6/include -g -O2 -c buttons.c -o buttons.o In file included from command.h:23, from buttons.c:32: /usr/include/limits.h:128: warning: `PATH_MAX' redefined /usr/local/include/libast.h:357: warning: this is the location of the previous definition echo timestamp > buttons.lo /bin/sh ../libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/include -I/usr/X11R6/include -g -O2 -c command.c gcc -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/include -I/usr/X11R6/include -g -O2 -c command.c -o command.o In file included from command.c:59: /usr/include/limits.h:128: warning: `PATH_MAX' redefined /usr/local/include/libast.h:357: warning: this is the location of the previous definition echo timestamp > command.lo /bin/sh ../libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/include -I/usr/X11R6/include -g -O2 -c draw.c gcc -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/include -I/usr/X11R6/include -g -O2 -c draw.c -o draw.o echo timestamp > draw.lo /bin/sh ../libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/include -I/usr/X11R6/include -g -O2 -c e.c gcc -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/include -I/usr/X11R6/include -g -O2 -c e.c -o e.o In file included from e.c:32: /usr/include/limits.h:128: warning: `PATH_MAX' redefined /usr/local/include/libast.h:357: warning: this is the location of the previous definition echo timestamp > e.lo /bin/sh ../libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/include -I/usr/X11R6/include -g -O2 -c events.c gcc -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/include -I/usr/X11R6/include -g -O2 -c events.c -o events.o In file included from events.c:32: /usr/include/limits.h:128: warning: `PATH_MAX' redefined /usr/local/include/libast.h:357: warning: this is the location of the previous definition echo timestamp > events.lo /bin/sh ../libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/include -I/usr/X11R6/include -g -O2 -c font.c gcc -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/include -I/usr/X11R6/include -g -O2 -c font.c -o font.o In file included from font.c:32: /usr/include/limits.h:128: warning: `PATH_MAX' redefined /usr/local/include/libast.h:357: warning: this is the location of the previous definition echo timestamp > font.lo /bin/sh ../libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/include -I/usr/X11R6/include -g -O2 -c grkelot.c gcc -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/include -I/usr/X11R6/include -g -O2 -c grkelot.c -o grkelot.o echo timestamp > grkelot.lo /bin/sh ../libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/include -I/usr/X11R6/include -g -O2 -c menus.c gcc -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/include -I/usr/X11R6/include -g -O2 -c menus.c -o menus.o In file included from command.h:23, from menus.c:31: /usr/include/limits.h:128: warning: `PATH_MAX' redefined /usr/local/include/libast.h:357: warning: this is the location of the previous definition echo timestamp > menus.lo /bin/sh ../libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/include -I/usr/X11R6/include -g -O2 -c misc.c gcc -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/include -I/usr/X11R6/include -g -O2 -c misc.c -o misc.o In file included from command.h:23, from misc.c:39: /usr/include/limits.h:128: warning: `PATH_MAX' redefined /usr/local/include/libast.h:357: warning: this is the location of the previous definition echo timestamp > misc.lo /bin/sh ../libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/include -I/usr/X11R6/include -g -O2 -c netdisp.c gcc -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/include -I/usr/X11R6/include -g -O2 -c netdisp.c -o netdisp.o echo timestamp > netdisp.lo /bin/sh ../libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/include -I/usr/X11R6/include -g -O2 -c options.c gcc -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/include -I/usr/X11R6/include -g -O2 -c options.c -o options.o In file included from options.c:38: /usr/include/limits.h:128: warning: `PATH_MAX' redefined /usr/local/include/libast.h:357: warning: this is the location of the previous definition echo timestamp > options.lo /bin/sh ../libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/include -I/usr/X11R6/include -g -O2 -c pixmap.c gcc -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/include -I/usr/X11R6/include -g -O2 -c pixmap.c -o pixmap.o In file included from command.h:23, from pixmap.c:41: /usr/include/limits.h:128: warning: `PATH_MAX' redefined /usr/local/include/libast.h:357: warning: this is the location of the previous definition echo timestamp > pixmap.lo /bin/sh ../libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/include -I/usr/X11R6/include -g -O2 -c screen.c gcc -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/include -I/usr/X11R6/include -g -O2 -c screen.c -o screen.o In file included from command.h:23, from screen.c:35: /usr/include/limits.h:128: warning: `PATH_MAX' redefined /usr/local/include/libast.h:357: warning: this is the location of the previous definition echo timestamp > screen.lo /bin/sh ../libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/include -I/usr/X11R6/include -g -O2 -c script.c gcc -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/include -I/usr/X11R6/include -g -O2 -c script.c -o script.o In file included from script.c:32: /usr/include/limits.h:128: warning: `PATH_MAX' redefined /usr/local/include/libast.h:357: warning: this is the location of the previous definition echo timestamp > script.lo /bin/sh ../libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/include -I/usr/X11R6/include -g -O2 -c scrollbar.c gcc -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/include -I/usr/X11R6/include -g -O2 -c scrollbar.c -o scrollbar.o In file included from command.h:23, from scrollbar.c:32: /usr/include/limits.h:128: warning: `PATH_MAX' redefined /usr/local/include/libast.h:357: warning: this is the location of the previous definition echo timestamp > scrollbar.lo /bin/sh ../libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/include -I/usr/X11R6/include -g -O2 -c startup.c gcc -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/include -I/usr/X11R6/include -g -O2 -c startup.c -o startup.o In file included from command.h:23, from startup.c:46: /usr/include/limits.h:128: warning: `PATH_MAX' redefined /usr/local/include/libast.h:357: warning: this is the location of the previous definition echo timestamp > startup.lo /bin/sh ../libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/include -I/usr/X11R6/include -g -O2 -c system.c gcc -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/include -I/usr/X11R6/include -g -O2 -c system.c -o system.o In file included from command.h:23, from system.c:39: /usr/include/limits.h:128: warning: `PATH_MAX' redefined /usr/local/include/libast.h:357: warning: this is the location of the previous definition echo timestamp > system.lo /bin/sh ../libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/include -I/usr/X11R6/include -g -O2 -c term.c gcc -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/include -I/usr/X11R6/include -g -O2 -c term.c -o term.o In file included from term.c:32: /usr/include/limits.h:128: warning: `PATH_MAX' redefined /usr/local/include/libast.h:357: warning: this is the location of the previous definition echo timestamp > term.lo /bin/sh ../libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/include -I/usr/X11R6/include -g -O2 -c timer.c gcc -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/include -I/usr/X11R6/include -g -O2 -c timer.c -o timer.o In file included from timer.c:32: /usr/include/limits.h:128: warning: `PATH_MAX' redefined /usr/local/include/libast.h:357: warning: this is the location of the previous definition echo timestamp > timer.lo /bin/sh ../libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/include -I/usr/X11R6/include -g -O2 -c utmp.c gcc -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/include -I/usr/X11R6/include -g -O2 -c utmp.c -o utmp.o echo timestamp > utmp.lo /bin/sh ../libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/include -I/usr/X11R6/include -g -O2 -c windows.c gcc -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/include -I/usr/X11R6/include -g -O2 -c windows.c -o windows.o In file included from windows.c:32: /usr/include/limits.h:128: warning: `PATH_MAX' redefined /usr/local/include/libast.h:357: warning: this is the location of the previous definition echo timestamp > windows.lo /bin/sh ../libtool --mode=link gcc -g -O2 -L/usr/lib -L/usr/X11R6/lib -o libEterm.la -rpath /usr/lib -release 0.9.1 actions.lo buttons.lo command.lo draw.lo e.lo events.lo font.lo grkelot.lo menus.lo misc.lo netdisp.lo options.lo pixmap.lo screen.lo script.lo scrollbar.lo startup.lo system.lo term.lo timer.lo utmp.lo windows.lo -last -lImlib2 -lttf -lSM -lICE -lXext -lX11 -lm -lipc libtool: link: warning: undefined symbols not allowed in i686-pc-cygwin shared libraries mkdir .libs ar cru .libs/libEterm.a actions.o buttons.o command.o draw.o e.o events.o font.o grkelot.o menus.o misc.o netdisp.o options.o pixmap.o screen.o script.o scrollbar.o startup.o system.o term.o timer.o utmp.o windows.o ranlib .libs/libEterm.a creating libEterm.la (cd .libs && rm -f libEterm.la && ln -s ../libEterm.la libEterm.la) gcc -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/include -I/usr/X11R6/include -g -O2 -c main.c /bin/sh ../libtool --mode=link gcc -g -O2 -L/usr/lib -L/usr/X11R6/lib -o Eterm -rpath /usr/lib:/usr/lib/Eterm main.o libEterm.la -last -lImlib2 -lttf -lSM -lICE -lXext -lX11 -lm -lipc gcc -g -O2 -L/usr/lib -L/usr/X11R6/lib -o Eterm main.o .libs/libEterm.a -last -lImlib2 -lttf -lSM -lICE -lXext -lX11 -lipc -last -lImlib2 -lttf -lSM -lICE -lXext -lX11 -lipc -Wl,--rpath -Wl,/usr/lib:/usr/lib/Eterm -Wl,--rpath -Wl,/usr/lib:/usr/lib/Eterm .libs/libEterm.a(screen.o): In function `selection_copy_string': /usr/local/Eterm-0.9.1/src/screen.c:2455: undefined reference to `_XA_CLIPBOARD' /usr/local/Eterm-0.9.1/src/screen.c:2455: undefined reference to `XmuInternAtom' .libs/libEterm.a(screen.o): In function `selection_paste': /usr/local/Eterm-0.9.1/src/screen.c:2482: undefined reference to `_XA_CLIPBOARD' /usr/local/Eterm-0.9.1/src/screen.c:2482: undefined reference to `XmuInternAtom' collect2: ld returned 1 exit status make[2]: *** [Eterm] Error 1 make[2]: Leaving directory `/usr/local/Eterm-0.9.1/src' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/usr/local/Eterm-0.9.1' make: *** [all-recursive-am] Error 2 Thanks, Robert Cavanaugh Senior Firmware Engineer Flextronics Design Mountain States Engineering Salt Lake City, Utah (801)-685-9330 From huntharo@msu.edu Wed Oct 30 19:17:00 2002 From: huntharo@msu.edu (Harold L Hunt II) Date: Wed, 30 Oct 2002 19:17:00 -0000 Subject: Building Eterm - please more help In-Reply-To: References: Message-ID: <3DC0A0AD.7040303@msu.edu> Robert, Well, eterm's libast is contains the file that is being put in /usr/local/include/libast.h... and that file has had the following code as far back as the CVS history goes: #*if* *defined*(PATH_MAX) && (PATH_MAX < 255) # *undef* PATH_MAX #*endif* #*ifndef* PATH_MAX # *define* PATH_MAX 255 #*endif Now, I cannot say that the (PATH_MAX < 255) conditional is actually going to mean anything to the C preprocessor that we use, and I will bet you money that this just breaks differently on other platforms such that PATH_MAX is not being redefined (it is probably never defined on those platforms). In any case, I am going to have to tell you the secret that makes all of us ``hackers'' real men. Okay, the secret is, when something in a header conflicts with a system header, you do three things: 1) #if 0 the section in the offending header that redefines what the system headers defines. 2) Do a test compile and see if the point of error moves on to some other point. 3) If you succeed at #2, then go back and either fix the broken #define code or add a platform-specific kludge that prevents that section from doing harm on your platform. That is how we get things compiled, and some of us go back and clean the mess up later so that the changes can actuall be committed so CVS. :) There, you are now much wiser, and I think you know that I am trying to tell you to do next, right? Harold P.S. Okay, just in case, goto /usr/local/include/libast.h and #if 0 the section that I quoted above. Rebuild. If the build still fails, go look again at /usr/local/include/libast.h and make sure that it has not been replaced with an original version during the build process; in which case you would need to edit the version of libast.h in your source tree (which you will eventually have to do anyway). * bob.cavanaugh@flextronics.com wrote: >Hello, >I am still trying to build Eterm for Cygwin. I have now successfully got cygipc >running (thanks J. L!) and have built Imlib2 (Thanks Harold!). The Eterm source >appears to compile completely, but is failing in the linker. Here is the >messages from the make process. I included the entire thing in case I missed >something. The main problem I am having is the undefined references. Any help >will be gratefully appreciated. > >make all-recursive >make[1]: Entering directory `/usr/local/Eterm-0.9.1' >Making all in src >make[2]: Entering directory `/usr/local/Eterm-0.9.1/src' >/bin/sh ../libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I.. >-I/usr/include -I/usr/X11R6/include -g -O2 -c actions.c >gcc -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/include -I/usr/X11R6/include -g -O2 -c >actions.c -o actions.o >In file included from actions.c:30: >/usr/include/limits.h:128: warning: `PATH_MAX' redefined >/usr/local/include/libast.h:357: warning: this is the location of the previous >definition >echo timestamp > actions.lo >/bin/sh ../libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I.. >-I/usr/include -I/usr/X11R6/include -g -O2 -c buttons.c >gcc -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/include -I/usr/X11R6/include -g -O2 -c >buttons.c -o buttons.o >In file included from command.h:23, > from buttons.c:32: >/usr/include/limits.h:128: warning: `PATH_MAX' redefined >/usr/local/include/libast.h:357: warning: this is the location of the previous >definition >echo timestamp > buttons.lo >/bin/sh ../libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I.. >-I/usr/include -I/usr/X11R6/include -g -O2 -c command.c >gcc -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/include -I/usr/X11R6/include -g -O2 -c >command.c -o command.o >In file included from command.c:59: >/usr/include/limits.h:128: warning: `PATH_MAX' redefined >/usr/local/include/libast.h:357: warning: this is the location of the previous >definition >echo timestamp > command.lo >/bin/sh ../libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I.. >-I/usr/include -I/usr/X11R6/include -g -O2 -c draw.c >gcc -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/include -I/usr/X11R6/include -g -O2 -c >draw.c -o draw.o >echo timestamp > draw.lo >/bin/sh ../libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I.. >-I/usr/include -I/usr/X11R6/include -g -O2 -c e.c >gcc -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/include -I/usr/X11R6/include -g -O2 -c >e.c -o e.o >In file included from e.c:32: >/usr/include/limits.h:128: warning: `PATH_MAX' redefined >/usr/local/include/libast.h:357: warning: this is the location of the previous >definition >echo timestamp > e.lo >/bin/sh ../libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I.. >-I/usr/include -I/usr/X11R6/include -g -O2 -c events.c >gcc -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/include -I/usr/X11R6/include -g -O2 -c >events.c -o events.o >In file included from events.c:32: >/usr/include/limits.h:128: warning: `PATH_MAX' redefined >/usr/local/include/libast.h:357: warning: this is the location of the previous >definition >echo timestamp > events.lo >/bin/sh ../libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I.. >-I/usr/include -I/usr/X11R6/include -g -O2 -c font.c >gcc -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/include -I/usr/X11R6/include -g -O2 -c >font.c -o font.o >In file included from font.c:32: >/usr/include/limits.h:128: warning: `PATH_MAX' redefined >/usr/local/include/libast.h:357: warning: this is the location of the previous >definition >echo timestamp > font.lo >/bin/sh ../libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I.. >-I/usr/include -I/usr/X11R6/include -g -O2 -c grkelot.c >gcc -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/include -I/usr/X11R6/include -g -O2 -c >grkelot.c -o grkelot.o >echo timestamp > grkelot.lo >/bin/sh ../libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I.. >-I/usr/include -I/usr/X11R6/include -g -O2 -c menus.c >gcc -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/include -I/usr/X11R6/include -g -O2 -c >menus.c -o menus.o >In file included from command.h:23, > from menus.c:31: >/usr/include/limits.h:128: warning: `PATH_MAX' redefined >/usr/local/include/libast.h:357: warning: this is the location of the previous >definition >echo timestamp > menus.lo >/bin/sh ../libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I.. >-I/usr/include -I/usr/X11R6/include -g -O2 -c misc.c >gcc -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/include -I/usr/X11R6/include -g -O2 -c >misc.c -o misc.o >In file included from command.h:23, > from misc.c:39: >/usr/include/limits.h:128: warning: `PATH_MAX' redefined >/usr/local/include/libast.h:357: warning: this is the location of the previous >definition >echo timestamp > misc.lo >/bin/sh ../libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I.. >-I/usr/include -I/usr/X11R6/include -g -O2 -c netdisp.c >gcc -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/include -I/usr/X11R6/include -g -O2 -c >netdisp.c -o netdisp.o >echo timestamp > netdisp.lo >/bin/sh ../libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I.. >-I/usr/include -I/usr/X11R6/include -g -O2 -c options.c >gcc -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/include -I/usr/X11R6/include -g -O2 -c >options.c -o options.o >In file included from options.c:38: >/usr/include/limits.h:128: warning: `PATH_MAX' redefined >/usr/local/include/libast.h:357: warning: this is the location of the previous >definition >echo timestamp > options.lo >/bin/sh ../libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I.. >-I/usr/include -I/usr/X11R6/include -g -O2 -c pixmap.c >gcc -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/include -I/usr/X11R6/include -g -O2 -c >pixmap.c -o pixmap.o >In file included from command.h:23, > from pixmap.c:41: >/usr/include/limits.h:128: warning: `PATH_MAX' redefined >/usr/local/include/libast.h:357: warning: this is the location of the previous >definition >echo timestamp > pixmap.lo >/bin/sh ../libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I.. >-I/usr/include -I/usr/X11R6/include -g -O2 -c screen.c >gcc -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/include -I/usr/X11R6/include -g -O2 -c >screen.c -o screen.o >In file included from command.h:23, > from screen.c:35: >/usr/include/limits.h:128: warning: `PATH_MAX' redefined >/usr/local/include/libast.h:357: warning: this is the location of the previous >definition >echo timestamp > screen.lo >/bin/sh ../libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I.. >-I/usr/include -I/usr/X11R6/include -g -O2 -c script.c >gcc -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/include -I/usr/X11R6/include -g -O2 -c >script.c -o script.o >In file included from script.c:32: >/usr/include/limits.h:128: warning: `PATH_MAX' redefined >/usr/local/include/libast.h:357: warning: this is the location of the previous >definition >echo timestamp > script.lo >/bin/sh ../libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I.. >-I/usr/include -I/usr/X11R6/include -g -O2 -c scrollbar.c >gcc -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/include -I/usr/X11R6/include -g -O2 -c >scrollbar.c -o scrollbar.o >In file included from command.h:23, > from scrollbar.c:32: >/usr/include/limits.h:128: warning: `PATH_MAX' redefined >/usr/local/include/libast.h:357: warning: this is the location of the previous >definition >echo timestamp > scrollbar.lo >/bin/sh ../libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I.. >-I/usr/include -I/usr/X11R6/include -g -O2 -c startup.c >gcc -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/include -I/usr/X11R6/include -g -O2 -c >startup.c -o startup.o >In file included from command.h:23, > from startup.c:46: >/usr/include/limits.h:128: warning: `PATH_MAX' redefined >/usr/local/include/libast.h:357: warning: this is the location of the previous >definition >echo timestamp > startup.lo >/bin/sh ../libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I.. >-I/usr/include -I/usr/X11R6/include -g -O2 -c system.c >gcc -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/include -I/usr/X11R6/include -g -O2 -c >system.c -o system.o >In file included from command.h:23, > from system.c:39: >/usr/include/limits.h:128: warning: `PATH_MAX' redefined >/usr/local/include/libast.h:357: warning: this is the location of the previous >definition >echo timestamp > system.lo >/bin/sh ../libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I.. >-I/usr/include -I/usr/X11R6/include -g -O2 -c term.c >gcc -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/include -I/usr/X11R6/include -g -O2 -c >term.c -o term.o >In file included from term.c:32: >/usr/include/limits.h:128: warning: `PATH_MAX' redefined >/usr/local/include/libast.h:357: warning: this is the location of the previous >definition >echo timestamp > term.lo >/bin/sh ../libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I.. >-I/usr/include -I/usr/X11R6/include -g -O2 -c timer.c >gcc -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/include -I/usr/X11R6/include -g -O2 -c >timer.c -o timer.o >In file included from timer.c:32: >/usr/include/limits.h:128: warning: `PATH_MAX' redefined >/usr/local/include/libast.h:357: warning: this is the location of the previous >definition >echo timestamp > timer.lo >/bin/sh ../libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I.. >-I/usr/include -I/usr/X11R6/include -g -O2 -c utmp.c >gcc -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/include -I/usr/X11R6/include -g -O2 -c >utmp.c -o utmp.o >echo timestamp > utmp.lo >/bin/sh ../libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I.. >-I/usr/include -I/usr/X11R6/include -g -O2 -c windows.c >gcc -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/include -I/usr/X11R6/include -g -O2 -c >windows.c -o windows.o >In file included from windows.c:32: >/usr/include/limits.h:128: warning: `PATH_MAX' redefined >/usr/local/include/libast.h:357: warning: this is the location of the previous >definition >echo timestamp > windows.lo >/bin/sh ../libtool --mode=link gcc -g -O2 -L/usr/lib -L/usr/X11R6/lib -o >libEterm.la -rpath /usr/lib -release 0.9.1 actions.lo buttons.lo command.lo >draw.lo e.lo events.lo font.lo grkelot.lo menus.lo misc.lo netdisp.lo options.lo >pixmap.lo screen.lo script.lo scrollbar.lo startup.lo system.lo term.lo timer.lo >utmp.lo windows.lo -last -lImlib2 -lttf -lSM -lICE -lXext -lX11 -lm -lipc >libtool: link: warning: undefined symbols not allowed in i686-pc-cygwin shared >libraries >mkdir .libs >ar cru .libs/libEterm.a actions.o buttons.o command.o draw.o e.o events.o >font.o grkelot.o menus.o misc.o netdisp.o options.o pixmap.o screen.o script.o >scrollbar.o startup.o system.o term.o timer.o utmp.o windows.o >ranlib .libs/libEterm.a >creating libEterm.la >(cd .libs && rm -f libEterm.la && ln -s ../libEterm.la libEterm.la) >gcc -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/include -I/usr/X11R6/include -g -O2 >-c main.c >/bin/sh ../libtool --mode=link gcc -g -O2 -L/usr/lib -L/usr/X11R6/lib -o Eterm >-rpath /usr/lib:/usr/lib/Eterm main.o libEterm.la -last -lImlib2 -lttf -lSM >-lICE -lXext -lX11 -lm -lipc >gcc -g -O2 -L/usr/lib -L/usr/X11R6/lib -o Eterm main.o .libs/libEterm.a -last >-lImlib2 -lttf -lSM -lICE -lXext -lX11 -lipc -last -lImlib2 -lttf -lSM -lICE >-lXext -lX11 -lipc -Wl,--rpath -Wl,/usr/lib:/usr/lib/Eterm -Wl,--rpath >-Wl,/usr/lib:/usr/lib/Eterm >.libs/libEterm.a(screen.o): In function `selection_copy_string': >/usr/local/Eterm-0.9.1/src/screen.c:2455: undefined reference to `_XA_CLIPBOARD' >/usr/local/Eterm-0.9.1/src/screen.c:2455: undefined reference to `XmuInternAtom' >.libs/libEterm.a(screen.o): In function `selection_paste': >/usr/local/Eterm-0.9.1/src/screen.c:2482: undefined reference to `_XA_CLIPBOARD' >/usr/local/Eterm-0.9.1/src/screen.c:2482: undefined reference to `XmuInternAtom' >collect2: ld returned 1 exit status >make[2]: *** [Eterm] Error 1 >make[2]: Leaving directory `/usr/local/Eterm-0.9.1/src' >make[1]: *** [all-recursive] Error 1 >make[1]: Leaving directory `/usr/local/Eterm-0.9.1' >make: *** [all-recursive-am] Error 2 > >Thanks, > >Robert Cavanaugh >Senior Firmware Engineer >Flextronics Design >Mountain States Engineering >Salt Lake City, Utah >(801)-685-9330 > > > > From huntharo@msu.edu Wed Oct 30 19:20:00 2002 From: huntharo@msu.edu (Harold L Hunt II) Date: Wed, 30 Oct 2002 19:20:00 -0000 Subject: Building Eterm - please more help In-Reply-To: References: <3DC0A0AD.7040303@msu.edu> Message-ID: <3DC0A18D.2010100@msu.edu> Ignore those *'s around the if's etc. That was just Mozilla being brain dead when converting from HTML email to text email. Why did I compose in HTML mode? Well, because last week Mozilla suddenly decided to freeze Windows 2000 solid every time I replied to an email. Reinstalling Mozilla fixed that problem, but it gave me the new problem that the keyboard was ignored in text emal mode. Thus, I can only compose replies in HTML mode. Oh yeah, and the first character I type is always interpreted as a hard return, so I have to press a key, then backspace, then start typing my email. It is a good thing that I really love Mozilla :) Harold Harold L Hunt II wrote: > Robert, > > Well, eterm's libast is contains the file that is being put in > /usr/local/include/libast.h... and that file has had the following > code as far back as the CVS history goes: > > #*if* *defined*(PATH_MAX) && (PATH_MAX < 255) > # *undef* PATH_MAX > #*endif* > #*ifndef* PATH_MAX > # *define* PATH_MAX 255 > #*endif > > > Now, I cannot say that the (PATH_MAX < 255) conditional is actually > going to mean > anything to the C preprocessor that we use, and I will bet you money > that this > just breaks differently on other platforms such that PATH_MAX is not > being > redefined (it is probably never defined on those platforms). > > In any case, I am going to have to tell you the secret that makes all > of us > ``hackers'' real men. Okay, the secret is, when something in a header > conflicts > with a system header, you do three things: > > 1) #if 0 the section in the offending header that redefines what the > system > headers defines. > > 2) Do a test compile and see if the point of error moves on to some > other point. > > 3) If you succeed at #2, then go back and either fix the broken > #define code > or add a platform-specific kludge that prevents that section from doing > harm on your platform. > > That is how we get things compiled, and some of us go back and clean > the mess up > later so that the changes can actuall be committed so CVS. :) > > There, you are now much wiser, and I think you know that I am trying > to tell you > to do next, right? > > Harold > > P.S. Okay, just in case, goto /usr/local/include/libast.h and #if 0 > the section > that I quoted above. Rebuild. If the build still fails, go look > again at > /usr/local/include/libast.h and make sure that it has not been > replaced with > an original version during the build process; in which case you would > need > to edit the version of libast.h in your source tree (which you will > eventually have > to do anyway). > > * > > > bob.cavanaugh@flextronics.com wrote: > >> Hello, >> I am still trying to build Eterm for Cygwin. I have now successfully >> got cygipc >> running (thanks J. L!) and have built Imlib2 (Thanks Harold!). The >> Eterm source >> appears to compile completely, but is failing in the linker. Here is >> the >> messages from the make process. I included the entire thing in case I >> missed >> something. The main problem I am having is the undefined references. >> Any help >> will be gratefully appreciated. >> >> make all-recursive >> make[1]: Entering directory `/usr/local/Eterm-0.9.1' >> Making all in src >> make[2]: Entering directory `/usr/local/Eterm-0.9.1/src' >> /bin/sh ../libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I.. >> -I/usr/include -I/usr/X11R6/include -g -O2 -c actions.c >> gcc -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/include -I/usr/X11R6/include >> -g -O2 -c >> actions.c -o actions.o >> In file included from actions.c:30: >> /usr/include/limits.h:128: warning: `PATH_MAX' redefined >> /usr/local/include/libast.h:357: warning: this is the location of the >> previous >> definition >> echo timestamp > actions.lo >> /bin/sh ../libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I.. >> -I/usr/include -I/usr/X11R6/include -g -O2 -c buttons.c >> gcc -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/include -I/usr/X11R6/include >> -g -O2 -c >> buttons.c -o buttons.o >> In file included from command.h:23, >> from buttons.c:32: >> /usr/include/limits.h:128: warning: `PATH_MAX' redefined >> /usr/local/include/libast.h:357: warning: this is the location of the >> previous >> definition >> echo timestamp > buttons.lo >> /bin/sh ../libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I.. >> -I/usr/include -I/usr/X11R6/include -g -O2 -c command.c >> gcc -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/include -I/usr/X11R6/include >> -g -O2 -c >> command.c -o command.o >> In file included from command.c:59: >> /usr/include/limits.h:128: warning: `PATH_MAX' redefined >> /usr/local/include/libast.h:357: warning: this is the location of the >> previous >> definition >> echo timestamp > command.lo >> /bin/sh ../libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I.. >> -I/usr/include -I/usr/X11R6/include -g -O2 -c draw.c >> gcc -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/include -I/usr/X11R6/include >> -g -O2 -c >> draw.c -o draw.o >> echo timestamp > draw.lo >> /bin/sh ../libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I.. >> -I/usr/include -I/usr/X11R6/include -g -O2 -c e.c >> gcc -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/include -I/usr/X11R6/include >> -g -O2 -c >> e.c -o e.o >> In file included from e.c:32: >> /usr/include/limits.h:128: warning: `PATH_MAX' redefined >> /usr/local/include/libast.h:357: warning: this is the location of the >> previous >> definition >> echo timestamp > e.lo >> /bin/sh ../libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I.. >> -I/usr/include -I/usr/X11R6/include -g -O2 -c events.c >> gcc -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/include -I/usr/X11R6/include >> -g -O2 -c >> events.c -o events.o >> In file included from events.c:32: >> /usr/include/limits.h:128: warning: `PATH_MAX' redefined >> /usr/local/include/libast.h:357: warning: this is the location of the >> previous >> definition >> echo timestamp > events.lo >> /bin/sh ../libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I.. >> -I/usr/include -I/usr/X11R6/include -g -O2 -c font.c >> gcc -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/include -I/usr/X11R6/include >> -g -O2 -c >> font.c -o font.o >> In file included from font.c:32: >> /usr/include/limits.h:128: warning: `PATH_MAX' redefined >> /usr/local/include/libast.h:357: warning: this is the location of the >> previous >> definition >> echo timestamp > font.lo >> /bin/sh ../libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I.. >> -I/usr/include -I/usr/X11R6/include -g -O2 -c grkelot.c >> gcc -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/include -I/usr/X11R6/include >> -g -O2 -c >> grkelot.c -o grkelot.o >> echo timestamp > grkelot.lo >> /bin/sh ../libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I.. >> -I/usr/include -I/usr/X11R6/include -g -O2 -c menus.c >> gcc -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/include -I/usr/X11R6/include >> -g -O2 -c >> menus.c -o menus.o >> In file included from command.h:23, >> from menus.c:31: >> /usr/include/limits.h:128: warning: `PATH_MAX' redefined >> /usr/local/include/libast.h:357: warning: this is the location of the >> previous >> definition >> echo timestamp > menus.lo >> /bin/sh ../libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I.. >> -I/usr/include -I/usr/X11R6/include -g -O2 -c misc.c >> gcc -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/include -I/usr/X11R6/include >> -g -O2 -c >> misc.c -o misc.o >> In file included from command.h:23, >> from misc.c:39: >> /usr/include/limits.h:128: warning: `PATH_MAX' redefined >> /usr/local/include/libast.h:357: warning: this is the location of the >> previous >> definition >> echo timestamp > misc.lo >> /bin/sh ../libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I.. >> -I/usr/include -I/usr/X11R6/include -g -O2 -c netdisp.c >> gcc -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/include -I/usr/X11R6/include >> -g -O2 -c >> netdisp.c -o netdisp.o >> echo timestamp > netdisp.lo >> /bin/sh ../libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I.. >> -I/usr/include -I/usr/X11R6/include -g -O2 -c options.c >> gcc -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/include -I/usr/X11R6/include >> -g -O2 -c >> options.c -o options.o >> In file included from options.c:38: >> /usr/include/limits.h:128: warning: `PATH_MAX' redefined >> /usr/local/include/libast.h:357: warning: this is the location of the >> previous >> definition >> echo timestamp > options.lo >> /bin/sh ../libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I.. >> -I/usr/include -I/usr/X11R6/include -g -O2 -c pixmap.c >> gcc -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/include -I/usr/X11R6/include >> -g -O2 -c >> pixmap.c -o pixmap.o >> In file included from command.h:23, >> from pixmap.c:41: >> /usr/include/limits.h:128: warning: `PATH_MAX' redefined >> /usr/local/include/libast.h:357: warning: this is the location of the >> previous >> definition >> echo timestamp > pixmap.lo >> /bin/sh ../libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I.. >> -I/usr/include -I/usr/X11R6/include -g -O2 -c screen.c >> gcc -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/include -I/usr/X11R6/include >> -g -O2 -c >> screen.c -o screen.o >> In file included from command.h:23, >> from screen.c:35: >> /usr/include/limits.h:128: warning: `PATH_MAX' redefined >> /usr/local/include/libast.h:357: warning: this is the location of the >> previous >> definition >> echo timestamp > screen.lo >> /bin/sh ../libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I.. >> -I/usr/include -I/usr/X11R6/include -g -O2 -c script.c >> gcc -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/include -I/usr/X11R6/include >> -g -O2 -c >> script.c -o script.o >> In file included from script.c:32: >> /usr/include/limits.h:128: warning: `PATH_MAX' redefined >> /usr/local/include/libast.h:357: warning: this is the location of the >> previous >> definition >> echo timestamp > script.lo >> /bin/sh ../libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I.. >> -I/usr/include -I/usr/X11R6/include -g -O2 -c scrollbar.c >> gcc -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/include -I/usr/X11R6/include >> -g -O2 -c >> scrollbar.c -o scrollbar.o >> In file included from command.h:23, >> from scrollbar.c:32: >> /usr/include/limits.h:128: warning: `PATH_MAX' redefined >> /usr/local/include/libast.h:357: warning: this is the location of the >> previous >> definition >> echo timestamp > scrollbar.lo >> /bin/sh ../libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I.. >> -I/usr/include -I/usr/X11R6/include -g -O2 -c startup.c >> gcc -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/include -I/usr/X11R6/include >> -g -O2 -c >> startup.c -o startup.o >> In file included from command.h:23, >> from startup.c:46: >> /usr/include/limits.h:128: warning: `PATH_MAX' redefined >> /usr/local/include/libast.h:357: warning: this is the location of the >> previous >> definition >> echo timestamp > startup.lo >> /bin/sh ../libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I.. >> -I/usr/include -I/usr/X11R6/include -g -O2 -c system.c >> gcc -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/include -I/usr/X11R6/include >> -g -O2 -c >> system.c -o system.o >> In file included from command.h:23, >> from system.c:39: >> /usr/include/limits.h:128: warning: `PATH_MAX' redefined >> /usr/local/include/libast.h:357: warning: this is the location of the >> previous >> definition >> echo timestamp > system.lo >> /bin/sh ../libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I.. >> -I/usr/include -I/usr/X11R6/include -g -O2 -c term.c >> gcc -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/include -I/usr/X11R6/include >> -g -O2 -c >> term.c -o term.o >> In file included from term.c:32: >> /usr/include/limits.h:128: warning: `PATH_MAX' redefined >> /usr/local/include/libast.h:357: warning: this is the location of the >> previous >> definition >> echo timestamp > term.lo >> /bin/sh ../libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I.. >> -I/usr/include -I/usr/X11R6/include -g -O2 -c timer.c >> gcc -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/include -I/usr/X11R6/include >> -g -O2 -c >> timer.c -o timer.o >> In file included from timer.c:32: >> /usr/include/limits.h:128: warning: `PATH_MAX' redefined >> /usr/local/include/libast.h:357: warning: this is the location of the >> previous >> definition >> echo timestamp > timer.lo >> /bin/sh ../libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I.. >> -I/usr/include -I/usr/X11R6/include -g -O2 -c utmp.c >> gcc -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/include -I/usr/X11R6/include >> -g -O2 -c >> utmp.c -o utmp.o >> echo timestamp > utmp.lo >> /bin/sh ../libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I.. >> -I/usr/include -I/usr/X11R6/include -g -O2 -c windows.c >> gcc -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/include -I/usr/X11R6/include >> -g -O2 -c >> windows.c -o windows.o >> In file included from windows.c:32: >> /usr/include/limits.h:128: warning: `PATH_MAX' redefined >> /usr/local/include/libast.h:357: warning: this is the location of the >> previous >> definition >> echo timestamp > windows.lo >> /bin/sh ../libtool --mode=link gcc -g -O2 -L/usr/lib >> -L/usr/X11R6/lib -o >> libEterm.la -rpath /usr/lib -release 0.9.1 actions.lo buttons.lo >> command.lo >> draw.lo e.lo events.lo font.lo grkelot.lo menus.lo misc.lo netdisp.lo >> options.lo >> pixmap.lo screen.lo script.lo scrollbar.lo startup.lo system.lo >> term.lo timer.lo >> utmp.lo windows.lo -last -lImlib2 -lttf -lSM -lICE -lXext -lX11 >> -lm -lipc >> libtool: link: warning: undefined symbols not allowed in >> i686-pc-cygwin shared >> libraries >> mkdir .libs >> ar cru .libs/libEterm.a actions.o buttons.o command.o draw.o e.o >> events.o >> font.o grkelot.o menus.o misc.o netdisp.o options.o pixmap.o screen.o >> script.o >> scrollbar.o startup.o system.o term.o timer.o utmp.o windows.o >> ranlib .libs/libEterm.a >> creating libEterm.la >> (cd .libs && rm -f libEterm.la && ln -s ../libEterm.la libEterm.la) >> gcc -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/include >> -I/usr/X11R6/include -g -O2 >> -c main.c >> /bin/sh ../libtool --mode=link gcc -g -O2 -L/usr/lib >> -L/usr/X11R6/lib -o Eterm >> -rpath /usr/lib:/usr/lib/Eterm main.o libEterm.la -last -lImlib2 >> -lttf -lSM >> -lICE -lXext -lX11 -lm -lipc >> gcc -g -O2 -L/usr/lib -L/usr/X11R6/lib -o Eterm main.o >> .libs/libEterm.a -last >> -lImlib2 -lttf -lSM -lICE -lXext -lX11 -lipc -last -lImlib2 -lttf >> -lSM -lICE >> -lXext -lX11 -lipc -Wl,--rpath -Wl,/usr/lib:/usr/lib/Eterm -Wl,--rpath >> -Wl,/usr/lib:/usr/lib/Eterm >> .libs/libEterm.a(screen.o): In function `selection_copy_string': >> /usr/local/Eterm-0.9.1/src/screen.c:2455: undefined reference to >> `_XA_CLIPBOARD' >> /usr/local/Eterm-0.9.1/src/screen.c:2455: undefined reference to >> `XmuInternAtom' >> .libs/libEterm.a(screen.o): In function `selection_paste': >> /usr/local/Eterm-0.9.1/src/screen.c:2482: undefined reference to >> `_XA_CLIPBOARD' >> /usr/local/Eterm-0.9.1/src/screen.c:2482: undefined reference to >> `XmuInternAtom' >> collect2: ld returned 1 exit status >> make[2]: *** [Eterm] Error 1 >> make[2]: Leaving directory `/usr/local/Eterm-0.9.1/src' >> make[1]: *** [all-recursive] Error 1 >> make[1]: Leaving directory `/usr/local/Eterm-0.9.1' >> make: *** [all-recursive-am] Error 2 >> >> Thanks, >> >> Robert Cavanaugh >> Senior Firmware Engineer >> Flextronics Design >> Mountain States Engineering >> Salt Lake City, Utah >> (801)-685-9330 >> >> >> >> > From Benjamin.Riefenstahl@epost.de Thu Oct 31 05:38:00 2002 From: Benjamin.Riefenstahl@epost.de (Benjamin Riefenstahl) Date: Thu, 31 Oct 2002 05:38:00 -0000 Subject: Building Eterm - please more help In-Reply-To: <3DC0A0AD.7040303@msu.edu> References: <3DC0A0AD.7040303@msu.edu> Message-ID: Hi Harold, Harold L Hunt II writes: > #if defined(PATH_MAX) && (PATH_MAX < 255) > # undef PATH_MAX > #endif > #ifndef PATH_MAX > # define PATH_MAX 255 > #endif > > > Now, I cannot say that the (PATH_MAX < 255) conditional is actually > going to mean anything to the C preprocessor that we use, and I will > bet you money that this just breaks differently on other platforms > such that PATH_MAX is not being redefined (it is probably never > defined on those platforms). I don't understand? If PATH_MAX is not defined it defaults to 0 in preprocessor conditionals. That's just the definition of the C language. This may break with a Classic C (pre-ISO C) preprocessor, because basically *anything* can break on software that doesn't comply with standards, but who really wants to support Classic C these days? so long, benny From Benjamin.Riefenstahl@epost.de Thu Oct 31 05:48:00 2002 From: Benjamin.Riefenstahl@epost.de (Benjamin Riefenstahl) Date: Thu, 31 Oct 2002 05:48:00 -0000 Subject: Building Eterm - please more help In-Reply-To: References: Message-ID: Hi Robert, bob.cavanaugh@flextronics.com writes: > gcc -g -O2 -L/usr/lib -L/usr/X11R6/lib -o Eterm main.o > .libs/libEterm.a -last -lImlib2 -lttf -lSM -lICE -lXext -lX11 -lipc > -last -lImlib2 -lttf -lSM -lICE -lXext -lX11 -lipc -Wl,--rpath > -Wl,/usr/lib:/usr/lib/Eterm -Wl,--rpath -Wl,/usr/lib:/usr/lib/Eterm > > .libs/libEterm.a(screen.o): In function `selection_copy_string': > /usr/local/Eterm-0.9.1/src/screen.c:2455: undefined reference to > `_XA_CLIPBOARD' > > /usr/local/Eterm-0.9.1/src/screen.c:2455: undefined reference to > `XmuInternAtom' > > .libs/libEterm.a(screen.o): In function `selection_paste': > /usr/local/Eterm-0.9.1/src/screen.c:2482: undefined reference to > `_XA_CLIPBOARD' > > /usr/local/Eterm-0.9.1/src/screen.c:2482: undefined reference to > `XmuInternAtom' So you need to add the libraries that contain _XA_CLIPBOARD and XmuInternAtom. To find these I use the nm tool, like this $ cd /usr/X11R6/lib $ nm -A lib*.a | grep CLIPBOARD libXmu.a:Atoms.o:00000038 G _XA_CLIPBOARD libXmu.a:Atoms.o:00000030 g __XA_CLIPBOARD $ Which tells me that you need to add -lXmu to the list of X11 libraries. Read the man page for nm to find what the output of the tool means in detail. so long, benny From jc.gervais@videotron.ca Thu Oct 31 06:18:00 2002 From: jc.gervais@videotron.ca (Jean-Claude Gervais) Date: Thu, 31 Oct 2002 06:18:00 -0000 Subject: Building Eterm - please more help In-Reply-To: Message-ID: <005d01c280e8$47522910$6501a8c0@sprymusic.com> >If PATH_MAX is not defined it defaults to 0 in >preprocessor conditionals. >That's just the definition of the C language. What? Are you sure? I always thought the symbols was UNDEFINED, and not 0. So if you're using it in code and it is not defined, it is like there is NOTHING there, for example: If the symbol PATH_MAX is undefined, the following statement if ( PATH_MAX > 200 ) { } will get expanded by the pre-processor to if ( > 200 ) { } Which is syntactically incorrect. Maybe I misunderstood your assertion... BY THE WAY, why not use _MAX_PATH instead? It is commonly defined by all compiler vendors. From huntharo@msu.edu Thu Oct 31 08:05:00 2002 From: huntharo@msu.edu (Harold L Hunt II) Date: Thu, 31 Oct 2002 08:05:00 -0000 Subject: Building Eterm - please more help In-Reply-To: References: <3DC0A0AD.7040303@msu.edu> Message-ID: <3DC154D1.2050905@msu.edu> Ben, I was not talking about whether or not PATH_MAX was defined... I was referring to the ``<''. I cannot guarantee that such a condition would work on Cygwin because: 1) I have not seen it used before 2) I have not tried it myself 3) I have seen similar conditions that work find on other platforms but that do not work on Cygwin. But, forget all of that. What is important is that PATH_MAX is already defined by our system header, and the code in ast[...].h is not correctly detecting that PATH_MAX is already defined (could be a problem with the ordering of the includes). So, #if 0'ing the section of ast[...].h would give us more information and would most likely fix the build. Harold Benjamin Riefenstahl wrote: >Hi Harold, > > >Harold L Hunt II writes: > > >>#if defined(PATH_MAX) && (PATH_MAX < 255) >># undef PATH_MAX >>#endif >>#ifndef PATH_MAX >># define PATH_MAX 255 >>#endif >> >> >>Now, I cannot say that the (PATH_MAX < 255) conditional is actually >>going to mean anything to the C preprocessor that we use, and I will >>bet you money that this just breaks differently on other platforms >>such that PATH_MAX is not being redefined (it is probably never >>defined on those platforms). >> >> > >I don't understand? If PATH_MAX is not defined it defaults to 0 in >preprocessor conditionals. That's just the definition of the C >language. This may break with a Classic C (pre-ISO C) preprocessor, >because basically *anything* can break on software that doesn't comply >with standards, but who really wants to support Classic C these days? > > >so long, benny > > > From Benjamin.Riefenstahl@epost.de Thu Oct 31 08:06:00 2002 From: Benjamin.Riefenstahl@epost.de (Benjamin Riefenstahl) Date: Thu, 31 Oct 2002 08:06:00 -0000 Subject: Building Eterm - please more help In-Reply-To: <005d01c280e8$47522910$6501a8c0@sprymusic.com> References: <005d01c280e8$47522910$6501a8c0@sprymusic.com> Message-ID: Hi Jean-Claude, I wrote: > >If PATH_MAX is not defined it defaults to 0 in preprocessor > >conditionals. That's just the definition of the C language. Jean-Claude Gervais writes: > What? Are you sure? I always thought the symbols was UNDEFINED, and > not 0. There is a special exception for preprocessor conditionals. > If the symbol PATH_MAX is undefined, the following statement > > if ( PATH_MAX > 200 ) { > } > > will get expanded by the pre-processor to > > if ( > 200 ) { > } If PATH_MAX is not defined during preprocessing, the preprocessor can not know that it was supposed to be a preprocessor macro. So your code above will be just unchanged by the preprocessor. After preprocessing has been done, the actual C compiler will then complain that PATH_MAX is an undefined variable or function. There is the mentioned exception for preprocessor conditionals. If, after macro replacement, they contain any left-over identifiers, those are replaced with 0. > BY THE WAY, why not use _MAX_PATH instead? It is commonly defined by > all compiler vendors. That's an MS invention, I believe, it certainly is not in the standard. The standard macro for this feature is FILENAME_MAX, defined in . so long, benny From j_tetazoo@hotmail.com Thu Oct 31 10:17:00 2002 From: j_tetazoo@hotmail.com (Thomas Chadwick) Date: Thu, 31 Oct 2002 10:17:00 -0000 Subject: Looking for ideas to fix x2x in rootless mode... Message-ID: I'm hoping some folks on the ML might help me brainstorm a solution to fixing x2x in rootless mode... For those of you not familiar with x2x, it's a handy utility that gives you a dual-headed X display if you have side-by-side workstations both running X (one is designated the "from" display, the other the "to" display). It does this by simply grabbing the pointer and keyboard focus on the "from" display, and generating fake pointer and keyboard events on the "to" display whenever it receives pointer or keyboard events from the "from" display. In my particular case, the "from" display is a PC running Cygwin/XFree86, and the "to" display is an RS/6000 Workstation. The trouble with rootless mode is that when my pointer leaves the X server region, x2x no longer gets any pointer events from the "from" display. This has the effect of restricting my pointer movements on the "to" display to areas that are occupied by X clients on the "from" display. I tried patching x2x by using the Windows API calls SetCapture(HWND hwnd) and ReleaseCapture() at the same time x2x does XGrabPointer() and XUnGrabPointer() respectively. However, the Capture fails. If I interpret the MSDN documentation correctly, I think it's because the x2x.exe thread does not own the HWND it's trying to do the Capture on (XWin.exe does). I suppose I could try to overcome this by patching the XGrabPointer() and XUnGrabPointer() functions in the XFree86 source directly. This would result in XWin doing the SetCapture as a result of calling XGrabPointer() from x2x. I haven't actually tried this, however, because it occurs to me that I have an additional problem. Again, if I interpret the scant documentation properly, it looks to me that while SetCapture may grab the pointer, clicking a mouse button while outside the X server region will cause the capture to be released and the mouse button event to go to whatever MS Windows client is under the pointer at the time of the click. This would have the effect of letting me point to any region in the "to" display as long as I don't press a mouse button. Not very useful. Perhaps there is a different API call which keeps a "stronger" hold of the pointer than SetCapture()? How about calling XWarpPointer() from x2x to keep the pointer from leaving the X server region? Any other ideas? _________________________________________________________________ Broadband???Dial-up? Get reliable MSN Internet Access. http://resourcecenter.msn.com/access/plans/default.asp From Benjamin.Riefenstahl@epost.de Thu Oct 31 10:20:00 2002 From: Benjamin.Riefenstahl@epost.de (Benjamin Riefenstahl) Date: Thu, 31 Oct 2002 10:20:00 -0000 Subject: Building Eterm - please more help In-Reply-To: <3DC154D1.2050905@msu.edu> References: <3DC0A0AD.7040303@msu.edu> <3DC154D1.2050905@msu.edu> Message-ID: Hi Harold, Harold L Hunt II writes: > I was not talking about whether or not PATH_MAX was defined... I was > referring to the ``<''. I cannot guarantee that such a condition > would work on Cygwin because: > > 1) I have not seen it used before > > 2) I have not tried it myself I'd say that any preprocessor that is not able to evaluate such expressions will only make your life miserable. Throw it away and you will be much more happier and more productive afterwards ;-). > 3) I have seen similar conditions that work find on other platforms > but that do not work on Cygwin. I'm pretty sure that there must have been other reasons for that than just not being able to evaluate '<'. so long, benny From gsw@agere.com Thu Oct 31 10:28:00 2002 From: gsw@agere.com (Gerald S. Williams) Date: Thu, 31 Oct 2002 10:28:00 -0000 Subject: rootless mode and mousing to other windows Message-ID: I agree -rootless rocks. And a -systray option would be great. 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. I'm not sure what this is equivalent to in X terms. Perhaps mousing to another screen? Has anyone given any thought to this? I'd be willing to take a shot at an implementation if given enough of a nudge in the right direction. -Jerry Williams From j_tetazoo@hotmail.com Thu Oct 31 10:59:00 2002 From: j_tetazoo@hotmail.com (Thomas Chadwick) Date: Thu, 31 Oct 2002 10:59:00 -0000 Subject: rootless mode and mousing to other windows Message-ID: 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? >From: "Gerald S. Williams" >Reply-To: cygwin-xfree@cygwin.com >To: >Subject: rootless mode and mousing to other windows >Date: Thu, 31 Oct 2002 13:28:04 -0500 >MIME-Version: 1.0 >Received: from sources.redhat.com ([209.249.29.67]) by >mc1-f6.law16.hotmail.com with Microsoft SMTPSVC(5.0.2195.5600); Thu, 31 Oct >2002 10:28:19 -0800 >Received: (qmail 26023 invoked by alias); 31 Oct 2002 18:28:14 -0000 >Received: (qmail 25959 invoked from network); 31 Oct 2002 18:28:13 -0000 >Received: from unknown (HELO alageremail2.agere.com) (192.19.192.110) by >sources.redhat.com with SMTP; 31 Oct 2002 18:28:13 -0000 >Received: from alerelay.agere.com (alerelay.agere.com [135.14.2.184])by >alageremail2.agere.com (8.10.2+Sun/8.10.2) with ESMTP id g9VISCN09008for >; Thu, 31 Oct 2002 13:28:12 -0500 (EST) >Received: from almail.agere.com by alerelay.agere.com (8.9.3+Sun/EMS-1.5 >sol2)id NAA20979 for ; Thu, 31 Oct 2002 13:28:12 >-0500 (EST) >Received: from PAI820G1006951 by almail.agere.com (8.9.3+Sun/EMS-1.5 >sol2)id NAA07541; Thu, 31 Oct 2002 13:28:08 -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: >X-Priority: 3 (Normal) >X-MSMail-Priority: Normal >Importance: Normal >X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2600.0000 >Return-Path: cygwin-xfree-return-11959-j_tetazoo=hotmail.com@cygwin.com >X-OriginalArrivalTime: 31 Oct 2002 18:28:19.0613 (UTC) >FILETIME=[496A6CD0:01C2810B] > >I agree -rootless rocks. And a -systray option would be great. > >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. > >I'm not sure what this is equivalent to in X terms. Perhaps >mousing to another screen? Has anyone given any thought to >this? I'd be willing to take a shot at an implementation if >given enough of a nudge in the right direction. > >-Jerry Williams _________________________________________________________________ Choose an Internet access plan right for you -- try MSN! http://resourcecenter.msn.com/access/plans/default.asp From huntharo@msu.edu Thu Oct 31 14:27:00 2002 From: huntharo@msu.edu (Harold L Hunt II) Date: Thu, 31 Oct 2002 14:27:00 -0000 Subject: Looking for ideas to fix x2x in rootless mode... References: Message-ID: <3DC1AE4B.7070009@msu.edu> Thomas, Your simplist fix is to add a command-line parameter to XWin.exe that tells it to grab the Windows cursor for you and keep trapping mouse events until the focus is given to another app via either Alt+Tab or by clicking another app's menu on the task bar. You wouldn't be able to ``click-through'' to put the focus on Windows applications, but at least you would be able to see those other apps in the background. Harold Thomas Chadwick wrote: > I'm hoping some folks on the ML might help me brainstorm a solution to > fixing x2x in rootless mode... > > For those of you not familiar with x2x, it's a handy utility that gives > you a dual-headed X display if you have side-by-side workstations both > running X (one is designated the "from" display, the other the "to" > display). It does this by simply grabbing the pointer and keyboard > focus on the "from" display, and generating fake pointer and keyboard > events on the "to" display whenever it receives pointer or keyboard > events from the "from" display. > > In my particular case, the "from" display is a PC running > Cygwin/XFree86, and the "to" display is an RS/6000 Workstation. > > The trouble with rootless mode is that when my pointer leaves the X > server region, x2x no longer gets any pointer events from the "from" > display. This has the effect of restricting my pointer movements on the > "to" display to areas that are occupied by X clients on the "from" display. > > I tried patching x2x by using the Windows API calls SetCapture(HWND > hwnd) and ReleaseCapture() at the same time x2x does XGrabPointer() and > XUnGrabPointer() respectively. However, the Capture fails. If I > interpret the MSDN documentation correctly, I think it's because the > x2x.exe thread does not own the HWND it's trying to do the Capture on > (XWin.exe does). I suppose I could try to overcome this by patching the > XGrabPointer() and XUnGrabPointer() functions in the XFree86 source > directly. This would result in XWin doing the SetCapture as a result of > calling XGrabPointer() from x2x. > > I haven't actually tried this, however, because it occurs to me that I > have an additional problem. Again, if I interpret the scant > documentation properly, it looks to me that while SetCapture may grab > the pointer, clicking a mouse button while outside the X server region > will cause the capture to be released and the mouse button event to go > to whatever MS Windows client is under the pointer at the time of the > click. This would have the effect of letting me point to any region in > the "to" display as long as I don't press a mouse button. Not very useful. > > Perhaps there is a different API call which keeps a "stronger" hold of > the pointer than SetCapture()? > > How about calling XWarpPointer() from x2x to keep the pointer from > leaving the X server region? > > Any other ideas? > > > _________________________________________________________________ > Broadband? Dial-up? Get reliable MSN Internet Access. > http://resourcecenter.msn.com/access/plans/default.asp > From huntharo@msu.edu Thu Oct 31 14:30:00 2002 From: huntharo@msu.edu (Harold L Hunt II) Date: Thu, 31 Oct 2002 14:30:00 -0000 Subject: rootless mode and mousing to other windows References: Message-ID: <3DC1AF07.8080005@msu.edu> 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. 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. Harold Gerald S. Williams wrote: > I agree -rootless rocks. And a -systray option would be great. > > 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. > > I'm not sure what this is equivalent to in X terms. Perhaps > mousing to another screen? Has anyone given any thought to > this? I'd be willing to take a shot at an implementation if > given enough of a nudge in the right direction. > > -Jerry Williams From pechtcha@cs.nyu.edu Thu Oct 31 16:42:00 2002 From: pechtcha@cs.nyu.edu (Igor Pechtchanski) Date: Thu, 31 Oct 2002 16:42:00 -0000 Subject: Environment windows not opening In-Reply-To: <08E9E30FCA2CD5119BEA0090274066DF046E4773@axcs16.cos.agilent.com> Message-ID: On Thu, 31 Oct 2002 john_staroba@agilent.com wrote: > I just installed cygwin without any trouble. The command prompt window > appears to be working fine, as does the vi editor. When attempting to > launch an xwindow, only the main window will open and the system > apparently hangs. Prompt window displays > .. > .. > .. > .. > until you close the main xwindow, and then displays: > > giving up. > xinit: No such file or directory : unable to connect to X server > xinit: No such process : Server error. > > I'm running win NT. Any ideas on what to do? Yes. Run an X server. For details, see http://xfree86.cygwin.com/ If you have problems, please direct any queries to the cygwin-xfree list (I set the Reply-To: field to it, and also Cc'd this message there). 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 john_staroba@agilent.com Thu Oct 31 18:05:00 2002 From: john_staroba@agilent.com (john_staroba@agilent.com) Date: Thu, 31 Oct 2002 18:05:00 -0000 Subject: Environment windows not opening Message-ID: <08E9E30FCA2CD5119BEA0090274066DF046E4776@axcs16.cos.agilent.com> I believe I installed all the xfree86 files, and still have the problem described below. Any ideas? Thanks, John -----Original Message----- From: Igor Pechtchanski [mailto:pechtcha@cs.nyu.edu] Sent: Thursday, October 31, 2002 4:43 PM To: john_staroba@agilent.com Cc: cygwin@cygwin.com; cygwin-xfree@cygwin.com Subject: Re: Environment windows not opening On Thu, 31 Oct 2002 john_staroba@agilent.com wrote: > I just installed cygwin without any trouble. The command prompt window > appears to be working fine, as does the vi editor. When attempting to > launch an xwindow, only the main window will open and the system > apparently hangs. Prompt window displays > .. > .. > .. > .. > until you close the main xwindow, and then displays: > > giving up. > xinit: No such file or directory : unable to connect to X server > xinit: No such process : Server error. > > I'm running win NT. Any ideas on what to do? Yes. Run an X server. For details, see http://xfree86.cygwin.com/ If you have problems, please direct any queries to the cygwin-xfree list (I set the Reply-To: field to it, and also Cc'd this message there). 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 huntharo@msu.edu Thu Oct 31 18:08:00 2002 From: huntharo@msu.edu (Harold L Hunt II) Date: Thu, 31 Oct 2002 18:08:00 -0000 Subject: Environment windows not opening In-Reply-To: <08E9E30FCA2CD5119BEA0090274066DF046E4776@axcs16.cos.agilent.com> References: <08E9E30FCA2CD5119BEA0090274066DF046E4776@axcs16.cos.agilent.com> Message-ID: <3DC1E218.7060708@msu.edu> Did you try launching Cygwin/XFree86 with startxwin.bat? That is the recommended method. If it still fails, have a look at /tmp/XWin.log and send in the contents if you cannot find any errors. Be sure to email us if startxwin.bat works so we know that you have been helped. Harold john_staroba@agilent.com wrote: >I believe I installed all the xfree86 files, and still have the problem described below. Any ideas? > >Thanks, >John > >-----Original Message----- >From: Igor Pechtchanski [mailto:pechtcha@cs.nyu.edu] >Sent: Thursday, October 31, 2002 4:43 PM >To: john_staroba@agilent.com >Cc: cygwin@cygwin.com; cygwin-xfree@cygwin.com >Subject: Re: Environment windows not opening > > >On Thu, 31 Oct 2002 john_staroba@agilent.com wrote: > > > >>I just installed cygwin without any trouble. The command prompt window >>appears to be working fine, as does the vi editor. When attempting to >>launch an xwindow, only the main window will open and the system >>apparently hangs. Prompt window displays >>.. >>.. >>.. >>.. >>until you close the main xwindow, and then displays: >> >>giving up. >>xinit: No such file or directory : unable to connect to X server >>xinit: No such process : Server error. >> >>I'm running win NT. Any ideas on what to do? >> >> > >Yes. Run an X server. For details, see http://xfree86.cygwin.com/ >If you have problems, please direct any queries to the cygwin-xfree list >(I set the Reply-To: field to it, and also Cc'd this message there). > Igor > > From mailman-owner@server4.hostpoint.ch Thu Oct 31 20:31:00 2002 From: mailman-owner@server4.hostpoint.ch (mailman-owner@server4.hostpoint.ch) Date: Thu, 31 Oct 2002 20:31:00 -0000 Subject: blackmusic.ch mailing list memberships reminder Message-ID: <20021101043144.7552.70640.Mailman@server4.hostpoint.ch> This is a reminder, sent out once a month, about your blackmusic.ch mailing list memberships. It includes your subscription info and how to use it to change it or unsubscribe from a list. You can visit the URLs to change your membership status or configuration, including unsubscribing, setting digest-style delivery or disabling delivery altogether (e.g., for a vacation), and so on. In addition to the URL interfaces, you can also use email to make such changes. For more info, send a message to the '-request' address of the list (for example, Newsletter-request@blackmusic.ch) containing just the word 'help' in the message body, and an email message will be sent to you with instructions. If you have questions, problems, comments, etc, send them to mailman-owner@server4.hostpoint.ch. Thanks! Passwords for cygwin-xfree@cygwin.com: List Password // URL ---- -------- Newsletter@blackmusic.ch uviwif http://server4.hostpoint.ch/mailman/options/newsletter_blackmusic.ch/cygwin-xfree%40cygwin.com From pgeorge@aalayance.com Tue Oct 1 05:59:00 2002 From: pgeorge@aalayance.com (George Thomas P) Date: Tue, 01 Oct 2002 05:59:00 -0000 Subject: Remote sessions with HP UX CDE ? Message-ID: <006301c26949$ee0b6b10$4101a8c0@india.aalayance.com> Hi there, I'm a newbie with Cygwin. I have the following problem after executing the following command to start an X session with a HP UX machine:- XWin -query where is our HPUX ip. My Cygwin instance hangs after that. I was wondering if any of you folks were successful in starting remote X Sessions with HP-UX ? HP-UX uses the CDE window manager I believe, I saw some suggestions for the Solaris CDE in the Cygwin FAQ, do they apply to HP UX as well ? If anyone out there could offer some pointers I'd be most grateful. Thanks in advance regards George From alanh@fairlite.demon.co.uk Tue Oct 1 07:38:00 2002 From: alanh@fairlite.demon.co.uk (Alan Hourihane) Date: Tue, 01 Oct 2002 07:38:00 -0000 Subject: XFree 4.2.1 + fontconfig-2 In-Reply-To: References: <20020925134833.GU1409@fairlite.demon.co.uk> Message-ID: <20021001143713.GJ25048@fairlite.demon.co.uk> On Sat, Sep 28, 2002 at 05:19:53PM +0200, Alexander Gottwald wrote: > Alan Hourihane wrote: > > > When you've come to a decision on the patch, post a new one so I > > can take a look and then commit it. > > There's a new one. > > The cygwin.rules diff includes: > > - new macro SharedLibraryName > evalutes to cygName-Version.dll > - new macro ImportLibraryName > evaluates to libName-Version.dll.a > - new macro ShortImportLibraryName > evaluates to libName.dll.a > - new macro InstallLink > creates a symlink on install. Needed for symlinking ImportLibraryName() > to ShortImportLibraryName() > - new macro LinkImportLibrary > creates a link to ImportLibraryName as xc/exports/lib/libName.a > - cleaup of of old macros to use the ShareLibraryName and ImportLibraryName > macros instead of the old Concat3() composition > - added new ld option --exclude-libs All in MakeDLLProg. This should prevent > exporting of symbols which were imported from another library. > - Some macros now also need the library version to pass it to the new *Name > macros. Added rev to parameterlists. > - Installing a link libName-Version.dll.a with name libName.dll.a > > The --exclude-libs ALL is needed at my system since Xft exported symbols > from Xrender. linking a program with -Xrender -lXft failed because of > duplicate symbols. Since we're using spec files to specify which symbols > have to be exported, --exclude-libs ALL should be no problem. > > The second path changes the order of the libraries. It is now -lXrender > -lXext -lX11. This fixes an error where some symbols from libX11 were not > found when the linker resolved symbols from libXrender. I've done a test build with this and my other patches and it seems to work well in my "limited" testing. I've now committed the changes, so if others can also test as well, that'd be good. Can someone test a Cross Compile environment. I needed to comment out the ComplexProgramTarget_1 rule which isn't needed when building on Cygwin in my tests, but may well be needed for cross compiles. If so I can stick in the #if CrossCompile/#endif stuff. Thanks for the patch Alexander. We're also awaiting the new cygwin dll and relevant binutils packages before we can turn on shared libraries for Xaw/Xt as they export arrays which the auto-import can't currently deal with. There are workarounds for this, but I'm loathe to implement those kinds of fixes. Alan. From alexander.gottwald@s1999.tu-chemnitz.de Tue Oct 1 07:52:00 2002 From: alexander.gottwald@s1999.tu-chemnitz.de (Alexander Gottwald) Date: Tue, 01 Oct 2002 07:52:00 -0000 Subject: XFree 4.2.1 + fontconfig-2 In-Reply-To: <20021001143713.GJ25048@fairlite.demon.co.uk> Message-ID: On Tue, 1 Oct 2002, Alan Hourihane wrote: > > Can someone test a Cross Compile environment. I needed to comment > out the ComplexProgramTarget_1 rule which isn't needed when building > on Cygwin in my tests, but may well be needed for cross compiles. If > so I can stick in the #if CrossCompile/#endif stuff. Are these recent changes? All testing I've done was only in a crosscompile environment. > We're also awaiting the new cygwin dll and relevant binutils packages > before we can turn on shared libraries for Xaw/Xt as they export > arrays which the auto-import can't currently deal with. And the new binutils will help? I've run into this problem too. bye ago -- Alexander.Gottwald@informatik.tu-chemnitz.de http://www.gotti.org ICQ: 126018723 From alanh@fairlite.demon.co.uk Tue Oct 1 07:58:00 2002 From: alanh@fairlite.demon.co.uk (Alan Hourihane) Date: Tue, 01 Oct 2002 07:58:00 -0000 Subject: XFree 4.2.1 + fontconfig-2 In-Reply-To: References: <20021001143713.GJ25048@fairlite.demon.co.uk> Message-ID: <20021001145839.GK25048@fairlite.demon.co.uk> On Tue, Oct 01, 2002 at 04:52:29PM +0200, Alexander Gottwald wrote: > On Tue, 1 Oct 2002, Alan Hourihane wrote: > > > > Can someone test a Cross Compile environment. I needed to comment > > out the ComplexProgramTarget_1 rule which isn't needed when building > > on Cygwin in my tests, but may well be needed for cross compiles. If > > so I can stick in the #if CrossCompile/#endif stuff. > > Are these recent changes? All testing I've done was only in a crosscompile > environment. Yes, then they are probably needed, so just check for me and I'll make the change. > > We're also awaiting the new cygwin dll and relevant binutils packages > > before we can turn on shared libraries for Xaw/Xt as they export > > arrays which the auto-import can't currently deal with. > > And the new binutils will help? I've run into this problem too. Yes, aparently so. Check out the cygwin archive lists for more details. Alan. From huntharo@msu.edu Tue Oct 1 08:36:00 2002 From: huntharo@msu.edu (Harold Hunt) Date: Tue, 01 Oct 2002 08:36:00 -0000 Subject: Remote sessions with HP UX CDE ? In-Reply-To: <006301c26949$ee0b6b10$4101a8c0@india.aalayance.com> Message-ID: George, Your email has been received. However, I do not work with HP-UX and I am not sure if anyone here does, so I didn't want you to think that you were being ignored if you don't get any further replies. Hopefully someone around here will be able to help you out. I can start with the usual though: send in your /tmp/XWin.log contents. Harold > -----Original Message----- > From: cygwin-xfree-owner@cygwin.com > [mailto:cygwin-xfree-owner@cygwin.com]On Behalf Of George Thomas P > Sent: Tuesday, October 01, 2002 8:56 AM > To: cygwin-xfree@cygwin.com > Subject: Remote sessions with HP UX CDE ? > > > Hi there, > > I'm a newbie with Cygwin. I have the following problem after executing the > following command to start an X session with a HP UX machine:- > > XWin -query > > where is our HPUX ip. My Cygwin instance hangs after that. > > I was wondering if any of you folks were successful in starting remote X > Sessions with HP-UX ? > > HP-UX uses the CDE window manager I believe, I saw some > suggestions for the > Solaris CDE in the Cygwin FAQ, do they apply to HP UX as well ? > > If anyone out there could offer some pointers I'd be most grateful. Thanks > in advance > > > regards George > > From huntharo@msu.edu Tue Oct 1 08:43:00 2002 From: huntharo@msu.edu (Harold Hunt) Date: Tue, 01 Oct 2002 08:43:00 -0000 Subject: XFree 4.2.1 + fontconfig-2 In-Reply-To: <20021001145839.GK25048@fairlite.demon.co.uk> Message-ID: Alan, If I recall correctly, the reason we have to override ComplexProgramTarget_1 for cross compiling is that the correct dependency list is not generated for the first run through the build tree. Some executables are not going to be built until a second pass through the build tree. No errors are generated when this problem occurs, so the only way you know that there is a problem during cross compiling is to go and audit one of the sets of targets that are built with ComplexProgramTarget and make sure that all of those targets were built. With that being said, I will do a build check. However, I can think of nothing that has been done to remedy this problem, so I will almost guarantee that #if CrossCompiling will be needed for ComplexProgramTarget_1. Will let you know. Harold > -----Original Message----- > From: cygwin-xfree-owner@cygwin.com > [mailto:cygwin-xfree-owner@cygwin.com]On Behalf Of Alan Hourihane > Sent: Tuesday, October 01, 2002 10:59 AM > To: cygwin-xfree@cygwin.com > Subject: Re: XFree 4.2.1 + fontconfig-2 > > > On Tue, Oct 01, 2002 at 04:52:29PM +0200, Alexander Gottwald wrote: > > On Tue, 1 Oct 2002, Alan Hourihane wrote: > > > > > > Can someone test a Cross Compile environment. I needed to comment > > > out the ComplexProgramTarget_1 rule which isn't needed when building > > > on Cygwin in my tests, but may well be needed for cross compiles. If > > > so I can stick in the #if CrossCompile/#endif stuff. > > > > Are these recent changes? All testing I've done was only in a > crosscompile > > environment. > > Yes, then they are probably needed, so just check for me and I'll make > the change. > > > > We're also awaiting the new cygwin dll and relevant binutils packages > > > before we can turn on shared libraries for Xaw/Xt as they export > > > arrays which the auto-import can't currently deal with. > > > > And the new binutils will help? I've run into this problem too. > > Yes, aparently so. Check out the cygwin archive lists for more details. > > Alan. From ben.calvert@ams.com Tue Oct 1 08:46:00 2002 From: ben.calvert@ams.com (Ben Calvert) Date: Tue, 01 Oct 2002 08:46:00 -0000 Subject: Remote sessions with HP UX CDE ? Message-ID: sorry, looks like i missed this the first time 'round. with both hp-ux and solaris i have mixed results, but i think this is mostly due to our interesting dns/wins combination here. Sometimes i need to specify the ip i'm sending from: Xwin -query -from but this may be due to the fact that my laptop's hostname isn't reliably resolvable. thanks, ben "Harold Hunt" To: Sent by: cc: cygwin-xfree-owner@ Subject: RE: Remote sessions with HP UX CDE ? cygwin.com 10/01/2002 11:36 AM Please respond to cygwin-xfree George, Your email has been received. However, I do not work with HP-UX and I am not sure if anyone here does, so I didn't want you to think that you were being ignored if you don't get any further replies. Hopefully someone around here will be able to help you out. I can start with the usual though: send in your /tmp/XWin.log contents. Harold > -----Original Message----- > From: cygwin-xfree-owner@cygwin.com > [mailto:cygwin-xfree-owner@cygwin.com]On Behalf Of George Thomas P > Sent: Tuesday, October 01, 2002 8:56 AM > To: cygwin-xfree@cygwin.com > Subject: Remote sessions with HP UX CDE ? > > > Hi there, > > I'm a newbie with Cygwin. I have the following problem after executing the > following command to start an X session with a HP UX machine:- > > XWin -query > > where is our HPUX ip. My Cygwin instance hangs after that. > > I was wondering if any of you folks were successful in starting remote X > Sessions with HP-UX ? > > HP-UX uses the CDE window manager I believe, I saw some > suggestions for the > Solaris CDE in the Cygwin FAQ, do they apply to HP UX as well ? > > If anyone out there could offer some pointers I'd be most grateful. Thanks > in advance > > > regards George > > From schwaa98@yahoo.com Tue Oct 1 08:58:00 2002 From: schwaa98@yahoo.com (Brian Rowe) Date: Tue, 01 Oct 2002 08:58:00 -0000 Subject: X11 headers not found Message-ID: <20021001155812.34669.qmail@web40206.mail.yahoo.com> When I try to compile some code (NetHack) I can't find hearders in so #include results in file not found. The file is there, so it must think X11 is somewhere else. How does this get set. My C is 5 years old, sorry for the stupid question. __________________________________________________ Do you Yahoo!? New DSL Internet Access from SBC & Yahoo! http://sbc.yahoo.com From pgeorge@aalayance.com Tue Oct 1 09:26:00 2002 From: pgeorge@aalayance.com (George Thomas P) Date: Tue, 01 Oct 2002 09:26:00 -0000 Subject: Remote sessions with HP UX CDE ? Message-ID: <007601c26966$db125e70$4101a8c0@india.aalayance.com> Hi All, Thanks :-) for the responses ...but I'm still unsuccessful. I did try XWin -query -from but no luck yet....Here's my XWin.log file. To those folks who are able to run remote HP CDE sessions ( I be ;-) ), did you have to do any special configuration, or tweak any prop files or something. Once again :-) thanks in advance. regards George -------------- next part -------------- A non-text attachment was scrubbed... Name: XWin.log Type: application/octet-stream Size: 1878 bytes Desc: not available URL: From papafox888@hotmail.com Tue Oct 1 09:53:00 2002 From: papafox888@hotmail.com (Papa Fox) Date: Tue, 01 Oct 2002 09:53:00 -0000 Subject: Remote sessions with HP UX CDE ? Message-ID: Hi, Cygwin XFree has a limitation - it doesn't work with 8bpp screens. You need to change your screen settings to at least 16bpp. To change you color depth: Right click on the desktop, select 'Properties'; select the 'Settings' tab; change the 'Color Quality' setting to either 'High (24 bits)' or 'Highest (32 bits)'. Warning: check that selecting a higher color depth doesn't cause Windows to reduce you screen resolution. Check that the 'Screen Resolution' value has not changed. Click OK. regards Papa Fox _________________________________________________________________ MSN Photos is the easiest way to share and print your photos: http://photos.msn.com/support/worldwide.aspx From ben.calvert@ams.com Tue Oct 1 12:15:00 2002 From: ben.calvert@ams.com (Ben Calvert) Date: Tue, 01 Oct 2002 12:15:00 -0000 Subject: Remote sessions with HP UX CDE ? Message-ID: george - i've rebooted since ths morning, and have dug up this bat file i was playing with. i'm able to connect to my machine with it, maybe it'll help you. (See attached file: X.bat) "George Thomas P" com> cc: Sent by: Subject: Re: Re: Remote sessions with HP UX CDE ? cygwin-xfree-owner@ cygwin.com 10/01/2002 09:23 AM Please respond to cygwin-xfree Hi All, Thanks :-) for the responses ...but I'm still unsuccessful. I did try XWin -query -from but no luck yet....Here's my XWin.log file. To those folks who are able to run remote HP CDE sessions ( I be ;-) ), did you have to do any special configuration, or tweak any prop files or something. Once again :-) thanks in advance. regards George (See attached file: XWin.log) -------------- next part -------------- A non-text attachment was scrubbed... Name: X.bat Type: application/octet-stream Size: 136 bytes Desc: not available URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: XWin.log Type: application/octet-stream Size: 1878 bytes Desc: not available URL: From Administrator@dounsix.co.nz Tue Oct 1 12:16:00 2002 From: Administrator@dounsix.co.nz (Administrator@dounsix.co.nz) Date: Tue, 01 Oct 2002 12:16:00 -0000 Subject: Mail Notification Message-ID: <20021001191635.68A4EADFBF@smtp-3.paradise.net.nz> The attached message has been deleted because of the following reason: Message contains attachments: X.bat Additional Information: none -------------- next part -------------- An embedded message was scrubbed... From: "Ben Calvert" Subject: Re: Re: Remote sessions with HP UX CDE ? Date: Tue, 1 Oct 2002 12:15:33 -0700 Size: 7633 URL: From mecklen@cimsoft.com Tue Oct 1 12:46:00 2002 From: mecklen@cimsoft.com (Robert Mecklenburg) Date: Tue, 01 Oct 2002 12:46:00 -0000 Subject: Debatable: Rootless Mode is an Important and Needed Feature In-Reply-To: <3D94B1AC.2060705@msu.edu> References: <3D94B1AC.2060705@msu.edu> Message-ID: <15769.64377.285000.831461@gargle.gargle.HOWL> HLH> Could you please ask your pointy-haired bosses for a few thousand bucks HLH> to pay one of your programmers to throw some time at a rootless mode? HLH> Better yet, why don't you ask them if they would be willing to pay me to HLH> do it? Some time ago there was a suggestion to setup a paypal account to receive donations for this purpose. I recall someone saying that an announcement would be made when the account was available. What ever happened to this? Personally, I'd be happy to contribute some hard cash to whomever implements this feature. Cheers, -- Robert From huntharo@msu.edu Tue Oct 1 14:14:00 2002 From: huntharo@msu.edu (Harold L Hunt II) Date: Tue, 01 Oct 2002 14:14:00 -0000 Subject: Remote sessions with HP UX CDE ? References: Message-ID: <3D9A1011.1050008@msu.edu> Mr. Fox, What limitation are you speaking of? I wrote the 8bpp code, so I can assure you that there is no such limitation. Perhaps you were saying that Cygwin/XFree86 cannot connect to HP UX's CDE when running in 8bpp --- I would certainly believe that, but I have not heard that from other users yet. If you haven't tried 8bpp in awhile, try it. It has worked fine for months now. The only remaining problem is that we cannot support 8bpp visuals when the root visual is >8bpp; for example, we can't allow you to run your desktop in 16bpp and still display a given CAD program on an 8bpp visual (seems CAD programs love to use 8bpp). Other than that we are pretty much feature complete in the 8bpp department. Harold Papa Fox wrote: > Hi, > > Cygwin XFree has a limitation - it doesn't work with 8bpp screens. You > need to change your screen settings to at least 16bpp. > > To change you color depth: > > Right click on the desktop, select 'Properties'; select the 'Settings' > tab; change the 'Color Quality' setting to either 'High (24 bits)' or > 'Highest (32 bits)'. Warning: check that selecting a higher color depth > doesn't cause Windows to reduce you screen resolution. Check that the > 'Screen Resolution' value has not changed. Click OK. > > regards > Papa Fox > > > _________________________________________________________________ > MSN Photos is the easiest way to share and print your photos: > http://photos.msn.com/support/worldwide.aspx > From huntharo@msu.edu Tue Oct 1 14:55:00 2002 From: huntharo@msu.edu (Harold L Hunt II) Date: Tue, 01 Oct 2002 14:55:00 -0000 Subject: Debatable: Rootless Mode is an Important and Needed Feature References: <3D94B1AC.2060705@msu.edu> <15769.64377.285000.831461@gargle.gargle.HOWL> Message-ID: <3D9A19CE.8060500@msu.edu> Robert, My PayPal account is my email address. I have not setup a link to it from my homepage yet, but I have that on my To-Do list. I have also not proposed any prices for developing features that do not exist. However, I would be more than happy to accept any contributions for the work that I have already done... I could certainly use that money to keep my development hardware up-to-date. I have really been looking into upgrading my Linux machine that I use for building Cygwin/XFree86 --- I need a new motherboard ($120), a new chip ($200), a new 7200 RPM hard drive ($120), a bundle of RAM ($100), and a semi-modern graphics card ($120). I'd also like to have a UPS ($100-$200) since uptimes of more than 7 days are becoming rather rare at my apartment due to lightning storms and whatnot. It is a real pain to try logging on to my Linux machine from school only to find out that the storm during the night caused it to hang (we've had some power sags that caused it to hang but that did not cause the machine to reboot or X to stop displaying on the screen). PayPal money would be perfect for this because I don't have to struggle with myself as to whether spending this money is worth it or not --- the PayPal money would only be spent for hardware, so there is nothing to struggle about. Needless to say, the fiance stays out of the loop on that money as well, so there is no chance of veto on any purchases :) Hopefully that will do until I put a link on my page. Like I said, my PayPal account is my email address. Harold Robert Mecklenburg wrote: > HLH> Could you please ask your pointy-haired bosses for a few thousand bucks > HLH> to pay one of your programmers to throw some time at a rootless mode? > HLH> Better yet, why don't you ask them if they would be willing to pay me to > HLH> do it? > > Some time ago there was a suggestion to setup a paypal account to > receive donations for this purpose. I recall someone saying that an > announcement would be made when the account was available. What ever > happened to this? Personally, I'd be happy to contribute some hard > cash to whomever implements this feature. > > Cheers, From huntharo@msu.edu Tue Oct 1 17:45:00 2002 From: huntharo@msu.edu (Harold Hunt) Date: Tue, 01 Oct 2002 17:45:00 -0000 Subject: XFree 4.2.1 + fontconfig-2 In-Reply-To: <20021001145839.GK25048@fairlite.demon.co.uk> Message-ID: Alan, Something is definitely borken: make[4]: Nothing to be done for `Makefiles'. make[4]: Leaving directory `/home/harold/x-devel/build/cross/doc/man/GLU' make[3]: Leaving directory `/home/harold/x-devel/build/cross/doc/man' make[2]: Leaving directory `/home/harold/x-devel/build/cross/doc' make[1]: Leaving directory `/home/harold/x-devel/build/cross' make -f xmakefile BOOTSTRAPSUBDIRS= clean make[1]: Entering directory `/home/harold/x-devel/build/cross' RemoveFile(Concat3(lib,libname,-rev.dll.a)) /bin/sh: -c: line 1: syntax error near unexpected token `RemoveFile(Concat3(' /bin/sh: -c: line 1: `RemoveFile(Concat3(lib,libname,-rev.dll.a))' make[1]: *** [cleandir] Error 2 make[1]: Leaving directory `/home/harold/x-devel/build/cross' make: *** [World] Error 2 What do you make of that? I have the latest cygwin.rules and I updated my entire tree about 10 hours ago (or a little less than that). Harold From huntharo@msu.edu Tue Oct 1 20:35:00 2002 From: huntharo@msu.edu (Harold Hunt) Date: Tue, 01 Oct 2002 20:35:00 -0000 Subject: Donations Message-ID: I have setup a Donations page on the Cygwin/XFree86 site. http://xfree86.cygwin.com/donations.html On the page is a link to contribute funds to Cygwin/XFree86 on the project-level (which I will collect and distribute to anyone needing a book or some equipment for development --- after they have become an established Cygwin/XFree86 developer). There is also a section for links to any individual contributor's web pages. Currently there is only my own link on this page: http://www.msu.edu/~huntharo/xwin/donations.htm The PayPal account that I have setup can accept credit card payments from anyone; additionally, PayPal members should be able to directly transfer funds into my PayPal account from their own account. By all means, do not feel obligated to make a donation. Also, realize that future Cygwin/XFree86 development does not depend upon the amount of donations received. Granted, it will be easier to do development when I know that my hardware upgrade costs are taken care of, but I will always be spending some amount of time tinkering with Cygwin/XFree86 regardless of the amount of donations. Think of the donations as either a way for you to give a token of your appreciation or as a way for you to influence the priority and amount of time put in to developing some feature that you would benefit from. Let the donations begin! ;) Harold P.S. One contributor has already given $25 and I thank him for that (he knows who he is). From geert.pille@vandemoortele.com Wed Oct 2 00:46:00 2002 From: geert.pille@vandemoortele.com (Pille Geert (bizvdm)) Date: Wed, 02 Oct 2002 00:46:00 -0000 Subject: RE Cygwin List posts Message-ID: <2FAEFC2A851BD211AD820008C7286BA402D7E294@NBIZ205> I have learned from a reliable source, that Harold has (repeat: HAS) a pain in the ass. Which sometimes explains a person's emotional reactions. But one must admit that Ben did not help to ease the pain. -----Original Message----- From: Jean-Claude Gervais [mailto:jc.gervais@videotron.ca] Sent: woensdag 25 september 2002 21:21 To: cygwin-xfree@cygwin.com; cygwin-xfree@cygwin.com Subject: RE: RE Cygwin List posts Having problems with your dog, Harold? ;-) -----Original Message----- From: cygwin-xfree-owner@cygwin.com [mailto:cygwin-xfree-owner@cygwin.com]On Behalf Of Harold L Hunt II Sent: Wednesday, September 25, 2002 4:16 PM To: Benjamin Simmons Cc: cygwin-xfree@cygwin.com Subject: Re: RE Cygwin List posts Ben, See, you aren't telling me what you have had success in doing. What do you mean ``They all work fine''? Does that mean that you have successfully done an XDMCP session, used ssh to display remote clients, and used telnet to display remote clients? If so, then say exactly that. I'm not just going to ``elaborate'' about the wonderful things that you can do with XDMCP and ssh --- I could write about them all day long. You have to ask a specific question about precisely what it is that you want to do. We cannot read your mind. Imagine for a moment that your dog cannot walk and that I am a vet. If you come to me and say, ``my dog has a broken leg, can you fix it?'', then I am very likely to help you. If, on the other hand, you come to me and say, ``My dog needs to [mumble mumble mumble]... can you tell me about the many things that dogs can do?'', then I'm going to kick you out of my office. Harold P.S. - This is going back on cygwin-xfree@cygwin.com because it seems to me like you are trying to waste my time since you are being vague about both your questions and your answers. Don't reply to me personally, only send your questions to cygwin-xfree@cygwin.com Benjamin Simmons wrote: >thank you sir for your reply, >at this point I would love to gain some further instruction on either option >you present. I have multiple RHLinux 7.2 boxes setup so that I can do your >first option. They all work fine. I am having the difficulty in setting up >a RH Linux 7.3 box in the same manner. > >I did the things you discuss in the guide, and any further elaboration is >greatly appreciated. > >Thank you, >Ben Simmons > >Harold L Hunt II wrote: > > > >>Ben, >> >>I have been reading the list and it looks to me like you asked the same >>question over again. Rasjid gave you the same answer that I gave you >>--- which defeats the purpose of writing a User's Guide, since I wrote >>the User's Guide to explain this very question once and for all. >> >>You say that you need to connect to multiple machines. Is that the >>specific part that you are having trouble with? Are you able to connect >>to one machine at a time, but not to multiple machines at once? If so, >>I can help you with that. >> >>Please be clear on whether you are trying to run a remote session via >>XDMCP (where you are presented by a login box and one Cygwin/XFree86 >>window is owned entirely by one remote machine) or whether you are >>trying to display remote clients via ssh (in which case you can ssh to >>multiple remote machines and have them all display X Clients in one >>Cygwin/XFree86 window - or in multiple Cygwin/XFree86 windows). >> >>Harold >> >>Benjamin Simmons wrote: >> >> >> >>>If you had ben paying attention to the list today, you would have seen >>>an excahnge between myself and Rasjid Wilcox. >>> >>>If you were paying attention to this exchange, you would have noticed >>>that he has offered further details. >>> >>>I did read through what you sent me, and found it to cover exactly what >>>I had already done. Since I had used your information, but felt that I >>>needed further details, I responded to someone that was willing to >>>provide them. >>> >>>If you are having a problem with my exchange on this topic, please feel >>>free to ignore all further posts to this message, otherwise, I would >>>like to personally thank you for your assistance. I have gotten >>>frustrated with my inability to connect the final piece of this puzzle. >>> >>>To clarify, I do work for and am a student at The University of >>>Memphis. I am currently performing research and need to access multiple >>>linux machines remotely to complete my dissertation. >>> >>>Thank you again for your help, >>>Ben Simmons >>> >>> >>> >>> >>> >>> >>> >>> >>> > > > =============================== 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 alanh@fairlite.demon.co.uk Wed Oct 2 03:14:00 2002 From: alanh@fairlite.demon.co.uk (Alan Hourihane) Date: Wed, 02 Oct 2002 03:14:00 -0000 Subject: XFree 4.2.1 + fontconfig-2 In-Reply-To: References: <20021001145839.GK25048@fairlite.demon.co.uk> Message-ID: <20021002101422.GB1631@fairlite.demon.co.uk> On Tue, Oct 01, 2002 at 08:45:00PM -0400, Harold Hunt wrote: > Alan, > > Something is definitely borken: > > make[4]: Nothing to be done for `Makefiles'. > make[4]: Leaving directory `/home/harold/x-devel/build/cross/doc/man/GLU' > make[3]: Leaving directory `/home/harold/x-devel/build/cross/doc/man' > make[2]: Leaving directory `/home/harold/x-devel/build/cross/doc' > make[1]: Leaving directory `/home/harold/x-devel/build/cross' > make -f xmakefile BOOTSTRAPSUBDIRS= clean > make[1]: Entering directory `/home/harold/x-devel/build/cross' > RemoveFile(Concat3(lib,libname,-rev.dll.a)) > /bin/sh: -c: line 1: syntax error near unexpected token > `RemoveFile(Concat3(' > /bin/sh: -c: line 1: `RemoveFile(Concat3(lib,libname,-rev.dll.a))' > make[1]: *** [cleandir] Error 2 > make[1]: Leaving directory `/home/harold/x-devel/build/cross' > make: *** [World] Error 2 > > > What do you make of that? Well, RemoveFile should have been expanded in the 'xmakefile' - regardless of the Concat3(....) stuff. Check your xmakefile and do 'touch Imakefile;make Makefile'. See if that still isn't expanding, if it isn't I'll leave for Alexander to explain as I don't have a cross compilation environment setup. It certainly doesn't happen natively. Alan. From alexander.gottwald@s1999.tu-chemnitz.de Wed Oct 2 03:39:00 2002 From: alexander.gottwald@s1999.tu-chemnitz.de (Alexander Gottwald) Date: Wed, 02 Oct 2002 03:39:00 -0000 Subject: XFree 4.2.1 + fontconfig-2 In-Reply-To: <20021001145839.GK25048@fairlite.demon.co.uk> Message-ID: On Tue, 1 Oct 2002, Alan Hourihane wrote: > > Yes, then they are probably needed, so just check for me and I'll make > the change. I've done a test run this morning. Without the ComplexProgramTarget_1 in cygwin.rules it fails in programs/bitmap with "No rule for target bitmap found" since the makefile looks like this. PROGRAMS=bitmap ... all: $(PROGRAMS) bitmap.exe: ... With ComplexProgramTarget it builds succesfully. The Makefile is similar to this: PROGRAMS=bitmap all: $(foreach prog,$(PROGRAMS),prog.exe) bitmap.exe: ... To remove the ComplexProgramTarget we either have to write all elementes of PROGRAMS as ProgramTarget(prog) or have ComplexTarget write a all:: ProgramTarget(prog) and remove the all: $(PROGRAMS) rule. bye ago -- Alexander.Gottwald@informatik.tu-chemnitz.de http://www.gotti.org ICQ: 126018723 From alanh@fairlite.demon.co.uk Wed Oct 2 03:47:00 2002 From: alanh@fairlite.demon.co.uk (Alan Hourihane) Date: Wed, 02 Oct 2002 03:47:00 -0000 Subject: XFree 4.2.1 + fontconfig-2 In-Reply-To: References: <20021001145839.GK25048@fairlite.demon.co.uk> Message-ID: <20021002104658.GD1631@fairlite.demon.co.uk> On Wed, Oct 02, 2002 at 12:39:04PM +0200, Alexander Gottwald wrote: > On Tue, 1 Oct 2002, Alan Hourihane wrote: > > > > > Yes, then they are probably needed, so just check for me and I'll make > > the change. > > I've done a test run this morning. Without the ComplexProgramTarget_1 in > cygwin.rules it fails in programs/bitmap with "No rule for target bitmap found" > since the makefile looks like this. > PROGRAMS=bitmap ... > all: $(PROGRAMS) > bitmap.exe: ... > > With ComplexProgramTarget it builds succesfully. The Makefile is similar to this: > PROGRAMS=bitmap > all: $(foreach prog,$(PROGRAMS),prog.exe) > bitmap.exe: ... Then I'll put the #if CrossCompile in for this rule only. Thanks Alexander. Alan. From huntharo@msu.edu Wed Oct 2 07:59:00 2002 From: huntharo@msu.edu (Harold L Hunt II) Date: Wed, 02 Oct 2002 07:59:00 -0000 Subject: RE Cygwin List posts References: <2FAEFC2A851BD211AD820008C7286BA402D7E294@NBIZ205> Message-ID: <3D9B099D.5040803@msu.edu> Geert, I don't know what you are trying to say here. My response to Jean-Claude was light-hearted (I said my dog was fine): http://cygwin.com/ml/cygwin-xfree/2002-09/msg00279.html Ben responded to me throwing my hands in the air with a much more detailed account of his situation (notice that the message subject changed back to RH 7.3 from our off-list subject of Cygwin List Posts): http://cygwin.com/ml/cygwin-xfree/2002-09/msg00280.html I then responded with some information that was probably helpful: http://cygwin.com/ml/cygwin-xfree/2002-09/msg00281.html After that there was no response, so I can only assume that the 1024x768x65535 was causing the problem (or his RedHat machine was not in runlevel 5). So Geert, I have misunderstood your postings before... what have I misunderstood this time? Harold Pille Geert (bizvdm) wrote: > I have learned from a reliable source, that Harold has (repeat: HAS) a pain > in the ass. Which sometimes explains a person's emotional reactions. But > one must admit that Ben did not help to ease the pain. > > -----Original Message----- > From: Jean-Claude Gervais [mailto:jc.gervais@videotron.ca] > Sent: woensdag 25 september 2002 21:21 > To: cygwin-xfree@cygwin.com; cygwin-xfree@cygwin.com > Subject: RE: RE Cygwin List posts > > > Having problems with your dog, Harold? ;-) > > -----Original Message----- > From: cygwin-xfree-owner@cygwin.com [mailto:cygwin-xfree-owner@cygwin.com]On > Behalf Of Harold L Hunt II > Sent: Wednesday, September 25, 2002 4:16 PM > To: Benjamin Simmons > Cc: cygwin-xfree@cygwin.com > Subject: Re: RE Cygwin List posts > > Ben, > > See, you aren't telling me what you have had success in doing. What do > you mean ``They all work fine''? Does that mean that you have > successfully done an XDMCP session, used ssh to display remote clients, > and used telnet to display remote clients? If so, then say exactly that. > > I'm not just going to ``elaborate'' about the wonderful things that you > can do with XDMCP and ssh --- I could write about them all day long. > You have to ask a specific question about precisely what it is that you > want to do. We cannot read your mind. Imagine for a moment that your > dog cannot walk and that I am a vet. If you come to me and say, ``my > dog has a broken leg, can you fix it?'', then I am very likely to help > you. If, on the other hand, you come to me and say, ``My dog needs to > [mumble mumble mumble]... can you tell me about the many things that > dogs can do?'', then I'm going to kick you out of my office. > > Harold > > P.S. - This is going back on cygwin-xfree@cygwin.com because it seems to > me like you are trying to waste my time since you are being vague about > both your questions and your answers. Don't reply to me personally, > only send your questions to cygwin-xfree@cygwin.com > > Benjamin Simmons wrote: > > >>thank you sir for your reply, >>at this point I would love to gain some further instruction on either > > option > >>you present. I have multiple RHLinux 7.2 boxes setup so that I can do your >>first option. They all work fine. I am having the difficulty in setting > > up > >>a RH Linux 7.3 box in the same manner. >> >>I did the things you discuss in the guide, and any further elaboration is >>greatly appreciated. >> >>Thank you, >>Ben Simmons >> >>Harold L Hunt II wrote: >> >> >> >> >>>Ben, >>> >>>I have been reading the list and it looks to me like you asked the same >>>question over again. Rasjid gave you the same answer that I gave you >>>--- which defeats the purpose of writing a User's Guide, since I wrote >>>the User's Guide to explain this very question once and for all. >>> >>>You say that you need to connect to multiple machines. Is that the >>>specific part that you are having trouble with? Are you able to connect >>>to one machine at a time, but not to multiple machines at once? If so, >>>I can help you with that. >>> >>>Please be clear on whether you are trying to run a remote session via >>>XDMCP (where you are presented by a login box and one Cygwin/XFree86 >>>window is owned entirely by one remote machine) or whether you are >>>trying to display remote clients via ssh (in which case you can ssh to >>>multiple remote machines and have them all display X Clients in one >>>Cygwin/XFree86 window - or in multiple Cygwin/XFree86 windows). >>> >>>Harold >>> >>>Benjamin Simmons wrote: >>> >>> >>> >>> >>>>If you had ben paying attention to the list today, you would have seen >>>>an excahnge between myself and Rasjid Wilcox. >>>> >>>>If you were paying attention to this exchange, you would have noticed >>>>that he has offered further details. >>>> >>>>I did read through what you sent me, and found it to cover exactly what >>>>I had already done. Since I had used your information, but felt that I >>>>needed further details, I responded to someone that was willing to >>>>provide them. >>>> >>>>If you are having a problem with my exchange on this topic, please feel >>>>free to ignore all further posts to this message, otherwise, I would >>>>like to personally thank you for your assistance. I have gotten >>>>frustrated with my inability to connect the final piece of this puzzle. >>>> >>>>To clarify, I do work for and am a student at The University of >>>>Memphis. I am currently performing research and need to access multiple >>>>linux machines remotely to complete my dissertation. >>>> >>>>Thank you again for your help, >>>>Ben Simmons >>>> >>>> >>>> >>>> >>>> >>>> >>>> >>>> >>>> >>> >> >> > > > > =============================== > 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 huntharo@msu.edu Wed Oct 2 08:02:00 2002 From: huntharo@msu.edu (Harold L Hunt II) Date: Wed, 02 Oct 2002 08:02:00 -0000 Subject: XFree 4.2.1 + fontconfig-2 References: <20021001145839.GK25048@fairlite.demon.co.uk> <20021002101422.GB1631@fairlite.demon.co.uk> Message-ID: <3D9B0A51.4090503@msu.edu> Alan, Everytime I a build check I do something like the following: cd ../ [from foo/xc] cd build mkdir std cd std lndir ../../xc > /dev/null make CROSSCOMPILEDIR="/cygwin/bin" World > World.log 2>&1 Thus, I know for sure that any built file is being rebuilt :) Next idea? Harold Alan Hourihane wrote: > On Tue, Oct 01, 2002 at 08:45:00PM -0400, Harold Hunt wrote: > >>Alan, >> >>Something is definitely borken: >> >>make[4]: Nothing to be done for `Makefiles'. >>make[4]: Leaving directory `/home/harold/x-devel/build/cross/doc/man/GLU' >>make[3]: Leaving directory `/home/harold/x-devel/build/cross/doc/man' >>make[2]: Leaving directory `/home/harold/x-devel/build/cross/doc' >>make[1]: Leaving directory `/home/harold/x-devel/build/cross' >>make -f xmakefile BOOTSTRAPSUBDIRS= clean >>make[1]: Entering directory `/home/harold/x-devel/build/cross' >>RemoveFile(Concat3(lib,libname,-rev.dll.a)) >>/bin/sh: -c: line 1: syntax error near unexpected token >>`RemoveFile(Concat3(' >>/bin/sh: -c: line 1: `RemoveFile(Concat3(lib,libname,-rev.dll.a))' >>make[1]: *** [cleandir] Error 2 >>make[1]: Leaving directory `/home/harold/x-devel/build/cross' >>make: *** [World] Error 2 >> >> >>What do you make of that? > > > Well, RemoveFile should have been expanded in the 'xmakefile' - regardless > of the Concat3(....) stuff. > > Check your xmakefile and do 'touch Imakefile;make Makefile'. > > See if that still isn't expanding, if it isn't I'll leave for Alexander > to explain as I don't have a cross compilation environment setup. > > It certainly doesn't happen natively. > > Alan. From alanh@fairlite.demon.co.uk Wed Oct 2 08:12:00 2002 From: alanh@fairlite.demon.co.uk (Alan Hourihane) Date: Wed, 02 Oct 2002 08:12:00 -0000 Subject: XFree 4.2.1 + fontconfig-2 In-Reply-To: <3D9B0A51.4090503@msu.edu> References: <20021001145839.GK25048@fairlite.demon.co.uk> <20021002101422.GB1631@fairlite.demon.co.uk> <3D9B0A51.4090503@msu.edu> Message-ID: <20021002151213.GG1631@fairlite.demon.co.uk> On Wed, Oct 02, 2002 at 11:01:37AM -0400, Harold L Hunt II wrote: > Alan, > > Everytime I a build check I do something like the following: > > cd ../ [from foo/xc] > cd build > mkdir std > cd std > lndir ../../xc > /dev/null > make CROSSCOMPILEDIR="/cygwin/bin" World > World.log 2>&1 > > > Thus, I know for sure that any built file is being rebuilt :) > > Next idea? None. Like I said, I don't have a cross compile environment and it works fine natively. Alexander - any ideas ? Alan. From alexander.gottwald@s1999.tu-chemnitz.de Wed Oct 2 08:23:00 2002 From: alexander.gottwald@s1999.tu-chemnitz.de (Alexander Gottwald) Date: Wed, 02 Oct 2002 08:23:00 -0000 Subject: XFree 4.2.1 + fontconfig-2 In-Reply-To: Message-ID: On Tue, 1 Oct 2002, Harold Hunt wrote: > Alan, > > Something is definitely borken: > > make[4]: Nothing to be done for `Makefiles'. > make[4]: Leaving directory `/home/harold/x-devel/build/cross/doc/man/GLU' > make[3]: Leaving directory `/home/harold/x-devel/build/cross/doc/man' > make[2]: Leaving directory `/home/harold/x-devel/build/cross/doc' > make[1]: Leaving directory `/home/harold/x-devel/build/cross' > make -f xmakefile BOOTSTRAPSUBDIRS= clean > make[1]: Entering directory `/home/harold/x-devel/build/cross' > RemoveFile(Concat3(lib,libname,-rev.dll.a)) > /bin/sh: -c: line 1: syntax error near unexpected token > `RemoveFile(Concat3(' > /bin/sh: -c: line 1: `RemoveFile(Concat3(lib,libname,-rev.dll.a))' Is this from xc/Imakefile? Can you please post 10 lines above and below the RemoveFile in the Makefile. Maybe I can get a clue where it is coming from. bye ago -- Alexander.Gottwald@informatik.tu-chemnitz.de http://www.gotti.org ICQ: 126018723 From huntharo@msu.edu Wed Oct 2 08:30:00 2002 From: huntharo@msu.edu (Harold L Hunt II) Date: Wed, 02 Oct 2002 08:30:00 -0000 Subject: XFree 4.2.1 + fontconfig-2 References: Message-ID: <3D9B10EF.4050105@msu.edu> Alexander, > Is this from xc/Imakefile? Can you please post 10 lines above and below the > RemoveFile in the Makefile. Maybe I can get a clue where it is coming from. Actually, I think it is from xc/xmakefile, since the Makefile is static. I will do one better than posting a few lines: http://www.msu.edu/~huntharo/xwin/xmakefile.bz2 However, below are the first few lines of the xmakefile... which contain the Concat3 call. Harold # Makefile generated by imake - do not edit! # $Xorg: imake.c,v 1.6 2001/02/09 02:03:15 xorgcvs Exp $ # ---------------------------------------------------------------------- # Makefile generated from "Imake.tmpl" and # $Xorg: Imake.tmpl,v 1.4 2000/08/17 19:41:46 cpqbld Exp $ # # # # # $XFree86: xc/config/cf/Imake.tmpl,v 3.129 2002/09/16 18:05:12 eich Exp $ # ---------------------------------------------------------------------- all:: .SUFFIXES: .i # $Xorg: Imake.cf,v 1.4 2000/08/17 19:41:45 cpqbld Exp $ # $XFree86: xc/config/cf/Imake.cf,v 3.78 2002/08/06 13:32:08 herrb Exp $ # ----------------------------------------------------------------------- # site-specific configuration parameters that need to come before # the platform-specific parameters - edit site.def to change # site: $TOG: site.sample /main/r64_final/1 1998/02/05 16:28:49 kaleb $ # site: $XFree86: xc/config/cf/site.def,v 3.25 2002/02/27 00:51:12 dawes Exp $ # $XFree86: xc/config/cf/xf86site.def,v 3.181 2002/02/22 21:32:33 dawes Exp $ # ---------------------------------------------------------------------- # platform-specific configuration parameters - edit cygwin.cf to change # platform: $XFree86: xc/config/cf/cygwin.cf,v 3.45 2002/10/01 14:31:36 alanh Exp $ # $XFree86: xc/config/cf/cygwin.rules,v 3.20 2002/10/01 14:31:36 alanh Exp $ Concat3(cyg,libname,-$(shell echo rev|sed s=\\..*==).dll): deplist libname.def RemoveFile(Concat3(lib,libname,-$(shell echo rev|sed s=\\..*==).dll.a)) RemoveFile(Concat3(cyg,libname,-$(shell echo rev|sed s=\\..*==).dll)) MakeCplusplusDLL(libname,solist,rev) LinkBuildLibrary(Concat3(lib,libname,-$(shell echo rev|sed s=\\..*==).dll.a)) LinkImportLibrary(Concat3(lib,libname,-$(shell echo rev|sed s=\\..*==).dll.a),LibraryTargetName(libname)) LinkBuildDLL(Concat3(cyg,libname,-$(shell echo rev|sed s=\\..*==).dll)) cleandir:: RemoveFile(Concat3(lib,libname,-$(shell echo rev|sed s=\\..*==).dll.a)) RemoveFile(Concat3(cyg,libname,-$(shell echo rev|sed s=\\..*==).dll)) # $XFree86: xc/config/cf/xfree86.cf,v 3.407 2002/09/24 02:55:00 tsi Exp $ # $Xorg: xfree86.cf,v 1.4 2000/08/17 19:41:49 cpqbld Exp $ DRIVERSDKDIR = $(USRLIBDIR)/Server DRIVERSDKMODULEDIR = $(USRLIBDIR)/Server/modules DRIVERSDKINCLUDEDIR = $(USRLIBDIR)/Server/include From frank.l.lane@boeing.com Wed Oct 2 09:04:00 2002 From: frank.l.lane@boeing.com (Lane, Frank L) Date: Wed, 02 Oct 2002 09:04:00 -0000 Subject: How do you gentleuser's start your X stuff? Message-ID: <3B2480653E7D2C4E8AA5699598D691C423005C@xch-se-03.se.nos.boeing.com> Hello again, I'm managing to take a couple of steps a day. One thing I stumbled across the other day is the startx command. I use this to work. I've noticed that my windows are not resizable and do not have scrollbars. Is there a better way to kickoff X? Second question, as I'm interested in learning everything I can about X, I'm trying to write some beginner programs. When I compile using gcc I get a message about unresolved calls to _XSimpleWindow and some other functions. I've tried including -L/usr/X11R6/bin/libX11.dll but that doesn't help. Any suggestions? Is there anyway I can see if the function xsimplewindow is in the libX11.dll or what files exist in what dll's? Thanks, Frank From alexander.gottwald@s1999.tu-chemnitz.de Wed Oct 2 09:11:00 2002 From: alexander.gottwald@s1999.tu-chemnitz.de (Alexander Gottwald) Date: Wed, 02 Oct 2002 09:11:00 -0000 Subject: XFree 4.2.1 + fontconfig-2 In-Reply-To: <3D9B10EF.4050105@msu.edu> Message-ID: On Wed, 2 Oct 2002, Harold L Hunt II wrote: > > # platform: $XFree86: xc/config/cf/cygwin.cf,v 3.45 2002/10/01 14:31:36 > alanh Exp $ > > # $XFree86: xc/config/cf/cygwin.rules,v 3.20 2002/10/01 14:31:36 alanh Exp $ > > Concat3(cyg,libname,-$(shell echo rev|sed s=\\..*==).dll): deplist > libname.def > RemoveFile(Concat3(lib,libname,-$(shell echo rev|sed s=\\..*==).dll.a)) > RemoveFile(Concat3(cyg,libname,-$(shell echo rev|sed s=\\..*==).dll)) > MakeCplusplusDLL(libname,solist,rev) > LinkBuildLibrary(Concat3(lib,libname,-$(shell echo rev|sed > s=\\..*==).dll.a)) > LinkImportLibrary(Concat3(lib,libname,-$(shell echo rev|sed > s=\\..*==).dll.a),LibraryTargetName(libname)) > LinkBuildDLL(Concat3(cyg,libname,-$(shell echo rev|sed s=\\..*==).dll)) > > cleandir:: > RemoveFile(Concat3(lib,libname,-$(shell echo rev|sed s=\\..*==).dll.a)) > RemoveFile(Concat3(cyg,libname,-$(shell echo rev|sed s=\\..*==).dll)) > > # $XFree86: xc/config/cf/xfree86.cf,v 3.407 2002/09/24 02:55:00 tsi Exp $ > > # $Xorg: xfree86.cf,v 1.4 2000/08/17 19:41:49 cpqbld Exp $ Hm, The reference was added in cygwin.rules. The expanded macro was SharedDepCplusplusLibraryTarget. But the version in CVS has only one line with SharedDepCplusplusLibraryTarget. Maybe you're checked out version is garbled? Can you create the xmakefile with line information? imake -v should print the cpp command and adding -dN -dI and removing -P from that commandline should create an xmakefile with all line info and all defines in it. bye ago -- Alexander.Gottwald@informatik.tu-chemnitz.de http://www.gotti.org ICQ: 126018723 From alexander.gottwald@s1999.tu-chemnitz.de Wed Oct 2 09:13:00 2002 From: alexander.gottwald@s1999.tu-chemnitz.de (Alexander Gottwald) Date: Wed, 02 Oct 2002 09:13:00 -0000 Subject: How do you gentleuser's start your X stuff? In-Reply-To: <3B2480653E7D2C4E8AA5699598D691C423005C@xch-se-03.se.nos.boeing.com> Message-ID: On Wed, 2 Oct 2002, Lane, Frank L wrote: > Second question, as I'm interested in learning everything I can about X, I'm > trying to write some beginner programs. When I compile using gcc I get a > message about unresolved calls to _XSimpleWindow and some other functions. > I've tried including -L/usr/X11R6/bin/libX11.dll but that doesn't help. Any > suggestions? Is there anyway I can see if the function xsimplewindow is in > the libX11.dll or what files exist in what dll's? bye ago -- Alexander.Gottwald@informatik.tu-chemnitz.de http://www.gotti.org ICQ: 126018723 From frank.l.lane@boeing.com Wed Oct 2 09:19:00 2002 From: frank.l.lane@boeing.com (Lane, Frank L) Date: Wed, 02 Oct 2002 09:19:00 -0000 Subject: How do you gentleuser's start your X stuff? Message-ID: <3B2480653E7D2C4E8AA5699598D691C423005E@xch-se-03.se.nos.boeing.com> OK. If my questions about xfree aren't welcome on this list where should I go to ask them? Also, the fact that new user questions aren't welcome here is not obvious from the project page description. Thanks, Frank -----Original Message----- From: Alexander Gottwald [mailto:alexander.gottwald@s1999.tu-chemnitz.de] Sent: Wednesday, October 02, 2002 11:13 AM To: 'cygwin-xfree@cygwin.com' Subject: Re: How do you gentleuser's start your X stuff? On Wed, 2 Oct 2002, Lane, Frank L wrote: > Second question, as I'm interested in learning everything I can about X, I'm > trying to write some beginner programs. When I compile using gcc I get a > message about unresolved calls to _XSimpleWindow and some other functions. > I've tried including -L/usr/X11R6/bin/libX11.dll but that doesn't help. Any > suggestions? Is there anyway I can see if the function xsimplewindow is in > the libX11.dll or what files exist in what dll's? bye ago -- Alexander.Gottwald@informatik.tu-chemnitz.de http://www.gotti.org ICQ: 126018723 From jc.gervais@videotron.ca Wed Oct 2 09:20:00 2002 From: jc.gervais@videotron.ca (Jean-Claude Gervais) Date: Wed, 02 Oct 2002 09:20:00 -0000 Subject: RE Cygwin List posts In-Reply-To: <3D9B099D.5040803@msu.edu> Message-ID: As long as we are at it, I want to know what color your dog is. Also, I am glad Pookie is feeling better. Geert had mentioned something about Pookie's posterior being hurt. -----Original Message----- From: cygwin-xfree-owner@cygwin.com [mailto:cygwin-xfree-owner@cygwin.com]On Behalf Of Harold L Hunt II Sent: Wednesday, October 02, 2002 10:59 AM To: cygwin-xfree@cygwin.com Subject: Re: RE Cygwin List posts Geert, I don't know what you are trying to say here. My response to Jean-Claude was light-hearted (I said my dog was fine): http://cygwin.com/ml/cygwin-xfree/2002-09/msg00279.html Ben responded to me throwing my hands in the air with a much more detailed account of his situation (notice that the message subject changed back to RH 7.3 from our off-list subject of Cygwin List Posts): http://cygwin.com/ml/cygwin-xfree/2002-09/msg00280.html I then responded with some information that was probably helpful: http://cygwin.com/ml/cygwin-xfree/2002-09/msg00281.html After that there was no response, so I can only assume that the 1024x768x65535 was causing the problem (or his RedHat machine was not in runlevel 5). So Geert, I have misunderstood your postings before... what have I misunderstood this time? Harold Pille Geert (bizvdm) wrote: > I have learned from a reliable source, that Harold has (repeat: HAS) a pain > in the ass. Which sometimes explains a person's emotional reactions. But > one must admit that Ben did not help to ease the pain. > > -----Original Message----- > From: Jean-Claude Gervais [mailto:jc.gervais@videotron.ca] > Sent: woensdag 25 september 2002 21:21 > To: cygwin-xfree@cygwin.com; cygwin-xfree@cygwin.com > Subject: RE: RE Cygwin List posts > > > Having problems with your dog, Harold? ;-) > > -----Original Message----- > From: cygwin-xfree-owner@cygwin.com [mailto:cygwin-xfree-owner@cygwin.com]On > Behalf Of Harold L Hunt II > Sent: Wednesday, September 25, 2002 4:16 PM > To: Benjamin Simmons > Cc: cygwin-xfree@cygwin.com > Subject: Re: RE Cygwin List posts > > Ben, > > See, you aren't telling me what you have had success in doing. What do > you mean ``They all work fine''? Does that mean that you have > successfully done an XDMCP session, used ssh to display remote clients, > and used telnet to display remote clients? If so, then say exactly that. > > I'm not just going to ``elaborate'' about the wonderful things that you > can do with XDMCP and ssh --- I could write about them all day long. > You have to ask a specific question about precisely what it is that you > want to do. We cannot read your mind. Imagine for a moment that your > dog cannot walk and that I am a vet. If you come to me and say, ``my > dog has a broken leg, can you fix it?'', then I am very likely to help > you. If, on the other hand, you come to me and say, ``My dog needs to > [mumble mumble mumble]... can you tell me about the many things that > dogs can do?'', then I'm going to kick you out of my office. > > Harold > > P.S. - This is going back on cygwin-xfree@cygwin.com because it seems to > me like you are trying to waste my time since you are being vague about > both your questions and your answers. Don't reply to me personally, > only send your questions to cygwin-xfree@cygwin.com > > Benjamin Simmons wrote: > > >>thank you sir for your reply, >>at this point I would love to gain some further instruction on either > > option > >>you present. I have multiple RHLinux 7.2 boxes setup so that I can do your >>first option. They all work fine. I am having the difficulty in setting > > up > >>a RH Linux 7.3 box in the same manner. >> >>I did the things you discuss in the guide, and any further elaboration is >>greatly appreciated. >> >>Thank you, >>Ben Simmons >> >>Harold L Hunt II wrote: >> >> >> >> >>>Ben, >>> >>>I have been reading the list and it looks to me like you asked the same >>>question over again. Rasjid gave you the same answer that I gave you >>>--- which defeats the purpose of writing a User's Guide, since I wrote >>>the User's Guide to explain this very question once and for all. >>> >>>You say that you need to connect to multiple machines. Is that the >>>specific part that you are having trouble with? Are you able to connect >>>to one machine at a time, but not to multiple machines at once? If so, >>>I can help you with that. >>> >>>Please be clear on whether you are trying to run a remote session via >>>XDMCP (where you are presented by a login box and one Cygwin/XFree86 >>>window is owned entirely by one remote machine) or whether you are >>>trying to display remote clients via ssh (in which case you can ssh to >>>multiple remote machines and have them all display X Clients in one >>>Cygwin/XFree86 window - or in multiple Cygwin/XFree86 windows). >>> >>>Harold >>> >>>Benjamin Simmons wrote: >>> >>> >>> >>> >>>>If you had ben paying attention to the list today, you would have seen >>>>an excahnge between myself and Rasjid Wilcox. >>>> >>>>If you were paying attention to this exchange, you would have noticed >>>>that he has offered further details. >>>> >>>>I did read through what you sent me, and found it to cover exactly what >>>>I had already done. Since I had used your information, but felt that I >>>>needed further details, I responded to someone that was willing to >>>>provide them. >>>> >>>>If you are having a problem with my exchange on this topic, please feel >>>>free to ignore all further posts to this message, otherwise, I would >>>>like to personally thank you for your assistance. I have gotten >>>>frustrated with my inability to connect the final piece of this puzzle. >>>> >>>>To clarify, I do work for and am a student at The University of >>>>Memphis. I am currently performing research and need to access multiple >>>>linux machines remotely to complete my dissertation. >>>> >>>>Thank you again for your help, >>>>Ben Simmons >>>> >>>> >>>> >>>> >>>> >>>> >>>> >>>> >>>> >>> >> >> > > > > =============================== > 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 huntharo@msu.edu Wed Oct 2 09:22:00 2002 From: huntharo@msu.edu (Harold L Hunt II) Date: Wed, 02 Oct 2002 09:22:00 -0000 Subject: How do you gentleuser's start your X stuff? References: <3B2480653E7D2C4E8AA5699598D691C423005E@xch-se-03.se.nos.boeing.com> Message-ID: <3D9B1D18.4080702@msu.edu> Frank, I think Alexander probably hit the send button before he was finished writing a reply (or, in this case, before he even started). He signs all of his emails with ``bye [return] ago'', so I am guessing that he has this in a signature file that automatically gets added to the end of the emails that he writes. The ``bye'' is because he is a native German speaker and lots of Germans use ``bye'' as their closing... that is just a cultural thing. You should hear them speak it... they say it very politely, not curtly like it may seem in email. Anyway, your questions are valid here, just wait until someone answers them. Harold Lane, Frank L wrote: > OK. If my questions about xfree aren't welcome on this list where should I > go to ask them? > > Also, the fact that new user questions aren't welcome here is not obvious > from the project page description. > > Thanks, > Frank > > -----Original Message----- > From: Alexander Gottwald > [mailto:alexander.gottwald@s1999.tu-chemnitz.de] > Sent: Wednesday, October 02, 2002 11:13 AM > To: 'cygwin-xfree@cygwin.com' > Subject: Re: How do you gentleuser's start your X stuff? > > > On Wed, 2 Oct 2002, Lane, Frank L wrote: > > >>Second question, as I'm interested in learning everything I can about X, > > I'm > >>trying to write some beginner programs. When I compile using gcc I get a >>message about unresolved calls to _XSimpleWindow and some other functions. >>I've tried including -L/usr/X11R6/bin/libX11.dll but that doesn't help. > > Any > >>suggestions? Is there anyway I can see if the function xsimplewindow is > > in > >>the libX11.dll or what files exist in what dll's? > > > bye > ago From alexander.gottwald@s1999.tu-chemnitz.de Wed Oct 2 09:22:00 2002 From: alexander.gottwald@s1999.tu-chemnitz.de (Alexander Gottwald) Date: Wed, 02 Oct 2002 09:22:00 -0000 Subject: How do you gentleuser's start your X stuff? In-Reply-To: <3B2480653E7D2C4E8AA5699598D691C423005E@xch-se-03.se.nos.boeing.com> Message-ID: On Wed, 2 Oct 2002, Lane, Frank L wrote: > OK. If my questions about xfree aren't welcome on this list where should I > go to ask them? Oops. Sorry. The editor must have eaten some lines. So I try again: Use -L/usr/X11R6/lib -lX11. Sorry, ago -- Alexander.Gottwald@informatik.tu-chemnitz.de http://www.gotti.org ICQ: 126018723 From march@indirect.com Wed Oct 2 09:23:00 2002 From: march@indirect.com (Michael F. March) Date: Wed, 02 Oct 2002 09:23:00 -0000 Subject: Rootless Mode is an Important and Needed Feature References: <3D94B320.8090309@msu.edu> Message-ID: <3D9B1D67.5010309@indirect.com> Harold L Hunt II wrote: > Good point Alexander. > > On a side note: Why is it that XDarwin has so many people contributing > code and features (they seem to have an OpenGL-passthrough system now, > which is pretty amazing), while Cygwin/XFree86 has so few > contributors? This seems contradictory because Windows is on 95% of > desktops while Mac OS X is only on < 1% (~20% of Apple's 5% market > share are running Mac OS X). > > That question will probably always baffle me. Up until the past year or so, porting to Cygwin was a little more difficult than porting application to OSX. Don't forget, the Cygwin folks have had to write more of the layers of the *NIX environment whereas the OSX folks have a nice (and complete) *NIX environment handed to them on a plate. I have been using Cygwin for years now and I would say the momentum, user base, and usability is definitely increasing. From huntharo@msu.edu Wed Oct 2 09:26:00 2002 From: huntharo@msu.edu (Harold L Hunt II) Date: Wed, 02 Oct 2002 09:26:00 -0000 Subject: RE Cygwin List posts References: Message-ID: <3D9B1DFB.807@msu.edu> Heh... Pookie is a golden retriever, but she lives with my parents so I only get to see her once every month or two :( Harold Jean-Claude Gervais wrote: > As long as we are at it, I want to know what color your dog is. > Also, I am glad Pookie is feeling better. Geert had mentioned something > about Pookie's posterior being hurt. > > > -----Original Message----- > From: cygwin-xfree-owner@cygwin.com [mailto:cygwin-xfree-owner@cygwin.com]On > Behalf Of Harold L Hunt II > Sent: Wednesday, October 02, 2002 10:59 AM > To: cygwin-xfree@cygwin.com > Subject: Re: RE Cygwin List posts > > Geert, > > I don't know what you are trying to say here. > > My response to Jean-Claude was light-hearted (I said my dog was fine): > http://cygwin.com/ml/cygwin-xfree/2002-09/msg00279.html > > Ben responded to me throwing my hands in the air with a much more > detailed account of his situation (notice that the message subject > changed back to RH 7.3 from our off-list subject of Cygwin List Posts): > http://cygwin.com/ml/cygwin-xfree/2002-09/msg00280.html > > I then responded with some information that was probably helpful: > http://cygwin.com/ml/cygwin-xfree/2002-09/msg00281.html > > After that there was no response, so I can only assume that the > 1024x768x65535 was causing the problem (or his RedHat machine was not in > runlevel 5). > > > So Geert, I have misunderstood your postings before... what have I > misunderstood this time? > > > Harold > > Pille Geert (bizvdm) wrote: > >>I have learned from a reliable source, that Harold has (repeat: HAS) a > > pain > >>in the ass. Which sometimes explains a person's emotional reactions. But >>one must admit that Ben did not help to ease the pain. >> >>-----Original Message----- >>From: Jean-Claude Gervais [mailto:jc.gervais@videotron.ca] >>Sent: woensdag 25 september 2002 21:21 >>To: cygwin-xfree@cygwin.com; cygwin-xfree@cygwin.com >>Subject: RE: RE Cygwin List posts >> >> >>Having problems with your dog, Harold? ;-) >> >>-----Original Message----- >>From: cygwin-xfree-owner@cygwin.com > > [mailto:cygwin-xfree-owner@cygwin.com]On > >>Behalf Of Harold L Hunt II >>Sent: Wednesday, September 25, 2002 4:16 PM >>To: Benjamin Simmons >>Cc: cygwin-xfree@cygwin.com >>Subject: Re: RE Cygwin List posts >> >>Ben, >> >>See, you aren't telling me what you have had success in doing. What do >>you mean ``They all work fine''? Does that mean that you have >>successfully done an XDMCP session, used ssh to display remote clients, >>and used telnet to display remote clients? If so, then say exactly that. >> >>I'm not just going to ``elaborate'' about the wonderful things that you >>can do with XDMCP and ssh --- I could write about them all day long. >> You have to ask a specific question about precisely what it is that you >>want to do. We cannot read your mind. Imagine for a moment that your >>dog cannot walk and that I am a vet. If you come to me and say, ``my >>dog has a broken leg, can you fix it?'', then I am very likely to help >>you. If, on the other hand, you come to me and say, ``My dog needs to >>[mumble mumble mumble]... can you tell me about the many things that >>dogs can do?'', then I'm going to kick you out of my office. >> >>Harold >> >>P.S. - This is going back on cygwin-xfree@cygwin.com because it seems to >>me like you are trying to waste my time since you are being vague about >>both your questions and your answers. Don't reply to me personally, >>only send your questions to cygwin-xfree@cygwin.com >> >>Benjamin Simmons wrote: >> >> >> >>>thank you sir for your reply, >>>at this point I would love to gain some further instruction on either >> >>option >> >> >>>you present. I have multiple RHLinux 7.2 boxes setup so that I can do >> > your > >>>first option. They all work fine. I am having the difficulty in setting >> >>up >> >> >>>a RH Linux 7.3 box in the same manner. >>> >>>I did the things you discuss in the guide, and any further elaboration is >>>greatly appreciated. >>> >>>Thank you, >>>Ben Simmons >>> >>>Harold L Hunt II wrote: >>> >>> >>> >>> >>> >>>>Ben, >>>> >>>>I have been reading the list and it looks to me like you asked the same >>>>question over again. Rasjid gave you the same answer that I gave you >>>>--- which defeats the purpose of writing a User's Guide, since I wrote >>>>the User's Guide to explain this very question once and for all. >>>> >>>>You say that you need to connect to multiple machines. Is that the >>>>specific part that you are having trouble with? Are you able to connect >>>>to one machine at a time, but not to multiple machines at once? If so, >>>>I can help you with that. >>>> >>>>Please be clear on whether you are trying to run a remote session via >>>>XDMCP (where you are presented by a login box and one Cygwin/XFree86 >>>>window is owned entirely by one remote machine) or whether you are >>>>trying to display remote clients via ssh (in which case you can ssh to >>>>multiple remote machines and have them all display X Clients in one >>>>Cygwin/XFree86 window - or in multiple Cygwin/XFree86 windows). >>>> >>>>Harold >>>> >>>>Benjamin Simmons wrote: >>>> >>>> >>>> >>>> >>>> >>>>>If you had ben paying attention to the list today, you would have seen >>>>>an excahnge between myself and Rasjid Wilcox. >>>>> >>>>>If you were paying attention to this exchange, you would have noticed >>>>>that he has offered further details. >>>>> >>>>>I did read through what you sent me, and found it to cover exactly what >>>>>I had already done. Since I had used your information, but felt that I >>>>>needed further details, I responded to someone that was willing to >>>>>provide them. >>>>> >>>>>If you are having a problem with my exchange on this topic, please feel >>>>>free to ignore all further posts to this message, otherwise, I would >>>>>like to personally thank you for your assistance. I have gotten >>>>>frustrated with my inability to connect the final piece of this puzzle. >>>>> >>>>>To clarify, I do work for and am a student at The University of >>>>>Memphis. I am currently performing research and need to access multiple >>>>>linux machines remotely to complete my dissertation. >>>>> >>>>>Thank you again for your help, >>>>>Ben Simmons >>>>> >>>>> >>>>> >>>>> >>>>> >>>>> >>>>> >>>>> >>>>> >>>> >>> >> >> >>=============================== >>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 jc.gervais@videotron.ca Wed Oct 2 09:32:00 2002 From: jc.gervais@videotron.ca (Jean-Claude Gervais) Date: Wed, 02 Oct 2002 09:32:00 -0000 Subject: How do you gentleuser's start your X stuff? In-Reply-To: <3B2480653E7D2C4E8AA5699598D691C423005E@xch-se-03.se.nos.boeing.com> Message-ID: Hi Frank, This list is really all about the Cygwin implementation of X and issues concerning that. If you have generic questions about X development, www.x.org might be a place to start. The comp.windows.x newsgroup might have some people on it that could help you. As an aside, your question about linking X calls to your cygwin app does seem legit to me, but I cannot answer it. Sorry. -----Original Message----- From: cygwin-xfree-owner@cygwin.com [mailto:cygwin-xfree-owner@cygwin.com]On Behalf Of Lane, Frank L Sent: Wednesday, October 02, 2002 12:19 PM To: 'cygwin-xfree@cygwin.com' Subject: RE: How do you gentleuser's start your X stuff? OK. If my questions about xfree aren't welcome on this list where should I go to ask them? Also, the fact that new user questions aren't welcome here is not obvious from the project page description. Thanks, Frank -----Original Message----- From: Alexander Gottwald [mailto:alexander.gottwald@s1999.tu-chemnitz.de] Sent: Wednesday, October 02, 2002 11:13 AM To: 'cygwin-xfree@cygwin.com' Subject: Re: How do you gentleuser's start your X stuff? On Wed, 2 Oct 2002, Lane, Frank L wrote: > Second question, as I'm interested in learning everything I can about X, I'm > trying to write some beginner programs. When I compile using gcc I get a > message about unresolved calls to _XSimpleWindow and some other functions. > I've tried including -L/usr/X11R6/bin/libX11.dll but that doesn't help. Any > suggestions? Is there anyway I can see if the function xsimplewindow is in > the libX11.dll or what files exist in what dll's? bye ago -- Alexander.Gottwald@informatik.tu-chemnitz.de http://www.gotti.org ICQ: 126018723 From frank.l.lane@boeing.com Wed Oct 2 10:56:00 2002 From: frank.l.lane@boeing.com (Lane, Frank L) Date: Wed, 02 Oct 2002 10:56:00 -0000 Subject: How do you gentleuser's start your X stuff? Message-ID: <3B2480653E7D2C4E8AA5699598D691C423005F@xch-se-03.se.nos.boeing.com> Thanks to all, please excuse my whining. Gawd I love this stuff!:-) Frank -----Original Message----- From: Jean-Claude Gervais [mailto:jc.gervais@videotron.ca] Sent: Wednesday, October 02, 2002 11:33 AM To: cygwin-xfree@cygwin.com Subject: RE: How do you gentleuser's start your X stuff? Hi Frank, This list is really all about the Cygwin implementation of X and issues concerning that. If you have generic questions about X development, www.x.org might be a place to start. The comp.windows.x newsgroup might have some people on it that could help you. As an aside, your question about linking X calls to your cygwin app does seem legit to me, but I cannot answer it. Sorry. -----Original Message----- From: cygwin-xfree-owner@cygwin.com [mailto:cygwin-xfree-owner@cygwin.com]On Behalf Of Lane, Frank L Sent: Wednesday, October 02, 2002 12:19 PM To: 'cygwin-xfree@cygwin.com' Subject: RE: How do you gentleuser's start your X stuff? OK. If my questions about xfree aren't welcome on this list where should I go to ask them? Also, the fact that new user questions aren't welcome here is not obvious from the project page description. Thanks, Frank -----Original Message----- From: Alexander Gottwald [mailto:alexander.gottwald@s1999.tu-chemnitz.de] Sent: Wednesday, October 02, 2002 11:13 AM To: 'cygwin-xfree@cygwin.com' Subject: Re: How do you gentleuser's start your X stuff? On Wed, 2 Oct 2002, Lane, Frank L wrote: > Second question, as I'm interested in learning everything I can about X, I'm > trying to write some beginner programs. When I compile using gcc I get a > message about unresolved calls to _XSimpleWindow and some other functions. > I've tried including -L/usr/X11R6/bin/libX11.dll but that doesn't help. Any > suggestions? Is there anyway I can see if the function xsimplewindow is in > the libX11.dll or what files exist in what dll's? bye ago -- Alexander.Gottwald@informatik.tu-chemnitz.de http://www.gotti.org ICQ: 126018723 From huntharo@msu.edu Wed Oct 2 11:12:00 2002 From: huntharo@msu.edu (Harold L Hunt II) Date: Wed, 02 Oct 2002 11:12:00 -0000 Subject: How do you gentleuser's start your X stuff? References: <3B2480653E7D2C4E8AA5699598D691C423005C@xch-se-03.se.nos.boeing.com> Message-ID: <3D9B36C7.4030500@msu.edu> Frank, There is information in the Cygwin/XFree86 User's Guide that describes your different options for starting Cygwin/XFree86: http://xfree86.cygwin.com/docs/ug/using.html#using-starting Window resizing and scrollbars are both controlled by the X ``window manager''. You are looking for something that we are all always looking for, the unobtainable ``better window manager''. However, there are several other options for a window manager that you can try out without much work. Just rerun Cygwin's setup.exe and look under the XFree86 category --- there are a few window managers listed there (MWM is in the Lesstif package, openbox, window-maker, etc.). You can edit startxwin.bat (which is, by the way, the recommended way to start Cygwin/XFree86) and replace the line that starts ``twm'' with one of the others that you have installed, e.g., ``mwm''. Each window manager has its own quirks and bugs (some of them don't work correctly when the NumLock key is on, etc.). Choosing a window manager is a highly personal thing so that is about all the help that I can give you. I am sure that others will chime in with links to their favorite WMs now. :) Harold Lane, Frank L wrote: > Hello again, > > I'm managing to take a couple of steps a day. One thing I stumbled across > the other day is the startx command. I use this to work. I've noticed that > my windows are not resizable and do not have scrollbars. Is there a better > way to kickoff X? > > Second question, as I'm interested in learning everything I can about X, I'm > trying to write some beginner programs. When I compile using gcc I get a > message about unresolved calls to _XSimpleWindow and some other functions. > I've tried including -L/usr/X11R6/bin/libX11.dll but that doesn't help. Any > suggestions? Is there anyway I can see if the function xsimplewindow is in > the libX11.dll or what files exist in what dll's? > > Thanks, > Frank From schwaa98@yahoo.com Wed Oct 2 16:26:00 2002 From: schwaa98@yahoo.com (Brian Rowe) Date: Wed, 02 Oct 2002 16:26:00 -0000 Subject: GTK+ for XFree86 cygwin - Window or Unix src files? And other windows dll's really. Message-ID: <20021002232630.42301.qmail@web40210.mail.yahoo.com> If I want GTK+ for use on cygwin and Xfree86. Let's say I want to compile Dillo for the XFree86 server. Do I get the Windows version of GTK or the unix version? At a basic level can I link to Windows libraries (which they all are since I am on windows) and expect the code to work in XFree86 on Cygwin? I haven't tried this yet, obviously. I know people have gotten Dillo to work, so GTK must work, but which version. Should one always chose a version over another? thanks __________________________________________________ Do you Yahoo!? New DSL Internet Access from SBC & Yahoo! http://sbc.yahoo.com From pgeorge@aalayance.com Wed Oct 2 21:27:00 2002 From: pgeorge@aalayance.com (George Thomas P) Date: Wed, 02 Oct 2002 21:27:00 -0000 Subject: Remote sessions with HP UX CDE ? References: Message-ID: <009201c26a94$bb385350$4101a8c0@india.aalayance.com> Hi everyone, Sorry for not responding it was a holiday yesterday, and I dont have net at home :-S. First thanks to all of you for your replies. But I'm still out of luck :-( .I'll tried using some of the stuff in Ben's batch file XWin -screen 0 1024x768x16 -once -query (thanks for sending it :-)). It still didn't work but, there was a change in that my X session opened a window, I saw that squat looking hour glass for about 2 secsonds before it blanked out. Here's my XWin.log file. I looked through it and found something odd :- "_XSERVTransmkdir: Owner of /tmp/.X11-unix should be set to root " Anyone out there able to help me out with intrepreting this ? regards George :-) P.S. (I tried resolution changing too 8bpp, 16bpp) -------------- next part -------------- A non-text attachment was scrubbed... Name: XWin.log Type: application/octet-stream Size: 1177 bytes Desc: not available URL: From cgf@redhat.com Wed Oct 2 21:34:00 2002 From: cgf@redhat.com (Christopher Faylor) Date: Wed, 02 Oct 2002 21:34:00 -0000 Subject: Donations In-Reply-To: References: Message-ID: <20021003043535.GA19588@redhat.com> On Tue, Oct 01, 2002 at 11:35:37PM -0400, Harold Hunt wrote: >I have setup a Donations page on the Cygwin/XFree86 site. >http://xfree86.cygwin.com/donations.html So, is everyone streaming to help fund Harold's good work in XFree86? cgf From jd108@pacbell.net Wed Oct 2 22:05:00 2002 From: jd108@pacbell.net (Joseph I. Davida) Date: Wed, 02 Oct 2002 22:05:00 -0000 Subject: Port of xlockmore-5.01.2 to latest Cygwin port of X11 Message-ID: <0H3E00KKM3HWB3@mta7.pltn13.pbi.net> I had to kludge it in order to make it compile correctly on Cygwin (on win2k). However, cygwin still does not properly support passwords, so xlock is unable to verify the password. This problem affects other programs that require password verification as well. Hopefully, xlockmore's maintaner will fix the configure script to recognize cygwin and generate the right #define's and #include's In particular, the files I had to change are: modes/dclock.c 903c903 < extern long timezone; --- > // extern long timezone; due to confilict with timezone def in time.h /modes/solitare.cc Changed every occurance of round(.. to myround(... because it was confilicting with round declaration in math.h xlock/logout.c 34a35 > #include ./xlock/xlock.c 180a181,182 > #define CYGWIN > 2697c2699 < #if defined( SYSV ) || defined( SVR4 ) || ( __VMS_VER >= 70000000 ) --- > #if defined( SYSV ) || defined( SVR4 ) || ( __VMS_VER >= 70000000 ) || defined( CYGWIN ) 2744c2746 < #if defined( SYSV ) || defined( SVR4 ) || ( __VMS_VER >= 70000000 ) --- > #if defined( SYSV ) || defined( SVR4 ) || ( __VMS_VER >= 70000000 ) || defined( CYGWIN ) 3640c3642 < #if defined( SYSV ) || defined( SVR4 ) || ( __VMS_VER >= 70000000 ) --- > #if defined( SYSV ) || defined( SVR4 ) || ( __VMS_VER >= 70000000 ) || defined( CYGWIN ) 3708a3711 > xmlock/Makefile 95c95 < XMLOCKLIBS = -L/usr/X11R6/lib -L/usr/X11R6/lib -L/usr/X11R6/lib -L/usr/X11R6/lib -lXpm -lXmu -lXm -lXt -lX11 --- > XMLOCKLIBS = -L/usr/X11R6/lib -lXpm -lXmu -lXm -lXt -lX11 -lSM -lICE From cgf@redhat.com Wed Oct 2 22:09:00 2002 From: cgf@redhat.com (Christopher Faylor) Date: Wed, 02 Oct 2002 22:09:00 -0000 Subject: Port of xlockmore-5.01.2 to latest cygwin port of X11 In-Reply-To: <0H3E00KKM3HWB3@mta7.pltn13.pbi.net> References: <0H3E00KKM3HWB3@mta7.pltn13.pbi.net> Message-ID: <20021003051030.GA19974@redhat.com> On Wed, Oct 02, 2002 at 10:10:56PM -0700, Joseph I. Davida wrote: >I had to kludge it in order to make it compile correctly on Cygwin (on >win2k). However, cygwin still does not properly support passwords, so >xlock is unable to verify the password. This problem affects other >programs that require password verification as well. "passwd", "telnet", and "login" (to name a few) all support passwords on win2k. So, I don't understand why this should be a problem. cgf From geert.pille@vandemoortele.com Thu Oct 3 00:09:00 2002 From: geert.pille@vandemoortele.com (Pille Geert (bizvdm)) Date: Thu, 03 Oct 2002 00:09:00 -0000 Subject: RE Cygwin List posts Message-ID: <2FAEFC2A851BD211AD820008C7286BA402D7E29D@NBIZ205> You didn't misunderstand a thing, Harold, I was just in a surrealistic mood. Sorry I made you waste your time. -----Original Message----- From: Harold L Hunt II [mailto:huntharo@msu.edu] Sent: woensdag 2 oktober 2002 15:59 To: cygwin-xfree@cygwin.com Subject: Re: RE Cygwin List posts Geert, I don't know what you are trying to say here. My response to Jean-Claude was light-hearted (I said my dog was fine): http://cygwin.com/ml/cygwin-xfree/2002-09/msg00279.html Ben responded to me throwing my hands in the air with a much more detailed account of his situation (notice that the message subject changed back to RH 7.3 from our off-list subject of Cygwin List Posts): http://cygwin.com/ml/cygwin-xfree/2002-09/msg00280.html I then responded with some information that was probably helpful: http://cygwin.com/ml/cygwin-xfree/2002-09/msg00281.html After that there was no response, so I can only assume that the 1024x768x65535 was causing the problem (or his RedHat machine was not in runlevel 5). So Geert, I have misunderstood your postings before... what have I misunderstood this time? Harold Pille Geert (bizvdm) wrote: > I have learned from a reliable source, that Harold has (repeat: HAS) a pain > in the ass. Which sometimes explains a person's emotional reactions. But > one must admit that Ben did not help to ease the pain. > > -----Original Message----- > From: Jean-Claude Gervais [mailto:jc.gervais@videotron.ca] > Sent: woensdag 25 september 2002 21:21 > To: cygwin-xfree@cygwin.com; cygwin-xfree@cygwin.com > Subject: RE: RE Cygwin List posts > > > Having problems with your dog, Harold? ;-) > > -----Original Message----- > From: cygwin-xfree-owner@cygwin.com [mailto:cygwin-xfree-owner@cygwin.com]On > Behalf Of Harold L Hunt II > Sent: Wednesday, September 25, 2002 4:16 PM > To: Benjamin Simmons > Cc: cygwin-xfree@cygwin.com > Subject: Re: RE Cygwin List posts > > Ben, > > See, you aren't telling me what you have had success in doing. What do > you mean ``They all work fine''? Does that mean that you have > successfully done an XDMCP session, used ssh to display remote clients, > and used telnet to display remote clients? If so, then say exactly that. > > I'm not just going to ``elaborate'' about the wonderful things that you > can do with XDMCP and ssh --- I could write about them all day long. > You have to ask a specific question about precisely what it is that you > want to do. We cannot read your mind. Imagine for a moment that your > dog cannot walk and that I am a vet. If you come to me and say, ``my > dog has a broken leg, can you fix it?'', then I am very likely to help > you. If, on the other hand, you come to me and say, ``My dog needs to > [mumble mumble mumble]... can you tell me about the many things that > dogs can do?'', then I'm going to kick you out of my office. > > Harold > > P.S. - This is going back on cygwin-xfree@cygwin.com because it seems to > me like you are trying to waste my time since you are being vague about > both your questions and your answers. Don't reply to me personally, > only send your questions to cygwin-xfree@cygwin.com > > Benjamin Simmons wrote: > > >>thank you sir for your reply, >>at this point I would love to gain some further instruction on either > > option > >>you present. I have multiple RHLinux 7.2 boxes setup so that I can do your >>first option. They all work fine. I am having the difficulty in setting > > up > >>a RH Linux 7.3 box in the same manner. >> >>I did the things you discuss in the guide, and any further elaboration is >>greatly appreciated. >> >>Thank you, >>Ben Simmons >> >>Harold L Hunt II wrote: >> >> >> >> >>>Ben, >>> >>>I have been reading the list and it looks to me like you asked the same >>>question over again. Rasjid gave you the same answer that I gave you >>>--- which defeats the purpose of writing a User's Guide, since I wrote >>>the User's Guide to explain this very question once and for all. >>> >>>You say that you need to connect to multiple machines. Is that the >>>specific part that you are having trouble with? Are you able to connect >>>to one machine at a time, but not to multiple machines at once? If so, >>>I can help you with that. >>> >>>Please be clear on whether you are trying to run a remote session via >>>XDMCP (where you are presented by a login box and one Cygwin/XFree86 >>>window is owned entirely by one remote machine) or whether you are >>>trying to display remote clients via ssh (in which case you can ssh to >>>multiple remote machines and have them all display X Clients in one >>>Cygwin/XFree86 window - or in multiple Cygwin/XFree86 windows). >>> >>>Harold >>> >>>Benjamin Simmons wrote: >>> >>> >>> >>> >>>>If you had ben paying attention to the list today, you would have seen >>>>an excahnge between myself and Rasjid Wilcox. >>>> >>>>If you were paying attention to this exchange, you would have noticed >>>>that he has offered further details. >>>> >>>>I did read through what you sent me, and found it to cover exactly what >>>>I had already done. Since I had used your information, but felt that I >>>>needed further details, I responded to someone that was willing to >>>>provide them. >>>> >>>>If you are having a problem with my exchange on this topic, please feel >>>>free to ignore all further posts to this message, otherwise, I would >>>>like to personally thank you for your assistance. I have gotten >>>>frustrated with my inability to connect the final piece of this puzzle. >>>> >>>>To clarify, I do work for and am a student at The University of >>>>Memphis. I am currently performing research and need to access multiple >>>>linux machines remotely to complete my dissertation. >>>> >>>>Thank you again for your help, >>>>Ben Simmons >>>> >>>> >>>> >>>> >>>> >>>> >>>> >>>> >>>> >>> >> >> > > > > =============================== > 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. > =============================== 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 pgeorge@aalayance.com Thu Oct 3 05:23:00 2002 From: pgeorge@aalayance.com (George Thomas P) Date: Thu, 03 Oct 2002 05:23:00 -0000 Subject: Remote sessions with HP UX CDE ? References: Message-ID: <00d801c26ad7$38990320$4101a8c0@india.aalayance.com> Hi all, I finally solved my HP UX remote session issue !! Just wanted to share the news and perhaps help people who might face the same issue. I saw in the Cygwin /XFree FAQ some pointers regarding the Solaris CDE, especially the bit about specifying a font server. Since HP also uses CDE I decided to give it a shot.Well what I did was I telneted to the HP box and started up a font server - xfs & -it brings the font server up on port 7100 Then from my Cygwin I ran the following command XWin -query -fp tcp/ And voila it worked :-) !! Thanks all the same to all those people who responded ... : -) - Cheers !! George From huntharo@msu.edu Thu Oct 3 05:34:00 2002 From: huntharo@msu.edu (Harold L Hunt II) Date: Thu, 03 Oct 2002 05:34:00 -0000 Subject: Remote sessions with HP UX CDE ? References: <009201c26a94$bb385350$4101a8c0@india.aalayance.com> Message-ID: <3D9C3907.7090104@msu.edu> George Thomas P wrote: > Hi everyone, > > Sorry for not responding it was a holiday yesterday, and I dont have net at > home > :-S. > > First thanks to all of you for your replies. But I'm still out of luck :-( > .I'll tried using some of the stuff in Ben's batch file > > XWin -screen 0 1024x768x16 -once -query > > (thanks for sending it :-)). It still didn't work but, there was a change in > that my X session opened a window, I saw that squat looking hour glass for > about 2 secsonds > before it blanked out. > > Here's my XWin.log file. I looked through it and found something odd :- > > "_XSERVTransmkdir: Owner of /tmp/.X11-unix should be set to root " > > Anyone out there able to help me out with intrepreting this ? > > > > regards George :-) > > P.S. (I tried resolution changing too 8bpp, 16bpp) > George, Note that if you are running in windowed mode (i.e., not passing the -fullscreen parameter), then the depth of the widthxheightxdepth parameter is ignored. That makes sense, right, since Windows applications that are sharing the display all have to run at the same color depth. You should actually just be passing ``-screen 0 1024 768'' and you should be setting Windows to run in the desired color mode. Not that any of this will matter, but perhaps you should give it a try. It seems that you are indeed connecting to your CDE session, but that the remote side is then shutting down the connection. Since there is nothing of interest in your XWin.log, I suggest that you have a look (or have your sys admin have a look) at the XDM logs on the HP UX machine. That will probably tell why your session is being rejected. Harold From spetreolle@yahoo.fr Thu Oct 3 08:45:00 2002 From: spetreolle@yahoo.fr (=?iso-8859-1?q?Sylvain=20Petreolle?=) Date: Thu, 03 Oct 2002 08:45:00 -0000 Subject: Remote sessions with HP UX CDE ? In-Reply-To: <009201c26a94$bb385350$4101a8c0@india.aalayance.com> Message-ID: <20021003154004.25966.qmail@web10104.mail.yahoo.com> this isn't an error and can ignored. > "_XSERVTransmkdir: Owner of /tmp/.X11-unix should be set to root " > > Anyone out there able to help me out with intrepreting this ? > ___________________________________________________________ Do You Yahoo!? -- Une adresse @yahoo.fr gratuite et en fran??ais ! Yahoo! Mail : http://fr.mail.yahoo.com From ben.calvert@ams.com Thu Oct 3 08:46:00 2002 From: ben.calvert@ams.com (Ben Calvert) Date: Thu, 03 Oct 2002 08:46:00 -0000 Subject: Remote sessions with HP UX CDE ? Message-ID: I don't think the /tmp/.X11-unix is related. Hmm.... remind me; are you getting a black screen & the hourglass, or just the stipple ? "George Thomas P" com> cc: Sent by: Subject: Re: Remote sessions with HP UX CDE ? cygwin-xfree-owner@ cygwin.com 10/02/2002 09:24 PM Please respond to cygwin-xfree Hi everyone, Sorry for not responding it was a holiday yesterday, and I dont have net at home :-S. First thanks to all of you for your replies. But I'm still out of luck :-( .I'll tried using some of the stuff in Ben's batch file XWin -screen 0 1024x768x16 -once -query (thanks for sending it :-)). It still didn't work but, there was a change in that my X session opened a window, I saw that squat looking hour glass for about 2 secsonds before it blanked out. Here's my XWin.log file. I looked through it and found something odd :- "_XSERVTransmkdir: Owner of /tmp/.X11-unix should be set to root " Anyone out there able to help me out with intrepreting this ? regards George :-) P.S. (I tried resolution changing too 8bpp, 16bpp) (See attached file: XWin.log) -------------- next part -------------- A non-text attachment was scrubbed... Name: XWin.log Type: application/octet-stream Size: 1177 bytes Desc: not available URL: From alexvn@come.to Thu Oct 3 09:00:00 2002 From: alexvn@come.to (Alex Vinokur) Date: Thu, 03 Oct 2002 09:00:00 -0000 Subject: xterm Xt error: Can't open display References: <000b01c26afb$faefa4a0$ef6996d4@5at8s8cqeex4qhi> Message-ID: ===================== Windows 2000 Professional CYGWIN_NT-5.0 Cygwin/XFree86 4.2.0 ===================== Administrator@5AT8S8CQEEX4QHI / $ which xterm /usr/X11R6/bin/xterm ###### Attempt-1 ###### Administrator@5AT8S8CQEEX4QHI ~ $ set | grep DISPLAY Administrator@5AT8S8CQEEX4QHI / $ xterm xterm Xt error: Can't open display: ###### Attempt-2 ###### Administrator@5AT8S8CQEEX $ set | grep DISPLAY DISPLAY=127.0.0.1:0.0 Administrator@5AT8S8CQEEX4QHI ~ $ xterm xterm Xt error: Can't open display: 127.0.0.1:0.0 What is wrong ? ================== Alex Vinokur mailto:alexvn@go.to http://up.to/alexvn ================== From diplomas@univdp.com Thu Oct 3 09:04:00 2002 From: diplomas@univdp.com (Barry Fortaleza) Date: Thu, 03 Oct 2002 09:04:00 -0000 Subject: Confidentiality assured. Message-ID: *This message was transferred with a trial version of CommuniGate(tm) Pro* UNIVERSITY DIPLOMAS Obtain a prosperous future, money earning power, and the admiration of all. Diplomas from prestigious, non-accredited universities based on your present knowledge and life experience. No required tests, classes, books, or interviews. Bachelors, masters, MBA, and doctorate (PhD) diplomas available in the field of your choice. No one is turned down. Confidentiality assured. CALL NOW to receive your diploma within days!!! 770-492-2996 Call 24 hours a day, 7 days a week, including Sundays and holidays. From spetreolle@yahoo.fr Thu Oct 3 09:05:00 2002 From: spetreolle@yahoo.fr (=?iso-8859-1?q?Sylvain=20Petreolle?=) Date: Thu, 03 Oct 2002 09:05:00 -0000 Subject: xterm Xt error: Can't open display In-Reply-To: Message-ID: <20021003160504.857.qmail@web10101.mail.yahoo.com> Obvious question : did you launch XFree (e.g launch 'startx' in cygwin or by startxwin.bat from windows)? --- Alex Vinokur a ??crit : > ===================== > Windows 2000 Professional > CYGWIN_NT-5.0 > Cygwin/XFree86 4.2.0 > ===================== > > > Administrator@5AT8S8CQEEX4QHI / > $ which xterm > /usr/X11R6/bin/xterm > > > ###### Attempt-1 ###### > > Administrator@5AT8S8CQEEX4QHI ~ > $ set | grep DISPLAY > > Administrator@5AT8S8CQEEX4QHI / > $ xterm > xterm Xt error: Can't open display: > > > ###### Attempt-2 ###### > > Administrator@5AT8S8CQEEX > $ set | grep DISPLAY > DISPLAY=127.0.0.1:0.0 > > Administrator@5AT8S8CQEEX4QHI ~ > $ xterm > xterm Xt error: Can't open display: 127.0.0.1:0.0 > > > What is wrong ? > > ================== > Alex Vinokur > mailto:alexvn@go.to > http://up.to/alexvn > ================== > > > > > > > ___________________________________________________________ Do You Yahoo!? -- Une adresse @yahoo.fr gratuite et en fran??ais ! Yahoo! Mail : http://fr.mail.yahoo.com From spetreolle@yahoo.fr Thu Oct 3 09:06:00 2002 From: spetreolle@yahoo.fr (=?iso-8859-1?q?Sylvain=20Petreolle?=) Date: Thu, 03 Oct 2002 09:06:00 -0000 Subject: Confidentiality assured. In-Reply-To: Message-ID: <20021003160649.28185.qmail@web10107.mail.yahoo.com> A spammer with an unregistered version of a mail client ! LOL ! --- Barry Fortaleza a ??crit : > *This message was transferred with a trial version of CommuniGate(tm) > Pro* > UNIVERSITY DIPLOMAS > > Obtain a prosperous future, money earning power, and > the admiration of all. > > Diplomas from prestigious, non-accredited > universities based on your present knowledge and > life experience. > > No required tests, classes, books, or interviews. > > Bachelors, masters, MBA, and doctorate (PhD) > diplomas available in the field of your choice. > > No one is turned down. > > Confidentiality assured. > > CALL NOW to receive your diploma within days!!! > > 770-492-2996 > > Call 24 hours a day, 7 days a week, including > Sundays and holidays. ___________________________________________________________ Do You Yahoo!? -- Une adresse @yahoo.fr gratuite et en fran??ais ! Yahoo! Mail : http://fr.mail.yahoo.com From ben.calvert@ams.com Thu Oct 3 09:09:00 2002 From: ben.calvert@ams.com (Ben Calvert) Date: Thu, 03 Oct 2002 09:09:00 -0000 Subject: xterm Xt error: Can't open display Message-ID: 1. is X running? 2. which user is X running as? 3. what machine does it think it's running on? (ie, does it know that 127.0.0.1 is your machine? ) i've seen windows installs without 127.0.0.1 before. 4. if the above seem to be working, try "xhost + 5AT8S8CQEEX4QHI" which will allow anyone on that machine to run programs. theoretically :) "Alex Vinokur" To: cygwin-xfree@cygwin.com Sent by: cc: cygwin-xfree-owner@ Subject: xterm Xt error: Can't open display cygwin.com 10/03/2002 09:55 AM Please respond to cygwin-xfree ===================== Windows 2000 Professional CYGWIN_NT-5.0 Cygwin/XFree86 4.2.0 ===================== Administrator@5AT8S8CQEEX4QHI / $ which xterm /usr/X11R6/bin/xterm ###### Attempt-1 ###### Administrator@5AT8S8CQEEX4QHI ~ $ set | grep DISPLAY Administrator@5AT8S8CQEEX4QHI / $ xterm xterm Xt error: Can't open display: ###### Attempt-2 ###### Administrator@5AT8S8CQEEX $ set | grep DISPLAY DISPLAY=127.0.0.1:0.0 Administrator@5AT8S8CQEEX4QHI ~ $ xterm xterm Xt error: Can't open display: 127.0.0.1:0.0 What is wrong ? ================== Alex Vinokur mailto:alexvn@go.to http://up.to/alexvn ================== From alexvn@come.to Thu Oct 3 09:13:00 2002 From: alexvn@come.to (Alex Vinokur) Date: Thu, 03 Oct 2002 09:13:00 -0000 Subject: xterm Xt error: Can't open display References: <20021003160504.857.qmail@web10101.mail.yahoo.com> Message-ID: "Sylvain Petreolle" wrote in message news:20021003160504.857.qmail@web10101.mail.yahoo.com... > Obvious question : did you launch XFree (e.g launch 'startx' in cygwin > or by startxwin.bat from windows)? ------ launching 'startx' in cygwin ------ Administrator@5AT8S8CQEEX4QHI ~ $ startx giving up. xinit: Connection refused (errno 111): unable to connect to X server xinit: No such process (errno 3): Server error. ------ launching startxwin.bat from windows ------ C:\cyg_win\usr\X11R6\bin>startxwin.bat startxwin.bat - Starting on Windows NT/2000 XIO: fatal IO error 104 (Connection reset by peer) on X server "127.0.0.1:0.0" after 0 requests (0 known processed) with 0 events remaining. XIO: fatal IO error 104 (Connection reset by peer) on X server "127.0.0.1:0.0" after 0 requests (0 known processed) with 0 events remaining. XIO: fatal IO error 104 (Connection reset by peer) on X server "127.0.0.1:0.0" after 0 requests (0 known processed) with 0 events remaining. > > --- Alex Vinokur a ??crit : > ===================== > > Windows 2000 Professional > > CYGWIN_NT-5.0 > > Cygwin/XFree86 4.2.0 > > ===================== > > > > > > Administrator@5AT8S8CQEEX4QHI / > > $ which xterm > > /usr/X11R6/bin/xterm > > > > > > ###### Attempt-1 ###### > > > > Administrator@5AT8S8CQEEX4QHI ~ > > $ set | grep DISPLAY > > > > Administrator@5AT8S8CQEEX4QHI / > > $ xterm > > xterm Xt error: Can't open display: > > > > > > ###### Attempt-2 ###### > > > > Administrator@5AT8S8CQEEX > > $ set | grep DISPLAY > > DISPLAY=127.0.0.1:0.0 > > > > Administrator@5AT8S8CQEEX4QHI ~ > > $ xterm > > xterm Xt error: Can't open display: 127.0.0.1:0.0 > > > > > > What is wrong ? > > > > ================== > > Alex Vinokur > > mailto:alexvn@go.to > > http://up.to/alexvn > > ================== > > > > > > > > > > > > > > > > ___________________________________________________________ > Do You Yahoo!? -- Une adresse @yahoo.fr gratuite et en fran??ais ! > Yahoo! Mail : http://fr.mail.yahoo.com > From alexvn@come.to Thu Oct 3 09:20:00 2002 From: alexvn@come.to (Alex Vinokur) Date: Thu, 03 Oct 2002 09:20:00 -0000 Subject: xterm Xt error: Can't open display References: Message-ID: "Ben Calvert" wrote in message news:OF29710025.9429B63C-ON88256C47.00587392-88256C47.0058B6CF@ams.com... > > 1. is X running? How can I know that ? > 2. which user is X running as? The same question > 3. what machine does it think it's running on? (ie, does it know that > 127.0.0.1 is your machine? ) i've seen windows installs without 127.0.0.1 > before. The same question > 4. if the above seem to be working, try "xhost + 5AT8S8CQEEX4QHI" which > will allow anyone on that machine to run programs. theoretically :) Administrator@5AT8S8CQEEX4QHI ~ $ xhost + 5AT8S8CQEEX4QHI xhost: unable to open display "127.0.0.1:0.0" > > > ===================== > Windows 2000 Professional > CYGWIN_NT-5.0 > Cygwin/XFree86 4.2.0 > ===================== > > > Administrator@5AT8S8CQEEX4QHI / > $ which xterm > /usr/X11R6/bin/xterm > > > ###### Attempt-1 ###### > > Administrator@5AT8S8CQEEX4QHI ~ > $ set | grep DISPLAY > > Administrator@5AT8S8CQEEX4QHI / > $ xterm > xterm Xt error: Can't open display: > > > ###### Attempt-2 ###### > > Administrator@5AT8S8CQEEX > $ set | grep DISPLAY > DISPLAY=127.0.0.1:0.0 > > Administrator@5AT8S8CQEEX4QHI ~ > $ xterm > xterm Xt error: Can't open display: 127.0.0.1:0.0 > > > What is wrong ? > -- ================== Alex Vinokur mailto:alexvn@go.to http://up.to/alexvn ================== From spetreolle@yahoo.fr Thu Oct 3 09:31:00 2002 From: spetreolle@yahoo.fr (=?iso-8859-1?q?Sylvain=20Petreolle?=) Date: Thu, 03 Oct 2002 09:31:00 -0000 Subject: xterm Xt error: Can't open display In-Reply-To: Message-ID: <20021003163139.89448.qmail@web10105.mail.yahoo.com> you were launching an xterm not being under X. Post your /tmp/Xwin.log on the list and read FAQ. --- Alex Vinokur a ??crit : > "Sylvain Petreolle" wrote in message > news:20021003160504.857.qmail@web10101.mail.yahoo.com... > > Obvious question : did you launch XFree (e.g launch 'startx' in > cygwin > > or by startxwin.bat from windows)? > > ------ launching 'startx' in cygwin ------ > Administrator@5AT8S8CQEEX4QHI ~ > $ startx > > giving up. > xinit: Connection refused (errno 111): unable to connect to X > server > xinit: No such process (errno 3): Server error. > > ------ launching startxwin.bat from windows ------ > C:\cyg_win\usr\X11R6\bin>startxwin.bat > startxwin.bat - Starting on Windows NT/2000 > XIO: fatal IO error 104 (Connection reset by peer) on X server > "127.0.0.1:0.0" > after 0 requests (0 known processed) with 0 events remaining. > XIO: fatal IO error 104 (Connection reset by peer) on X server > "127.0.0.1:0.0" > after 0 requests (0 known processed) with 0 events remaining. > XIO: fatal IO error 104 (Connection reset by peer) on X server > "127.0.0.1:0.0" > after 0 requests (0 known processed) with 0 events remaining. > ___________________________________________________________ Do You Yahoo!? -- Une adresse @yahoo.fr gratuite et en fran??ais ! Yahoo! Mail : http://fr.mail.yahoo.com From Smafrozahsan@aol.com Thu Oct 3 09:37:00 2002 From: Smafrozahsan@aol.com (Smafrozahsan@aol.com) Date: Thu, 03 Oct 2002 09:37:00 -0000 Subject: cygwin-xfree Digest 1 Oct 2002 19:15:48 -0000 Issue 887 Message-ID:
How do i unsubscribe from this list ...please some one tell me. i didn't 
intentionally sign on to this list my younger brother tricked me into it. 
Sorry for your inconvinence..to all


From alexvn@come.to  Thu Oct  3 10:12:00 2002
From: alexvn@come.to (Alex Vinokur)
Date: Thu, 03 Oct 2002 10:12:00 -0000
Subject: xterm Xt error: Can't open display
References:  <20021003163139.89448.qmail@web10105.mail.yahoo.com>
Message-ID: 



"Sylvain Petreolle"  wrote in message news:20021003163139.89448.qmail@web10105.mail.yahoo.com...
> you were launching an xterm not being under X.
> Post your /tmp/Xwin.log on the list and read FAQ.
>
[snip]

------ Xwin.log : BEGIN ------
ddxProcessArgument () - Initializing default screens
winInitializeDefaultScreens () - w 1024 h 768
_XSERVTransmkdir: Owner of /tmp/.X11-unix should be set to root
[---omitted---]

------ Xwin.log : END --------


Administrator@5AT8S8CQEEX4QHI /tmp
$ ls -ld .X11-unix
drwxr-xr-x    2 Administ None            0 Oct  3 19:07 .X11-unix

Administrator@5AT8S8CQEEX4QHI /tmp
$ chown root .X11-unix
chown: `root': invalid user


------ /etc/passwd : BEGIN ------
Everyone:*:0:0:,S-1-1-0::
SYSTEM:*:18:18:,S-1-5-18::
Administrators:*:544:544:,S-1-5-32-544::
Administrator:unused_by_nt/2000/xp:500:513:U-5AT8S8CQEEX4QHI\Administrator,S-1-5-21-602162358-839522115-547660867-500:/home/Administ
rator:/bin/bash
Guest:unused_by_nt/2000/xp:501:513:U-5AT8S8CQEEX4QHI\Guest,S-1-5-21-602162358-839522115-547660867-501:/home/Guest:/bin/bash
------ /etc/passwd : END --------

   ==================
   Alex Vinokur
     mailto:alexvn@go.to
     http://up.to/alexvn
   ==================





From alexvn@come.to  Thu Oct  3 10:23:00 2002
From: alexvn@come.to (Alex Vinokur)
Date: Thu, 03 Oct 2002 10:23:00 -0000
Subject: xterm Xt error: Can't open display
References:  <20021003163139.89448.qmail@web10105.mail.yahoo.com>
Message-ID: 


----- Original Message -----
From: "Sylvain Petreolle" 
Sent: Thursday, October 03, 2002 6:31 PM
Subject: Re: xterm Xt error: Can't open display


> you were launching an xterm not being under X.
> Post your /tmp/Xwin.log on the list and read FAQ.

------ launching 'startx' in cygwin : BEGIN ------
Administrator@5AT8S8CQEEX4QHI ~
$ startx

giving up.
xinit:  Connection refused (errno 111):  unable to connect to X server
xinit:  No such process (errno 3):  Server error.

------ launching 'startx' in cygwin : END --------



------ XWinn.log : BEGIN ------
ddxProcessArgument () - Initializing default screens
winInitializeDefaultScreens () - w 1024 h 768
_XSERVTransmkdir: Owner of /tmp/.X11-unix should be set to root
winDetectSupportedEngines () - Windows NT/2000
winDetectSupportedEngines () - DirectDraw installed
winDetectSupportedEngines () - Allowing PrimaryDD
winDetectSupportedEngines () - DirectDraw4 installed
winDetectSupportedEngines () - Returning, supported engines 0000001f
winSetEngine () - Using Shadow DirectDraw NonLocking
winAdjustVideoModeShadowDDNL () - Using Windows display depth of 16 bits per pixel
winAdjustForAutoHide - Original WorkArea: 0 0 739 1024
winAdjustForAutoHide - Adjusted WorkArea: 0 0 739 1024
winCreateBoundingWindowWindowed () - WindowClient w 1018 h 713 r 1018 l 0 b 713 t 0
winCreateBoundingWindowWindowed () -  Returning
winAllocateFBShadowDDNL () - lPitch: 2036
winInitVisualsShadowDDNL () - Masks 0000f800 000007e0 0000001f BPRGB 6 d 16
winLayerCreate () - dwDepth 16
winRandRInit ()
winCreateDefColormap () - Deferring to fbCreateDefColormap ()
winScreenInit () - returning
Could not init font path element /usr/X11R6/lib/X11/fonts/misc/, removing from list!
Could not init font path element /usr/X11R6/lib/X11/fonts/Speedo/, removing from list!
Could not init font path element /usr/X11R6/lib/X11/fonts/Type1/, removing from list!
Could not init font path element /usr/X11R6/lib/X11/fonts/CID/, removing from list!
Could not init font path element /usr/X11R6/lib/X11/fonts/75dpi/, removing from list!
Could not init font path element /usr/X11R6/lib/X11/fonts/100dpi/, removing from list!

Fatal server error:
could not open default font 'fixed'

------ XWinn.log : END --------

[snip]

   ==================
   Alex Vinokur
     mailto:alexvn@go.to
     http://up.to/alexvn
   ==================






From swamp-dog@ntlworld.com  Thu Oct  3 10:58:00 2002
From: swamp-dog@ntlworld.com (Guy Harrison)
Date: Thu, 03 Oct 2002 10:58:00 -0000
Subject: GTK+ for XFree86 cygwin - Window or Unix src files? And other windows dll's really.
In-Reply-To: <20021002232630.42301.qmail@web40210.mail.yahoo.com>
References: <20021002232630.42301.qmail@web40210.mail.yahoo.com>
Message-ID: <3d9e76a5.411684541@smtp.ntlworld.com>

On Wed, 2 Oct 2002 16:26:30 -0700 (PDT), Brian Rowe 
wrote:

>If I want GTK+ for use on cygwin and Xfree86.  Let's
>say I want to compile Dillo for the XFree86 server.
>Do I get the Windows version of GTK or the unix
>version?

Assume Cygwin=unix. In the absence of gcc being passed the "-mno-cygwin"
flag you should expect most source trees to configure themselves for
unix/X.

>At a basic level can I link to Windows libraries
>(which they all are since I am on windows) and expect
>the code to work in XFree86 on Cygwin?  I haven't
>tried this yet, obviously.

"No". Distinction needs to be made between "windows libraries" and
"windows dll". No for the former, yes for the latter provided you have a
tool to generate the former for compiler in question. Don't be concerned
with this. All the libraries exist.

>I know people have gotten Dillo to work, so GTK must
>work, but which version. 
>Should one always chose a version over another?
>thanks

Dillo compiles OOTB, or will once you've got enough of its requirements
installed. These are the versions lurking about on my system...

glib-1.2.10
gtk+-1.2.10
gdk-pixbuf-0.10.1
imlib-1.9.10

...iirc dillo only needs the first two. I don't recall gtk having any
xfree issues so we're probably going off-topic. Email if you get really
stuck.


-- 
swamp-dog@ntlworld.com


From spetreolle@yahoo.fr  Thu Oct  3 11:16:00 2002
From: spetreolle@yahoo.fr (=?iso-8859-1?q?Sylvain=20Petreolle?=)
Date: Thu, 03 Oct 2002 11:16:00 -0000
Subject: xterm Xt error: Can't open display
In-Reply-To: 
Message-ID: <20021003181650.27668.qmail@web10108.mail.yahoo.com>


read the FAQ :

http://xfree86.cygwin.com/docs/faq/cygwin-xfree-faq.html#q-error-font-eof
> Fatal server error:
> could not open default font 'fixed'
> 

___________________________________________________________
Do You Yahoo!? -- Une adresse @yahoo.fr gratuite et en fran??ais !
Yahoo! Mail : http://fr.mail.yahoo.com


From rrschulz@cris.com  Thu Oct  3 13:20:00 2002
From: rrschulz@cris.com (Randall R Schulz)
Date: Thu, 03 Oct 2002 13:20:00 -0000
Subject: cygwin-xfree Digest 1 Oct 2002 19:15:48 -0000 Issue 887
In-Reply-To: 
Message-ID: <5.1.0.14.2.20021003123541.02fd7e40@pop3.cris.com>

At 09:37 2002-10-03, Smafrozahsan@aol.com wrote:
>
How do i unsubscribe from this list ...please some one tell me. i didn't
>intentionally sign on to this list my younger brother tricked me into it.
>Sorry for your inconvinence..to all


Hi,

Hint attached. Use the corresponding header from your mail (please don't 
attempt to unsubscribe me...)

Randall Schulz
Mountain View, CA USA
-------------- next part --------------
A non-text attachment was scrubbed...
Name: Unsubscribe-Answer.gif
Type: image/gif
Size: 25699 bytes
Desc: not available
URL: 

From huntharo@msu.edu  Thu Oct  3 13:52:00 2002
From: huntharo@msu.edu (Harold L Hunt II)
Date: Thu, 03 Oct 2002 13:52:00 -0000
Subject: cygwin-xfree Digest 1 Oct 2002 19:15:48 -0000 Issue 887
References: <5.1.0.14.2.20021003123541.02fd7e40@pop3.cris.com>
Message-ID: <3D9CAE06.7090902@msu.edu>

Randall,

Now that is cool!  What program did you do the highlighting in?  I think 
we should make an AI program that automatically searches the FAQ or 
project website for anything following ``Why can't I [...]'' or ``How do 
I [...]'', grabs a screen shot, and highlights the relevant portion.  I 
think we should do it if for no other reason than the huge grin it gave 
me when I saw it :)

Harold

Randall R Schulz wrote:
> At 09:37 2002-10-03, Smafrozahsan@aol.com wrote:
> 
>> 
How do i unsubscribe from this list ...please some one tell me. i 
>> didn't
>> intentionally sign on to this list my younger brother tricked me into it.
>> Sorry for your inconvinence..to all
> 
> 
> 
> Hi,
> 
> Hint attached. Use the corresponding header from your mail (please don't 
> attempt to unsubscribe me...)
> 
> Randall Schulz
> Mountain View, CA USA
> 
> ------------------------------------------------------------------------
> 


From alexvn@come.to  Thu Oct  3 14:40:00 2002
From: alexvn@come.to (Alex Vinokur)
Date: Thu, 03 Oct 2002 14:40:00 -0000
Subject: xterm Xt error: Can't open display
References:  <20021003181650.27668.qmail@web10108.mail.yahoo.com>
Message-ID: 



"Sylvain Petreolle"  wrote in message news:20021003181650.27668.qmail@web10108.mail.yahoo.com...
>
> read the FAQ :
>
> http://xfree86.cygwin.com/docs/faq/cygwin-xfree-faq.html#q-error-font-eof
> > Fatal server error:
> > could not open default font 'fixed'
> >
>

Thanks.

I reinstalled Cygwin and Cygwin/XFree86.
Now it works.

   ==================
   Alex Vinokur
     mailto:alexvn@go.to
     http://up.to/alexvn
   ==================





From cgf@redhat.com  Thu Oct  3 15:08:00 2002
From: cgf@redhat.com (Christopher Faylor)
Date: Thu, 03 Oct 2002 15:08:00 -0000
Subject: cygwin-xfree Digest 1 Oct 2002 19:15:48 -0000 Issue 887
In-Reply-To: <5.1.0.14.2.20021003123541.02fd7e40@pop3.cris.com>
References:  <5.1.0.14.2.20021003123541.02fd7e40@pop3.cris.com>
Message-ID: <20021003220905.GA1083@redhat.com>

On Thu, Oct 03, 2002 at 12:37:15PM -0700, Randall R Schulz wrote:
>At 09:37 2002-10-03, Smafrozahsan@aol.com wrote:
>>
How do i unsubscribe from this list ...please some one tell me. i 
>>didn't
>>intentionally sign on to this list my younger brother tricked me into it.
>>Sorry for your inconvinence..to all
>
>
>Hi,
>
>Hint attached. Use the corresponding header from your mail (please don't 
>attempt to unsubscribe me...)

I actually took pity on this guy and unsubscribed him manually.  This was
actually one of the few people pleading to unsubscribe that actually had
the email address that they used to plead in the subscriber database.

Usually, the mail comes from "bob@bushwah.org" and the address that needs
to be unsubscribed is "Robert.Johnson@Wah.11.San.Francisco.Bush.org".  That's
why I always try to get people to unsubscribe themselves since the information
from the header (like what Randall provided) allows them to do that with ease.

I wonder if putting that gif image on the web site would be worthwhile.  It
would be interesting to see how often Randall would have to resubscribe to
the list.  :-)

cgf


From huntharo@msu.edu  Thu Oct  3 16:16:00 2002
From: huntharo@msu.edu (Harold L Hunt II)
Date: Thu, 03 Oct 2002 16:16:00 -0000
Subject: SSH Notes
Message-ID: <3D9CCFDA.7090309@msu.edu>

X11 tunnelling via SSH has always been somewhat of a mystery to me and 
to most other Cygwin/XFree86 users.  I knew that the instructions that I 
provided in the Cygwin/XFree86 User's Guide worked, but I did not know 
what most other methods of starting ssh and Cygwin/XFree86 did not work. 
  I have now found out what is going on, and I actually think that we 
may want to make a patch to openssh for Cygwin to make the system more 
fool-proof.  Below are my notes on what I found.

Notes on X11 Tunnelling
=======================

1) The key to X11 tunnelling via openssh is to have the ``DISPLAY'' 
environment variable defined in your Cygwin bash shell BEFORE you ssh 
into your remote host.  That is, you must run the following command 
before you run ssh:

export DISPLAY=127.0.0.1:0.0

2) You do not have to have your X Server (Cygwin/XFree86) running when 
you open your ssh session to your remote machine, but you have to have 
the DISPLAY variable set to a valid value.  Remember, you would open an 
ssh session with X11 forwarding like so:

ssh -X -C foo_user@foo_machine

3) The .Xauthority file is created on your remote host.  I always 
thought that the .Xauthority file was created on your Cygwin host, but I 
was wrong.  Thus, there are no problems with the .Xauthority file being 
stored in the wrong place in your Cygwin file system, as we have 
sometimes thought.

4) The instructions in the Cygwin/XFree86 User's Guide for ssh 
tunnelling work because you launch ssh from within an xterm, which has 
the DISPLAY variable set correctly already.

5) When ssh launches with the ``-X'' paramter (for X11 tunnelling) on 
Cygwin, it looks for the DISPLAY environment variable.  If DISPLAY is 
not defined, ssh assumes that you do not really want X11 tunnelling and 
it fails to set the DISPLAY environment variable on the remote host 
(which is the key step).

6) You cannot set the DISPLAY environment variable by hand on the remote 
host after connecting with ssh when the DISPLAY variable was not set on 
the Cygwin host when you launched.  You might have seen 
DISPLAY=localhost:10.0 in one of your previous sessions on your remote 
host and thought that you could just set the DISPLAY variable to that 
again, but you can't.  It appears that ssh just disables the X11 
tunnelling (silent failure, the worst kind) when the DISPLAY variable is 
not defined on your Cygwin host.


What to Fix
===========

ssh should assume ``DISPLAY=127.0.0.1:0.0'' when the DISPLAY variable is 
not set on the Cygwin host.  I am not sure why this is not currently the 
case.  I can only guess that the lack of this assumption is either do to 
1) a whiny security geek on the openssh project, or 2) that the assumed 
usage scenario for openssh is more like a Linux/X machine where you have 
probably got your X Server running when you connect to your remote 
machine with ssh, thus DISPLAY would already be set.

At the very least, we should patch the Cygwin release of openssh to 
assume that DISPLAY=127.0.0.1:0.0 when DISPLAY is not defined in the 
environment.  That would make X11 tunnelling much much easier for 95% of 
our users and I either can't see or I don't care about any 
pseduo-security hole that this might open up.  (Hey, if SSH Secure Shell 
makes this assumption, then we can too.)


Stupid Pet Tricks
+++++++++++++++++

NOTE: I can hardly advocate using either of the following commercial 
products.  But, users continually express interest in how to 
interoperate with these products, so I wanted to show that it is 
possible and I wanted to document how it is done.


Using SSH Secure Shell with Cygwin/XFree86
==========================================

NOTE: You do not, I repeat, NOT, need to run the xhost command on your 
Cygwin host.  In fact, that may break things.

1) Edit->Settings->Profile Settings->Tunnelling, check the ``Tunnel X11 
connections'' check box.

2) Edit->Settings->Profile Settings->Connection, select ``zlib'' from 
the Compression drop-down list box.  [optional, but recommended for slow 
network connections]

3) File->Save Settings

4) Open a connection to your remote host

5) Launch Cygwin/XFree86 using startxwin.bat, or your favorite method. 
[You can actuall do this step at any of the steps up until now.]

6) Launch your X Client from your SSH Secure Shell, for example, ``xterm''.

7) Observe that your X Client has shown up in Cygwin/XFree86.


Using Cygwin's OpenSSH with XWin-32
===================================

1) Launch XWin-32

2) Open XWin-32's X-Config program (usually done by right-clicking on 
the blue X icon in the system tray and choosing X-Config from the pop-up 
menu)

3) Navigate to the Security tab

4) Check the ``Use XAuth'' check box

5) Click the ``Add'' button and in the ``Add X Host'' window type 
``127.0.0.1'', then press ``OK'' on both dialog boxes.

6) Reset XWin-32 (usually done by right-clicking on the blue X icon in 
the system tray and choosing Reset from the pop-up menu)

7) Open a Cygwin bash shell by clicking or double-clicking your Cygwin icon.

8) In your Cygwin bash shell, run:

export DISPLAY=127.0.0.1:0.0

9) In your Cygwin bash shell, open an ssh session to your remote host 
with X11 tunnelling enabled (and I recommend the -C for compression on 
slow network links):

ssh -X -C foo_user@foo_machine

10) Launch your X Client from your ssh session in your Cygwin bash 
shell, for example, ``xterm''.

11) Observer that your X Client has shown up in XWin-32.



Neat, eh?


Eventually some of this information will find its way to the 
Cygwin/XFree86 User's Guide.  Until then, just post a link to the 
mailing list archive of this message whenever a user has questions about 
ssh and X11 tunnelling.


I hope this helps someone out there,

Harold


From rrschulz@cris.com  Thu Oct  3 19:43:00 2002
From: rrschulz@cris.com (Randall R Schulz)
Date: Thu, 03 Oct 2002 19:43:00 -0000
Subject: cygwin-xfree Digest 1 Oct 2002 19:15:48 -0000 Issue 887
In-Reply-To: <3D9CAE06.7090902@msu.edu>
References: <5.1.0.14.2.20021003123541.02fd7e40@pop3.cris.com>
Message-ID: <5.1.0.14.2.20021003192650.02fb65e8@pop3.cris.com>

Harold,

I'm glad you liked it. I used PhotoPlus 8 from Serif software 
(). I'm sure lots of image manipulation programs can 
do that. Surely GIMP can, right?

Randall Schulz
Mountain View, CA USA


At 13:52 2002-10-03, you wrote:
>Randall,
>
>Now that is cool!  What program did you do the highlighting in?  I think 
>we should make an AI program that automatically searches the FAQ or 
>project website for anything following ``Why can't I [...]'' or ``How do I 
>[...]'', grabs a screen shot, and highlights the relevant portion.  I 
>think we should do it if for no other reason than the huge grin it gave me 
>when I saw it :)
>
>Harold
>
>Randall R Schulz wrote:
>>At 09:37 2002-10-03, Smafrozahsan@aol.com wrote:
>>
>>>
How do i unsubscribe from this list ...please some one tell me. i 
>>>didn't
>>>intentionally sign on to this list my younger brother tricked me into it.
>>>Sorry for your inconvinence..to all
>>
>>Hi,
>>
>>Hint attached. Use the corresponding header from your mail (please don't
>>attempt to unsubscribe me...)
>>
>>
>>Randall Schulz
>>Mountain View, CA USA


From bagleyd@tux.org  Thu Oct  3 20:24:00 2002
From: bagleyd@tux.org (David A Bagley)
Date: Thu, 03 Oct 2002 20:24:00 -0000
Subject: Port of xlockmore-5.01.2 to latest Cygwin port of X11
In-Reply-To: <0H3E00KKM3HWB3@mta7.pltn13.pbi.net> from "Joseph I. Davida" at Oct 02, 2002 10:10:56 PM
Message-ID: <200210040323.XAA04995@gwyn.tux.org>

Hi

I got xlock working on Cygwin.
WOW its my first time using Cygwin, I could believe how easy it was
to download and get running.

I just needed the below patch for logout.c
I use __CYGWIN__ for the #define variable.
I am using xlockmore-5.06ALPHA03.tar.bz2 (5.02 and greater has all the
other Cygwin patches built in).
I'll see that the logout.c patch gets in the next release.

Password works if you initially say

configure --enable-xlockrc

The first time you run xlock it will set up a key and store it in
.xlockrc

If you don't configure it that way it seems to kill my x server.


> I had to kludge it in order to make it compile
> correctly on Cygwin (on win2k).
> However, cygwin still does not properly support
> passwords, so xlock is unable to verify
> the password. This problem affects other programs that
> require password verification as well.
> 
> Hopefully, xlockmore's maintaner will fix the configure
> script to recognize cygwin and generate the 
> right #define's and #include's
> 
> 
> In particular, the files I had
> to change are:
> 
> 
> modes/dclock.c
> 903c903
> <       extern long timezone;
> ---
> >       // extern long timezone;
> due to confilict with timezone def in time.h
> 
> 
> /modes/solitare.cc  Changed every  occurance of round(..
> to myround(...
> 
> because it was confilicting with round declaration in math.h
> 
> 
> 
> xlock/logout.c
> 34a35
> > #include 
> 
> 
> ./xlock/xlock.c
> 180a181,182
> > #define       CYGWIN
> >
> 2697c2699
> < #if defined( SYSV ) || defined( SVR4 ) || ( __VMS_VER >= 70000000 )
> ---
> > #if defined( SYSV ) || defined( SVR4 ) || ( __VMS_VER >= 70000000 ) || defined( CYGWIN )
> 2744c2746
> < #if defined( SYSV ) || defined( SVR4 ) || ( __VMS_VER >= 70000000 )
> ---
> > #if defined( SYSV ) || defined( SVR4 ) || ( __VMS_VER >= 70000000 ) || defined( CYGWIN )
> 3640c3642
> < #if defined( SYSV ) || defined( SVR4 ) || ( __VMS_VER >= 70000000 )
> ---
> > #if defined( SYSV ) || defined( SVR4 ) || ( __VMS_VER >= 70000000 ) || defined( CYGWIN )
> 3708a3711
> >
> 
> 
> xmlock/Makefile
> 95c95
> < XMLOCKLIBS = -L/usr/X11R6/lib  -L/usr/X11R6/lib -L/usr/X11R6/lib
> -L/usr/X11R6/lib -lXpm -lXmu -lXm -lXt  -lX11
> ---
> > XMLOCKLIBS = -L/usr/X11R6/lib -lXpm -lXmu -lXm -lXt  -lX11 -lSM -lICE
> 


-- 
Cheers,
 /X\  David A. Bagley
(( X  bagleyd@tux.org     http://www.tux.org/~bagleyd/
 \X/  xlockmore and more   ftp://ftp.tux.org/pub/tux/bagleyd


From Alexander.Gottwald@informatik.tu-chemnitz.de  Fri Oct  4 02:56:00 2002
From: Alexander.Gottwald@informatik.tu-chemnitz.de (Alexander Gottwald)
Date: Fri, 04 Oct 2002 02:56:00 -0000
Subject: SSH Notes
In-Reply-To: <3D9CCFDA.7090309@msu.edu>
Message-ID: 

Harold L Hunt II wrote:

> ssh should assume ``DISPLAY=127.0.0.1:0.0'' when the DISPLAY variable is 
> not set on the Cygwin host.  I am not sure why this is not currently the 
> case.  I can only guess that the lack of this assumption is either do to 
> 1) a whiny security geek on the openssh project, or 2) that the assumed 
> usage scenario for openssh is more like a Linux/X machine where you have 
> probably got your X Server running when you connect to your remote 
> machine with ssh, thus DISPLAY would already be set.

What if you are remote on an machine (linux or cygwin, does not matter) and
a user has already started a xserver on localhost:0.0. You are not allowed
to connect. So you don't set DISPLAY. If ssh would automaticly set DISPLAY
it would try to connect to an xserver which then refuses the connect. 
ssh would abort because of an error. Not setting DISPLAY means "don't use X"

If users want DIPLAY explicitly set they can add it to their .profile

bye
    ago
-- 
 Alexander.Gottwald@informatik.tu-chemnitz.de 
 http://www.gotti.org           ICQ: 126018723


From strube@physik3.gwdg.de  Fri Oct  4 03:59:00 2002
From: strube@physik3.gwdg.de (Hans Werner Strube)
Date: Fri, 04 Oct 2002 03:59:00 -0000
Subject: nedit-5.3, Cygwin
Message-ID: <200210041059.MAA22545@r2d2.physik3.gwdg.de>

For building nedit-5.3 (or 5.1.1) in Cygwin 1.3.12 with XFree86 4.2.0
and lesstif 0.93.18, change /usr/X11R6.4/ to /usr/X11R6/ in
makefiles/Makefile.cygwin, lines 10 and 12 (or 5 and 7 in nedit-5.1.1).

(discuss@nedit.org: I am not subscribed to this mailing list)


From huntharo@msu.edu  Fri Oct  4 06:57:00 2002
From: huntharo@msu.edu (Harold Hunt)
Date: Fri, 04 Oct 2002 06:57:00 -0000
Subject: SSH Notes
In-Reply-To: 
Message-ID: 



> -----Original Message-----
> From: cygwin-xfree-owner@cygwin.com
> [mailto:cygwin-xfree-owner@cygwin.com]On Behalf Of Alexander Gottwald
> Sent: Friday, October 04, 2002 5:57 AM
> To: cygwin-xfree@cygwin.com
> Subject: Re: SSH Notes
>
>
> Harold L Hunt II wrote:
>
> > ssh should assume ``DISPLAY=127.0.0.1:0.0'' when the DISPLAY
> variable is
> > not set on the Cygwin host.  I am not sure why this is not
> currently the
> > case.  I can only guess that the lack of this assumption is
> either do to
> > 1) a whiny security geek on the openssh project, or 2) that the assumed
> > usage scenario for openssh is more like a Linux/X machine where
> you have
> > probably got your X Server running when you connect to your remote
> > machine with ssh, thus DISPLAY would already be set.
>
> What if you are remote on an machine (linux or cygwin, does not
> matter) and
> a user has already started a xserver on localhost:0.0. You are not allowed
> to connect. So you don't set DISPLAY. If ssh would automaticly set DISPLAY
> it would try to connect to an xserver which then refuses the connect.
> ssh would abort because of an error. Not setting DISPLAY means
> "don't use X"
>

That doesn't make any sense.  ssh picks up the DISPLAY value on your Cygwin
host because it needs to know where to direct the data that comes in over
the X11 tunnel.  So, a DISPLAY of 127.0.0.1 on your Cygwin host can only
cause ssh to try to connect to the X Server on your Cygwin host ---
127.0.0.1 does not mean that ssh will try to connect to the remote host's
local X Server.

My point is, why on earth did the user run ``ssh -X [...]'' if they did not
want to actually enable X11 tunnelling?  I would say it is a pretty safe
assumption that they want to use the X Server on their Cygwin host to
display the tunnelled data.  Most users are entirely confused when they run
``ssh -X [...]'' and X11 tunnelling does not actually get enabled.  We
should not be making users jump through any hoops to use X11 tunnelling.

> If users want DIPLAY explicitly set they can add it to their .profile
>

Are we talking about the same type of users?  :)

Harold

> bye
>     ago
> --
>  Alexander.Gottwald@informatik.tu-chemnitz.de
>  http://www.gotti.org           ICQ: 126018723
>


From j_tetazoo@hotmail.com  Fri Oct  4 07:35:00 2002
From: j_tetazoo@hotmail.com (Thomas Chadwick)
Date: Fri, 04 Oct 2002 07:35:00 -0000
Subject: SSH Notes
Message-ID: 

>From: Harold L Hunt II 
>Reply-To: cygwin-xfree@cygwin.com
>To: cygwin-xfree@cygwin.com
>Subject: SSH Notes
>Date: Thu, 03 Oct 2002 19:16:42 -0400
>
>X11 tunnelling via SSH has always been somewhat of a mystery to me and to 
>most other Cygwin/XFree86 users.  I knew that the instructions that I 
>provided in the Cygwin/XFree86 User's Guide worked, but I did not know what 
>most other methods of starting ssh and Cygwin/XFree86 did not work.  I have 
>now found out what is going on, and I actually think that we may want to 
>make a patch to openssh for Cygwin to make the system more fool-proof.  
>Below are my notes on what I found.
>
>Notes on X11 Tunnelling
>=======================
>
>1) The key to X11 tunnelling via openssh is to have the ``DISPLAY'' 
>environment variable defined in your Cygwin bash shell BEFORE you ssh into 
>your remote host.  That is, you must run the following command before you 
>run ssh:
>
>export DISPLAY=127.0.0.1:0.0
>
>2) You do not have to have your X Server (Cygwin/XFree86) running when you 
>open your ssh session to your remote machine, but you have to have the 
>DISPLAY variable set to a valid value.  Remember, you would open an ssh 
>session with X11 forwarding like so:
>
>ssh -X -C foo_user@foo_machine
>
>3) The .Xauthority file is created on your remote host.  I always thought 
>that the .Xauthority file was created on your Cygwin host, but I was wrong. 
>  Thus, there are no problems with the .Xauthority file being stored in the 
>wrong place in your Cygwin file system, as we have sometimes thought.

All of this information is in the ssh man page:

X11 and TCP forwarding

   If the ForwardX11 variable is set to ``yes'' (or, see the description of
   the -X and -x options described later) and the user is using X11 (the
   DISPLAY environment variable is set), the connection to the X11 display
   is automatically forwarded to the remote side in such a way that any X11
   programs started from the shell (or command) will go through the
   encrypted channel, and the connection to the real X server will be made
   from the local machine.  The user should not manually set DISPLAY.  For-
   warding of X11 connections can be configured on the command line or in
   configuration files.

   The DISPLAY value set by ssh will point to the server machine, but with a
   display number greater than zero.  This is normal, and happens because
   ssh creates a ``proxy'' X server on the server machine for forwarding the
   connections over the encrypted channel.

   ssh will also automatically set up Xauthority data on the server machine.
   For this purpose, it will generate a random authorization cookie, store
   it in Xauthority on the server, and verify that any forwarded connections
   carry this cookie and replace it by the real cookie when the connection
   is opened.  The real authentication cookie is never sent to the server
   machine (and no cookies are sent in the plain).

Admittedly, it's not altogether very clear.  And they're using the term 
"server" in a confusing way.  Personally I think they should use "remote 
machine" or "far-end machine" instead of "server machine", since "server" 
has a particular connotation when talking about X11.

>4) The instructions in the Cygwin/XFree86 User's Guide for ssh tunnelling 
>work because you launch ssh from within an xterm, which has the DISPLAY 
>variable set correctly already.
>
>5) When ssh launches with the ``-X'' paramter (for X11 tunnelling) on 
>Cygwin, it looks for the DISPLAY environment variable.  If DISPLAY is not 
>defined, ssh assumes that you do not really want X11 tunnelling and it 
>fails to set the DISPLAY environment variable on the remote host (which is 
>the key step).
>
>6) You cannot set the DISPLAY environment variable by hand on the remote 
>host after connecting with ssh when the DISPLAY variable was not set on the 
>Cygwin host when you launched.  You might have seen DISPLAY=localhost:10.0 
>in one of your previous sessions on your remote host and thought that you 
>could just set the DISPLAY variable to that again, but you can't.  It 
>appears that ssh just disables the X11 tunnelling (silent failure, the 
>worst kind) when the DISPLAY variable is not defined on your Cygwin host.
>
>
>What to Fix
>===========
>
>ssh should assume ``DISPLAY=127.0.0.1:0.0'' when the DISPLAY variable is 
>not set on the Cygwin host.  I am not sure why this is not currently the 
>case.  I can only guess that the lack of this assumption is either do to 1) 
>a whiny security geek on the openssh project, or 2) that the assumed usage 
>scenario for openssh is more like a Linux/X machine where you have probably 
>got your X Server running when you connect to your remote machine with ssh, 
>thus DISPLAY would already be set.
>
>At the very least, we should patch the Cygwin release of openssh to assume 
>that DISPLAY=127.0.0.1:0.0 when DISPLAY is not defined in the environment.  
>That would make X11 tunnelling much much easier for 95% of our users and I 
>either can't see or I don't care about any pseduo-security hole that this 
>might open up.  (Hey, if SSH Secure Shell makes this assumption, then we 
>can too.)

I don't agree with this fix.  I think the correct fix should be to make ssh 
die if the -X flag is specified  but the DISPLAY variable is not set 
(instead of quietly continuing on in a somewhat broken state).  A simple 
error message like the following should be sufficient: "Error: In order to 
enable X11 forwarding the DISPLAY variable must be set".

I know you want to make ssh behave correctly for the masses, but you don't 
want to make it behave incorrectly for advanced users trying to debug their 
code.  For instance, I may have 3 different screens running on my local box 
(:0, :1, and :2) and want to set up an ssh channel between screen :2 and a 
remote machine.  If I screw up the way I assign a value to DISPLAY, I don't 
want ssh to keep going and forward my X traffic to the wrong display!


_________________________________________________________________
Chat with friends online, try MSN Messenger: http://messenger.msn.com


From Alexander.Gottwald@informatik.tu-chemnitz.de  Fri Oct  4 07:46:00 2002
From: Alexander.Gottwald@informatik.tu-chemnitz.de (Alexander Gottwald)
Date: Fri, 04 Oct 2002 07:46:00 -0000
Subject: SSH Notes
In-Reply-To: 
Message-ID: 

Harold Hunt wrote:
> That doesn't make any sense.  ssh picks up the DISPLAY value on your Cygwin
> host because it needs to know where to direct the data that comes in over
> the X11 tunnel.  So, a DISPLAY of 127.0.0.1 on your Cygwin host can only
> cause ssh to try to connect to the X Server on your Cygwin host ---
> 127.0.0.1 does not mean that ssh will try to connect to the remote host's
> local X Server.

But how do you know that the Xserver on the cygwin host was run the user? 
Maybe he is also logging in (to the cygwin host) via ssh or telnet.

> 
> My point is, why on earth did the user run ``ssh -X [...]'' if they did not
> want to actually enable X11 tunnelling?  

/etc/ssh/ssh_config might contain "ForwardX11 yes". Now you confuse all
users which want to use only ssh but don't have a xserver running.

> I would say it is a pretty safe
> assumption that they want to use the X Server on their Cygwin host to
> display the tunnelled data.  Most users are entirely confused when they run
> ``ssh -X [...]'' and X11 tunnelling does not actually get enabled.  We
> should not be making users jump through any hoops to use X11 tunnelling.

I don't think it is a good idea to do some implict configuration changes
and I don't expect that such a patch would ever reach the openssh cvs.

SuSE has a similar thing in their default .profile

if test -z "$DISPLAY" -a "$TERM" = "xterm" -a -x /usr/bin/who ; then
    WHOAMI="`/usr/bin/who am i`"
    _DISPLAY="`expr "$WHOAMI" : '.*(\([^\.][^\.]*\).*)'`:0.0"
    if [ "${_DISPLAY}" != ":0:0.0" -a "${_DISPLAY}" != " :0.0" \
         -a "${_DISPLAY}" != ":0.0" ]; then
        export DISPLAY="${_DISPLAY}";
    fi
    unset WHOAMI _DISPLAY
fi

And there are a lot of cases where this does not work and you search a 
long time for error.

> > If users want DIPLAY explicitly set they can add it to their .profile
> >
> 
> Are we talking about the same type of users?  :)

No I don't think so. I still expect some kind of clevernes from the user *g*
But I know we can't expect it for all windows users :(

-- 
 Alexander.Gottwald@informatik.tu-chemnitz.de 
 http://www.gotti.org           ICQ: 126018723


From j_tetazoo@hotmail.com  Fri Oct  4 07:51:00 2002
From: j_tetazoo@hotmail.com (Thomas Chadwick)
Date: Fri, 04 Oct 2002 07:51:00 -0000
Subject: SSH Notes
Message-ID: 

>From: Harold L Hunt II 
>Reply-To: cygwin-xfree@cygwin.com
>To: cygwin-xfree@cygwin.com
>Subject: SSH Notes
>Date: Thu, 03 Oct 2002 19:16:42 -0400

[snip]

>At the very least, we should patch the Cygwin release of openssh to assume 
>that DISPLAY=127.0.0.1:0.0 when DISPLAY is not defined in the environment.  
>That would make X11 tunnelling much much easier for 95% of our users and I 
>either can't see or I don't care about any pseduo-security hole that this 
>might open up.  (Hey, if SSH Secure Shell makes this assumption, then we 
>can too.)

Come to think of it, why can't we introduce a wrapper script (we could call 
it xssh) instead of patching ssh itself?  Here's my suggestion:

#!/bin/sh

if [ -n "$DISPLAY" ]
then
  echo "Error: In order to enable X11 forwarding the DISPLAY variable must 
be set"
  exit
fi

ssh -X $*


Or, alternatively:

if [ -n "$DISPLAY" ]
then
  export DISPLAY=127.0.0.1:0.0
fi

ssh -X $*


_________________________________________________________________
Chat with friends online, try MSN Messenger: http://messenger.msn.com


From davidf@sjsoft.com  Fri Oct  4 07:53:00 2002
From: davidf@sjsoft.com (David Fraser)
Date: Fri, 04 Oct 2002 07:53:00 -0000
Subject: SSH Notes
References: 
Message-ID: <3D9DAB62.7090008@sjsoft.com>

Thomas Chadwick wrote:

>> What to Fix
>> ===========
>>
>> ssh should assume ``DISPLAY=127.0.0.1:0.0'' when the DISPLAY variable 
>> is not set on the Cygwin host.  I am not sure why this is not 
>> currently the case.  I can only guess that the lack of this 
>> assumption is either do to 1) a whiny security geek on the openssh 
>> project, or 2) that the assumed usage scenario for openssh is more 
>> like a Linux/X machine where you have probably got your X Server 
>> running when you connect to your remote machine with ssh, thus 
>> DISPLAY would already be set.
>>
>> At the very least, we should patch the Cygwin release of openssh to 
>> assume that DISPLAY=127.0.0.1:0.0 when DISPLAY is not defined in the 
>> environment.  That would make X11 tunnelling much much easier for 95% 
>> of our users and I either can't see or I don't care about any 
>> pseduo-security hole that this might open up.  (Hey, if SSH Secure 
>> Shell makes this assumption, then we can too.)
>
>
> I don't agree with this fix.  I think the correct fix should be to 
> make ssh die if the -X flag is specified  but the DISPLAY variable is 
> not set (instead of quietly continuing on in a somewhat broken 
> state).  A simple error message like the following should be 
> sufficient: "Error: In order to enable X11 forwarding the DISPLAY 
> variable must be set".
>
> I know you want to make ssh behave correctly for the masses, but you 
> don't want to make it behave incorrectly for advanced users trying to 
> debug their code.  For instance, I may have 3 different screens 
> running on my local box (:0, :1, and :2) and want to set up an ssh 
> channel between screen :2 and a remote machine.  If I screw up the way 
> I assign a value to DISPLAY, I don't want ssh to keep going and 
> forward my X traffic to the wrong display!

I agree. In fact even a warning would be great. Then you could have the 
ForwardX11 variable set to yes in /etc/ssh_config or ~/.ssh/config and 
there would be a warning as well. Also a warning if DISPLAY is not set 
would be useful in all versions of openssh, not just the cygwin one, so 
hopefully it could go into the main trunk and we wouldn't have to patch 
it specificly.

David



From andrew_gouldey@hp.com  Fri Oct  4 10:41:00 2002
From: andrew_gouldey@hp.com (GOULDEY,ANDREW (HP-FtCollins,ex1))
Date: Fri, 04 Oct 2002 10:41:00 -0000
Subject: right 1/4 of XWin.exe window displays white bar instead of graphi
	cs on wide display
Message-ID: 

Hi,

I am trying to use Cygwin/XFree86 as an X server on my PC so that I can
remote-display my hpux box.  When I start up X, I get a window that fills my
entire screen, but I only see the cursor and thatch background pattern on
the left 3/4 of the window; the right 1/4 of the window is white, and if I
move the cursor over it, the cursor disappears.

My setup:
NVIDIA Quadro4 900XGL w/ 128MB, dual monitor
Win2k, SP3
either 2560x1024x32bpp or 3200x1200x32bpp

The /tmp/XWin.log file indicates that XWin.exe thinks it is using the whole
screen, and when I fire up gnome on my hpux box, it seems to think it has
the full XWin window to work with (but I can only see the left 3/4 of my
unix desktop).

My /tmp/XWin.log:
$ cat /tmp/XWin.log
winInitializeDefaultScreens - w 3200 h 1200
winInitializeDefaultScreens - Returning
_XSERVTransmkdir: Owner of /tmp/.X11-unix should be set to root
winDetectSupportedEngines - Windows NT/2000/XP
winDetectSupportedEngines - DirectDraw installed
winDetectSupportedEngines - Allowing PrimaryDD
winDetectSupportedEngines - DirectDraw4 installed
winDetectSupportedEngines - Returning, supported engines 0000001f
winSetEngine - Using Shadow DirectDraw NonLocking
winAdjustVideoModeShadowDDNL - Using Windows display depth of 32 bits per
pixel
winAdjustForAutoHide - Original WorkArea: 0 2 1172 3200
winAdjustForAutoHide - Found LEFT auto-hide taskbar
winAdjustForAutoHide - Adjusted WorkArea: 0 3 1172 3200
winCreateBoundingWindowWindowed - WindowClient w 3191 h 1147 r 3191 l 0 b
1147 t 0
winCreateBoundingWindowWindowed -  Returning
winAllocateFBShadowDDNL - lPitch: 12764
winFinishScreenInitFB - Masks: 00ff0000 0000ff00 000000ff
winInitVisualsShadowDDNL - Masks 00ff0000 0000ff00 000000ff BPRGB 8 d 24 bpp
32
winCreateDefColormap - Deferring to fbCreateDefColormap ()
winScreenInit - returning

I can't figure out how to tell what version of XWin.exe I have installed,
but I just grabbed it a week or two ago, and 'man XWin' has a "4.2.0" at the
bottom, so it should be up-to-date.

By playing around with the -screen option, I have determined that the
maximum width I can get without the white bar appearing is 2040 or 2041
pixels.

The interesting thing is that I can get a full dual-monitor display (without
the white bar) if I go into window's Display
Properties->Settings->Advanced->Troubleshooting and move the hardware
acceleration slider to a position that disables directdraw/direct3d.

Has anyone successfully run Cygwin/XFree86 on a display wider than 2040
pixels with directx enabled?  On an NVIDIA card?  ATI card?  I updated my
drivers to the latest and greatest, and it made no difference.  I can
successfully run ReflectionX (commercial X server) full screen on my dual
monitor setup (I assume that uses directx also, so I am not convinced it is
just my video card), but I haven't been all that happy with ReflectionX.

Any help would be appreciated.

Andrew

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
https://ecardfile.com/id/Andrew+Gouldey


From john.r.morrison@ntlworld.com  Fri Oct  4 10:59:00 2002
From: john.r.morrison@ntlworld.com (John Morrison)
Date: Fri, 04 Oct 2002 10:59:00 -0000
Subject: SSH Notes
In-Reply-To: 
Message-ID: 

On Fri, 4 Oct 2002, Alexander Gottwald wrote:

> SuSE has a similar thing in their default .profile

Is that /etc/profile or ~/.bash_profile?

> if test -z "$DISPLAY" -a "$TERM" = "xterm" -a -x /usr/bin/who ; then
>     WHOAMI="`/usr/bin/who am i`"
>     _DISPLAY="`expr "$WHOAMI" : '.*(\([^\.][^\.]*\).*)'`:0.0"
>     if [ "${_DISPLAY}" != ":0:0.0" -a "${_DISPLAY}" != " :0.0" \
>          -a "${_DISPLAY}" != ":0.0" ]; then
>         export DISPLAY="${_DISPLAY}";
>     fi
>     unset WHOAMI _DISPLAY
> fi
>
> And there are a lot of cases where this does not work and you search a
> long time for error.

So, not something folks would like me to add to /etc/profile?

J.


From huntharo@msu.edu  Fri Oct  4 13:40:00 2002
From: huntharo@msu.edu (Harold Hunt)
Date: Fri, 04 Oct 2002 13:40:00 -0000
Subject: right 1/4 of XWin.exe window displays white bar instead of graphics on wide display
In-Reply-To: 
Message-ID: 

Could you send in a link to a screenshot of this?  Or, personally email me a
PNG of this and I will post a link to it.  Do not send the graphic to the
mailing list, as most users do not want to download a large image from the
mailing list.

Harold

> -----Original Message-----
> From: cygwin-xfree-owner@cygwin.com
> [mailto:cygwin-xfree-owner@cygwin.com]On Behalf Of GOULDEY,ANDREW
> (HP-FtCollins,ex1)
> Sent: Friday, October 04, 2002 1:41 PM
> To: 'cygwin-xfree@cygwin.com'
> Subject: right 1/4 of XWin.exe window displays white bar instead of
> graphics on wide display
>
>
> Hi,
>
> I am trying to use Cygwin/XFree86 as an X server on my PC so that I can
> remote-display my hpux box.  When I start up X, I get a window
> that fills my
> entire screen, but I only see the cursor and thatch background pattern on
> the left 3/4 of the window; the right 1/4 of the window is white, and if I
> move the cursor over it, the cursor disappears.
>
> My setup:
> NVIDIA Quadro4 900XGL w/ 128MB, dual monitor
> Win2k, SP3
> either 2560x1024x32bpp or 3200x1200x32bpp
>
> The /tmp/XWin.log file indicates that XWin.exe thinks it is using
> the whole
> screen, and when I fire up gnome on my hpux box, it seems to think it has
> the full XWin window to work with (but I can only see the left 3/4 of my
> unix desktop).
>
> My /tmp/XWin.log:
> $ cat /tmp/XWin.log
> winInitializeDefaultScreens - w 3200 h 1200
> winInitializeDefaultScreens - Returning
> _XSERVTransmkdir: Owner of /tmp/.X11-unix should be set to root
> winDetectSupportedEngines - Windows NT/2000/XP
> winDetectSupportedEngines - DirectDraw installed
> winDetectSupportedEngines - Allowing PrimaryDD
> winDetectSupportedEngines - DirectDraw4 installed
> winDetectSupportedEngines - Returning, supported engines 0000001f
> winSetEngine - Using Shadow DirectDraw NonLocking
> winAdjustVideoModeShadowDDNL - Using Windows display depth of 32 bits per
> pixel
> winAdjustForAutoHide - Original WorkArea: 0 2 1172 3200
> winAdjustForAutoHide - Found LEFT auto-hide taskbar
> winAdjustForAutoHide - Adjusted WorkArea: 0 3 1172 3200
> winCreateBoundingWindowWindowed - WindowClient w 3191 h 1147 r 3191 l 0 b
> 1147 t 0
> winCreateBoundingWindowWindowed -  Returning
> winAllocateFBShadowDDNL - lPitch: 12764
> winFinishScreenInitFB - Masks: 00ff0000 0000ff00 000000ff
> winInitVisualsShadowDDNL - Masks 00ff0000 0000ff00 000000ff BPRGB
> 8 d 24 bpp
> 32
> winCreateDefColormap - Deferring to fbCreateDefColormap ()
> winScreenInit - returning
>
> I can't figure out how to tell what version of XWin.exe I have installed,
> but I just grabbed it a week or two ago, and 'man XWin' has a
> "4.2.0" at the
> bottom, so it should be up-to-date.
>
> By playing around with the -screen option, I have determined that the
> maximum width I can get without the white bar appearing is 2040 or 2041
> pixels.
>
> The interesting thing is that I can get a full dual-monitor
> display (without
> the white bar) if I go into window's Display
> Properties->Settings->Advanced->Troubleshooting and move the hardware
> acceleration slider to a position that disables directdraw/direct3d.
>
> Has anyone successfully run Cygwin/XFree86 on a display wider than 2040
> pixels with directx enabled?  On an NVIDIA card?  ATI card?  I updated my
> drivers to the latest and greatest, and it made no difference.  I can
> successfully run ReflectionX (commercial X server) full screen on my dual
> monitor setup (I assume that uses directx also, so I am not
> convinced it is
> just my video card), but I haven't been all that happy with ReflectionX.
>
> Any help would be appreciated.
>
> Andrew
>
> ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> https://ecardfile.com/id/Andrew+Gouldey


From rbrook@cim.mcgill.ca  Fri Oct  4 21:08:00 2002
From: rbrook@cim.mcgill.ca (Rupert Brooks)
Date: Fri, 04 Oct 2002 21:08:00 -0000
Subject: x apps cant start from bash
Message-ID: 

Hi
 - having a strange problem here.  Just installed a fresh install of
Cygwin / Xfree.  startxwin.bat works, and an xterm appears.  From that
xterm I can start other xapps and they work.

BUT, from another cygwin bash shell, started independently, I get the
following error
xterm XT error: Can't open display:

I have tried with numerous variations in the DISPLAY variable
localhost:0
localhost:0.0
127.0.0.1:0
127.0.0.1:0.0
192.168.1.150:0.0

etc

I have done a tracert on all those addresses, and my routing seems ok,
that is packets for the localhost don't get routed out into the network
where the router might frig with them.

Xwin.log shows no signs of having refused the connections.  So I am
guessing that the request never made it to the Xserver.

The problem I am ultimately trying to solve, is to get a remote connection
tunnelled over openSSH or putty.  I have that setup on another machine,
and working well.  there are two differences with this machine - this OS
is WinME not Win2K, and this one lives behind a LinkSys router.  

Anyway, I think I should get the local set up working right first before
trying to diagnose the SSH part.  I don't see, though, why the router
should stop packets from the localhost.  There is no firewall software on
this machine.

Has anyone seen this before?  Can anyone suggest where else to look?

Thanks much
Rupert B.

-- 
--------------------------------------------------------------
Rupert Brooks
McGill Centre for Intelligent Machines (www.cim.mcgill.ca)
PhD. Student
http://www.cyberus.ca/~rbrooks
rbrook@cim.mcgill.ca
ICQ: 27978014  CELL: 6137997873  
SMS: send short mail to @pcs.rogers.com




From rbrook@cim.mcgill.ca  Sat Oct  5 12:59:00 2002
From: rbrook@cim.mcgill.ca (Rupert Brooks)
Date: Sat, 05 Oct 2002 12:59:00 -0000
Subject: x apps cant start from bash
In-Reply-To: 
Message-ID: 

Solved my own problem; sorry to bother y'all

FTR, the solution is that 
a) if the DISPLAY variable in bash is set without export, then when SSH
starts up its not noticed, and then SSH does not notice where to send
the X11 stream

b) you have to set and export the display variable, it is neither set
automatically, nor does ssh have a default.

I'm a tcsh user, so didnt realize that necessity under bash.

This seems to be covered in the SSH notes message, sorry I didn't see that
before.

Rupert B


On Sat, 5 Oct 2002, Rupert Brooks wrote:

> Hi
>  - having a strange problem here.  Just installed a fresh install of
> Cygwin / Xfree.  startxwin.bat works, and an xterm appears.  From that
> xterm I can start other xapps and they work.
> 
> BUT, from another cygwin bash shell, started independently, I get the
> following error
> xterm XT error: Can't open display:
> 
> I have tried with numerous variations in the DISPLAY variable
> localhost:0
> localhost:0.0
> 127.0.0.1:0
> 127.0.0.1:0.0
> 192.168.1.150:0.0
> 
> etc
> 
> I have done a tracert on all those addresses, and my routing seems ok,
> that is packets for the localhost don't get routed out into the network
> where the router might frig with them.
> 
> Xwin.log shows no signs of having refused the connections.  So I am
> guessing that the request never made it to the Xserver.
> 
> The problem I am ultimately trying to solve, is to get a remote connection
> tunnelled over openSSH or putty.  I have that setup on another machine,
> and working well.  there are two differences with this machine - this OS
> is WinME not Win2K, and this one lives behind a LinkSys router.  
> 
> Anyway, I think I should get the local set up working right first before
> trying to diagnose the SSH part.  I don't see, though, why the router
> should stop packets from the localhost.  There is no firewall software on
> this machine.
> 
> Has anyone seen this before?  Can anyone suggest where else to look?
> 
> Thanks much
> Rupert B.
> 
> 

-- 
--------------------------------------------------------------
Rupert Brooks
McGill Centre for Intelligent Machines (www.cim.mcgill.ca)
PhD. Student
http://www.cyberus.ca/~rbrooks
rbrook@cim.mcgill.ca
ICQ: 27978014  CELL: 6137997873  
SMS: send short mail to @pcs.rogers.com




From huntharo@msu.edu  Sat Oct  5 14:03:00 2002
From: huntharo@msu.edu (Harold Hunt)
Date: Sat, 05 Oct 2002 14:03:00 -0000
Subject: x apps cant start from bash
In-Reply-To: 
Message-ID: 

Rupert,

Hey, we like users that solve their own problems, we would like you to stick
around :)

Harold

> -----Original Message-----
> From: cygwin-xfree-owner@cygwin.com
> [mailto:cygwin-xfree-owner@cygwin.com]On Behalf Of Rupert Brooks
> Sent: Saturday, October 05, 2002 4:00 PM
> To: cygwin-xfree@cygwin.com
> Subject: Re: x apps cant start from bash
>
>
> Solved my own problem; sorry to bother y'all
>
> FTR, the solution is that
> a) if the DISPLAY variable in bash is set without export, then when SSH
> starts up its not noticed, and then SSH does not notice where to send
> the X11 stream
>
> b) you have to set and export the display variable, it is neither set
> automatically, nor does ssh have a default.
>
> I'm a tcsh user, so didnt realize that necessity under bash.
>
> This seems to be covered in the SSH notes message, sorry I didn't see that
> before.
>
> Rupert B
>
>
> On Sat, 5 Oct 2002, Rupert Brooks wrote:
>
> > Hi
> >  - having a strange problem here.  Just installed a fresh install of
> > Cygwin / Xfree.  startxwin.bat works, and an xterm appears.  From that
> > xterm I can start other xapps and they work.
> >
> > BUT, from another cygwin bash shell, started independently, I get the
> > following error
> > xterm XT error: Can't open display:
> >
> > I have tried with numerous variations in the DISPLAY variable
> > localhost:0
> > localhost:0.0
> > 127.0.0.1:0
> > 127.0.0.1:0.0
> > 192.168.1.150:0.0
> >
> > etc
> >
> > I have done a tracert on all those addresses, and my routing seems ok,
> > that is packets for the localhost don't get routed out into the network
> > where the router might frig with them.
> >
> > Xwin.log shows no signs of having refused the connections.  So I am
> > guessing that the request never made it to the Xserver.
> >
> > The problem I am ultimately trying to solve, is to get a remote
> connection
> > tunnelled over openSSH or putty.  I have that setup on another machine,
> > and working well.  there are two differences with this machine - this OS
> > is WinME not Win2K, and this one lives behind a LinkSys router.
> >
> > Anyway, I think I should get the local set up working right first before
> > trying to diagnose the SSH part.  I don't see, though, why the router
> > should stop packets from the localhost.  There is no firewall
> software on
> > this machine.
> >
> > Has anyone seen this before?  Can anyone suggest where else to look?
> >
> > Thanks much
> > Rupert B.
> >
> >
>
> --
> --------------------------------------------------------------
> Rupert Brooks
> McGill Centre for Intelligent Machines (www.cim.mcgill.ca)
> PhD. Student
> http://www.cyberus.ca/~rbrooks
> rbrook@cim.mcgill.ca
> ICQ: 27978014  CELL: 6137997873
> SMS: send short mail to @pcs.rogers.com
>
>
>


From rbrook@cim.mcgill.ca  Sun Oct  6 05:51:00 2002
From: rbrook@cim.mcgill.ca (Rupert Brooks)
Date: Sun, 06 Oct 2002 05:51:00 -0000
Subject: x apps cant start from bashW
In-Reply-To: 
Message-ID: 

Well that was premature - I just changed the nature of my problem.  the
export issue fixed the local problem

However, upon ssh -Xg to a remote host (RedHat Linux, uses an XDM login,
so XDM is probably running when i login)  I get the following messages
during the startup script of that host.  I have tried on different
machines on this network, so the problem is not specific to one machine.

/usr/X11R6/bin/xauth:  creating new authority file
/home/rain/rbrook/.Xauthority
/usr/X11R6/bin/xauth:  unable to open tmp file
"/home/rain/rbrook/.Xauthority-n"
/usr/X11R6/bin/xauth:  unable to write authority file
/home/rain/rbrook/.Xauthority-n

Then when I try an x client

rbrook@skinner{rbrook}xterm &
[1] 5721
rbrook@skinner{rbrook}X11 connection rejected because of wrong
authentication.
X connection to localhost:10.0 broken (explicit kill or server
shutdown).

So what I think is happening, is that 
  - ssh needs to set a fake authority cookie for the virtual display it
creats
  - xauth cant set that cookie
  - therefore Xapps cant send stuff out the channel.

Trouble is, I have absolutely no idea why xauth can't set that cookie.  i
have successfully ssh -X'ed into this machine before and it all just
worked, first time.

So, if someone could give me a tip or two on how to diagnose what xauth is
whinging about - much appreciated.

Thanks
Rupert B.

On Sat,
5 Oct 2002, Rupert Brooks wrote:

> Solved my own problem; sorry to bother y'all
> 
> FTR, the solution is that 
> a) if the DISPLAY variable in bash is set without export, then when SSH
> starts up its not noticed, and then SSH does not notice where to send
> the X11 stream
> 
> b) you have to set and export the display variable, it is neither set
> automatically, nor does ssh have a default.
> 
> I'm a tcsh user, so didnt realize that necessity under bash.
> 
> This seems to be covered in the SSH notes message, sorry I didn't see that
> before.
> 
> Rupert B
> 
> 
> On Sat, 5 Oct 2002, Rupert Brooks wrote:
> 
> > Hi
> >  - having a strange problem here.  Just installed a fresh install of
> > Cygwin / Xfree.  startxwin.bat works, and an xterm appears.  From that
> > xterm I can start other xapps and they work.
> > 
> > BUT, from another cygwin bash shell, started independently, I get the
> > following error
> > xterm XT error: Can't open display:
> > 
> > I have tried with numerous variations in the DISPLAY variable
> > localhost:0
> > localhost:0.0
> > 127.0.0.1:0
> > 127.0.0.1:0.0
> > 192.168.1.150:0.0
> > 
> > etc
> > 
> > I have done a tracert on all those addresses, and my routing seems ok,
> > that is packets for the localhost don't get routed out into the network
> > where the router might frig with them.
> > 
> > Xwin.log shows no signs of having refused the connections.  So I am
> > guessing that the request never made it to the Xserver.
> > 
> > The problem I am ultimately trying to solve, is to get a remote connection
> > tunnelled over openSSH or putty.  I have that setup on another machine,
> > and working well.  there are two differences with this machine - this OS
> > is WinME not Win2K, and this one lives behind a LinkSys router.  
> > 
> > Anyway, I think I should get the local set up working right first before
> > trying to diagnose the SSH part.  I don't see, though, why the router
> > should stop packets from the localhost.  There is no firewall software on
> > this machine.
> > 
> > Has anyone seen this before?  Can anyone suggest where else to look?
> > 
> > Thanks much
> > Rupert B.
> > 
> > 
> 
> 

-- 
--------------------------------------------------------------
Rupert Brooks
McGill Centre for Intelligent Machines (www.cim.mcgill.ca)
PhD. Student
http://www.cyberus.ca/~rbrooks
rbrook@cim.mcgill.ca
ICQ: 27978014  CELL: 6137997873  
SMS: send short mail to @pcs.rogers.com




From rbrook@cim.mcgill.ca  Sun Oct  6 05:57:00 2002
From: rbrook@cim.mcgill.ca (Rupert Brooks)
Date: Sun, 06 Oct 2002 05:57:00 -0000
Subject: x apps cant start from bashW
In-Reply-To: 
Message-ID: 

Yeesh, I am embarassed again.  Found the problem - full local disk so
Xauth could not set a cookie.  something I really should have noticed
*blush*

Works now.  hopefullly it helps someone searching the list

Rupert B.

-- 
--------------------------------------------------------------
Rupert Brooks
McGill Centre for Intelligent Machines (www.cim.mcgill.ca)
PhD. Student
http://www.cyberus.ca/~rbrooks
rbrook@cim.mcgill.ca
ICQ: 27978014  CELL: 6137997873  
SMS: send short mail to @pcs.rogers.com




From huntharo@msu.edu  Sun Oct  6 09:05:00 2002
From: huntharo@msu.edu (Harold Hunt)
Date: Sun, 06 Oct 2002 09:05:00 -0000
Subject: x apps cant start from bashW
In-Reply-To: 
Message-ID: 

Rupert,

Excellent.  I've had a full disk bite me before too.

However, I was also going to ask why you are using the -g parameter for ssh?
If you just want to tunnel X applications between your two hosts then -X is
all you need (and I recommend -C for slow links --- compression).  Do you
have some specific scenario that requires -g?  No need to explain your
scenario if you have one, a simple yes will do.

Harold

> -----Original Message-----
> From: cygwin-xfree-owner@cygwin.com
> [mailto:cygwin-xfree-owner@cygwin.com]On Behalf Of Rupert Brooks
> Sent: Sunday, October 06, 2002 8:57 AM
> To: Rupert Brooks
> Cc: cygwin-xfree@cygwin.com
> Subject: Re: x apps cant start from bashW
>
>
> Yeesh, I am embarassed again.  Found the problem - full local disk so
> Xauth could not set a cookie.  something I really should have noticed
> *blush*
>
> Works now.  hopefullly it helps someone searching the list
>
> Rupert B.
>
> --
> --------------------------------------------------------------
> Rupert Brooks
> McGill Centre for Intelligent Machines (www.cim.mcgill.ca)
> PhD. Student
> http://www.cyberus.ca/~rbrooks
> rbrook@cim.mcgill.ca
> ICQ: 27978014  CELL: 6137997873
> SMS: send short mail to @pcs.rogers.com
>
>
>


From huntharo@msu.edu  Sun Oct  6 09:45:00 2002
From: huntharo@msu.edu (Harold Hunt)
Date: Sun, 06 Oct 2002 09:45:00 -0000
Subject: XFree 4.2.1 + fontconfig-2
In-Reply-To: <20021002151213.GG1631@fairlite.demon.co.uk>
Message-ID: 

Alan,

Somehow my cygwin.rules file got a bogus newline in one of the new rules.  I
removed the newline and I am doing a test build now.  So far it has
progressed past where it was bombing before.

Harold

> -----Original Message-----
> From: cygwin-xfree-owner@cygwin.com
> [mailto:cygwin-xfree-owner@cygwin.com]On Behalf Of Alan Hourihane
> Sent: Wednesday, October 02, 2002 11:12 AM
> To: cygwin-xfree@cygwin.com
> Subject: Re: XFree 4.2.1 + fontconfig-2
>
>
> On Wed, Oct 02, 2002 at 11:01:37AM -0400, Harold L Hunt II wrote:
> > Alan,
> >
> > Everytime I a build check I do something like the following:
> >
> > cd ../ [from foo/xc]
> > cd build
> > mkdir std
> > cd std
> > lndir ../../xc > /dev/null
> > make CROSSCOMPILEDIR="/cygwin/bin" World > World.log 2>&1
> >
> >
> > Thus, I know for sure that any built file is being rebuilt :)
> >
> > Next idea?
>
> None. Like I said, I don't have a cross compile environment and it
> works fine natively. Alexander - any ideas ?
>
> Alan.


From Alexander.Gottwald@informatik.tu-chemnitz.de  Sun Oct  6 15:08:00 2002
From: Alexander.Gottwald@informatik.tu-chemnitz.de (Alexander Gottwald)
Date: Sun, 06 Oct 2002 15:08:00 -0000
Subject: XFree 4.2.1 + fontconfig-2
In-Reply-To: 
Message-ID: 

Harold Hunt wrote:

> Alan,
> 
> Somehow my cygwin.rules file got a bogus newline in one of the new rules.  I
> removed the newline and I am doing a test build now.  So far it has
> progressed past where it was bombing before.

Good to hear. I already expected such a thing.

bye
    ago
BTW: Having spend the weekend to get xc crosscompiling for Solaris8 I now 
know how easy it was for cygwin *g*
-- 
 Alexander.Gottwald@informatik.tu-chemnitz.de 
 http://www.gotti.org           ICQ: 126018723


From dwilson4life@yahoo.com  Sun Oct  6 18:03:00 2002
From: dwilson4life@yahoo.com (dwilson4life@yahoo.com)
Date: Sun, 06 Oct 2002 18:03:00 -0000
Subject: x apps cant start from bash
In-Reply-To: <1033851781.9146.ezmlm@cygwin.com>
Message-ID: <20021007010312.75370.qmail@web20504.mail.yahoo.com>

Set you DISPLAY variable to an IP address that your
remote application can connect to, followed by setting
up your X server access control program (xhost) to
allow remote connections from all hosts (xhost +) or a
particular host (xhost +  Date: Sat, 5 Oct 2002 00:08:01 -0400 (EDT)
> From: Rupert Brooks 
> To: cygwin-xfree@cygwin.com
> Subject: x apps cant start from bash
> 
> Hi
>  - having a strange problem here.  Just installed a
> fresh install of
> Cygwin / Xfree.  startxwin.bat works, and an xterm
> appears.  From that
> xterm I can start other xapps and they work.
> 
> BUT, from another cygwin bash shell, started
> independently, I get the
> following error
> xterm XT error: Can't open display:
> 
> I have tried with numerous variations in the DISPLAY
> variable
> localhost:0
> localhost:0.0
> 127.0.0.1:0
> 127.0.0.1:0.0
> 192.168.1.150:0.0
> 
> etc
> 
> I have done a tracert on all those addresses, and my
> routing seems ok,
> that is packets for the localhost don't get routed
> out into the network
> where the router might frig with them.
> 
> Xwin.log shows no signs of having refused the
> connections.  So I am
> guessing that the request never made it to the
> Xserver.
> 
> The problem I am ultimately trying to solve, is to
> get a remote connection
> tunnelled over openSSH or putty.  I have that setup
> on another machine,
> and working well.  there are two differences with
> this machine - this OS
> is WinME not Win2K, and this one lives behind a
> LinkSys router.  
> 
> Anyway, I think I should get the local set up
> working right first before
> trying to diagnose the SSH part.  I don't see,
> though, why the router
> should stop packets from the localhost.  There is no
> firewall software on
> this machine.
> 
> Has anyone seen this before?  Can anyone suggest
> where else to look?
> 
> Thanks much
> Rupert B.

__________________________________________________
Do you Yahoo!?
Faith Hill - Exclusive Performances, Videos & More
http://faith.yahoo.com


From mika.laitio@sysline.com  Mon Oct  7 09:00:00 2002
From: mika.laitio@sysline.com (mika.laitio@sysline.com)
Date: Mon, 07 Oct 2002 09:00:00 -0000
Subject: Shared memory?
Message-ID: 

I am also having problems with shared memory segments in Windoes-dll.
I trying to make a dll which- can be used from two different application 
(process)  and which can still share the same data-segment.
(Ie. application two can read data that is set by application one)

I need to use -mno-cygwin option while compiling this dll.

Mika





Harold L Hunt II 
Sent by: cygwin-xfree-owner@cygwin.com
30.09.2002 22:59
Please respond to cygwin-xfree

 
        To:     cygwin-xfree@cygwin.com
        cc: 
        Subject:        Re: Shared memory?


Jean-Claude,

Yes, but you have to run some service that supports the SHM model (I 
forget the package name or whether it was ever rolled into a Cygwin 
setup package that is in the primary distribution, and for anyone about 
to jog my memory: I don't care either).

Go look at the KDE on Cygwin pages if you want more information.  They 
have to build Cygwin/XFree86 with the MITSHM extension in order to 
support KDE.  The ``cygipc'' library or package comes to mind, as we 
have some #ifdef test in xc/config/cf/cygwin.* that check CygIPC.

In case you were wondering, MITSHM is not enabled in the default build, 
nor in the default Cygwin/XFree86 distribution, because the cygipc 
library/package/whatever is either 1) not included in the default 
distribution, 2) not stable enough, 3) not automatically installed with 
absolutely no user intervention, or 4) because no one poked me to let me 
know that the previous 3 possibilities have all been taken care of.

There, that should give you enough to Google on.

Harold

Jean-Claude Gervais wrote:
> Does Cygwin support any equivalent to the *nux shared memory APIs?
> The  shm* functions.
> 
> Thanks.
> 
> 






From bob.cavanaugh@flextronicssemi.com  Mon Oct  7 11:41:00 2002
From: bob.cavanaugh@flextronicssemi.com (bob.cavanaugh@flextronicssemi.com)
Date: Mon, 07 Oct 2002 11:41:00 -0000
Subject: Trying to build graphical applications for Cygwin - Please help
Message-ID: 

Hello all,
First of all, I apologize for the length of this post. I have done a lot of
reading, downloading, and building and I am stuck. I am somewhat new to using
Cygwin but I have been an embedded systems engineer for 15 years so I am not new
to computers.

I am trying to get the following packages to run on my Cygwin/XFree86:
1) Eterm-0.9.1 - an enhanced terminal program that allows backgrounds
2) gpsim-0.20.14 - a Microchip PIC simulation package

Trying to build Eterm, it requires imlib. I downloaded imlib- 2.1.06. The
configure fails, looking for shmat().  I sent a message to the cygwin list, and
received a reply from J. Larsen directing me to load Cygipc, which I did. This
time the configure fails looking for XShmAttach().

To build gpsim, I need glib and GTK+, pkg-config, and gtk+extra-0.99.17
I tried building the lastest versions of glib and GTK, 2.0.6, with no luck. I
backed up to the 1.2.8 version, and that builds, but the built version fails the
testglib.exe file, seg faults on string test.
I went to the maillist, and downloaded Lupo's glib 1.2.10 and GTK+1.2.10.
Tried to build gtk+extra, and during the configure stage, a Windows messagebox
comes up and says that I am missing "shmat" for X11.  Configure completed but
said I have an invalid version of GTK+.

OK, several things may be going on. I think I am having the same problem with
both builds.

1. I am running Cygipc as a service on Win2K. Do I need to do something else,
like re-build XFree86? Is there a site with instructions?
2. What else is required to get imlib and GTK+ to work correctly? Has anybody
been able to do so, or am I trying to do something Cygwin cannot perform?
3. I saw one post which indicated a problem with FAT-32. Is NTFS a requirement
to run Cygwin/XFree86 on Win2K?

I don't want to waste anybody's time, but I would really appreciate any help
offered. I know that eveybody's time is valuable (I promised a patch to the
WxWindows group over a month ago I haven't gotten to yet :-(  ), but getting
gpsim is a fairly high priority for me.

Thanks to all in advance

Robert Cavanaugh
Senior Firmware Engineer
Flextronics Design
Mountain States Engineering
Salt Lake City, Utah
(801)-685-9330



From huntharo@msu.edu  Mon Oct  7 12:06:00 2002
From: huntharo@msu.edu (Harold L Hunt II)
Date: Mon, 07 Oct 2002 12:06:00 -0000
Subject: Trying to build graphical applications for Cygwin - Please help
References: 
Message-ID: <3DA1DAFE.3000105@msu.edu>

Bob,

bob.cavanaugh@flextronicssemi.com wrote:
> Hello all,
> First of all, I apologize for the length of this post. I have done a lot of
> reading, downloading, and building and I am stuck. I am somewhat new to using
> Cygwin but I have been an embedded systems engineer for 15 years so I am not new
> to computers.
> 
> I am trying to get the following packages to run on my Cygwin/XFree86:
> 1) Eterm-0.9.1 - an enhanced terminal program that allows backgrounds
> 2) gpsim-0.20.14 - a Microchip PIC simulation package
> 
> Trying to build Eterm, it requires imlib. I downloaded imlib- 2.1.06. The
> configure fails, looking for shmat().  I sent a message to the cygwin list, and
> received a reply from J. Larsen directing me to load Cygipc, which I did. This
> time the configure fails looking for XShmAttach().
> 

Yes, you did need CygIPC.  However, you now either have to rebuild 
XFree86 with the X Shared Memory Extension or you have to install the 
few files thare changed when XSHM is enabled.  The KDE on Cygwin project 
distributes these changed files and they have instructions on how to 
install them.  You need the KDE-X package from the way bottom of this page:

http://sourceforge.net/project/showfiles.php?group_id=27249**

> To build gpsim, I need glib and GTK+, pkg-config, and gtk+extra-0.99.17
> I tried building the lastest versions of glib and GTK, 2.0.6, with no luck. I
> backed up to the 1.2.8 version, and that builds, but the built version fails the
> testglib.exe file, seg faults on string test.
> I went to the maillist, and downloaded Lupo's glib 1.2.10 and GTK+1.2.10.
> Tried to build gtk+extra, and during the configure stage, a Windows messagebox
> comes up and says that I am missing "shmat" for X11.  Configure completed but
> said I have an invalid version of GTK+.
> 

The KDE on Cygwin folks have the answer for undefined references to shmat:

http://kde-cygwin.sourceforge.net/faq/kde2.php#D6


> OK, several things may be going on. I think I am having the same problem with
> both builds.
> 
> 1. I am running Cygipc as a service on Win2K. Do I need to do something else,
> like re-build XFree86? Is there a site with instructions?

Yes, you could rebuild Cygwin/XFree86 with shared memory support, but I 
recommend just installing the KDE on Cygwin package that provides the 
modified files.

> 2. What else is required to get imlib and GTK+ to work correctly? Has anybody
> been able to do so, or am I trying to do something Cygwin cannot perform?

Not sure.  I am pretty sure that imlib and GTK+ both work but that they 
have to be static libraries, to a degree.  At least, there was not an 
optimal solution for building GTK+ with a shared library the last time I 
checked into it.

> 3. I saw one post which indicated a problem with FAT-32. Is NTFS a requirement
> to run Cygwin/XFree86 on Win2K?
> 

No problems with FAT32.  Don't believe everything that you read.

> I don't want to waste anybody's time, but I would really appreciate any help
> offered. I know that eveybody's time is valuable (I promised a patch to the
> WxWindows group over a month ago I haven't gotten to yet :-(  ), but getting
> gpsim is a fairly high priority for me.
> 

Hope that helps.

Harold

P.S. I am cheering for Solectron, booh Flextronics  :)  Just kidding.


> Thanks to all in advance
> 
> Robert Cavanaugh
> Senior Firmware Engineer
> Flextronics Design
> Mountain States Engineering
> Salt Lake City, Utah
> (801)-685-9330
> 
> 


From choice15@gmx.de  Tue Oct  8 00:45:00 2002
From: choice15@gmx.de (choice15@gmx.de)
Date: Tue, 08 Oct 2002 00:45:00 -0000
Subject: Cygwin Remote: Want to implement a Citrix Metaframe alternative 
Message-ID: <003001c26e9e$27593100$4c64a8c0@ibsfreiburg.de>

Hi all,

I am a Newbee to the X11 System (ok i can  configure an compiled it) but,
the Steps for Remote Working (like an ICA Metraframe Client) for
Cygwin/Xfree86 is
not really easy.

In Think i have two choices:

1)
Remoteauthentication via the Remote Dektopmanager Control Protocol,
(But Everyon tells me it is complex an still unsecure?)

2)
Using the "sure" way over an OpenBSD SSH-Shell
(thins is the actually configuration, but not a Release Candidate.

The SSH way works fine, but the Problem is the Logon Interface (Bash shell)
add xhost, DISPLAY=xxx.xxx.xxx.xxx:0.0; export DISPLAY startkde (catch an
Error)

Wow! My Boss is killing me for this nasty Way.

Ok, iam a Programmer, and i think (write a little Windows Application for
Logon to
the X-Remote Server (but still the non-interactive SSH Shell is bugging me.

(I have read from "empty Keyphrase Trick"???)

Ok Guys, what the best and fastest Way (non commercial, Software must be
free)?





From j_tetazoo@hotmail.com  Tue Oct  8 11:08:00 2002
From: j_tetazoo@hotmail.com (Thomas Chadwick)
Date: Tue, 08 Oct 2002 11:08:00 -0000
Subject: Cygwin Remote: Want to implement a Citrix Metaframe alternative
Message-ID: 

>From: 
>Reply-To: 
>To: 
>Subject: Cygwin Remote: Want to implement a Citrix Metaframe alternative 
>Date: Tue, 8 Oct 2002 09:41:45 +0200
>
>Hi all,
>
>I am a Newbee to the X11 System (ok i can  configure an compiled it) but,
>the Steps for Remote Working (like an ICA Metraframe Client) for
>Cygwin/Xfree86 is
>not really easy.
>
>In Think i have two choices:
>
>1)
>Remoteauthentication via the Remote Dektopmanager Control Protocol,
>(But Everyon tells me it is complex an still unsecure?)
>
>2)
>Using the "sure" way over an OpenBSD SSH-Shell
>(thins is the actually configuration, but not a Release Candidate.
>
>The SSH way works fine, but the Problem is the Logon Interface (Bash shell)
>add xhost, DISPLAY=xxx.xxx.xxx.xxx:0.0; export DISPLAY startkde (catch an
>Error)
>
>Wow! My Boss is killing me for this nasty Way.
>
>Ok, iam a Programmer, and i think (write a little Windows Application for
>Logon to
>the X-Remote Server (but still the non-interactive SSH Shell is bugging me.
>
>(I have read from "empty Keyphrase Trick"???)
>
>Ok Guys, what the best and fastest Way (non commercial, Software must be
>free)?


I think I follow what you're trying to do in #2 above.  May I suggest the 
following?

On the remote system, create a shell script which contains something like 
the following:

  #!/bin/sh

  # Launch an Xterm (run in the pack ground)
  xterm -title `whoami`@`hostname` &

  # Launch WindowManager (run in the foreground)
  mwm

On the local (Cygwin) system, create a shell script that contains something 
similar to the following, and save it as .xinitrc in your home directory:

  #!/bin/sh

  ssh  -X  remoteusername@remotehostname  pathtoremotescript

The "pathtoremotescript" is referring to the script on the remote system I 
suggested above.

On the local (Cygwin) system, edit the file .bash_profile in your home 
directory and add /usr/X11R6/bin to your path:

  export PATH=$PATH:/usr/X11R6/bin

Finally, on the Cygwin system, create a Windows shortcut with the following 
target:

  C:\cygwin\bin\bash.exe --login -c "xinit -- -nodecoration"

When you double click the shortcut, the following sequence of events will 
happen:

1) Windows will run bash.  The --login parameter tells it to source your 
.bash_profile file, adding /usr/X11R6/bin to your PATH.
2) Bash will run xinit, which will start up the X server, then source the 
.xinitrc file.
3) .xinitrc will execute ssh.
4) ssh will connect to the remote system and prompt you for a password.  It 
will then enable X11 Forwarding, assign the appropriate value to DISPLAY, 
and will execute the remote shell script.
5) The remote shell script will run, launching an xterm and window manager 
which will appear on your Cygwin X server screen.
6) Close things down by quitting the window manager on the remote system or 
by killing the Cygwin X server with Alt-F4.


_________________________________________________________________
MSN Photos is the easiest way to share and print your photos: 
http://photos.msn.com/support/worldwide.aspx


From jc.gervais@videotron.ca  Tue Oct  8 11:25:00 2002
From: jc.gervais@videotron.ca (Jean-Claude Gervais)
Date: Tue, 08 Oct 2002 11:25:00 -0000
Subject: Cygwin Remote: Want to implement a Citrix Metaframe alternative
In-Reply-To: 
Message-ID: 

Whoah!

	Does that actually work Thomas?

	Slick!

	Thanks for the tip! I may not have originally asked the question, but I can
definitely use your solution!

	Thanks again.


-----Original Message-----
From: cygwin-xfree-owner@cygwin.com [mailto:cygwin-xfree-owner@cygwin.com]On
Behalf Of Thomas Chadwick
Sent: Tuesday, October 08, 2002 2:09 PM
To: choice15@gmx.de; cygwin-xfree@cygwin.com
Subject: Re: Cygwin Remote: Want to implement a Citrix Metaframe alternative

>From: 
>Reply-To: 
>To: 
>Subject: Cygwin Remote: Want to implement a Citrix Metaframe alternative
>Date: Tue, 8 Oct 2002 09:41:45 +0200
>
>Hi all,
>
>I am a Newbee to the X11 System (ok i can  configure an compiled it) but,
>the Steps for Remote Working (like an ICA Metraframe Client) for
>Cygwin/Xfree86 is
>not really easy.
>
>In Think i have two choices:
>
>1)
>Remoteauthentication via the Remote Dektopmanager Control Protocol,
>(But Everyon tells me it is complex an still unsecure?)
>
>2)
>Using the "sure" way over an OpenBSD SSH-Shell
>(thins is the actually configuration, but not a Release Candidate.
>
>The SSH way works fine, but the Problem is the Logon Interface (Bash shell)
>add xhost, DISPLAY=xxx.xxx.xxx.xxx:0.0; export DISPLAY startkde (catch an
>Error)
>
>Wow! My Boss is killing me for this nasty Way.
>
>Ok, iam a Programmer, and i think (write a little Windows Application for
>Logon to
>the X-Remote Server (but still the non-interactive SSH Shell is bugging me.
>
>(I have read from "empty Keyphrase Trick"???)
>
>Ok Guys, what the best and fastest Way (non commercial, Software must be
>free)?


I think I follow what you're trying to do in #2 above.  May I suggest the
following?

On the remote system, create a shell script which contains something like
the following:

  #!/bin/sh

  # Launch an Xterm (run in the pack ground)
  xterm -title `whoami`@`hostname` &

  # Launch WindowManager (run in the foreground)
  mwm

On the local (Cygwin) system, create a shell script that contains something
similar to the following, and save it as .xinitrc in your home directory:

  #!/bin/sh

  ssh  -X  remoteusername@remotehostname  pathtoremotescript

The "pathtoremotescript" is referring to the script on the remote system I
suggested above.

On the local (Cygwin) system, edit the file .bash_profile in your home
directory and add /usr/X11R6/bin to your path:

  export PATH=$PATH:/usr/X11R6/bin

Finally, on the Cygwin system, create a Windows shortcut with the following
target:

  C:\cygwin\bin\bash.exe --login -c "xinit -- -nodecoration"

When you double click the shortcut, the following sequence of events will
happen:

1) Windows will run bash.  The --login parameter tells it to source your
.bash_profile file, adding /usr/X11R6/bin to your PATH.
2) Bash will run xinit, which will start up the X server, then source the
.xinitrc file.
3) .xinitrc will execute ssh.
4) ssh will connect to the remote system and prompt you for a password.  It
will then enable X11 Forwarding, assign the appropriate value to DISPLAY,
and will execute the remote shell script.
5) The remote shell script will run, launching an xterm and window manager
which will appear on your Cygwin X server screen.
6) Close things down by quitting the window manager on the remote system or
by killing the Cygwin X server with Alt-F4.


_________________________________________________________________
MSN Photos is the easiest way to share and print your photos:
http://photos.msn.com/support/worldwide.aspx


From j_tetazoo@hotmail.com  Tue Oct  8 12:02:00 2002
From: j_tetazoo@hotmail.com (Thomas Chadwick)
Date: Tue, 08 Oct 2002 12:02:00 -0000
Subject: Cygwin Remote: Want to implement a Citrix Metaframe alternative
Message-ID: 

Yup.  Works like a charm!  I use a version of the scheme described below 
every day to get an X session on my Thinkpad served up by my RS/6000. (Can 
you guess who I work for?)  I have the monitor from my RS/6000 side-by-side 
with my Thinkpad, and run x2x to effectively give me a dual-headed X 
Session.

>From: Jean-Claude Gervais 
>Reply-To: cygwin-xfree@cygwin.com
>To: cygwin-xfree@cygwin.com
>Subject: RE: Cygwin Remote: Want to implement a Citrix Metaframe 
>alternative
>Date: Tue, 08 Oct 2002 14:25:01 -0400
>
>Whoah!
>
>	Does that actually work Thomas?
>
>	Slick!
>
>	Thanks for the tip! I may not have originally asked the question, but I 
>can
>definitely use your solution!
>
>	Thanks again.
>
>
>-----Original Message-----
>From: cygwin-xfree-owner@cygwin.com 
>[mailto:cygwin-xfree-owner@cygwin.com]On
>Behalf Of Thomas Chadwick
>Sent: Tuesday, October 08, 2002 2:09 PM
>To: choice15@gmx.de; cygwin-xfree@cygwin.com
>Subject: Re: Cygwin Remote: Want to implement a Citrix Metaframe 
>alternative
>
> >From: 
> >Reply-To: 
> >To: 
> >Subject: Cygwin Remote: Want to implement a Citrix Metaframe alternative
> >Date: Tue, 8 Oct 2002 09:41:45 +0200
> >
> >Hi all,
> >
> >I am a Newbee to the X11 System (ok i can  configure an compiled it) but,
> >the Steps for Remote Working (like an ICA Metraframe Client) for
> >Cygwin/Xfree86 is
> >not really easy.
> >
> >In Think i have two choices:
> >
> >1)
> >Remoteauthentication via the Remote Dektopmanager Control Protocol,
> >(But Everyon tells me it is complex an still unsecure?)
> >
> >2)
> >Using the "sure" way over an OpenBSD SSH-Shell
> >(thins is the actually configuration, but not a Release Candidate.
> >
> >The SSH way works fine, but the Problem is the Logon Interface (Bash 
>shell)
> >add xhost, DISPLAY=xxx.xxx.xxx.xxx:0.0; export DISPLAY startkde (catch an
> >Error)
> >
> >Wow! My Boss is killing me for this nasty Way.
> >
> >Ok, iam a Programmer, and i think (write a little Windows Application for
> >Logon to
> >the X-Remote Server (but still the non-interactive SSH Shell is bugging 
>me.
> >
> >(I have read from "empty Keyphrase Trick"???)
> >
> >Ok Guys, what the best and fastest Way (non commercial, Software must be
> >free)?
>
>
>I think I follow what you're trying to do in #2 above.  May I suggest the
>following?
>
>On the remote system, create a shell script which contains something like
>the following:
>
>   #!/bin/sh
>
>   # Launch an Xterm (run in the pack ground)
>   xterm -title `whoami`@`hostname` &
>
>   # Launch WindowManager (run in the foreground)
>   mwm
>
>On the local (Cygwin) system, create a shell script that contains something
>similar to the following, and save it as .xinitrc in your home directory:
>
>   #!/bin/sh
>
>   ssh  -X  remoteusername@remotehostname  pathtoremotescript
>
>The "pathtoremotescript" is referring to the script on the remote system I
>suggested above.
>
>On the local (Cygwin) system, edit the file .bash_profile in your home
>directory and add /usr/X11R6/bin to your path:
>
>   export PATH=$PATH:/usr/X11R6/bin
>
>Finally, on the Cygwin system, create a Windows shortcut with the following
>target:
>
>   C:\cygwin\bin\bash.exe --login -c "xinit -- -nodecoration"
>
>When you double click the shortcut, the following sequence of events will
>happen:
>
>1) Windows will run bash.  The --login parameter tells it to source your
>.bash_profile file, adding /usr/X11R6/bin to your PATH.
>2) Bash will run xinit, which will start up the X server, then source the
>.xinitrc file.
>3) .xinitrc will execute ssh.
>4) ssh will connect to the remote system and prompt you for a password.  It
>will then enable X11 Forwarding, assign the appropriate value to DISPLAY,
>and will execute the remote shell script.
>5) The remote shell script will run, launching an xterm and window manager
>which will appear on your Cygwin X server screen.
>6) Close things down by quitting the window manager on the remote system or
>by killing the Cygwin X server with Alt-F4.
>
>
>_________________________________________________________________
>MSN Photos is the easiest way to share and print your photos:
>http://photos.msn.com/support/worldwide.aspx




_________________________________________________________________
MSN Photos is the easiest way to share and print your photos: 
http://photos.msn.com/support/worldwide.aspx


From huntharo@msu.edu  Tue Oct  8 13:43:00 2002
From: huntharo@msu.edu (Harold L Hunt II)
Date: Tue, 08 Oct 2002 13:43:00 -0000
Subject: Cygwin Remote: Want to implement a Citrix Metaframe alternative
References: 
Message-ID: <3DA34384.9020206@msu.edu>

Thomas,

Yes, that is an excellent answer and it describes an elegant solution 
that 99% of people would not be able to come up with on their own.  I am 
flagging it for inclusion into the User's Guide.  Of course, that 
doesn't mean it will be in the User's Guide next week, or even next 
month, but it will eventually get there.

Harold

Thomas Chadwick wrote:
> Yup.  Works like a charm!  I use a version of the scheme described below 
> every day to get an X session on my Thinkpad served up by my RS/6000. 
> (Can you guess who I work for?)  I have the monitor from my RS/6000 
> side-by-side with my Thinkpad, and run x2x to effectively give me a 
> dual-headed X Session.
> 
>> From: Jean-Claude Gervais 
>> Reply-To: cygwin-xfree@cygwin.com
>> To: cygwin-xfree@cygwin.com
>> Subject: RE: Cygwin Remote: Want to implement a Citrix Metaframe 
>> alternative
>> Date: Tue, 08 Oct 2002 14:25:01 -0400
>>
>> Whoah!
>>
>>     Does that actually work Thomas?
>>
>>     Slick!
>>
>>     Thanks for the tip! I may not have originally asked the question, 
>> but I can
>> definitely use your solution!
>>
>>     Thanks again.
>>
>>
>> -----Original Message-----
>> From: cygwin-xfree-owner@cygwin.com 
>> [mailto:cygwin-xfree-owner@cygwin.com]On
>> Behalf Of Thomas Chadwick
>> Sent: Tuesday, October 08, 2002 2:09 PM
>> To: choice15@gmx.de; cygwin-xfree@cygwin.com
>> Subject: Re: Cygwin Remote: Want to implement a Citrix Metaframe 
>> alternative
>>
>> >From: 
>> >Reply-To: 
>> >To: 
>> >Subject: Cygwin Remote: Want to implement a Citrix Metaframe alternative
>> >Date: Tue, 8 Oct 2002 09:41:45 +0200
>> >
>> >Hi all,
>> >
>> >I am a Newbee to the X11 System (ok i can  configure an compiled it) 
>> but,
>> >the Steps for Remote Working (like an ICA Metraframe Client) for
>> >Cygwin/Xfree86 is
>> >not really easy.
>> >
>> >In Think i have two choices:
>> >
>> >1)
>> >Remoteauthentication via the Remote Dektopmanager Control Protocol,
>> >(But Everyon tells me it is complex an still unsecure?)
>> >
>> >2)
>> >Using the "sure" way over an OpenBSD SSH-Shell
>> >(thins is the actually configuration, but not a Release Candidate.
>> >
>> >The SSH way works fine, but the Problem is the Logon Interface (Bash 
>> shell)
>> >add xhost, DISPLAY=xxx.xxx.xxx.xxx:0.0; export DISPLAY startkde 
>> (catch an
>> >Error)
>> >
>> >Wow! My Boss is killing me for this nasty Way.
>> >
>> >Ok, iam a Programmer, and i think (write a little Windows Application 
>> for
>> >Logon to
>> >the X-Remote Server (but still the non-interactive SSH Shell is 
>> bugging me.
>> >
>> >(I have read from "empty Keyphrase Trick"???)
>> >
>> >Ok Guys, what the best and fastest Way (non commercial, Software must be
>> >free)?
>>
>>
>> I think I follow what you're trying to do in #2 above.  May I suggest the
>> following?
>>
>> On the remote system, create a shell script which contains something like
>> the following:
>>
>>   #!/bin/sh
>>
>>   # Launch an Xterm (run in the pack ground)
>>   xterm -title `whoami`@`hostname` &
>>
>>   # Launch WindowManager (run in the foreground)
>>   mwm
>>
>> On the local (Cygwin) system, create a shell script that contains 
>> something
>> similar to the following, and save it as .xinitrc in your home directory:
>>
>>   #!/bin/sh
>>
>>   ssh  -X  remoteusername@remotehostname  pathtoremotescript
>>
>> The "pathtoremotescript" is referring to the script on the remote 
>> system I
>> suggested above.
>>
>> On the local (Cygwin) system, edit the file .bash_profile in your home
>> directory and add /usr/X11R6/bin to your path:
>>
>>   export PATH=$PATH:/usr/X11R6/bin
>>
>> Finally, on the Cygwin system, create a Windows shortcut with the 
>> following
>> target:
>>
>>   C:\cygwin\bin\bash.exe --login -c "xinit -- -nodecoration"
>>
>> When you double click the shortcut, the following sequence of events will
>> happen:
>>
>> 1) Windows will run bash.  The --login parameter tells it to source your
>> .bash_profile file, adding /usr/X11R6/bin to your PATH.
>> 2) Bash will run xinit, which will start up the X server, then source the
>> .xinitrc file.
>> 3) .xinitrc will execute ssh.
>> 4) ssh will connect to the remote system and prompt you for a 
>> password.  It
>> will then enable X11 Forwarding, assign the appropriate value to DISPLAY,
>> and will execute the remote shell script.
>> 5) The remote shell script will run, launching an xterm and window 
>> manager
>> which will appear on your Cygwin X server screen.
>> 6) Close things down by quitting the window manager on the remote 
>> system or
>> by killing the Cygwin X server with Alt-F4.
>>
>>
>> _________________________________________________________________
>> MSN Photos is the easiest way to share and print your photos:
>> http://photos.msn.com/support/worldwide.aspx
> 
> 
> 
> 
> 
> _________________________________________________________________
> MSN Photos is the easiest way to share and print your photos: 
> http://photos.msn.com/support/worldwide.aspx
> 


From j_tetazoo@hotmail.com  Tue Oct  8 17:28:00 2002
From: j_tetazoo@hotmail.com (Thomas Chadwick)
Date: Tue, 08 Oct 2002 17:28:00 -0000
Subject: Cygwin Remote: Want to implement a Citrix Metaframe alternative
Message-ID: 

Thanks.

I have a small "bag of tricks" like this.  One of these days I'll get around 
to documenting them.  If/when I do so I'll be sure to post a URL to the ML.

By the way, I discovered a caveat in the solution I posted at the root of 
this thread.  XWin starts up before xinit launches ssh, causing the root 
window to obscure the command-line so that you can't see it prompt for a 
password.  I think a reasonable fix would be to put the ssh command "inside" 
an xterm in the .xinitrc file as follows:

xterm -title "ssh on `hostname`" \
-e ssh -X remoteusername@remotehostname pathtoremotescript

>From: Harold L Hunt II 
>Reply-To: cygwin-xfree@cygwin.com
>To: cygwin-xfree@cygwin.com
>Subject: Re: Cygwin Remote: Want to implement a Citrix Metaframe 
>alternative
>Date: Tue, 08 Oct 2002 16:43:48 -0400
>
>Thomas,
>
>Yes, that is an excellent answer and it describes an elegant solution that 
>99% of people would not be able to come up with on their own.  I am 
>flagging it for inclusion into the User's Guide.  Of course, that doesn't 
>mean it will be in the User's Guide next week, or even next month, but it 
>will eventually get there.
>
>Harold

[snip]


_________________________________________________________________
MSN Photos is the easiest way to share and print your photos: 
http://photos.msn.com/support/worldwide.aspx


From huntharo@msu.edu  Tue Oct  8 20:54:00 2002
From: huntharo@msu.edu (Harold L Hunt II)
Date: Tue, 08 Oct 2002 20:54:00 -0000
Subject: Wine DIB Engine - Might be useful reference when writing Native GDI
Message-ID: <3DA3A81F.3040602@msu.edu>

While working on the Native GDI engine, Alan Hourihane discovered that 
the bit order of 1 bit DIBs differs from that reported in the Win32 API 
documentation (or no documentation really specifies the bit order).  In 
any case, the Wine project has just gained a DIB implementation that may 
provide us with some insight as to how the 1 bit DIBs work, assuming 
that this DIB implementation handles 1 bit DIBs.  Below is a link to the 
Kernel Cousin Wine item that announces the new DIB system:

http://kt.zork.net/wine/wn20021004_138.html#2


Harold


From j_tetazoo@hotmail.com  Wed Oct  9 07:13:00 2002
From: j_tetazoo@hotmail.com (Thomas Chadwick)
Date: Wed, 09 Oct 2002 07:13:00 -0000
Subject: Rootless mode revisited...
Message-ID: 

I just had a thought on how to implement rootless mode and I'm hoping 
someone more familiar with Windows programming and/or the XWin server might 
let me know if it's a dead-end before I spend too much time researching it 
further.

The idea I had is this:  Can we exploit the features of the Windows API that 
allow for non-rectangular windows to achieve a "pseudo-rootless" mode?  I 
have looked into it enough to find that non-rectangular Windows windows are 
really collections of multiple rectangles, ellipses, etc.  Seems to me XWin 
could exploit this by simply {adding|removing} a rectangle {to|from} the 
collection that makes up its shape whenever an Xclient is 
{created|destroyed}.

I call it "pseudo-rootless" mode because you would still need to run an 
XWindows window manager to decorate the Xclients, as opposed to having the 
Windows window manager do the decoration.

What I don't know is how well Windows will handle, for instance, moving an 
Xclient window around once it's been created, since that would involve 
dynamically manipulating the shape of a Windows window.

What I also don't know is whether or not the way XWin uses DirectDraw and 
frame-buffering somehow precludes the use of the Windows window-shaping 
APIs.


_________________________________________________________________
Send and receive Hotmail on your mobile device: http://mobile.msn.com


From nahor@bravobrava.com  Wed Oct  9 09:41:00 2002
From: nahor@bravobrava.com (Jehan)
Date: Wed, 09 Oct 2002 09:41:00 -0000
Subject: Rootless mode revisited...
In-Reply-To: 
References: 
Message-ID: 

Thomas Chadwick wrote:
> I just had a thought on how to implement rootless mode and I'm hoping 
> someone more familiar with Windows programming and/or the XWin server 
> might let me know if it's a dead-end before I spend too much time 
> researching it further.
> 
> The idea I had is this:  Can we exploit the features of the Windows API 
> that allow for non-rectangular windows to achieve a "pseudo-rootless" 
> mode?  I have looked into it enough to find that non-rectangular Windows 
> windows are really collections of multiple rectangles, ellipses, etc.  
> Seems to me XWin could exploit this by simply {adding|removing} a 
> rectangle {to|from} the collection that makes up its shape whenever an 
> Xclient is {created|destroyed}.
> 
> I call it "pseudo-rootless" mode because you would still need to run an 
> XWindows window manager to decorate the Xclients, as opposed to having 
> the Windows window manager do the decoration.
> 
> What I don't know is how well Windows will handle, for instance, moving 
> an Xclient window around once it's been created, since that would 
> involve dynamically manipulating the shape of a Windows window.
> 
> What I also don't know is whether or not the way XWin uses DirectDraw 
> and frame-buffering somehow precludes the use of the Windows 
> window-shaping APIs.

I thought of something similar but "less pseudo". Currently, XWin draws 
in a buffer and copy this buffer to the XWin window. If one knows how to 
get the X windows position, one could create one Windows window per X 
Window a copy just the part matching the X window. This has the 
advantage over your method to give one button in the taskbar per X window.
If the Windows windows are fully opaque (which is the case for every 
body except a few geeks), the fact that, when windows overlap, the 
bottom window contains part of the top windows should not be a problem 
(it should be hidden by the top windows)

	Jehan




From huntharo@msu.edu  Wed Oct  9 09:51:00 2002
From: huntharo@msu.edu (Harold L Hunt II)
Date: Wed, 09 Oct 2002 09:51:00 -0000
Subject: Rootless mode revisited...
References:  
Message-ID: <3DA45E63.6010705@msu.edu>

Let me sum it up like this: we already know how to do it.  That isn't 
the problem.  The problem is that requires lot of work to implement the 
design that we have in mind.

What Thomas suggested is an interesting idea.  His idea was obviously a 
suggestion and it probably wasn't thought out from the standpoint of 
architecting an entire system to use that idea.  With that being said, I 
think that the system that we have in mind (modeled after X Darwin's 
rootless mode) won't require that we have windows that are anywhere near 
as complicated as that.  Then again, what Thomas is suggesting might be 
a way to handle windows created with the X Shape Extension.  However, to 
consider issues related to shaped windows now (before we can even handle 
basic windows) would be frivilous.  The handling of standard windows 
would not be well enough known for us to even know what we were trying 
to talk about.

Harold


From zephod@drizzle.com  Wed Oct  9 11:53:00 2002
From: zephod@drizzle.com (Bill Hughey)
Date: Wed, 09 Oct 2002 11:53:00 -0000
Subject: Rootless mode revisited...
References: 
Message-ID: <003e01c26f61$b195ca90$0201a8c0@billhu1>

In a cursory look at the Darwin project, it seemed that they were shadowing
every top-level (child of root) window with a pixmap / hbitmap / dibsection.
The action would be something like draw into the dibsections memory with X
windows drawing routines and then use DirectDraw's fastblt to push it to the
hwnd (Microsloth window) on the screen.

Having worked on a commercial PC X server using gdi exclusively,  my
experience would suggest extending this sort of approach with just a short
list of obvious DirectDraw accelerations: rectangle solid color fill and
pix-to-window copies of pixmaps with constant contents (how about all those
mwm pixmaps with the window decorations in them!)  The copy pix-to-win
operations could be accelerated by moving pixmaps into video memory caches
when it is available.

An approach using dibsections would make this feasible, just be careful of
bit/byte ordering differences between X and WIndows!

Also worth noting, this approach lends itself to emulating 8-bit color on a
true color screen.  Check out WRQ's pseudocolor emulation mode, reasonably
fast and very color accurate with the additional benefit of unlimited
simultaneously installed colormaps or in layman's terms, no colormap
flashing!.



----- Original Message -----
From: "Thomas Chadwick" 
To: 
Sent: Wednesday, October 09, 2002 7:13 AM
Subject: Rootless mode revisited...


> I just had a thought on how to implement rootless mode and I'm hoping
> someone more familiar with Windows programming and/or the XWin server
might
> let me know if it's a dead-end before I spend too much time researching it
> further.
>
> The idea I had is this:  Can we exploit the features of the Windows API
that
> allow for non-rectangular windows to achieve a "pseudo-rootless" mode?  I
> have looked into it enough to find that non-rectangular Windows windows
are
> really collections of multiple rectangles, ellipses, etc.  Seems to me
XWin
> could exploit this by simply {adding|removing} a rectangle {to|from} the
> collection that makes up its shape whenever an Xclient is
> {created|destroyed}.
>
> I call it "pseudo-rootless" mode because you would still need to run an
> XWindows window manager to decorate the Xclients, as opposed to having the
> Windows window manager do the decoration.
>
> What I don't know is how well Windows will handle, for instance, moving an
> Xclient window around once it's been created, since that would involve
> dynamically manipulating the shape of a Windows window.
>
> What I also don't know is whether or not the way XWin uses DirectDraw and
> frame-buffering somehow precludes the use of the Windows window-shaping
> APIs.
>
>
> _________________________________________________________________
> Send and receive Hotmail on your mobile device: http://mobile.msn.com
>


From munir_amanjordan@yahoo.com  Thu Oct 10 01:24:00 2002
From: munir_amanjordan@yahoo.com (AMAN- Munir Idaibes)
Date: Thu, 10 Oct 2002 01:24:00 -0000
Subject: The third Millennium and Human Rights Conference (Arabic)
Message-ID: <200210100821.g9A8Ldm10496@mail.nets1.com.jo>

Please go to:
http://www.amanjordan.org/arabic_news/wmview.php?ArtID=3353

Arabic News:
http://www.amanjordan.org/arabic_news/index.php


From choice15@gmx.de  Thu Oct 10 03:38:00 2002
From: choice15@gmx.de (choice15@gmx.de)
Date: Thu, 10 Oct 2002 03:38:00 -0000
Subject: Cygwin Remote: Want to implement a Citrix Metaframe alternative
References: 
Message-ID: <006c01c27048$a32b5f00$4c64a8c0@ibsfreiburg.de>

Hi Thomas,

Ok now i have a little Moment to talkback to you for youSolution.

The Citrix Metaframe-Client has an Graphical User-Logon Frontend,
thadt authenticates  the credentials of NT/W2K-Domain User.

Ok, i have backed up an Little GUI-Application in Borlad Delphi6
(OpenEdition)
thats can handle and execute internal Batchscripts (a DOS-Box inside the
Application)
so i can parse and prepare via Cejckboxe and Button-Clicks the
"startxwin.bat" File
with Params like -fullscreen, -noderocation and other various Settings
special to the User.


> On the remote system, create a shell script which contains something like
> the following:

>   #!/bin/sh
>
>   # Launch an Xterm (run in the pack ground)
>   xterm -title `whoami`@`hostname` &
>
>   # Launch WindowManager (run in the foreground)
>   mwm


>   #!/bin/sh
>
>   ssh  -X  remoteusername@remotehostname  pathtoremotescript
>
> The "pathtoremotescript" is referring to the script on the remote system I
> suggested above.

This part where are the biggest Nut to crack for me!

Graphical User Frontend Alwas should be shown (not a Bash-Shell)

Note:
The psychologic effect by an Commandline Interface to an Common User
brings  always a negative feedback

I have handled the Problem with ssh-keygen -t dsa to bake up an Key-pair
and distribute it to the X-Server and Cygwin Client.

Now all works fine (but the different Profiles of the Users are now an
Problem to handle)

Any Ideas?

If the programm is ready to release, then it should be under the
GPL-Licensed




From rasjidw@openminddev.net  Thu Oct 10 06:58:00 2002
From: rasjidw@openminddev.net (Rasjid Wilcox)
Date: Thu, 10 Oct 2002 06:58:00 -0000
Subject: Cygwin Remote: Want to implement a Citrix Metaframe alternative
In-Reply-To: <006c01c27048$a32b5f00$4c64a8c0@ibsfreiburg.de>
References:  <006c01c27048$a32b5f00$4c64a8c0@ibsfreiburg.de>
Message-ID: <200210102358.46666.rasjidw@openminddev.net>

On Thu, 10 Oct 2002 8:34 pm, choice15@gmx.de wrote:
>
> I have handled the Problem with ssh-keygen -t dsa to bake up an Key-pair
> and distribute it to the X-Server and Cygwin Client.

Do these keys have passphrases?  If yes, then how is it different to asking 
for a password.  If no, then how have you made the system secure?

I am interested in the development of this idea, but would be very concerned 
about the use of passphrase-less keys.

Rasjid.


From pechtcha@cs.nyu.edu  Thu Oct 10 12:54:00 2002
From: pechtcha@cs.nyu.edu (Igor Pechtchanski)
Date: Thu, 10 Oct 2002 12:54:00 -0000
Subject: cygwin's ssh with Xwin
In-Reply-To: 
Message-ID: 

On Thu, 10 Oct 2002, Matthew Bailey wrote:

> I have the latest version of Cygwin and ssh.  I am trying to display
> another program remotely which I'm using Xwin32 5.2 to allow the display.
>
> The server always responds Can't connect to display :"0.0".
>
> I looked at my man pages for ssh and used the flag -X to enable forwarding
> of my X11.  But, the server still responds the same, and will not allow me
> to display my program.
>
> Can anyone help me with this problem?
>
> Thanks,
> M. Bailey

I'm sure this'll get redirected to cygwin-xfree, so I'm replying straight
there.

ssh, when run with X forwarding, sets up a special display on the target
machine.  The value of the DISPLAY variable should reflect that.
There are a couple of possibilities:

1) You are running 'ssh -X' from a bash prompt that does not have DISPLAY
set.  In this case ssh will silently ignore the -X option and will not set
up X forwarding.  To fix this, set DISPLAY to "localhost:0.0" before
invoking ssh.

2) (more likely from your symptoms) You have a login script that
automatically sets the DISPLAY to :0.0 on the target machine, overriding
the ssh-set value.  To fix this, find which script does that (could be
.bashrc, .profile, some other rc script, could even be /etc/profile if
your system administrator is sadistic/incompetent), and bracket the line
that assigns DISPLAY by (for sh/ksh/bash) 'if [ -z "$DISPLAY" ]; then' and
'fi'.

Hope this helps,
	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 huntharo@msu.edu  Thu Oct 10 15:42:00 2002
From: huntharo@msu.edu (Harold L Hunt II)
Date: Thu, 10 Oct 2002 15:42:00 -0000
Subject: cygwin's ssh with Xwin
References: 
Message-ID: <3DA60203.3010806@msu.edu>

Additionally, my recent SSH Notes email describes the scenario that you 
are in (next to last item on the list):

http://cygwin.com/ml/cygwin-xfree/2002-10/msg00065.html

Harold

Igor Pechtchanski wrote:
> On Thu, 10 Oct 2002, Matthew Bailey wrote:
> 
> 
>>I have the latest version of Cygwin and ssh.  I am trying to display
>>another program remotely which I'm using Xwin32 5.2 to allow the display.
>>
>>The server always responds Can't connect to display :"0.0".
>>
>>I looked at my man pages for ssh and used the flag -X to enable forwarding
>>of my X11.  But, the server still responds the same, and will not allow me
>>to display my program.
>>
>>Can anyone help me with this problem?
>>
>>Thanks,
>>M. Bailey
> 
> 
> I'm sure this'll get redirected to cygwin-xfree, so I'm replying straight
> there.
> 
> ssh, when run with X forwarding, sets up a special display on the target
> machine.  The value of the DISPLAY variable should reflect that.
> There are a couple of possibilities:
> 
> 1) You are running 'ssh -X' from a bash prompt that does not have DISPLAY
> set.  In this case ssh will silently ignore the -X option and will not set
> up X forwarding.  To fix this, set DISPLAY to "localhost:0.0" before
> invoking ssh.
> 
> 2) (more likely from your symptoms) You have a login script that
> automatically sets the DISPLAY to :0.0 on the target machine, overriding
> the ssh-set value.  To fix this, find which script does that (could be
> .bashrc, .profile, some other rc script, could even be /etc/profile if
> your system administrator is sadistic/incompetent), and bracket the line
> that assigns DISPLAY by (for sh/ksh/bash) 'if [ -z "$DISPLAY" ]; then' and
> 'fi'.
> 
> Hope this helps,
> 	Igor


From vvikram@stanford.edu  Fri Oct 11 03:40:00 2002
From: vvikram@stanford.edu (Vikram)
Date: Fri, 11 Oct 2002 03:40:00 -0000
Subject: wmaker signal 11
Message-ID: 


Hi,

I downloaded cygwin afresh on a new box yesterday. For the first time
decided to try out wmaker.exe  wmaker got signal 11 everytime I started.

I searched the archives for quite a while before I saw the solution to
this posted by someone. It was that the directory $HOME/GNUStep should be
binary mounted [or] as I did for quick hack run dos2unix on the files in
that directory. Is there a fix for this in the works [or] has it already
been fixed ... ?

Thanks,
			Vikram






From mail1@mailsendserver.com  Fri Oct 11 19:04:00 2002
From: mail1@mailsendserver.com (Solitaire plus)
Date: Fri, 11 Oct 2002 19:04:00 -0000
Subject: Solitaire plus-Jewellery
Message-ID: 

www.solitaire-plus.com
''Jewellery ''

''joaillerie'' jetez un coup d'oiel, s.v.p


From swamp-dog@ntlworld.com  Sat Oct 12 03:49:00 2002
From: swamp-dog@ntlworld.com (Guy Harrison)
Date: Sat, 12 Oct 2002 03:49:00 -0000
Subject: Trying to build graphical applications for Cygwin - Please help
In-Reply-To: 
References: 
Message-ID: <3da7fb99.504767196@smtp.ntlworld.com>

On Mon, 7 Oct 2002 12:41:42 -0600, bob.cavanaugh@flextronicssemi.com
wrote:

>Hello all,
>First of all, I apologize for the length of this post. I have done a lot of
>reading, downloading, and building and I am stuck. I am somewhat new to using
>Cygwin but I have been an embedded systems engineer for 15 years so I am not new
>to computers.
>
>I am trying to get the following packages to run on my Cygwin/XFree86:
>1) Eterm-0.9.1 - an enhanced terminal program that allows backgrounds
>2) gpsim-0.20.14 - a Microchip PIC simulation package
>
>Trying to build Eterm, it requires imlib. I downloaded imlib- 2.1.06. The
>configure fails, looking for shmat().  I sent a message to the cygwin list, and
>received a reply from J. Larsen directing me to load Cygipc, which I did. This
>time the configure fails looking for XShmAttach().
>
>To build gpsim, I need glib and GTK+, pkg-config, and gtk+extra-0.99.17
>I tried building the lastest versions of glib and GTK, 2.0.6, with no luck. I
>backed up to the 1.2.8 version, and that builds, but the built version fails the
>testglib.exe file, seg faults on string test.
>I went to the maillist, and downloaded Lupo's glib 1.2.10 and GTK+1.2.10.
>Tried to build gtk+extra, and during the configure stage, a Windows messagebox
>comes up and says that I am missing "shmat" for X11.  Configure completed but
>said I have an invalid version of GTK+.
>
>OK, several things may be going on. I think I am having the same problem with
>both builds.
>
>1. I am running Cygipc as a service on Win2K. Do I need to do something else,
>like re-build XFree86? Is there a site with instructions?
>2. What else is required to get imlib and GTK+ to work correctly? Has anybody
>been able to do so, or am I trying to do something Cygwin cannot perform?

A static build is fairly trivial. I didn't have the details in response
to http://cygwin.com/ml/cygwin-xfree/2002-10/msg00059.html so here they
are now (you can safely add -O2 btw)...

glib (1.2.10)
--disable-shared --enable-threads=no
CFLAGS+=-DDEFS_H

gtk+ (1.2.10)
--disable-shared

gdk-pixbuf (0.10.1)
--disable-shared --disable-modules --disable-mmx

imlib (1.9.10)
--disable-shared --disable-modules

...none of the above require the presence of Cygipc.

>3. I saw one post which indicated a problem with FAT-32. Is NTFS a requirement
>to run Cygwin/XFree86 on Win2K?
>
>I don't want to waste anybody's time, but I would really appreciate any help
>offered. I know that eveybody's time is valuable (I promised a patch to the
>WxWindows group over a month ago I haven't gotten to yet :-(  ), but getting
>gpsim is a fairly high priority for me.

 ...

seems gtk+extra-0.99.17 just wants --disable-shared as well.


-- 
swamp-dog@ntlworld.com


From j-chow@northwestern.edu  Sat Oct 12 21:38:00 2002
From: j-chow@northwestern.edu (Jarva Chow)
Date: Sat, 12 Oct 2002 21:38:00 -0000
Subject: installation help!
Message-ID: <3DA8F819.8040002@northwestern.edu>

I went through the whole download process, following the user's guide 
(downloaded from setup.exe, downloaded all the required binaries) up to 
the point where it wanted us to run cygwin (chapter 2), and it doesn't 
work... cygwin just opens a window for half a second and then closes on 
me.  Help, what'd I do wrong?  and how can I fix this?  thanks!

Jarva
-- 

Jarva Chow
Northwestern University, Evanston, IL.  USA
j-chow@northwestern.edu


From huntharo@msu.edu  Sat Oct 12 21:42:00 2002
From: huntharo@msu.edu (Harold L Hunt II)
Date: Sat, 12 Oct 2002 21:42:00 -0000
Subject: installation help!
References: <3DA8F819.8040002@northwestern.edu>
Message-ID: <3DA8F957.6080006@msu.edu>

Jarva,

Cygwin/XFree86 is install completely with the Cygwin setup.exe 
installer.  There is no need to download the Cygwin/XFree86 binaries 
seperately.  In fact, the seperate binaries are old and probably broken 
by now.

You need to start over and follow the instructions on the Cygwin/XFree86 
home page (the User's Guide is a little out of date, but the home page 
is up to date):

http://xfree86.cygwin.com/

Let us know if you are successful.


Harold

Jarva Chow wrote:
> I went through the whole download process, following the user's guide 
> (downloaded from setup.exe, downloaded all the required binaries) up to 
> the point where it wanted us to run cygwin (chapter 2), and it doesn't 
> work... cygwin just opens a window for half a second and then closes on 
> me.  Help, what'd I do wrong?  and how can I fix this?  thanks!
> 
> Jarva


From wilper-8@ludd.luth.se  Sun Oct 13 03:25:00 2002
From: wilper-8@ludd.luth.se (Wilhelm Person)
Date: Sun, 13 Oct 2002 03:25:00 -0000
Subject: Problem with Backspace and Delete (fwd)
Message-ID: 


I have problems with Backspace and Delete keys when I use XFree and Cygwin
to connect to a remote Red Hat box.

In the terminal window that I did "ssh -X user@host" from, everything
works, but if I make a new xterm Backspace and Delete just print
tilde-chars instead of erasing.

If I connect to a Solaris box every thing works just fine.

I use xmodmap to get a Swedish kayboard layout
http://www.ludd.luth.se/~wilper-8/computer/xmodmap.se


How do I get Backspace and Delete to work in new xterms on a Linux box?

/Wilhelm



From arief@cs.Technion.AC.IL  Sun Oct 13 08:03:00 2002
From: arief@cs.Technion.AC.IL (Freund Ari)
Date: Sun, 13 Oct 2002 08:03:00 -0000
Subject: fvwm95
Message-ID: 


I saw some talk about a port of fvwm95 to Cygwin/XFree86 in the archives.
Does such a port exist?  Has it been made available?

Ari Freund


From pechtcha@cs.nyu.edu  Sun Oct 13 09:42:00 2002
From: pechtcha@cs.nyu.edu (Igor Pechtchanski)
Date: Sun, 13 Oct 2002 09:42:00 -0000
Subject: cygwin's ssh with Xwin
In-Reply-To: <3DA60203.3010806@msu.edu>
Message-ID: 

Harold,

While I don't doubt your expertise with XFree86, I would like to
respectfully disagree with your statement.  The next to last item on the
list (#5, IIRC) describes the same scenario that I mentioned as #1, and it
seems unlikely.  When 'ssh -X' is run from a prompt with no DISPLAY set,
the resulting message on the ssh target host is, e.g., 'xterm Xt error:
Can't open display:'.  Matthew's error explicitly states the ':0.0' as the
display number...  So, it looks like something does set the display, but
to the wrong value.  This is not to say that he might not have BOTH
problems at once, i.e., once he finds what sets his display, he'll still
have no X forwarding, but his immediate problem is, apparently, not what
you mentioned.
	Igor
P.S. I don't mean to be nitpicking here, just want the archives to reflect
the correct information...

On Thu, 10 Oct 2002, Harold L Hunt II wrote:

> Additionally, my recent SSH Notes email describes the scenario that you
> are in (next to last item on the list):
>
> http://cygwin.com/ml/cygwin-xfree/2002-10/msg00065.html
>
> Harold
>
> Igor Pechtchanski wrote:
> > On Thu, 10 Oct 2002, Matthew Bailey wrote:
> >
> >>I have the latest version of Cygwin and ssh.  I am trying to display
> >>another program remotely which I'm using Xwin32 5.2 to allow the display.
> >>
> >>The server always responds Can't connect to display :"0.0".
> >>
> >>I looked at my man pages for ssh and used the flag -X to enable forwarding
> >>of my X11.  But, the server still responds the same, and will not allow me
> >>to display my program.
> >>
> >>Can anyone help me with this problem?
> >>
> >>Thanks,
> >>M. Bailey
> >
> >
> > I'm sure this'll get redirected to cygwin-xfree, so I'm replying straight
> > there.
> >
> > ssh, when run with X forwarding, sets up a special display on the target
> > machine.  The value of the DISPLAY variable should reflect that.
> > There are a couple of possibilities:
> >
> > 1) You are running 'ssh -X' from a bash prompt that does not have DISPLAY
> > set.  In this case ssh will silently ignore the -X option and will not set
> > up X forwarding.  To fix this, set DISPLAY to "localhost:0.0" before
> > invoking ssh.
> >
> > 2) (more likely from your symptoms) You have a login script that
> > automatically sets the DISPLAY to :0.0 on the target machine, overriding
> > the ssh-set value.  To fix this, find which script does that (could be
> > .bashrc, .profile, some other rc script, could even be /etc/profile if
> > your system administrator is sadistic/incompetent), and bracket the line
> > that assigns DISPLAY by (for sh/ksh/bash) 'if [ -z "$DISPLAY" ]; then' and
> > 'fi'.
> >
> > Hope this helps,
> >       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 pechtcha@cs.nyu.edu  Sun Oct 13 09:46:00 2002
From: pechtcha@cs.nyu.edu (Igor Pechtchanski)
Date: Sun, 13 Oct 2002 09:46:00 -0000
Subject: fvwm95
In-Reply-To: 
Message-ID: 

On Sun, 13 Oct 2002, Freund Ari wrote:

> I saw some talk about a port of fvwm95 to Cygwin/XFree86 in the archives.
> Does such a port exist?  Has it been made available?
>
> Ari Freund

http://cygwin.com/cgi-bin2/package-grep.cgi?grep=bin%2Ffvwm
	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 gp@familiehaase.de  Sun Oct 13 22:44:00 2002
From: gp@familiehaase.de (Gerrit P. Haase)
Date: Sun, 13 Oct 2002 22:44:00 -0000
Subject: Glib and GTK cygwin Patch
In-Reply-To: <000801c27317$2729fb60$02f1ad41@mage>
References: <000801c27317$2729fb60$02f1ad41@mage>
Message-ID: <1861464076080.20021014074648@familiehaase.de>

Hallo Clint,

please no private mail, others may be interested in these issues too.
CC && F'up to cygwin-xfree list.

Am Montag, 14. Oktober 2002 um 02:17 schriebst du:

> Can you tell me the proper setup/syntax to use on the patch files to patch the
> gtk/glib 1.2.10 files...

You fetched the patches from Steve O'Brien's site (he did all the
patches)? > http://homepage.ntlworld.com/steven.obrien2/index.html
There are also sme instructions.

What I did, well, it was 'easy'.  Just unpacked the original source,
chdired into the source directory and did:

$ patch -p1<../glib-1.2.10.patch
$ ./configure --prefix=/usr/local 2>&1 | tee log.configure
$ make 2>&1 | tee log.make
$ make test 2>&1 | tee log.test
(or make check 2>&1 | tee log.test or skip this step)
$ make install 2>&1 | tee log.install

And the same for gtk and the other GNOME packages.

I saw no problems using Steve's patches, if you see problems, ask
Steve or post them via the cygwin-xfree list to the gurus please.


Gerrit
-- 
=^..^=


From choice15@gmx.de  Sun Oct 13 23:52:00 2002
From: choice15@gmx.de (choice15@gmx.de)
Date: Sun, 13 Oct 2002 23:52:00 -0000
Subject: Cygwin Remote: Want to implement a Citrix Metaframe alternative
References:  <006c01c27048$a32b5f00$4c64a8c0@ibsfreiburg.de> <200210102358.46666.rasjidw@openminddev.net>
Message-ID: <004601c2734e$6b27a9c0$4c64a8c0@ibsfreiburg.de>

Hi all,

The Implementation of my Cygwin Logon Programm works fine,
but the Workarraound with SAMBA (Singlesign on is not the real Deal)
has any One an Idea?

I want to try an Implementaton of SSH2 Protokoll to my Client to make
the Authentication to my X-Server (via SSH witout the Cygwin Bash)

I dont want (like commercial StarWin implementation use th "insecure XPDM"
Protocol.

Note: I tryin to register my Project on Sourceforge.org to make it common
avaiable under the GPL. (searchname: xnet)



> On Thu, 10 Oct 2002 8:34 pm, choice15@gmx.de wrote:
> >
> > I have handled the Problem with ssh-keygen -t dsa to bake up an Key-pair
> > and distribute it to the X-Server and Cygwin Client.
>
> Do these keys have passphrases?  If yes, then how is it different to
asking
> for a password.  If no, then how have you made the system secure?
>
> I am interested in the development of this idea, but would be very
concerned
> about the use of passphrase-less keys.
>
> Rasjid.
>


From sumeetj@hclinsys.com  Mon Oct 14 02:46:00 2002
From: sumeetj@hclinsys.com (Sumeet)
Date: Mon, 14 Oct 2002 02:46:00 -0000
Subject: Technical Qquery
Message-ID: 

Hi,

I am J Sumeet working as a Product Engineer for HCL Infosystems Ltd. I have
a few queries regarding this software :

1. Whether it will be able to bring the HP-UX Server GUI on our Windows
Desktop ?

2. Whether it is a freeware which doesn't require any other additional
software ?

Best Regards,

Sumeet J
PEG HCL Infosystems Ltd.
INDIA



From choice15@gmx.de  Mon Oct 14 03:53:00 2002
From: choice15@gmx.de (choice15@gmx.de)
Date: Mon, 14 Oct 2002 03:53:00 -0000
Subject: Technical Qquery
References: 
Message-ID: <005901c27370$12c27360$4c64a8c0@ibsfreiburg.de>

Hi Sumeet J,

I am not sure what Kind of X11-Protocoll  HP-UX (how Vers?) support.
My Implementation is written in Borland Delphi6 / Kylix3 (OpenEdition) but
still
an Alpha Prototype.

Features of the Windowsclient:

- X11 Remote Connections via (buildt in) OpenSSH (V2)
- Tabbedconfiguration Dialog for set up the X11-Environment.
- Local Printing & Sound Support for X11-Connections
- Automatic Distribution via Logonscript (bundling needed Cygwin Binaries)

Requirements:

- Windows 9.x  & NT.x
- Some Cygwin Packages
- TCP/IP-Networkconnections

> I am J Sumeet working as a Product Engineer for HCL Infosystems Ltd. I
have
> a few queries regarding this software :
>
> 1. Whether it will be able to bring the HP-UX Server GUI on our Windows
> Desktop ?
>
> 2. Whether it is a freeware which doesn't require any other additional
> software ?
>
> Best Regards,
>
> Sumeet J
> PEG HCL Infosystems Ltd.
> INDIA
>
>


From gsw@agere.com  Mon Oct 14 08:08:00 2002
From: gsw@agere.com (Gerald S. Williams)
Date: Mon, 14 Oct 2002 08:08:00 -0000
Subject: wmaker signal 11
In-Reply-To: 
Message-ID: 

Vikram [mailto:vvikram@stanford.edu] wrote:
> I downloaded cygwin afresh on a new box yesterday. For the first time
> decided to try out wmaker.exe  wmaker got signal 11 everytime I started.

I had similar problems at first. I believe I had to switch
to a binary mount point. Something like this:
 $ mount -f -s -b "C:/cygwin" "/"

But make sure you know what you're doing before you try it.

:-)

-Jerry


From huntharo@msu.edu  Mon Oct 14 08:13:00 2002
From: huntharo@msu.edu (Harold L Hunt II)
Date: Mon, 14 Oct 2002 08:13:00 -0000
Subject: Technical Qquery
In-Reply-To: 
References: 
Message-ID: <3DAADEB9.7030601@msu.edu>

Sumeet,

Yes, there are two ways that you can use Cygwin/XFree86 to display 
applications from your HP-UX server:

1) Remote sessions via XDMCP (there is an additional load placed on your 
server for each XDMCP session that is open).  This option allows you to 
get a complete GUI just as if you were on the console of the HP-UX machine:

http://xfree86.cygwin.com/docs/ug/using-remote-session.html

2) You can display individual client applications in Cygwin/XFree86 from 
your HP-UX machine using either telnet or ssh with X11 forwarding:

http://xfree86.cygwin.com/docs/ug/using-remote-apps.html


Yes, Cygwin/XFree86 is free to use and no additional software is 
required.  Specifically, Cygwin is free software and XFree86 is open 
source, both of which mean that the source code is available for free 
and you are free to use it.

Harold

Sumeet wrote:

>Hi,
>
>I am J Sumeet working as a Product Engineer for HCL Infosystems Ltd. I have
>a few queries regarding this software :
>
>1. Whether it will be able to bring the HP-UX Server GUI on our Windows
>Desktop ?
>
>2. Whether it is a freeware which doesn't require any other additional
>software ?
>
>Best Regards,
>
>Sumeet J
>PEG HCL Infosystems Ltd.
>INDIA
>
>
>  
>


From huntharo@msu.edu  Mon Oct 14 08:27:00 2002
From: huntharo@msu.edu (Harold L Hunt II)
Date: Mon, 14 Oct 2002 08:27:00 -0000
Subject: wmaker signal 11
In-Reply-To: 
References: 
Message-ID: <3DAAE220.3060906@msu.edu>

Did I build the wmaker package?  I am guessing that I did... in that 
case, I should be linking automode.o with the wmaker executable so that 
we are not dependent upon binary mounts.  Any objections?

Harold

Gerald S. Williams wrote:

>Vikram [mailto:vvikram@stanford.edu] wrote:
>  
>
>>I downloaded cygwin afresh on a new box yesterday. For the first time
>>decided to try out wmaker.exe  wmaker got signal 11 everytime I started.
>>    
>>
>
>I had similar problems at first. I believe I had to switch
>to a binary mount point. Something like this:
> $ mount -f -s -b "C:/cygwin" "/"
>
>But make sure you know what you're doing before you try it.
>
>:-)
>
>-Jerry
>  
>


From jc.gervais@videotron.ca  Mon Oct 14 08:33:00 2002
From: jc.gervais@videotron.ca (Jean-Claude Gervais)
Date: Mon, 14 Oct 2002 08:33:00 -0000
Subject: wmaker signal 11
In-Reply-To: <3DAAE220.3060906@msu.edu>
Message-ID: 

I can report that if you install Cygwin and choose DOS files instead of UNIX
files as a setup option, wmaker crashes on startup as a matter of course.

'course I don't really know WHY that is, but I did observe the fact.

-----Original Message-----
From: cygwin-xfree-owner@cygwin.com [mailto:cygwin-xfree-owner@cygwin.com]On
Behalf Of Harold L Hunt II
Sent: Monday, October 14, 2002 11:26 AM
To: cygwin-xfree@cygwin.com
Subject: Re: wmaker signal 11

Did I build the wmaker package?  I am guessing that I did... in that
case, I should be linking automode.o with the wmaker executable so that
we are not dependent upon binary mounts.  Any objections?

Harold

Gerald S. Williams wrote:

>Vikram [mailto:vvikram@stanford.edu] wrote:
>
>
>>I downloaded cygwin afresh on a new box yesterday. For the first time
>>decided to try out wmaker.exe  wmaker got signal 11 everytime I started.
>>
>>
>
>I had similar problems at first. I believe I had to switch
>to a binary mount point. Something like this:
> $ mount -f -s -b "C:/cygwin" "/"
>
>But make sure you know what you're doing before you try it.
>
>:-)
>
>-Jerry
>
>


From tjsl7@yahoo.com  Mon Oct 14 08:59:00 2002
From: tjsl7@yahoo.com (Tim Slomer)
Date: Mon, 14 Oct 2002 08:59:00 -0000
Subject: Running Setup Problem 
Message-ID: <20021014155920.15297.qmail@web80310.mail.yahoo.com>

I need to have setup run so that everything is
automatic, using the defaults.  I do not want anyone
to be able to change the settings, because this will
cause problems.  I was going to just write
insturctions but someone might try to be brave and
change something.  Any help would be great.

__________________________________________________
Do you Yahoo!?
New DSL Internet Access from SBC & Yahoo!
http://sbc.yahoo.com


From huntharo@msu.edu  Mon Oct 14 09:06:00 2002
From: huntharo@msu.edu (Harold L Hunt II)
Date: Mon, 14 Oct 2002 09:06:00 -0000
Subject: Running Setup Problem
In-Reply-To: <20021014155920.15297.qmail@web80310.mail.yahoo.com>
References: <20021014155920.15297.qmail@web80310.mail.yahoo.com>
Message-ID: <3DAAEB4C.3060805@msu.edu>

Tim,

I would suggest that you search the Cygwin mailing list for setup.exe 
and scriptable.  I remember seeing references to the scripability of 
setup.exe.

http://cygwin.com/ml/cygwin/

http://cygwin.com/cgi-bin/htsearch?method=and&format=builtin-long&sort=time&config=htdig&restrict=%2Fml%2Fcygwin%2F&exclude=&words=setup.exe+scriptable

http://www.google.com/search?hl=en&ie=UTF-8&oe=UTF-8&q=site%3Acygwin.com+setup.exe+scriptable&btnG=Google+Search


Harold

Tim Slomer wrote:

>I need to have setup run so that everything is
>automatic, using the defaults.  I do not want anyone
>to be able to change the settings, because this will
>cause problems.  I was going to just write
>insturctions but someone might try to be brave and
>change something.  Any help would be great.
>
>__________________________________________________
>Do you Yahoo!?
>New DSL Internet Access from SBC & Yahoo!
>http://sbc.yahoo.com
>  
>


From jc.gervais@videotron.ca  Mon Oct 14 11:10:00 2002
From: jc.gervais@videotron.ca (Jean-Claude Gervais)
Date: Mon, 14 Oct 2002 11:10:00 -0000
Subject: Dual-display
Message-ID: 

I have a machine with two video cards in it (forms one 2048x768 desktop).
I??d like to make XWin start on the second display, is there a way to do
that?
I think I once read that on Windows, when you have multiple video cards,
only the ??first?? one is accelerated. So the command line would have to
contain ??engine 1

Proposed feature addition:
The ??display switch.
Default would be ??display 1 and in my case you would use it like
this: ??display 2

Or possibly the DISPLAY environment variable. Ex: DISPLAY=127.0.0.1:0.2



From zakki@peppermint.jp  Mon Oct 14 11:32:00 2002
From: zakki@peppermint.jp (MATSUZAKI Kensuke)
Date: Mon, 14 Oct 2002 11:32:00 -0000
Subject: Rootless mode revisited...
In-Reply-To: <3DA45E63.6010705@msu.edu>
References: 
	
	<3DA45E63.6010705@msu.edu>
Message-ID: 

Thomas didn't talk about X Shape Extension.
I think Thomas's idea is something like this.

With this patch and "-nodecoration" option, it seems to work good.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: pseudo-rootless.patch
Type: application/octet-stream
Size: 8963 bytes
Desc: not available
URL: 

From a_w@gmx.li  Mon Oct 14 16:14:00 2002
From: a_w@gmx.li (Arno Waschk)
Date: Mon, 14 Oct 2002 16:14:00 -0000
Subject: AW: Build Gtk+ static
Message-ID: <7895.1034637263@www46.gmx.net>

Which versions of glib and gtk are you trying?
There have been links to patched 1.2.10 packages in this archive i think...
tryy a search.
In the 2.0 CVS of both glib and gtk are hints in the comments which one
might understand in the direction of them being meant to compile under
cygwin,
which is what i am trying out  right now. But i can't persuade libtool to
create a shared libglib-2.0 which gives huge problems
already within the glib build. Perhaps we can help each other (or somebody
else?)
I am trying with glib latest-cvs, libtool lates-cvs, automake 1.4-p5, latest
cygwin release, gcc 3.2, Win ME

Arno

-- 
+++ GMX - Mail, Messaging & more  http://www.gmx.net +++
NEU: Mit GMX ins Internet. Rund um die Uhr f??r 1 ct/ Min. surfen!


From luke.kendall@cisra.canon.com.au  Mon Oct 14 18:19:00 2002
From: luke.kendall@cisra.canon.com.au (luke.kendall@cisra.canon.com.au)
Date: Mon, 14 Oct 2002 18:19:00 -0000
Subject: wmaker signal 11
In-Reply-To: <3DAAE220.3060906@msu.edu>
Message-ID: <20021015011932.64889340A1@nevin.research.canon.com.au>

On 14 Oct, Harold L Hunt II wrote:
>  Did I build the wmaker package?  I am guessing that I did... in that 
>  case, I should be linking automode.o with the wmaker executable so that 
>  we are not dependent upon binary mounts.  Any objections?
>  
>  Harold

Maybe ...

I made a patch for WM that made sure to open all the files in binary
mode.  As far as I understand it, this means that that whether or not
the file system is mounted as binary or text, the WM config files would
always be written out in binary mode (i.e. just LF, no CR-LF).

This patch was accepted into the post- wm 0.80.1 development version by
the WM developers.  SO I'd expect it to be fine when the next version
is released.

Would automode.o help or hinder all this?  Note also that the config
files are written out by the config program WPrefs, as well as by doing
a Save Session from WM.

What my WM patch does *not* fix is files that have been modified
outside WM, and somehow get CR-LF line endings.  *That* would be
guaranteed to crash WM still.

BTW, I currently have a temporary workaround for the problem - a WM
exitscript that trims off the CRs.

Might be worth mentioning my home page that tries to make Cygwin
installation easy for novice users, coincidentally updated last night:
http://members.optushome.com.au/lukekendall/xwin-network.html

The post-install.sh script is quite nice, I think.  I'd welcome
comments and feedback about any of the above info.

   NOTE: don't run post-install.sh with the "-fresh" option that is
         recommended for new users if you already have your home
         directory set up.  It does a mount -t $CYGDRIVE:\\home /home
         which might hide your existing home directory!

We use a modified form of this to install Cygwin on all the Windows PCs
at work now.  It's taken years to get the okay to do this, and for
Cygwin or U/Win to be as beautifully capable as they now are.

Regards,

luke

>  Gerald S. Williams wrote:
>  
>  >Vikram [mailto:vvikram@stanford.edu] wrote:
> >  
>  >
>  >>I downloaded cygwin afresh on a new box yesterday. For the first time
>  >>decided to try out wmaker.exe  wmaker got signal 11 everytime I started.
>  >>    
>  >>
>  >
>  >I had similar problems at first. I believe I had to switch
>  >to a binary mount point. Something like this:
> > $ mount -f -s -b "C:/cygwin" "/"
>  >
>  >But make sure you know what you're doing before you try it.
>  >
>  >:-)
>  >
>  >-Jerry




From luke.kendall@cisra.canon.com.au  Mon Oct 14 18:31:00 2002
From: luke.kendall@cisra.canon.com.au (luke.kendall@cisra.canon.com.au)
Date: Mon, 14 Oct 2002 18:31:00 -0000
Subject: xwinclip problem/puzzle
Message-ID: <20021015013116.63EB3340A1@nevin.research.canon.com.au>

My wife's Windows config at home now is very functional, thanks to
Cygwin and Cygwin-xfree (thanks Christopher, Harold, and everone else!)

But, we still can't get copy and paste between XFree86 and Windows...

xwinclip works exactly as advertised, but its insistence on de-selecting
as it copies to the Windows clipboard means that a broad range of user
interface actions inside X become impossible.

One example is where you have to select an item from a list before
applying some action to the selection; or selecting a piece of text for
cut and paste.

At home, my wife had to stop using xwinclip because of this.

Could it be changed to not do this selection-clearing?  I got the
impression it was only done so that you knew the copy-to-Windows-
clipboard action had happened.

But I'm quite happy to take that on faith!  At least, could there be a
command line option to turn off this activity?

luke







From nahor@bravobrava.com  Mon Oct 14 19:05:00 2002
From: nahor@bravobrava.com (Jehan)
Date: Mon, 14 Oct 2002 19:05:00 -0000
Subject: xwinclip problem/puzzle
In-Reply-To: <20021015013116.63EB3340A1@nevin.research.canon.com.au>
References: <20021015013116.63EB3340A1@nevin.research.canon.com.au>
Message-ID: 

luke.kendall@cisra.canon.com.au wrote:
> Could it be changed to not do this selection-clearing?  I got the
> impression it was only done so that you knew the copy-to-Windows-
> clipboard action had happened.

It was not done for the user to know that copy happened, but for 
xwinclip to know when the user select something (xwinclip loses the 
"clipboard focus" then).

Anyway, Chris Twiner posted a version that does the copy to windows only 
when XWin gets deactivated (i.e. when you select another Windows 
application, so the selection stays until you leave the XWin window).

See the attachment at the bottom of the message:
http://sources.redhat.com/ml/cygwin-xfree/2002-08/msg00260.html
You'll need to compile it yourself though.

And maybe Chris has a newer version now.

	Jehan




From c_twiner@hotmail.com  Tue Oct 15 01:57:00 2002
From: c_twiner@hotmail.com (Chris Twiner)
Date: Tue, 15 Oct 2002 01:57:00 -0000
Subject: xwinclip problem/puzzle
Message-ID: 

Thanks for the referal Jehan,

>And maybe Chris has a newer version now.

Unfortunately not.  The version most recently posted had the ctrl+c and 
server reset code in place but nothing much else.  This I had planned to do:

- get the windows clipboard only when something has changed on it (don't 
unnecessarily grab the x selection)
- handle multiple X server screens (so you don't end up using windows as an 
unnecessary intermediatary clipboard system).

When you run multiple screens do you keep the same display setting or does 
it need to change?  If it is the same display I can get it working (by 
making sure the newly activated window is not a cygwin window).

As to further dev I want to contribute but my time is tight at the moment, 
previously I was on a part time contract so I could devote time to xwinclip. 
  Now I'm full time so I don't know when I'll get round to it. I will do 
them both, but I just can't say when.

Chris

_________________________________________________________________
Join the world??s largest e-mail service with MSN Hotmail. 
http://www.hotmail.com


From choice15@gmx.de  Tue Oct 15 02:08:00 2002
From: choice15@gmx.de (choice15@gmx.de)
Date: Tue, 15 Oct 2002 02:08:00 -0000
Subject: Technical Qquery
References:  <3DAADEB9.7030601@msu.edu>
Message-ID: <014201c2742a$84862ef0$4c64a8c0@ibsfreiburg.de>

> Sumeet,
>
> Yes, there are two ways that you can use Cygwin/XFree86 to display
> applications from your HP-UX server:

Ok, then my Logon Client is working on HP-UX , fine

Note The X.NET Project can be found under
http://sourceforge.net/projects/ibsxnet/


> 1) Remote sessions via XDMCP (there is an additional load placed on your
> server for each XDMCP session that is open).  This option allows you to
> get a complete GUI just as if you were on the console of the HP-UX
machine:
>
> http://xfree86.cygwin.com/docs/ug/using-remote-session.html
>
> 2) You can display individual client applications in Cygwin/XFree86 from
> your HP-UX machine using either telnet or ssh with X11 forwarding:
>
> http://xfree86.cygwin.com/docs/ug/using-remote-apps.html
>
>
> Yes, Cygwin/XFree86 is free to use and no additional software is
> required.  Specifically, Cygwin is free software and XFree86 is open
> source, both of which mean that the source code is available for free
> and you are free to use it.
>
> Harold
>
> Sumeet wrote:
>
> >Hi,
> >
> >I am J Sumeet working as a Product Engineer for HCL Infosystems Ltd. I
have
> >a few queries regarding this software :
> >
> >1. Whether it will be able to bring the HP-UX Server GUI on our Windows
> >Desktop ?
> >
> >2. Whether it is a freeware which doesn't require any other additional
> >software ?
> >
> >Best Regards,
> >
> >Sumeet J
> >PEG HCL Infosystems Ltd.
> >INDIA
> >
> >
> >
> >
>


From arc@elex.be  Tue Oct 15 02:13:00 2002
From: arc@elex.be (Arkadi Colson)
Date: Tue, 15 Oct 2002 02:13:00 -0000
Subject: Change keyboard layout from qwerty to azerty.
Message-ID: <5.1.0.14.0.20021015110728.020ee268@pop.tess.elex.be>

Does anybody know how to change the keyboard settings from qwerty to 
azerty? I`m using the latest version of cygwin with windowmaker?

Thanks allready,
      Arkadi


From spetreolle@yahoo.fr  Tue Oct 15 08:32:00 2002
From: spetreolle@yahoo.fr (=?iso-8859-1?q?Sylvain=20Petreolle?=)
Date: Tue, 15 Oct 2002 08:32:00 -0000
Subject: Problem with the ht:///Dig search engine
Message-ID: <20021015153225.51986.qmail@web10102.mail.yahoo.com>

Hi list,

Today I wanted to search in the ML archive about setting Cygwin as
XDMCP server.
I went to http://cygwin.com/ml/cygwin-xfree/ and typed in 'XDMCP
server'.

The search engine matched 546 entries.
But when you are at the 10th page, the pages shows the results 90-100,
but the arrow to show the 100-110 is disabled !

Can someone correct this ?

___________________________________________________________
Do You Yahoo!? -- Une adresse @yahoo.fr gratuite et en fran??ais !
Yahoo! Mail : http://fr.mail.yahoo.com


From nicolas.rouquette@jpl.nasa.gov  Tue Oct 15 12:15:00 2002
From: nicolas.rouquette@jpl.nasa.gov (Nicolas F Rouquette)
Date: Tue, 15 Oct 2002 12:15:00 -0000
Subject: Cannot start X server
Message-ID: <3DAC6933.4000302@jpl.nasa.gov>

I have been running cygwin & X for quite a while. Recently, my setup got 
corrupted after a setup session gone bad (not sure why).
Today, I reinstalled everything (cygwin & xfree) from the internet but I 
can't start a basic X server. Here's what I get:

$ startx

waiting for X server to begin accepting connections .
..
.. [repeated many times]
..
giving up.
xinit: Permission denied (errno 13): unable to connect to X server

waiting for X server to shut down

xinit: Server error

The /tmp/XWin.log doesn't seem to have particularly alarming messages,
except for the ownership message that I've read in the mailing list 
archive to ignore
(perhaps it no longer should???)

---------------------
ddxProcessArgument - Initializing default screens
winInitializeDefaultScreens - w 1600 h 1200
winInitializeDefaultScreens - Returning
_XSERVTransmkdir: Owner of /tmp/.X11-unix should be set to root
winDetectSupportedEngines - Windows NT/2000/XP
winDetectSupportedEngines - DirectDraw installed
winDetectSupportedEngines - Allowing PrimaryDD
winDetectSupportedEngines - DirectDraw4 installed
winDetectSupportedEngines - Returning, supported engines 0000001f
winSetEngine - Using Shadow DirectDraw NonLocking
winAdjustVideoModeShadowDDNL - Using Windows display depth of 32 bits 
per pixel
winAdjustForAutoHide - Original WorkArea: 0 0 1166 1600
winAdjustForAutoHide - Adjusted WorkArea: 0 0 1166 1600
winCreateBoundingWindowWindowed - WindowClient w 1594 h 1135 r 1594 l 0 
b 1135 t 0
winCreateBoundingWindowWindowed -  Returning
winAllocateFBShadowDDNL - lPitch: 6376
winFinishScreenInitFB - Masks: 00ff0000 0000ff00 000000ff
winInitVisualsShadowDDNL - Masks 00ff0000 0000ff00 000000ff BPRGB 8 d 24 
bpp 32
winCreateDefColormap - Deferring to fbCreateDefColormap ()
winScreenInit - returning
Could not init font path element /usr/X11R6/lib/X11/fonts/Speedo/, 
removing from list!
Could not init font path element /usr/X11R6/lib/X11/fonts/Type1/, 
removing from list!
Could not init font path element /usr/X11R6/lib/X11/fonts/100dpi/, 
removing from list!
-----------------------

Suggestions?

-- Nicolas.



From alanh@fairlite.demon.co.uk  Tue Oct 15 15:49:00 2002
From: alanh@fairlite.demon.co.uk (Alan Hourihane)
Date: Tue, 15 Oct 2002 15:49:00 -0000
Subject: XFree86-f100-4.2.0-1.tar.bz2 still exists..
Message-ID: <20021015224931.GQ1585@fairlite.demon.co.uk>

Is there any reason why the above file still exists when
there is a -2.tar.bz2 version now ?

Alan.


From alanh@fairlite.demon.co.uk  Tue Oct 15 15:51:00 2002
From: alanh@fairlite.demon.co.uk (Alan Hourihane)
Date: Tue, 15 Oct 2002 15:51:00 -0000
Subject: XFree86-f100-4.2.0-1.tar.bz2 still exists..
In-Reply-To: <20021015224931.GQ1585@fairlite.demon.co.uk>
References: <20021015224931.GQ1585@fairlite.demon.co.uk>
Message-ID: <20021015225116.GR1585@fairlite.demon.co.uk>

On Tue, Oct 15, 2002 at 11:49:31PM +0100, Alan Hourihane wrote:
> Is there any reason why the above file still exists when
> there is a -2.tar.bz2 version now ?

In fact there's others too in the font directories...

Alan.


From alanh@fairlite.demon.co.uk  Tue Oct 15 15:53:00 2002
From: alanh@fairlite.demon.co.uk (Alan Hourihane)
Date: Tue, 15 Oct 2002 15:53:00 -0000
Subject: XFree86-f100-4.2.0-1.tar.bz2 still exists..
In-Reply-To: <20021015225116.GR1585@fairlite.demon.co.uk>
References: <20021015224931.GQ1585@fairlite.demon.co.uk> <20021015225116.GR1585@fairlite.demon.co.uk>
Message-ID: <20021015225314.GS1585@fairlite.demon.co.uk>

On Tue, Oct 15, 2002 at 11:51:16PM +0100, Alan Hourihane wrote:
> On Tue, Oct 15, 2002 at 11:49:31PM +0100, Alan Hourihane wrote:
> > Is there any reason why the above file still exists when
> > there is a -2.tar.bz2 version now ?
> 
> In fact there's others too in the font directories...

Ignore this, I realise it's for those who wish to drop back a
version with cygwin's setup.exe tool.

Alan.


From Tom_Roche@pobox.com  Tue Oct 15 16:43:00 2002
From: Tom_Roche@pobox.com (Tom Roche)
Date: Tue, 15 Oct 2002 16:43:00 -0000
Subject: how to make startxwin.bat "just like" startx?
Message-ID: <3DACA80D.4040500@pobox.com>

Is there a way to have startxwin.bat behave "just like" startx? I.e.
to have the XFree86 window resulting from running startxwin.bat be
just like the one resulting from running cygwin.bat, and then startx?

I'd like to not maintain two sets of configuration files, so I'd like
to be able to just work with startx, e.g. to have startxwin.bat invoke
it somehow. Can that be done? if so, how?


From j_tetazoo@hotmail.com  Wed Oct 16 07:21:00 2002
From: j_tetazoo@hotmail.com (Thomas Chadwick)
Date: Wed, 16 Oct 2002 07:21:00 -0000
Subject: Rootless mode revisited...
Message-ID: 

I tried out this patch (took a few days because I needed to get xfree86 out 
of CVS and build it).  Very cool.  Thanks a bunch to MATSUZAKI for coding 
it!  You saved me a lot of work.

Here's a screenshot...

http://home.adelphia.net/~tlcweb/cygwin/pseudo_rootless_screenshot.gif

Notice that you can see IE in the background along with some Windows desktop 
icons down the left side of the screen.  The windows in the forground are 
Xclients (namely xterm, xclock, and xeyes).  The icon in the lower left is 
an iconified Xclient.

However, I noticed a few strange artifacts of this approach to rootless 
mode...

1) When you click and drag on an Xwindow to move it, you only see the bits 
and pieces of the "rubber band" outline which happen to overlap the other 
Xwindows.  Where the rubber band overlaps Windows windows, you see nothing.

2) Now that there is no root window, you can't use the XWindows window 
manager's root-window menus.

3) A favorite tool of mine, x2x, is broken, which is due to the lack of a 
root window causing the mouse focus to jump back and forth XWindows and 
Windows.


Still, if anyone wants to try it out, here's a binary that I built last 
night from source I pulled from CVS yesterday...

http://home.adelphia.net/~tlcweb/cygwin/XWin.exe


>From: MATSUZAKI Kensuke 
>Reply-To: cygwin-xfree@cygwin.com
>To: cygwin-xfree@cygwin.com
>Subject: Re: Rootless mode revisited...
>Date: Tue, 15 Oct 2002 03:30:50 +0900
>
>Thomas didn't talk about X Shape Extension.
>I think Thomas's idea is something like this.
>
>With this patch and "-nodecoration" option, it seems to work good.
>
><< pseudo-rootless.patch >>


_________________________________________________________________
Internet access plans that fit your lifestyle -- join MSN. 
http://resourcecenter.msn.com/access/plans/default.asp


From j_tetazoo@hotmail.com  Wed Oct 16 07:26:00 2002
From: j_tetazoo@hotmail.com (Thomas Chadwick)
Date: Wed, 16 Oct 2002 07:26:00 -0000
Subject: how to make startxwin.bat "just like" startx?
Message-ID: 

You might want to take a look at this recent post of mine...

http://www.cygwin.com/ml/cygwin-xfree/2002-10/msg00091.html

Of particular interest to you might be the stuff at the bottom about how to 
create a shortcut on the Windows desktop which runs xinit.  You could easily 
change the target to call startx instead.

>From: Tom Roche 
>Reply-To: Tom_Roche@pobox.com
>To: cygwin-xfree@cygwin.com
>Subject: how to make startxwin.bat "just like" startx?
>Date: Tue, 15 Oct 2002 19:43:09 -0400
>
>Is there a way to have startxwin.bat behave "just like" startx? I.e.
>to have the XFree86 window resulting from running startxwin.bat be
>just like the one resulting from running cygwin.bat, and then startx?
>
>I'd like to not maintain two sets of configuration files, so I'd like
>to be able to just work with startx, e.g. to have startxwin.bat invoke
>it somehow. Can that be done? if so, how?


_________________________________________________________________
Unlimited Internet access -- and 2 months free!?? Try MSN. 
http://resourcecenter.msn.com/access/plans/2monthsfree.asp


From huntharo@msu.edu  Wed Oct 16 07:26:00 2002
From: huntharo@msu.edu (Harold L Hunt II)
Date: Wed, 16 Oct 2002 07:26:00 -0000
Subject: Rootless mode revisited...
In-Reply-To: 
References: 
Message-ID: <3DAD770C.2050502@msu.edu>

Thomas,

What CVS tree did you pull this from?  Why isn't MATSUZAKI working with 
us?  If I recall correctly, he wrote the Unicode support for xwinclip, 
right?

Harold

Thomas Chadwick wrote:

> I tried out this patch (took a few days because I needed to get 
> xfree86 out of CVS and build it).  Very cool.  Thanks a bunch to 
> MATSUZAKI for coding it!  You saved me a lot of work.
>
> Here's a screenshot...
>
> http://home.adelphia.net/~tlcweb/cygwin/pseudo_rootless_screenshot.gif
>
> Notice that you can see IE in the background along with some Windows 
> desktop icons down the left side of the screen.  The windows in the 
> forground are Xclients (namely xterm, xclock, and xeyes).  The icon in 
> the lower left is an iconified Xclient.
>
> However, I noticed a few strange artifacts of this approach to 
> rootless mode...
>
> 1) When you click and drag on an Xwindow to move it, you only see the 
> bits and pieces of the "rubber band" outline which happen to overlap 
> the other Xwindows.  Where the rubber band overlaps Windows windows, 
> you see nothing.
>
> 2) Now that there is no root window, you can't use the XWindows window 
> manager's root-window menus.
>
> 3) A favorite tool of mine, x2x, is broken, which is due to the lack 
> of a root window causing the mouse focus to jump back and forth 
> XWindows and Windows.
>
>
> Still, if anyone wants to try it out, here's a binary that I built 
> last night from source I pulled from CVS yesterday...
>
> http://home.adelphia.net/~tlcweb/cygwin/XWin.exe
>
>
>> From: MATSUZAKI Kensuke 
>> Reply-To: cygwin-xfree@cygwin.com
>> To: cygwin-xfree@cygwin.com
>> Subject: Re: Rootless mode revisited...
>> Date: Tue, 15 Oct 2002 03:30:50 +0900
>>
>> Thomas didn't talk about X Shape Extension.
>> I think Thomas's idea is something like this.
>>
>> With this patch and "-nodecoration" option, it seems to work good.
>>
>> << pseudo-rootless.patch >>
>
>
>
> _________________________________________________________________
> Internet access plans that fit your lifestyle -- join MSN. 
> http://resourcecenter.msn.com/access/plans/default.asp
>


From j_tetazoo@hotmail.com  Wed Oct 16 07:40:00 2002
From: j_tetazoo@hotmail.com (Thomas Chadwick)
Date: Wed, 16 Oct 2002 07:40:00 -0000
Subject: Rootless mode revisited...
Message-ID: 

In response to your first question - the patch isn't in CVS.  I pulled the 
source from CVS, applied the patch that was posted to the ML, then built it. 
  Sorry if that wasn't clear.

As for your other 2 questions - I don't have an answer.

The fact that Matsuzaki posted this patch came as a complete surprise to me. 
  I had every intention of developing and experimenting with such a patch 
myself.  He just beat me to it.

>From: Harold L Hunt II 
>Reply-To: cygwin-xfree@cygwin.com
>To: cygwin-xfree@cygwin.com
>Subject: Re: Rootless mode revisited...
>Date: Wed, 16 Oct 2002 10:26:20 -0400
>
>Thomas,
>
>What CVS tree did you pull this from?  Why isn't MATSUZAKI working with us? 
>  If I recall correctly, he wrote the Unicode support for xwinclip, right?
>
>Harold
>
>Thomas Chadwick wrote:
>
>>I tried out this patch (took a few days because I needed to get xfree86 
>>out of CVS and build it).  Very cool.  Thanks a bunch to MATSUZAKI for 
>>coding it!  You saved me a lot of work.
>>
>>Here's a screenshot...
>>
>>http://home.adelphia.net/~tlcweb/cygwin/pseudo_rootless_screenshot.gif
>>
>>Notice that you can see IE in the background along with some Windows 
>>desktop icons down the left side of the screen.  The windows in the 
>>forground are Xclients (namely xterm, xclock, and xeyes).  The icon in the 
>>lower left is an iconified Xclient.
>>
>>However, I noticed a few strange artifacts of this approach to rootless 
>>mode...
>>
>>1) When you click and drag on an Xwindow to move it, you only see the bits 
>>and pieces of the "rubber band" outline which happen to overlap the other 
>>Xwindows.  Where the rubber band overlaps Windows windows, you see 
>>nothing.
>>
>>2) Now that there is no root window, you can't use the XWindows window 
>>manager's root-window menus.
>>
>>3) A favorite tool of mine, x2x, is broken, which is due to the lack of a 
>>root window causing the mouse focus to jump back and forth XWindows and 
>>Windows.
>>
>>
>>Still, if anyone wants to try it out, here's a binary that I built last 
>>night from source I pulled from CVS yesterday...
>>
>>http://home.adelphia.net/~tlcweb/cygwin/XWin.exe
>>
>>
>>>From: MATSUZAKI Kensuke 
>>>Reply-To: cygwin-xfree@cygwin.com
>>>To: cygwin-xfree@cygwin.com
>>>Subject: Re: Rootless mode revisited...
>>>Date: Tue, 15 Oct 2002 03:30:50 +0900
>>>
>>>Thomas didn't talk about X Shape Extension.
>>>I think Thomas's idea is something like this.
>>>
>>>With this patch and "-nodecoration" option, it seems to work good.
>>>
>>><< pseudo-rootless.patch >>
>>
>>
>>
>>_________________________________________________________________
>>Internet access plans that fit your lifestyle -- join MSN. 
>>http://resourcecenter.msn.com/access/plans/default.asp
>>


_________________________________________________________________
Surf the Web without missing calls! Get MSN Broadband. 
http://resourcecenter.msn.com/access/plans/freeactivation.asp


From huntharo@msu.edu  Wed Oct 16 07:44:00 2002
From: huntharo@msu.edu (Harold L Hunt II)
Date: Wed, 16 Oct 2002 07:44:00 -0000
Subject: Rootless mode revisited...
In-Reply-To: 
References: 		<3DA45E63.6010705@msu.edu> 
Message-ID: <3DAD7B54.1020308@msu.edu>

Oh my god, I completely missed this patch!  Wow!

I can't wait to take a look at it tonight!

Harold

MATSUZAKI Kensuke wrote:

>Thomas didn't talk about X Shape Extension.
>I think Thomas's idea is something like this.
>
>With this patch and "-nodecoration" option, it seems to work good.
>
>  
>


From huntharo@msu.edu  Wed Oct 16 07:45:00 2002
From: huntharo@msu.edu (Harold L Hunt II)
Date: Wed, 16 Oct 2002 07:45:00 -0000
Subject: Rootless mode revisited...
In-Reply-To: 
References: 
Message-ID: <3DAD7B8C.4070806@msu.edu>

Heh heh... as you will see from my reply that I just sent to MATSUZAKI's 
post, I missed his email, or I saw it but I didn't realize that he wrote 
a patch for rootless mode.

Very cool.

Harold

Thomas Chadwick wrote:

> In response to your first question - the patch isn't in CVS.  I pulled 
> the source from CVS, applied the patch that was posted to the ML, then 
> built it.  Sorry if that wasn't clear.
>
> As for your other 2 questions - I don't have an answer.
>
> The fact that Matsuzaki posted this patch came as a complete surprise 
> to me.  I had every intention of developing and experimenting with 
> such a patch myself.  He just beat me to it.
>
>> From: Harold L Hunt II 
>> Reply-To: cygwin-xfree@cygwin.com
>> To: cygwin-xfree@cygwin.com
>> Subject: Re: Rootless mode revisited...
>> Date: Wed, 16 Oct 2002 10:26:20 -0400
>>
>> Thomas,
>>
>> What CVS tree did you pull this from?  Why isn't MATSUZAKI working 
>> with us?  If I recall correctly, he wrote the Unicode support for 
>> xwinclip, right?
>>
>> Harold
>>
>> Thomas Chadwick wrote:
>>
>>> I tried out this patch (took a few days because I needed to get 
>>> xfree86 out of CVS and build it).  Very cool.  Thanks a bunch to 
>>> MATSUZAKI for coding it!  You saved me a lot of work.
>>>
>>> Here's a screenshot...
>>>
>>> http://home.adelphia.net/~tlcweb/cygwin/pseudo_rootless_screenshot.gif
>>>
>>> Notice that you can see IE in the background along with some Windows 
>>> desktop icons down the left side of the screen.  The windows in the 
>>> forground are Xclients (namely xterm, xclock, and xeyes).  The icon 
>>> in the lower left is an iconified Xclient.
>>>
>>> However, I noticed a few strange artifacts of this approach to 
>>> rootless mode...
>>>
>>> 1) When you click and drag on an Xwindow to move it, you only see 
>>> the bits and pieces of the "rubber band" outline which happen to 
>>> overlap the other Xwindows.  Where the rubber band overlaps Windows 
>>> windows, you see nothing.
>>>
>>> 2) Now that there is no root window, you can't use the XWindows 
>>> window manager's root-window menus.
>>>
>>> 3) A favorite tool of mine, x2x, is broken, which is due to the lack 
>>> of a root window causing the mouse focus to jump back and forth 
>>> XWindows and Windows.
>>>
>>>
>>> Still, if anyone wants to try it out, here's a binary that I built 
>>> last night from source I pulled from CVS yesterday...
>>>
>>> http://home.adelphia.net/~tlcweb/cygwin/XWin.exe
>>>
>>>
>>>> From: MATSUZAKI Kensuke 
>>>> Reply-To: cygwin-xfree@cygwin.com
>>>> To: cygwin-xfree@cygwin.com
>>>> Subject: Re: Rootless mode revisited...
>>>> Date: Tue, 15 Oct 2002 03:30:50 +0900
>>>>
>>>> Thomas didn't talk about X Shape Extension.
>>>> I think Thomas's idea is something like this.
>>>>
>>>> With this patch and "-nodecoration" option, it seems to work good.
>>>>
>>>> << pseudo-rootless.patch >>
>>>
>>>
>>>
>>>
>>> _________________________________________________________________
>>> Internet access plans that fit your lifestyle -- join MSN. 
>>> http://resourcecenter.msn.com/access/plans/default.asp
>>>
>
>
> _________________________________________________________________
> Surf the Web without missing calls! Get MSN Broadband. 
> http://resourcecenter.msn.com/access/plans/freeactivation.asp
>


From alexander.gottwald@s1999.tu-chemnitz.de  Wed Oct 16 07:49:00 2002
From: alexander.gottwald@s1999.tu-chemnitz.de (Alexander Gottwald)
Date: Wed, 16 Oct 2002 07:49:00 -0000
Subject: Rootless mode revisited...
In-Reply-To: <3DAD7B54.1020308@msu.edu>
Message-ID: 

On Wed, 16 Oct 2002, Harold L Hunt II wrote:

> Oh my god, I completely missed this patch!  Wow!

I can't remember this patch too. Either it got lost or was somehow
rejected by the mailserver or maybe was sent to a private address.

bye
	ago
-- 
 Alexander.Gottwald@informatik.tu-chemnitz.de 
 http://www.gotti.org           ICQ: 126018723


From j_tetazoo@hotmail.com  Wed Oct 16 07:52:00 2002
From: j_tetazoo@hotmail.com (Thomas Chadwick)
Date: Wed, 16 Oct 2002 07:52:00 -0000
Subject: Rootless mode revisited...
Message-ID: 

By the way, my ISP seems to be blocking downloads of exe's.  Zipping it 
seems to work.  Please download the exe using this URL instead...

http://home.adelphia.net/~tlcweb/cygwin/XWin.zip

>From: "Thomas Chadwick" 
>Reply-To: cygwin-xfree@cygwin.com
>To: cygwin-xfree@cygwin.com, zakki@peppermint.jp
>Subject: Re: Rootless mode revisited...
>Date: Wed, 16 Oct 2002 10:21:25 -0400
>
>I tried out this patch (took a few days because I needed to get xfree86 out 
>of CVS and build it).  Very cool.  Thanks a bunch to MATSUZAKI for coding 
>it!  You saved me a lot of work.
>
>Here's a screenshot...
>
>http://home.adelphia.net/~tlcweb/cygwin/pseudo_rootless_screenshot.gif
>
>Notice that you can see IE in the background along with some Windows 
>desktop icons down the left side of the screen.  The windows in the 
>forground are Xclients (namely xterm, xclock, and xeyes).  The icon in the 
>lower left is an iconified Xclient.
>
>However, I noticed a few strange artifacts of this approach to rootless 
>mode...
>
>1) When you click and drag on an Xwindow to move it, you only see the bits 
>and pieces of the "rubber band" outline which happen to overlap the other 
>Xwindows.  Where the rubber band overlaps Windows windows, you see nothing.
>
>2) Now that there is no root window, you can't use the XWindows window 
>manager's root-window menus.
>
>3) A favorite tool of mine, x2x, is broken, which is due to the lack of a 
>root window causing the mouse focus to jump back and forth XWindows and 
>Windows.
>
>
>Still, if anyone wants to try it out, here's a binary that I built last 
>night from source I pulled from CVS yesterday...
>
>http://home.adelphia.net/~tlcweb/cygwin/XWin.exe
>
>
>>From: MATSUZAKI Kensuke 
>>Reply-To: cygwin-xfree@cygwin.com
>>To: cygwin-xfree@cygwin.com
>>Subject: Re: Rootless mode revisited...
>>Date: Tue, 15 Oct 2002 03:30:50 +0900
>>
>>Thomas didn't talk about X Shape Extension.
>>I think Thomas's idea is something like this.
>>
>>With this patch and "-nodecoration" option, it seems to work good.
>>
>><< pseudo-rootless.patch >>
>
>
>_________________________________________________________________
>Internet access plans that fit your lifestyle -- join MSN. 
>http://resourcecenter.msn.com/access/plans/default.asp


_________________________________________________________________
Unlimited Internet access -- and 2 months free!?? Try MSN. 
http://resourcecenter.msn.com/access/plans/2monthsfree.asp


From Tom_Roche@pobox.com  Wed Oct 16 08:37:00 2002
From: Tom_Roche@pobox.com (Tom Roche)
Date: Wed, 16 Oct 2002 08:37:00 -0000
Subject: how to make startxwin.bat "just like" startx?
References: 
Message-ID: <3DAD87C8.2040009@pobox.com>

Thomas Chadwick Wed, 16 Oct 2002 10:26:36 -0400
 > You might want to take a look at this recent post of mine...

 > http://www.cygwin.com/ml/cygwin-xfree/2002-10/msg00091.html

 > Of particular interest to you might be the stuff at the bottom about
 > how to create a shortcut on the Windows desktop which runs xinit.
 > You could easily change the target to call startx instead.

Thanks!

 > rem My path to bash
 > cd /d D:\bin\cygwin\1.3.13-1\bin
 > bash --login -c "startx"

does the job.



From colin.harrison@virgin.net  Wed Oct 16 09:27:00 2002
From: colin.harrison@virgin.net (Colin Harrison)
Date: Wed, 16 Oct 2002 09:27:00 -0000
Subject: Rootless mode revisted...
Message-ID: <200210161627.g9GGRY704096@chamonix.straightrunning.com>


That's brilliant.
Works well on W2K serving a remote Linux. Problems with applications that spawn extra child windows, help, abouts etc, being confined to the top left of the parent window. I ssh tunelled stuff like ethereal with no other problems. Spotted the 'ghost' rubber banding on movement, but otherwise good stuff.

Colin


From zakki@peppermint.jp  Wed Oct 16 10:09:00 2002
From: zakki@peppermint.jp (MATSUZAKI Kensuke)
Date: Wed, 16 Oct 2002 10:09:00 -0000
Subject: Rootless mode revisited...
In-Reply-To: 
References: 
Message-ID: 


> 1) When you click and drag on an Xwindow to move it, you only see the bits 
> and pieces of the "rubber band" outline which happen to overlap the other 
> Xwindows.  Where the rubber band overlaps Windows windows, you see nothing.

It seems that outline is drawn on Root window and this patch creates only
window region for top leve X windows (child of root), so 1) occur.
I don't know how to solve it.


> 2) Now that there is no root window, you can't use the XWindows window 
> manager's root-window menus.

How about "CreateRectRgn (0, 0, 4, 4)" in winUpdateRgn(WindowPtr pWin)
instead of "CreateRectRgn (0, 0, 0, 0)"?
It makes small top left area of root window visible.

  
> 3) A favorite tool of mine, x2x, is broken, which is due to the lack of a 
> root window causing the mouse focus to jump back and forth XWindows and 
> Windows.
Sorry. I have not used x2x, and I have only one display, so I can't
comment 3).

MATSUZAKI Kensuke


From nahor@bravobrava.com  Wed Oct 16 10:40:00 2002
From: nahor@bravobrava.com (Jehan)
Date: Wed, 16 Oct 2002 10:40:00 -0000
Subject: Rootless mode revisited...
In-Reply-To: 
References:  <18955.6873207495$1034788139@news.gmane.org>
Message-ID: 

MATSUZAKI Kensuke wrote:
>>1) When you click and drag on an Xwindow to move it, you only see the bits 
>>and pieces of the "rubber band" outline which happen to overlap the other 
>>Xwindows.  Where the rubber band overlaps Windows windows, you see nothing.
> 
> 
> It seems that outline is drawn on Root window and this patch creates only
> window region for top leve X windows (child of root), so 1) occur.
> I don't know how to solve it.
> 
> 
> 
>>2) Now that there is no root window, you can't use the XWindows window 
>>manager's root-window menus.
> 
> 
> How about "CreateRectRgn (0, 0, 4, 4)" in winUpdateRgn(WindowPtr pWin)
> instead of "CreateRectRgn (0, 0, 0, 0)"?
> It makes small top left area of root window visible.

We should be able to move the area if possible. With WMaker for 
instance, by default, there is a big icon on the top left.

Or, we could have an option in the XWin system menu that 
enables/disables regions. Checking the option would then show/hide the 
root window.

Or, since shape windows don't work yet, we could create a shaped X 
window with an empty content. If I run xeyes in shape mode, I can "see" 
the root window and get the menus when clicking between the eyes.
IOW, run xeyes with the eyes :)


Otherwise, another "weird" thing, in the mouse cursor that gets cut at 
the window borders but I don't think it would be worth the trouble to do 
something about it.

	Jehan




From Tom_Roche@pobox.com  Wed Oct 16 10:48:00 2002
From: Tom_Roche@pobox.com (Tom Roche)
Date: Wed, 16 Oct 2002 10:48:00 -0000
Subject: Cygwinized Emacs HOWTO
Message-ID: <3DADA662.8050907@pobox.com>

Thanks to the help of lots of folks, I now have emacs goodness in both
bash and X. I've tried to transfer the knowledge to

http://www.emacswiki.org/cgi-bin/wiki.pl?CygwinizedEmacsHOWTO

Feel free to add/modify. HTH another newbie.


From j_tetazoo@hotmail.com  Wed Oct 16 11:52:00 2002
From: j_tetazoo@hotmail.com (Thomas Chadwick)
Date: Wed, 16 Oct 2002 11:52:00 -0000
Subject: Rootless mode revisited...
Message-ID: 

>From: MATSUZAKI Kensuke 
>To: "Thomas Chadwick" 
>CC: cygwin-xfree@cygwin.com
>Subject: Re: Rootless mode revisited...
>Date: Thu, 17 Oct 2002 02:08:41 +0900

[snip]

> > 3) A favorite tool of mine, x2x, is broken, which is due to the lack of 
>a
> > root window causing the mouse focus to jump back and forth XWindows and
> > Windows.
>
>Sorry. I have not used x2x, and I have only one display, so I can't
>comment 3).

x2x does XGrabPointer and XGrabKeyboard on the "from" display in order to 
redirect the mouse and keybaord events to the "to" display (it uses XunGrab 
to stop the redirection).  Does MS-Windows have an equivalent function?  If 
so, I could patch x2x to also do an MS-Windows grab.

Come to think of it, would it not be a good idea to change the XGrab 
procedures themselves to also do an MS-Windows grab when XWin is running in 
rootless or pseudo-rootless mode?


_________________________________________________________________
Internet access plans that fit your lifestyle -- join MSN. 
http://resourcecenter.msn.com/access/plans/default.asp


From keith@keithtyler.com  Wed Oct 16 13:57:00 2002
From: keith@keithtyler.com (Keith D. Tyler)
Date: Wed, 16 Oct 2002 13:57:00 -0000
Subject: Rootless mode revisited...
In-Reply-To:  from "Thomas Chadwick" at Oct 16, 2002 10:21:25 AM
Message-ID: <200210162057.g9GKvgg21541@shell.faradic.net>

> However, I noticed a few strange artifacts of this approach to rootless 
> mode...
> 
> 2) Now that there is no root window, you can't use the XWindows window 
> manager's root-window menus.

Unless you turn off -nodecoration, then the root window is available as an
ugly strip above your X apps. :) But then the bottom 18 pixels of your X
app are unavailable, unless you use the overlapping trick.

Another thing woth noting IMO (though I'm sure obvious to many here) is
that if you are using a virtual pager inside X, and you change pages, your
*X Apps* will switch but your Win32 apps will not.

Other obvious caveats to note about xmag, xv capture, etc.

This is a neat patch. I could replace my fvwm2 root menus with a fixed
permanent menu box, and set XWin as a fixed window within my Windows
virtual pager. This could be a nifty option while I hold my breath for
win32-x11. :)

Thanks Mr. Matsuzaki.

==================================================================
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 CPlonski@nbc6.com  Wed Oct 16 14:47:00 2002
From: CPlonski@nbc6.com (Chris Plonski)
Date: Wed, 16 Oct 2002 14:47:00 -0000
Subject: XFree86 install fails
Message-ID: 

I have seen this on multiple Win2k SP3 machines.  I cannot perform a new install of the XFree86 package.  The setup proceeds as normal till it gets to the fonts.  It will freeze unpacking the first font package, and I have to cancel.  I have tried to manually running bunzip2 on any of the fonts packages, and it fails with aas follows:

$ bunzip2 XFree86-fenc-4.2.0-2.tar.bz2

bunzip2: I/O or other error, bailing out.  Possible reason follows.
bunzip2: Invalid argument
        Input file = XFree86-fenc-4.2.0-2.tar.bz2, output file = XFree86-fenc-4.
2.0-2.tar
bunzip2: Deleting output file XFree86-fenc-4.2.0-2.tar, if it exists.

Using a win utility to extract out the .tar file and issuing a tar -xvf command does as follows:
$ tar -xvf XFree86-fenc-4.2.0-2.tar
usr/X11R6/lib/X11/fonts/
tar: usr/X11R6/lib/X11/fonts: Cannot mkdir: No such file or directory
usr/X11R6/lib/X11/fonts/encodings/
tar: usr/X11R6/lib/X11/fonts/encodings: Cannot mkdir: No such file or directory

I attempted to simply issue a mkdir command as follows, and it fails doing that too!

$ mkdir /usr/X11R6/lib/X11/fonts
mkdir: cannot create directory `/usr/X11R6/lib/X11/fonts': No such file or directory

What's up?


From huntharo@msu.edu  Wed Oct 16 15:39:00 2002
From: huntharo@msu.edu (Harold Hunt)
Date: Wed, 16 Oct 2002 15:39:00 -0000
Subject: XFree86 install fails
In-Reply-To: 
Message-ID: 

Chris,

You need to run ``mount'' from a Cygwin bash prompt and check the location
of your fonts mount.  For example, here is what I get:

Administrator@HUNTHARO ~
$ mount
C:\cygwin\usr\X11R6\lib\X11\fonts on /usr/X11R6/lib/X11/fonts type system
(binmo
de)
C:\cygwin\bin on /usr/bin type system (binmode)
C:\cygwin\lib on /usr/lib type system (binmode)
c:\PalmDev on /PalmDev type system (textmode)
C:\cygwin on / type system (binmode)
c: on /cygdrive/c type user (binmode,noumount)
w: on /cygdrive/w type user (binmode,noumount)
y: on /cygdrive/y type user (binmode,noumount)
z: on /cygdrive/z type user (binmode,noumount)


My guess is that at some point you had Cygwin/XFree86 installed to a
different drive that is no longer available.  You can unmount your current
mount for /usr/X11R6/lib/X11/fonts and either 1) remount it if your default
mount is not binary mode, or 2) leave out that mount if your default mount
is binary mode.

Harold

> -----Original Message-----
> From: cygwin-xfree-owner@cygwin.com
> [mailto:cygwin-xfree-owner@cygwin.com]On Behalf Of Chris Plonski
> Sent: Wednesday, October 16, 2002 5:47 PM
> To: cygwin-xfree@cygwin.com
> Subject: XFree86 install fails
>
>
> I have seen this on multiple Win2k SP3 machines.  I cannot
> perform a new install of the XFree86 package.  The setup proceeds
> as normal till it gets to the fonts.  It will freeze unpacking
> the first font package, and I have to cancel.  I have tried to
> manually running bunzip2 on any of the fonts packages, and it
> fails with aas follows:
>
> $ bunzip2 XFree86-fenc-4.2.0-2.tar.bz2
>
> bunzip2: I/O or other error, bailing out.  Possible reason follows.
> bunzip2: Invalid argument
>         Input file = XFree86-fenc-4.2.0-2.tar.bz2, output file =
> XFree86-fenc-4.
> 2.0-2.tar
> bunzip2: Deleting output file XFree86-fenc-4.2.0-2.tar, if it exists.
>
> Using a win utility to extract out the .tar file and issuing a
> tar -xvf command does as follows:
> $ tar -xvf XFree86-fenc-4.2.0-2.tar
> usr/X11R6/lib/X11/fonts/
> tar: usr/X11R6/lib/X11/fonts: Cannot mkdir: No such file or directory
> usr/X11R6/lib/X11/fonts/encodings/
> tar: usr/X11R6/lib/X11/fonts/encodings: Cannot mkdir: No such
> file or directory
>
> I attempted to simply issue a mkdir command as follows, and it
> fails doing that too!
>
> $ mkdir /usr/X11R6/lib/X11/fonts
> mkdir: cannot create directory `/usr/X11R6/lib/X11/fonts': No
> such file or directory
>
> What's up?


From jc.gervais@videotron.ca  Wed Oct 16 16:03:00 2002
From: jc.gervais@videotron.ca (Jean-Claude Gervais)
Date: Wed, 16 Oct 2002 16:03:00 -0000
Subject: Rootless mode revisited...
In-Reply-To: <200210162057.g9GKvgg21541@shell.faradic.net>
Message-ID: 

What is that?

-----Original Message-----
From: cygwin-xfree-owner@cygwin.com [mailto:cygwin-xfree-owner@cygwin.com]On
Behalf Of Keith D. Tyler

This could be a nifty option while I hold my breath for win32-x11. :)



From huntharo@msu.edu  Wed Oct 16 17:36:00 2002
From: huntharo@msu.edu (Harold Hunt)
Date: Wed, 16 Oct 2002 17:36:00 -0000
Subject: Cygwin synchronization
Message-ID: 

Many, many changes.

1) Include an X icon and the necessary build rules for building Windows
resource files (even while cross compiling).  (Harold Hunt, Jehan Bing)

2) Include a preliminary rootless mode.  (MATSUZAKI Kensuke)

3) XF86Configfile suppport.  (Alexander Gottwald)

4) Scrollbars support.  (Jehan Bing, Harold Hunt)

5) Warning dialog on disruptive screen depth change --- not quite perfect.
(Harold Hunt)

Harold
-------------- next part --------------
A non-text attachment was scrubbed...
Name: xwin-20021016-2004.diff.bz2
Type: application/octet-stream
Size: 22011 bytes
Desc: not available
URL: 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: xwin-newfiles.tar.bz2
Type: application/octet-stream
Size: 9957 bytes
Desc: not available
URL: 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: xc-programs-Xserver-Imakefile-20021016-2004.diff
Type: application/octet-stream
Size: 1515 bytes
Desc: not available
URL: 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: xc-config-cf-cygwin.cf-20021016-2004.diff
Type: application/octet-stream
Size: 2583 bytes
Desc: not available
URL: 

From huntharo@msu.edu  Wed Oct 16 17:57:00 2002
From: huntharo@msu.edu (Harold Hunt)
Date: Wed, 16 Oct 2002 17:57:00 -0000
Subject: Cygwin synchronization
In-Reply-To: 
Message-ID: 

Oops, remove the ``cygwin.cf'' from the name of the
``xc-config-cf-cygwin.cf-20021016-2004.diff'' file.  That patch applies to
all files, not just to cygwin.cf.

Harold

> -----Original Message-----
> From: cygwin-xfree-owner@cygwin.com
> [mailto:cygwin-xfree-owner@cygwin.com]On Behalf Of Harold Hunt
> Sent: Wednesday, October 16, 2002 8:36 PM
> To: xf-patch
> Cc: cygx
> Subject: Cygwin synchronization
>
>
> Many, many changes.
>
> 1) Include an X icon and the necessary build rules for building Windows
> resource files (even while cross compiling).  (Harold Hunt, Jehan Bing)
>
> 2) Include a preliminary rootless mode.  (MATSUZAKI Kensuke)
>
> 3) XF86Configfile suppport.  (Alexander Gottwald)
>
> 4) Scrollbars support.  (Jehan Bing, Harold Hunt)
>
> 5) Warning dialog on disruptive screen depth change --- not quite perfect.
> (Harold Hunt)
>
> Harold
>


From huntharo@msu.edu  Wed Oct 16 18:21:00 2002
From: huntharo@msu.edu (Harold Hunt)
Date: Wed, 16 Oct 2002 18:21:00 -0000
Subject: [ANNOUNCEMENT] Server Test 66
Message-ID: 

Links:

I just posted Test 66 to the server development page:
http://xfree86.cygwin.com/devel/shadow/

You can install the Test 66 package via setup.exe by selecting the
'test' package (and be sure to check the 'Bin' box): XFree86-xserv-4.2.0-13

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-Test66.exe.bz2 (1106 KiB)

Server source, direct link:
http://www.msu.edu/~huntharo/xwin/shadow/xwin-20021016-2004.tar.bz2 (90 KiB)

xc/config/cf (all files) diff against 20021016 XFree86 CVS:
http://www.msu.edu/~huntharo/xwin/shadow/xc-config-cf-20021016-2004.diff (3
KiB)

xc/programs/Xserver/Imakefile diff against 20021016 XFree86 CVS:
http://www.msu.edu/~huntharo/xwin/shadow/xc-programs-Xserver-Imakefile-20021
016-2004.diff (2 KiB)

xc/programs/Xserver/hw/xwin (all files) diff against 20021016 XFree86 CVS:
http://www.msu.edu/~huntharo/xwin/shadow/xwin-20021016-2004.diff.bz2 (22
KiB)

xc/programs/Xserver/hw/xwin new files:
http://www.msu.edu/~huntharo/xwin/shadow/xwin-newfiles-20021016-2004.tar.bz2
(10 KiB)



Changes:

1) Include an X icon and the necessary build rules for building
Windows resource files (even while cross compiling).  (Harold Hunt,
Jehan Bing)

2) Include a preliminary rootless mode.  (MATSUZAKI Kensuke

3) XF86Configfile suppport.  (Alexander Gottwald)

4) Scrollbars support.  (Jehan Bing, Harold Hunt)

5) Warning dialog on disruptive screen depth change --- not quite perfect.
(Harold Hunt)


Enjoy,

Harold


From cplonski@nbc6.com  Wed Oct 16 19:22:00 2002
From: cplonski@nbc6.com (Chris plonski)
Date: Wed, 16 Oct 2002 19:22:00 -0000
Subject: XFree86 install fails
In-Reply-To: 
References: 
Message-ID: <1034821359.2955.25.camel@cplonskimdk>

Thanks!  This did the trick!  I just have a question now, where is this
mount information stored?  I started out by deleting any previous cygwin
directory trees.  Does cygwin use the windows registry to save previous
configurations?

On Wed, 2002-10-16 at 18:39, Harold Hunt wrote:
> Chris,
> 
> You need to run ``mount'' from a Cygwin bash prompt and check the location
> of your fonts mount.  For example, here is what I get:
> 
> Administrator@HUNTHARO ~
> $ mount
> C:\cygwin\usr\X11R6\lib\X11\fonts on /usr/X11R6/lib/X11/fonts type system
> (binmo
> de)
> C:\cygwin\bin on /usr/bin type system (binmode)
> C:\cygwin\lib on /usr/lib type system (binmode)
> c:\PalmDev on /PalmDev type system (textmode)
> C:\cygwin on / type system (binmode)
> c: on /cygdrive/c type user (binmode,noumount)
> w: on /cygdrive/w type user (binmode,noumount)
> y: on /cygdrive/y type user (binmode,noumount)
> z: on /cygdrive/z type user (binmode,noumount)
> 
> 
> My guess is that at some point you had Cygwin/XFree86 installed to a
> different drive that is no longer available.  You can unmount your current
> mount for /usr/X11R6/lib/X11/fonts and either 1) remount it if your default
> mount is not binary mode, or 2) leave out that mount if your default mount
> is binary mode.
> 
> Harold
> 
> > -----Original Message-----
> > From: cygwin-xfree-owner@cygwin.com
> > [mailto:cygwin-xfree-owner@cygwin.com]On Behalf Of Chris Plonski
> > Sent: Wednesday, October 16, 2002 5:47 PM
> > To: cygwin-xfree@cygwin.com
> > Subject: XFree86 install fails
> >
> >
> > I have seen this on multiple Win2k SP3 machines.  I cannot
> > perform a new install of the XFree86 package.  The setup proceeds
> > as normal till it gets to the fonts.  It will freeze unpacking
> > the first font package, and I have to cancel.  I have tried to
> > manually running bunzip2 on any of the fonts packages, and it
> > fails with aas follows:
> >
> > $ bunzip2 XFree86-fenc-4.2.0-2.tar.bz2
> >
> > bunzip2: I/O or other error, bailing out.  Possible reason follows.
> > bunzip2: Invalid argument
> >         Input file = XFree86-fenc-4.2.0-2.tar.bz2, output file =
> > XFree86-fenc-4.
> > 2.0-2.tar
> > bunzip2: Deleting output file XFree86-fenc-4.2.0-2.tar, if it exists.
> >
> > Using a win utility to extract out the .tar file and issuing a
> > tar -xvf command does as follows:
> > $ tar -xvf XFree86-fenc-4.2.0-2.tar
> > usr/X11R6/lib/X11/fonts/
> > tar: usr/X11R6/lib/X11/fonts: Cannot mkdir: No such file or directory
> > usr/X11R6/lib/X11/fonts/encodings/
> > tar: usr/X11R6/lib/X11/fonts/encodings: Cannot mkdir: No such
> > file or directory
> >
> > I attempted to simply issue a mkdir command as follows, and it
> > fails doing that too!
> >
> > $ mkdir /usr/X11R6/lib/X11/fonts
> > mkdir: cannot create directory `/usr/X11R6/lib/X11/fonts': No
> > such file or directory
> >
> > What's up?
> 



From BradeyH@construx.com  Wed Oct 16 19:54:00 2002
From: BradeyH@construx.com (Bradey Honsinger)
Date: Wed, 16 Oct 2002 19:54:00 -0000
Subject: Invoking rootless mode
Message-ID: <2A53F00A2DBBDA479B7E84DA2023A4EBC842DE@gypsy.construx.com>

I didn't see a mention of the argument to invoke the new rootless mode
anywhere in this thread--no doubt it's in the updated man pages, but I just
grabbed the Test66 binary. Logically enough, it's '-rootless':

    -rootless
            EXPERIMENTAL: Run the server in pseudo-rootless mode. 

You don't appear to need the '-nodecoration' option when you use
'-rootless'. Note that the output of 'XWin -help' goes to /tmp/XWin.log[1],
a fact which I had forgotten.

This is really cool--many thanks to Matsuzaki, Thomas, and Harold! It's a
bit of a hack, but it looks very useful, and at the least it should get most
of the 'Why doesn't cygwin-xfree work like my favorite commerial X server?'
people off of Harold's back. I'll probably go back to full-screen 'rooted'
mode, though--I _like_ hiding all of the Windows junk when I'm working in X.

  - Bradey

[1] http://www.cygwin.com/ml/cygwin-xfree/2002-04/msg00504.html


From luke.kendall@cisra.canon.com.au  Thu Oct 17 00:24:00 2002
From: luke.kendall@cisra.canon.com.au (luke.kendall@cisra.canon.com.au)
Date: Thu, 17 Oct 2002 00:24:00 -0000
Subject: xwinclip problem/puzzle
In-Reply-To: 
Message-ID: <20021017072404.9C4D5340A1@nevin.research.canon.com.au>

On 15 Oct, Chris Twiner wrote:
>  Thanks for the referal Jehan,
>  
>  >And maybe Chris has a newer version now.
>  
>  Unfortunately not.  The version most recently posted had the ctrl+c and 
>  server reset code in place but nothing much else.

Oh.

>    This I had planned to do:
>  - get the windows clipboard only when something has changed on it (don't 
>  unnecessarily grab the x selection)
>  - handle multiple X server screens (so you don't end up using windows as an 
>  unnecessary intermediatary clipboard system).


>  When you run multiple screens do you keep the same display setting or does 
>  it need to change?  If it is the same display I can get it working (by 
>  making sure the newly activated window is not a cygwin window).

Do you mean multiple virtual desktops, or dual monitors?  Though I
haven't figured out how to do the former (esp. on Win95), and we don't
have dual monitors, so I'll have to leave others to voice their
opinions there.

>  As to further dev I want to contribute but my time is tight at the moment, 
>  previously I was on a part time contract so I could devote time to xwinclip. 
>    Now I'm full time so I don't know when I'll get round to it. I will do 
>  them both, but I just can't say when.

Fair enough!

Regards,

luke


From U.Schmidtmann@visicon-online.de  Thu Oct 17 01:11:00 2002
From: U.Schmidtmann@visicon-online.de (Uwe Schmidtmann)
Date: Thu, 17 Oct 2002 01:11:00 -0000
Subject: Invoking rootless mode
References: <2A53F00A2DBBDA479B7E84DA2023A4EBC842DE@gypsy.construx.com>
Message-ID: <3DAE7116.7010407@visicon-online.de>


Hi!

The "rootless" mode is much more interesting than the "real" one from 
other products (at least for me). One of the reasons for this is cygwins 
capability of still being able to use an X11 window manager (e.g. icewm) 
instead of the dump windows user interface (oh how I miss the "focus 
follows mouse" function within windows, just to mention one)...

I sometimes use a tail -f to follow some debug from a windows 
application compiled with borland and I definitely use nedit as my 
favourite editor (I came from the unix world). The first works much 
better when in rootless mode than being forced to switch from win to x 
and the other way round.

So - many useless words, but one tip:
Having icewm with the statusbar almost everything can be used as with 
fullscreen mode (Window managers menus are available via status bar). 
When icewm moves the complete window (I think that was called opaque 
move) even the problem with the invisible(?) window outline does not 
exists.

So GREAT WORK done there!

Bradey Honsinger wrote:
> I didn't see a mention of the argument to invoke the new rootless mode
> anywhere in this thread--no doubt it's in the updated man pages, but I just
> grabbed the Test66 binary. Logically enough, it's '-rootless':
> 
>     -rootless
>             EXPERIMENTAL: Run the server in pseudo-rootless mode. 
> 
> You don't appear to need the '-nodecoration' option when you use
> '-rootless'. Note that the output of 'XWin -help' goes to /tmp/XWin.log[1],
> a fact which I had forgotten.

I just used -rootless without any other options. Works fine. Window 
creation and movement slows down a little but when the windows are shown 
there seems to be no speed punishment for using the pseudo rootless mode.

> This is really cool--many thanks to Matsuzaki, Thomas, and Harold! It's a
> bit of a hack, but it looks very useful, and at the least it should get most
> of the 'Why doesn't cygwin-xfree work like my favorite commerial X server?'
> people off of Harold's back. I'll probably go back to full-screen 'rooted'
> mode, though--I _like_ hiding all of the Windows junk when I'm working in X.
> 
>   - Bradey
> 

Just one question (little of topic in this thread): Has anyone 
succesfully used dfm with cygwin? It compiled flawless but when started 
it complains about dll`s missing in the path. That happened when trying 
to start a program or to change some preferences. (Funny enough those 
were cygwin1.dll and libX11.dll and the path was something like 
c:\cygwin\...) Maybe I just missed an existing patch (took dfm source 
from the projects homepage).

Regards,

Uwe




From sam.edgeZZZ@lineone.net  Thu Oct 17 01:57:00 2002
From: sam.edgeZZZ@lineone.net (Sam Edge)
Date: Thu, 17 Oct 2002 01:57:00 -0000
Subject: Invoking rootless mode
In-Reply-To: <3DAE7116.7010407@visicon-online.de>
References: <2A53F00A2DBBDA479B7E84DA2023A4EBC842DE@gypsy.construx.com> <3DAE7116.7010407@visicon-online.de>
Message-ID: <65usqu4thomh2f05jqjbuoa0t8m3lpd3kd@4ax.com>

You wrote in <3DAE7116.7010407@visicon-online.de>
in gmane.os.cygwin.xfree on Thu, 17 Oct 2002 10:13:10 +0200:

> oh how I miss the "focus 
> follows mouse" function within windows, just to mention one

At the expense of being somewhat off topic and sounding like a
Microsoft UI aficionado you can get this behaviour out of most
versions of Windows if you install Microsoft Tweak UI. (Some versions
need the XMouse powertoy instead - also from Microsoft.)

Windows 9x, Me, 2000:
http://www.microsoft.com/ntworkstation/downloads/PowerToys/Networking/NTTweakUI.asp

Windows XP:
http://www.microsoft.com/windowsxp/pro/downloads/powertoys.asp

XMouse (95):
http://www.microsoft.com/windows95/downloads/contents/wutoys/w95pwrtoysset/default.asp

This might make working with X and Windows WMs at the same time
slightly more consistent.

-- 
Sam Edge


From U.Schmidtmann@visicon-online.de  Thu Oct 17 03:22:00 2002
From: U.Schmidtmann@visicon-online.de (Uwe Schmidtmann)
Date: Thu, 17 Oct 2002 03:22:00 -0000
Subject: Invoking rootless mode
References: <2A53F00A2DBBDA479B7E84DA2023A4EBC842DE@gypsy.construx.com> <3DAE7116.7010407@visicon-online.de> <65usqu4thomh2f05jqjbuoa0t8m3lpd3kd@4ax.com>
Message-ID: <3DAE8FF1.8090600@visicon-online.de>

Hallo Sam.

Sam Edge wrote:
> 
> At the expense of being somewhat off topic and sounding like a

and so on - at least avoid full qoute...

Guess I needed that - I had TweakUI already installed for some other 
reason but never checked the mouse options... sh...

By the way: This works absolutely positiv with the "-rootless" option of 
the new xwin binary. All looks like being integrated expcept copy/paste.

Thanks a lot!

Uwe



From c_twiner@hotmail.com  Thu Oct 17 03:26:00 2002
From: c_twiner@hotmail.com (Chris Twiner)
Date: Thu, 17 Oct 2002 03:26:00 -0000
Subject: xwinclip problem/puzzle
Message-ID: 

>>  Unfortunately not.  The version most recently posted had the ctrl+c and  
>>server reset code in place but nothing much else.

>Oh.

It does however contain the code to handle the selections properly.  I'm not 
sure I made that clear enough.  It does what you want it to do but not much 
else, is what I should have said :-).

>>  When you run multiple screens do you keep the same display setting or 
>>does  it need to change?  If it is the same display I can get it working 
>>(by  making sure the newly activated window is not a cygwin window).

>Do you mean multiple virtual desktops, or dual monitors?  Though I

Multiple virtual desktops, dual monitors didn't seem to work in any way.  
I.e. using the screen option on xwin.exe

chris

_________________________________________________________________
Choose an Internet access plan right for you -- try MSN! 
http://resourcecenter.msn.com/access/plans/default.asp


From rasjidw@openminddev.net  Thu Oct 17 04:42:00 2002
From: rasjidw@openminddev.net (Rasjid Wilcox)
Date: Thu, 17 Oct 2002 04:42:00 -0000
Subject: XFree86 install fails
In-Reply-To: <1034821359.2955.25.camel@cplonskimdk>
References:  <1034821359.2955.25.camel@cplonskimdk>
Message-ID: <200210172143.04542.rasjidw@openminddev.net>

On Thu, 17 Oct 2002 12:22 pm, Chris plonski wrote:
> Does cygwin use the windows registry to save previous
> configurations?

Yes.  See the Cygwin FAQ 'How do I uninstall all of Cygwin' 
(http://cygwin.com/faq/faq_2.html#SEC19) - there are entires in the registry 
tree `Software\Cygnus Solutions' under HKEY_LOCAL_MACHINE and/or 
HKEY_CURRENT_USER.

Rasjid.


From huntharo@msu.edu  Thu Oct 17 05:02:00 2002
From: huntharo@msu.edu (Harold L Hunt II)
Date: Thu, 17 Oct 2002 05:02:00 -0000
Subject: XFree86 install fails
In-Reply-To: 
References:  <1034821359.2955.25.camel@cplonskimdk>
Message-ID: <3DAEA6C6.1050400@msu.edu>

Chris,

The mount information is pretty much the only information that Cygwin 
stores in the registry, and unfortunately it is not cleared when you 
uninstall Cygwin/XFree86.  At least, I don't recall that it is cleared. 
 I will probably add something about this to the FAQ, eventually.

Harold

Chris plonski wrote:

>Thanks!  This did the trick!  I just have a question now, where is this
>mount information stored?  I started out by deleting any previous cygwin
>directory trees.  Does cygwin use the windows registry to save previous
>configurations?
>
>On Wed, 2002-10-16 at 18:39, Harold Hunt wrote:
>  
>
>>Chris,
>>
>>You need to run ``mount'' from a Cygwin bash prompt and check the location
>>of your fonts mount.  For example, here is what I get:
>>
>>Administrator@HUNTHARO ~
>>$ mount
>>C:\cygwin\usr\X11R6\lib\X11\fonts on /usr/X11R6/lib/X11/fonts type system
>>(binmo
>>de)
>>C:\cygwin\bin on /usr/bin type system (binmode)
>>C:\cygwin\lib on /usr/lib type system (binmode)
>>c:\PalmDev on /PalmDev type system (textmode)
>>C:\cygwin on / type system (binmode)
>>c: on /cygdrive/c type user (binmode,noumount)
>>w: on /cygdrive/w type user (binmode,noumount)
>>y: on /cygdrive/y type user (binmode,noumount)
>>z: on /cygdrive/z type user (binmode,noumount)
>>
>>
>>My guess is that at some point you had Cygwin/XFree86 installed to a
>>different drive that is no longer available.  You can unmount your current
>>mount for /usr/X11R6/lib/X11/fonts and either 1) remount it if your default
>>mount is not binary mode, or 2) leave out that mount if your default mount
>>is binary mode.
>>
>>Harold
>>
>>    
>>
>>>-----Original Message-----
>>>From: cygwin-xfree-owner@cygwin.com
>>>[mailto:cygwin-xfree-owner@cygwin.com]On Behalf Of Chris Plonski
>>>Sent: Wednesday, October 16, 2002 5:47 PM
>>>To: cygwin-xfree@cygwin.com
>>>Subject: XFree86 install fails
>>>
>>>
>>>I have seen this on multiple Win2k SP3 machines.  I cannot
>>>perform a new install of the XFree86 package.  The setup proceeds
>>>as normal till it gets to the fonts.  It will freeze unpacking
>>>the first font package, and I have to cancel.  I have tried to
>>>manually running bunzip2 on any of the fonts packages, and it
>>>fails with aas follows:
>>>
>>>$ bunzip2 XFree86-fenc-4.2.0-2.tar.bz2
>>>
>>>bunzip2: I/O or other error, bailing out.  Possible reason follows.
>>>bunzip2: Invalid argument
>>>        Input file = XFree86-fenc-4.2.0-2.tar.bz2, output file =
>>>XFree86-fenc-4.
>>>2.0-2.tar
>>>bunzip2: Deleting output file XFree86-fenc-4.2.0-2.tar, if it exists.
>>>
>>>Using a win utility to extract out the .tar file and issuing a
>>>tar -xvf command does as follows:
>>>$ tar -xvf XFree86-fenc-4.2.0-2.tar
>>>usr/X11R6/lib/X11/fonts/
>>>tar: usr/X11R6/lib/X11/fonts: Cannot mkdir: No such file or directory
>>>usr/X11R6/lib/X11/fonts/encodings/
>>>tar: usr/X11R6/lib/X11/fonts/encodings: Cannot mkdir: No such
>>>file or directory
>>>
>>>I attempted to simply issue a mkdir command as follows, and it
>>>fails doing that too!
>>>
>>>$ mkdir /usr/X11R6/lib/X11/fonts
>>>mkdir: cannot create directory `/usr/X11R6/lib/X11/fonts': No
>>>such file or directory
>>>
>>>What's up?
>>>      
>>>
>
>
>  
>


From huntharo@msu.edu  Thu Oct 17 05:05:00 2002
From: huntharo@msu.edu (Harold L Hunt II)
Date: Thu, 17 Oct 2002 05:05:00 -0000
Subject: Invoking rootless mode
In-Reply-To: <2A53F00A2DBBDA479B7E84DA2023A4EBC842DE@gypsy.construx.com>
References: <2A53F00A2DBBDA479B7E84DA2023A4EBC842DE@gypsy.construx.com>
Message-ID: <3DAEA773.1010109@msu.edu>

Bradey,

Thanks for pointing that out.  I added the -rootless command-line arg to 
the patch that Matsuzaki sent in, so Test66 and XFree86-xserv-4.2.0-13 
are different than the release that Thomas Chadwick made.

This version of a rootless mode is precisely what I was aiming for: 
something simple that can be built off of.  I had no idea that it would 
be quite that simple though!  :)

Now it is only a matter of time until we implement all of the little 
features that will make rootless mode complete.

Harold

Bradey Honsinger wrote:

>I didn't see a mention of the argument to invoke the new rootless mode
>anywhere in this thread--no doubt it's in the updated man pages, but I just
>grabbed the Test66 binary. Logically enough, it's '-rootless':
>
>    -rootless
>            EXPERIMENTAL: Run the server in pseudo-rootless mode. 
>
>You don't appear to need the '-nodecoration' option when you use
>'-rootless'. Note that the output of 'XWin -help' goes to /tmp/XWin.log[1],
>a fact which I had forgotten.
>
>This is really cool--many thanks to Matsuzaki, Thomas, and Harold! It's a
>bit of a hack, but it looks very useful, and at the least it should get most
>of the 'Why doesn't cygwin-xfree work like my favorite commerial X server?'
>people off of Harold's back. I'll probably go back to full-screen 'rooted'
>mode, though--I _like_ hiding all of the Windows junk when I'm working in X.
>
>  - Bradey
>
>[1] http://www.cygwin.com/ml/cygwin-xfree/2002-04/msg00504.html
>  
>


From j_tetazoo@hotmail.com  Thu Oct 17 05:53:00 2002
From: j_tetazoo@hotmail.com (Thomas Chadwick)
Date: Thu, 17 Oct 2002 05:53:00 -0000
Subject: Rootless mode revisited...
Message-ID: 

FYI - I've taken down the binary I posted to avoid any confusion with 
Harold's test release of XWin -rootless.

>From: "Thomas Chadwick" 
>Reply-To: cygwin-xfree@cygwin.com
>To: cygwin-xfree@cygwin.com
>Subject: Re: Rootless mode revisited...
>Date: Wed, 16 Oct 2002 10:52:56 -0400
>
>By the way, my ISP seems to be blocking downloads of exe's.  Zipping it 
>seems to work.  Please download the exe using this URL instead...
>
>http://home.adelphia.net/~tlcweb/cygwin/XWin.zip
>
>>From: "Thomas Chadwick" 
>>Reply-To: cygwin-xfree@cygwin.com
>>To: cygwin-xfree@cygwin.com, zakki@peppermint.jp
>>Subject: Re: Rootless mode revisited...
>>Date: Wed, 16 Oct 2002 10:21:25 -0400
>>
>>I tried out this patch (took a few days because I needed to get xfree86 
>>out of CVS and build it).  Very cool.  Thanks a bunch to MATSUZAKI for 
>>coding it!  You saved me a lot of work.
>>
>>Here's a screenshot...
>>
>>http://home.adelphia.net/~tlcweb/cygwin/pseudo_rootless_screenshot.gif
>>
>>Notice that you can see IE in the background along with some Windows 
>>desktop icons down the left side of the screen.  The windows in the 
>>forground are Xclients (namely xterm, xclock, and xeyes).  The icon in the 
>>lower left is an iconified Xclient.
>>
>>However, I noticed a few strange artifacts of this approach to rootless 
>>mode...
>>
>>1) When you click and drag on an Xwindow to move it, you only see the bits 
>>and pieces of the "rubber band" outline which happen to overlap the other 
>>Xwindows.  Where the rubber band overlaps Windows windows, you see 
>>nothing.
>>
>>2) Now that there is no root window, you can't use the XWindows window 
>>manager's root-window menus.
>>
>>3) A favorite tool of mine, x2x, is broken, which is due to the lack of a 
>>root window causing the mouse focus to jump back and forth XWindows and 
>>Windows.
>>
>>
>>Still, if anyone wants to try it out, here's a binary that I built last 
>>night from source I pulled from CVS yesterday...
>>
>>http://home.adelphia.net/~tlcweb/cygwin/XWin.exe
>>
>>
>>>From: MATSUZAKI Kensuke 
>>>Reply-To: cygwin-xfree@cygwin.com
>>>To: cygwin-xfree@cygwin.com
>>>Subject: Re: Rootless mode revisited...
>>>Date: Tue, 15 Oct 2002 03:30:50 +0900
>>>
>>>Thomas didn't talk about X Shape Extension.
>>>I think Thomas's idea is something like this.
>>>
>>>With this patch and "-nodecoration" option, it seems to work good.
>>>
>>><< pseudo-rootless.patch >>
>>
>>
>>_________________________________________________________________
>>Internet access plans that fit your lifestyle -- join MSN. 
>>http://resourcecenter.msn.com/access/plans/default.asp
>
>
>_________________________________________________________________
>Unlimited Internet access -- and 2 months free!?? Try MSN. 
>http://resourcecenter.msn.com/access/plans/2monthsfree.asp


_________________________________________________________________
Get faster connections??-- switch to??MSN Internet Access! 
http://resourcecenter.msn.com/access/plans/default.asp


From colin.harrison@virgin.net  Thu Oct 17 08:36:00 2002
From: colin.harrison@virgin.net (root)
Date: Thu, 17 Oct 2002 08:36:00 -0000
Subject: Rootless mode revisited...
Message-ID: <200210171536.g9HFaEs10780@chamonix.straightrunning.com>

Works fine..no rubber bands.. none of my previous
problems (my error!).

Only quirk I can see is loads of 'winAddRgn()' message lines at the end of
my XWin.log.

Thanks a million..I owe someone a beer for this!!

Colin


From huntharo@msu.edu  Thu Oct 17 08:40:00 2002
From: huntharo@msu.edu (Harold L Hunt II)
Date: Thu, 17 Oct 2002 08:40:00 -0000
Subject: Rootless mode revisited...
In-Reply-To: <200210171536.g9HFaEs10780@chamonix.straightrunning.com>
References: <200210171536.g9HFaEs10780@chamonix.straightrunning.com>
Message-ID: <3DAED9E2.6000505@msu.edu>

Yikes!!!  I just noticed that my XWin.log is 52 MB for my one hour 
session in Cygwin/XFree86.  I will have to roll a new release tonight 
that turns off the logging of the winAddRgn messages.  Sorry about that.

Harold

root wrote:

>Works fine..no rubber bands.. none of my previous
>problems (my error!).
>
>Only quirk I can see is loads of 'winAddRgn()' message lines at the end of
>my XWin.log.
>
>Thanks a million..I owe someone a beer for this!!
>
>Colin
>  
>


From cgf@redhat.com  Thu Oct 17 10:20:00 2002
From: cgf@redhat.com (Christopher Faylor)
Date: Thu, 17 Oct 2002 10:20:00 -0000
Subject: xfree86 install fails
In-Reply-To: <3DAEA6C6.1050400@msu.edu>
References:  <1034821359.2955.25.camel@cplonskimdk> <3DAEA6C6.1050400@msu.edu>
Message-ID: <20021017172210.GA11667@redhat.com>

On Thu, Oct 17, 2002 at 08:02:14AM -0400, Harold L Hunt II wrote:
>The mount information is pretty much the only information that Cygwin 
>stores in the registry, and unfortunately it is not cleared when you 
>uninstall Cygwin/XFree86.  At least, I don't recall that it is cleared. 
>I will probably add something about this to the FAQ, eventually.

If you do, I would appreciate minimizing the references to the registry.
People are fascinated by the fact that cygwin uses the registry and,
knowing this, seem to resist using mount and umount to manipulate paths.

In future versions of cygwin it is entirely possible that the registry
usage will change so anyone who is relying on registry "tricks" will
potentially be confused.

cgf


From keith@keithtyler.com  Thu Oct 17 13:24:00 2002
From: keith@keithtyler.com (Keith D. Tyler)
Date: Thu, 17 Oct 2002 13:24:00 -0000
Subject: Invoking rootless mode
In-Reply-To: <65usqu4thomh2f05jqjbuoa0t8m3lpd3kd@4ax.com> from "Sam Edge" at Oct 17, 2002 09:56:59 AM
Message-ID: <200210172024.g9HKOHx10838@shell.faradic.net>

Sam Edge was recently quoted as saying...
> 
> You wrote in <3DAE7116.7010407@visicon-online.de>
> in gmane.os.cygwin.xfree on Thu, 17 Oct 2002 10:13:10 +0200:
> 
> > oh how I miss the "focus 
> > follows mouse" function within windows, just to mention one
> 
> At the expense of being somewhat off topic and sounding like a
> Microsoft UI aficionado you can get this behaviour out of most
> versions of Windows if you install Microsoft Tweak UI. (Some versions
> need the XMouse powertoy instead - also from Microsoft.)

At the expense of sounding like a picky naysayer, XMouse never worked
consistently similar to any other X wm's focus-follows-mouse behaviour
that I ever used. And it will never work like Fvwm2 SloppyFocus, which
I've become addicted to. :)

As for rootless mode, I'd throw out some other caveats and
recommendations:

* I'm using a Win32 virtual pager. When XWin is active, even in rootless
mode, the window covers up the page in the virtual display. (Yes I know
why, and this is with JSPager, perhaps there are shape-aware virt pagers
for Win32.)

* I recommend running this mode with the X server set to run
always-on-top. Right now I'm using a tool called Make Always On Top to
make XWin.exe this way, perhaps I could suggest that XWin.exe include this
ability as a command-line and/or icon-menu option.

Right now I'm using Chris's patched binary, set sticky in my Win32 pager,
and Always On Top via that tool. I've moved my fvwm root-window menus to
be invoked via an added title button on all fvwm windows, and turned on
the titlebar for one of my X sticky windows so that I can always access 
it. I then get myself into the habit of manually minimizing X apps when I
need to use a large Win32 app. This is a bit of a minor inconvenience, but
the always-on-top has the benefit of making my X icons, winlist and pager
window always available.

In the meantime, I've trimmed off two pages of my X virtual desktop, two
pages off my Windows virtual desktop, and turned off the overhead caused
by my X root-pattern switcher (FvwmBacker). I'm enjoying this desktop
paradigm.

==================================================================
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 keith@keithtyler.com  Thu Oct 17 13:30:00 2002
From: keith@keithtyler.com (Keith D. Tyler)
Date: Thu, 17 Oct 2002 13:30:00 -0000
Subject: Invoking rootless mode
In-Reply-To: <3DAE8FF1.8090600@visicon-online.de> from "Uwe Schmidtmann" at Oct 17, 2002 12:24:49 PM
Message-ID: <200210172030.g9HKUb811520@shell.faradic.net>

Uwe Schmidtmann was recently quoted as saying...
> Guess I needed that - I had TweakUI already installed for some other 
> reason but never checked the mouse options... sh...
> 
> By the way: This works absolutely positiv with the "-rootless" option of 
> the new xwin binary. All looks like being integrated expcept copy/paste.

To get integrated copy/paste, you need xwinclip:

http://xfree86.cygwin.com/devel/xwinclip/

And warning: it tends to crash here and there, so be prepared to restart
it as needed. Some days I have to restart it once or twice. But it works
rather well.

HTH,

==================================================================
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 huntharo@msu.edu  Thu Oct 17 13:51:00 2002
From: huntharo@msu.edu (Harold L Hunt II)
Date: Thu, 17 Oct 2002 13:51:00 -0000
Subject: Thanks for the icon
Message-ID: <3DAF22B0.7040006@msu.edu>

Jehan (Bing),

I wanted to say thanks for provided the .ico file that I used for the 
icon in Cygwin/XFree86 - Server Test Series - Test 66.  I stole that 
icon from your systray icon patches.  I was never able to find nor 
create an X icon that had the proper transaparency and that looked good 
in all color modes.  You either found that one or created it and, 
regardless of which of those it was, it fit the bill.  I hope you 
noticed that your name was on the credit line for the icon patch.

Anyway, I just wanted to make sure that I called attention to the 
creator/finder of the X icon that we are now using.

Harold


From huntharo@msu.edu  Thu Oct 17 14:12:00 2002
From: huntharo@msu.edu (Harold L Hunt II)
Date: Thu, 17 Oct 2002 14:12:00 -0000
Subject: Rootless mode logging and slowness
Message-ID: <3DAF27B7.5040905@msu.edu>

Some of you have noticed that a message is being added to /tmp/XWin.log 
every time that winAddRgn (or something close to that) is called.

Other of you have also noticed that certain window operations and other 
random operations are slower than expected in Cygwin/XFree86 with 
rootless mode enabled.

It turns out that these two issues are related.  The winAddRgn function 
is being called many, many, many thousands, if not hundreds of thousands 
of times and the average window operation may cause it to be called 
several hundred times.  As you can imagine, writing a message to the log 
file during every one of these calls is an extraordinary burden.

I built a test version for my own purposes with this logging message 
disabled and I fully expected the performance hit to go away.  Well, it 
did, for the most part.  I would estimate that about 95% of the slowdown 
in rootless mode was caused by this errant logging, but the rootless 
mode is still a little bit slower than non-rootless mode.  However, the 
performance hit is now well worth the features and new usage scenarios 
that rootless mode provides.

I used Cygwin/XFree86 today in rootless mode for several hours while 
creating a LaTeX  document for my homework and creating figures for that 
document in xfig.  Rootless mode made it so much easier to switch 
between emacs and xfig running under Cygwin/XFree86 to Adobe Acrobat or 
to Mozilla running under Windows.  (Yes, I know, I could use ghostscript 
to view my pdf, but gs keeps crashing on startup whenever I try to run 
it; also, Acrobat is much more user-friendly than gs).

So, rootless mode makes Cygwin/XFree86 actually useful for the primary 
maintainer to get some work done!  This is astonishing!  :)

Harold


From nahor@bravobrava.com  Thu Oct 17 16:42:00 2002
From: nahor@bravobrava.com (Jehan)
Date: Thu, 17 Oct 2002 16:42:00 -0000
Subject: Thanks for the icon
In-Reply-To: <3DAF22B0.7040006@msu.edu>
References: <3DAF22B0.7040006@msu.edu>
Message-ID: 

Harold L Hunt II wrote:

> I wanted to say thanks for provided the .ico file that I used for the
> icon in Cygwin/XFree86 - Server Test Series - Test 66.  I stole that
> icon from your systray icon patches.  I was never able to find nor
> create an X icon that had the proper transaparency and that looked 
> good in all color modes.  You either found that one or created it and,
> regardless of which of those it was, it fit the bill.  

I created it with a nice screenshot of "xlogo" and a bit of PaintShop 
Pro (for the individual images) and Visual C (for the ico file itself 
and transparency).

> I hope you noticed that your name was on the credit line for the icon 
> patch.

Yes I did, thanks, that will help me become famous one day *grin*

	Jehan




From nahor@bravobrava.com  Thu Oct 17 16:51:00 2002
From: nahor@bravobrava.com (Jehan)
Date: Thu, 17 Oct 2002 16:51:00 -0000
Subject: Rootless mode logging and slowness
In-Reply-To: <3DAF27B7.5040905@msu.edu>
References: <3DAF27B7.5040905@msu.edu>
Message-ID: 

Harold L Hunt II wrote:

> So, rootless mode makes Cygwin/XFree86 actually useful for the primary
> maintainer to get some work done!  This is astonishing!  :)

So hopefully that will give you some incentive to finish the rootless 
mode sooner then... Ouch, no, no beating, I was just kidding. ;)

	Jehan




From rgu@TheWorld.com  Thu Oct 17 19:33:00 2002
From: rgu@TheWorld.com (Rick Umali)
Date: Thu, 17 Oct 2002 19:33:00 -0000
Subject: Invoking rootless mode
In-Reply-To: <2A53F00A2DBBDA479B7E84DA2023A4EBC842DE@gypsy.construx.com>
References: <2A53F00A2DBBDA479B7E84DA2023A4EBC842DE@gypsy.construx.com>
Message-ID: <20021018023354.GA66625239@TheWorld.com>

I just wanted to echo Bradey's e-ail below. I installed Cygwin/XFree86
with rootless support, and it's really really nice. I've been using it
to test out emacs. It's all good so far!

Many thanks for the creators, and the maintainers!

Bradey Honsinger wrote:
>     -rootless
>             EXPERIMENTAL: Run the server in pseudo-rootless mode. 
> 
> This is really cool--many thanks to Matsuzaki, Thomas, and Harold! ...

-- 
Rick Umali    rgu@TheWorld.com    www.rickumali.com


From wurster@architur.de  Fri Oct 18 01:10:00 2002
From: wurster@architur.de (Jochen Wurster)
Date: Fri, 18 Oct 2002 01:10:00 -0000
Subject: keyboard problem
Message-ID: 

Hi,

i am running Xfree on an english Windows 2000 version with a german
keyboard. How can i configure xfree to use a german keyboard instead of the
default english?

Thanks in advance

Joche Wurster





From FRANZW@dk.ibm.com  Fri Oct 18 02:15:00 2002
From: FRANZW@dk.ibm.com (Franz Wolfhagen)
Date: Fri, 18 Oct 2002 02:15:00 -0000
Subject: keyboard problem
Message-ID: 


First - read the XFree faqs and manuals - then search the mailinglist
archives for xmodmap/xkbmap and read....

But to be helpful :

You kan use 2 methods :

Compile the German keybord with xkbcomp and start your X session with the "
+kb -xkbmap ge" setting (be aware that numlock must be off...)
Create/Copy a German keymap file and execute "xmodmap " after
your X session has started.

Med venlig hilsen / Regards
Franz Wolfhagen

>Hi,
>
>i am running Xfree on an english Windows 2000 version with a german
>keyboard. How can i configure xfree to use a german keyboard instead of
the
>default english?
>
>Thanks in advance
>
>Joche Wurster



From alexander.gottwald@s1999.tu-chemnitz.de  Fri Oct 18 02:41:00 2002
From: alexander.gottwald@s1999.tu-chemnitz.de (Alexander Gottwald)
Date: Fri, 18 Oct 2002 02:41:00 -0000
Subject: Invoking rootless mode
In-Reply-To: <200210172024.g9HKOHx10838@shell.faradic.net>
Message-ID: 

On Thu, 17 Oct 2002, Keith D. Tyler wrote:

> * I recommend running this mode with the X server set to run
> always-on-top. 

Why? 
You will never get the w32 windows in front of any x11 window. 

> Right now I'm using a tool called Make Always On Top to
> make XWin.exe this way, perhaps I could suggest that XWin.exe include this
> ability as a command-line and/or icon-menu option.

Feel free to add such a commandline option.

bye
	ago
-- 
 Alexander.Gottwald@informatik.tu-chemnitz.de 
 http://www.gotti.org           ICQ: 126018723



From U.Schmidtmann@visicon-online.de  Fri Oct 18 05:00:00 2002
From: U.Schmidtmann@visicon-online.de (Uwe Schmidtmann)
Date: Fri, 18 Oct 2002 05:00:00 -0000
Subject: Invoking rootless mode
References: <200210172024.g9HKOHx10838@shell.faradic.net>
Message-ID: <3DAFF858.3040309@visicon-online.de>

Keith D. Tyler wrote:
> At the expense of sounding like a picky naysayer, XMouse never worked
> consistently similar to any other X wm's focus-follows-mouse behaviour
> that I ever used. And it will never work like Fvwm2 SloppyFocus, which
> I've become addicted to. :)

Maybe I was not clear enough with my posting (english is not my native 
language, sorry). What I am running is a combination of xmouse for the 
native windoze stuff and icewm managing the mouse focus for x11. This is 
not always flawless, but with icewm using the "nice" scheme windows and 
X11 almost look the same and the context switch between X and windoze 
works without having to click or press any weired keys.

This is extremely useful as I use nedit for editing my source code while 
using borland as a compiler. I am used to nedit for almost 7 years now 
and had extreme problems with editor integrated in borlands ide when I 
came to this job.

Sorry for being off topic again...

Maybe Harold Hunt could give a short hint on where to get the xwin.exe 
version with less logging... Thanks.

Regards and have a nice weekend.

Uwe



From holger.vogt@ims.fhg.de  Fri Oct 18 07:48:00 2002
From: holger.vogt@ims.fhg.de (Holger Vogt)
Date: Fri, 18 Oct 2002 07:48:00 -0000
Subject: Invoking rootless mode
Message-ID: <3DB01F5F.E19072EA@ims.fhg.de>

Hi all,

I have just installed XWin-Test66.exe over a very old Cygwin
installation (May 01, X-dlls March 01) on a Windows NT4 notebook. After
starting and a short DOS box pop up ... nothing happened.

But then there it was: a small green rectangle among all my Windows
icons stating "sh".

Now my screen is full with applications (Xman, Xciruit drawing program,
MAGIC layout editor), and still the Windows background, Windows Netscape
and others.

Congratulations, great work.

Holger Vogt


From huntharo@msu.edu  Fri Oct 18 07:59:00 2002
From: huntharo@msu.edu (Harold L Hunt II)
Date: Fri, 18 Oct 2002 07:59:00 -0000
Subject: Invoking rootless mode
In-Reply-To: <200210172024.g9HKOHx10838@shell.faradic.net>
References: <200210172024.g9HKOHx10838@shell.faradic.net> <3DAFF858.3040309@visicon-online.de>
Message-ID: <3DB021D9.4040606@msu.edu>

Uwe,

There is a preliminary Server Test Series - Test 67 release up at:

http://www.msu.edu/~huntharo/xwin/shadow/XWin-Test67.exe.bz2 (~1,225 KB)


I say that this is preliminary because I built it from the HEAD branch, 
rather than from the 4.2.0 branch.  Thus, if you run xdpyinfo it will 
report a strange version number, whereas the usual releases report 4.2.0.

I am only putting this link up for those few brave soles that want to 
minimize logging before I can make an official release.

Harold

Uwe Schmidtmann wrote:

> Keith D. Tyler wrote:
>
>> At the expense of sounding like a picky naysayer, XMouse never worked
>> consistently similar to any other X wm's focus-follows-mouse behaviour
>> that I ever used. And it will never work like Fvwm2 SloppyFocus, which
>> I've become addicted to. :)
>
>
> Maybe I was not clear enough with my posting (english is not my native 
> language, sorry). What I am running is a combination of xmouse for the 
> native windoze stuff and icewm managing the mouse focus for x11. This 
> is not always flawless, but with icewm using the "nice" scheme windows 
> and X11 almost look the same and the context switch between X and 
> windoze works without having to click or press any weired keys.
>
> This is extremely useful as I use nedit for editing my source code 
> while using borland as a compiler. I am used to nedit for almost 7 
> years now and had extreme problems with editor integrated in borlands 
> ide when I came to this job.
>
> Sorry for being off topic again...
>
> Maybe Harold Hunt could give a short hint on where to get the xwin.exe 
> version with less logging... Thanks.
>
> Regards and have a nice weekend.
>
> Uwe
>
>


From huntharo@msu.edu  Fri Oct 18 08:01:00 2002
From: huntharo@msu.edu (Harold L Hunt II)
Date: Fri, 18 Oct 2002 08:01:00 -0000
Subject: Invoking rootless mode
In-Reply-To: <3DB01F5F.E19072EA@ims.fhg.de>
References: <3DB01F5F.E19072EA@ims.fhg.de>
Message-ID: <3DB0222C.4010205@msu.edu>

Holger,

You will probably want to grab that Test 67 preliminary release that I 
just posted... it has much better performance due to reduced logging. 
 Take a look at your /tmp/XWin.log file, it is probably over 50 MB.

http://www.msu.edu/~huntharo/xwin/shadow/XWin-Test67.exe.bz2

Harold

Holger Vogt wrote:

>Hi all,
>
>I have just installed XWin-Test66.exe over a very old Cygwin
>installation (May 01, X-dlls March 01) on a Windows NT4 notebook. After
>starting and a short DOS box pop up ... nothing happened.
>
>But then there it was: a small green rectangle among all my Windows
>icons stating "sh".
>
>Now my screen is full with applications (Xman, Xciruit drawing program,
>MAGIC layout editor), and still the Windows background, Windows Netscape
>and others.
>
>Congratulations, great work.
>
>Holger Vogt
>  
>


From gary@garydjones.mailshell.com  Fri Oct 18 10:22:00 2002
From: gary@garydjones.mailshell.com (gary@garydjones.mailshell.com)
Date: Fri, 18 Oct 2002 10:22:00 -0000
Subject: Rootless mode revisited...
References: <3DAD7B54.1020308@msu.edu> 
Message-ID: 

Hi,

On 16 Oct 2002, Alexander Gottwald
 wrote: 

> On Wed, 16 Oct 2002, Harold L Hunt II wrote:
> 
>> Oh my god, I completely missed this patch!  Wow!
> 
> I can't remember this patch too. Either it got lost or was
> somehow rejected by the mailserver or maybe was sent to a
> private address. 

It was posted on the 15th of this month in this thread. The M-ID 
I have is from the gmane newsserver so it won't be helpful to 
you I guess, sorry. If you can't get it then I will forward it 
to you (9k).

(Off list - I can't email everyone a copy after all, there is a 
limit to my bandwidth :-)

-- 
Cheers,
Gary


From huntharo@msu.edu  Fri Oct 18 10:32:00 2002
From: huntharo@msu.edu (Harold L Hunt II)
Date: Fri, 18 Oct 2002 10:32:00 -0000
Subject: Rootless mode revisited...
In-Reply-To: <3DAD7B54.1020308@msu.edu>
References: <3DAD7B54.1020308@msu.edu>  <200210181722.g9IHMbr27702@pilot03.cl.msu.edu>
Message-ID: <3DB045BC.5010506@msu.edu>

Don't worry, the patch came through correctly.  The problem was that the 
email did not clearly state that a rootless mode had been implemented, 
so both Alexander and I didn't pay any attention to it.  I didn't even 
notice that it had a patch attached.

The message is in the archives:
http://cygwin.com/ml/cygwin-xfree/2002-10/msg00126.html

Harold

gary@garydjones.mailshell.com wrote:

>Hi,
>
>On 16 Oct 2002, Alexander Gottwald
> wrote: 
>
>  
>
>>On Wed, 16 Oct 2002, Harold L Hunt II wrote:
>>
>>    
>>
>>>Oh my god, I completely missed this patch!  Wow!
>>>      
>>>
>>I can't remember this patch too. Either it got lost or was
>>somehow rejected by the mailserver or maybe was sent to a
>>private address. 
>>    
>>
>
>It was posted on the 15th of this month in this thread. The M-ID 
>I have is from the gmane newsserver so it won't be helpful to 
>you I guess, sorry. If you can't get it then I will forward it 
>to you (9k).
>
>(Off list - I can't email everyone a copy after all, there is a 
>limit to my bandwidth :-)
>
>  
>


From Alexander.Gottwald@informatik.tu-chemnitz.de  Fri Oct 18 12:52:00 2002
From: Alexander.Gottwald@informatik.tu-chemnitz.de (Alexander Gottwald)
Date: Fri, 18 Oct 2002 12:52:00 -0000
Subject: Rootless mode revisited...
In-Reply-To: 
Message-ID: 

gary@garydjones.mailshell.com wrote:

> It was posted on the 15th of this month in this thread.

And I received it. Must have been blind that day.

bye
    ago
-- 
 Alexander.Gottwald@informatik.tu-chemnitz.de 
 http://www.gotti.org           ICQ: 126018723


From Carlton.Teel@signal-analysis.com  Fri Oct 18 13:09:00 2002
From: Carlton.Teel@signal-analysis.com (Carlton Teel)
Date: Fri, 18 Oct 2002 13:09:00 -0000
Subject: Need help
Message-ID: <3DB06A28.A500957B@signal-analysis.com>

Greetings all,

I have been trying to locate the steps needed to use the fvwm
distributed with Cygwin, but I have not found the silver bullet yet.
Can you point to where I need to look or provide me with the necessary
steps?   Once fvwm is in place, how do I integrate in another theme for
fvwm to use?

Your assistance would be greatly appreciated :)

BTW - Thanks for providing this product!

Carlton
-------------- next part --------------
A non-text attachment was scrubbed...
Name: Carlton.Teel.vcf
Type: text/x-vcard
Size: 377 bytes
Desc: Card for Carlton Teel
URL: 

From skoehler@upb.de  Fri Oct 18 13:11:00 2002
From: skoehler@upb.de (=?ISO-8859-1?Q?Sven_K=F6hler?=)
Date: Fri, 18 Oct 2002 13:11:00 -0000
Subject: x-server with window-manager
Message-ID: 

hi,

is there a project for an x-server with window-manager that integrates 
remote-windows into the windows-desktop?




From huntharo@msu.edu  Fri Oct 18 13:14:00 2002
From: huntharo@msu.edu (Harold L Hunt II)
Date: Fri, 18 Oct 2002 13:14:00 -0000
Subject: x-server with window-manager
In-Reply-To: 
References: 
Message-ID: <3DB06BB7.5030908@msu.edu>

Sven,

I realize that English is probably not your native language, but could 
you elaborate on your question a little bit?  I cannot understand what 
you are asking.

Harold

Sven K??hler wrote:

> hi,
>
> is there a project for an x-server with window-manager that integrates 
> remote-windows into the windows-desktop?
>
>
>


From skoehler@upb.de  Fri Oct 18 14:03:00 2002
From: skoehler@upb.de (=?ISO-8859-1?Q?Sven_K=F6hler?=)
Date: Fri, 18 Oct 2002 14:03:00 -0000
Subject: x-server with window-manager
In-Reply-To: 
References:  <3DB06BB7.5030908@msu.edu>
Message-ID: 

> I realize that English is probably not your native language, but could
> you elaborate on your question a little bit?  I cannot understand what
> you are asking.


Is there a project, that is developing a x-server that has an integrated 
window-manager so that x-forwarded windows will appear like ms-windows' 
native ones?

I think cygwin's current x-server is based on Xnest so that all the 
x-forwarded windows will appear within one big window which is my 
"XFree"-Desktop and they do not seamlessly integrate into the 
ms-windows-desktop.




From huntharo@msu.edu  Fri Oct 18 14:10:00 2002
From: huntharo@msu.edu (Harold L Hunt II)
Date: Fri, 18 Oct 2002 14:10:00 -0000
Subject: x-server with window-manager
In-Reply-To: 
References:  <3DB06BB7.5030908@msu.edu> 
Message-ID: <3DB078D1.6020905@msu.edu>

Sven,

For future reference, Cygwin/XFree86 is not in any way based on Xnest.

Also, what you are trying to accomplish has nothing to do with whether a 
window is created by a local X client or by a remote X client with X11 
forwarding.

Now, to answer  your question, yes, there is preliminary support for a 
so-called ``rootless''.  However, this ``rootless'' mode still requires 
an X Window Manager.  That is, X clients do not appear within a Windows 
window, they appear within an X window, but the root window is not 
displayed so it looks like the X apps are floating above your Windows apps.

The release announcement for the ``rootless'' support is here:
http://cygwin.com/ml/cygwin-xfree/2002-10/msg00160.html

Also, I posted a slightly faster binary, Test 67, that you can download 
instead of Test 66:
http://cygwin.com/ml/cygwin-xfree/2002-10/msg00188.html

Or, you can wait a day or two and I will make an official Test 67 
release announcement and you can just download that version then.

Harold

Sven K??hler wrote:

>> I realize that English is probably not your native language, but could
>> you elaborate on your question a little bit?  I cannot understand what
>> you are asking.
>
>
>
> Is there a project, that is developing a x-server that has an 
> integrated window-manager so that x-forwarded windows will appear like 
> ms-windows' native ones?
>
> I think cygwin's current x-server is based on Xnest so that all the 
> x-forwarded windows will appear within one big window which is my 
> "XFree"-Desktop and they do not seamlessly integrate into the 
> ms-windows-desktop.
>
>
>


From skoehler@upb.de  Fri Oct 18 14:11:00 2002
From: skoehler@upb.de (=?ISO-8859-1?Q?Sven_K=F6hler?=)
Date: Fri, 18 Oct 2002 14:11:00 -0000
Subject: x-server with window-manager
In-Reply-To: 
References:  <3DB06BB7.5030908@msu.edu>
Message-ID: 

> I realize that English is probably not your native language, but could
> you elaborate on your question a little bit?  I cannot understand what
> you are asking.

should better read next time:

http://xfree86.cygwin.com/devel/todo.html
it says:
"Seamless integration with Windows"
that was what i asked for.

have you already started to implements that feature?




From huntharo@msu.edu  Fri Oct 18 20:17:00 2002
From: huntharo@msu.edu (Harold Hunt)
Date: Fri, 18 Oct 2002 20:17:00 -0000
Subject: [ANNOUNCEMENT] Server Test 67
Message-ID: 

Links:

I just posted Test 67 to the server development page:
http://xfree86.cygwin.com/devel/shadow/

You can install the Test 67 package via setup.exe by selecting the
'test' package (and be sure to check the 'Bin' box): XFree86-xserv-4.2.0-14

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-Test67.exe.bz2 (1105 KiB)

Server source, direct link:
http://www.msu.edu/~huntharo/xwin/shadow/xwin-20021018-2248.tar.bz2 (90 KiB)

xc/programs/Xserver/hw/xwin (all files) diff against 20021018 XFree86 CVS:
http://www.msu.edu/~huntharo/xwin/shadow/xwin-20021018-2248.diff (1 KiB)


Changes:

1) Turn off debugging message in winwindow.c/winAddRgn () that was
being printed thousands, if not millions, of times.  (Harold Hunt)


Enjoy,

Harold


From jc.gervais@videotron.ca  Sat Oct 19 00:39:00 2002
From: jc.gervais@videotron.ca (Jean-Claude Gervais)
Date: Sat, 19 Oct 2002 00:39:00 -0000
Subject: Need help
In-Reply-To: <3DB06A28.A500957B@signal-analysis.com>
Message-ID: 

http://themes.freshmeat.net/articles/view/465/


-----Original Message-----
From: cygwin-xfree-owner@cygwin.com [mailto:cygwin-xfree-owner@cygwin.com]On
Behalf Of Carlton Teel
Sent: Friday, October 18, 2002 4:08 PM
To: cygwin-xfree@cygwin.com
Subject: Need help

Greetings all,

I have been trying to locate the steps needed to use the fvwm
distributed with Cygwin, but I have not found the silver bullet yet.
Can you point to where I need to look or provide me with the necessary
steps?   Once fvwm is in place, how do I integrate in another theme for
fvwm to use?

Your assistance would be greatly appreciated :)

BTW - Thanks for providing this product!

Carlton


From aman@amanjordan.org  Sat Oct 19 01:55:00 2002
From: aman@amanjordan.org (AMAN- Munir Idaibes)
Date: Sat, 19 Oct 2002 01:55:00 -0000
Subject: Tunis: Workshop on Gender & Devolopment (20-22/10/2002)
Message-ID: <200210190853.g9J8rH108614@mail.nets1.com.jo>

Please go to:
http://www.amanjordan.org/arabic_news/wmview.php?ArtID=3452

AMAN News Center:
http://www.amanjordan.org/arabic_news/index.php


From skoehler@upb.de  Sat Oct 19 06:10:00 2002
From: skoehler@upb.de (=?ISO-8859-1?Q?Sven_K=F6hler?=)
Date: Sat, 19 Oct 2002 06:10:00 -0000
Subject: x-server with window-manager
In-Reply-To: 
References:  <3DB06BB7.5030908@msu.edu>  <3DB078D1.6020905@msu.edu>
Message-ID: 

> For future reference, Cygwin/XFree86 is not in any way based on Xnest.


i tought that i've read something like that.
was it Xvfb? but it's not so important...

> Also, what you are trying to accomplish has nothing to do with whether a
> window is created by a local X client or by a remote X client with X11
> forwarding.


OK, that's right, i just took x-forwarding as an example.

> Now, to answer  your question, yes, there is preliminary support for a
> so-called ``rootless''.  However, this ``rootless'' mode still requires
> an X Window Manager.  That is, X clients do not appear within a Windows
> window, they appear within an X window, but the root window is not
> displayed so it looks like the X apps are floating above your Windows 
> apps.
>
> The release announcement for the ``rootless'' support is here:
> http://cygwin.com/ml/cygwin-xfree/2002-10/msg00160.html


OK, but how to i start XWin.exe so it will work in "rootless"-mode?

> Also, I posted a slightly faster binary, Test 67, that you can download
> instead of Test 66:
> http://cygwin.com/ml/cygwin-xfree/2002-10/msg00188.html

just installed it ...




From skoehler@upb.de  Sat Oct 19 07:59:00 2002
From: skoehler@upb.de (=?ISO-8859-1?Q?Sven_K=F6hler?=)
Date: Sat, 19 Oct 2002 07:59:00 -0000
Subject: x-server with window-manager
In-Reply-To: 
References:  <3DB06BB7.5030908@msu.edu>  <3DB078D1.6020905@msu.edu> 
Message-ID: 

> OK, but how to i start XWin.exe so it will work in "rootless"-mode?

OK, i found out, that i should start "XWin -rootless" but i still need a 
window-manager afterwards (like twm) ro have a window-titlebar.

will there be a window-manager integrated into XWin that uses 
Win32-native windows? (native title-bar, buttons, resizing etc.)




From huntharo@msu.edu  Sat Oct 19 14:03:00 2002
From: huntharo@msu.edu (Harold Hunt)
Date: Sat, 19 Oct 2002 14:03:00 -0000
Subject: x-server with window-manager
In-Reply-To: 
Message-ID: 

Sven,

> > For future reference, Cygwin/XFree86 is not in any way based on Xnest.
>
>
> i tought that i've read something like that.
> was it Xvfb? but it's not so important...
>

You must be reading some really ancient materials.  There was a very early
version of Cygwin/XFree86 (about two or three years ago) that was a hack on
Xvfb.  However, since then Cygwin/XFree86 has been completely rewritten and
now we directly use the ``fb'' and ``shadow'' layers that are used by many
of the XFree86 drivers for graphics cards.  But, none of that is really
important...

Harold


From huntharo@msu.edu  Sat Oct 19 14:04:00 2002
From: huntharo@msu.edu (Harold Hunt)
Date: Sat, 19 Oct 2002 14:04:00 -0000
Subject: x-server with window-manager
In-Reply-To: 
Message-ID: 

Sven,

> > OK, but how to i start XWin.exe so it will work in "rootless"-mode?
>
> OK, i found out, that i should start "XWin -rootless" but i still need a
> window-manager afterwards (like twm) ro have a window-titlebar.
>
> will there be a window-manager integrated into XWin that uses
> Win32-native windows? (native title-bar, buttons, resizing etc.)
>

I said earlier that you would still have to run an X Window Manager.  Yes,
Cygwin/XFree86 will eventually have a window manager that opens X windows in
Windows windows.  However, we only got rootless support three days ago, so I
wouldn't count on that integrated window manager being finished any time
soon, unless you are willing to help write it.

Harold


From frank.l.lane@boeing.com  Sat Oct 19 14:09:00 2002
From: frank.l.lane@boeing.com (Lane, Frank L)
Date: Sat, 19 Oct 2002 14:09:00 -0000
Subject: x-server with window-manager
Message-ID: <3B2480653E7D2C4E8AA5699598D691C4230085@xch-se-03.se.nos.boeing.com>

Hi Harold,

I'm trying to learn and maybe that puts me out of the loop here.  But, I'll
ask anyway.  Is there a place users, like myself, can go and see a list of
outstanding projects for cygwin?  You know, the one's that you authors would
allow us to help on.

Thanks,
Frank

-----Original Message-----
From: Harold Hunt [mailto:huntharo@msu.edu]
Sent: Saturday, October 19, 2002 4:05 PM
To: cygwin-xfree@cygwin.com
Subject: RE: x-server with window-manager


Sven,


I said earlier that you would still have to run an X Window Manager.  Yes,
Cygwin/XFree86 will eventually have a window manager that opens X windows in
Windows windows.  However, we only got rootless support three days ago, so I
wouldn't count on that integrated window manager being finished any time
soon, unless you are willing to help write it.

Harold


From huntharo@msu.edu  Sat Oct 19 15:03:00 2002
From: huntharo@msu.edu (Harold L Hunt II)
Date: Sat, 19 Oct 2002 15:03:00 -0000
Subject: x-server with window-manager
In-Reply-To: <3B2480653E7D2C4E8AA5699598D691C4230085@xch-se-03.se.nos.boeing.com>
References: <3B2480653E7D2C4E8AA5699598D691C4230085@xch-se-03.se.nos.boeing.com>
Message-ID: <3DB1D6B7.9090106@msu.edu>

Frank,

I'm not sure if Cygwin proper maintains an open development items list, 
but Cygwin/XFree86 has a development to-do page:
http://xfree86.cygwin.com/devel/todo.html

Some of the items listed on that page are more housekeeping, such as 
integrating the Wine DirectDraw headers with Cygwin's win32api package, 
while others are sort of wish-list items, such as writing the 
Windows-based window manager that works together with the new rootless 
mode.  The new rootless mode itself will require a lot of attention, as 
we could provide an option that would allow root menus to work (but this 
wouldn't allow you to click the focus through to a Windows window; we 
also need to handle non-rectangular windows created with the X Shape 
Extension.

Then there is xwinclip, which Chris Twiner has put a lot of work into 
and I need to review and accept his patches... his work should allow us 
to integrate clipboard support into XWin.exe, rather than having to run 
a stand-alone executable.

Hmm... I just realized that the To-Do list needs to be updated and 
several items need to be added.  I will try to get around to that soon.

Harold

Lane, Frank L wrote:

>Hi Harold,
>
>I'm trying to learn and maybe that puts me out of the loop here.  But, I'll
>ask anyway.  Is there a place users, like myself, can go and see a list of
>outstanding projects for cygwin?  You know, the one's that you authors would
>allow us to help on.
>
>Thanks,
>Frank
>
>-----Original Message-----
>From: Harold Hunt [mailto:huntharo@msu.edu]
>Sent: Saturday, October 19, 2002 4:05 PM
>To: cygwin-xfree@cygwin.com
>Subject: RE: x-server with window-manager
>
>
>Sven,
>
>
>I said earlier that you would still have to run an X Window Manager.  Yes,
>Cygwin/XFree86 will eventually have a window manager that opens X windows in
>Windows windows.  However, we only got rootless support three days ago, so I
>wouldn't count on that integrated window manager being finished any time
>soon, unless you are willing to help write it.
>
>Harold
>  
>


From zakki@peppermint.jp  Sat Oct 19 22:35:00 2002
From: zakki@peppermint.jp (MATSUZAKI Kensuke)
Date: Sat, 19 Oct 2002 22:35:00 -0000
Subject: [PATCH] X Shape Extension
Message-ID: 

Hello,

Here is a patch that adds "X Shape Extension" to rootless mode.
With this, xeyes seems to work.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: xshapeextension.patch
Type: application/octet-stream
Size: 9559 bytes
Desc: not available
URL: 

From d98macke@dtek.chalmers.se  Sun Oct 20 03:02:00 2002
From: d98macke@dtek.chalmers.se (Marcus Lindblom)
Date: Sun, 20 Oct 2002 03:02:00 -0000
Subject: Rootless mode only works on one monitor
Message-ID: <000401c2781f$d165e370$91f70bc1@fizzgig>

Hi!

Am running Cygwin and Test67 of XWin.exe, a GF4 Ti4200 and a
nView-enhanced desktop (which windows sees as one monitor at 2560x1024,
not as two 1280x1024).

Rootless mode is really cool, but the windows only shows on one of the
screens (the primary).

Also, when running with a root window, I can get it to strectch across
both screens, but I get the same bug that was reported a while ago: a
white part on the right side. Looks like only the 2048 leftmost pixel
columns are redrawn, and the rest are missed out (they get redrawn
sometimes, but very seldom.)

/Marcus


From kgk@pharm.auth.gr  Sun Oct 20 04:27:00 2002
From: kgk@pharm.auth.gr (Kyriakos Kachrimanis)
Date: Sun, 20 Oct 2002 04:27:00 -0000
Subject: multiple windows
Message-ID: <001a01c2782c$0a949900$5e05cf9b@pharm.auth.gr>

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 huntharo@msu.edu  Sun Oct 20 09:44:00 2002
From: huntharo@msu.edu (Harold L Hunt II)
Date: Sun, 20 Oct 2002 09:44:00 -0000
Subject: Rootless mode only works on one monitor
In-Reply-To: <000401c2781f$d165e370$91f70bc1@fizzgig>
References: <000401c2781f$d165e370$91f70bc1@fizzgig>
Message-ID: <3DB2DD71.4050706@msu.edu>

Marcus,

Try it with the ``-engine 1'' parameter and report your results.

Harold

Marcus Lindblom wrote:

>Hi!
>
>Am running Cygwin and Test67 of XWin.exe, a GF4 Ti4200 and a
>nView-enhanced desktop (which windows sees as one monitor at 2560x1024,
>not as two 1280x1024).
>
>Rootless mode is really cool, but the windows only shows on one of the
>screens (the primary).
>
>Also, when running with a root window, I can get it to strectch across
>both screens, but I get the same bug that was reported a while ago: a
>white part on the right side. Looks like only the 2048 leftmost pixel
>columns are redrawn, and the rest are missed out (they get redrawn
>sometimes, but very seldom.)
>
>/Marcus
>
>  
>


From d98macke@dtek.chalmers.se  Sun Oct 20 12:08:00 2002
From: d98macke@dtek.chalmers.se (Marcus Lindblom)
Date: Sun, 20 Oct 2002 12:08:00 -0000
Subject: Rootless mode only works on one monitor
In-Reply-To: <3DB2DD71.4050706@msu.edu>
Message-ID: <001101c2786c$11d94d10$91f70bc1@fizzgig>

Problems solved!

The first was my bad (told nView not to let apps span two screens when
maximizing, do'h!).

'-engine 1' took care of the redraw problem, which appeared with
rootless as well.

/Marcus

> From: cygwin-xfree-owner@cygwin.com 
> 
> Try it with the ``-engine 1'' parameter and report your results.
> 
> Harold
> 
> Marcus Lindblom wrote:
> 
> >Hi!
> >
> >Am running Cygwin and Test67 of XWin.exe, a GF4 Ti4200 and a
> >nView-enhanced desktop (which windows sees as one monitor at 
> 2560x1024,
> >not as two 1280x1024).
> >
> >Rootless mode is really cool, but the windows only shows on 
> one of the
> >screens (the primary).
> >
> >Also, when running with a root window, I can get it to 
> strectch across
> >both screens, but I get the same bug that was reported a while ago: a
> >white part on the right side. Looks like only the 2048 leftmost pixel
> >columns are redrawn, and the rest are missed out (they get redrawn
> >sometimes, but very seldom.)
> >
> >/Marcus
> >
> >  
> >
> 


From jc.gervais@videotron.ca  Sun Oct 20 12:54:00 2002
From: jc.gervais@videotron.ca (Jean-Claude Gervais)
Date: Sun, 20 Oct 2002 12:54:00 -0000
Subject: Rootless mode only works on one monitor
In-Reply-To: <001101c2786c$11d94d10$91f70bc1@fizzgig>
Message-ID: 

Marcus,

	Could you post the details of how you get multiple-monitors to work with X?



-----Original Message-----
From: cygwin-xfree-owner@cygwin.com [mailto:cygwin-xfree-owner@cygwin.com]On
Behalf Of Marcus Lindblom
Sent: Sunday, October 20, 2002 3:08 PM
To: cygwin-xfree@cygwin.com
Subject: RE: Rootless mode only works on one monitor

Problems solved!

The first was my bad (told nView not to let apps span two screens when
maximizing, do'h!).

'-engine 1' took care of the redraw problem, which appeared with
rootless as well.

/Marcus

> From: cygwin-xfree-owner@cygwin.com
>
> Try it with the ``-engine 1'' parameter and report your results.
>
> Harold
>
> Marcus Lindblom wrote:
>
> >Hi!
> >
> >Am running Cygwin and Test67 of XWin.exe, a GF4 Ti4200 and a
> >nView-enhanced desktop (which windows sees as one monitor at
> 2560x1024,
> >not as two 1280x1024).
> >
> >Rootless mode is really cool, but the windows only shows on
> one of the
> >screens (the primary).
> >
> >Also, when running with a root window, I can get it to
> strectch across
> >both screens, but I get the same bug that was reported a while ago: a
> >white part on the right side. Looks like only the 2048 leftmost pixel
> >columns are redrawn, and the rest are missed out (they get redrawn
> >sometimes, but very seldom.)
> >
> >/Marcus
> >
> >
> >
>


From d98macke@dtek.chalmers.se  Sun Oct 20 13:32:00 2002
From: d98macke@dtek.chalmers.se (Marcus Lindblom)
Date: Sun, 20 Oct 2002 13:32:00 -0000
Subject: Rootless mode only works on one monitor
In-Reply-To: 
Message-ID: <001201c27877$ca3e7f50$91f70bc1@fizzgig>

I sort of did that, didn't I? ;)

Note that I am running both monitors from the same graphics adapter, and
use driver software to link them together as one big screen. I haven't
tested using the WinXP-multimon feature, or using two separate adapters.
(I have a voodoo2 which I used with a GF1 before I got the GF4).

I think XWin tries to open one maximized window (albeit transparent or
non-existant, whatever, anyway it uses that as a measure on how big the
screen is), and only create subwindows within that border. As you
probably know, maximizing a window with Windows-multimon only put's it
on one screen, so XWin only get's one screen. As I said, I use nView
(nVidia driver thingy) to get one big monitor, so windows doesn't know
that it's two of them, thus no problem in running xwin on two monitors,
as it is only one.

This is a bit silly if you're running rootless though, but I do believe
that is why it works for me. (It fits the problems and my solutions to
it below, i.e. I had to start xwin-test67.exe non-rootless and tell
nview to allow it to maximize to both screens, then I could get rootless
windows on both monitors.)

/Marcus

> -----Original Message-----
> From: cygwin-xfree-owner@cygwin.com 
> [mailto:cygwin-xfree-owner@cygwin.com] On Behalf Of 
> Jean-Claude Gervais
> Sent: den 20 oktober 2002 21:54
> To: cygwin-xfree@cygwin.com
> Subject: RE: Rootless mode only works on one monitor
> 
> 
> Marcus,
> 
> 	Could you post the details of how you get 
> multiple-monitors to work with X?
> 
> 
> 
> -----Original Message-----
> From: cygwin-xfree-owner@cygwin.com 
> [mailto:cygwin-xfree-owner@cygwin.com]On
> Behalf Of Marcus 
> Lindblom
> Sent: Sunday, October 20, 2002 3:08 PM
> To: cygwin-xfree@cygwin.com
> Subject: RE: Rootless mode only works on one monitor
> 
> Problems solved!
> 
> The first was my bad (told nView not to let apps span two screens when
> maximizing, do'h!).
> 
> '-engine 1' took care of the redraw problem, which appeared with
> rootless as well.
> 
> /Marcus
> 
> > From: cygwin-xfree-owner@cygwin.com
> >
> > Try it with the ``-engine 1'' parameter and report your results.
> >
> > Harold
> >
> > Marcus Lindblom wrote:
> >
> > >Hi!
> > >
> > >Am running Cygwin and Test67 of XWin.exe, a GF4 Ti4200 and a
> > >nView-enhanced desktop (which windows sees as one monitor at
> > 2560x1024,
> > >not as two 1280x1024).
> > >
> > >Rootless mode is really cool, but the windows only shows on
> > one of the
> > >screens (the primary).
> > >
> > >Also, when running with a root window, I can get it to
> > strectch across
> > >both screens, but I get the same bug that was reported a 
> while ago: a
> > >white part on the right side. Looks like only the 2048 
> leftmost pixel
> > >columns are redrawn, and the rest are missed out (they get redrawn
> > >sometimes, but very seldom.)
> > >
> > >/Marcus
> > >
> > >
> > >
> >
> 


From jc.gervais@videotron.ca  Sun Oct 20 14:21:00 2002
From: jc.gervais@videotron.ca (Jean-Claude Gervais)
Date: Sun, 20 Oct 2002 14:21:00 -0000
Subject: Rootless mode only works on one monitor
In-Reply-To: <001201c27877$ca3e7f50$91f70bc1@fizzgig>
Message-ID: 

I see.

I'm using two graphics adapters on Windows 2000, but I can't get XWin to
come up on the second display, no matter what I try.



-----Original Message-----
From: cygwin-xfree-owner@cygwin.com [mailto:cygwin-xfree-owner@cygwin.com]On
Behalf Of Marcus Lindblom
Sent: Sunday, October 20, 2002 4:32 PM
To: cygwin-xfree@cygwin.com
Subject: RE: Rootless mode only works on one monitor

I sort of did that, didn't I? ;)

Note that I am running both monitors from the same graphics adapter, and
use driver software to link them together as one big screen. I haven't
tested using the WinXP-multimon feature, or using two separate adapters.
(I have a voodoo2 which I used with a GF1 before I got the GF4).

I think XWin tries to open one maximized window (albeit transparent or
non-existant, whatever, anyway it uses that as a measure on how big the
screen is), and only create subwindows within that border. As you
probably know, maximizing a window with Windows-multimon only put's it
on one screen, so XWin only get's one screen. As I said, I use nView
(nVidia driver thingy) to get one big monitor, so windows doesn't know
that it's two of them, thus no problem in running xwin on two monitors,
as it is only one.

This is a bit silly if you're running rootless though, but I do believe
that is why it works for me. (It fits the problems and my solutions to
it below, i.e. I had to start xwin-test67.exe non-rootless and tell
nview to allow it to maximize to both screens, then I could get rootless
windows on both monitors.)

/Marcus

> -----Original Message-----
> From: cygwin-xfree-owner@cygwin.com
> [mailto:cygwin-xfree-owner@cygwin.com] On Behalf Of
> Jean-Claude Gervais
> Sent: den 20 oktober 2002 21:54
> To: cygwin-xfree@cygwin.com
> Subject: RE: Rootless mode only works on one monitor
>
>
> Marcus,
>
>       Could you post the details of how you get
> multiple-monitors to work with X?
>
>
>
> -----Original Message-----
> From: cygwin-xfree-owner@cygwin.com
> [mailto:cygwin-xfree-owner@cygwin.com]On
> Behalf Of Marcus
> Lindblom
> Sent: Sunday, October 20, 2002 3:08 PM
> To: cygwin-xfree@cygwin.com
> Subject: RE: Rootless mode only works on one monitor
>
> Problems solved!
>
> The first was my bad (told nView not to let apps span two screens when
> maximizing, do'h!).
>
> '-engine 1' took care of the redraw problem, which appeared with
> rootless as well.
>
> /Marcus
>
> > From: cygwin-xfree-owner@cygwin.com
> >
> > Try it with the ``-engine 1'' parameter and report your results.
> >
> > Harold
> >
> > Marcus Lindblom wrote:
> >
> > >Hi!
> > >
> > >Am running Cygwin and Test67 of XWin.exe, a GF4 Ti4200 and a
> > >nView-enhanced desktop (which windows sees as one monitor at
> > 2560x1024,
> > >not as two 1280x1024).
> > >
> > >Rootless mode is really cool, but the windows only shows on
> > one of the
> > >screens (the primary).
> > >
> > >Also, when running with a root window, I can get it to
> > strectch across
> > >both screens, but I get the same bug that was reported a
> while ago: a
> > >white part on the right side. Looks like only the 2048
> leftmost pixel
> > >columns are redrawn, and the rest are missed out (they get redrawn
> > >sometimes, but very seldom.)
> > >
> > >/Marcus
> > >
> > >
> > >
> >
>


From nahor@bravobrava.com  Sun Oct 20 15:09:00 2002
From: nahor@bravobrava.com (Jehan)
Date: Sun, 20 Oct 2002 15:09:00 -0000
Subject: Rootless mode only works on one monitor
In-Reply-To: <3DB2DD71.4050706@msu.edu>
References: <3DB2DD71.4050706@msu.edu> <001101c2786c$11d94d10$91f70bc1@fizzgig>
Message-ID: 

Marcus Lindblom wrote:

> Problems solved!
>
> The first was my bad (told nView not to let apps span two screens when
> maximizing, do'h!).

By default, XWin open a window as big as the primary desktop. Setting 
nView to use both monitors as one big desktop is one solution.
But you can also have two desktops (so the taskbar isn't extended on 
both screen and a mazimized window fit on one monitor only) and use the 
-screen parameter to force XWin to be bigger than the primary desktop.




From huntharo@msu.edu  Sun Oct 20 15:59:00 2002
From: huntharo@msu.edu (Harold L Hunt II)
Date: Sun, 20 Oct 2002 15:59:00 -0000
Subject: Rootless mode only works on one monitor
In-Reply-To: <3DB2DD71.4050706@msu.edu>
References: <3DB2DD71.4050706@msu.edu> <001101c2786c$11d94d10$91f70bc1@fizzgig> 
Message-ID: <3DB33543.8070703@msu.edu>

Yes, we should look into doing something that would allow rootless-mode 
windows to be placed anywhere on the virtual display area.  I think that 
may only require setting the size of the fake Windows-window to the size 
of the virtual display region.  Should be easy, right? ;)

Harold

Jehan wrote:

> Marcus Lindblom wrote:
>
>> Problems solved!
>>
>> The first was my bad (told nView not to let apps span two screens when
>> maximizing, do'h!).
>
>
> By default, XWin open a window as big as the primary desktop. Setting 
> nView to use both monitors as one big desktop is one solution.
> But you can also have two desktops (so the taskbar isn't extended on 
> both screen and a mazimized window fit on one monitor only) and use 
> the -screen parameter to force XWin to be bigger than the primary desktop.
>
>
>


From huntharo@msu.edu  Sun Oct 20 17:58:00 2002
From: huntharo@msu.edu (Harold L Hunt II)
Date: Sun, 20 Oct 2002 17:58:00 -0000
Subject: [PATCH] X Shape Extension
In-Reply-To: 
References: 
Message-ID: <3DB35143.7050401@msu.edu>

Matsuzaki,

I have applied your patch to my local tree and I like it.  It seems to 
work well and it also seems to perform a little better.

I will be making a Server Test Series release tomorrow with your patch 
included.

Thanks for your great work,

Harold

MATSUZAKI Kensuke wrote:

>Hello,
>
>Here is a patch that adds "X Shape Extension" to rootless mode.
>With this, xeyes seems to work.
>
>  
>


From huntharo@msu.edu  Sun Oct 20 20:34:00 2002
From: huntharo@msu.edu (Harold Hunt)
Date: Sun, 20 Oct 2002 20:34:00 -0000
Subject: [ANNOUNCEMENT] Server Test 68
Message-ID: 

Links:

I just posted Test 68 to the server development page:
http://xfree86.cygwin.com/devel/shadow/

You can install the Test 68 package via setup.exe by selecting the
'test' package (and be sure to check the 'Bin' box): XFree86-xserv-4.2.0-15

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-Test68.exe.bz2 (1106 KiB)

Server source, direct link:
http://www.msu.edu/~huntharo/xwin/shadow/xwin-20021020-2321.tar.bz2 (90 KiB)

xc/programs/Xserver/hw/xwin (all files) diff against 20021020 XFree86 CVS:
http://www.msu.edu/~huntharo/xwin/shadow/xwin-20021020-2321.diff (14 KiB)


Changes:

1) Add support for non-rectangular windows created by the X Shape Extension
while in Rootless mode (e.g., ``XWin -rootless'').  (MATSUZAKI Kensuke)

2) Not in the release build, but in the sources: Clean up the RANDR
extension code to match the latest RANDR interface.  This can't be enabled
yet because it crashes on startup in 32 bit per pixel mode. (Harold Hunt)


Release plans:

I intend to make XFree86-xserv-4.2.0-15 the stable release as soon as I
receive some feedback that it does not introduce any substantial bugs.  Be
sure to check non-rootless mode with the ``-scrollbars'' parameter and make
sure that the window is created at the correct size and that there is no
wierdness when resizing.  For example, I recall seeing Cygwin/XFree86
startup with the display area being chopped to allow space for scrollbars
that were not being displayed.  I didn't look into that one --- so I would
appreciate it if someone else could verify that it happens.


Enjoy,

Harold


From choice15@gmx.de  Mon Oct 21 02:33:00 2002
From: choice15@gmx.de (choice15@gmx.de)
Date: Mon, 21 Oct 2002 02:33:00 -0000
Subject: Cygwin Remote: Want to implement a Citrix Metaframe alternative
References:  <006c01c27048$a32b5f00$4c64a8c0@ibsfreiburg.de> <200210102358.46666.rasjidw@openminddev.net> <004601c2734e$6b27a9c0$4c64a8c0@ibsfreiburg.de>
Message-ID: <00e901c278e4$e3e55790$4c64a8c0@ibsfreiburg.de>


Hi all

http://sourceforge.net/projects/ibsxnet/

Ok, the First Release of this Project  (ICA Citrix Metaframe altenative
Client for X11 with Gygwin) is released. This Project is published under the
GPL (is this ok but the Project need Cygwin Binaries?)

How does it works:

The Logon Client looks like an little Win32 GUI App (Look & Feel)
It connect via an SSH2 connection to the LINUX X11-Server (in my Case Debian
3.0)
to an an OpenBSD SSH Server and authenticates with an Users thadts must be
present on the Linux System (such as root or an other User)

On the login to the Linux System the bash_profile Batshscript was calling
"always" a
x11netini.sh Script thad catch an Commandlineargument (xnet100_hook).
If the Hook is 100 then it Startup the KDE-Desktop "startkde"

Properties: An Tabbed Register Dialog is implemented for some User defiened
Actions, but it is Password protected (password is: qrzx)

Bad things: This is NOT a Full funtional Version 1.0.0 and the UI Layout is
in German Lang
and the Sourcecode is not yet added this Time)







----- Original Message -----
From: 
To: ; "Thomas Chadwick" 
Sent: Monday, October 14, 2002 8:53 AM
Subject: Re: Cygwin Remote: Want to implement a Citrix Metaframe alternative


> Hi all,
>
> The Implementation of my Cygwin Logon Programm works fine,
> but the Workarraound with SAMBA (Singlesign on is not the real Deal)
> has any One an Idea?
>
> I want to try an Implementaton of SSH2 Protokoll to my Client to make
> the Authentication to my X-Server (via SSH witout the Cygwin Bash)
>
> I dont want (like commercial StarWin implementation use th "insecure XPDM"
> Protocol.
>
> Note: I tryin to register my Project on Sourceforge.org to make it common
> avaiable under the GPL. (searchname: xnet)
>
>
>
> > On Thu, 10 Oct 2002 8:34 pm, choice15@gmx.de wrote:
> > >
> > > I have handled the Problem with ssh-keygen -t dsa to bake up an
Key-pair
> > > and distribute it to the X-Server and Cygwin Client.
> >
> > Do these keys have passphrases?  If yes, then how is it different to
> asking
> > for a password.  If no, then how have you made the system secure?
> >
> > I am interested in the development of this idea, but would be very
> concerned
> > about the use of passphrase-less keys.
> >
> > Rasjid.
> >
>


From wj@sunroot.de  Mon Oct 21 02:58:00 2002
From: wj@sunroot.de (Walter.Justen)
Date: Mon, 21 Oct 2002 02:58:00 -0000
Subject: Cannot start X server
Message-ID: <3DB3CF90.5080701@sunroot.de>

Hi there,

i have seen the enclosed mail from Nicolas at the archive. I have the 
same problems. First the xserver works fine, after a reboot of the 
systems it dont work again.

Is the a solution ...

regards
Walter


    * From: Nicolas F Rouquette
    * Subject: Cannot start X server
    * Date: Tue, 15 Oct 2002 11:48:29 -0700

------------------------------------------------------------------------

I have been running cygwin & X for quite a while. Recently, my setup got 
corrupted after a setup session gone bad (not sure why).
Today, I reinstalled everything (cygwin & xfree) from the internet but I 
can't start a basic X server. Here's what I get:

$ startx

waiting for X server to begin accepting connections .
..
.. [repeated many times]
..
giving up.
xinit: Permission denied (errno 13): unable to connect to X server

waiting for X server to shut down

xinit: Server error

The /tmp/XWin.log doesn't seem to have particularly alarming messages,
except for the ownership message that I've read in the mailing list 
archive to ignore
(perhaps it no longer should???)

---------------------
ddxProcessArgument - Initializing default screens
winInitializeDefaultScreens - w 1600 h 1200
winInitializeDefaultScreens - Returning
_XSERVTransmkdir: Owner of /tmp/.X11-unix should be set to root
winDetectSupportedEngines - Windows NT/2000/XP
winDetectSupportedEngines - DirectDraw installed
winDetectSupportedEngines - Allowing PrimaryDD
winDetectSupportedEngines - DirectDraw4 installed
winDetectSupportedEngines - Returning, supported engines 0000001f
winSetEngine - Using Shadow DirectDraw NonLocking
winAdjustVideoModeShadowDDNL - Using Windows display depth of 32 bits 
per pixel
winAdjustForAutoHide - Original WorkArea: 0 0 1166 1600
winAdjustForAutoHide - Adjusted WorkArea: 0 0 1166 1600
winCreateBoundingWindowWindowed - WindowClient w 1594 h 1135 r 1594 l 0 
b 1135 t 0
winCreateBoundingWindowWindowed -  Returning
winAllocateFBShadowDDNL - lPitch: 6376
winFinishScreenInitFB - Masks: 00ff0000 0000ff00 000000ff
winInitVisualsShadowDDNL - Masks 00ff0000 0000ff00 000000ff BPRGB 8 d 24 
bpp 32
winCreateDefColormap - Deferring to fbCreateDefColormap ()
winScreenInit - returning
Could not init font path element /usr/X11R6/lib/X11/fonts/Speedo/, 
removing from list!
Could not init font path element /usr/X11R6/lib/X11/fonts/Type1/, 
removing from list!
Could not init font path element /usr/X11R6/lib/X11/fonts/100dpi/, 
removing from list!
-----------------------

Suggestions?

-- Nicolas.






From Dr.Volker.Zell@oracle.com  Mon Oct 21 04:29:00 2002
From: Dr.Volker.Zell@oracle.com (Dr. Volker Zell)
Date: Mon, 21 Oct 2002 04:29:00 -0000
Subject: Problems with xwinclip version 0.5/0.6
Message-ID: <871y6kxc8o.fsf@vzell-de.de.oracle.com>

Hi

I have some problems with the different versions of xwinclip.

o xwinclip-Test05:

Marking and pasting works in both directions from Windows to X and
vice versa.
But when marking in an X window the marked area disapppears as 
soon as I release the left mouse button, but at least it's copied 
to the clipboard.

Now my problem: In the cygwin X-version of XEmacs 21.4 (patch 6) 
I do not get active regions anymore because of this feature. So
all the region commands do not work anymore rendering Xemacs almost
useless.

When killing xwinclip the active regions work again but of course now
I can only copy between X windows.

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 !!

So this fixes the xemacs active region behaviour.

But now xwinclip works only in one direction and it also depends
from where you start marking regions.

This is what I found:

When I start marking regions in a Windows window (Ww) I can paste it
in an X window (Xw).
But as soon as I mark a region in an Xw the clipboard contents
which gets pasted in the Ww is the last text I marked in the Ww.

It looks like from that point on there are now two independent clipboards
one for Windows and on for Xfree.

Any hints or at least can somebody confirm my findings ?

Ciao
  Volker
 
By the way the new rootless mode works great. I'm using the latest 4.2.0-15


From j_tetazoo@hotmail.com  Mon Oct 21 05:33:00 2002
From: j_tetazoo@hotmail.com (Thomas Chadwick)
Date: Mon, 21 Oct 2002 05:33:00 -0000
Subject: Cannot start X server
Message-ID: 

If you, too, are seeing the messages about not finding fonts, then it
is covered in the FAQ...

http://xfree86.cygwin.com/docs/faq/cygwin-xfree-faq.html#q-removing-font-path-element

Note that the FAQ is a little out of date.  You should NOT be using 
Xinstall.sh to install XFree86, you should be using the Cygwin setup program 
and selecting what you want from the XFree86 section.

>From: "Walter.Justen" 
>Reply-To: cygwin-xfree@cygwin.com
>To: cygwin-xfree@cygwin.com
>Subject: Cannot start X server
>Date: Mon, 21 Oct 2002 11:57:36 +0200
>
>Hi there,
>
>i have seen the enclosed mail from Nicolas at the archive. I have the same 
>problems. First the xserver works fine, after a reboot of the systems it 
>dont work again.
>
>Is the a solution ...
>
>regards
>Walter
>
>
>    * From: Nicolas F Rouquette
>    * Subject: Cannot start X server
>    * Date: Tue, 15 Oct 2002 11:48:29 -0700
>
>------------------------------------------------------------------------
>
>I have been running cygwin & X for quite a while. Recently, my setup got 
>corrupted after a setup session gone bad (not sure why).
>Today, I reinstalled everything (cygwin & xfree) from the internet but I 
>can't start a basic X server. Here's what I get:
>
>$ startx
>
>waiting for X server to begin accepting connections .
>..
>.. [repeated many times]
>..
>giving up.
>xinit: Permission denied (errno 13): unable to connect to X server
>
>waiting for X server to shut down
>
>xinit: Server error
>
>The /tmp/XWin.log doesn't seem to have particularly alarming messages,
>except for the ownership message that I've read in the mailing list archive 
>to ignore
>(perhaps it no longer should???)
>
>---------------------
>ddxProcessArgument - Initializing default screens
>winInitializeDefaultScreens - w 1600 h 1200
>winInitializeDefaultScreens - Returning
>_XSERVTransmkdir: Owner of /tmp/.X11-unix should be set to root
>winDetectSupportedEngines - Windows NT/2000/XP
>winDetectSupportedEngines - DirectDraw installed
>winDetectSupportedEngines - Allowing PrimaryDD
>winDetectSupportedEngines - DirectDraw4 installed
>winDetectSupportedEngines - Returning, supported engines 0000001f
>winSetEngine - Using Shadow DirectDraw NonLocking
>winAdjustVideoModeShadowDDNL - Using Windows display depth of 32 bits per 
>pixel
>winAdjustForAutoHide - Original WorkArea: 0 0 1166 1600
>winAdjustForAutoHide - Adjusted WorkArea: 0 0 1166 1600
>winCreateBoundingWindowWindowed - WindowClient w 1594 h 1135 r 1594 l 0 b 
>1135 t 0
>winCreateBoundingWindowWindowed -  Returning
>winAllocateFBShadowDDNL - lPitch: 6376
>winFinishScreenInitFB - Masks: 00ff0000 0000ff00 000000ff
>winInitVisualsShadowDDNL - Masks 00ff0000 0000ff00 000000ff BPRGB 8 d 24 
>bpp 32
>winCreateDefColormap - Deferring to fbCreateDefColormap ()
>winScreenInit - returning
>Could not init font path element /usr/X11R6/lib/X11/fonts/Speedo/, removing 
>from list!
>Could not init font path element /usr/X11R6/lib/X11/fonts/Type1/, removing 
>from list!
>Could not init font path element /usr/X11R6/lib/X11/fonts/100dpi/, removing 
>from list!
>-----------------------
>
>Suggestions?
>
>-- Nicolas.


_________________________________________________________________
Get a speedy connection with MSN Broadband.?? Join now! 
http://resourcecenter.msn.com/access/plans/freeactivation.asp


From strube@physik3.gwdg.de  Mon Oct 21 06:00:00 2002
From: strube@physik3.gwdg.de (Hans Werner Strube)
Date: Mon, 21 Oct 2002 06:00:00 -0000
Subject: Rootless: how to get wm menu?
Message-ID: <200210211300.PAA23460@r2d2.physik3.gwdg.de>

How do I open the X11 window-manager menu when working in rootless mode?
When clicking a mouse button on the background, I get a Windows menu.
There should be a small area or special icon as an event proxy for the
missing X11 background.


From c_twiner@hotmail.com  Mon Oct 21 08:51:00 2002
From: c_twiner@hotmail.com (Chris Twiner)
Date: Mon, 21 Oct 2002 08:51:00 -0000
Subject: Problems with xwinclip version 0.5/0.6
Message-ID: 

Hi Volker,

Can you try the version I posted last month (there were several versions but 
the last post holds the best version).

It solves the clearing of the selection.  I am suprised that the test06 
solved your problem, it didn't with me or other users.  I use NEdit so I 
have the same issue with active regions.

With respect to the selection maintaining two different clipboards can you 
tell me if it seems to behave the same with my changes?

Also if you're testing rootless mode it would be good to know if it works in 
that (it looks for a focus change in the root window so I am not sure it 
will), I haven't had time to have a look yet.

Regards,

Chris




_________________________________________________________________
Surf the Web without missing calls! Get MSN Broadband. 
http://resourcecenter.msn.com/access/plans/freeactivation.asp


From nahor@bravobrava.com  Mon Oct 21 08:56:00 2002
From: nahor@bravobrava.com (Jehan)
Date: Mon, 21 Oct 2002 08:56:00 -0000
Subject: Rootless mode only works on one monitor
In-Reply-To: <3DB2DD71.4050706@msu.edu>
References: <3DB2DD71.4050706@msu.edu> <001101c2786c$11d94d10$91f70bc1@fizzgig>  <3DB33543.8070703@msu.edu>
Message-ID: 

Harold L Hunt II wrote:

> Yes, we should look into doing something that would allow rootless-mode
> windows to be placed anywhere on the virtual display area.  I think that
> may only require setting the size of the fake Windows-window to the size
> of the virtual display region.  Should be easy, right? ;)

Getting all the desktops is easy with EnumDisplayMonitors.

The problem is the non rectangular shape. One desktop could be 1280x1024 
while the other is 640x480, so there would be a non visible area that 
could be pretty annoying, especially with WM that have "smart placement".

	Jehan




From agrimm@redwood.rsc.raytheon.com  Mon Oct 21 10:14:00 2002
From: agrimm@redwood.rsc.raytheon.com (Andrew Grimm)
Date: Mon, 21 Oct 2002 10:14:00 -0000
Subject: Cannot start X server
Message-ID: 


I was having the exact same problem starting X under the newest Cygwin
release.  I also found this very frustrating as I have been running X for
quite some time with no problems, then *boom* it suddenly broke.

One option that worked for me was to downgrade to the previous version of
the DLL (backout 1.3.13-2 to 1.3.12-4).  This is simple to do using the
setup program but is not a long-term solution.

I am not an expert on this, but some research revealed that 1.3.13-2 has
turned on the "ntsec" option by default.  If your computer is in an NT
domain, this affects you.  To check, compare the UID/GID reported by your
"id -a" command with the ownership of your existing files "ls -ln $HOME".

If they don't match, you need to update your /etc/passwd and/or /etc/group
files.  You can do this by replacing the  entry in
/etc/passwd with the output of "mkpasswd -d -u " and
updating /etc/group with the output of "mkgroup -d | grep ::"
(note that the angled brackets are meant to indicate variables and are not
literally part of the commands).

This is not really an XFree problem, rather it is a global Cygwin issue
caused by a policy change that took most people by surprise.

Hope that fixes your particular problem,
Andy


From wj@sunroot.de  Mon Oct 21 10:32:00 2002
From: wj@sunroot.de (Walter Justen)
Date: Mon, 21 Oct 2002 10:32:00 -0000
Subject: Cannot start X server
In-Reply-To: 
References: 
Message-ID: <20021021192709.4554f521.wj@sunroot.de>

Thomas,

thanks for reply. 

The installation of the packages dont solve it. 
Bevor i reboot the systems it works fine whithout the packages in the same configuration.

regards
Walter

On Mon, 21 Oct 2002 08:33:08 -0400
"Thomas Chadwick"  wrote:

> If you, too, are seeing the messages about not finding fonts, then it
> is covered in the FAQ...
> 
> http://xfree86.cygwin.com/docs/faq/cygwin-xfree-faq.html#q-removing-font-path-element
> 
> Note that the FAQ is a little out of date.  You should NOT be using 
> Xinstall.sh to install XFree86, you should be using the Cygwin setup program 
> and selecting what you want from the XFree86 section.
> 


From huntharo@msu.edu  Mon Oct 21 10:41:00 2002
From: huntharo@msu.edu (Harold L Hunt II)
Date: Mon, 21 Oct 2002 10:41:00 -0000
Subject: Cannot start X server
In-Reply-To: 
References:  <20021021192709.4554f521.wj@sunroot.de>
Message-ID: <3DB43C5D.6020006@msu.edu>

Walter,

Please follows Andrew's suggestion that he just mailed in.  You could 
first try to downgrade cygwin1.dll, if that works, upgrade cygwin1.dll 
to the current version and repair your passwd file as Andrew describes.

Harold

Walter Justen wrote:

>Thomas,
>
>thanks for reply. 
>
>The installation of the packages dont solve it. 
>Bevor i reboot the systems it works fine whithout the packages in the same configuration.
>
>regards
>Walter
>
>On Mon, 21 Oct 2002 08:33:08 -0400
>"Thomas Chadwick"  wrote:
>
>  
>
>>If you, too, are seeing the messages about not finding fonts, then it
>>is covered in the FAQ...
>>
>>http://xfree86.cygwin.com/docs/faq/cygwin-xfree-faq.html#q-removing-font-path-element
>>
>>Note that the FAQ is a little out of date.  You should NOT be using 
>>Xinstall.sh to install XFree86, you should be using the Cygwin setup program 
>>and selecting what you want from the XFree86 section.
>>
>>    
>>


From yadin@pitt.edu  Mon Oct 21 11:11:00 2002
From: yadin@pitt.edu (Yadin Y. Goldschmidt)
Date: Mon, 21 Oct 2002 11:11:00 -0000
Subject: color of title bar
Message-ID: 

In rootless mode, how I do I change the color of the window title bar? It
always appears green and I would like to change it to blue like my other
windows' title bars. Also is there a way that the color of the title bar
changes color depending if the window is currently selected or not?
TIA, Yadin.





From cgf@redhat.com  Mon Oct 21 13:31:00 2002
From: cgf@redhat.com (Christopher Faylor)
Date: Mon, 21 Oct 2002 13:31:00 -0000
Subject: Cannot start X server
In-Reply-To: 
References: 
Message-ID: <20021021203326.GA20069@redhat.com>

On Mon, Oct 21, 2002 at 11:11:19AM -0600, Andrew Grimm wrote:
>This is not really an XFree problem, rather it is a global Cygwin issue
>caused by a policy change that took most people by surprise.

Sounds like most people need to read the cygwin release announcements a
little more closely rather than just blindly upgrading.

cgf


From agrimm@redwood.rsc.raytheon.com  Mon Oct 21 15:09:00 2002
From: agrimm@redwood.rsc.raytheon.com (Andrew Grimm)
Date: Mon, 21 Oct 2002 15:09:00 -0000
Subject: Cannot start X server
Message-ID: 


> >This is not really an XFree problem, rather it is a global Cygwin issue
> >caused by a policy change that took most people by surprise.
>
> Sounds like most people need to read the cygwin release announcements a
> little more closely rather than just blindly upgrading.
>
> cgf

It was not my intention to sound cynical.  I was merely pointing out that
the problem in question was not an XFree-specific problem.

However....

To a Cygwin developer or expert "CYGWIN=ntsec is now on by default"
probably serves fine as a description (albeit buried amongst 37 other
change notes).  However, most of the Cygwin-using community would not
mentally equate that with "I need to update my authentication files or
Cygwin will break" or know offhand how to do that.

The User's Guide is great.  However, your average user will not have waded
through the ntsec section for the fun of it, because a standard Cygwin
install works out of the box.  Ironically, uneducated users may be the
one price of quality (note that I must group myself as uneducated in the
true ways of Cygwin, although I've been using it and XFree for some time).

The "setup" program, which I run every morning like a kid at Christmas,
encourages people to install updates by making it mind-numbingly simple.
This is usually good and quite cool.  However, given that model, perhaps
a package mechanism which would inform users of required (non-automatable)
configuration changes would be nice.

This is not a flame.  I have a deep appreciation for the hard work that
goes into Cygwin and the quality of the evolving product--as well as for
the time spent by those individuals whose efforts make Cygwin possible.
I merely suggest that the upgrade process could do more to identify
potential impacts and suggest corrective action, be that in the release
notes or integrated into the process itself.

-Andy


From CPlonski@nbc6.com  Mon Oct 21 16:04:00 2002
From: CPlonski@nbc6.com (Chris Plonski)
Date: Mon, 21 Oct 2002 16:04:00 -0000
Subject: Uses for Cygwin/XFree86
Message-ID: 

I have used Cygwin/XFree86 for a couple of years now almost exclusively for XDMCP.  I think it's one of the best products available for this.  And now with the new rootless mode, Irix seems quite at home on my PC!

However, every time I fire it up in "stand-alone" mode (non-XDMCP) via the startxwin.bat or .sh scripts, I am amazed by the apparent dearth of X applications (with the exception of xterm and xeyes).  Are most people using this product for home-brewed applications or am I missing something really obvious?  I would really like to know what most people are using this apparently very powerful tool for.


From huntharo@msu.edu  Mon Oct 21 16:18:00 2002
From: huntharo@msu.edu (Harold L Hunt II)
Date: Mon, 21 Oct 2002 16:18:00 -0000
Subject: Uses for Cygwin/XFree86
In-Reply-To: 
References: 
Message-ID: <3DB48B51.2040002@msu.edu>

Chris,

Well, I am one of the developers of Cygwin/XFree86 and until recently I 
used it almost exclusively for XDMCP, just as yourself.

However, I have just started using emacs and xfig under Cygwin/XFree86 
to typset some of my homeworks for class.  xfig is really the best way 
to draw finite state machines that can be exported into a format that 
Latex can import, and xfig is, you guessed it, an X application. 
 Granted, xfig is not available as a Cygwin package, but it is available 
as a tarball that is easy to install.

Some people use Cygwin/XFree86 for IBM's OpenDX, which is a graphical 
modeling program of some sort that is useful to chemists, I believe.

I also use Cygwin/XFree86 to display X forwarded windows via ssh from 
other hosts... this is more convenient that XDMCP when the remote host 
is running some crap WM like CDE, or when XDMCP logins are disabled to 
save processing resources (like at the cyclotron lab that I work at).  

I would be willing to bet that 95% of the Cygwin/XFree86 users are using 
it almost exclusively for XDMCP or X forwarding; there are simply not 
enough easy-to-install packages available for Cygwin/XFree86 for people 
to be running a lot of local applications.  Granted, there are also 
those users out there that are running KDE and all of  its applications 
under Cygwin/XFree86, but those users are limited in number.

I hope that that reflects the actual user community to a degree, though 
I am sure that others will pipe in to prove me wrong :)

Harold

Chris Plonski wrote:

>I have used Cygwin/XFree86 for a couple of years now almost exclusively for XDMCP.  I think it's one of the best products available for this.  And now with the new rootless mode, Irix seems quite at home on my PC!
>
>However, every time I fire it up in "stand-alone" mode (non-XDMCP) via the startxwin.bat or .sh scripts, I am amazed by the apparent dearth of X applications (with the exception of xterm and xeyes).  Are most people using this product for home-brewed applications or am I missing something really obvious?  I would really like to know what most people are using this apparently very powerful tool for.
>  
>


From huntharo@msu.edu  Mon Oct 21 16:22:00 2002
From: huntharo@msu.edu (Harold L Hunt II)
Date: Mon, 21 Oct 2002 16:22:00 -0000
Subject: Uses for Cygwin/XFree86
In-Reply-To: 
References: 
Message-ID: <3DB48C38.1080308@msu.edu>

Chris,

By the way, if you have not been following the list for the past week, 
the new ``-rootless'' mode makes it much more convenient to work with a 
combination of Windows programs, X forwarded windows, and local X 
windows.  For example, I can be using Xfig, emacs, and xterm (for 
running make on my Latex) under Cygwin/XFree86, and I can 
``click-through'' to the Adobe Acrobat window that is underlying the X 
programs that I am using to see what the latest compiled PDF looks like; 
when done with Acrobat I can click back on one of the X windows to bring 
it back into focus.

I will really have to add a screenshot of the rootless mode.

Harold



From rrschulz@cris.com  Mon Oct 21 16:25:00 2002
From: rrschulz@cris.com (Randall R Schulz)
Date: Mon, 21 Oct 2002 16:25:00 -0000
Subject: Uses for Cygwin/XFree86
In-Reply-To: 
Message-ID: <5.1.0.14.2.20021021161101.02d1de78@pop3.cris.com>

Chris,

There are 139 executables in the /usr/X11R6/bin directory of my 
installation. Granted, most of them are just X and XFree86 utilities and 
elementary components, but it's more than just XTerm and XEyes.

I've compiled the NCAR graphics environment (version 4.2.3) under 
Cygwin/XFree86.

Somewhere along the line I picked up xfig, but I can't remember where (it's 
not listed as a part of the Cygwin distribution). Ahh, there we go: 
. That must be where I got 
it. Look there for other contributed software. OpenDX looks cool.

Also try this page:  
( for English).

What sort of applications are you looking for? What do you wish you had 
that you don't?

I don't know for what purposes others use this "very powerful tool," but 
it's an integral part of my plan for world domination.

Randall Schulz
Mountain View, CA USA


At 16:04 2002-10-21, Chris Plonski wrote:
>I have used Cygwin/XFree86 for a couple of years now almost exclusively 
>for XDMCP.  I think it's one of the best products available for this.  And 
>now with the new rootless mode, Irix seems quite at home on my PC!
>
>However, every time I fire it up in "stand-alone" mode (non-XDMCP) via the 
>startxwin.bat or .sh scripts, I am amazed by the apparent dearth of X 
>applications (with the exception of xterm and xeyes).  Are most people 
>using this product for home-brewed applications or am I missing something 
>really obvious?  I would really like to know what most people are using 
>this apparently very powerful tool for.


From luke.kendall@cisra.canon.com.au  Mon Oct 21 20:41:00 2002
From: luke.kendall@cisra.canon.com.au (luke.kendall@cisra.canon.com.au)
Date: Mon, 21 Oct 2002 20:41:00 -0000
Subject: Uses for Cygwin/XFree86
In-Reply-To: <3DB48B51.2040002@msu.edu>
Message-ID: <20021022034142.59E99340A1@nevin.research.canon.com.au>

On 21 Oct, Harold L Hunt II wrote:
>  I also use Cygwin/XFree86 to display X forwarded windows via ssh from  
>  other hosts... this is more convenient that XDMCP when the remote host  
>  is running some crap WM like CDE, or when XDMCP logins are disabled to  
>  save processing resources (like at the cyclotron lab that I work at).   

At home, my wife uses is to run a nice GUI mail client that's safe from
Windows viruses etc. (since it's actually running on a Linux box),
under Windows 95.

I'm also doing the same thing on my laptop at work, for when I'm off
site and want to slogin to read my email (which again, is delivered to
my Linux machine there).

luke


From luke.kendall@cisra.canon.com.au  Mon Oct 21 20:49:00 2002
From: luke.kendall@cisra.canon.com.au (luke.kendall@cisra.canon.com.au)
Date: Mon, 21 Oct 2002 20:49:00 -0000
Subject: How to start rxvt via .xinitrc?
Message-ID: <20021022034941.371FD340A1@nevin.research.canon.com.au>

I prefer rxvt over xterm, and it's great that it works with or without
Cygwin/XFree86 running.

But I just discovered that if I start rxvt like I do xterm from inside
my .xinitrc, it starts up in non-X11 mode.  It appears to depend on
DISPLAY - if it's just ".0" it runs without X11, if it's ":0.0" it runs
inside X11.

But what's the right way to get it to start up via .xinitrc?  It seems
wrong that I should do:

	DISPLAY=":0$DISPLAY" rxvt -sr -sk -backspacekey ^? &

luke


From rgu@TheWorld.com  Mon Oct 21 20:53:00 2002
From: rgu@TheWorld.com (Rick Umali)
Date: Mon, 21 Oct 2002 20:53:00 -0000
Subject: color of title bar
In-Reply-To: 
References: 
Message-ID: <20021022035304.GA66148131@TheWorld.com>

Yadin Y. Goldschmidt asked:
> In rootless mode, how I do I change the color of the window title bar? It
> always appears green and I would like to change it to blue ...

I believe you may need to explore the window manager. Starting the X
Server with the default startxwin.bat or startxwin.sh normally fires up
a window manager. By default, it's typically twm. twm (or whichever
window manager you're using) is in charge of the title bars, and their
colors.

I created a .twmrc in my home directory with these lines:

     Color
     {
         DefaultBackground "rgb:2/a/9"
         DefaultForeground "gray85"
         TitleBackground "rgb:2/a/9"
         TitleForeground "gray85"
     }

Check the twm manual page for more details.
-- 
Rick Umali    rgu@TheWorld.com    www.rickumali.com


From rrschulz@cris.com  Mon Oct 21 20:58:00 2002
From: rrschulz@cris.com (Randall R Schulz)
Date: Mon, 21 Oct 2002 20:58:00 -0000
Subject: Uses for Cygwin/XFree86
In-Reply-To: <20021022034142.59E99340A1@nevin.research.canon.com.au>
References: <3DB48B51.2040002@msu.edu>
Message-ID: <5.1.0.14.2.20021021205538.02b3cb38@pop3.cris.com>

Luke,

Would that mail client be Sylpheed?

I looked into it and generally liked what I saw, but the fact that it uses 
MH style message storage (one file per message!!) led me to decide I could 
not switch to it. That's far to much storage overhead for me to tolerate 
since I keep very large archives of the many mailing lists to which I 
subscribe.

If it's some other mail client, I'd like to hear about it, because I'm 
looking to trade up from Eudora, but the only feature that it's missing 
(apart from it's limited platform support) is message threading based on 
message IDs (not merely subject headers). Everything else about it is 
pretty good, especially it's searching and filtering capabilties.

Randall Schulz
Mountain View, CA USA


At 20:41 2002-10-21, you wrote:
>On 21 Oct, Harold L Hunt II wrote:
> >  I also use Cygwin/XFree86 to display X forwarded windows via ssh from
> >  other hosts... this is more convenient that XDMCP when the remote host
> >  is running some crap WM like CDE, or when XDMCP logins are disabled to
> >  save processing resources (like at the cyclotron lab that I work at).
>
>At home, my wife uses is to run a nice GUI mail client that's safe from 
>Windows viruses etc. (since it's actually running on a Linux box), under 
>Windows 95.
>
>I'm also doing the same thing on my laptop at work, for when I'm off site 
>and want to slogin to read my email (which again, is delivered to my Linux 
>machine there).
>
>luke


From luke.kendall@cisra.canon.com.au  Mon Oct 21 21:14:00 2002
From: luke.kendall@cisra.canon.com.au (luke.kendall@cisra.canon.com.au)
Date: Mon, 21 Oct 2002 21:14:00 -0000
Subject: Uses for Cygwin/XFree86
In-Reply-To: <5.1.0.14.2.20021021205538.02b3cb38@pop3.cris.com>
Message-ID: <20021022041405.CFD9D340A1@nevin.research.canon.com.au>

On 21 Oct, Randall R Schulz wrote:
>  Would that mail client be Sylpheed? 
>   
>  I looked into it and generally liked what I saw, but the fact that it uses  
>  MH style message storage (one file per message!!) led me to decide I could  
>  not switch to it. That's far to much storage overhead for me to tolerate  
>  since I keep very large archives of the many mailing lists to which I  
>  subscribe. 

Actually, it's Postilion (http://www.postilion.org/), which is based on
the Nextstep mail program (Mail.app).

Problems with Postilion:

1) Nic Bernstein isn't actively developing it anymore - I think he may
   have decided that GNUMail would be a better long term area to devote
   his efforts.  (GNUMail is based on GNUstep, and works.  Big
   mailboxes require a lot of memory, though, currently.)

2) Postilion requires Tk/Tcl for the GUI, and a few other libraries, so
   it's not a complete piece of cake to compile and install.  It can
   handle 100MB mail folders, though it starts getting very slow when
   the messages are in the 10 - 20 thousand range, IIRC.
 
>  If it's some other mail client, I'd like to hear about it, because I'm  
>  looking to trade up from Eudora, but the only feature that it's missing  
>  (apart from it's limited platform support) is message threading based on  
>  message IDs (not merely subject headers). Everything else about it is  
>  pretty good, especially it's searching and filtering capabilties 

Postilion allows mailboxes to be presented as sorted by date, in
arrival order (mbox order), by subject, subject-by-date (which is
*similar* to threading), by sender, reverse date, etc.

It's also very extensible in editing messages being composed and
operations on messages in mailboxes.

I tried sylpheed maybe 6 months ago, but it didn't do enough (then).
I think I have my hopes pinned on GNUMail, for the future.

luke


From luke.kendall@cisra.canon.com.au  Mon Oct 21 21:28:00 2002
From: luke.kendall@cisra.canon.com.au (luke.kendall@cisra.canon.com.au)
Date: Mon, 21 Oct 2002 21:28:00 -0000
Subject: How to start rxvt via .xinitrc?
In-Reply-To: <20021022034941.371FD340A1@nevin.research.canon.com.au>
Message-ID: <20021022042829.67848340A1@nevin.research.canon.com.au>

On 22 Oct, To: cygwin-xfree@cygwin.com wrote:
>  But what's the right way to get it to start up via .xinitrc?  It seems 
>  wrong that I should do: 
>   
>  	DISPLAY=":0$DISPLAY" rxvt -sr -sk -backspacekey ^? & 

Well, experiments show that

	DISPLAY="$DISPLAY.0" rxvt -sr -sk -backspacekey ^? &

appears to work, though it still seems like I'm being very kludgey
there.

luke


From david.meleedy@analog.com  Mon Oct 21 23:06:00 2002
From: david.meleedy@analog.com (David Meleedy)
Date: Mon, 21 Oct 2002 23:06:00 -0000
Subject: startx fails with cygwin 1.3.13-2, 1.3.12-4 works
Message-ID: <200210220606.g9M662Y14799@zeus.spd.analog.com>


I can't use "startx" anymore with the new cygwin package on my 
Windows 2000 machine.  The problem goes away when I revert to
the previous version.  I totally uninstalled and reinstalled cygwin
(deleting the entire folder) to make sure there was nothing non-standard
about my setup.

What happens is that when I run "startx", which invokes xinit,
I get the gray window with the X cursor that moves around, but nothing
else, and then in the cygwin window, the following messages appear:

: startx

waiting for X server to begin accepting connections .
..
..
( a lot of double dot lines appear )
..
( eventually I click the close box on the Cygwin/XFree86 application)

giving up.
xinit: No such file or directory (errno 2): unable to connect to Xserver
xinit: No such process (errno 3): Server error.


To me it looks like there might be something going on with the
socket connection to the Xserver?  Just a guess, all I know is
that the old version works.

Thanks for looking into this.

-Dave

________________________________________________________________________
David Meleedy				Analog Devices, Inc.
David.Meleedy@analog.com		Three Technology Way
Phone: 617 461 3494			Norwood, MA  02062-9106  USA


From aon.912045499@aon.at  Tue Oct 22 00:05:00 2002
From: aon.912045499@aon.at (Schneeberger Heinz)
Date: Tue, 22 Oct 2002 00:05:00 -0000
Subject: Keyboard Layout
Message-ID: 

When I start with Cygwin , I have my normal German Layout . Changing to
xfree86 I have an US-Layout.
How I can change the Layout in xfree86 permanently to German?

With my kindest regards

Schneeberger Heinrich
TB f??r Vermessung

8430 Leibnitz, Kudlichweg 4
Tel.:   (03452) 85771
Mobil: (0664) 462 1975

mailto:tbv.schneeb@aon.at




From wj@sunroot.de  Tue Oct 22 00:08:00 2002
From: wj@sunroot.de (Walter.Justen)
Date: Tue, 22 Oct 2002 00:08:00 -0000
Subject: Cannot start X server
References: 
Message-ID: <3DB4F961.2080605@sunroot.de>

Thanks Andrew works fine now !!!



From wj@sunroot.de  Tue Oct 22 01:02:00 2002
From: wj@sunroot.de (Walter.Justen)
Date: Tue, 22 Oct 2002 01:02:00 -0000
Subject: Keyboard Layout
References: 
Message-ID: <3DB505DC.3000709@sunroot.de>

Heinz,

when you start x set german keyboard with

setxkbmap de


Gruss
Walter

Schneeberger Heinz wrote:

>When I start with Cygwin , I have my normal German Layout . Changing to
>xfree86 I have an US-Layout.
>How I can change the Layout in xfree86 permanently to German?
>
>With my kindest regards
>
>Schneeberger Heinrich
>TB f??r Vermessung
>
>8430 Leibnitz, Kudlichweg 4
>Tel.:   (03452) 85771
>Mobil: (0664) 462 1975
>
>mailto:tbv.schneeb@aon.at
>
>
>
>



From david.meleedy@analog.com  Tue Oct 22 01:02:00 2002
From: david.meleedy@analog.com (David Meleedy)
Date: Tue, 22 Oct 2002 01:02:00 -0000
Subject: startx fails may be ntsec issue instead
Message-ID: <200210220801.g9M81sF02594@jetcar.spd.analog.com>


I had reported a problem where startx was failing due to
the X server not accepting connections.  It was pointed
out to me that from 1.3.12-4 to 1.3.13-2, the ntsec
option was on by default and this would affect NT domain
machines (which is what I am using on my Windows 2000 machine).

So here is the symptoms of the problem on a UID basis:

DMELEEDY-D01-13: id
uid=500(AdiPcAdmin) gid=544(Administrators) groups=544(Administrators)
DMELEEDY-D01-14: touch foo
DMELEEDY-D01-15: ls -l foo
DMELEEDY-D01-16: ls -l foo
-rw-r--r--    1 7469 Administ        0 Oct 22 03:41 foo

As you can see, with 1.3.13-2, the file is owned by UID "7469" not
500.

If I revert to the old dll, 1.3.13-2, the same file (not recreated):

DMELEEDY-D01-3: ls -l foo
-rw-r--r--    1 AdiPcAdm Administ        0 Oct 22 03:41 foo

has the correct file permissions.

So it was suggested that I use, mkpasswd to fix the problem.
The problem with this is that my machine was set up by my
corporation to use an NT domain, but it would not be connected
to that domain unless I use VPN.  So without VPN running, this
is what happened:

DMELEEDY-D01-1: mkpasswd -d -u AdiPcAdm
mkpasswd: [2453] Could not find domain controller for this domain

So then I connected with VPN to see if I could do it after that:

DMELEEDY-D0102: mkpasswd -d -u AdiPcAdm
mkpasswd: [2221] The user name could not be found.

Now this machine was set up with it's own local domain, so that
is probably why it couldn't find the domain controller in the first
case, and then in the 2nd case the domain controller didn't
know anything about my local accounts.

So, another problem I saw is when I reinstalled cygwin with the new
dll, some files weren't being created properly, I remember seeing
flashing by something about permissions not being correct to create
the /var/spool/texmf/ls-R file, and indeed that file is 0 bytes long.

So other than preventing "startx" from working, this is breaking
the basic install process for other packages as well.

What can be done to fix this?

Is there a way to shut off ntsec so I can get things working with the new dll?

Please let me know if I can supply you with any further
information.  Also, I will be glad to help debug any tests
you may set up.  Just tell me the details of how to download
any test code.

Thanks,

-Dave

________________________________________________________________________
David Meleedy				Analog Devices, Inc.
David.Meleedy@analog.com		Three Technology Way
Phone: 617 461 3494			Norwood, MA  02062-9106  USA



From Dr.Volker.Zell@oracle.com  Tue Oct 22 02:01:00 2002
From: Dr.Volker.Zell@oracle.com (Dr. Volker Zell)
Date: Tue, 22 Oct 2002 02:01:00 -0000
Subject: Problems with xwinclip version 0.5/0.6
In-Reply-To:  ("Chris Twiner"'s
 message of "Mon, 21 Oct 2002 15:51:20 +0000")
References: 
Message-ID: <874rbeyhla.fsf@vzell-de.de.oracle.com>

>>>>> "Chris" == Chris Twiner  writes:

    Chris> Hi Volker,
    Chris> Can you try the version I posted last month (there were several
    Chris> versions but the last post holds the best version).

Okay I downloaded

o xwinclip-20020622-0007.tar.bz2 - http://www.msu.edu/~huntharo/xwin/xwinclip/xwinclip-20020622-0007.tar.bz2
and
o xwinclip_chris_twiner - http://sources.redhat.com/ml/cygwin-xfree/2002-09/msg00042/xwinclip_chris_twiner.zip 
attached to your message from # Sun, 08 Sep 2002 22:23:21 +0000

I then copied over your stuff to the xwinclip-20020622-0007 release and did a 

xmkmf
make
./build_dll.SH

The last step gave me:

Build the Dll

linking hook dll DllMain as entry point
Creating library file: libxwinclip_hook.import.a
xwinclip_hook.o(.eh_frame+0x11):xwinclip_hook.cpp: undefined reference to `__gxx_personality_v0'

So I added to the link line in the build_dll.SH script: -L/lib/mingw -lstdc++

---
#!/bin/bash

echo 
echo Build the Dll
echo 

gcc -c xwinclip_hook.cpp -o xwinclip_hook.o
echo linking hook dll DllMain as entry point
gcc -Wl,--out-implib,libxwinclip_hook.import.a -shared -e _DllMain@12 -mno-cygwin -o xwinclip_hook.dll xwinclip_hook.o -L/lib/mingw -lstdc++
---

Now I had xwinclip.exe and xwinclip_hook.dll. I tried with both rootless and nonrooless mode
but in both cases when starting up xwinclip I get:

UnicodeSupport - Windows NT/2000/XP
starting thread
message id is 36
message id is 129
message id is 131
the hwnd is 1179884
!!! Message for another window recieved, ioctl not being called before windows messages recieved is probable problem
could not get set hook func

    Chris> It solves the clearing of the selection.  I am suprised that the
    Chris> test06 solved your problem, it didn't with me or other users.  I use
    Chris> NEdit so I have the same issue with active regions.

    Chris> With respect to the selection maintaining two different clipboards can
    Chris> you tell me if it seems to behave the same with my changes?

See above

    Chris> Also if you're testing rootless mode it would be good to know if it
    Chris> works in that (it looks for a focus change in the root window so I am

See above

    Chris> not sure it will), I haven't had time to have a look yet.

    Chris> Regards,

    Chris> Chris

Ciao
  Volker


From c_twiner@hotmail.com  Tue Oct 22 02:25:00 2002
From: c_twiner@hotmail.com (Chris Twiner)
Date: Tue, 22 Oct 2002 02:25:00 -0000
Subject: Problems with xwinclip version 0.5/0.6
Message-ID: 

Hi Volker,

I notice you had a mingw error.  Could you please try using the gcc provided 
with cygwin, as I believe myself and others use.  It should remove most of 
the problems you're seeing as neither myself nor others seem to have them.

As to the output, that's correct it's debug information to let me know what 
is going on message wise through the system.  The ioctl statement is due to 
the cygwin code for the windows device explicitly mentioning setting the 
hwnd it listens to (or listens to all).  Which doesn't really hurt anything 
in the code you have.

After that message it should also display information in the xwinclip window 
about what windows and X messages are being processed involving the 
clipboards, again just debug information.

Thank you for trying to use the code though.

Chris

_________________________________________________________________
Unlimited Internet access for only $21.95/month.?? Try MSN! 
http://resourcecenter.msn.com/access/plans/2monthsfree.asp


From david.meleedy@analog.com  Tue Oct 22 04:15:00 2002
From: david.meleedy@analog.com (David Meleedy)
Date: Tue, 22 Oct 2002 04:15:00 -0000
Subject: nt domain security issues with cygwin dll 1.3.13-2
Message-ID: <200210221115.g9MBFMg03172@jetcar.spd.analog.com>


this is FYI, a startx problem that ends up being
an NT domain issue.

I had reported a problem where startx was failing due to
the X server not accepting connections.  It was pointed
out to me that from 1.3.12-4 to 1.3.13-2, the ntsec
option was on by default and this would affect NT domain
machines (which is what I am using on my Windows 2000 machine).

So here is the symptoms of the problem on a UID basis:

DMELEEDY-D01-13: id
uid=500(AdiPcAdmin) gid=544(Administrators) groups=544(Administrators)
DMELEEDY-D01-14: touch foo
DMELEEDY-D01-15: ls -l foo
DMELEEDY-D01-16: ls -l foo
-rw-r--r--    1 7469 Administ        0 Oct 22 03:41 foo

As you can see, with 1.3.13-2, the file is owned by UID "7469" not
500.

If I revert to the old dll, 1.3.13-2, the same file (not recreated):

DMELEEDY-D01-3: ls -l foo
-rw-r--r--    1 AdiPcAdm Administ        0 Oct 22 03:41 foo

has the correct file permissions.

So it was suggested that I use, mkpasswd to fix the problem.
The problem with this is that my machine was set up by my
corporation to use an NT domain, but it would not be connected
to that domain unless I use VPN.  So without VPN running, this
is what happened:

DMELEEDY-D01-1: mkpasswd -d -u AdiPcAdm
mkpasswd: [2453] Could not find domain controller for this domain

So then I connected with VPN to see if I could do it after that:

DMELEEDY-D0102: mkpasswd -d -u AdiPcAdm
mkpasswd: [2221] The user name could not be found.

Now this machine was set up with it's own local domain, so that
is probably why it couldn't find the domain controller in the first
case, and then in the 2nd case the domain controller didn't
know anything about my local accounts.

So, another problem I saw is when I reinstalled cygwin with the new
dll, some files weren't being created properly, I remember seeing
flashing by something about permissions not being correct to create
the /var/spool/texmf/ls-R file, and indeed that file is 0 bytes long.

So other than preventing "startx" from working, this is breaking
the basic install process for other packages as well.

What can be done to fix this?

Is there a way to shut off ntsec so I can get things working with the new dll?

Please let me know if I can supply you with any further
information.  Also, I will be glad to help debug any tests
you may set up.  Just tell me the details of how to download
any test code.

Thanks,

-Dave

________________________________________________________________________
David Meleedy				Analog Devices, Inc.
David.Meleedy@analog.com		Three Technology Way
Phone: 617 461 3494			Norwood, MA  02062-9106  USA



From huntharo@msu.edu  Tue Oct 22 07:30:00 2002
From: huntharo@msu.edu (Harold L Hunt II)
Date: Tue, 22 Oct 2002 07:30:00 -0000
Subject: nt domain security issues with cygwin dll 1.3.13-2
In-Reply-To: <200210221115.g9MBFMg03172@jetcar.spd.analog.com>
Message-ID: 

Dave,

If you are running mkpasswd for a local account, then you do not want to
pass -d to mkpasswd, as that tells it to look for a domain account.  For
your local account you should be running:

mkpasswd -u AdiPcAdm


Only for your domain account should you run:

mkpasswd -d -u [domain-account-username]

Give that a shot and see what happens.

Harold


> -----Original Message-----
> From: cygwin-xfree-owner@cygwin.com
> [mailto:cygwin-xfree-owner@cygwin.com]On Behalf Of David Meleedy
> Sent: Tuesday, October 22, 2002 7:15 AM
> To: cygwin-xfree@cygwin.com
> Subject: nt domain security issues with cygwin dll 1.3.13-2
>
>
>
> this is FYI, a startx problem that ends up being
> an NT domain issue.
>
> I had reported a problem where startx was failing due to
> the X server not accepting connections.  It was pointed
> out to me that from 1.3.12-4 to 1.3.13-2, the ntsec
> option was on by default and this would affect NT domain
> machines (which is what I am using on my Windows 2000 machine).
>
> So here is the symptoms of the problem on a UID basis:
>
> DMELEEDY-D01-13: id
> uid=500(AdiPcAdmin) gid=544(Administrators) groups=544(Administrators)
> DMELEEDY-D01-14: touch foo
> DMELEEDY-D01-15: ls -l foo
> DMELEEDY-D01-16: ls -l foo
> -rw-r--r--    1 7469 Administ        0 Oct 22 03:41 foo
>
> As you can see, with 1.3.13-2, the file is owned by UID "7469" not
> 500.
>
> If I revert to the old dll, 1.3.13-2, the same file (not recreated):
>
> DMELEEDY-D01-3: ls -l foo
> -rw-r--r--    1 AdiPcAdm Administ        0 Oct 22 03:41 foo
>
> has the correct file permissions.
>
> So it was suggested that I use, mkpasswd to fix the problem.
> The problem with this is that my machine was set up by my
> corporation to use an NT domain, but it would not be connected
> to that domain unless I use VPN.  So without VPN running, this
> is what happened:
>
> DMELEEDY-D01-1: mkpasswd -d -u AdiPcAdm
> mkpasswd: [2453] Could not find domain controller for this domain
>
> So then I connected with VPN to see if I could do it after that:
>
> DMELEEDY-D0102: mkpasswd -d -u AdiPcAdm
> mkpasswd: [2221] The user name could not be found.
>
> Now this machine was set up with it's own local domain, so that
> is probably why it couldn't find the domain controller in the first
> case, and then in the 2nd case the domain controller didn't
> know anything about my local accounts.
>
> So, another problem I saw is when I reinstalled cygwin with the new
> dll, some files weren't being created properly, I remember seeing
> flashing by something about permissions not being correct to create
> the /var/spool/texmf/ls-R file, and indeed that file is 0 bytes long.
>
> So other than preventing "startx" from working, this is breaking
> the basic install process for other packages as well.
>
> What can be done to fix this?
>
> Is there a way to shut off ntsec so I can get things working with
> the new dll?
>
> Please let me know if I can supply you with any further
> information.  Also, I will be glad to help debug any tests
> you may set up.  Just tell me the details of how to download
> any test code.
>
> Thanks,
>
> -Dave
>
> ________________________________________________________________________
> David Meleedy				Analog Devices, Inc.
> David.Meleedy@analog.com		Three Technology Way
> Phone: 617 461 3494			Norwood, MA  02062-9106  USA
>
>


From j_tetazoo@hotmail.com  Tue Oct 22 07:51:00 2002
From: j_tetazoo@hotmail.com (Thomas Chadwick)
Date: Tue, 22 Oct 2002 07:51:00 -0000
Subject: [ANNOUNCEMENT] Server Test 68
Message-ID: 

I ran Cygwin Setup and installed package XFree86-xserv-4.2.0-15.  However, 
when I run XWin -rootless, it complains:

>ddxProcessArgument - Initializing default screens
>winInitializeDefaultScreens - w 1024 h 768
>winInitializeDefaultScreens - Returning
>Unrecognized option: -rootless
>use: X [:] [option]
>-a #                   mouse acceleration (pixels)
>-ac                    disable access control restrictions
>-audit int             set audit trail level
>-auth file             select authorization file

[snip]

If I ls -l /usr/X11R6/bin/XWin.exe I see:

>-rwxrwxrwx    1 Administ None      3137536 Oct 20 22:47 
>/usr/X11R6/bin/XWin.exe*

The Oct 20 timestamp is consistant with the Test 68 announcement, so I'm 
pretty sure I have the right version.


_________________________________________________________________
Unlimited Internet access -- and 2 months free!?? Try MSN. 
http://resourcecenter.msn.com/access/plans/2monthsfree.asp


From pechtcha@cs.nyu.edu  Tue Oct 22 07:51:00 2002
From: pechtcha@cs.nyu.edu (Igor Pechtchanski)
Date: Tue, 22 Oct 2002 07:51:00 -0000
Subject: color of title bar
In-Reply-To: <20021022035304.GA66148131@TheWorld.com>
Message-ID: 

On Mon, 21 Oct 2002, Rick Umali wrote:

> Yadin Y. Goldschmidt asked:
> > In rootless mode, how I do I change the color of the window title bar? It
> > always appears green and I would like to change it to blue ...
>
> I believe you may need to explore the window manager. Starting the X
> Server with the default startxwin.bat or startxwin.sh normally fires up
> a window manager. By default, it's typically twm. twm (or whichever
> window manager you're using) is in charge of the title bars, and their
> colors.
>
> I created a .twmrc in my home directory with these lines:
>
>      Color
>      {
>          DefaultBackground "rgb:2/a/9"
>          DefaultForeground "gray85"
>          TitleBackground "rgb:2/a/9"
>          TitleForeground "gray85"
>      }
>
> Check the twm manual page for more details.

Or try fvwm - it has a mode that makes it look just like Windows 95/NT4.
I'm sure with a bit of customizing you could even make it look like XP.
	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 j_tetazoo@hotmail.com  Tue Oct 22 07:56:00 2002
From: j_tetazoo@hotmail.com (Thomas Chadwick)
Date: Tue, 22 Oct 2002 07:56:00 -0000
Subject: NEVERMIND: RE: [ANNOUNCEMENT] Server Test 68
Message-ID: 

Oops.  I just discovered that I had a old XWin.exe in a directory that is 
ahead of /usr/X11R6/bin in my path.  I used the full path and all is well!

Sorry for the false alarm.

>From: "Thomas Chadwick" 
>Reply-To: cygwin-xfree@cygwin.com
>To: cygwin-xfree@cygwin.com
>Subject: RE: [ANNOUNCEMENT] Server Test 68
>Date: Tue, 22 Oct 2002 10:51:21 -0400
>
>I ran Cygwin Setup and installed package XFree86-xserv-4.2.0-15.  However, 
>when I run XWin -rootless, it complains:
>
>>ddxProcessArgument - Initializing default screens
>>winInitializeDefaultScreens - w 1024 h 768
>>winInitializeDefaultScreens - Returning
>>Unrecognized option: -rootless
>>use: X [:] [option]
>>-a #                   mouse acceleration (pixels)
>>-ac                    disable access control restrictions
>>-audit int             set audit trail level
>>-auth file             select authorization file
>
>[snip]
>
>If I ls -l /usr/X11R6/bin/XWin.exe I see:
>
>>-rwxrwxrwx    1 Administ None      3137536 Oct 20 22:47 
>>/usr/X11R6/bin/XWin.exe*
>
>The Oct 20 timestamp is consistant with the Test 68 announcement, so I'm 
>pretty sure I have the right version.
>
>
>_________________________________________________________________
>Unlimited Internet access -- and 2 months free!?? Try MSN. 
>http://resourcecenter.msn.com/access/plans/2monthsfree.asp


_________________________________________________________________
Choose an Internet access plan right for you -- try MSN! 
http://resourcecenter.msn.com/access/plans/default.asp


From alexander.gottwald@s1999.tu-chemnitz.de  Tue Oct 22 07:59:00 2002
From: alexander.gottwald@s1999.tu-chemnitz.de (Alexander Gottwald)
Date: Tue, 22 Oct 2002 07:59:00 -0000
Subject: [ANNOUNCEMENT] Server Test 68
In-Reply-To: 
Message-ID: 

On Tue, 22 Oct 2002, Thomas Chadwick wrote:

> 
> >-rwxrwxrwx    1 Administ None      3137536 Oct 20 22:47 
> >/usr/X11R6/bin/XWin.exe*

The size is ok. Please try /usr/X11R6/bin/XWin -rootless (use full
path) maybe you have another XWin.exe installed somewhere


bye
	ago
-- 
 Alexander.Gottwald@informatik.tu-chemnitz.de 
 http://www.gotti.org           ICQ: 126018723


From pechtcha@cs.nyu.edu  Tue Oct 22 08:06:00 2002
From: pechtcha@cs.nyu.edu (Igor Pechtchanski)
Date: Tue, 22 Oct 2002 08:06:00 -0000
Subject: Cannot start X server
In-Reply-To: <20021021203326.GA20069@redhat.com>
Message-ID: 

Sorry for the cross-post, but I feel it's relevant to both lists...  We
should move any resulting discussion to one of them (probably
cygwin@cygwin.com).

On Mon, 21 Oct 2002, Christopher Faylor wrote:

> On Mon, Oct 21, 2002 at 11:11:19AM -0600, Andrew Grimm wrote:
> >This is not really an XFree problem, rather it is a global Cygwin issue
> >caused by a policy change that took most people by surprise.
>
> Sounds like most people need to read the cygwin release announcements a
> little more closely rather than just blindly upgrading.
> cgf

In retrospective, would it help to mark any other new release with such a
major policy change 'Experimental' for a while?
	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 Dr.Volker.Zell@oracle.com  Tue Oct 22 10:24:00 2002
From: Dr.Volker.Zell@oracle.com (Dr. Volker Zell)
Date: Tue, 22 Oct 2002 10:24:00 -0000
Subject: Problems with xwinclip version 0.5/0.6
In-Reply-To:  ("Chris Twiner"'s
 message of "Tue, 22 Oct 2002 09:25:48 +0000")
References: 
Message-ID: <871y6iqtgk.fsf@vzell-de.de.oracle.com>

>>>>> "Chris" == Chris Twiner  writes:

    Chris> Hi Volker,
    Chris> I notice you had a mingw error.  Could you please try using the gcc
    Chris> provided with cygwin, as I believe myself and others use.  It should
    Chris> remove most of the problems you're seeing as neither myself nor others
    Chris> seem to have them.

Actually I'm using the latest cygwin gcc-3.2-1.
Is it possible to send me your version of xwinclip privatly ?

    Chris> As to the output, that's correct it's debug information to let me know
    Chris> what is going on message wise through the system.  The ioctl statement
    Chris> is due to the cygwin code for the windows device explicitly mentioning
    Chris> setting the hwnd it listens to (or listens to all).  Which doesn't
    Chris> really hurt anything in the code you have.

    Chris> After that message it should also display information in the xwinclip
    Chris> window about what windows and X messages are being processed involving
    Chris> the clipboards, again just debug information.

My xwinclip dies after displaying this messages.

    Chris> Thank you for trying to use the code though.

    Chris> Chris

Ciao
  Volker


From cgf@redhat.com  Tue Oct 22 12:00:00 2002
From: cgf@redhat.com (Christopher Faylor)
Date: Tue, 22 Oct 2002 12:00:00 -0000
Subject: Cannot start X server
In-Reply-To: 
References: <20021021203326.GA20069@redhat.com> 
Message-ID: <20021022190212.GC4828@redhat.com>

On Tue, Oct 22, 2002 at 11:06:01AM -0400, Igor Pechtchanski wrote:
>Sorry for the cross-post, but I feel it's relevant to both lists...  We
>should move any resulting discussion to one of them (probably
>cygwin@cygwin.com).
>
>On Mon, 21 Oct 2002, Christopher Faylor wrote:
>
>> On Mon, Oct 21, 2002 at 11:11:19AM -0600, Andrew Grimm wrote:
>> >This is not really an XFree problem, rather it is a global Cygwin issue
>> >caused by a policy change that took most people by surprise.
>>
>> Sounds like most people need to read the cygwin release announcements a
>> little more closely rather than just blindly upgrading.
>
>In retrospective, would it help to mark any other new release with such a
>major policy change 'Experimental' for a while?

That's what snapshots are for.

cgf


From siii1@kuwait-mail.com  Tue Oct 22 13:06:00 2002
From: siii1@kuwait-mail.com (R. A)
Date: Tue, 22 Oct 2002 13:06:00 -0000
Subject: RESPOND BY FAX URGENTLY!
Message-ID: 

For Your Attention,

(TREAT PRIVATELY BY THE OWNER OF COMPANY)

[ALL REPLIES FROM YOU SHOULD BE BY FAX PLEASE WITH ALL OF YOUR CONTACT INFORMATION STATED]

I am writing to solicite for your cooperation in a multi million dollars international contract supply for the Government of Kuwait. We are a small company and a government employee that won a supply contractorship for the supply of some humanitarian products, but due to the status of our company as having no international banking accounts and registration to recieve the funds, we are contacting you to act as our foreign partner beneficiary so that the fund can be released to you on our behalf as a sub-contractor.

For your information, the contract value was over inflated by 30% and the Kuwait Ministry Of Finance approved the payment, so we would be willing to pay you for your assistance by means of commission from the over inflated sum.
If you can be relied upon and trusted in recieving the funds on our behalf, then please contact me immediately via my private Global Satelite Voice/Fax Number: + 14136386967 and provide me BY FAX ONLY with your Direct Telephone and Fax Numbers, and your Exclusive Email Address including full details of your company and personal profile so that we can evaluate how to incoporate your company as the fund reciever. Make SURE to send a fax with the above details.  As soon as I recieve the information, I shall contact you and discuss the immediate commencement of the project.

Thank you for your anticipated cooperation as I expect your swift response in the above subject.

Regards,
R. Al-Mejrin.
SII International.  

From spetreolle@yahoo.fr  Tue Oct 22 17:16:00 2002
From: spetreolle@yahoo.fr (=?iso-8859-1?q?Sylvain=20Petreolle?=)
Date: Tue, 22 Oct 2002 17:16:00 -0000
Subject: color of title bar
In-Reply-To: 
Message-ID: <20021023001647.38490.qmail@web10104.mail.yahoo.com>

What about xpde (http://www.xpde.com/) ?
> Or try fvwm - it has a mode that makes it look just like Windows
> 95/NT4.
> I'm sure with a bit of customizing you could even make it look like
> XP.
> 	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
>  

___________________________________________________________
Do You Yahoo!? -- Une adresse @yahoo.fr gratuite et en fran??ais !
Yahoo! Mail : http://fr.mail.yahoo.com


From huntharo@msu.edu  Tue Oct 22 19:03:00 2002
From: huntharo@msu.edu (Harold L Hunt II)
Date: Tue, 22 Oct 2002 19:03:00 -0000
Subject: Updated on sourceware: XFree86-xserv-4.2.0-15
Message-ID: 

The XFree86-xserv-4.2.0-15 package has been updated in the Cygwin
distribution.

This is a synchronization with all the fixes that have been applied
from Server Test Series - Test 64 through Server Test Series - Test 68.
These fixes are summarized below:


1) Add support for using XF86Config-style configuration files.
(Alexander Gottwald)

2) Include an X icon and the necessary build rules for building
Windows resource files (even while cross compiling).  (Harold Hunt,
Jehan Bing)

3) Include an initial rootless mode with X Shape Extension support.
(MATSUZAKI Kensuke)

4) Scrollbars support.  (Jehan Bing, Harold Hunt)

5) Warning dialog on disruptive screen depth change --- not quite perfect.
(Harold Hunt)


--
Harold Hunt

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 'XFree86-xserv' 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 at:
cygwin-xfree@sources.redhat.com .  If you want to subscribe go to:
http://cygwin.com/lists.html I would appreciate if you would use
this 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.


From cgf@redhat.com  Tue Oct 22 19:52:00 2002
From: cgf@redhat.com (Christopher Faylor)
Date: Tue, 22 Oct 2002 19:52:00 -0000
Subject: Updated on sourceware: xfree86-xserv-4.2.0-15
In-Reply-To: 
References: 
Message-ID: <20021023025438.GA25595@redhat.com>

On Tue, Oct 22, 2002 at 10:03:06PM -0400, Harold L Hunt II wrote:
>3) Include an initial rootless mode with X Shape Extension support.
>(MATSUZAKI Kensuke)

I just wanted to say that this is really really cool.  I've been waiting
for the "official" release of this and it is really amazing.

I love the fact that the windows are controlled by the X window manager.

Wonderful job!

cgf


From extern.thomas.arend@volkswagen.de  Wed Oct 23 00:18:00 2002
From: extern.thomas.arend@volkswagen.de (Arend, Thomas (SD&M))
Date: Wed, 23 Oct 2002 00:18:00 -0000
Subject: WinXP and setxkbmap
Message-ID: 

Hello everybody,

when changing the keyboard via

	setxkbmap de

I often (not always!) get errors like this:

  Couldn't interpret _XKB_RULES_NAMES property
  Use defaults: rules - 'xfree86' model - 'pc101' layout - 'us'
  Error loading new keyboard description

while the keyboard remains unchanged. After some repetitions of 'setxkbmap
de',
the keyboard IS changed, sometimes with, sometimes without a keyboard
loading
error.

My configuration:

  Windows XP Professional Version 2002 (5.1.2600 Build 2600)
  cygwin-1.3.13-2
  XFree86-base-4.2.0-1
  XFree86-bin-4.2.0-2


Regards,

	Thomas


From danilo.turina@alcatel.it  Wed Oct 23 00:23:00 2002
From: danilo.turina@alcatel.it (Danilo Turina)
Date: Wed, 23 Oct 2002 00:23:00 -0000
Subject: Rootless: how to get wm menu?
Message-ID: <3DB64E2A.40204@alcatel.it>

With WindowMaker, I select one of the applications running under X and 
then press F12.
I think it's the only way.

 > How do I open the X11 window-manager menu when working in rootless mode?
 > When clicking a mouse button on the background, I get a Windows menu.
 > There should be a small area or special icon as an event proxy for the
 > missing X11 background.



From wurster@architur.de  Wed Oct 23 01:19:00 2002
From: wurster@architur.de (Jochen Wurster)
Date: Wed, 23 Oct 2002 01:19:00 -0000
Subject: AW: Problem adding figure to figure float
In-Reply-To: <200210220949.20597.juergen.sp@t-online.de>
Message-ID: 

Hi,

The converters are there and after installinge ImageMagick everything works
fine.
Thank you

Jochen

P.S.: I think lyx should give a more meaningful error message in this case,
like ImageMagick not found or no converter found.



Jochen Wurster wrote:
>> Now inserting pictures works and the picture is show correct in the
pdf/dvi
>> output, but in lyx it shows an error message ("error converting ro
loadable
>> format") instead of the picture.
>> I have tried png and ps files.

>Do you have converters for PNG->EPS and EPS->XPM in Edit->Preferences?
>If it is convert, do you have ImageMagick installed?

>J??rgen.


From c_twiner@hotmail.com  Wed Oct 23 03:11:00 2002
From: c_twiner@hotmail.com (Chris Twiner)
Date: Wed, 23 Oct 2002 03:11:00 -0000
Subject: Problems with xwinclip version 0.5/0.6
Message-ID: 

Hi,

I can send you them directly later (I'm at work now) but..

You say it dies after the messages are displayed, do you mean that xwinclip 
then terminates?  Or do you mean it doesn't seem to do much?

Also I'm still a little confused as to why you needed to change the build 
dll script anyway, what release of cygwin are you using?  Maybe I and the 
others have an older/newer version.

Chris


_________________________________________________________________
Get faster connections??-- switch to??MSN Internet Access! 
http://resourcecenter.msn.com/access/plans/default.asp


From Dr.Volker.Zell@oracle.com  Wed Oct 23 08:27:00 2002
From: Dr.Volker.Zell@oracle.com (Dr. Volker Zell)
Date: Wed, 23 Oct 2002 08:27:00 -0000
Subject: Problems with xwinclip version 0.5/0.6
In-Reply-To:  ("Chris Twiner"'s
 message of "Wed, 23 Oct 2002 10:11:33 +0000")
References: 
Message-ID: <873cqxjhx1.fsf@vzell-de.de.oracle.com>

>>>>> "Chris" == Chris Twiner  writes:

    Chris> Hi,
    Chris> I can send you them directly later (I'm at work now) but..

Thanks, I installed your version and all is fine now. Maybe this can be released
as xwinclip-Test07 ?

    Chris> You say it dies after the messages are displayed, do you mean that
    Chris> xwinclip then terminates?  Or do you mean it doesn't seem to do much?

It terminated with: could not get set hook func

    Chris> Also I'm still a little confused as to why you needed to change the
    Chris> build dll script anyway, what release of cygwin are you using?  Maybe
    Chris> I and the others have an older/newer version.

As I said earlier I have the latest gcc version installed.

gcc -v
Reading specs from /bin/../lib/gcc-lib/i686-pc-cygwin/3.2/specs
Configured with: /netrel/src/gcc-3.2-1/configure --enable-languages=c,c++,f77,java --enable-libgcj --enable-threads=posix --with-system-zlib --enable-nls --without-included-gettext --enable-interpreter --disable-sjlj-exceptions --disable-version-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 --libexecdir=/usr/sbin
Thread model: posix
gcc version 3.2 20020818 (prerelease)

And your build script gives:

Build the Dll

linking hook dll DllMain as entry point
Creating library file: libxwinclip_hook.import.a
xwinclip_hook.o(.eh_frame+0x11):xwinclip_hook.cpp: undefined reference to `__gxx_personality_v0'

When I change the last line from:

gcc -Wl,--out-implib,libxwinclip_hook.import.a -shared -e _DllMain@12 -mno-cygwin -o xwinclip_hook.dll xwinclip_hook.o

to

g++ -Wl,--out-implib,libxwinclip_hook.import.a -shared -e _DllMain@12 -mno-cygwin -o xwinclip_hook.dll xwinclip_hook.o

the script works. But xwinclip with the resulting xwinclip_hook.dll terminates with
the error: could not get set hook func


I have also installed the latest gcc version 2.95.3-10 (cygwin special).
When I change your build script to use this gcc version everything compiles and links OOTB.

#!/bin/bash

echo 
echo Build the Dll
echo 

gcc-2 -c xwinclip_hook.cpp -o xwinclip_hook.o
echo linking hook dll DllMain as entry point
gcc-2 -Wl,--out-implib,libxwinclip_hook.import.a -shared -e _DllMain@12 -mno-cygwin -o xwinclip_hook.dll xwinclip_hook.o 

With this xwinclip_hook.dll everything works fine.


So the problem is gcc-3.2-1.

    Chris> Chris

Ciao
  Volker


From c_twiner@hotmail.com  Wed Oct 23 10:57:00 2002
From: c_twiner@hotmail.com (Chris Twiner)
Date: Wed, 23 Oct 2002 10:57:00 -0000
Subject: Problems with xwinclip version 0.5/0.6
Message-ID: 

Hi,

A release was planned by Harold but he's very busy so it could be a while.  
All is now clear with regards the compiler.

Indeed I used gcc 2.95 not the 3.1 release.

So, the reason it fails with the can't set hook func is that the name 
mangling has changed. I'll investigate what it has changed to.

The failed linking is a little strange but heh.  At least I understand why 
the dynamic loading doesn't work.

chris

_________________________________________________________________
Surf the Web without missing calls!??Get MSN Broadband.  
http://resourcecenter.msn.com/access/plans/freeactivation.asp


From rgu@TheWorld.com  Wed Oct 23 21:17:00 2002
From: rgu@TheWorld.com (Rick Umali)
Date: Wed, 23 Oct 2002 21:17:00 -0000
Subject: Uses for Cygwin/XFree86
In-Reply-To: <3DB48C38.1080308@msu.edu>
References:  <3DB48C38.1080308@msu.edu>
Message-ID: <20021024041716.GA67708225@TheWorld.com>

Harold:

On Mon, Oct 21, 2002 Harold L Hunt II wrote:
> I will really have to add a screenshot of the rootless mode.

I put up three screen shots of me using rootless mode:

http://members.tripod.com/rick_umali/rootless/

Feel free to grab and reuse however you see fit. I love rootless mode!
-- 
Rick Umali    rgu@TheWorld.com    www.rickumali.com


From rrschulz@cris.com  Wed Oct 23 22:00:00 2002
From: rrschulz@cris.com (Randall R Schulz)
Date: Wed, 23 Oct 2002 22:00:00 -0000
Subject: Uses for Cygwin/XFree86
In-Reply-To: <20021024041716.GA67708225@TheWorld.com>
References: <3DB48C38.1080308@msu.edu>
 
 <3DB48C38.1080308@msu.edu>
Message-ID: <5.1.0.14.2.20021023215645.01fdf870@pop3.cris.com>

Rick,

"The document contains no data."

At least that's what Mozilla 1.1 tells me when I access that URL.

Randall Schulz
Mountain View, CA USA


At 21:17 2002-10-23, Rick Umali wrote:
>Harold:
>
>On Mon, Oct 21, 2002 Harold L Hunt II wrote:
> > I will really have to add a screenshot of the rootless mode.
>
>I put up three screen shots of me using rootless mode:
>
>http://members.tripod.com/rick_umali/rootless/
>
>Feel free to grab and reuse however you see fit. I love rootless mode!
>--
>Rick Umali


From satimis@writeme.com  Wed Oct 23 22:14:00 2002
From: satimis@writeme.com (Stephen Liu)
Date: Wed, 23 Oct 2002 22:14:00 -0000
Subject: Uses for Cygwin/XFree86
In-Reply-To: <20021024041716.GA67708225@TheWorld.com>
References: 
	<3DB48C38.1080308@msu.edu>  <20021024041716.GA67708225@TheWorld.com>
Message-ID: <1035436490.1532.76.camel@m40g>

Hi Rich,

What is rootless mode

I found it on Cygwin/XFree86 Cygwin/XFree86, Last updated: 2002-10-20
2321 EDT, as NEWS only.  Any pointer?

I browsed  http://members.tripod.com/rick_umali/rootless/  and found:

rootless-2.jpg (178KB) - SSH to my ISP. X Forwarding enabled. Running
xcalendar ....

What is "xcalendar"?
What do you mean "X Forwarding enable".  Is it allowed to forward
pictures to Windows OS internally without via Internet.  If YES.  HOW?

Thanks in advance.

Stephen Liu


On Thu, 2002-10-24 at 12:17, Rick Umali wrote:
> Harold:
> 
> On Mon, Oct 21, 2002 Harold L Hunt II wrote:
> > I will really have to add a screenshot of the rootless mode.
> 
> I put up three screen shots of me using rootless mode:
> 
> http://members.tripod.com/rick_umali/rootless/
> 
> Feel free to grab and reuse however you see fit. I love rootless mode!
> -- 
> Rick Umali    rgu@TheWorld.com    www.rickumali.com
> 



From Ralf.Habacker@freenet.de  Wed Oct 23 23:46:00 2002
From: Ralf.Habacker@freenet.de (Ralf Habacker)
Date: Wed, 23 Oct 2002 23:46:00 -0000
Subject: [ANNOUNCEMENT] Server Test 68 
Message-ID: <007301c27b29$0143c790$0a1c440a@BRAMSCHE>

Hi all,

>1) Add support for non-rectangular windows created by the X Shape Extension
>while in Rootless mode (e.g., ``XWin -rootless'').  (MATSUZAKI Kensuke)

Thanks to all who are working to get ready this feature.

I've tried to run kwin/kmail/korganizer/konqueror and other kde apps on
cygwin/xfree in rootless mode and they works fine. :-)

>I intend to make XFree86-xserv-4.2.0-15 the stable release as soon as I
>receive some feedback that it does not introduce any substantial bugs.

... then on the kde-cygwin site there will be some screenshots with "windowed"
kde applications.

Great work.

Ralf






From U.Schmidtmann@visicon-online.de  Thu Oct 24 01:13:00 2002
From: U.Schmidtmann@visicon-online.de (Uwe Schmidtmann)
Date: Thu, 24 Oct 2002 01:13:00 -0000
Subject: [ANNOUNCEMENT] Server Test 68
References: <007301c27b29$0143c790$0a1c440a@BRAMSCHE>
Message-ID: <3DB7AC23.1090006@visicon-online.de>


Hello Harold, Hello all.

Just to give some more (late) feedback (hope it helps a bit):

>>I intend to make XFree86-xserv-4.2.0-15 the stable release as soon as I
>>receive some feedback that it does not introduce any substantial bugs.

I have been using the rootless mode since it was first "released" as a 
test for doing my daily programming. I only updated the XWin.exe to the 
test without extended logging as that consumed too much time and disk 
space. What I use is:

- icewm as window manager (task bar always visible and supplying
   the window manager`s menu to open new xterms, apart from that I
   do most of the work via command line anyway), usually one work space
   left unused to be able to "hide" all X windows with one mouse click...
- nedit with multiple windows (my C source code editor, sometimes 6 and
   more distributet over icewm`s workspaces)
- ssh login to my home system
- administration of our internet gateway here in the company (2 LinuX
   boxes)
- mozilla from the LinuX box

In parallel on the Windoze side I used
- Borland C++ to comile and debug while having nedit open
- Mozilla
- Open Office
- setiathome client

I had NO problems at all, everything runs fine except slightly more time 
seems to be needed to open an X window - but that is no problem here, 
maybe it is an illusion anyway.

Cygwin saved me a lot of trouble in my daily work anyway but with 
rootless mode the "context switching" between editing and compiling has 
become extremely convenient.

The Host OS is Windows NT with Service Pack 6.

I did not fully check it on my laptop with Windows 98 yet.

As far as my experience is concerned: Green light for a release...

Regards and have a nice weekend,

Uwe


From R.Hoenlinger@gmx.de  Thu Oct 24 01:46:00 2002
From: R.Hoenlinger@gmx.de (Robert =?ISO-8859-1?Q?H=F6nlinger?=)
Date: Thu, 24 Oct 2002 01:46:00 -0000
Subject: XKB doesn't work
Message-ID: <3DB7B360.1010508@gmx.de>

Hello,

I just installed the new Cygwin/XFree86 server and discovered two problems:
Calling "start XWin +kb -xkbmap de" no longer works. Instead of loading 
the keymap file /tmp/de.xkm it is deleted from the /tmp directory. This 
command worked with the previous version of Cygwin/XFree86. Then neither 
"XWin -help" nor "XWin --help" writes any information about its 
parameters to the shell window. It returns immediately to the shell.

Regards,
Robert



From geek@burri.to  Thu Oct 24 05:10:00 2002
From: geek@burri.to (Brian Gallew)
Date: Thu, 24 Oct 2002 05:10:00 -0000
Subject: Problems with xwinclip version 0.5/0.6
In-Reply-To: 
References: 
Message-ID: <3421.205.201.13.251.1035461347.squirrel@mail.burri.to>

Chris Twiner said:
> Also I'm still a little confused as to why you needed to change the
> build  dll script anyway, what release of cygwin are you using?
> Maybe I and the  others have an older/newer version.

So, the fundamental problem is that gcc-3.2 does name mangling in a
different way than gcc-2.95.  In xwinclip.c you have code which
references "SetHook__Fv" and "RemHook__Fv".  Under gcc-2.95, SetHook
gets mangled to _SetHook__Fv and so it is found properly.  Under
gcc-3.2, SetHook gets mangled to __Z7SetHookv, so it isn't found.

This is the fundamental problem with mixing C++ and C code together. 
I've attached a patch to take care of the problem.


-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: patch
URL: 

From Alexander.Gottwald@informatik.tu-chemnitz.de  Thu Oct 24 05:15:00 2002
From: Alexander.Gottwald@informatik.tu-chemnitz.de (Alexander Gottwald)
Date: Thu, 24 Oct 2002 05:15:00 -0000
Subject: XKB doesn't work
In-Reply-To: <3DB7B360.1010508@gmx.de>
Message-ID: 

Robert H??nlinger wrote:

> Hello,
> 
> I just installed the new Cygwin/XFree86 server and discovered two problems:
> Calling "start XWin +kb -xkbmap de" no longer works. Instead of loading 
> the keymap file /tmp/de.xkm it is deleted from the /tmp directory. This 
> command worked with the previous version of Cygwin/XFree86. Then neither 
> "XWin -help" nor "XWin --help" writes any information about its 
> parameters to the shell window. It returns immediately to the shell.

With the new version the xf86config patch is now build into the server. 
You can configure the xkb options in /etc/X11/XF86Config-4.

If you dont't have that file, get it 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 Dr.Volker.Zell@oracle.com  Thu Oct 24 05:25:00 2002
From: Dr.Volker.Zell@oracle.com (Dr. Volker Zell)
Date: Thu, 24 Oct 2002 05:25:00 -0000
Subject: [ANNOUNCEMENT] Server Test 68
In-Reply-To: <3DB7AC23.1090006@visicon-online.de> (Uwe Schmidtmann's message
 of "Thu, 24 Oct 2002 10:15:31 +0200")
References: <007301c27b29$0143c790$0a1c440a@BRAMSCHE>
	<3DB7AC23.1090006@visicon-online.de>
Message-ID: <87hefcauv1.fsf@vzell-de.de.oracle.com>

Hi all

I'm also using the rootless mode since "the beginning". Never had any problems
except with xwinclip which are solved when using the patched version from Chris Twiner.

For my window manager I'm using WindowMaker-0.80.0-2. There is actually a new patch
release available 0.80.1.

I think we can drop the test status.

My system is
System:   W2K SP2 - 512 MB Ram
          cygwin snapshot from cygwin1-20021018
           - everything mounted binary,
           - CYGWIN = title binmode ntea nontsec


Ciao
  Volker


From Dr.Volker.Zell@oracle.com  Thu Oct 24 05:28:00 2002
From: Dr.Volker.Zell@oracle.com (Dr. Volker Zell)
Date: Thu, 24 Oct 2002 05:28:00 -0000
Subject: XKB doesn't work
In-Reply-To: <3DB7B360.1010508@gmx.de> (Robert
 =?iso-8859-1?q?H=F6nlinger's?= message of "Thu, 24 Oct 2002 10:46:24
 +0200")
References: <3DB7B360.1010508@gmx.de>
Message-ID: <87d6q0auq2.fsf@vzell-de.de.oracle.com>

>>>>> "Robert" == Robert H??nlinger  writes:

    Robert> Hello,
    Robert> I just installed the new Cygwin/XFree86 server and discovered two problems:
    Robert> Calling "start XWin +kb -xkbmap de" no longer works. Instead of
    Robert> loading the keymap file /tmp/de.xkm it is deleted from the /tmp
    Robert> directory. This command worked with the previous version of
    Robert> Cygwin/XFree86. Then neither "XWin -help" nor "XWin --help" writes any
    Robert> information about its parameters to the shell window. It returns
    Robert> immediately to the shell.

Try the new support for the XF86Config file.
There is a version available from

o http://www-user.tu-chemnitz.de/~goal/xfree/test-config-1/X-Server.tar.bz2

It works perfect here for a german keyboard.

    Robert> Regards,
    Robert> Robert

Ciao
  Volker


From choice15@gmx.de  Thu Oct 24 06:12:00 2002
From: choice15@gmx.de (choice15@gmx.de)
Date: Thu, 24 Oct 2002 06:12:00 -0000
Subject: Handling XWin.exe with Namedpipes for IPC with und generated Windows Program (Win-32 PE .EXE)
References: <3DB7B360.1010508@gmx.de> <87d6q0auq2.fsf@vzell-de.de.oracle.com>
Message-ID: <00aa01c27b5e$f3e700e0$4c64a8c0@ibsfreiburg.de>

Hi,

Is there an Difference between the XWin.exe (or any other Cygwin compiled
Binaries) and
MS Visual C/C++ oder Borland C Executables?

I experimenting the handling of XWin.exe vCommandline Arguments via
Namedpipes
but on Access to the Process my MS C or Borland C Programm is teminating
with a
Access Violation (Windows Programms like ping.exe works fine?)

Is there an Problem to handle Cygwin binaries via Named Pipes from "normal"
Windows 32 Portable Excutable?

Greetings


From c_twiner@hotmail.com  Thu Oct 24 06:42:00 2002
From: c_twiner@hotmail.com (Chris Twiner)
Date: Thu, 24 Oct 2002 06:42:00 -0000
Subject: Problems with xwinclip version 0.5/0.6
Message-ID: 

Hi Brian,

Thanks for the 'extern "C"', I had forgotten to add those.  If you don't 
mind however I'll avoid poluting the std namespace.

Chris

_________________________________________________________________
Choose an Internet access plan right for you -- try MSN! 
http://resourcecenter.msn.com/access/plans/default.asp


From shel@cmhcsys.com  Thu Oct 24 07:27:00 2002
From: shel@cmhcsys.com (Sheldon T. Hall)
Date: Thu, 24 Oct 2002 07:27:00 -0000
Subject: Fw: Problem Using Cygwin To Open Remote CDE
Message-ID: <003401c27b69$4e218f80$6500a8c0@mobilart>

I believe Bryan White has discovered a real bug in xfree86/cygwin.  Here's
his message and my response in comp.unix.solaris.

I'm not on the cygwin-xfree@cygwin.com mailing list, so if you wish to reach
me, go direct.

Thanks.

-Shel

----- Original Message -----
From: "Sheldon T. Hall" 
Newsgroups: comp.unix.solaris
Sent: Thursday, October 24, 2002 10:18 AM
Subject: Re: Problem Using Cygwin To Open Remote CDE


>
> "Bryan White"  wrote in message
> news:6aHt9.8140$46.1600@fe01...
> > hola -
> >
> > i've been using xwin32 to remotely log on to my cde session on my
sparc10
> > from my windows box. my trial version is about to expire and i don't
have
> > the $$ to buy a license. anyway i've installed cygwin & xfree86. i can
run
> a
> > local x session just fine & i can even display the x sessions on my
linux
> > boxes. however, i am unable to get it working with my sparc10.
> >
> > i launch cygwin and type 'XWin -query 172.16.1.201' (which is working
fine
> > for my linux boxes), however all i get when connecting to the sparc10 is
> the
> > blank grey screen & the mouse pointer. like i say, xwin32 has worked
just
> > fine connecting to the sparc10, so i'm confident that it is ready to go.
i
> > have read on google groups that many people use cygwin to connect to
their
> > sun boxes, i'm just wondering why i can't?? it seems they've been using
> the
> > same command as me.
>
> Further to the above ... using your "-query" command resulting in the
> following errors in the log:
>
> Wed Oct 23 21:03:12 2002 error (pid 20305): Hung in
> XOpenDisplay(208.178.101.40:0) attempt #0, aborting.
> Wed Oct 23 21:03:12 2002 error (pid 20305): Server open attempt #0 failed
> for 208.178.101.40:0, giving up
>
> Now, the interesting thing here is that the IP address 298.178.101.40 is
not
> the IP address I used, no is it one on my network, or my ISP's network.
It
> is, however, an address I know.  Bring up xfree86 with a local xterm and
> command "xhost"; you'll see it.  It seems to be built into xfree86
somehow,
> maybe left over from testing.  It's the address of some law firm,
according
> to whois....
>
> I think you've found a real xfree86 bug.
>
> -Shel
>
>
>


From Brian.Dunbar@plexus.com  Thu Oct 24 07:57:00 2002
From: Brian.Dunbar@plexus.com (Brian Dunbar)
Date: Thu, 24 Oct 2002 07:57:00 -0000
Subject: Problem Using Cygwin To Open Remote CDE
Message-ID: <93EF56FF0BD1234E8D1C74B9813E0EA0013F26D5@neen-mail-003.na.plexus.com>

All,

This works for me - talking from cygwin on a w2k box to SunOS 2.5/2.6/5.8
systems.

C:\cygwin\usr\X11R6\bin\xwin.exe -query orion -fp tcp/orion:7100

Where 'orion' is the name of the host I'm getting my CDE session from.


I moved from a regional office to corporate, and had problems on my "IT
issue" (Desktop services uses Ghost to image systems) laptop very similar to
yours.  XFree didn't work, Exceed didn't work, SCO XVision didn't work,
error was the 'blank grey screen' and monitor.

Removed TCP/IP protocol, restarted.  Installed TCP/IP and voila Exceed and
XFree 'Just Work'.  YMMV.

~brian

-----Original Message-----
From: Sheldon T. Hall [mailto:shel@cmhcsys.com]
Sent: Thursday, October 24, 2002 9:26 AM
To: cygwin-xfree@cygwin.com
Subject: Fw: Problem Using Cygwin To Open Remote CDE


I believe Bryan White has discovered a real bug in xfree86/cygwin.  Here's
his message and my response in comp.unix.solaris.

I'm not on the cygwin-xfree@cygwin.com mailing list, so if you wish to reach
me, go direct.

Thanks.

-Shel

----- Original Message -----
From: "Sheldon T. Hall" 
Newsgroups: comp.unix.solaris
Sent: Thursday, October 24, 2002 10:18 AM
Subject: Re: Problem Using Cygwin To Open Remote CDE


>
> "Bryan White"  wrote in message
> news:6aHt9.8140$46.1600@fe01...
> > hola -
> >
> > i've been using xwin32 to remotely log on to my cde session on my
sparc10
> > from my windows box. my trial version is about to expire and i don't
have
> > the $$ to buy a license. anyway i've installed cygwin & xfree86. i can
run
> a
> > local x session just fine & i can even display the x sessions on my
linux
> > boxes. however, i am unable to get it working with my sparc10.
> >
> > i launch cygwin and type 'XWin -query 172.16.1.201' (which is working
fine
> > for my linux boxes), however all i get when connecting to the sparc10 is
> the
> > blank grey screen & the mouse pointer. like i say, xwin32 has worked
just
> > fine connecting to the sparc10, so i'm confident that it is ready to go.
i
> > have read on google groups that many people use cygwin to connect to
their
> > sun boxes, i'm just wondering why i can't?? it seems they've been using
> the
> > same command as me.
>
> Further to the above ... using your "-query" command resulting in the
> following errors in the log:
>
> Wed Oct 23 21:03:12 2002 error (pid 20305): Hung in
> XOpenDisplay(208.178.101.40:0) attempt #0, aborting.
> Wed Oct 23 21:03:12 2002 error (pid 20305): Server open attempt #0 failed
> for 208.178.101.40:0, giving up
>
> Now, the interesting thing here is that the IP address 298.178.101.40 is
not
> the IP address I used, no is it one on my network, or my ISP's network.
It
> is, however, an address I know.  Bring up xfree86 with a local xterm and
> command "xhost"; you'll see it.  It seems to be built into xfree86
somehow,
> maybe left over from testing.  It's the address of some law firm,
according
> to whois....
>
> I think you've found a real xfree86 bug.
>
> -Shel
>
>
>


From rgu@TheWorld.com  Thu Oct 24 08:57:00 2002
From: rgu@TheWorld.com (Rick Umali)
Date: Thu, 24 Oct 2002 08:57:00 -0000
Subject: Uses for Cygwin/XFree86
In-Reply-To: <5.1.0.14.2.20021023215645.01fdf870@pop3.cris.com>
References: <3DB48C38.1080308@msu.edu>  <3DB48C38.1080308@msu.edu> <5.1.0.14.2.20021023215645.01fdf870@pop3.cris.com>
Message-ID: <20021024155737.GA71776922@TheWorld.com>

On Wed, Oct 23, 2002 at 10:00:08PM -0700, Randall R Schulz wrote:
> "The document contains no data."
> 
> At least that's what Mozilla 1.1 tells me when I access that URL.

Strange. 

The page displays for me with Mozilla 1.0.  I don't have Mozilla 1.1
handy, but I can zip up the files to you. Alternatively, I could put it
somewhere else. Are you able to get to members.tripod.com/rick_umali?

I'm actually hoping Harold might put it at
http://xfree86.cygwin.com/screenshots/. Let me know if you want these
zip'd up or whether I should try another server.

> At 21:17 2002-10-23, Rick Umali wrote:
> >http://members.tripod.com/rick_umali/rootless/

Peace.
-- 
Rick Umali    rgu@TheWorld.com    www.rickumali.com


From eric.chastan@netcelo.com  Thu Oct 24 09:07:00 2002
From: eric.chastan@netcelo.com (Eric Chastan)
Date: Thu, 24 Oct 2002 09:07:00 -0000
Subject: Window maker error with xterm menu
Message-ID: <3DB81993.7080606@netcelo.com>

With windowmaker when I click on menu item xterm I got the following 
errro  : xterm: Error 14, errno 9: Bad file descriptor.

xrvt runs well and if I lauch xterm from it all is Ok.

If I click on the run command menu item and I try the command "xterm" I 
got same error ???

What is the problem (and the solution) ??

Eric.


From rrschulz@cris.com  Thu Oct 24 09:38:00 2002
From: rrschulz@cris.com (Randall R Schulz)
Date: Thu, 24 Oct 2002 09:38:00 -0000
Subject: Uses for Cygwin/XFree86
In-Reply-To: <20021024155737.GA71776922@TheWorld.com>
References: <5.1.0.14.2.20021023215645.01fdf870@pop3.cris.com>
 <3DB48C38.1080308@msu.edu>
 
 <3DB48C38.1080308@msu.edu>
 <5.1.0.14.2.20021023215645.01fdf870@pop3.cris.com>
Message-ID: <5.1.0.14.2.20021024093415.02bb23d8@pop3.cris.com>

Rick,

Very odd. It works fjne in Opera, IE and Netscape 4.79. Using "WebClient," I 
can see the full response:

-==--==--==--==--==--==--==--==--==--==--==--==--==--==--==-
HTTP/1.1 200 OK
Date: Thu, 24 Oct 2002 16:33:49 GMT
Server: Squeegit/1.2.5 (3_sir)
Set-Cookie: CookieStatus=COOKIE_OK; path=/; domain=.tripod.com; expires=Fri, 24-Oct-2003 16:33:49 GMT
P3P: policyref="http://www.lycos.com/w3c/p3p.xml", CP="IDC DSP COR CURa ADMa DEVa CUSa PSAa IVAa CONo OUR IND UNI STA"
Set-Cookie: MEMBER_PAGE=rick_umali/rootless/index.html; path=/; domain=.tripod.com
Set-Cookie: REFERRER=(null); path=/; domain=.tripod.com
Connection: close
Content-Type: text/html

Pictures of Cygwin/XFree86 Rootless Mode

Pictures of Cygwin/XFree86 Rootless Mode

rootless-1.jpg (209KB) - XEyes in the background. Emacs. All on top of MS-DOS window.

rootless-2.jpg (178KB) - SSH to my ISP. X Forwarding enabled. Running xcalendar. Simple. Nice.

rootless-2.jpg (170KB) - SSH to my ISP. X Forwarding enabled. Running xv on my ISP displaying back to rootless mode. Nice!


Rick (rgu@TheWorld.com) Umali
Last Update: 10/24/2002 -==--==--==--==--==--==--==--==--==--==--==--==--==--==--==- I don't know what it is, but something's there must be giving Mozilla 1.1. indigestion. Sorry to bother you. Randall Schulz Mountain View, CA USA At 08:57 2002-10-24, you wrote: >On Wed, Oct 23, 2002 at 10:00:08PM -0700, Randall R Schulz wrote: >> "The document contains no data." >> >> At least that's what Mozilla 1.1 tells me when I access that URL. > >Strange. > >The page displays for me with Mozilla 1.0. I don't have Mozilla 1.1 >handy, but I can zip up the files to you. Alternatively, I could put it >somewhere else. Are you able to get to members.tripod.com/rick_umali? > >I'm actually hoping Harold might put it at >http://xfree86.cygwin.com/screenshots/. Let me know if you want these >zip'd up or whether I should try another server. > >> At 21:17 2002-10-23, Rick Umali wrote: >> >http://members.tripod.com/rick_umali/rootless/ > >Peace. >-- >Rick Umali rgu@TheWorld.com www.rickumali.com From huntharo@msu.edu Thu Oct 24 11:08:00 2002 From: huntharo@msu.edu (Harold L Hunt II) Date: Thu, 24 Oct 2002 11:08:00 -0000 Subject: Uses for Cygwin/XFree86 In-Reply-To: <3DB48C38.1080308@msu.edu> References: <3DB48C38.1080308@msu.edu> <3DB48C38.1080308@msu.edu> <5.1.0.14.2.20021023215645.01fdf870@pop3.cris.com> <20021024155737.GA71776922@TheWorld.com> Message-ID: <3DB8371F.1010407@msu.edu> Rick, If you want me to upload them, then please convert the original BMP to a PNG using ImageMagick or some other graphics program (ImageMagick is probably the easiest ``convert foo.bmp foo.png''). Alternatively, you can send me links to the BMPs and I will download them, convert them, and upload them myself. Either way is fine with me. Note that I prefer PNGs because they do not blur text like JPGs do. Also, for those just dying to see a screenshot, I made a giant one that my friend and I posted on ArsTechnica, but here is a direct link to the file: http://www.cse.msu.edu/~huntharo/cygwin-xfree86-rootless-xfig-etc.png Harold Rick Umali wrote: >On Wed, Oct 23, 2002 at 10:00:08PM -0700, Randall R Schulz wrote: > > >>"The document contains no data." >> >>At least that's what Mozilla 1.1 tells me when I access that URL. >> >> > >Strange. > >The page displays for me with Mozilla 1.0. I don't have Mozilla 1.1 >handy, but I can zip up the files to you. Alternatively, I could put it >somewhere else. Are you able to get to members.tripod.com/rick_umali? > >I'm actually hoping Harold might put it at >http://xfree86.cygwin.com/screenshots/. Let me know if you want these >zip'd up or whether I should try another server. > > > >>At 21:17 2002-10-23, Rick Umali wrote: >> >> >>>http://members.tripod.com/rick_umali/rootless/ >>> >>> > >Peace. > > From CPlonski@nbc6.com Thu Oct 24 11:28:00 2002 From: CPlonski@nbc6.com (Chris Plonski) Date: Thu, 24 Oct 2002 11:28:00 -0000 Subject: question on running kde under cygwin/xfree86 Message-ID: > I tried getting the kde binaries to run under cygwin/xfree86 and I had limited success on my home pc (works, but with several errors), and no success on my work pc. At work, I get the following after issuing a startx & at the cygwin prompt: > > The X server fires up, but KDE never initializes. back at the cygwin prompt I get this: > > waiting for X server to begin accepting connections . > .. > .. > .. > > after I manually close the X server I see: > > giving up. > xinit: Permission denied (errno 13): unable to connect to X server > xinit: No such process (errno 3): unexpected signal 2. > > Ideas anyone? From Alexander.Gottwald@informatik.tu-chemnitz.de Thu Oct 24 14:05:00 2002 From: Alexander.Gottwald@informatik.tu-chemnitz.de (Alexander Gottwald) Date: Thu, 24 Oct 2002 14:05:00 -0000 Subject: XKB doesn't work In-Reply-To: <87d6q0auq2.fsf@vzell-de.de.oracle.com> Message-ID: > > Try the new support for the XF86Config file. This now got into the main distribution. > There is a version available from > > o http://www-user.tu-chemnitz.de/~goal/xfree/test-config-1/X-Server.tar.bz2 I should remove the file. So everone will complain a file not found before complaining "foo does not work" because they got got an old binary. > It works perfect here for a german keyboard. good to hear ;) bye ago -- Alexander.Gottwald@informatik.tu-chemnitz.de http://www.gotti.org ICQ: 126018723 From seth_dheeraj@hotmail.com Thu Oct 24 15:58:00 2002 From: seth_dheeraj@hotmail.com (dheeraj seth) Date: Thu, 24 Oct 2002 15:58:00 -0000 Subject: sdiff related..... Message-ID: Hi everybody, I have searched amlost evrything mentioned on the cygwin site. The Problem is: i used diff utility to get differences between two files(F1 and F2).It worked.it gave me the changes to add and replace in the file(F2), now i can use sdiff but the problem is want to add a line before and after the changes, when sidff adds those changes to the file. Is there any option to add my lines while doing this? Please any help would be really appreciated. Thanks a lot. Best Regards. Example: this is a portion of output by diff diff -r 72/compproc/xbpaEstimateLineSelect.sql 73/compproc/xbpaEstimateLineSelect.sql 56a57,63 > AND (PCBACTUALQTY < PCBESTIMATEQTY or not exists(select 1 from PCB00125 > where PCBJOBNUMBER = @project > AND PCBPNUM = @phase)) Want to Add this to File F2: #If xyz == 21 AND (PCBACTUALQTY < PCBESTIMATEQTY or not exists(select 1 from PCB00125 where PCBJOBNUMBER = @project AND PCBPNUM = @phase)) #endif _________________________________________________________________ Get faster connections??-- switch to??MSN Internet Access! http://resourcecenter.msn.com/access/plans/default.asp From Ralf.Habacker@freenet.de Thu Oct 24 23:35:00 2002 From: Ralf.Habacker@freenet.de (Ralf Habacker) Date: Thu, 24 Oct 2002 23:35:00 -0000 Subject: question on running kde under cygwin/xfree86 In-Reply-To: Message-ID: <00b001c27bf0$9f7026d0$0a1c440a@BRAMSCHE> > > The X server fires up, but KDE never initializes. back at the > cygwin prompt I get this: > > > > waiting for X server to begin accepting connections . > > .. > > .. > > .. > > > > after I manually close the X server I see: > > > > giving up. > > xinit: Permission denied (errno 13): unable to connect to X server > > xinit: No such process (errno 3): unexpected signal 2. > > > > Ideas anyone? try http://kde-cygwin.sourceforge.net/faq/kde2.php#D9 Regards Ralf From geek@burri.to Fri Oct 25 05:09:00 2002 From: geek@burri.to (Brian Gallew) Date: Fri, 25 Oct 2002 05:09:00 -0000 Subject: Problems with xwinclip version 0.5/0.6 In-Reply-To: References: Message-ID: <3039.128.2.120.244.1035547675.squirrel@mail.burri.to> Chris Twiner said: > Thanks for the 'extern "C"', I had forgotten to add those. If you > don't mind however I'll avoid poluting the std namespace. By all means. I'm just glad it works. From jc.gervais@videotron.ca Fri Oct 25 07:55:00 2002 From: jc.gervais@videotron.ca (Jean-Claude Gervais) Date: Fri, 25 Oct 2002 07:55:00 -0000 Subject: XWinClip Message-ID: Hi, I've followed the posted instructions for downloading and installing XWinClip, but for some odd reason, I get the following error when trying to extract the .EXE: >bunzip2 xwinclip-Test06.exe.bz2 bunzip2: I/O or other error, bailing out. Possible reason follows. bunzip2: Permission denied Input file = xwinclip-Test06.exe.bz2, output file = xwinclip-Test06.exe bunzip2: Deleting output file xwinclip-Test06.exe, if it exists. /home/jc > I've also tried this on a totally different computer and gotten the same result. Anyone have a clue as to what the problem is? From keith@keithtyler.com Fri Oct 25 08:08:00 2002 From: keith@keithtyler.com (Keith D. Tyler) Date: Fri, 25 Oct 2002 08:08:00 -0000 Subject: Rootless: how to get wm menu? In-Reply-To: <3DB64E2A.40204@alcatel.it> from "Danilo Turina" at Oct 23, 2002 09:22:18 AM Message-ID: <200210251508.g9PF8ae21362@shell.faradic.net> Danilo Turina was recently quoted as saying... > > With WindowMaker, I select one of the applications running under X and > then press F12. > I think it's the only way. > > > How do I open the X11 window-manager menu when working in rootless mode? > > When clicking a mouse button on the background, I get a Windows menu. > > There should be a small area or special icon as an event proxy for the > > missing X11 background. You could run an app that shows some root window space. Try running Xeyes. The rootless mode doesnt include the X shape mask of xeyes in the Windows shape map for rootless mode, so the corners of xeyes should be usable as root window click-space. The other way, which is what I've done in my fvwm, is to move your root window menus to an always-visible location, like opened from a titlebar button. HTH, ================================================================== 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 Robert.White@morganstanley.com Fri Oct 25 08:14:00 2002 From: Robert.White@morganstanley.com (Robert White) Date: Fri, 25 Oct 2002 08:14:00 -0000 Subject: Keyboard confusion References: Message-ID: <3DB95FDD.57D546FC@morganstanley.com> Hi I have noticed that when I am using the Xwin it seems to detect that I am using an Amercan Keyboard, rather than the British one. This is not the behaviour outside the X server. (I.e in a cygwin command prompt window the keyboard map is correct). Not having the XF86config I understand from the documentation that Xwin is configured from a combination of the native env and command line switches. I have checked the region settings and they are set to United Kingdom, althougth the checkbox set as system wide locale is not selected. Can anyone offer any pointers as to where to go next. Thanks in advance. Regds Rob White From rrschulz@cris.com Fri Oct 25 08:45:00 2002 From: rrschulz@cris.com (Randall R Schulz) Date: Fri, 25 Oct 2002 08:45:00 -0000 Subject: -Rootless AND -NoDecoration Message-ID: <5.1.0.14.2.20021025084203.02ec9ce8@pop3.cris.com> Hi, Please forgive my creative capitalization in the Subject line. I had hoped that using "-nodecoration" with "-rootless" would prevent the XWin server getting a taskbar icon, but alas, no. Is there a combination of options or a configuration file or environment setting that will suppress the taskbar icon in rootless mode? Oh, yeah... Rootless Rocks! Randall Schulz Mountain View, CA USA From nahor@bravobrava.com Fri Oct 25 08:46:00 2002 From: nahor@bravobrava.com (Jehan) Date: Fri, 25 Oct 2002 08:46:00 -0000 Subject: Rootless: how to get wm menu? In-Reply-To: <3DB64E2A.40204@alcatel.it> References: <3DB64E2A.40204@alcatel.it> <200210251508.g9PF8ae21362@shell.faradic.net> Message-ID: Keith D. Tyler wrote: > You could run an app that shows some root window space. Try running > Xeyes. The rootless mode doesnt include the X shape mask of xeyes in > the Windows shape map for rootless mode, so the corners of xeyes > should be usable as root window click-space. That's not true anymore. The latest release of XWin (4.2.0-15) support shapes in rootless mode. Jehan From jc.gervais@videotron.ca Fri Oct 25 09:05:00 2002 From: jc.gervais@videotron.ca (Jean-Claude Gervais) Date: Fri, 25 Oct 2002 09:05:00 -0000 Subject: Rootless: how to get wm menu? In-Reply-To: Message-ID: If you are running WindowMaker, pressing F12 gets the root menu. -----Original Message----- From: cygwin-xfree-owner@cygwin.com [mailto:cygwin-xfree-owner@cygwin.com]On Behalf Of Jehan Sent: Friday, October 25, 2002 11:46 AM To: cygwin-xfree@cygwin.com Subject: Re: Rootless: how to get wm menu? Keith D. Tyler wrote: > You could run an app that shows some root window space. Try running > Xeyes. The rootless mode doesnt include the X shape mask of xeyes in > the Windows shape map for rootless mode, so the corners of xeyes > should be usable as root window click-space. That's not true anymore. The latest release of XWin (4.2.0-15) support shapes in rootless mode. Jehan From rrschulz@cris.com Fri Oct 25 09:35:00 2002 From: rrschulz@cris.com (Randall R Schulz) Date: Fri, 25 Oct 2002 09:35:00 -0000 Subject: Rootless: how to get wm menu? In-Reply-To: References: Message-ID: <5.1.0.14.2.20021025091211.01fe0d40@pop3.cris.com> Hi, And the F12 and all other keyboard bindings are configurable, of course. Also, F11 brings up the WindowMaker windows menu. On a related topic: I just tried to get window cycling to work, but changing the configured key sequence doesn't seem to work. I used the "Capture" button to change the "Focus next window" and "Focus previous window" to CTRL-TAB and CTRL-SHIFT-TAB, resp. The WMaker options dialog reports these as "Control+Mod2+Tab" and "Control+Shift+Mod2+Tab". Nonetheless, neither the window activation nor the focus are switched when I type CTRL-TAB or CTRL-SHIFT-TAB. Am I doing something wrong, or is this feature not working? Or is it simply not supported. Thanks. Randall Schulz Mountain View, CA USA At 09:05 2002-10-25, you wrote: >If you are running WindowMaker, pressing F12 gets the root menu. > > >-----Original Message----- >From: cygwin-xfree-owner@cygwin.com [mailto:cygwin-xfree-owner@cygwin.com]On >Behalf Of Jehan >Sent: Friday, October 25, 2002 11:46 AM >To: cygwin-xfree@cygwin.com >Subject: Re: Rootless: how to get wm menu? > >Keith D. Tyler wrote: > > > You could run an app that shows some root window space. Try running > > Xeyes. The rootless mode doesnt include the X shape mask of xeyes in > > the Windows shape map for rootless mode, so the corners of xeyes > > should be usable as root window click-space. > > >That's not true anymore. The latest release of XWin (4.2.0-15) support >shapes in rootless mode. > > Jehan From kirschpe@utrc.utc.com Fri Oct 25 10:00:00 2002 From: kirschpe@utrc.utc.com (kirschpe@utrc.utc.com) Date: Fri, 25 Oct 2002 10:00:00 -0000 Subject: how to compile icewm-1.2.2 Message-ID: Icewm-1.2.2 will not make for me. { } configure --disable-nls --disable-i18n (stuff deleted) Build targets: base Applications: genpref icewm icesh icewmhint icewmbg icehelp Image library: Imlib Audio support: Features: x86-asm Paths: PREFIX: /usr/local BINDIR: /usr/local/bin LOCDIR: LIBDIR: /usr/local/lib/X11/icewm CFGDIR: /usr/local/etc/X11/icewm KDEDIR: /usr/local/share DOCDIR: /usr/local/share/doc { } make make[1]: Entering directory `/home/kirschpe/icewm-1.2.2/src' Linking genpref.exe... gcc: no input files make[1]: *** [genpref.exe] Error 1 make[1]: Leaving directory `/home/kirschpe/icewm-1.2.2/src' make: *** [base] Error 2 icewm-1.2.0 compiled fine out of the box. icewm-1.2.1 fails like 1.2.2. I am using the latest cygwin/xfree stuff. I compiled and loaded imlib previously from instructions from the mailing list. Anyone get this to work? ----------------------------------------------------------------------------------------- Paul Kirschner Systems Department United Technologies Research Center kirschpe@utrc.utc.com (860)610-7119 From mrausche@gmx.de Fri Oct 25 10:14:00 2002 From: mrausche@gmx.de (Martin Rausche) Date: Fri, 25 Oct 2002 10:14:00 -0000 Subject: Cannot start X Message-ID: <003401c27c49$f83d02c0$0146a8c0@jnpr.net> Hello everyone, I guess this is a common question, but the FAQ didn't help. When I say "startx" in the shell, I get a Windows error message, which is titled "xinit.exe - Entry Point Not Found" and the according message says "The procedure entry point getpwnam_r could not be located in the dynamic link library cygwin1.dll". I have read the FAQ and it says I should run setup.exe and install latest versions, which I did, but I still get this message. Any pointers to a resolution? Thanks, Martin. From huntharo@msu.edu Fri Oct 25 10:24:00 2002 From: huntharo@msu.edu (Harold L Hunt II) Date: Fri, 25 Oct 2002 10:24:00 -0000 Subject: -Rootless AND -NoDecoration In-Reply-To: <5.1.0.14.2.20021025084203.02ec9ce8@pop3.cris.com> References: <5.1.0.14.2.20021025084203.02ec9ce8@pop3.cris.com> Message-ID: <3DB97E66.9020400@msu.edu> Randall, No, there is no such combination of flags. How do you intend to set the focus to Cygwin/XFree86 without a taskbar entry? I mean, you could minimize it and not be able to get it back. In the future, when we write the Windows-based window manager, I intend to make Cygwin/XFree86 use a system tray icon rather than a taskbar icon, but only when using the Windows-based window manager. Now, from the perspective of building a correct application, can't you see that it would be incredibly non-standard of us to allow Cygwin/XFree86 to not have a taskbar icon? No other Windows application that needs to be minimized/restored/closed has that behavior. Typically, only applications that are either closed or open are in the system tray. Can you see my point? I suppose you could code such a feature if you wanted that did not change the default behavior, but I'm not sure how much use it would be to others... Harold Randall R Schulz wrote: > Hi, > > Please forgive my creative capitalization in the Subject line. > > I had hoped that using "-nodecoration" with "-rootless" would prevent > the XWin server getting a taskbar icon, but alas, no. > > Is there a combination of options or a configuration file or > environment setting that will suppress the taskbar icon in rootless mode? > > > Oh, yeah... Rootless Rocks! > > > Randall Schulz > Mountain View, CA USA > From nahor@bravobrava.com Fri Oct 25 10:55:00 2002 From: nahor@bravobrava.com (Jehan) Date: Fri, 25 Oct 2002 10:55:00 -0000 Subject: -Rootless AND -NoDecoration In-Reply-To: <5.1.0.14.2.20021025084203.02ec9ce8@pop3.cris.com> References: <5.1.0.14.2.20021025084203.02ec9ce8@pop3.cris.com> <3DB97E66.9020400@msu.edu> Message-ID: Harold L Hunt II wrote: > Now, from the perspective of building a correct application, can't you > see that it would be incredibly non-standard of us to allow > Cygwin/XFree86 to not have a taskbar icon? No other Windows > application that needs to be minimized/restored/closed has that > behavior. Typically, only applications that are either closed or open > are in the system tray. Actually, that's not entirely true. The Windows Task Manager can be "Hidden When Minimized". WinAmp and Trillian (given, they are not typical Windows applications) have this feature too. I think, most "persistant" applications (running from login to logout) can be moved to the systray instead of the taskbar one way or another. Maybe XWin could benefit from such a feature. It would be interesting for people who start XWin at login and never exit it until logout to minimize XWin in the systray when they don't actively use any X application. That way, XWin would not use precious space in the taskbar. > Can you see my point? I suppose you could code such a feature if > you wanted that did not change the default behavior, but I'm not sure > how much use it would be to others... I could try to modify/update my systray patch to that effect if I find some time to do it. Jehan From rrschulz@cris.com Fri Oct 25 10:57:00 2002 From: rrschulz@cris.com (Randall R Schulz) Date: Fri, 25 Oct 2002 10:57:00 -0000 Subject: No Taskbar Icon (Was: Re: -Rootless AND -NoDecoration) In-Reply-To: <3DB97E66.9020400@msu.edu> References: <5.1.0.14.2.20021025084203.02ec9ce8@pop3.cris.com> <5.1.0.14.2.20021025084203.02ec9ce8@pop3.cris.com> Message-ID: <5.1.0.14.2.20021025103402.01fe1ea0@pop3.cris.com> Harold, At 10:24 2002-10-25, you wrote: >Randall, > >No, there is no such combination of flags. > >How do you intend to set the focus to Cygwin/XFree86 without a taskbar >entry? I mean, you could minimize it and not be able to get it back. Without a taskbar icon, I don't know how XWin could get minimized. Would "ALT-SPACE N" while the X server "layer" (as I think of it in "-rootless" mode) was active do it? Also, the Windows SETI@home GUI shows that a window with no taskbar icon can still show up in the ALT-TAB list of icons. >In the future, when we write the Windows-based window manager, I intend to >make Cygwin/XFree86 use a system tray icon rather than a taskbar icon, but >only when using the Windows-based window manager. That would be nice, but I'd still like to avoid the taskbar icon even when I'm using an X-based window manager. >Now, from the perspective of building a correct application, can't you see >that it would be incredibly non-standard of us to allow Cygwin/XFree86 to >not have a taskbar icon? No other Windows application that needs to be >minimized/restored/closed has that behavior. Typically, only applications >that are either closed or open are in the system tray. Can you see my >point? I suppose you could code such a feature if you wanted that did not >change the default behavior, but I'm not sure how much use it would be to >others... Not at all. There are applications that show windows without taskbar icons when the application writer deemed it appropriate. Since the Windows API makes it possible, it was clearly seen as a viable option that might be desirable in some contexts. Perhaps others could weigh in on whether they'd like to have the option to avoid a taskbar icon? >Harold Randall Schulz Mountain View, CA USA >Randall R Schulz wrote: > >>Hi, >> >>Please forgive my creative capitalization in the Subject line. >> >>I had hoped that using "-nodecoration" with "-rootless" would prevent the >>XWin server getting a taskbar icon, but alas, no. >> >>Is there a combination of options or a configuration file or environment >>setting that will suppress the taskbar icon in rootless mode? >> >> >>Oh, yeah... Rootless Rocks! >> >> >>Randall Schulz >>Mountain View, CA USA From BradeyH@construx.com Fri Oct 25 11:13:00 2002 From: BradeyH@construx.com (Bradey Honsinger) Date: Fri, 25 Oct 2002 11:13:00 -0000 Subject: XWinClip Message-ID: <2A53F00A2DBBDA479B7E84DA2023A4EBC84377@gypsy.construx.com> I saw that just the other day--I didn't have the appropriate permissions to a directory on a network share, so bunzip2 couldn't create the new file without the .bz2 extension. The "Permission denied" message is a hint, I think :) Try copying the file to a local directory that you know you have permissions on--Cygwin's /tmp is a good candidate. Double-check the permissions in Explorer, and make sure you're the owner of the directory. You may also want to double-check that you've run mkpasswd -d > /etc/passwd if you're in a domain. - Bradey -----Original Message----- From: Jean-Claude Gervais [mailto:jc.gervais@videotron.ca] Sent: Friday, October 25, 2002 7:56 AM To: Cygwin-XFree Subject: XWinClip Hi, I've followed the posted instructions for downloading and installing XWinClip, but for some odd reason, I get the following error when trying to extract the .EXE: >bunzip2 xwinclip-Test06.exe.bz2 bunzip2: I/O or other error, bailing out. Possible reason follows. bunzip2: Permission denied Input file = xwinclip-Test06.exe.bz2, output file = xwinclip-Test06.exe bunzip2: Deleting output file xwinclip-Test06.exe, if it exists. /home/jc > I've also tried this on a totally different computer and gotten the same result. Anyone have a clue as to what the problem is? From jc.gervais@videotron.ca Fri Oct 25 11:52:00 2002 From: jc.gervais@videotron.ca (Jean-Claude Gervais) Date: Fri, 25 Oct 2002 11:52:00 -0000 Subject: XWinClip In-Reply-To: <2A53F00A2DBBDA479B7E84DA2023A4EBC84377@gypsy.construx.com> Message-ID: Hi Bradey, Thanks for helping. Nope, it's not that. For one thing, this IS happening on a local drive. The NTFS security and permissions and ownership are set properly. As for the Cygwin ownership and rights, I am the file's owner and have all rights to it. As an aside, I went though the whole user/password procedure a while ago when I couldn't start X anymore because the user I was logged on as did not exist as a local user (domain user), and Cygwin's policy concerning such a situation had changed. Maybe this is another manifestation of the problem that that policy change caused. Um, could someone send me the XWinClip Test 06 source code in a zip file and I'll build it... Anyhow, I'm not sure what version of XWinClip I'm currently running, but after a paste or two, it starts taking a lot of CPU and doesn't work anymore. If that is still going on in the Test 06 source, I might perform an analysis and figure what is going wrong with it. J -----Original Message----- From: cygwin-xfree-owner@cygwin.com [mailto:cygwin-xfree-owner@cygwin.com]On Behalf Of Bradey Honsinger Sent: Friday, October 25, 2002 2:13 PM To: 'cygwin-xfree@cygwin.com' Subject: RE: XWinClip I saw that just the other day--I didn't have the appropriate permissions to a directory on a network share, so bunzip2 couldn't create the new file without the .bz2 extension. The "Permission denied" message is a hint, I think :) Try copying the file to a local directory that you know you have permissions on--Cygwin's /tmp is a good candidate. Double-check the permissions in Explorer, and make sure you're the owner of the directory. You may also want to double-check that you've run mkpasswd -d > /etc/passwd if you're in a domain. - Bradey -----Original Message----- From: Jean-Claude Gervais [mailto:jc.gervais@videotron.ca] Sent: Friday, October 25, 2002 7:56 AM To: Cygwin-XFree Subject: XWinClip Hi, I've followed the posted instructions for downloading and installing XWinClip, but for some odd reason, I get the following error when trying to extract the .EXE: >bunzip2 xwinclip-Test06.exe.bz2 bunzip2: I/O or other error, bailing out. Possible reason follows. bunzip2: Permission denied Input file = xwinclip-Test06.exe.bz2, output file = xwinclip-Test06.exe bunzip2: Deleting output file xwinclip-Test06.exe, if it exists. /home/jc > I've also tried this on a totally different computer and gotten the same result. Anyone have a clue as to what the problem is? From huntharo@msu.edu Fri Oct 25 12:26:00 2002 From: huntharo@msu.edu (Harold L Hunt II) Date: Fri, 25 Oct 2002 12:26:00 -0000 Subject: XWinClip In-Reply-To: References: Message-ID: <3DB99AEE.3080605@msu.edu> Make sure that you have the latest cygwin1.dll from yesterday's release (run setup.exe again). Several issues related to the now default ``ntsec'' option were corrected, and one of these fixes may resolve your problems. Harold Jean-Claude Gervais wrote: >Hi Bradey, > > > Thanks for helping. > > Nope, it's not that. > For one thing, this IS happening on a local drive. >The NTFS security and permissions and ownership are set properly. > As for the Cygwin ownership and rights, I am the file's owner and have all >rights to it. > >As an aside, I went though the whole user/password procedure a while ago >when I couldn't start X anymore because the user I was logged on as did not >exist as a local user (domain user), and Cygwin's policy concerning such a >situation had changed. > >Maybe this is another manifestation of the problem that that policy change >caused. > >Um, could someone send me the XWinClip Test 06 source code in a zip file and >I'll build it... > >Anyhow, I'm not sure what version of XWinClip I'm currently running, but >after a paste or two, it starts taking a lot of CPU and doesn't work >anymore. > >If that is still going on in the Test 06 source, I might perform an analysis >and figure what is going wrong with it. > >J > >-----Original Message----- >From: cygwin-xfree-owner@cygwin.com [mailto:cygwin-xfree-owner@cygwin.com]On >Behalf Of Bradey Honsinger >Sent: Friday, October 25, 2002 2:13 PM >To: 'cygwin-xfree@cygwin.com' >Subject: RE: XWinClip > >I saw that just the other day--I didn't have the appropriate permissions to >a directory on a network share, so bunzip2 couldn't create the new file >without the .bz2 extension. The "Permission denied" message is a hint, I >think :) > >Try copying the file to a local directory that you know you have permissions >on--Cygwin's /tmp is a good candidate. Double-check the permissions in >Explorer, and make sure you're the owner of the directory. You may also want >to double-check that you've run mkpasswd -d > /etc/passwd if you're in a >domain. > > - Bradey > >-----Original Message----- >From: Jean-Claude Gervais [mailto:jc.gervais@videotron.ca] >Sent: Friday, October 25, 2002 7:56 AM >To: Cygwin-XFree >Subject: XWinClip > > >Hi, > > I've followed the posted instructions for downloading and >installing XWinClip, but for some odd reason, I get the following error when >trying to extract the .EXE: > > > > >>bunzip2 xwinclip-Test06.exe.bz2 >> >> > >bunzip2: I/O or other error, bailing out. Possible reason follows. >bunzip2: Permission denied > Input file = xwinclip-Test06.exe.bz2, output file = >xwinclip-Test06.exe >bunzip2: Deleting output file xwinclip-Test06.exe, if it exists. >/home/jc > > > > >I've also tried this on a totally different computer and gotten the same >result. >Anyone have a clue as to what the problem is? > > > > From jc.gervais@videotron.ca Fri Oct 25 13:45:00 2002 From: jc.gervais@videotron.ca (Jean-Claude Gervais) Date: Fri, 25 Oct 2002 13:45:00 -0000 Subject: No Taskbar Icon (Was: Re: -Rootless AND -NoDecoration) In-Reply-To: <5.1.0.14.2.20021025103402.01fe1ea0@pop3.cris.com> Message-ID: Here's a heretic opinion: I want a taskbar icon for EACH X application! Nyah! -----Original Message----- From: cygwin-xfree-owner@cygwin.com [mailto:cygwin-xfree-owner@cygwin.com]On Behalf Of Randall R Schulz Sent: Friday, October 25, 2002 1:45 PM To: cygwin-xfree@cygwin.com Subject: No Taskbar Icon (Was: Re: -Rootless AND -NoDecoration) Harold, At 10:24 2002-10-25, you wrote: >Randall, > >No, there is no such combination of flags. > >How do you intend to set the focus to Cygwin/XFree86 without a taskbar >entry? I mean, you could minimize it and not be able to get it back. Without a taskbar icon, I don't know how XWin could get minimized. Would "ALT-SPACE N" while the X server "layer" (as I think of it in "-rootless" mode) was active do it? Also, the Windows SETI@home GUI shows that a window with no taskbar icon can still show up in the ALT-TAB list of icons. >In the future, when we write the Windows-based window manager, I intend to >make Cygwin/XFree86 use a system tray icon rather than a taskbar icon, but >only when using the Windows-based window manager. That would be nice, but I'd still like to avoid the taskbar icon even when I'm using an X-based window manager. >Now, from the perspective of building a correct application, can't you see >that it would be incredibly non-standard of us to allow Cygwin/XFree86 to >not have a taskbar icon? No other Windows application that needs to be >minimized/restored/closed has that behavior. Typically, only applications >that are either closed or open are in the system tray. Can you see my >point? I suppose you could code such a feature if you wanted that did not >change the default behavior, but I'm not sure how much use it would be to >others... Not at all. There are applications that show windows without taskbar icons when the application writer deemed it appropriate. Since the Windows API makes it possible, it was clearly seen as a viable option that might be desirable in some contexts. Perhaps others could weigh in on whether they'd like to have the option to avoid a taskbar icon? >Harold Randall Schulz Mountain View, CA USA >Randall R Schulz wrote: > >>Hi, >> >>Please forgive my creative capitalization in the Subject line. >> >>I had hoped that using "-nodecoration" with "-rootless" would prevent the >>XWin server getting a taskbar icon, but alas, no. >> >>Is there a combination of options or a configuration file or environment >>setting that will suppress the taskbar icon in rootless mode? >> >> >>Oh, yeah... Rootless Rocks! >> >> >>Randall Schulz >>Mountain View, CA USA From rrschulz@cris.com Fri Oct 25 13:55:00 2002 From: rrschulz@cris.com (Randall R Schulz) Date: Fri, 25 Oct 2002 13:55:00 -0000 Subject: No Taskbar Icon (Was: Re: -Rootless AND -NoDecoration) In-Reply-To: References: <5.1.0.14.2.20021025103402.01fe1ea0@pop3.cris.com> Message-ID: <5.1.0.14.2.20021025135245.027c08b0@pop3.cris.com> Jean-Claude, I think that's equally a valid a request. Probably even more-so. I just don't like how cramped the taskbar tabs get, and I refuse to give the taskbar more than one row. I'm just odd that way. Sorry not to disagree with you. Randall Schulz Mountai View, CA USA At 13:46 2002-10-25, Jean-Claude Gervais wrote: >Here's a heretic opinion: > >I want a taskbar icon for EACH X application! > >Nyah! From huntharo@msu.edu Fri Oct 25 14:02:00 2002 From: huntharo@msu.edu (Harold L Hunt II) Date: Fri, 25 Oct 2002 14:02:00 -0000 Subject: No Taskbar Icon (Was: Re: -Rootless AND -NoDecoration) In-Reply-To: References: Message-ID: <3DB9B147.9050509@msu.edu> Heh heh... Harold Jean-Claude Gervais wrote: >Here's a heretic opinion: > >I want a taskbar icon for EACH X application! > >Nyah! > > >-----Original Message----- >From: cygwin-xfree-owner@cygwin.com [mailto:cygwin-xfree-owner@cygwin.com]On >Behalf Of Randall R Schulz >Sent: Friday, October 25, 2002 1:45 PM >To: cygwin-xfree@cygwin.com >Subject: No Taskbar Icon (Was: Re: -Rootless AND -NoDecoration) > >Harold, > >At 10:24 2002-10-25, you wrote: > > >>Randall, >> >>No, there is no such combination of flags. >> >>How do you intend to set the focus to Cygwin/XFree86 without a taskbar >>entry? I mean, you could minimize it and not be able to get it back. >> >> > >Without a taskbar icon, I don't know how XWin could get minimized. Would >"ALT-SPACE N" while the X server "layer" (as I think of it in "-rootless" >mode) was active do it? > >Also, the Windows SETI@home GUI shows that a window with no taskbar icon >can still show up in the ALT-TAB list of icons. > > > > >>In the future, when we write the Windows-based window manager, I intend to >>make Cygwin/XFree86 use a system tray icon rather than a taskbar icon, but >>only when using the Windows-based window manager. >> >> > >That would be nice, but I'd still like to avoid the taskbar icon even when >I'm using an X-based window manager. > > > > >>Now, from the perspective of building a correct application, can't you see >>that it would be incredibly non-standard of us to allow Cygwin/XFree86 to >>not have a taskbar icon? No other Windows application that needs to be >>minimized/restored/closed has that behavior. Typically, only applications >>that are either closed or open are in the system tray. Can you see my >>point? I suppose you could code such a feature if you wanted that did not >>change the default behavior, but I'm not sure how much use it would be to >>others... >> >> > >Not at all. There are applications that show windows without taskbar icons >when the application writer deemed it appropriate. Since the Windows API >makes it possible, it was clearly seen as a viable option that might be >desirable in some contexts. > > >Perhaps others could weigh in on whether they'd like to have the option to >avoid a taskbar icon? > > > > >>Harold >> >> > > >Randall Schulz >Mountain View, CA USA > > > > >>Randall R Schulz wrote: >> >> >> >>>Hi, >>> >>>Please forgive my creative capitalization in the Subject line. >>> >>>I had hoped that using "-nodecoration" with "-rootless" would prevent the >>>XWin server getting a taskbar icon, but alas, no. >>> >>>Is there a combination of options or a configuration file or environment >>>setting that will suppress the taskbar icon in rootless mode? >>> >>> >>>Oh, yeah... Rootless Rocks! >>> >>> >>>Randall Schulz >>>Mountain View, CA USA >>> >>> > > > From jc.gervais@videotron.ca Fri Oct 25 14:06:00 2002 From: jc.gervais@videotron.ca (Jean-Claude Gervais) Date: Fri, 25 Oct 2002 14:06:00 -0000 Subject: XWinClip - bunzip2 - problem solved! In-Reply-To: <3DB99AEE.3080605@msu.edu> Message-ID: Bing!!! Give that man a cigar! Nope, better than that, I'm going to register my copy of Cygwin, dammit! Thanks Harold. J -----Original Message----- From: cygwin-xfree-owner@cygwin.com [mailto:cygwin-xfree-owner@cygwin.com]On Behalf Of Harold L Hunt II Sent: Friday, October 25, 2002 3:27 PM To: cygwin-xfree@cygwin.com Subject: Re: XWinClip Make sure that you have the latest cygwin1.dll from yesterday's release (run setup.exe again). Several issues related to the now default ``ntsec'' option were corrected, and one of these fixes may resolve your problems. Harold Jean-Claude Gervais wrote: >Hi Bradey, > > > Thanks for helping. > > Nope, it's not that. > For one thing, this IS happening on a local drive. >The NTFS security and permissions and ownership are set properly. > As for the Cygwin ownership and rights, I am the file's owner and have all >rights to it. > >As an aside, I went though the whole user/password procedure a while ago >when I couldn't start X anymore because the user I was logged on as did not >exist as a local user (domain user), and Cygwin's policy concerning such a >situation had changed. > >Maybe this is another manifestation of the problem that that policy change >caused. > >Um, could someone send me the XWinClip Test 06 source code in a zip file and >I'll build it... > >Anyhow, I'm not sure what version of XWinClip I'm currently running, but >after a paste or two, it starts taking a lot of CPU and doesn't work >anymore. > >If that is still going on in the Test 06 source, I might perform an analysis >and figure what is going wrong with it. > >J > >-----Original Message----- >From: cygwin-xfree-owner@cygwin.com [mailto:cygwin-xfree-owner@cygwin.com]On >Behalf Of Bradey Honsinger >Sent: Friday, October 25, 2002 2:13 PM >To: 'cygwin-xfree@cygwin.com' >Subject: RE: XWinClip > >I saw that just the other day--I didn't have the appropriate permissions to >a directory on a network share, so bunzip2 couldn't create the new file >without the .bz2 extension. The "Permission denied" message is a hint, I >think :) > >Try copying the file to a local directory that you know you have permissions >on--Cygwin's /tmp is a good candidate. Double-check the permissions in >Explorer, and make sure you're the owner of the directory. You may also want >to double-check that you've run mkpasswd -d > /etc/passwd if you're in a >domain. > > - Bradey > >-----Original Message----- >From: Jean-Claude Gervais [mailto:jc.gervais@videotron.ca] >Sent: Friday, October 25, 2002 7:56 AM >To: Cygwin-XFree >Subject: XWinClip > > >Hi, > > I've followed the posted instructions for downloading and >installing XWinClip, but for some odd reason, I get the following error when >trying to extract the .EXE: > > > > >>bunzip2 xwinclip-Test06.exe.bz2 >> >> > >bunzip2: I/O or other error, bailing out. Possible reason follows. >bunzip2: Permission denied > Input file = xwinclip-Test06.exe.bz2, output file = >xwinclip-Test06.exe >bunzip2: Deleting output file xwinclip-Test06.exe, if it exists. >/home/jc > > > > >I've also tried this on a totally different computer and gotten the same >result. >Anyone have a clue as to what the problem is? > > > > From spetreolle@yahoo.fr Fri Oct 25 17:13:00 2002 From: spetreolle@yahoo.fr (=?iso-8859-1?q?Sylvain=20Petreolle?=) Date: Fri, 25 Oct 2002 17:13:00 -0000 Subject: Cannot start X In-Reply-To: <003401c27c49$f83d02c0$0146a8c0@jnpr.net> Message-ID: <20021026001310.71754.qmail@web10105.mail.yahoo.com> you must have an old copy of cygwin1.dll in your system. --- Martin Rausche a ??crit??: > Hello everyone, > > I guess this is a common question, but the FAQ didn't help. When I > say > "startx" in the shell, I get a Windows error message, which is titled > "xinit.exe - Entry Point Not Found" and the according message says > "The > procedure entry point getpwnam_r could not be located in the dynamic > link > library cygwin1.dll". ___________________________________________________________ Do You Yahoo!? -- Une adresse @yahoo.fr gratuite et en fran??ais ! Yahoo! Mail : http://fr.mail.yahoo.com From rgu@TheWorld.com Fri Oct 25 19:20:00 2002 From: rgu@TheWorld.com (Rick Umali) Date: Fri, 25 Oct 2002 19:20:00 -0000 Subject: Uses for Cygwin/XFree86 In-Reply-To: <3DB8371F.1010407@msu.edu> References: <3DB48C38.1080308@msu.edu> <3DB48C38.1080308@msu.edu> <5.1.0.14.2.20021023215645.01fdf870@pop3.cris.com> <20021024155737.GA71776922@TheWorld.com> <3DB8371F.1010407@msu.edu> Message-ID: <20021026022041.GA73570311@TheWorld.com> On Thu, Oct 24, 2002 Harold L Hunt II wrote: > If you want me to upload them, then please convert the original BMP to a > PNG using ImageMagick or some other graphics program ... > > Note that I prefer PNGs because they do not blur text like JPGs do. I captured the screen shots into Paint Shop Pro, and saved the images directly to JPG. I didn't save them into BMP, unfortunately. Paint Shop Pro lets me convert the JPGs to PNGs. I have done this, and the PNG files are on the same URL: http://members.tripod.com/rick_umali/rootless/ Let me know if you want me to redo the images and save them as PNGs directly (without the intermediate JPG file). > http://www.cse.msu.edu/~huntharo/cygwin-xfree86-rootless-xfig-etc.png Very nice screen shot, BTW. -- Rick Umali rgu@TheWorld.com www.rickumali.com From huntharo@msu.edu Fri Oct 25 19:25:00 2002 From: huntharo@msu.edu (Harold L Hunt II) Date: Fri, 25 Oct 2002 19:25:00 -0000 Subject: Uses for Cygwin/XFree86 In-Reply-To: <3DB48C38.1080308@msu.edu> References: <3DB48C38.1080308@msu.edu> <3DB48C38.1080308@msu.edu> <5.1.0.14.2.20021023215645.01fdf870@pop3.cris.com> <20021024155737.GA71776922@TheWorld.com> <3DB8371F.1010407@msu.edu> <20021026022041.GA73570311@TheWorld.com> Message-ID: <3DB9FD19.5040809@msu.edu> Rick, Unfortunately, you will have to recapture the screen shots and store them as PNGs. You only have the original shots in JPG form, so the only format that you have them in has already been run through a lossy compression scheme. This means that the text is irreversibly blurred in these images and it also means that your PNGs will be huge as they have to perfectly reproduce this blurring. If you regrab the screenshots and save them directly to PNG then the files will be about the same size as your JPGs but the text will be much crisper. Thanks for the complement on the screenshot :) Yours are nice too. Harold Rick Umali wrote: >On Thu, Oct 24, 2002 Harold L Hunt II wrote: > > >>If you want me to upload them, then please convert the original BMP to a >>PNG using ImageMagick or some other graphics program ... >> >>Note that I prefer PNGs because they do not blur text like JPGs do. >> >> > >I captured the screen shots into Paint Shop Pro, and saved the images >directly to JPG. I didn't save them into BMP, unfortunately. > >Paint Shop Pro lets me convert the JPGs to PNGs. I have done this, and >the PNG files are on the same URL: > >http://members.tripod.com/rick_umali/rootless/ > >Let me know if you want me to redo the images and save them as PNGs >directly (without the intermediate JPG file). > > > >>http://www.cse.msu.edu/~huntharo/cygwin-xfree86-rootless-xfig-etc.png >> >> > >Very nice screen shot, BTW. > >-- >Rick Umali rgu@TheWorld.com www.rickumali.com > > From mrausche@gmx.de Fri Oct 25 22:47:00 2002 From: mrausche@gmx.de (Martin Rausche) Date: Fri, 25 Oct 2002 22:47:00 -0000 Subject: Cannot start X In-Reply-To: <20021026001310.71754.qmail@web10105.mail.yahoo.com> Message-ID: <000401c27cb3$36318380$0146a8c0@jnpr.net> The question is where do I get a current one and where do I have to replace it. Cygwin setup doesn't seem to update this file, because I have all current versions installed via setup. Can I replace that file manually? Can I download it as a single file from somewhere? TIA, Martin. > -----Original Message----- > From: cygwin-xfree-owner@cygwin.com > [mailto:cygwin-xfree-owner@cygwin.com]On Behalf Of Sylvain Petreolle > Sent: Saturday, October 26, 2002 02:13 > To: cygwin-xfree@cygwin.com > Subject: Re: Cannot start X > > > you must have an old copy of cygwin1.dll in your system. > --- Martin Rausche a ??crit??: > Hello everyone, > > > > I guess this is a common question, but the FAQ didn't help. When I > > say > > "startx" in the shell, I get a Windows error message, which > is titled > > "xinit.exe - Entry Point Not Found" and the according message says > > "The > > procedure entry point getpwnam_r could not be located in the dynamic > > link > > library cygwin1.dll". > > > ___________________________________________________________ > Do You Yahoo!? -- Une adresse @yahoo.fr gratuite et en fran??ais ! > Yahoo! Mail : http://fr.mail.yahoo.com > From huntharo@msu.edu Fri Oct 25 22:52:00 2002 From: huntharo@msu.edu (Harold L Hunt II) Date: Fri, 25 Oct 2002 22:52:00 -0000 Subject: Cannot start X In-Reply-To: <000401c27cb3$36318380$0146a8c0@jnpr.net> References: <000401c27cb3$36318380$0146a8c0@jnpr.net> Message-ID: <3DBA2D80.8030203@msu.edu> Martin, You need to search your computer for ``cygwin1.dll'' and remove any copies that are not in your Cygwin directory. You must search *all directories* on your computer for cygwin1.dll. The following FAQ entry gives a little additional information on the problem: http://xfree86.cygwin.com/docs/faq/cygwin-xfree-faq.html#q-status-access-violation Harold Martin Rausche wrote: >The question is where do I get a current one and where do I have to >replace it. Cygwin setup doesn't seem to update this file, because I >have all current versions installed via setup. Can I replace that >file manually? Can I download it as a single file from somewhere? > >TIA, >Martin. > > > >>-----Original Message----- >>From: cygwin-xfree-owner@cygwin.com >>[mailto:cygwin-xfree-owner@cygwin.com]On Behalf Of Sylvain Petreolle >>Sent: Saturday, October 26, 2002 02:13 >>To: cygwin-xfree@cygwin.com >>Subject: Re: Cannot start X >> >> >>you must have an old copy of cygwin1.dll in your system. >> --- Martin Rausche a ??crit : > Hello everyone, >> >> >>>I guess this is a common question, but the FAQ didn't help. When I >>>say >>>"startx" in the shell, I get a Windows error message, which >>> >>> >>is titled >> >> >>>"xinit.exe - Entry Point Not Found" and the according message says >>>"The >>>procedure entry point getpwnam_r could not be located in the dynamic >>>link >>>library cygwin1.dll". >>> >>> >>___________________________________________________________ >>Do You Yahoo!? -- Une adresse @yahoo.fr gratuite et en fran??ais ! >>Yahoo! Mail : http://fr.mail.yahoo.com >> >> >> > > > From mrausche@gmx.de Fri Oct 25 22:58:00 2002 From: mrausche@gmx.de (Martin Rausche) Date: Fri, 25 Oct 2002 22:58:00 -0000 Subject: Cannot start X In-Reply-To: <3DBA2D80.8030203@msu.edu> Message-ID: <000a01c27cb4$c3a170d0$0146a8c0@jnpr.net> Harold, THANKS! That was the cause of my problems. There was a copy under WINNT :-( X is working now. Martin. > -----Original Message----- > From: cygwin-xfree-owner@cygwin.com > [mailto:cygwin-xfree-owner@cygwin.com]On Behalf Of Harold L Hunt II > Sent: Saturday, October 26, 2002 07:52 > To: cygwin-xfree@cygwin.com > Subject: Re: Cannot start X > > > Martin, > > You need to search your computer for ``cygwin1.dll'' and remove any > copies that are not in your Cygwin directory. You must search *all > directories* on your computer for cygwin1.dll. The following > FAQ entry > gives a little additional information on the problem: > > http://xfree86.cygwin.com/docs/faq/cygwin-xfree-faq.html#q-sta > tus-access-violation > > Harold > > Martin Rausche wrote: > > >The question is where do I get a current one and where do I have to > >replace it. Cygwin setup doesn't seem to update this file, because I > >have all current versions installed via setup. Can I replace that > >file manually? Can I download it as a single file from somewhere? > > > >TIA, > >Martin. > > > > > > > >>-----Original Message----- > >>From: cygwin-xfree-owner@cygwin.com > >>[mailto:cygwin-xfree-owner@cygwin.com]On Behalf Of Sylvain Petreolle > >>Sent: Saturday, October 26, 2002 02:13 > >>To: cygwin-xfree@cygwin.com > >>Subject: Re: Cannot start X > >> > >> > >>you must have an old copy of cygwin1.dll in your system. > >> --- Martin Rausche a ??crit : > Hello everyone, > >> > >> > >>>I guess this is a common question, but the FAQ didn't help. When I > >>>say > >>>"startx" in the shell, I get a Windows error message, which > >>> > >>> > >>is titled > >> > >> > >>>"xinit.exe - Entry Point Not Found" and the according message says > >>>"The > >>>procedure entry point getpwnam_r could not be located in > the dynamic > >>>link > >>>library cygwin1.dll". > >>> > >>> > >>___________________________________________________________ > >>Do You Yahoo!? -- Une adresse @yahoo.fr gratuite et en fran??ais ! > >>Yahoo! Mail : http://fr.mail.yahoo.com > >> > >> > >> > > > > > > > From huntharo@msu.edu Fri Oct 25 23:01:00 2002 From: huntharo@msu.edu (Harold L Hunt II) Date: Fri, 25 Oct 2002 23:01:00 -0000 Subject: Cannot start X In-Reply-To: <000a01c27cb4$c3a170d0$0146a8c0@jnpr.net> References: <000a01c27cb4$c3a170d0$0146a8c0@jnpr.net> Message-ID: <3DBA2FCE.4040201@msu.edu> Martin, Glad I could help. It was actually Sylvain Petreolle that answered your question... I just helped you understand what that answer meant. :) Harold Martin Rausche wrote: >Harold, > >THANKS! That was the cause of my problems. There was a copy under >WINNT :-( > >X is working now. > >Martin. > > > >>-----Original Message----- >>From: cygwin-xfree-owner@cygwin.com >>[mailto:cygwin-xfree-owner@cygwin.com]On Behalf Of Harold L Hunt II >>Sent: Saturday, October 26, 2002 07:52 >>To: cygwin-xfree@cygwin.com >>Subject: Re: Cannot start X >> >> >>Martin, >> >>You need to search your computer for ``cygwin1.dll'' and remove any >>copies that are not in your Cygwin directory. You must search *all >>directories* on your computer for cygwin1.dll. The following >>FAQ entry >>gives a little additional information on the problem: >> >>http://xfree86.cygwin.com/docs/faq/cygwin-xfree-faq.html#q-sta >>tus-access-violation >> >>Harold >> >>Martin Rausche wrote: >> >> >> >>>The question is where do I get a current one and where do I have to >>>replace it. Cygwin setup doesn't seem to update this file, because I >>>have all current versions installed via setup. Can I replace that >>>file manually? Can I download it as a single file from somewhere? >>> >>>TIA, >>>Martin. >>> >>> >>> >>> >>> >>>>-----Original Message----- >>>>From: cygwin-xfree-owner@cygwin.com >>>>[mailto:cygwin-xfree-owner@cygwin.com]On Behalf Of Sylvain Petreolle >>>>Sent: Saturday, October 26, 2002 02:13 >>>>To: cygwin-xfree@cygwin.com >>>>Subject: Re: Cannot start X >>>> >>>> >>>>you must have an old copy of cygwin1.dll in your system. >>>>--- Martin Rausche a ??crit : > Hello everyone, >>>> >>>> >>>> >>>> >>>>>I guess this is a common question, but the FAQ didn't help. When I >>>>>say >>>>>"startx" in the shell, I get a Windows error message, which >>>>> >>>>> >>>>> >>>>> >>>>is titled >>>> >>>> >>>> >>>> >>>>>"xinit.exe - Entry Point Not Found" and the according message says >>>>>"The >>>>>procedure entry point getpwnam_r could not be located in >>>>> >>>>> >>the dynamic >> >> >>>>>link >>>>>library cygwin1.dll". >>>>> >>>>> >>>>> >>>>> >>>>___________________________________________________________ >>>>Do You Yahoo!? -- Une adresse @yahoo.fr gratuite et en fran??ais ! >>>>Yahoo! Mail : http://fr.mail.yahoo.com >>>> >>>> >>>> >>>> >>>> >>> >>> >>> > > > From Max.Buvry@enseeiht.fr Sat Oct 26 01:33:00 2002 From: Max.Buvry@enseeiht.fr (Max Buvry) Date: Sat, 26 Oct 2002 01:33:00 -0000 Subject: Ported X11 soft from Solaris Message-ID: <3DBA534D.D045D8E9@enseeiht.fr> Hi, I use cygwin/xfree under XP and I attempt to port a graphic application which runs under Solaris 7. The beginning of my makefile is : CC = gcc COPT= -O -c -g -Wall LIB = -lSM -lXpm -lXaw -lXmu -lXt -lX11 -lXext -lm -lc -lpq CFLAGS = -I/usr/include/ -I/usr/X11R6/include/ LDFLAGS = -L/usr/X11R6/lib -L/usr/lib The adresses of the include files and the libraries is correct for my installation. Under Solaris, I don't need the SM and Xpm library. I added it under cygwin because of the following messages. My 2 problems is shown by the following make. The first problem is a warning but I don't understand it. The second is a problem of unreseolved references but I don't find the correction. in advance, thanks for your help mb $ make gcc -O -c -g -Wall -I/usr/include/ -I/usr/X11R6/include/ gestion_scores.c cc1: warning: changing search order for system directory "/usr/include" cc1: warning: as it has already been specified as a non-system directory gcc -L/usr/X11R6/lib -L/usr/lib -o Tetris dep_horiz.o interface_X.o main.o boutons.o tetris.o Scale.o gestion_scores.o rotation.o colorer.o lignes_pleines.o -lSM -lXpm -lXaw -lXmu -lXt -lX11 -lXext -lm -lc -lpq /usr/X11R6/lib/libXaw.a(Pixmap.o)(.text+0x1d4b):Pixmap.c: undefined reference to `_XpmReadFileToPixmap' /usr/X11R6/lib/libXt.a(Shell.o)(.text+0x3536):Shell.c: undefined reference to `_SmcCloseConnection' /usr/X11R6/lib/libXt.a(Shell.o)(.text+0x3617):Shell.c: undefined reference to `_SmcModifyCallbacks' /usr/X11R6/lib/libXt.a(Shell.o)(.text+0x3626):Shell.c: undefined reference to `_SmcClientID' /usr/X11R6/lib/libXt.a(Shell.o)(.text+0x3686):Shell.c: undefined reference to `_SmcOpenConnection From Benjamin.Riefenstahl@epost.de Sat Oct 26 05:13:00 2002 From: Benjamin.Riefenstahl@epost.de (Benjamin Riefenstahl) Date: Sat, 26 Oct 2002 05:13:00 -0000 Subject: Ported X11 soft from Solaris In-Reply-To: <3DBA534D.D045D8E9@enseeiht.fr> References: <3DBA534D.D045D8E9@enseeiht.fr> Message-ID: Hi Max, Max Buvry writes: > LIB = -lSM -lXpm -lXaw -lXmu -lXt -lX11 -lXext -lm -lc -lpq Don't specify the C runtime libraries, they are implied and adding them here can only do harm. IOW drop "-lm -lc". > CFLAGS = -I/usr/include/ -I/usr/X11R6/include/ Same with C runtime header directories. Drop "-I/usr/include". > [. . .] > > $ make > gcc -O -c -g -Wall -I/usr/include/ -I/usr/X11R6/include/ > gestion_scores.c > cc1: warning: changing search order for system directory "/usr/include" > cc1: warning: as it has already been specified as a non-system > directory The compiler is irritated because you specified the redundant "-I/usr/include" in your CFLAGS above. > gcc -L/usr/X11R6/lib -L/usr/lib -o Tetris dep_horiz.o interface_X.o > main.o boutons.o tetris.o Scale.o gestion_scores.o rotation.o > colorer.o lignes_pleines.o -lSM -lXpm -lXaw -lXmu -lXt -lX11 -lXext > -lm -lc -lpq The next warnings are because the linker examines the libraries from left to right *once* only, therefore the order of your "-l" options matters. > /usr/X11R6/lib/libXaw.a(Pixmap.o)(.text+0x1d4b):Pixmap.c: undefined > reference to `_XpmReadFileToPixmap' Says that libXaw.a reference a symbol that is probably in libXpm.a. So you need to have -lXaw *before* -lXpm. > /usr/X11R6/lib/libXt.a(Shell.o)(.text+0x3536):Shell.c: undefined > reference to `_SmcCloseConnection' > /usr/X11R6/lib/libXt.a(Shell.o)(.text+0x3617):Shell.c: undefined > reference to `_SmcModifyCallbacks' > /usr/X11R6/lib/libXt.a(Shell.o)(.text+0x3626):Shell.c: undefined > reference to `_SmcClientID' > /usr/X11R6/lib/libXt.a(Shell.o)(.text+0x3686):Shell.c: undefined > reference to `_SmcOpenConnection Similar problems with -lXt and -lSM, I guess. so long, benny From zakki@peppermint.jp Sat Oct 26 08:28:00 2002 From: zakki@peppermint.jp (Kensuke Matsuzaki) Date: Sat, 26 Oct 2002 08:28:00 -0000 Subject: [ANNOUNCEMENT] Server Test 68 In-Reply-To: References: Message-ID: Rootless mode initialize in CreateWindow, and clean up in DestroyWindow. But DestroyWindow is seldom called(I don't know why), so we can't delete HRGN and resource leaks. In XDarwin, it seems that they use RootlessRealizeWindow/RootlessUnrealizeWindow. We will need to move code to winMapWindowPRootless/winUnmapWindowPRootless. Kensuke Matsuzaki From Alexander.Gottwald@informatik.tu-chemnitz.de Sun Oct 27 06:12:00 2002 From: Alexander.Gottwald@informatik.tu-chemnitz.de (Alexander Gottwald) Date: Sun, 27 Oct 2002 06:12:00 -0000 Subject: Keyboard confusion In-Reply-To: <3DB95FDD.57D546FC@morganstanley.com> Message-ID: Robert White wrote: > Hi > > I have noticed that when I am using the Xwin it seems to detect that I am using > an Amercan Keyboard, rather than the British one. The XServer is not detecting anything. You'll have to configure it in /etc/X11/XF86Config. > This is not the behaviour > outside the X server. (I.e in a cygwin command prompt window the keyboard map is > correct). > > Not having the XF86config I understand from the documentation that Xwin is > configured from a combination of the native env and command line switches. Maybe the XF86Config file is not installed by default but the newest release now read this file if it exists. A sample file can be found at http://www-user.tu-chemnitz.de/~goal/xfree/XF86Config-4.bz2 > I have checked the region settings and they are set to United Kingdom, althougth > the checkbox set as system wide locale is not selected. The windows settings have no effect to XWin. bye ago NP: Project Pitchfork - Malicious Delight -- Alexander.Gottwald@informatik.tu-chemnitz.de http://www.gotti.org ICQ: 126018723 From sam.edgeZZZ@lineone.net Sun Oct 27 07:11:00 2002 From: sam.edgeZZZ@lineone.net (Sam Edge) Date: Sun, 27 Oct 2002 07:11:00 -0000 Subject: ttmkfdir download location Message-ID: <4tvnruor9eq47djki9b1mpptpp93234nfb@4ax.com> Just a note to say that the download location for my Cygwin binary of Joerg Pommnitz's ttmkfdir has changed from the one given on http://xfree86.cygwin.com/ported-software.html due to a redesign to a frameset-less format. The correct URI is now http://fundin.f2g.net/download.html. Perhaps the maintainers of the Cygwin/XFree web pages could update the link when they get a moment. Thanks. -- Sam From jc.gervais@videotron.ca Sun Oct 27 07:44:00 2002 From: jc.gervais@videotron.ca (Jean-Claude Gervais) Date: Sun, 27 Oct 2002 07:44:00 -0000 Subject: True-type Fonts on *nixes and Cygwin XFree also? In-Reply-To: <4tvnruor9eq47djki9b1mpptpp93234nfb@4ax.com> Message-ID: Hi, I recently read this article http://corefonts.sourceforge.net/ And applied the procedure to my Linux machine. My question is, how relevant is this to Cygwin? Meaning, does Cygwin use True-Type and anti-aliased fonts? If Cygwin can use anti-aliased fonts, how do you get that working? The installation procedure has a few steps that pertain to the RPM module. I tried downloading the Cygwin port of it, and the link seems to be broken. Does anyone have information on anti-aliased fonts on Cygwin? From sb@dod.no Sun Oct 27 11:43:00 2002 From: sb@dod.no (Steinar Bang) Date: Sun, 27 Oct 2002 11:43:00 -0000 Subject: Uses for Cygwin/XFree86 References: <3DB48C38.1080308@msu.edu> <3DB48C38.1080308@msu.edu> <5.1.0.14.2.20021023215645.01fdf870@pop3.cris.com> <20021024155737.GA71776922@TheWorld.com> <3DB8371F.1010407@msu.edu> <20021026022041.GA73570311@TheWorld.com> Message-ID: <87k7k3u0pz.fsf@doohan.bang.priv.no> >>>>> Rick Umali : > I captured the screen shots into Paint Shop Pro, and saved the > images directly to JPG. I didn't save them into BMP, unfortunately. Once you have saved them as JPEGs, the blurring has already occurred. What happens is that sharp transitions are blurred because of the quantization done by the JPEG algorithm. Basically, the high frequency components in the image are chopped away. From ehud@unix.mvs.co.il Mon Oct 28 03:10:00 2002 From: ehud@unix.mvs.co.il (Ehud Karni) Date: Mon, 28 Oct 2002 03:10:00 -0000 Subject: Uses for Cygwin/XFree86 In-Reply-To: <87k7k3u0pz.fsf@doohan.bang.priv.no> (message from Steinar Bang on Sun, 27 Oct 2002 20:43:20 +0100) References: <3DB48C38.1080308@msu.edu> <3DB48C38.1080308@msu.edu> <5.1.0.14.2.20021023215645.01fdf870@pop3.cris.com> <20021024155737.GA71776922@TheWorld.com> <3DB8371F.1010407@msu.edu> <20021026022041.GA73570311@TheWorld.com> <87k7k3u0pz.fsf@doohan.bang.priv.no> Message-ID: <200210281113.g9SBDHTx009318@beta.mvs.co.il> On Sun, 27 Oct 2002 20:43:20 +0100, Steinar Bang wrote: > > >>>>> Rick Umali : > > > I captured the screen shots into Paint Shop Pro, and saved the > > images directly to JPG. I didn't save them into BMP, unfortunately. > > Once you have saved them as JPEGs, the blurring has already occurred. > > What happens is that sharp transitions are blurred because of the > quantization done by the JPEG algorithm. Basically, the high > frequency components in the image are chopped away. May I suggest the use of Irfan view ( http://www.irfanview.com/ ). It is a freeware, It can capture the whole screen (or a window) and save it in many formats (including png). Ehud. -- Ehud Karni Tel: +972-3-7966-561 /"\ Mivtach - Simon Fax: +972-3-7966-667 \ / ASCII Ribbon Campaign Insurance agencies (USA) voice mail and X Against HTML Mail http://www.mvs.co.il FAX: 1-815-5509341 / \ mailto:ehud@unix.mvs.co.il Better Safe Than Sorry From c_twiner@hotmail.com Tue Oct 29 07:43:00 2002 From: c_twiner@hotmail.com (Chris Twiner) Date: Tue, 29 Oct 2002 07:43:00 -0000 Subject: right mouse button doesn't work (re: old subject) Message-ID: Hi All, A while ago the point was made that when using X from a solaris system to cygwin the right mouse button did not work. Mentions of recompiling x for solaris were mentioned but no conclusion was shown. Only a post by Harold that someone got it working. Suffice to say I have such a situation. It happens on my home solaris box and those at work. Whilst messing around on my own box is ok, it's definitely not for the work machines. Was any conclusion reached? Did anyone have a solution? Chris _________________________________________________________________ Internet access plans that fit your lifestyle -- join MSN. http://resourcecenter.msn.com/access/plans/default.asp From huntharo@msu.edu Tue Oct 29 07:47:00 2002 From: huntharo@msu.edu (Harold L Hunt II) Date: Tue, 29 Oct 2002 07:47:00 -0000 Subject: right mouse button doesn't work (re: old subject) In-Reply-To: References: Message-ID: <3DBEAD9E.9060506@msu.edu> Chris, If you can send me the date of that post by me, I can check my email when I get home to see how sent me private information about their fix. I can then either forward the information they gave me, assuming they gave me some and that I still have it, or I can try to contact them regarding their solution. Of course, it would be great if someone out there has dealt with this and could just send in their solution... Harold Chris Twiner wrote: > Hi All, > > A while ago the point was made that when using X from a solaris system > to cygwin the right mouse button did not work. > > Mentions of recompiling x for solaris were mentioned but no conclusion > was shown. Only a post by Harold that someone got it working. > > Suffice to say I have such a situation. It happens on my home solaris > box and those at work. Whilst messing around on my own box is ok, > it's definitely not for the work machines. > > Was any conclusion reached? Did anyone have a solution? > > Chris > > > > > > _________________________________________________________________ > Internet access plans that fit your lifestyle -- join MSN. > http://resourcecenter.msn.com/access/plans/default.asp > From c_twiner@hotmail.com Tue Oct 29 08:15:00 2002 From: c_twiner@hotmail.com (Chris Twiner) Date: Tue, 29 Oct 2002 08:15:00 -0000 Subject: right mouse button doesn't work (re: old subject) Message-ID: Hi Harold, The address of the old message is here, http://www.cygwin.com/ml/cygwin-xfree/2001-q4/msg00272.html David Esposito is the person who said he had everything working. Just a little info, I checked xmodmap -pp and all the mappings are ok, running NEdit on the local machine (cygwin to cygwin) works fine, NEdit from the solaris box doesn't. Also some other applications that are used at work don't. Incidently there is also a drag and drop issue. The cursor changes to indicate the drag has started but the window never recieves the drop (although the initiator changes the cursor back). It's possibly the same issue. I did the xev check as well, just to make sure it was somewhere between solaris and the solaris default X server system (i.e. using nedit as a server to cygwin). cheers, Chris _________________________________________________________________ Surf the Web without missing calls!??Get MSN Broadband. http://resourcecenter.msn.com/access/plans/freeactivation.asp From c_twiner@hotmail.com Tue Oct 29 08:44:00 2002 From: c_twiner@hotmail.com (Chris Twiner) Date: Tue, 29 Oct 2002 08:44:00 -0000 Subject: right mouse button doesn't work (re: old subject) Message-ID: Hi Harold, Just got some extra info. Rather curiously holding down ctrl and clicking the right mouse button works as expected. This further compounds the issue given that some button 3 messages are definitely getting through. cheers, Chris _________________________________________________________________ Surf the Web without missing calls! Get MSN Broadband. http://resourcecenter.msn.com/access/plans/freeactivation.asp From guilherme.barbosa@sangari.com.br Tue Oct 29 12:28:00 2002 From: guilherme.barbosa@sangari.com.br (guilherme.barbosa@sangari.com.br) Date: Tue, 29 Oct 2002 12:28:00 -0000 Subject: Doubt about vi editor Message-ID: Dear friend, I'm trying to install the vi editor in my computer and I'd like to know how can i do this, because when I find out the link of the vi at cygwin site, I can't do the dowload. Please help me! Thank??s a lot. Guilherme From frank.l.lane@boeing.com Tue Oct 29 12:31:00 2002 From: frank.l.lane@boeing.com (Lane, Frank L) Date: Tue, 29 Oct 2002 12:31:00 -0000 Subject: Doubt about vi editor Message-ID: <3B2480653E7D2C4E8AA5699598D691C42300A7@xch-se-03.se.nos.boeing.com> This is one I can answer, I think. You have to go back to the reinstall site and start the reinstall. When you get to the point that you specify things to install scroll down until you see the vim (vi iMproved) package. Select this package, for some reason it doesn't automatically get installed. Things should work great for you after that. BTW, I always download the binaries, if you download the source you'll have to build the editor. Good Luck, Frank -----Original Message----- From: guilherme.barbosa@sangari.com.br [mailto:guilherme.barbosa@sangari.com.br] Sent: Tuesday, October 29, 2002 2:30 PM To: cygwin-xfree@cygwin.com Subject: Doubt about vi editor Dear friend, I'm trying to install the vi editor in my computer and I'd like to know how can i do this, because when I find out the link of the vi at cygwin site, I can't do the dowload. Please help me! Thank?s a lot. Guilherme From c_twiner@hotmail.com Wed Oct 30 04:02:00 2002 From: c_twiner@hotmail.com (Chris Twiner) Date: Wed, 30 Oct 2002 04:02:00 -0000 Subject: right mouse button doesn't work (re: old subject) Message-ID: Hi All, got the problem. When the num-lock is on it won't work properly in nedit: similar problem non-cygwin related: www.nedit.org slash archives slash discuss slash 2000-Mar slash 0383.html (slashed it so it would go through the spam filter) So it's possibly an application problem I'm looking at. Why it works on local and not remote I don't know. It doesn't help with the other application though. (Drag and drop and right mouse button, which works under exceed). The application is Razor by the way. chris _________________________________________________________________ Unlimited Internet access -- and 2 months free!?? Try MSN. http://resourcecenter.msn.com/access/plans/2monthsfree.asp From bob.cavanaugh@flextronics.com Wed Oct 30 17:55:00 2002 From: bob.cavanaugh@flextronics.com (bob.cavanaugh@flextronics.com) Date: Wed, 30 Oct 2002 17:55:00 -0000 Subject: Building Eterm - please more help Message-ID: Hello, I am still trying to build Eterm for Cygwin. I have now successfully got cygipc running (thanks J. L!) and have built Imlib2 (Thanks Harold!). The Eterm source appears to compile completely, but is failing in the linker. Here is the messages from the make process. I included the entire thing in case I missed something. The main problem I am having is the undefined references. Any help will be gratefully appreciated. make all-recursive make[1]: Entering directory `/usr/local/Eterm-0.9.1' Making all in src make[2]: Entering directory `/usr/local/Eterm-0.9.1/src' /bin/sh ../libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/include -I/usr/X11R6/include -g -O2 -c actions.c gcc -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/include -I/usr/X11R6/include -g -O2 -c actions.c -o actions.o In file included from actions.c:30: /usr/include/limits.h:128: warning: `PATH_MAX' redefined /usr/local/include/libast.h:357: warning: this is the location of the previous definition echo timestamp > actions.lo /bin/sh ../libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/include -I/usr/X11R6/include -g -O2 -c buttons.c gcc -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/include -I/usr/X11R6/include -g -O2 -c buttons.c -o buttons.o In file included from command.h:23, from buttons.c:32: /usr/include/limits.h:128: warning: `PATH_MAX' redefined /usr/local/include/libast.h:357: warning: this is the location of the previous definition echo timestamp > buttons.lo /bin/sh ../libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/include -I/usr/X11R6/include -g -O2 -c command.c gcc -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/include -I/usr/X11R6/include -g -O2 -c command.c -o command.o In file included from command.c:59: /usr/include/limits.h:128: warning: `PATH_MAX' redefined /usr/local/include/libast.h:357: warning: this is the location of the previous definition echo timestamp > command.lo /bin/sh ../libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/include -I/usr/X11R6/include -g -O2 -c draw.c gcc -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/include -I/usr/X11R6/include -g -O2 -c draw.c -o draw.o echo timestamp > draw.lo /bin/sh ../libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/include -I/usr/X11R6/include -g -O2 -c e.c gcc -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/include -I/usr/X11R6/include -g -O2 -c e.c -o e.o In file included from e.c:32: /usr/include/limits.h:128: warning: `PATH_MAX' redefined /usr/local/include/libast.h:357: warning: this is the location of the previous definition echo timestamp > e.lo /bin/sh ../libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/include -I/usr/X11R6/include -g -O2 -c events.c gcc -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/include -I/usr/X11R6/include -g -O2 -c events.c -o events.o In file included from events.c:32: /usr/include/limits.h:128: warning: `PATH_MAX' redefined /usr/local/include/libast.h:357: warning: this is the location of the previous definition echo timestamp > events.lo /bin/sh ../libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/include -I/usr/X11R6/include -g -O2 -c font.c gcc -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/include -I/usr/X11R6/include -g -O2 -c font.c -o font.o In file included from font.c:32: /usr/include/limits.h:128: warning: `PATH_MAX' redefined /usr/local/include/libast.h:357: warning: this is the location of the previous definition echo timestamp > font.lo /bin/sh ../libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/include -I/usr/X11R6/include -g -O2 -c grkelot.c gcc -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/include -I/usr/X11R6/include -g -O2 -c grkelot.c -o grkelot.o echo timestamp > grkelot.lo /bin/sh ../libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/include -I/usr/X11R6/include -g -O2 -c menus.c gcc -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/include -I/usr/X11R6/include -g -O2 -c menus.c -o menus.o In file included from command.h:23, from menus.c:31: /usr/include/limits.h:128: warning: `PATH_MAX' redefined /usr/local/include/libast.h:357: warning: this is the location of the previous definition echo timestamp > menus.lo /bin/sh ../libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/include -I/usr/X11R6/include -g -O2 -c misc.c gcc -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/include -I/usr/X11R6/include -g -O2 -c misc.c -o misc.o In file included from command.h:23, from misc.c:39: /usr/include/limits.h:128: warning: `PATH_MAX' redefined /usr/local/include/libast.h:357: warning: this is the location of the previous definition echo timestamp > misc.lo /bin/sh ../libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/include -I/usr/X11R6/include -g -O2 -c netdisp.c gcc -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/include -I/usr/X11R6/include -g -O2 -c netdisp.c -o netdisp.o echo timestamp > netdisp.lo /bin/sh ../libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/include -I/usr/X11R6/include -g -O2 -c options.c gcc -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/include -I/usr/X11R6/include -g -O2 -c options.c -o options.o In file included from options.c:38: /usr/include/limits.h:128: warning: `PATH_MAX' redefined /usr/local/include/libast.h:357: warning: this is the location of the previous definition echo timestamp > options.lo /bin/sh ../libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/include -I/usr/X11R6/include -g -O2 -c pixmap.c gcc -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/include -I/usr/X11R6/include -g -O2 -c pixmap.c -o pixmap.o In file included from command.h:23, from pixmap.c:41: /usr/include/limits.h:128: warning: `PATH_MAX' redefined /usr/local/include/libast.h:357: warning: this is the location of the previous definition echo timestamp > pixmap.lo /bin/sh ../libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/include -I/usr/X11R6/include -g -O2 -c screen.c gcc -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/include -I/usr/X11R6/include -g -O2 -c screen.c -o screen.o In file included from command.h:23, from screen.c:35: /usr/include/limits.h:128: warning: `PATH_MAX' redefined /usr/local/include/libast.h:357: warning: this is the location of the previous definition echo timestamp > screen.lo /bin/sh ../libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/include -I/usr/X11R6/include -g -O2 -c script.c gcc -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/include -I/usr/X11R6/include -g -O2 -c script.c -o script.o In file included from script.c:32: /usr/include/limits.h:128: warning: `PATH_MAX' redefined /usr/local/include/libast.h:357: warning: this is the location of the previous definition echo timestamp > script.lo /bin/sh ../libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/include -I/usr/X11R6/include -g -O2 -c scrollbar.c gcc -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/include -I/usr/X11R6/include -g -O2 -c scrollbar.c -o scrollbar.o In file included from command.h:23, from scrollbar.c:32: /usr/include/limits.h:128: warning: `PATH_MAX' redefined /usr/local/include/libast.h:357: warning: this is the location of the previous definition echo timestamp > scrollbar.lo /bin/sh ../libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/include -I/usr/X11R6/include -g -O2 -c startup.c gcc -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/include -I/usr/X11R6/include -g -O2 -c startup.c -o startup.o In file included from command.h:23, from startup.c:46: /usr/include/limits.h:128: warning: `PATH_MAX' redefined /usr/local/include/libast.h:357: warning: this is the location of the previous definition echo timestamp > startup.lo /bin/sh ../libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/include -I/usr/X11R6/include -g -O2 -c system.c gcc -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/include -I/usr/X11R6/include -g -O2 -c system.c -o system.o In file included from command.h:23, from system.c:39: /usr/include/limits.h:128: warning: `PATH_MAX' redefined /usr/local/include/libast.h:357: warning: this is the location of the previous definition echo timestamp > system.lo /bin/sh ../libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/include -I/usr/X11R6/include -g -O2 -c term.c gcc -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/include -I/usr/X11R6/include -g -O2 -c term.c -o term.o In file included from term.c:32: /usr/include/limits.h:128: warning: `PATH_MAX' redefined /usr/local/include/libast.h:357: warning: this is the location of the previous definition echo timestamp > term.lo /bin/sh ../libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/include -I/usr/X11R6/include -g -O2 -c timer.c gcc -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/include -I/usr/X11R6/include -g -O2 -c timer.c -o timer.o In file included from timer.c:32: /usr/include/limits.h:128: warning: `PATH_MAX' redefined /usr/local/include/libast.h:357: warning: this is the location of the previous definition echo timestamp > timer.lo /bin/sh ../libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/include -I/usr/X11R6/include -g -O2 -c utmp.c gcc -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/include -I/usr/X11R6/include -g -O2 -c utmp.c -o utmp.o echo timestamp > utmp.lo /bin/sh ../libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/include -I/usr/X11R6/include -g -O2 -c windows.c gcc -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/include -I/usr/X11R6/include -g -O2 -c windows.c -o windows.o In file included from windows.c:32: /usr/include/limits.h:128: warning: `PATH_MAX' redefined /usr/local/include/libast.h:357: warning: this is the location of the previous definition echo timestamp > windows.lo /bin/sh ../libtool --mode=link gcc -g -O2 -L/usr/lib -L/usr/X11R6/lib -o libEterm.la -rpath /usr/lib -release 0.9.1 actions.lo buttons.lo command.lo draw.lo e.lo events.lo font.lo grkelot.lo menus.lo misc.lo netdisp.lo options.lo pixmap.lo screen.lo script.lo scrollbar.lo startup.lo system.lo term.lo timer.lo utmp.lo windows.lo -last -lImlib2 -lttf -lSM -lICE -lXext -lX11 -lm -lipc libtool: link: warning: undefined symbols not allowed in i686-pc-cygwin shared libraries mkdir .libs ar cru .libs/libEterm.a actions.o buttons.o command.o draw.o e.o events.o font.o grkelot.o menus.o misc.o netdisp.o options.o pixmap.o screen.o script.o scrollbar.o startup.o system.o term.o timer.o utmp.o windows.o ranlib .libs/libEterm.a creating libEterm.la (cd .libs && rm -f libEterm.la && ln -s ../libEterm.la libEterm.la) gcc -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/include -I/usr/X11R6/include -g -O2 -c main.c /bin/sh ../libtool --mode=link gcc -g -O2 -L/usr/lib -L/usr/X11R6/lib -o Eterm -rpath /usr/lib:/usr/lib/Eterm main.o libEterm.la -last -lImlib2 -lttf -lSM -lICE -lXext -lX11 -lm -lipc gcc -g -O2 -L/usr/lib -L/usr/X11R6/lib -o Eterm main.o .libs/libEterm.a -last -lImlib2 -lttf -lSM -lICE -lXext -lX11 -lipc -last -lImlib2 -lttf -lSM -lICE -lXext -lX11 -lipc -Wl,--rpath -Wl,/usr/lib:/usr/lib/Eterm -Wl,--rpath -Wl,/usr/lib:/usr/lib/Eterm .libs/libEterm.a(screen.o): In function `selection_copy_string': /usr/local/Eterm-0.9.1/src/screen.c:2455: undefined reference to `_XA_CLIPBOARD' /usr/local/Eterm-0.9.1/src/screen.c:2455: undefined reference to `XmuInternAtom' .libs/libEterm.a(screen.o): In function `selection_paste': /usr/local/Eterm-0.9.1/src/screen.c:2482: undefined reference to `_XA_CLIPBOARD' /usr/local/Eterm-0.9.1/src/screen.c:2482: undefined reference to `XmuInternAtom' collect2: ld returned 1 exit status make[2]: *** [Eterm] Error 1 make[2]: Leaving directory `/usr/local/Eterm-0.9.1/src' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/usr/local/Eterm-0.9.1' make: *** [all-recursive-am] Error 2 Thanks, Robert Cavanaugh Senior Firmware Engineer Flextronics Design Mountain States Engineering Salt Lake City, Utah (801)-685-9330 From huntharo@msu.edu Wed Oct 30 19:17:00 2002 From: huntharo@msu.edu (Harold L Hunt II) Date: Wed, 30 Oct 2002 19:17:00 -0000 Subject: Building Eterm - please more help In-Reply-To: References: Message-ID: <3DC0A0AD.7040303@msu.edu> Robert, Well, eterm's libast is contains the file that is being put in /usr/local/include/libast.h... and that file has had the following code as far back as the CVS history goes: #*if* *defined*(PATH_MAX) && (PATH_MAX < 255) # *undef* PATH_MAX #*endif* #*ifndef* PATH_MAX # *define* PATH_MAX 255 #*endif Now, I cannot say that the (PATH_MAX < 255) conditional is actually going to mean anything to the C preprocessor that we use, and I will bet you money that this just breaks differently on other platforms such that PATH_MAX is not being redefined (it is probably never defined on those platforms). In any case, I am going to have to tell you the secret that makes all of us ``hackers'' real men. Okay, the secret is, when something in a header conflicts with a system header, you do three things: 1) #if 0 the section in the offending header that redefines what the system headers defines. 2) Do a test compile and see if the point of error moves on to some other point. 3) If you succeed at #2, then go back and either fix the broken #define code or add a platform-specific kludge that prevents that section from doing harm on your platform. That is how we get things compiled, and some of us go back and clean the mess up later so that the changes can actuall be committed so CVS. :) There, you are now much wiser, and I think you know that I am trying to tell you to do next, right? Harold P.S. Okay, just in case, goto /usr/local/include/libast.h and #if 0 the section that I quoted above. Rebuild. If the build still fails, go look again at /usr/local/include/libast.h and make sure that it has not been replaced with an original version during the build process; in which case you would need to edit the version of libast.h in your source tree (which you will eventually have to do anyway). * bob.cavanaugh@flextronics.com wrote: >Hello, >I am still trying to build Eterm for Cygwin. I have now successfully got cygipc >running (thanks J. L!) and have built Imlib2 (Thanks Harold!). The Eterm source >appears to compile completely, but is failing in the linker. Here is the >messages from the make process. I included the entire thing in case I missed >something. The main problem I am having is the undefined references. Any help >will be gratefully appreciated. > >make all-recursive >make[1]: Entering directory `/usr/local/Eterm-0.9.1' >Making all in src >make[2]: Entering directory `/usr/local/Eterm-0.9.1/src' >/bin/sh ../libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I.. >-I/usr/include -I/usr/X11R6/include -g -O2 -c actions.c >gcc -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/include -I/usr/X11R6/include -g -O2 -c >actions.c -o actions.o >In file included from actions.c:30: >/usr/include/limits.h:128: warning: `PATH_MAX' redefined >/usr/local/include/libast.h:357: warning: this is the location of the previous >definition >echo timestamp > actions.lo >/bin/sh ../libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I.. >-I/usr/include -I/usr/X11R6/include -g -O2 -c buttons.c >gcc -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/include -I/usr/X11R6/include -g -O2 -c >buttons.c -o buttons.o >In file included from command.h:23, > from buttons.c:32: >/usr/include/limits.h:128: warning: `PATH_MAX' redefined >/usr/local/include/libast.h:357: warning: this is the location of the previous >definition >echo timestamp > buttons.lo >/bin/sh ../libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I.. >-I/usr/include -I/usr/X11R6/include -g -O2 -c command.c >gcc -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/include -I/usr/X11R6/include -g -O2 -c >command.c -o command.o >In file included from command.c:59: >/usr/include/limits.h:128: warning: `PATH_MAX' redefined >/usr/local/include/libast.h:357: warning: this is the location of the previous >definition >echo timestamp > command.lo >/bin/sh ../libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I.. >-I/usr/include -I/usr/X11R6/include -g -O2 -c draw.c >gcc -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/include -I/usr/X11R6/include -g -O2 -c >draw.c -o draw.o >echo timestamp > draw.lo >/bin/sh ../libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I.. >-I/usr/include -I/usr/X11R6/include -g -O2 -c e.c >gcc -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/include -I/usr/X11R6/include -g -O2 -c >e.c -o e.o >In file included from e.c:32: >/usr/include/limits.h:128: warning: `PATH_MAX' redefined >/usr/local/include/libast.h:357: warning: this is the location of the previous >definition >echo timestamp > e.lo >/bin/sh ../libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I.. >-I/usr/include -I/usr/X11R6/include -g -O2 -c events.c >gcc -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/include -I/usr/X11R6/include -g -O2 -c >events.c -o events.o >In file included from events.c:32: >/usr/include/limits.h:128: warning: `PATH_MAX' redefined >/usr/local/include/libast.h:357: warning: this is the location of the previous >definition >echo timestamp > events.lo >/bin/sh ../libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I.. >-I/usr/include -I/usr/X11R6/include -g -O2 -c font.c >gcc -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/include -I/usr/X11R6/include -g -O2 -c >font.c -o font.o >In file included from font.c:32: >/usr/include/limits.h:128: warning: `PATH_MAX' redefined >/usr/local/include/libast.h:357: warning: this is the location of the previous >definition >echo timestamp > font.lo >/bin/sh ../libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I.. >-I/usr/include -I/usr/X11R6/include -g -O2 -c grkelot.c >gcc -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/include -I/usr/X11R6/include -g -O2 -c >grkelot.c -o grkelot.o >echo timestamp > grkelot.lo >/bin/sh ../libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I.. >-I/usr/include -I/usr/X11R6/include -g -O2 -c menus.c >gcc -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/include -I/usr/X11R6/include -g -O2 -c >menus.c -o menus.o >In file included from command.h:23, > from menus.c:31: >/usr/include/limits.h:128: warning: `PATH_MAX' redefined >/usr/local/include/libast.h:357: warning: this is the location of the previous >definition >echo timestamp > menus.lo >/bin/sh ../libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I.. >-I/usr/include -I/usr/X11R6/include -g -O2 -c misc.c >gcc -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/include -I/usr/X11R6/include -g -O2 -c >misc.c -o misc.o >In file included from command.h:23, > from misc.c:39: >/usr/include/limits.h:128: warning: `PATH_MAX' redefined >/usr/local/include/libast.h:357: warning: this is the location of the previous >definition >echo timestamp > misc.lo >/bin/sh ../libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I.. >-I/usr/include -I/usr/X11R6/include -g -O2 -c netdisp.c >gcc -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/include -I/usr/X11R6/include -g -O2 -c >netdisp.c -o netdisp.o >echo timestamp > netdisp.lo >/bin/sh ../libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I.. >-I/usr/include -I/usr/X11R6/include -g -O2 -c options.c >gcc -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/include -I/usr/X11R6/include -g -O2 -c >options.c -o options.o >In file included from options.c:38: >/usr/include/limits.h:128: warning: `PATH_MAX' redefined >/usr/local/include/libast.h:357: warning: this is the location of the previous >definition >echo timestamp > options.lo >/bin/sh ../libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I.. >-I/usr/include -I/usr/X11R6/include -g -O2 -c pixmap.c >gcc -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/include -I/usr/X11R6/include -g -O2 -c >pixmap.c -o pixmap.o >In file included from command.h:23, > from pixmap.c:41: >/usr/include/limits.h:128: warning: `PATH_MAX' redefined >/usr/local/include/libast.h:357: warning: this is the location of the previous >definition >echo timestamp > pixmap.lo >/bin/sh ../libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I.. >-I/usr/include -I/usr/X11R6/include -g -O2 -c screen.c >gcc -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/include -I/usr/X11R6/include -g -O2 -c >screen.c -o screen.o >In file included from command.h:23, > from screen.c:35: >/usr/include/limits.h:128: warning: `PATH_MAX' redefined >/usr/local/include/libast.h:357: warning: this is the location of the previous >definition >echo timestamp > screen.lo >/bin/sh ../libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I.. >-I/usr/include -I/usr/X11R6/include -g -O2 -c script.c >gcc -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/include -I/usr/X11R6/include -g -O2 -c >script.c -o script.o >In file included from script.c:32: >/usr/include/limits.h:128: warning: `PATH_MAX' redefined >/usr/local/include/libast.h:357: warning: this is the location of the previous >definition >echo timestamp > script.lo >/bin/sh ../libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I.. >-I/usr/include -I/usr/X11R6/include -g -O2 -c scrollbar.c >gcc -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/include -I/usr/X11R6/include -g -O2 -c >scrollbar.c -o scrollbar.o >In file included from command.h:23, > from scrollbar.c:32: >/usr/include/limits.h:128: warning: `PATH_MAX' redefined >/usr/local/include/libast.h:357: warning: this is the location of the previous >definition >echo timestamp > scrollbar.lo >/bin/sh ../libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I.. >-I/usr/include -I/usr/X11R6/include -g -O2 -c startup.c >gcc -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/include -I/usr/X11R6/include -g -O2 -c >startup.c -o startup.o >In file included from command.h:23, > from startup.c:46: >/usr/include/limits.h:128: warning: `PATH_MAX' redefined >/usr/local/include/libast.h:357: warning: this is the location of the previous >definition >echo timestamp > startup.lo >/bin/sh ../libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I.. >-I/usr/include -I/usr/X11R6/include -g -O2 -c system.c >gcc -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/include -I/usr/X11R6/include -g -O2 -c >system.c -o system.o >In file included from command.h:23, > from system.c:39: >/usr/include/limits.h:128: warning: `PATH_MAX' redefined >/usr/local/include/libast.h:357: warning: this is the location of the previous >definition >echo timestamp > system.lo >/bin/sh ../libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I.. >-I/usr/include -I/usr/X11R6/include -g -O2 -c term.c >gcc -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/include -I/usr/X11R6/include -g -O2 -c >term.c -o term.o >In file included from term.c:32: >/usr/include/limits.h:128: warning: `PATH_MAX' redefined >/usr/local/include/libast.h:357: warning: this is the location of the previous >definition >echo timestamp > term.lo >/bin/sh ../libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I.. >-I/usr/include -I/usr/X11R6/include -g -O2 -c timer.c >gcc -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/include -I/usr/X11R6/include -g -O2 -c >timer.c -o timer.o >In file included from timer.c:32: >/usr/include/limits.h:128: warning: `PATH_MAX' redefined >/usr/local/include/libast.h:357: warning: this is the location of the previous >definition >echo timestamp > timer.lo >/bin/sh ../libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I.. >-I/usr/include -I/usr/X11R6/include -g -O2 -c utmp.c >gcc -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/include -I/usr/X11R6/include -g -O2 -c >utmp.c -o utmp.o >echo timestamp > utmp.lo >/bin/sh ../libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I.. >-I/usr/include -I/usr/X11R6/include -g -O2 -c windows.c >gcc -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/include -I/usr/X11R6/include -g -O2 -c >windows.c -o windows.o >In file included from windows.c:32: >/usr/include/limits.h:128: warning: `PATH_MAX' redefined >/usr/local/include/libast.h:357: warning: this is the location of the previous >definition >echo timestamp > windows.lo >/bin/sh ../libtool --mode=link gcc -g -O2 -L/usr/lib -L/usr/X11R6/lib -o >libEterm.la -rpath /usr/lib -release 0.9.1 actions.lo buttons.lo command.lo >draw.lo e.lo events.lo font.lo grkelot.lo menus.lo misc.lo netdisp.lo options.lo >pixmap.lo screen.lo script.lo scrollbar.lo startup.lo system.lo term.lo timer.lo >utmp.lo windows.lo -last -lImlib2 -lttf -lSM -lICE -lXext -lX11 -lm -lipc >libtool: link: warning: undefined symbols not allowed in i686-pc-cygwin shared >libraries >mkdir .libs >ar cru .libs/libEterm.a actions.o buttons.o command.o draw.o e.o events.o >font.o grkelot.o menus.o misc.o netdisp.o options.o pixmap.o screen.o script.o >scrollbar.o startup.o system.o term.o timer.o utmp.o windows.o >ranlib .libs/libEterm.a >creating libEterm.la >(cd .libs && rm -f libEterm.la && ln -s ../libEterm.la libEterm.la) >gcc -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/include -I/usr/X11R6/include -g -O2 >-c main.c >/bin/sh ../libtool --mode=link gcc -g -O2 -L/usr/lib -L/usr/X11R6/lib -o Eterm >-rpath /usr/lib:/usr/lib/Eterm main.o libEterm.la -last -lImlib2 -lttf -lSM >-lICE -lXext -lX11 -lm -lipc >gcc -g -O2 -L/usr/lib -L/usr/X11R6/lib -o Eterm main.o .libs/libEterm.a -last >-lImlib2 -lttf -lSM -lICE -lXext -lX11 -lipc -last -lImlib2 -lttf -lSM -lICE >-lXext -lX11 -lipc -Wl,--rpath -Wl,/usr/lib:/usr/lib/Eterm -Wl,--rpath >-Wl,/usr/lib:/usr/lib/Eterm >.libs/libEterm.a(screen.o): In function `selection_copy_string': >/usr/local/Eterm-0.9.1/src/screen.c:2455: undefined reference to `_XA_CLIPBOARD' >/usr/local/Eterm-0.9.1/src/screen.c:2455: undefined reference to `XmuInternAtom' >.libs/libEterm.a(screen.o): In function `selection_paste': >/usr/local/Eterm-0.9.1/src/screen.c:2482: undefined reference to `_XA_CLIPBOARD' >/usr/local/Eterm-0.9.1/src/screen.c:2482: undefined reference to `XmuInternAtom' >collect2: ld returned 1 exit status >make[2]: *** [Eterm] Error 1 >make[2]: Leaving directory `/usr/local/Eterm-0.9.1/src' >make[1]: *** [all-recursive] Error 1 >make[1]: Leaving directory `/usr/local/Eterm-0.9.1' >make: *** [all-recursive-am] Error 2 > >Thanks, > >Robert Cavanaugh >Senior Firmware Engineer >Flextronics Design >Mountain States Engineering >Salt Lake City, Utah >(801)-685-9330 > > > > From huntharo@msu.edu Wed Oct 30 19:20:00 2002 From: huntharo@msu.edu (Harold L Hunt II) Date: Wed, 30 Oct 2002 19:20:00 -0000 Subject: Building Eterm - please more help In-Reply-To: References: <3DC0A0AD.7040303@msu.edu> Message-ID: <3DC0A18D.2010100@msu.edu> Ignore those *'s around the if's etc. That was just Mozilla being brain dead when converting from HTML email to text email. Why did I compose in HTML mode? Well, because last week Mozilla suddenly decided to freeze Windows 2000 solid every time I replied to an email. Reinstalling Mozilla fixed that problem, but it gave me the new problem that the keyboard was ignored in text emal mode. Thus, I can only compose replies in HTML mode. Oh yeah, and the first character I type is always interpreted as a hard return, so I have to press a key, then backspace, then start typing my email. It is a good thing that I really love Mozilla :) Harold Harold L Hunt II wrote: > Robert, > > Well, eterm's libast is contains the file that is being put in > /usr/local/include/libast.h... and that file has had the following > code as far back as the CVS history goes: > > #*if* *defined*(PATH_MAX) && (PATH_MAX < 255) > # *undef* PATH_MAX > #*endif* > #*ifndef* PATH_MAX > # *define* PATH_MAX 255 > #*endif > > > Now, I cannot say that the (PATH_MAX < 255) conditional is actually > going to mean > anything to the C preprocessor that we use, and I will bet you money > that this > just breaks differently on other platforms such that PATH_MAX is not > being > redefined (it is probably never defined on those platforms). > > In any case, I am going to have to tell you the secret that makes all > of us > ``hackers'' real men. Okay, the secret is, when something in a header > conflicts > with a system header, you do three things: > > 1) #if 0 the section in the offending header that redefines what the > system > headers defines. > > 2) Do a test compile and see if the point of error moves on to some > other point. > > 3) If you succeed at #2, then go back and either fix the broken > #define code > or add a platform-specific kludge that prevents that section from doing > harm on your platform. > > That is how we get things compiled, and some of us go back and clean > the mess up > later so that the changes can actuall be committed so CVS. :) > > There, you are now much wiser, and I think you know that I am trying > to tell you > to do next, right? > > Harold > > P.S. Okay, just in case, goto /usr/local/include/libast.h and #if 0 > the section > that I quoted above. Rebuild. If the build still fails, go look > again at > /usr/local/include/libast.h and make sure that it has not been > replaced with > an original version during the build process; in which case you would > need > to edit the version of libast.h in your source tree (which you will > eventually have > to do anyway). > > * > > > bob.cavanaugh@flextronics.com wrote: > >> Hello, >> I am still trying to build Eterm for Cygwin. I have now successfully >> got cygipc >> running (thanks J. L!) and have built Imlib2 (Thanks Harold!). The >> Eterm source >> appears to compile completely, but is failing in the linker. Here is >> the >> messages from the make process. I included the entire thing in case I >> missed >> something. The main problem I am having is the undefined references. >> Any help >> will be gratefully appreciated. >> >> make all-recursive >> make[1]: Entering directory `/usr/local/Eterm-0.9.1' >> Making all in src >> make[2]: Entering directory `/usr/local/Eterm-0.9.1/src' >> /bin/sh ../libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I.. >> -I/usr/include -I/usr/X11R6/include -g -O2 -c actions.c >> gcc -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/include -I/usr/X11R6/include >> -g -O2 -c >> actions.c -o actions.o >> In file included from actions.c:30: >> /usr/include/limits.h:128: warning: `PATH_MAX' redefined >> /usr/local/include/libast.h:357: warning: this is the location of the >> previous >> definition >> echo timestamp > actions.lo >> /bin/sh ../libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I.. >> -I/usr/include -I/usr/X11R6/include -g -O2 -c buttons.c >> gcc -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/include -I/usr/X11R6/include >> -g -O2 -c >> buttons.c -o buttons.o >> In file included from command.h:23, >> from buttons.c:32: >> /usr/include/limits.h:128: warning: `PATH_MAX' redefined >> /usr/local/include/libast.h:357: warning: this is the location of the >> previous >> definition >> echo timestamp > buttons.lo >> /bin/sh ../libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I.. >> -I/usr/include -I/usr/X11R6/include -g -O2 -c command.c >> gcc -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/include -I/usr/X11R6/include >> -g -O2 -c >> command.c -o command.o >> In file included from command.c:59: >> /usr/include/limits.h:128: warning: `PATH_MAX' redefined >> /usr/local/include/libast.h:357: warning: this is the location of the >> previous >> definition >> echo timestamp > command.lo >> /bin/sh ../libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I.. >> -I/usr/include -I/usr/X11R6/include -g -O2 -c draw.c >> gcc -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/include -I/usr/X11R6/include >> -g -O2 -c >> draw.c -o draw.o >> echo timestamp > draw.lo >> /bin/sh ../libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I.. >> -I/usr/include -I/usr/X11R6/include -g -O2 -c e.c >> gcc -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/include -I/usr/X11R6/include >> -g -O2 -c >> e.c -o e.o >> In file included from e.c:32: >> /usr/include/limits.h:128: warning: `PATH_MAX' redefined >> /usr/local/include/libast.h:357: warning: this is the location of the >> previous >> definition >> echo timestamp > e.lo >> /bin/sh ../libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I.. >> -I/usr/include -I/usr/X11R6/include -g -O2 -c events.c >> gcc -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/include -I/usr/X11R6/include >> -g -O2 -c >> events.c -o events.o >> In file included from events.c:32: >> /usr/include/limits.h:128: warning: `PATH_MAX' redefined >> /usr/local/include/libast.h:357: warning: this is the location of the >> previous >> definition >> echo timestamp > events.lo >> /bin/sh ../libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I.. >> -I/usr/include -I/usr/X11R6/include -g -O2 -c font.c >> gcc -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/include -I/usr/X11R6/include >> -g -O2 -c >> font.c -o font.o >> In file included from font.c:32: >> /usr/include/limits.h:128: warning: `PATH_MAX' redefined >> /usr/local/include/libast.h:357: warning: this is the location of the >> previous >> definition >> echo timestamp > font.lo >> /bin/sh ../libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I.. >> -I/usr/include -I/usr/X11R6/include -g -O2 -c grkelot.c >> gcc -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/include -I/usr/X11R6/include >> -g -O2 -c >> grkelot.c -o grkelot.o >> echo timestamp > grkelot.lo >> /bin/sh ../libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I.. >> -I/usr/include -I/usr/X11R6/include -g -O2 -c menus.c >> gcc -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/include -I/usr/X11R6/include >> -g -O2 -c >> menus.c -o menus.o >> In file included from command.h:23, >> from menus.c:31: >> /usr/include/limits.h:128: warning: `PATH_MAX' redefined >> /usr/local/include/libast.h:357: warning: this is the location of the >> previous >> definition >> echo timestamp > menus.lo >> /bin/sh ../libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I.. >> -I/usr/include -I/usr/X11R6/include -g -O2 -c misc.c >> gcc -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/include -I/usr/X11R6/include >> -g -O2 -c >> misc.c -o misc.o >> In file included from command.h:23, >> from misc.c:39: >> /usr/include/limits.h:128: warning: `PATH_MAX' redefined >> /usr/local/include/libast.h:357: warning: this is the location of the >> previous >> definition >> echo timestamp > misc.lo >> /bin/sh ../libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I.. >> -I/usr/include -I/usr/X11R6/include -g -O2 -c netdisp.c >> gcc -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/include -I/usr/X11R6/include >> -g -O2 -c >> netdisp.c -o netdisp.o >> echo timestamp > netdisp.lo >> /bin/sh ../libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I.. >> -I/usr/include -I/usr/X11R6/include -g -O2 -c options.c >> gcc -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/include -I/usr/X11R6/include >> -g -O2 -c >> options.c -o options.o >> In file included from options.c:38: >> /usr/include/limits.h:128: warning: `PATH_MAX' redefined >> /usr/local/include/libast.h:357: warning: this is the location of the >> previous >> definition >> echo timestamp > options.lo >> /bin/sh ../libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I.. >> -I/usr/include -I/usr/X11R6/include -g -O2 -c pixmap.c >> gcc -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/include -I/usr/X11R6/include >> -g -O2 -c >> pixmap.c -o pixmap.o >> In file included from command.h:23, >> from pixmap.c:41: >> /usr/include/limits.h:128: warning: `PATH_MAX' redefined >> /usr/local/include/libast.h:357: warning: this is the location of the >> previous >> definition >> echo timestamp > pixmap.lo >> /bin/sh ../libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I.. >> -I/usr/include -I/usr/X11R6/include -g -O2 -c screen.c >> gcc -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/include -I/usr/X11R6/include >> -g -O2 -c >> screen.c -o screen.o >> In file included from command.h:23, >> from screen.c:35: >> /usr/include/limits.h:128: warning: `PATH_MAX' redefined >> /usr/local/include/libast.h:357: warning: this is the location of the >> previous >> definition >> echo timestamp > screen.lo >> /bin/sh ../libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I.. >> -I/usr/include -I/usr/X11R6/include -g -O2 -c script.c >> gcc -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/include -I/usr/X11R6/include >> -g -O2 -c >> script.c -o script.o >> In file included from script.c:32: >> /usr/include/limits.h:128: warning: `PATH_MAX' redefined >> /usr/local/include/libast.h:357: warning: this is the location of the >> previous >> definition >> echo timestamp > script.lo >> /bin/sh ../libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I.. >> -I/usr/include -I/usr/X11R6/include -g -O2 -c scrollbar.c >> gcc -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/include -I/usr/X11R6/include >> -g -O2 -c >> scrollbar.c -o scrollbar.o >> In file included from command.h:23, >> from scrollbar.c:32: >> /usr/include/limits.h:128: warning: `PATH_MAX' redefined >> /usr/local/include/libast.h:357: warning: this is the location of the >> previous >> definition >> echo timestamp > scrollbar.lo >> /bin/sh ../libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I.. >> -I/usr/include -I/usr/X11R6/include -g -O2 -c startup.c >> gcc -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/include -I/usr/X11R6/include >> -g -O2 -c >> startup.c -o startup.o >> In file included from command.h:23, >> from startup.c:46: >> /usr/include/limits.h:128: warning: `PATH_MAX' redefined >> /usr/local/include/libast.h:357: warning: this is the location of the >> previous >> definition >> echo timestamp > startup.lo >> /bin/sh ../libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I.. >> -I/usr/include -I/usr/X11R6/include -g -O2 -c system.c >> gcc -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/include -I/usr/X11R6/include >> -g -O2 -c >> system.c -o system.o >> In file included from command.h:23, >> from system.c:39: >> /usr/include/limits.h:128: warning: `PATH_MAX' redefined >> /usr/local/include/libast.h:357: warning: this is the location of the >> previous >> definition >> echo timestamp > system.lo >> /bin/sh ../libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I.. >> -I/usr/include -I/usr/X11R6/include -g -O2 -c term.c >> gcc -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/include -I/usr/X11R6/include >> -g -O2 -c >> term.c -o term.o >> In file included from term.c:32: >> /usr/include/limits.h:128: warning: `PATH_MAX' redefined >> /usr/local/include/libast.h:357: warning: this is the location of the >> previous >> definition >> echo timestamp > term.lo >> /bin/sh ../libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I.. >> -I/usr/include -I/usr/X11R6/include -g -O2 -c timer.c >> gcc -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/include -I/usr/X11R6/include >> -g -O2 -c >> timer.c -o timer.o >> In file included from timer.c:32: >> /usr/include/limits.h:128: warning: `PATH_MAX' redefined >> /usr/local/include/libast.h:357: warning: this is the location of the >> previous >> definition >> echo timestamp > timer.lo >> /bin/sh ../libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I.. >> -I/usr/include -I/usr/X11R6/include -g -O2 -c utmp.c >> gcc -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/include -I/usr/X11R6/include >> -g -O2 -c >> utmp.c -o utmp.o >> echo timestamp > utmp.lo >> /bin/sh ../libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I.. >> -I/usr/include -I/usr/X11R6/include -g -O2 -c windows.c >> gcc -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/include -I/usr/X11R6/include >> -g -O2 -c >> windows.c -o windows.o >> In file included from windows.c:32: >> /usr/include/limits.h:128: warning: `PATH_MAX' redefined >> /usr/local/include/libast.h:357: warning: this is the location of the >> previous >> definition >> echo timestamp > windows.lo >> /bin/sh ../libtool --mode=link gcc -g -O2 -L/usr/lib >> -L/usr/X11R6/lib -o >> libEterm.la -rpath /usr/lib -release 0.9.1 actions.lo buttons.lo >> command.lo >> draw.lo e.lo events.lo font.lo grkelot.lo menus.lo misc.lo netdisp.lo >> options.lo >> pixmap.lo screen.lo script.lo scrollbar.lo startup.lo system.lo >> term.lo timer.lo >> utmp.lo windows.lo -last -lImlib2 -lttf -lSM -lICE -lXext -lX11 >> -lm -lipc >> libtool: link: warning: undefined symbols not allowed in >> i686-pc-cygwin shared >> libraries >> mkdir .libs >> ar cru .libs/libEterm.a actions.o buttons.o command.o draw.o e.o >> events.o >> font.o grkelot.o menus.o misc.o netdisp.o options.o pixmap.o screen.o >> script.o >> scrollbar.o startup.o system.o term.o timer.o utmp.o windows.o >> ranlib .libs/libEterm.a >> creating libEterm.la >> (cd .libs && rm -f libEterm.la && ln -s ../libEterm.la libEterm.la) >> gcc -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/include >> -I/usr/X11R6/include -g -O2 >> -c main.c >> /bin/sh ../libtool --mode=link gcc -g -O2 -L/usr/lib >> -L/usr/X11R6/lib -o Eterm >> -rpath /usr/lib:/usr/lib/Eterm main.o libEterm.la -last -lImlib2 >> -lttf -lSM >> -lICE -lXext -lX11 -lm -lipc >> gcc -g -O2 -L/usr/lib -L/usr/X11R6/lib -o Eterm main.o >> .libs/libEterm.a -last >> -lImlib2 -lttf -lSM -lICE -lXext -lX11 -lipc -last -lImlib2 -lttf >> -lSM -lICE >> -lXext -lX11 -lipc -Wl,--rpath -Wl,/usr/lib:/usr/lib/Eterm -Wl,--rpath >> -Wl,/usr/lib:/usr/lib/Eterm >> .libs/libEterm.a(screen.o): In function `selection_copy_string': >> /usr/local/Eterm-0.9.1/src/screen.c:2455: undefined reference to >> `_XA_CLIPBOARD' >> /usr/local/Eterm-0.9.1/src/screen.c:2455: undefined reference to >> `XmuInternAtom' >> .libs/libEterm.a(screen.o): In function `selection_paste': >> /usr/local/Eterm-0.9.1/src/screen.c:2482: undefined reference to >> `_XA_CLIPBOARD' >> /usr/local/Eterm-0.9.1/src/screen.c:2482: undefined reference to >> `XmuInternAtom' >> collect2: ld returned 1 exit status >> make[2]: *** [Eterm] Error 1 >> make[2]: Leaving directory `/usr/local/Eterm-0.9.1/src' >> make[1]: *** [all-recursive] Error 1 >> make[1]: Leaving directory `/usr/local/Eterm-0.9.1' >> make: *** [all-recursive-am] Error 2 >> >> Thanks, >> >> Robert Cavanaugh >> Senior Firmware Engineer >> Flextronics Design >> Mountain States Engineering >> Salt Lake City, Utah >> (801)-685-9330 >> >> >> >> > From Benjamin.Riefenstahl@epost.de Thu Oct 31 05:38:00 2002 From: Benjamin.Riefenstahl@epost.de (Benjamin Riefenstahl) Date: Thu, 31 Oct 2002 05:38:00 -0000 Subject: Building Eterm - please more help In-Reply-To: <3DC0A0AD.7040303@msu.edu> References: <3DC0A0AD.7040303@msu.edu> Message-ID: Hi Harold, Harold L Hunt II writes: > #if defined(PATH_MAX) && (PATH_MAX < 255) > # undef PATH_MAX > #endif > #ifndef PATH_MAX > # define PATH_MAX 255 > #endif > > > Now, I cannot say that the (PATH_MAX < 255) conditional is actually > going to mean anything to the C preprocessor that we use, and I will > bet you money that this just breaks differently on other platforms > such that PATH_MAX is not being redefined (it is probably never > defined on those platforms). I don't understand? If PATH_MAX is not defined it defaults to 0 in preprocessor conditionals. That's just the definition of the C language. This may break with a Classic C (pre-ISO C) preprocessor, because basically *anything* can break on software that doesn't comply with standards, but who really wants to support Classic C these days? so long, benny From Benjamin.Riefenstahl@epost.de Thu Oct 31 05:48:00 2002 From: Benjamin.Riefenstahl@epost.de (Benjamin Riefenstahl) Date: Thu, 31 Oct 2002 05:48:00 -0000 Subject: Building Eterm - please more help In-Reply-To: References: Message-ID: Hi Robert, bob.cavanaugh@flextronics.com writes: > gcc -g -O2 -L/usr/lib -L/usr/X11R6/lib -o Eterm main.o > .libs/libEterm.a -last -lImlib2 -lttf -lSM -lICE -lXext -lX11 -lipc > -last -lImlib2 -lttf -lSM -lICE -lXext -lX11 -lipc -Wl,--rpath > -Wl,/usr/lib:/usr/lib/Eterm -Wl,--rpath -Wl,/usr/lib:/usr/lib/Eterm > > .libs/libEterm.a(screen.o): In function `selection_copy_string': > /usr/local/Eterm-0.9.1/src/screen.c:2455: undefined reference to > `_XA_CLIPBOARD' > > /usr/local/Eterm-0.9.1/src/screen.c:2455: undefined reference to > `XmuInternAtom' > > .libs/libEterm.a(screen.o): In function `selection_paste': > /usr/local/Eterm-0.9.1/src/screen.c:2482: undefined reference to > `_XA_CLIPBOARD' > > /usr/local/Eterm-0.9.1/src/screen.c:2482: undefined reference to > `XmuInternAtom' So you need to add the libraries that contain _XA_CLIPBOARD and XmuInternAtom. To find these I use the nm tool, like this $ cd /usr/X11R6/lib $ nm -A lib*.a | grep CLIPBOARD libXmu.a:Atoms.o:00000038 G _XA_CLIPBOARD libXmu.a:Atoms.o:00000030 g __XA_CLIPBOARD $ Which tells me that you need to add -lXmu to the list of X11 libraries. Read the man page for nm to find what the output of the tool means in detail. so long, benny From jc.gervais@videotron.ca Thu Oct 31 06:18:00 2002 From: jc.gervais@videotron.ca (Jean-Claude Gervais) Date: Thu, 31 Oct 2002 06:18:00 -0000 Subject: Building Eterm - please more help In-Reply-To: Message-ID: <005d01c280e8$47522910$6501a8c0@sprymusic.com> >If PATH_MAX is not defined it defaults to 0 in >preprocessor conditionals. >That's just the definition of the C language. What? Are you sure? I always thought the symbols was UNDEFINED, and not 0. So if you're using it in code and it is not defined, it is like there is NOTHING there, for example: If the symbol PATH_MAX is undefined, the following statement if ( PATH_MAX > 200 ) { } will get expanded by the pre-processor to if ( > 200 ) { } Which is syntactically incorrect. Maybe I misunderstood your assertion... BY THE WAY, why not use _MAX_PATH instead? It is commonly defined by all compiler vendors. From huntharo@msu.edu Thu Oct 31 08:05:00 2002 From: huntharo@msu.edu (Harold L Hunt II) Date: Thu, 31 Oct 2002 08:05:00 -0000 Subject: Building Eterm - please more help In-Reply-To: References: <3DC0A0AD.7040303@msu.edu> Message-ID: <3DC154D1.2050905@msu.edu> Ben, I was not talking about whether or not PATH_MAX was defined... I was referring to the ``<''. I cannot guarantee that such a condition would work on Cygwin because: 1) I have not seen it used before 2) I have not tried it myself 3) I have seen similar conditions that work find on other platforms but that do not work on Cygwin. But, forget all of that. What is important is that PATH_MAX is already defined by our system header, and the code in ast[...].h is not correctly detecting that PATH_MAX is already defined (could be a problem with the ordering of the includes). So, #if 0'ing the section of ast[...].h would give us more information and would most likely fix the build. Harold Benjamin Riefenstahl wrote: >Hi Harold, > > >Harold L Hunt II writes: > > >>#if defined(PATH_MAX) && (PATH_MAX < 255) >># undef PATH_MAX >>#endif >>#ifndef PATH_MAX >># define PATH_MAX 255 >>#endif >> >> >>Now, I cannot say that the (PATH_MAX < 255) conditional is actually >>going to mean anything to the C preprocessor that we use, and I will >>bet you money that this just breaks differently on other platforms >>such that PATH_MAX is not being redefined (it is probably never >>defined on those platforms). >> >> > >I don't understand? If PATH_MAX is not defined it defaults to 0 in >preprocessor conditionals. That's just the definition of the C >language. This may break with a Classic C (pre-ISO C) preprocessor, >because basically *anything* can break on software that doesn't comply >with standards, but who really wants to support Classic C these days? > > >so long, benny > > > From Benjamin.Riefenstahl@epost.de Thu Oct 31 08:06:00 2002 From: Benjamin.Riefenstahl@epost.de (Benjamin Riefenstahl) Date: Thu, 31 Oct 2002 08:06:00 -0000 Subject: Building Eterm - please more help In-Reply-To: <005d01c280e8$47522910$6501a8c0@sprymusic.com> References: <005d01c280e8$47522910$6501a8c0@sprymusic.com> Message-ID: Hi Jean-Claude, I wrote: > >If PATH_MAX is not defined it defaults to 0 in preprocessor > >conditionals. That's just the definition of the C language. Jean-Claude Gervais writes: > What? Are you sure? I always thought the symbols was UNDEFINED, and > not 0. There is a special exception for preprocessor conditionals. > If the symbol PATH_MAX is undefined, the following statement > > if ( PATH_MAX > 200 ) { > } > > will get expanded by the pre-processor to > > if ( > 200 ) { > } If PATH_MAX is not defined during preprocessing, the preprocessor can not know that it was supposed to be a preprocessor macro. So your code above will be just unchanged by the preprocessor. After preprocessing has been done, the actual C compiler will then complain that PATH_MAX is an undefined variable or function. There is the mentioned exception for preprocessor conditionals. If, after macro replacement, they contain any left-over identifiers, those are replaced with 0. > BY THE WAY, why not use _MAX_PATH instead? It is commonly defined by > all compiler vendors. That's an MS invention, I believe, it certainly is not in the standard. The standard macro for this feature is FILENAME_MAX, defined in . so long, benny From j_tetazoo@hotmail.com Thu Oct 31 10:17:00 2002 From: j_tetazoo@hotmail.com (Thomas Chadwick) Date: Thu, 31 Oct 2002 10:17:00 -0000 Subject: Looking for ideas to fix x2x in rootless mode... Message-ID: I'm hoping some folks on the ML might help me brainstorm a solution to fixing x2x in rootless mode... For those of you not familiar with x2x, it's a handy utility that gives you a dual-headed X display if you have side-by-side workstations both running X (one is designated the "from" display, the other the "to" display). It does this by simply grabbing the pointer and keyboard focus on the "from" display, and generating fake pointer and keyboard events on the "to" display whenever it receives pointer or keyboard events from the "from" display. In my particular case, the "from" display is a PC running Cygwin/XFree86, and the "to" display is an RS/6000 Workstation. The trouble with rootless mode is that when my pointer leaves the X server region, x2x no longer gets any pointer events from the "from" display. This has the effect of restricting my pointer movements on the "to" display to areas that are occupied by X clients on the "from" display. I tried patching x2x by using the Windows API calls SetCapture(HWND hwnd) and ReleaseCapture() at the same time x2x does XGrabPointer() and XUnGrabPointer() respectively. However, the Capture fails. If I interpret the MSDN documentation correctly, I think it's because the x2x.exe thread does not own the HWND it's trying to do the Capture on (XWin.exe does). I suppose I could try to overcome this by patching the XGrabPointer() and XUnGrabPointer() functions in the XFree86 source directly. This would result in XWin doing the SetCapture as a result of calling XGrabPointer() from x2x. I haven't actually tried this, however, because it occurs to me that I have an additional problem. Again, if I interpret the scant documentation properly, it looks to me that while SetCapture may grab the pointer, clicking a mouse button while outside the X server region will cause the capture to be released and the mouse button event to go to whatever MS Windows client is under the pointer at the time of the click. This would have the effect of letting me point to any region in the "to" display as long as I don't press a mouse button. Not very useful. Perhaps there is a different API call which keeps a "stronger" hold of the pointer than SetCapture()? How about calling XWarpPointer() from x2x to keep the pointer from leaving the X server region? Any other ideas? _________________________________________________________________ Broadband???Dial-up? Get reliable MSN Internet Access. http://resourcecenter.msn.com/access/plans/default.asp From Benjamin.Riefenstahl@epost.de Thu Oct 31 10:20:00 2002 From: Benjamin.Riefenstahl@epost.de (Benjamin Riefenstahl) Date: Thu, 31 Oct 2002 10:20:00 -0000 Subject: Building Eterm - please more help In-Reply-To: <3DC154D1.2050905@msu.edu> References: <3DC0A0AD.7040303@msu.edu> <3DC154D1.2050905@msu.edu> Message-ID: Hi Harold, Harold L Hunt II writes: > I was not talking about whether or not PATH_MAX was defined... I was > referring to the ``<''. I cannot guarantee that such a condition > would work on Cygwin because: > > 1) I have not seen it used before > > 2) I have not tried it myself I'd say that any preprocessor that is not able to evaluate such expressions will only make your life miserable. Throw it away and you will be much more happier and more productive afterwards ;-). > 3) I have seen similar conditions that work find on other platforms > but that do not work on Cygwin. I'm pretty sure that there must have been other reasons for that than just not being able to evaluate '<'. so long, benny From gsw@agere.com Thu Oct 31 10:28:00 2002 From: gsw@agere.com (Gerald S. Williams) Date: Thu, 31 Oct 2002 10:28:00 -0000 Subject: rootless mode and mousing to other windows Message-ID: I agree -rootless rocks. And a -systray option would be great. 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. I'm not sure what this is equivalent to in X terms. Perhaps mousing to another screen? Has anyone given any thought to this? I'd be willing to take a shot at an implementation if given enough of a nudge in the right direction. -Jerry Williams From j_tetazoo@hotmail.com Thu Oct 31 10:59:00 2002 From: j_tetazoo@hotmail.com (Thomas Chadwick) Date: Thu, 31 Oct 2002 10:59:00 -0000 Subject: rootless mode and mousing to other windows Message-ID: 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? >From: "Gerald S. Williams" >Reply-To: cygwin-xfree@cygwin.com >To: >Subject: rootless mode and mousing to other windows >Date: Thu, 31 Oct 2002 13:28:04 -0500 >MIME-Version: 1.0 >Received: from sources.redhat.com ([209.249.29.67]) by >mc1-f6.law16.hotmail.com with Microsoft SMTPSVC(5.0.2195.5600); Thu, 31 Oct >2002 10:28:19 -0800 >Received: (qmail 26023 invoked by alias); 31 Oct 2002 18:28:14 -0000 >Received: (qmail 25959 invoked from network); 31 Oct 2002 18:28:13 -0000 >Received: from unknown (HELO alageremail2.agere.com) (192.19.192.110) by >sources.redhat.com with SMTP; 31 Oct 2002 18:28:13 -0000 >Received: from alerelay.agere.com (alerelay.agere.com [135.14.2.184])by >alageremail2.agere.com (8.10.2+Sun/8.10.2) with ESMTP id g9VISCN09008for >; Thu, 31 Oct 2002 13:28:12 -0500 (EST) >Received: from almail.agere.com by alerelay.agere.com (8.9.3+Sun/EMS-1.5 >sol2)id NAA20979 for ; Thu, 31 Oct 2002 13:28:12 >-0500 (EST) >Received: from PAI820G1006951 by almail.agere.com (8.9.3+Sun/EMS-1.5 >sol2)id NAA07541; Thu, 31 Oct 2002 13:28:08 -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: >X-Priority: 3 (Normal) >X-MSMail-Priority: Normal >Importance: Normal >X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2600.0000 >Return-Path: cygwin-xfree-return-11959-j_tetazoo=hotmail.com@cygwin.com >X-OriginalArrivalTime: 31 Oct 2002 18:28:19.0613 (UTC) >FILETIME=[496A6CD0:01C2810B] > >I agree -rootless rocks. And a -systray option would be great. > >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. > >I'm not sure what this is equivalent to in X terms. Perhaps >mousing to another screen? Has anyone given any thought to >this? I'd be willing to take a shot at an implementation if >given enough of a nudge in the right direction. > >-Jerry Williams _________________________________________________________________ Choose an Internet access plan right for you -- try MSN! http://resourcecenter.msn.com/access/plans/default.asp From huntharo@msu.edu Thu Oct 31 14:27:00 2002 From: huntharo@msu.edu (Harold L Hunt II) Date: Thu, 31 Oct 2002 14:27:00 -0000 Subject: Looking for ideas to fix x2x in rootless mode... References: Message-ID: <3DC1AE4B.7070009@msu.edu> Thomas, Your simplist fix is to add a command-line parameter to XWin.exe that tells it to grab the Windows cursor for you and keep trapping mouse events until the focus is given to another app via either Alt+Tab or by clicking another app's menu on the task bar. You wouldn't be able to ``click-through'' to put the focus on Windows applications, but at least you would be able to see those other apps in the background. Harold Thomas Chadwick wrote: > I'm hoping some folks on the ML might help me brainstorm a solution to > fixing x2x in rootless mode... > > For those of you not familiar with x2x, it's a handy utility that gives > you a dual-headed X display if you have side-by-side workstations both > running X (one is designated the "from" display, the other the "to" > display). It does this by simply grabbing the pointer and keyboard > focus on the "from" display, and generating fake pointer and keyboard > events on the "to" display whenever it receives pointer or keyboard > events from the "from" display. > > In my particular case, the "from" display is a PC running > Cygwin/XFree86, and the "to" display is an RS/6000 Workstation. > > The trouble with rootless mode is that when my pointer leaves the X > server region, x2x no longer gets any pointer events from the "from" > display. This has the effect of restricting my pointer movements on the > "to" display to areas that are occupied by X clients on the "from" display. > > I tried patching x2x by using the Windows API calls SetCapture(HWND > hwnd) and ReleaseCapture() at the same time x2x does XGrabPointer() and > XUnGrabPointer() respectively. However, the Capture fails. If I > interpret the MSDN documentation correctly, I think it's because the > x2x.exe thread does not own the HWND it's trying to do the Capture on > (XWin.exe does). I suppose I could try to overcome this by patching the > XGrabPointer() and XUnGrabPointer() functions in the XFree86 source > directly. This would result in XWin doing the SetCapture as a result of > calling XGrabPointer() from x2x. > > I haven't actually tried this, however, because it occurs to me that I > have an additional problem. Again, if I interpret the scant > documentation properly, it looks to me that while SetCapture may grab > the pointer, clicking a mouse button while outside the X server region > will cause the capture to be released and the mouse button event to go > to whatever MS Windows client is under the pointer at the time of the > click. This would have the effect of letting me point to any region in > the "to" display as long as I don't press a mouse button. Not very useful. > > Perhaps there is a different API call which keeps a "stronger" hold of > the pointer than SetCapture()? > > How about calling XWarpPointer() from x2x to keep the pointer from > leaving the X server region? > > Any other ideas? > > > _________________________________________________________________ > Broadband? Dial-up? Get reliable MSN Internet Access. > http://resourcecenter.msn.com/access/plans/default.asp > From huntharo@msu.edu Thu Oct 31 14:30:00 2002 From: huntharo@msu.edu (Harold L Hunt II) Date: Thu, 31 Oct 2002 14:30:00 -0000 Subject: rootless mode and mousing to other windows References: Message-ID: <3DC1AF07.8080005@msu.edu> 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. 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. Harold Gerald S. Williams wrote: > I agree -rootless rocks. And a -systray option would be great. > > 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. > > I'm not sure what this is equivalent to in X terms. Perhaps > mousing to another screen? Has anyone given any thought to > this? I'd be willing to take a shot at an implementation if > given enough of a nudge in the right direction. > > -Jerry Williams From pechtcha@cs.nyu.edu Thu Oct 31 16:42:00 2002 From: pechtcha@cs.nyu.edu (Igor Pechtchanski) Date: Thu, 31 Oct 2002 16:42:00 -0000 Subject: Environment windows not opening In-Reply-To: <08E9E30FCA2CD5119BEA0090274066DF046E4773@axcs16.cos.agilent.com> Message-ID: On Thu, 31 Oct 2002 john_staroba@agilent.com wrote: > I just installed cygwin without any trouble. The command prompt window > appears to be working fine, as does the vi editor. When attempting to > launch an xwindow, only the main window will open and the system > apparently hangs. Prompt window displays > .. > .. > .. > .. > until you close the main xwindow, and then displays: > > giving up. > xinit: No such file or directory : unable to connect to X server > xinit: No such process : Server error. > > I'm running win NT. Any ideas on what to do? Yes. Run an X server. For details, see http://xfree86.cygwin.com/ If you have problems, please direct any queries to the cygwin-xfree list (I set the Reply-To: field to it, and also Cc'd this message there). 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 john_staroba@agilent.com Thu Oct 31 18:05:00 2002 From: john_staroba@agilent.com (john_staroba@agilent.com) Date: Thu, 31 Oct 2002 18:05:00 -0000 Subject: Environment windows not opening Message-ID: <08E9E30FCA2CD5119BEA0090274066DF046E4776@axcs16.cos.agilent.com> I believe I installed all the xfree86 files, and still have the problem described below. Any ideas? Thanks, John -----Original Message----- From: Igor Pechtchanski [mailto:pechtcha@cs.nyu.edu] Sent: Thursday, October 31, 2002 4:43 PM To: john_staroba@agilent.com Cc: cygwin@cygwin.com; cygwin-xfree@cygwin.com Subject: Re: Environment windows not opening On Thu, 31 Oct 2002 john_staroba@agilent.com wrote: > I just installed cygwin without any trouble. The command prompt window > appears to be working fine, as does the vi editor. When attempting to > launch an xwindow, only the main window will open and the system > apparently hangs. Prompt window displays > .. > .. > .. > .. > until you close the main xwindow, and then displays: > > giving up. > xinit: No such file or directory : unable to connect to X server > xinit: No such process : Server error. > > I'm running win NT. Any ideas on what to do? Yes. Run an X server. For details, see http://xfree86.cygwin.com/ If you have problems, please direct any queries to the cygwin-xfree list (I set the Reply-To: field to it, and also Cc'd this message there). 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 huntharo@msu.edu Thu Oct 31 18:08:00 2002 From: huntharo@msu.edu (Harold L Hunt II) Date: Thu, 31 Oct 2002 18:08:00 -0000 Subject: Environment windows not opening In-Reply-To: <08E9E30FCA2CD5119BEA0090274066DF046E4776@axcs16.cos.agilent.com> References: <08E9E30FCA2CD5119BEA0090274066DF046E4776@axcs16.cos.agilent.com> Message-ID: <3DC1E218.7060708@msu.edu> Did you try launching Cygwin/XFree86 with startxwin.bat? That is the recommended method. If it still fails, have a look at /tmp/XWin.log and send in the contents if you cannot find any errors. Be sure to email us if startxwin.bat works so we know that you have been helped. Harold john_staroba@agilent.com wrote: >I believe I installed all the xfree86 files, and still have the problem described below. Any ideas? > >Thanks, >John > >-----Original Message----- >From: Igor Pechtchanski [mailto:pechtcha@cs.nyu.edu] >Sent: Thursday, October 31, 2002 4:43 PM >To: john_staroba@agilent.com >Cc: cygwin@cygwin.com; cygwin-xfree@cygwin.com >Subject: Re: Environment windows not opening > > >On Thu, 31 Oct 2002 john_staroba@agilent.com wrote: > > > >>I just installed cygwin without any trouble. The command prompt window >>appears to be working fine, as does the vi editor. When attempting to >>launch an xwindow, only the main window will open and the system >>apparently hangs. Prompt window displays >>.. >>.. >>.. >>.. >>until you close the main xwindow, and then displays: >> >>giving up. >>xinit: No such file or directory : unable to connect to X server >>xinit: No such process : Server error. >> >>I'm running win NT. Any ideas on what to do? >> >> > >Yes. Run an X server. For details, see http://xfree86.cygwin.com/ >If you have problems, please direct any queries to the cygwin-xfree list >(I set the Reply-To: field to it, and also Cc'd this message there). > Igor > > From mailman-owner@server4.hostpoint.ch Thu Oct 31 20:31:00 2002 From: mailman-owner@server4.hostpoint.ch (mailman-owner@server4.hostpoint.ch) Date: Thu, 31 Oct 2002 20:31:00 -0000 Subject: blackmusic.ch mailing list memberships reminder Message-ID: <20021101043144.7552.70640.Mailman@server4.hostpoint.ch> This is a reminder, sent out once a month, about your blackmusic.ch mailing list memberships. It includes your subscription info and how to use it to change it or unsubscribe from a list. You can visit the URLs to change your membership status or configuration, including unsubscribing, setting digest-style delivery or disabling delivery altogether (e.g., for a vacation), and so on. In addition to the URL interfaces, you can also use email to make such changes. For more info, send a message to the '-request' address of the list (for example, Newsletter-request@blackmusic.ch) containing just the word 'help' in the message body, and an email message will be sent to you with instructions. If you have questions, problems, comments, etc, send them to mailman-owner@server4.hostpoint.ch. Thanks! Passwords for cygwin-xfree@cygwin.com: List Password // URL ---- -------- Newsletter@blackmusic.ch uviwif http://server4.hostpoint.ch/mailman/options/newsletter_blackmusic.ch/cygwin-xfree%40cygwin.com