From olson_ord@yahoo.it Mon Oct 1 00:06:00 2007 From: olson_ord@yahoo.it (O. Olson) Date: Mon, 01 Oct 2007 00:06:00 -0000 Subject: Checking if the X Server is running In-Reply-To: <47001E7E.2050707@gmx.de> Message-ID: <812420.35140.qm@web27002.mail.ukl.yahoo.com> --- Holger Krull ha scritto: > > I suggest you start the shell script from a > batchfile. > > Like: > C:\cygwin\bin\bash.exe -l yourstartscript.sh > Or make an Windows Icon with that command. > > If yourstartscript.sh is not found you have to give > the full path to it in cygwin notation. > Like: > C:\cygwin\bin\bash.exe -l /home/krull/startscript.sh > > There could be a remaining extra Window, can be > avoided with: > C:\cygwin\bin\bash.exe -c -l 'run bash -l -c > "yourstartscript.sh &" ' > > Dear Holger, Before getting this into a batchfile ?? I am trying to see if I can get this to work from the Windows Command prompt. Location of the Shell Script: /usr/local/bin/sd.sh Contents of the Shell Script: (As before) -------------------- #!/bin/sh if checkX then xterm -e /usr/bin/bash -l else XWin -multiwindow -clipboard -silent-dup-error xterm -e /usr/bin/bash -l fi -------------------------- I then tried out that this shell script works as expected i.e. if I have the X Server running it does not attempt to start it again. I first tried something like: (With the X Server already running) C:\>C:\cygwin\bin\bash.exe -l /usr/local/bin/sd.sh Here somehow the X Server again attempts to start up i.e. I get the ugly Error message. I also get some output telling me that ??Fatal Server Error?? (So I am not sure what went wrong ?? either checkX did not work correctly or what??) I then tried something like: (With the X Server already running) C:\>C:\cygwin\bin\bash.exe -c -l 'run bash -l -c "/usr/local/bin/sd.sh &"' This time I get no output ?? but I still get the Error dialog. I am not sure what I am doing wrong?? Vielen Danke, O.O. ___________________________________ L'email della prossima generazione? Puoi averla con la nuova Yahoo! Mail: http://it.docs.yahoo.com/nowyoucan.html -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://x.cygwin.com/docs/ FAQ: http://x.cygwin.com/docs/faq/ From olson_ord@yahoo.it Mon Oct 1 00:27:00 2007 From: olson_ord@yahoo.it (O. Olson) Date: Mon, 01 Oct 2007 00:27:00 -0000 Subject: Checking if the X Server is running In-Reply-To: <47001E7E.2050707@gmx.de> Message-ID: <73548.40098.qm@web27002.mail.ukl.yahoo.com> --- Holger Krull ha scritto: > > I suggest you start the shell script from a > batchfile. > > Like: > C:\cygwin\bin\bash.exe -l yourstartscript.sh > Or make an Windows Icon with that command. > > If yourstartscript.sh is not found you have to give > the full path to it in cygwin notation. > Like: > C:\cygwin\bin\bash.exe -l /home/krull/startscript.sh > > There could be a remaining extra Window, can be > avoided with: > C:\cygwin\bin\bash.exe -c -l 'run bash -l -c > "yourstartscript.sh &" ' > Dear Holger, In addition to my previous mail, I tried the following: I changed the shell script to: (Called it /usr/local/bin/sd1.sh) ---------------------- #!/bin/sh if `ps | grep XWin > /dev/null` then echo "XWin is Already Started" else echo "XWin is Not Started" fi ---------------------------- I then typed at the Windows CMD prompt: C:\>C:\cygwin\bin\bash.exe -l /usr/local/bin/sd1.sh To get the message: XWin is Already Started Now I modified the above shell script to: ---------------------- #!/bin/sh if `ps | grep XWin > /dev/null` then xterm -e /usr/bin/bash -l else XWin -multiwindow -clipboard -silent-dup-error xterm -e /usr/bin/bash -l fi ----------------------------- I now tried the same command as before: (With Setting the DISPLAY) C:\> SET DISPLAY=127.0.0.1:0.0; C:\cygwin\bin\bash.exe -l /usr/local/bin/sd1.sh I now get xterm Xt error: Can't open display: 127.0.0.1:0.0; C:\cygwin\bin\bash.exe -l /usr/local/bin/sd1.sh I am not sure where I am going wrong. Regards, O.O. ___________________________________ L'email della prossima generazione? Puoi averla con la nuova Yahoo! Mail: http://it.docs.yahoo.com/nowyoucan.html -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://x.cygwin.com/docs/ FAQ: http://x.cygwin.com/docs/faq/ From garyjohn@spk.agilent.com Mon Oct 1 00:31:00 2007 From: garyjohn@spk.agilent.com (Gary Johnson) Date: Mon, 01 Oct 2007 00:31:00 -0000 Subject: Checking if the X Server is running In-Reply-To: <896735.31233.qm@web27001.mail.ukl.yahoo.com> References: <20070930222902.GA3545@suncomp1.spk.agilent.com> <896735.31233.qm@web27001.mail.ukl.yahoo.com> Message-ID: <20071001003152.GC3545@suncomp1.spk.agilent.com> On 2007-10-01, O. Olson wrote: > --- Gary Johnson ha > scritto: > > My guess is that you created that file with DOS line > > endings. Try > > converting it to use Unix line endings, > > > > cd /usr/X11R6/bin > > d2u sd.sh > > > > then try executing it again. > > > > Also, I would recommend putting such scripts that > > you create > > yourself in /usr/local/bin rather than in a system > > directory such as > > /usr/X11R6/bin. Doing so will make it easier to > > keep track of your > > scripts and will make it less likely that you will > > lose them when > > doing an update of Cygwin. > > > > Regards, > > Gary > > > Thank you Gary. I think that the DOS line endings were > the problem. Once I did the conversion - this script > worked exactly as I wanted. > Now I am working on trying to see if I can somehow > execute this script from a batch file i.e. by just > clicking on it. I am not having success in this area - > so if you have ideas let me know. > By the way thanks for pointing out that I need to put > this in /usr/local/bin . I would be doing that from > now on. You're welcome. I've written a few batch files that call Bash scripts, but to be honest, I seldom get these right the first time--there is usually some aspect of the transition from Windows/DOS to Cygwin that I overlook. Since you're not giving yours any arguments, though, it should be pretty straightforward. I think the following should work. @echo off C:\cygwin\bin\bash --login /usr/X11R6/bin/sd.sh Note the --login argument to bash. That insures that your script sees a normal login environment, including a proper PATH. Regards, Gary -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://x.cygwin.com/docs/ FAQ: http://x.cygwin.com/docs/faq/ From olson_ord@yahoo.it Mon Oct 1 00:48:00 2007 From: olson_ord@yahoo.it (O. Olson) Date: Mon, 01 Oct 2007 00:48:00 -0000 Subject: Checking if the X Server is running In-Reply-To: <20071001003152.GC3545@suncomp1.spk.agilent.com> Message-ID: <644550.79167.qm@web27006.mail.ukl.yahoo.com> --- Gary Johnson ha scritto: > You're welcome. > > I've written a few batch files that call Bash > scripts, but to be > honest, I seldom get these right the first > time--there is usually > some aspect of the transition from Windows/DOS to > Cygwin that I > overlook. Since you're not giving yours any > arguments, though, it > should be pretty straightforward. I think the > following should > work. > > @echo off > C:\cygwin\bin\bash --login /usr/X11R6/bin/sd.sh > > Note the --login argument to bash. That insures > that your script > sees a normal login environment, including a proper > PATH. > > Regards, > Gary > Dear Gary, I still don??t think I can get this to work. I tried this from the command line (and my file is in /usr/local/bin/sd.sh) C:\cygwin\bin\bash --login /usr/local/bin/sd.sh This still brings up the Fatal Error Window. Regards, O.O. ___________________________________ L'email della prossima generazione? Puoi averla con la nuova Yahoo! Mail: http://it.docs.yahoo.com/nowyoucan.html -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://x.cygwin.com/docs/ FAQ: http://x.cygwin.com/docs/faq/ From holger.krull@gmx.de Mon Oct 1 15:08:00 2007 From: holger.krull@gmx.de (Holger Krull) Date: Mon, 01 Oct 2007 15:08:00 -0000 Subject: Checking if the X Server is running In-Reply-To: <73548.40098.qm@web27002.mail.ukl.yahoo.com> References: <73548.40098.qm@web27002.mail.ukl.yahoo.com> Message-ID: <47010D52.5090303@gmx.de> O. Olson schrieb: > --- Holger Krull ha scritto: Teach your email program to not include the full email adress while quoting! > #!/bin/sh > if `ps | grep XWin > /dev/null` I suggest using grep -i to make it case ignoring. I found a cygwin installation that has Xwin and not XWin in the process list. > Now I modified the above shell script to: > > ---------------------- > #!/bin/sh > if `ps | grep XWin > /dev/null` > then > xterm -e /usr/bin/bash -l > else > XWin -multiwindow -clipboard -silent-dup-error My guess is access control, try adding -ac to the xwin parameters to find out. -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://x.cygwin.com/docs/ FAQ: http://x.cygwin.com/docs/faq/ From holger.krull@gmx.de Mon Oct 1 16:10:00 2007 From: holger.krull@gmx.de (Holger Krull) Date: Mon, 01 Oct 2007 16:10:00 -0000 Subject: Checking if the X Server is running In-Reply-To: <47010D52.5090303@gmx.de> References: <73548.40098.qm@web27002.mail.ukl.yahoo.com> <47010D52.5090303@gmx.de> Message-ID: <47011C05.30507@gmx.de> Holger Krull schrieb: I was to fast on my last email. I tested it now: You need (on windows): set DISPLAY=127.0.0.1:0.0& c:\cygwin\bin\bash.exe -l /home/krull/test.sh (it is important that there is no space between 0.0 and &) test.sh: #!/bin/sh ps |grep -i /xwin >/dev/null if [ $? -eq "0" ] then xterm -e /usr/bin/bash -l & else run XWin :2 -multiwindow -clipboard -silent-dup-error xterm -e /usr/bin/bash -l & fi -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://x.cygwin.com/docs/ FAQ: http://x.cygwin.com/docs/faq/ From holger.krull@gmx.de Mon Oct 1 16:12:00 2007 From: holger.krull@gmx.de (Holger Krull) Date: Mon, 01 Oct 2007 16:12:00 -0000 Subject: Checking if the X Server is running In-Reply-To: <47011C05.30507@gmx.de> References: <73548.40098.qm@web27002.mail.ukl.yahoo.com> <47010D52.5090303@gmx.de> <47011C05.30507@gmx.de> Message-ID: <47011C6F.8010300@gmx.de> Holger Krull schrieb: > Holger Krull schrieb: > I was to fast on my last email. I tested it now: > You need (on windows): > set DISPLAY=127.0.0.1:0.0& c:\cygwin\bin\bash.exe -l /home/krull/test.sh > > (it is important that there is no space between 0.0 and &) > > test.sh: > #!/bin/sh > ps |grep -i /xwin >/dev/null > if [ $? -eq "0" ] > then > xterm -e /usr/bin/bash -l & > else > run XWin :2 -multiwindow -clipboard -silent-dup-error that :2 is from my testing, sorry, doesn't belong there > xterm -e /usr/bin/bash -l & > fi > > > > -- > Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple > Problem reports: http://cygwin.com/problems.html > Documentation: http://x.cygwin.com/docs/ > FAQ: http://x.cygwin.com/docs/faq/ > -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://x.cygwin.com/docs/ FAQ: http://x.cygwin.com/docs/faq/ From Phil.Betts@ascribe.com Mon Oct 1 16:38:00 2007 From: Phil.Betts@ascribe.com (Phil Betts) Date: Mon, 01 Oct 2007 16:38:00 -0000 Subject: Checking if the X Server is running In-Reply-To: <644550.79167.qm@web27006.mail.ukl.yahoo.com> Message-ID: <2D9E96311DCA4C48BF185EA6928BC7BB027D89AC@asc-mail.int.ascribe.com> O. Olson wrote on Monday, October 01, 2007 1:49 AM:: > I still don't think I can get this to work. I tried > this from the command line (and my file is in > /usr/local/bin/sd.sh) > > C:\cygwin\bin\bash --login /usr/local/bin/sd.sh > > This still brings up the Fatal Error Window. > It's probably not the cause of your problem, but you should never use "ps | grep xxx" to detect if a process is running. This is because the grep process will (sometimes) detect itself and give you a false positive, and your xterm will try to start when there is no server running. Since you already installed checkx, that's what you should be using, because (I believe) it actually connects to the X server. What you may be experiencing, is a race condition between whatever process actually started X and the sd.sh. I.e. if you initially start X using startxwin.bat (or similar), and it hasn't got as far as starting the server when sd.sh checks if it's running, sd.sh will try to start the server. However, by the time sd.sh gets round to starting X, the first server has started, and therefore the second gives you the error. Try something like this: ---------------------------------------------------- #!/bin/bash -l # wait up to 5 seconds before deciding if X needs starting. You may # need to up this to 10 seconds or more depending on your system. wait_for_x () { x_down=1 for (( i=0 ; i < 5 ; i++ ));do echo "waiting for X" if checkx;then x_down=0 break fi sleep 1 done return $x_down } if ! wait_for_x;then # X not yet up run XWin .... # see [1] wait_for_x # see [2] fi exec xterm ---------------------------------------------------- [1] I don't advise running XWin directly. It is better to use startxwin.sh. This ensures that the required environment variables are set up, and that any stray socket left from an earlier unclean exit is cleaned up. The script does what it does for good reasons. Of course the default startxwin.sh starts xterm anyway, so you may want to edit it. (IMHO it was a big mistake to start xterm in the server start scripts. It confuses way too many newbies, who think the scripts are the proper way to start xterm, then complain when they get errors trying to open a second xterm.) [2] The run command returns control to bash before XWin has finished initialising, so the wait is necessary to ensure that xterm isn't started before the server is usable. Phil -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://x.cygwin.com/docs/ FAQ: http://x.cygwin.com/docs/faq/ From olson_ord@yahoo.it Tue Oct 2 08:32:00 2007 From: olson_ord@yahoo.it (O. Olson) Date: Tue, 02 Oct 2007 08:32:00 -0000 Subject: Checking if the X Server is running In-Reply-To: <47011C6F.8010300@gmx.de> Message-ID: <328472.13473.qm@web27013.mail.ukl.yahoo.com> --- Holger Krull ha scritto: > Holger Krull schrieb: > > Holger Krull schrieb: > > I was to fast on my last email. I tested it now: > > You need (on windows): > > set DISPLAY=127.0.0.1:0.0& c:\cygwin\bin\bash.exe > -l /home/krull/test.sh > > > > (it is important that there is no space between > 0.0 and &) > > > > test.sh: > > #!/bin/sh > > ps |grep -i /xwin >/dev/null > > if [ $? -eq "0" ] > > then > > xterm -e /usr/bin/bash -l & > > else > > run XWin :2 -multiwindow -clipboard > -silent-dup-error > > that :2 is from my testing, sorry, doesn't belong > there > > > xterm -e /usr/bin/bash -l & > > fi > > Thanks Holger. Now this works perfectly. It does open up a Windows cmd window ?? which remains open until I finish with my app ?? but I can live with that. Thanks Phil Betts ?? I think now the checkX script also works. I think my mistake was I was leaving a space between set DISPLAY=127.0.0.1:0.0 and & - Thankfully Holger pointed this out. O.O. ___________________________________ L'email della prossima generazione? Puoi averla con la nuova Yahoo! Mail: http://it.docs.yahoo.com/nowyoucan.html -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://x.cygwin.com/docs/ FAQ: http://x.cygwin.com/docs/faq/ From holger.krull@gmx.de Tue Oct 2 08:53:00 2007 From: holger.krull@gmx.de (Holger Krull) Date: Tue, 02 Oct 2007 08:53:00 -0000 Subject: Checking if the X Server is running In-Reply-To: <328472.13473.qm@web27013.mail.ukl.yahoo.com> References: <328472.13473.qm@web27013.mail.ukl.yahoo.com> Message-ID: <470206F1.5030802@gmx.de> As someone pointed out in another post the sequence ps |grep has a risk of finding grep itself in the list. The command pgrep combines both and hasn't that risk. > Thanks Holger. Now this works perfectly. It does open > up a Windows cmd window ??? which remains open until I > finish with my app ??? but I can live with that. That can be avoided by dual nested start like: C:\cygwin\bin\bash.exe -c -l 'run bash -c -l "Xwin.exe :0 -query 192.168.11.1 -once &" ' The first bash closes after the command and so does the cmd window which started it. The & at the end is important to get a independend process. -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://x.cygwin.com/docs/ FAQ: http://x.cygwin.com/docs/faq/ From godlygeek@gmail.com Tue Oct 2 14:21:00 2007 From: godlygeek@gmail.com (Matthew Wozniski) Date: Tue, 02 Oct 2007 14:21:00 -0000 Subject: Checking if the X Server is running In-Reply-To: <2D9E96311DCA4C48BF185EA6928BC7BB027D89AC@asc-mail.int.ascribe.com> References: <644550.79167.qm@web27006.mail.ukl.yahoo.com> <2D9E96311DCA4C48BF185EA6928BC7BB027D89AC@asc-mail.int.ascribe.com> Message-ID: <20071002142123.GA17629@mastermind> On Mon, Oct 01, 2007 at 05:33:12PM +0100, Phil Betts wrote: > It's probably not the cause of your problem, but you should > never use "ps | grep xxx" to detect if a process is running. > This is because the grep process will (sometimes) detect > itself and give you a false positive, and your xterm will > try to start when there is no server running. A just a random snippet that I find useful for preventing just that: ps | grep xterm matches itself, since the command line contains 'xterm'. ps | grep '[x]term' doesn't match itself, since the command line no longer contains the string 'xterm'. It's more portable than pgrep xterm and it's less ugly than ps | grep xterm | grep -v grep So it's what I usually find myself using. ~Matt -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://x.cygwin.com/docs/ FAQ: http://x.cygwin.com/docs/faq/ From Joerg.Schaible@Elsag-Solutions.com Tue Oct 2 15:14:00 2007 From: Joerg.Schaible@Elsag-Solutions.com (=?iso-8859-1?Q?J=F6rg_Schaible?=) Date: Tue, 02 Oct 2007 15:14:00 -0000 Subject: Checking if the X Server is running References: <644550.79167.qm@web27006.mail.ukl.yahoo.com> <2D9E96311DCA4C48BF185EA6928BC7BB027D89AC@asc-mail.int.ascribe.com> <20071002142123.GA17629@mastermind> Message-ID: cygwin-xfree-owner@cygwin.com wrote on Tuesday, October 02, 2007 4:21 PM: > On Mon, Oct 01, 2007 at 05:33:12PM +0100, Phil Betts wrote: >> It's probably not the cause of your problem, but you should >> never use "ps | grep xxx" to detect if a process is running. >> This is because the grep process will (sometimes) detect >> itself and give you a false positive, and your xterm will >> try to start when there is no server running. > > A just a random snippet that I find useful for preventing just that: > ps | grep xterm matches itself, since the command line contains > 'xterm'. > > ps | grep '[x]term' > doesn't match itself, since the command line no longer contains the > string 'xterm'. > > It's more portable than > pgrep xterm > > and it's less ugly than > ps | grep xterm | grep -v grep > > So it's what I usually find myself using. pidof XWin - J?rg -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://x.cygwin.com/docs/ FAQ: http://x.cygwin.com/docs/faq/ From olson_ord@yahoo.it Wed Oct 3 04:46:00 2007 From: olson_ord@yahoo.it (O. Olson) Date: Wed, 03 Oct 2007 04:46:00 -0000 Subject: Checking if the X Server is running In-Reply-To: <470206F1.5030802@gmx.de> Message-ID: <864227.27229.qm@web27001.mail.ukl.yahoo.com> --- Holger Krull ha scritto: > As someone pointed out in another post the sequence > ps |grep has a risk of finding grep itself in the > list. The command pgrep combines both and hasn't > that risk. Thanks for this tip. > > That can be avoided by dual nested start like: > C:\cygwin\bin\bash.exe -c -l 'run bash -c -l > "Xwin.exe :0 -query 192.168.11.1 -once &" ' > > The first bash closes after the command and so does > the cmd window which started it. The & at the end is > important to get a independend process. > I don??t think I managed to get this to work. This seems to open a single big window for cygwin ?? which is not want I wanted. So I then went in and added the ??multiwindow flag. With this, I again got that error i.e. error dialog. I actually want to find a way to execute graphical applications by this method. So with this method ?? even if we succeed, would not allow me to start up a graphical application. So I went ahead and edited this ?? so that it runs a shell script instead of XWin.exe ?? however with that I either get the error dialog, or nothing works. O.O. ___________________________________ L'email della prossima generazione? Puoi averla con la nuova Yahoo! Mail: http://it.docs.yahoo.com/nowyoucan.html -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://x.cygwin.com/docs/ FAQ: http://x.cygwin.com/docs/faq/ From jc.snc.pub.001@gmail.com Wed Oct 3 04:58:00 2007 From: jc.snc.pub.001@gmail.com (Jeeva Chelladhurai) Date: Wed, 03 Oct 2007 04:58:00 -0000 Subject: Cygwin/X remote desktop Message-ID: <1e757b60710022158o1a32f45r5ce6d5b1f2f4e702@mail.gmail.com> Hello, I am new bee here. I am using Cygwin/X from my windows XP box to connect to my development linux system via SSH X-port-forwarding. When I remote desktop to windows XP, all the X windows slow down heavily. How do I fix this issue? Thanks, Jeeva -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://x.cygwin.com/docs/ FAQ: http://x.cygwin.com/docs/faq/ From putto123in@yahoo.co.in Thu Oct 4 06:09:00 2007 From: putto123in@yahoo.co.in (Putto) Date: Thu, 04 Oct 2007 06:09:00 -0000 Subject: Cygwin hangs with error (--) 3 mouse buttons found Message-ID: <13033186.post@talk.nabble.com> I am trying to connect to linux machine with xwin -query command Cygwin gives error (--) 3 mouse buttons found Could not init font path element /usr/X11R6/lib/X11/fo st! winPointerWarpCursor - Discarding first warp: 637 484 And hangs Please provide solution for the same. -- View this message in context: http://www.nabble.com/Cygwin-hangs-with-error-%28--%29-3-mouse-buttons-found-tf4566005.html#a13033186 Sent from the cygwin-xfree mailing list archive at Nabble.com. -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://x.cygwin.com/docs/ FAQ: http://x.cygwin.com/docs/faq/ From carfield@carfield.com.hk Thu Oct 4 14:58:00 2007 From: carfield@carfield.com.hk (Carfield Yim) Date: Thu, 04 Oct 2007 14:58:00 -0000 Subject: How can I disable mouse select as copy Message-ID: And press ctrl+c as copy, just like normal windows application, can I do that? -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://x.cygwin.com/docs/ FAQ: http://x.cygwin.com/docs/faq/ From cygwin@berardi.info Sun Oct 7 18:00:00 2007 From: cygwin@berardi.info (cygwin@berardi.info) Date: Sun, 07 Oct 2007 18:00:00 -0000 Subject: xterm Message-ID: <4856.192.168.1.40.1191780041.squirrel@trillian.berardi.us> I have a similar problem with one of my laptops and never was able to get it to work right. I too got the same responses from the list. I uninstalled and reinstalled anything that was new/suspect to no avail. After a while I learned that if I used run to start the app then it worked. Still don't know why and have no idea how to track this down . I guess if it happens to enough people then a solution might be found. example of output from an xterm session: $ xhost + /usr/X11R6/bin/xhost: unable to open display "" /usr/X11R6/bin/xhost: unable to open display "" /usr/X11R6/bin/xhost: unable to open display "" /usr/X11R6/bin/xhost: unable to open display "" /usr/X11R6/bin/xhost: unable to open display "" /usr/X11R6/bin/xhost: unable to open display "" examples: run xhost + run xcalc run xeyes and it works. Maybe this will help you. -greg > Mark J. Reed wrote: >> >> Make sure the X server is running first (run 'startxwin'). >>>> This might not sufficient - at least it is not in my system: >>>> Even when you start the X server (in my case in multiwindow >>>> mode), but then try to start xterm from a CMD Cygwin shell >>>> (such as from the shell you get when opening the Cygwin >>>> icon which is created by default when you setup Cygwin initially), >>>> you get the above error message. >> >> Well, sure. >> >> X allows individual programs running on one computer to display >> selectively on a different one over the network, which is quite handy. >> You can also have multiple X servers running on the same host, thanks >> to things like virtual consoles, Xnest, Xvnc, etc. >> >> But that means that an X client can't safely make assumptions about >> where the X server is. So you have to tell it. > . > . > . > > > > While this is technically true, if the Cygwin X server has been started > with startxwin in the installed configuration, none of this is necessary. > Unless the OP reports that the X server has been started in this way but > still has a problem, I believe the most obvious cause of the problem > is that the X server is not running. But since the OP also implied that > he may not be reading the list, I'm not sure we'll know for sure what > specifically is causing the problem. So it's probably not worth > speculating > about the multiple complicated ways that one can get this same message, > unless there's some follow-up from the OP that suggests doing so would be > worthwhile. > > > -- > Larry Hall http://www.rfk.com > RFK Partners, Inc. (508) 893-9779 - RFK Office > 216 Dalton Rd. (508) 429-6305 - FAX > Holliston, MA 01746 > > -- > Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple > Problem reports: http://cygwin.com/problems.html > Documentation: http://x.cygwin.com/docs/ > FAQ: http://x.cygwin.com/docs/faq/ > -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://x.cygwin.com/docs/ FAQ: http://x.cygwin.com/docs/faq/ From fatankercagu@gmail.com Mon Oct 8 09:34:00 2007 From: fatankercagu@gmail.com (Fatan kercagu) Date: Mon, 08 Oct 2007 09:34:00 -0000 Subject: SOS kosovo Message-ID: <20071008074509.1DAA412F26E@localhost.localdomain> Dear Lady/Sir, my name is Fatan Kercagu and I am at first year of my studies at the Economic Faculty here at Prishtina University. I am unable to continue with my studies because of financial reasons therefore I would ask you kindly hereby for your possible assistance in helping me out. Your help may seem small to you but it would help me continue with the University. I thank you for your help. God bless you, Fatan Kercagu Rahovec, Kosovo Email: fatankercagu@gmail.com Tel: +377 0 44 119 934 -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://x.cygwin.com/docs/ FAQ: http://x.cygwin.com/docs/faq/ From ferminselvin@gmail.com Tue Oct 9 07:01:00 2007 From: ferminselvin@gmail.com (fermin selvin) Date: Tue, 09 Oct 2007 07:01:00 -0000 Subject: problem in X Message-ID: <6f7766110710090001k3bfe4c1fmcf5fd4eccba42b5c@mail.gmail.com> Dear Sir/Madam, I have installed cygwin in my IBM intellistation with windows xp professional Operating system (64 bit edition). I am experiencing some difficulties in using the graphical windows which can be invoked through cygwin terminal. Could you please clarify since i am new to linux environment? when i typed emacs in the terminal, i got the emacs window, but none of the menu options worked. i was not able to close it even with C-x C-c. I closed the cygwin terminal instead of getting out of emacs. when I type 'edit' in bash or csh, it shows 'command not found'. I had given the command 'init 0' in the terminal and got the following message from the syatem: A fatal error has occurred and Cygwin/X will now exit. Please open /tmp/XWin.log for more information. vendor: the cygwin/X project release 6.8.99.901-4 contact: cygwin-xfree@cygwin.com XWin was started with the following command line: /usr/X11R6/bin/XWin -multiwindow -clipboard -silent -dup -error Kindly suggest me what to do to make my cygwin work well with emacs and X window. Thanks and regards, fermin -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://x.cygwin.com/docs/ FAQ: http://x.cygwin.com/docs/faq/ From reply-to-list-only-lh-x@cygwin.com Tue Oct 9 12:25:00 2007 From: reply-to-list-only-lh-x@cygwin.com (Larry Hall (Cygwin X)) Date: Tue, 09 Oct 2007 12:25:00 -0000 Subject: problem in X In-Reply-To: <6f7766110710090001k3bfe4c1fmcf5fd4eccba42b5c@mail.gmail.com> References: <6f7766110710090001k3bfe4c1fmcf5fd4eccba42b5c@mail.gmail.com> Message-ID: <470B731E.50000@cygwin.com> fermin selvin wrote: > Dear Sir/Madam, > I have installed cygwin in my IBM intellistation with windows xp > professional Operating system (64 bit edition). I am experiencing some > difficulties in using the graphical windows which can be invoked > through cygwin terminal. Could you please clarify since i am new to > linux environment? > when i typed emacs in the terminal, i got the emacs window, but > none of the menu options worked. i was not able to close it even with > C-x C-c. I closed the cygwin terminal instead of getting out of emacs. > when I type 'edit' in bash or csh, it shows 'command not found'. > I had given the command 'init 0' in the terminal and got the > following message from the syatem: > A fatal error has occurred and Cygwin/X will now exit. > Please open /tmp/XWin.log for more information. > vendor: the cygwin/X project > release 6.8.99.901-4 > contact: cygwin-xfree@cygwin.com > XWin was started with the following command line: > /usr/X11R6/bin/XWin -multiwindow -clipboard -silent -dup -error > > > Kindly suggest me what to do to make my cygwin work well with emacs > and X window. Please read and follow the problem reporting guidelines found here: > Problem reports: http://cygwin.com/problems.html Other questions: o What is the "cygwin terminal" you're using? o Does your CYGWIN environment variable contain 'tty'? -- Larry Hall http://www.rfk.com RFK Partners, Inc. (508) 893-9779 - RFK Office 216 Dalton Rd. (508) 429-6305 - FAX Holliston, MA 01746 -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://x.cygwin.com/docs/ FAQ: http://x.cygwin.com/docs/faq/ From ludek_coufal@email.cz Thu Oct 11 11:29:00 2007 From: ludek_coufal@email.cz (=?us-ascii?Q?ludek=5Fcoufal?=) Date: Thu, 11 Oct 2007 11:29:00 -0000 Subject: =?us-ascii?Q?CygwinX=20xwin=20after=20login=20black=20screen=20?= Message-ID: <1615.3368-7683-802760553-1192102147@email.cz> Hello, I have problem connect with CygwinX to SUSE 10 (SLES). 1. Procedure: - startxwin.bat - xwin :1 -query 132.9.1.3 -from 132.9.1.94 - login screen is displayed - enter username and password - Cygwin/X 132.9.1.3 is blank black screen 2. From internet explorer (VNC) - http://132.9.1.3:5801/ I connect to the same SUSE 10 server OK. 3. xwin :1 -query 132.9.1.100 -from 132.9.1.94 this is HP-UX server work OK. Thank You for help Ludek -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://x.cygwin.com/docs/ FAQ: http://x.cygwin.com/docs/faq/ From holger.krull@gmx.de Thu Oct 11 11:42:00 2007 From: holger.krull@gmx.de (Holger Krull) Date: Thu, 11 Oct 2007 11:42:00 -0000 Subject: CygwinX xwin after login black screen In-Reply-To: <1615.3368-7683-802760553-1192102147@email.cz> References: <1615.3368-7683-802760553-1192102147@email.cz> Message-ID: <470E0C09.5070603@gmx.de> ludek_coufal schrieb: > I have problem connect with CygwinX to SUSE 10 (SLES). > 1. Procedure: > - startxwin.bat (Sidenote: You don't need startxwin.bat if you do:) > - xwin :1 -query 132.9.1.3 -from 132.9.1.94 > - login screen is displayed > - enter username and password 1.What Windowmanger do you choose? kde, gnome something else? Does it work if you choose a different one? 2.Can you connect from any other computer with xdmcp to this Suse system? 3.I assume your are using kdm on the suse system, is any message printed in /var/log/kdm.log when you try to connect? Or in /var/log/messages? -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://x.cygwin.com/docs/ FAQ: http://x.cygwin.com/docs/faq/ From pnews@tiscali.co.uk Thu Oct 11 11:46:00 2007 From: pnews@tiscali.co.uk (pbs) Date: Thu, 11 Oct 2007 11:46:00 -0000 Subject: Has anyone run xdm successfully under cygwin? In-Reply-To: <200309080922.h889MWw04903@lomarline.freeserve.co.uk> References: <200309080922.h889MWw04903@lomarline.freeserve.co.uk> Message-ID: I have come back to this problem and have messed around with xdm on a Windows XP home edition using Cygwin 1.5.24(0.156/4/2). It still has similar problems to those I experienced back in 2003. So in the interim has anyone successfully run the program? On this attempt I am running it on a local disk. X -indirect hostname works like expected. (so it is not a comms problems) When I run xdm I run it is in an account with the uid set to 0 (so xdm thinks it is running as root). The problems I am getting are similar to those I got back in 2003. Running xdm in strace allows it to get the Xlogin screen (which still uses the password field in the /etc/password file). I have fixed the winXP NT permissions problems that occur if one logs in as a different user (but for testing purposes I login to the same account as that which initiates xdm process. It will execute the files in ~/.xsession. But on exiting those programs instead of returning to a xlogin screen (or a chooser screen) it returns to a blank cross hatch default X windows screen with no application running. Using tcpdump on another machine I can see no evidence that chooser.exe has been started (even though I have changed /etc/X11/Xaccess to "* CHOOSER BROADCAST" and I still have the problem of it not working at all unless it is run in strace strace xdm -nodeamon -debug 10 So my questions are: 1) Has anyone run xdm successfully under Cygwin? 2) If so any tips for how I can get it to work? pnews@lomarline.freeserve.co.uk wrote: > CYGWIN_95-4.0 myhost 1.5.3(0.90/3/2) 2003-09-01 13:15 i586 unknown > unknown Cygwin > > I am running these tests on a Samba partition which is mounted > on the F: drive. > > I can make an XDMCP connection using startxdmcp.bat or the command line > Xwin.exe -query remotehost. (Having learnt to mount the /tmp as a bin > type mount! ) > > This works fine and I can get the indirect list of machines on my net > served up to me via the remotename machine. Connect to that machine > and get the remote xdm to give me a login prompt. > > Is it possible set up cywin to run the equivalent of my Linux Boxes' > inittab lines: > x1:5:respawn:/usr/X11/bin/X -indirect thislocalhost > x2:5:respawn:/etc/X11/xdm -nodaemon > > I have tried to do this in two ways: > The first is to run xdm without removing the line in > /etc/xdm/Xservers specifying the server name: > :0 local /usr/X11R6/bin/X > Infact I modified this to: > localhost:0 local /usr/X11R6/bin/X > Because I needed that name to fix the "auth" problem. (see below) > > I could then run xdm from the command line. It returns: > "Only root wants to run xdm" > I worked around this in one of two ways: > either running "xdm -debug 10" > or creating a root account and logging in as root. > > The other files I altered were all in /etc/X11/xdm > Xaccess > * #any host can get a login window > * CHOOSER BROADCAST #any indirect host can get a chooser > > xdm-config > !DisplayManager.errorLogFile: /var/log/xdm.log > DisplayManager.errorLogFile: /tmp/xdm.log > > ! removing this makes life simpler for now > ! DisplayManager.willing: su nobody -c /usr/X11R6/lib/X11/xdm/Xwilling > > DisplayManager.*.authFile: Xauthority > DisplayManager.RandomFile: /tmp/XWin.log > > !DisplayManager.requestPort: 0 > > Some comments on the above. I changed the errorLogFile so that > I did not have to monitor logs in more than one dir. > > I removed the su "nobody -c" because it just complicates things! > Removing the whole line saves running a script which includes > programs which do not exist on my installation of cygwin. > > I created an "Xauthority" file because the one generated by xdm > has a colon in it and the file system barfs at that. When > creating the entries for the Xauthority file I used a modified > version of the which appeared in May 2002 in this mail list: > XAUTHORITY=/usr/X11R6/lib/X11/xdm/authdir/authfiles/Xauthority > DISPLAYNUM=:0 > mcookie=`dd if=/dev/urandom count=1 | md5sum | cut -f1 -d\ '` > xauth -f "$XAUTHORITY" -v add "$DISPLAYNUM" . "$mcookie" > xauth -f "$XAUTHORITY" -v add "127.0.0.1$DISPLAYNUM" . "$mcookie" > xauth -f "$XAUTHORITY" -v add "$HOSTNAME$DISPLAYNUM" . "$mcookie" > NB; For belt and braces I mounted the file "authfiles" dir as type bin. > This is why I changed the line in the Xserver file to include localhost as > this script generates that entry: > $ xauth list > myhost/unix:0 MIT-MAGIC-COOKIE-1 7042...fc > localhost:0 MIT-MAGIC-COOKIE-1 7042...fc > myhost.mydomain.com:0 MIT-MAGIC-COOKIE-1 7042...fc > > DM.RandomFile was used because the default is /dev/mem which does not > appear to exist. I would be grateful for a better solution than the > log file as a file for "sum". > > DM.requestPort is commented out because I want other machines to get XDMCP > messages from this machine. > > If I run xdm with the Xservers commented out and from separate > window with the line: "Xwin -indirect myhost" > The host name appears in the indirect list on a Linux machine. > But when I connect to it I get a grey cross hatched screen > and nothing else. The same is true for the local X screen. > At the same time as the cross hatch appears xdm "core dumps" > > Whether I run "xdm -debug 10" as root or another user whether there is > an entry in Xserver or chooser or xterm inplace of chooser > xdm always "core dumps" usually with the KERNEL32.DLL or less often > CYGWIN1.DLL depending on the settings in xdm-config > > I noted the entry 2003/7/102 that other have been doing far more work > on his than I have. Has anyone got a version which runs (with the release > which I am using) and if so what am I doing that is not correct? > > Two useful mail list refrences: > http://cygwin.com/ml/cygwin-xfree/2003-07/msg00102.html > http://sources.redhat.com/ml/cygwin-xfree/2002-05/msg00226.html > > Here is one example of a dump cut from the popup window. > XDM caused an invalid page fault in > module KERNEL32.DLL at 0137:bff85fe5. > Registers: > EAX=c0013f4c CS=0137 EIP=bff85fe5 EFLGS=00010202 > EBX=8160e5a0 SS=013f ESP=006d0000 EBP=006d009c > ECX=c0013f48 DS=013f ESI=006d00d0 FS=2877 > EDX=006d01f8 ES=013f EDI=006d00b4 GS=0000 > Bytes at CS:EIP: > 57 8b 30 55 83 7e 54 00 0f 84 1c 01 00 00 f6 46 > Stack dump: > 006d00d0 006cda98 00000000 bff85812 > 00000001 0000000e 006d00b4 006d00d0 > 006d0300 0000000b 006cda98 > 00000000 00000000 00000000 00000000 > 00000000 > > Here is a example taken from the XDM.EXE.stackdump > > Excption: STATUS_ACCESS_VIOLATION at eip=610788D1 > eax=20202020 ebx=008CF380 ecx=61621714 edx=61621718 esi=00000039 edi=FFFFFFFF > ebp=008CF3A8 esp=008CF340 program=F:\CYGWIN\USR\X11R6\BIN\XDM.EXE > cs=0137 ds=013F es=013F fs=25AF gs=0000 ss=013F > Stack trace: > Frame Function Args > 008CF3A8 610788D1 (00000001, 008CF3C0, 00000001, 008CF400) > 008CF3C8 6107826C (00000001, 008CF3E0, 00000039, 008CF7F4) > 008CF7E8 00406800 (00408F96, 10036218, 00000000, 00000001) > 008CF808 0040905E (10038CE8, 00000000, 00000000, 001282E1) > 008CF838 00408D38 (10038CE8, 10036340, 00000001, 610773D0) > 008CF858 00405E09 (10038CE8, 10036260, 10038DD8, 008CF8A4) > 008CF8B8 0040C950 (008CF8E0, 00000010, 00000017, 00000017) > 008CF908 0040B2A3 (0040B300, 00000001, 00000000, 00000000) > 008CF938 0040B431 (00000014, 004051D0, 00000000, 00000000) > 008CFD68 00404B4D (00000003, 6162201C, 10030330, 008CFD9C) > 008CFDB8 61004D8A (610D0EE8, FFFFFFFE, 00000005, 610D0E0C) > 008CFE08 6100507D (00000000, 00000000, BFFBFA00, 008CFF68) > 008CFE28 00453D82 (00404910, 037F0500, 008CFF78, BFF88E93) > 008CFE38 0040103C (8161F5AC, 8162A27C, 006C0000, 006D6458) > 008CFF78 BFF88E93 (BFF88A87, 00000019, 8161F5AC, 00000000) > > > -- > Regards Philip > -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://x.cygwin.com/docs/ FAQ: http://x.cygwin.com/docs/faq/ From ludek_coufal@email.cz Thu Oct 11 12:57:00 2007 From: ludek_coufal@email.cz (=?us-ascii?Q?ludek=5Fcoufal?=) Date: Thu, 11 Oct 2007 12:57:00 -0000 Subject: =?us-ascii?Q?Re=3A=20CygwinX=20xwin=20after=20login=20black=20screen?= In-Reply-To: <470E0C09.5070603@gmx.de> Message-ID: <1599.3362-14713-1045364884-1192107410@email.cz> Hello Holger, I use gnome. I change gnome to kde and xwin work OK. Thank You for help Ludek > ------------ P?vodn? zpr?va ------------ > Od: Holger Krull > P?edm?t: Re: CygwinX xwin after login black screen > Datum: 11.10.2007 13:42:42 > ---------------------------------------- > ludek_coufal schrieb: > > I have problem connect with CygwinX to SUSE 10 (SLES). > > 1. Procedure: > > - startxwin.bat > > (Sidenote: You don't need startxwin.bat if you do:) > > > - xwin :1 -query 132.9.1.3 -from 132.9.1.94 > > > - login screen is displayed > > - enter username and password > > 1.What Windowmanger do you choose? kde, gnome something else? Does it work if > you choose a different one? > > 2.Can you connect from any other computer with xdmcp to this Suse system? > > 3.I assume your are using kdm on the suse system, is any message printed in > /var/log/kdm.log when you try to connect? Or in /var/log/messages? > > > > -- > Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple > Problem reports: http://cygwin.com/problems.html > Documentation: http://x.cygwin.com/docs/ > FAQ: http://x.cygwin.com/docs/faq/ > > > > -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://x.cygwin.com/docs/ FAQ: http://x.cygwin.com/docs/faq/ From ludek_coufal@email.cz Thu Oct 11 13:04:00 2007 From: ludek_coufal@email.cz (=?us-ascii?Q?ludek=5Fcoufal?=) Date: Thu, 11 Oct 2007 13:04:00 -0000 Subject: =?us-ascii?Q?sftp=20how=20insert=20=40?= Message-ID: <1593.3358-15679-1338170842-1192107864@email.cz> Hello, I can test sftp, but I can not change keyboard and insert, enter @. Procedure: - startxwin.bat - I can enter (sftp root@132.9.1.8) but how insert @? On keyboard @ not work. Thank You Ludek -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://x.cygwin.com/docs/ FAQ: http://x.cygwin.com/docs/faq/ From holger.krull@gmx.de Thu Oct 11 13:20:00 2007 From: holger.krull@gmx.de (Holger Krull) Date: Thu, 11 Oct 2007 13:20:00 -0000 Subject: sftp how insert @ In-Reply-To: <1593.3358-15679-1338170842-1192107864@email.cz> References: <1593.3358-15679-1338170842-1192107864@email.cz> Message-ID: <470E232F.9040300@gmx.de> ludek_coufal schrieb: > I can test sftp, but I can not change keyboard and insert, enter @. > Procedure: > - startxwin.bat > - I can enter (sftp root@132.9.1.8) but how insert @? On keyboard @ not work. (You don't need X11 to run sftp) Most likely you need to uncomment the following entrys in ~/.inputrc # Allow 8-bit input/output set meta-flag on set convert-meta off set input-meta on set output-meta on -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://x.cygwin.com/docs/ FAQ: http://x.cygwin.com/docs/faq/ From xerces8@butn.net Thu Oct 11 13:53:00 2007 From: xerces8@butn.net (xerces8) Date: Thu, 11 Oct 2007 13:53:00 -0000 Subject: sftp how insert @ In-Reply-To: <470E232F.9040300@gmx.de> References: <1593.3358-15679-1338170842-1192107864@email.cz> <470E232F.9040300@gmx.de> Message-ID: @ is not a 8 bit character, so those changes in .inputrc should not be needed. Probably the keyboard layout for X11 is wrong. Cut & paste from any other program should work just fine. Regards, David -----Original Message----- From: Holger Krull To: cygwin-xfree@cygwin.com Date: Thu, 11 Oct 2007 15:20:47 +0200 Subject: Re: sftp how insert @ > ludek_coufal schrieb: > > I can test sftp, but I can not change keyboard and insert, enter @. > > Procedure: > > - startxwin.bat > > - I can enter (sftp root@132.9.1.8) but how insert @? On keyboard @ not work. > > (You don't need X11 to run sftp) > Most likely you need to uncomment the following entrys in ~/.inputrc > # Allow 8-bit input/output > set meta-flag on > set convert-meta off > set input-meta on > set output-meta on > > -- > Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple > Problem reports: http://cygwin.com/problems.html > Documentation: http://x.cygwin.com/docs/ > FAQ: http://x.cygwin.com/docs/faq/ > -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://x.cygwin.com/docs/ FAQ: http://x.cygwin.com/docs/faq/ From pnews@tiscali.co.uk Thu Oct 11 14:03:00 2007 From: pnews@tiscali.co.uk (pbs) Date: Thu, 11 Oct 2007 14:03:00 -0000 Subject: Has anyone run xdm successfully under cygwin? In-Reply-To: References: Message-ID: pbs wrote: > I have come back to this problem and have messed around with xdm on a > Windows XP home edition using Cygwin 1.5.24(0.156/4/2). It still has > similar problems to those I experienced back in 2003. So in the interim > has anyone successfully run the program? So that I can trace the problems further, I would like to download the source code for xdm and compile it. I looked at the instructions at http://x.cygwin.com/ and could not work out how I can go about downloading xdm sources and supporting libraries. Please could someone point me to a document on how to download the necessary source code, or tell me how to do it. -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://x.cygwin.com/docs/ FAQ: http://x.cygwin.com/docs/faq/ From pnews@tiscali.co.uk Thu Oct 11 14:07:00 2007 From: pnews@tiscali.co.uk (pbs) Date: Thu, 11 Oct 2007 14:07:00 -0000 Subject: Has anyone run xdm successfully under cygwin? Message-ID: I have come back to this problem and have messed around with xdm on a Windows XP home edition using Cygwin 1.5.24(0.156/4/2). It still has similar problems to those I experienced back in 2003. So in the interim has anyone successfully run the program? On this attempt I am running it on a local disk. X -indirect hostname works like expected. (so it is not a comms problems) When I run xdm I run it is in an account with the uid set to 0 (so xdm thinks it is running as root). The problems I am getting are similar to those I got back in 2003. Running xdm in strace allows it to get the Xlogin screen (which still uses the password field in the /etc/password file). I have fixed the winXP NT permissions problems that occur if one logs in as a different user (but for testing purposes I login to the same account as that which initiates xdm process. It will execute the files in ~/.xsession. But on exiting those programs instead of returning to a xlogin screen (or a chooser screen) it returns to a blank cross hatch default X windows screen with no application running. Using tcpdump on another machine I can see no evidence that chooser.exe has been started (even though I have changed /etc/X11/Xaccess to "* CHOOSER BROADCAST" and I still have the problem of it not working at all unless it is run in strace strace xdm -nodeamon -debug 10 So my questions are: 1) Has anyone run xdm successfully under Cygwin? 2) If so any tips for how I can get it to work? pnews@lomarline.freeserve.co.uk wrote: > > CYGWIN_95-4.0 myhost 1.5.3(0.90/3/2) 2003-09-01 13:15 i586 unknown > > unknown Cygwin > > > > I am running these tests on a Samba partition which is mounted > > on the F: drive. > > > > I can make an XDMCP connection using startxdmcp.bat or the command line > > Xwin.exe -query remotehost. (Having learnt to mount the /tmp as a bin > > type mount! ) > > > > This works fine and I can get the indirect list of machines on my net > > served up to me via the remotename machine. Connect to that machine > > and get the remote xdm to give me a login prompt. > > > > Is it possible set up cywin to run the equivalent of my Linux Boxes' > > inittab lines: > > x1:5:respawn:/usr/X11/bin/X -indirect thislocalhost > > x2:5:respawn:/etc/X11/xdm -nodaemon > > > > I have tried to do this in two ways: > > The first is to run xdm without removing the line in > > /etc/xdm/Xservers specifying the server name: > > :0 local /usr/X11R6/bin/X > > Infact I modified this to: > > localhost:0 local /usr/X11R6/bin/X > > Because I needed that name to fix the "auth" problem. (see below) > > > > I could then run xdm from the command line. It returns: > > "Only root wants to run xdm" > > I worked around this in one of two ways: > > either running "xdm -debug 10" > > or creating a root account and logging in as root. > > > > The other files I altered were all in /etc/X11/xdm > > Xaccess > > * #any host can get a login window > > * CHOOSER BROADCAST #any indirect host can get a chooser > > > > xdm-config > > !DisplayManager.errorLogFile: /var/log/xdm.log > > DisplayManager.errorLogFile: /tmp/xdm.log > > > > ! removing this makes life simpler for now > > ! DisplayManager.willing: su nobody -c /usr/X11R6/lib/X11/xdm/Xwilling > > > > DisplayManager.*.authFile: Xauthority > > DisplayManager.RandomFile: /tmp/XWin.log > > > > !DisplayManager.requestPort: 0 > > > > Some comments on the above. I changed the errorLogFile so that > > I did not have to monitor logs in more than one dir. > > > > I removed the su "nobody -c" because it just complicates things! > > Removing the whole line saves running a script which includes > > programs which do not exist on my installation of cygwin. > > > > I created an "Xauthority" file because the one generated by xdm > > has a colon in it and the file system barfs at that. When > > creating the entries for the Xauthority file I used a modified > > version of the which appeared in May 2002 in this mail list: > > XAUTHORITY=/usr/X11R6/lib/X11/xdm/authdir/authfiles/Xauthority > > DISPLAYNUM=:0 > > mcookie=`dd if=/dev/urandom count=1 | md5sum | cut -f1 -d\ '` > > xauth -f "$XAUTHORITY" -v add "$DISPLAYNUM" . "$mcookie" > > xauth -f "$XAUTHORITY" -v add "127.0.0.1$DISPLAYNUM" . "$mcookie" > > xauth -f "$XAUTHORITY" -v add "$HOSTNAME$DISPLAYNUM" . "$mcookie" > > NB; For belt and braces I mounted the file "authfiles" dir as type bin. > > This is why I changed the line in the Xserver file to include localhost as > > this script generates that entry: > > $ xauth list > > myhost/unix:0 MIT-MAGIC-COOKIE-1 7042...fc > > localhost:0 MIT-MAGIC-COOKIE-1 7042...fc > > myhost.mydomain.com:0 MIT-MAGIC-COOKIE-1 7042...fc > > > > DM.RandomFile was used because the default is /dev/mem which does not > > appear to exist. I would be grateful for a better solution than the > > log file as a file for "sum". > > > > DM.requestPort is commented out because I want other machines to get XDMCP > > messages from this machine. > > > > If I run xdm with the Xservers commented out and from separate > > window with the line: "Xwin -indirect myhost" > > The host name appears in the indirect list on a Linux machine. > > But when I connect to it I get a grey cross hatched screen > > and nothing else. The same is true for the local X screen. > > At the same time as the cross hatch appears xdm "core dumps" > > > > Whether I run "xdm -debug 10" as root or another user whether there is > > an entry in Xserver or chooser or xterm inplace of chooser > > xdm always "core dumps" usually with the KERNEL32.DLL or less often > > CYGWIN1.DLL depending on the settings in xdm-config > > > > I noted the entry 2003/7/102 that other have been doing far more work > > on his than I have. Has anyone got a version which runs (with the release > > which I am using) and if so what am I doing that is not correct? > > > > Two useful mail list refrences: > > http://cygwin.com/ml/cygwin-xfree/2003-07/msg00102.html > > http://sources.redhat.com/ml/cygwin-xfree/2002-05/msg00226.html > > > > Here is one example of a dump cut from the popup window. > > XDM caused an invalid page fault in > > module KERNEL32.DLL at 0137:bff85fe5. > > Registers: > > EAX=c0013f4c CS=0137 EIP=bff85fe5 EFLGS=00010202 > > EBX=8160e5a0 SS=013f ESP=006d0000 EBP=006d009c > > ECX=c0013f48 DS=013f ESI=006d00d0 FS=2877 > > EDX=006d01f8 ES=013f EDI=006d00b4 GS=0000 > > Bytes at CS:EIP: > > 57 8b 30 55 83 7e 54 00 0f 84 1c 01 00 00 f6 46 > > Stack dump: > > 006d00d0 006cda98 00000000 bff85812 > > 00000001 0000000e 006d00b4 006d00d0 > > 006d0300 0000000b 006cda98 > > 00000000 00000000 00000000 00000000 > > 00000000 > > > > Here is a example taken from the XDM.EXE.stackdump > > > > Excption: STATUS_ACCESS_VIOLATION at eip=610788D1 > > eax=20202020 ebx=008CF380 ecx=61621714 edx=61621718 esi=00000039 edi=FFFFFFFF > > ebp=008CF3A8 esp=008CF340 program=F:\CYGWIN\USR\X11R6\BIN\XDM.EXE > > cs=0137 ds=013F es=013F fs=25AF gs=0000 ss=013F > > Stack trace: > > Frame Function Args > > 008CF3A8 610788D1 (00000001, 008CF3C0, 00000001, 008CF400) > > 008CF3C8 6107826C (00000001, 008CF3E0, 00000039, 008CF7F4) > > 008CF7E8 00406800 (00408F96, 10036218, 00000000, 00000001) > > 008CF808 0040905E (10038CE8, 00000000, 00000000, 001282E1) > > 008CF838 00408D38 (10038CE8, 10036340, 00000001, 610773D0) > > 008CF858 00405E09 (10038CE8, 10036260, 10038DD8, 008CF8A4) > > 008CF8B8 0040C950 (008CF8E0, 00000010, 00000017, 00000017) > > 008CF908 0040B2A3 (0040B300, 00000001, 00000000, 00000000) > > 008CF938 0040B431 (00000014, 004051D0, 00000000, 00000000) > > 008CFD68 00404B4D (00000003, 6162201C, 10030330, 008CFD9C) > > 008CFDB8 61004D8A (610D0EE8, FFFFFFFE, 00000005, 610D0E0C) > > 008CFE08 6100507D (00000000, 00000000, BFFBFA00, 008CFF68) > > 008CFE28 00453D82 (00404910, 037F0500, 008CFF78, BFF88E93) > > 008CFE38 0040103C (8161F5AC, 8162A27C, 006C0000, 006D6458) > > 008CFF78 BFF88E93 (BFF88A87, 00000019, 8161F5AC, 00000000) > > > > > > -- > > Regards Philip -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://x.cygwin.com/docs/ FAQ: http://x.cygwin.com/docs/faq/ From holger.krull@gmx.de Thu Oct 11 14:11:00 2007 From: holger.krull@gmx.de (Holger Krull) Date: Thu, 11 Oct 2007 14:11:00 -0000 Subject: sftp how insert @ In-Reply-To: References: <1593.3358-15679-1338170842-1192107864@email.cz> <470E232F.9040300@gmx.de> Message-ID: <470E2F08.8000207@gmx.de> xerces8 schrieb: > @ is not a 8 bit character, so those changes in .inputrc should not be needed. > Probably the keyboard layout for X11 is wrong. > Cut & paste from any other program should work just fine. You are right, i should have checked. So using setxkbmap will probably help. Or not using X11. -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://x.cygwin.com/docs/ FAQ: http://x.cygwin.com/docs/faq/ From u0000732@scorch.tees.ac.uk Thu Oct 11 16:46:00 2007 From: u0000732@scorch.tees.ac.uk (Suresh Keswani) Date: Thu, 11 Oct 2007 16:46:00 -0000 Subject: OpenGL files Message-ID: Dear Cygwin/X team, I've just installed Cygwin & Cygwin/X for the first time. The installation worked smoothly and I can run remote X applications (including OpenGL applications successfully. Your X server makes me wonder why we have paid thousands for an incomplete product: Hummingbird's X server. Thanks a lot for such a wonderful product. I'll try and work on the powers that be to make a contribution to the Cygwin team. I have a small question relating to developing OpenGL applications *locally*: I have installed the gcc/++ compiler suite, freeglut library files and the "OpenGL-related files" via the setup program. However, compiling OpenGL programs fails as the linker cannot find the GL libraries. Nor can I when I try looking for libgl.* and libglu.* in the usual locations. (libglut files are there). My questions: - have these files changed names / locations in the Cygwin heirarchy? - or does "OpenGL-related" files refer to other supplementary files but not to the main GL library files - if so - where can I find the GL lib files? Many thanks for any help on this. All the best, Suresh Keswani -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://x.cygwin.com/docs/ FAQ: http://x.cygwin.com/docs/faq/ From halluc1nati0n@yahoo.com Fri Oct 12 07:37:00 2007 From: halluc1nati0n@yahoo.com (Hall Nation) Date: Fri, 12 Oct 2007 07:37:00 -0000 Subject: What is xargs? Message-ID: <504408.79794.qm@web57506.mail.re1.yahoo.com> I am new to cygwin/X. Using the above setup at the workplace.. I need to know about the xargs command. What does it do ? ____________________________________________________________________________________ Building a website is a piece of cake. Yahoo! Small Business gives you all the tools to get online. http://smallbusiness.yahoo.com/webhosting -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://x.cygwin.com/docs/ FAQ: http://x.cygwin.com/docs/faq/ From garyjohn@spk.agilent.com Fri Oct 12 08:00:00 2007 From: garyjohn@spk.agilent.com (Gary Johnson) Date: Fri, 12 Oct 2007 08:00:00 -0000 Subject: What is xargs? In-Reply-To: <504408.79794.qm@web57506.mail.re1.yahoo.com> References: <504408.79794.qm@web57506.mail.re1.yahoo.com> Message-ID: <20071012080022.GA5789@suncomp1.spk.agilent.com> On 2007-10-12, Hall Nation wrote: > I am new to cygwin/X. > > Using the above setup at the workplace.. > I need to know about the xargs command. What does it > do ? As a newcomer to Cygwin and apparently to Unix, one of the most important commands to learn is 'man'. To find out what the 'xargs' command does, execute the following at the Bash prompt: man xargs Regards, Gary -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://x.cygwin.com/docs/ FAQ: http://x.cygwin.com/docs/faq/ From markjreed@mail.com Fri Oct 12 11:44:00 2007 From: markjreed@mail.com (Mark J. Reed) Date: Fri, 12 Oct 2007 11:44:00 -0000 Subject: What is xargs? In-Reply-To: <20071012080022.GA5789@suncomp1.spk.agilent.com> References: <504408.79794.qm@web57506.mail.re1.yahoo.com> <20071012080022.GA5789@suncomp1.spk.agilent.com> Message-ID: > On 2007-10-12, Hall Nation wrote: > > I am new to cygwin/X. > > > > Using the above setup at the workplace.. > > I need to know about the xargs command. What does it > > do ? As Gary said, the "man" (short for "manual") command is your friend. It's also important to note that not all commands whose name starts with "x" have anything to do with X the graphics system. In the case of "xargs", the "x" represents the operation that conceptually turns a vertical list of items into a horizontal list of command-line arguments. So if you have a file named "lines.txt" whose contents are as follows: line1 line2 line3 Then if you type this at the bash prompt: xargs mycommand -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://x.cygwin.com/docs/ FAQ: http://x.cygwin.com/docs/faq/ From cgf-use-the-mailinglist-please@cygwin.com Fri Oct 12 14:02:00 2007 From: cgf-use-the-mailinglist-please@cygwin.com (Christopher Faylor) Date: Fri, 12 Oct 2007 14:02:00 -0000 Subject: What is xargs? In-Reply-To: References: <504408.79794.qm@web57506.mail.re1.yahoo.com> <20071012080022.GA5789@suncomp1.spk.agilent.com> Message-ID: <20071012140206.GA4645@ednor.casa.cgf.cx> On Fri, Oct 12, 2007 at 07:44:51AM -0400, Mark J. Reed wrote: >> On 2007-10-12, Hall Nation wrote: >> > I am new to cygwin/X. >> > >> > Using the above setup at the workplace.. >> > I need to know about the xargs command. What does it >> > do ? > >As Gary said, the "man" (short for "manual") command is your friend. As is google. The first hit is instructive. cgf -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://x.cygwin.com/docs/ FAQ: http://x.cygwin.com/docs/faq/ From dickey@his.com Fri Oct 12 14:06:00 2007 From: dickey@his.com (Thomas Dickey) Date: Fri, 12 Oct 2007 14:06:00 -0000 Subject: What is xargs? In-Reply-To: <20071012140206.GA4645@ednor.casa.cgf.cx> References: <504408.79794.qm@web57506.mail.re1.yahoo.com> <20071012080022.GA5789@suncomp1.spk.agilent.com> <20071012140206.GA4645@ednor.casa.cgf.cx> Message-ID: <20071012100522.A2402@mail101.his.com> On Fri, 12 Oct 2007, Christopher Faylor wrote: > On Fri, Oct 12, 2007 at 07:44:51AM -0400, Mark J. Reed wrote: >>> On 2007-10-12, Hall Nation wrote: >>>> I am new to cygwin/X. >>>> >>>> Using the above setup at the workplace.. >>>> I need to know about the xargs command. What does it >>>> do ? >> >> As Gary said, the "man" (short for "manual") command is your friend. > > As is google. The first hit is instructive. It certainly is: it provides (as a wikipedia article) an example of poorly written technical material. -- Thomas E. Dickey http://invisible-island.net ftp://invisible-island.net -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://x.cygwin.com/docs/ FAQ: http://x.cygwin.com/docs/faq/ From Phil.Betts@ascribe.com Fri Oct 12 15:49:00 2007 From: Phil.Betts@ascribe.com (Phil Betts) Date: Fri, 12 Oct 2007 15:49:00 -0000 Subject: OpenGL files In-Reply-To: Message-ID: <2D9E96311DCA4C48BF185EA6928BC7BB028E3CE3@asc-mail.int.ascribe.com> Suresh Keswani wrote on Thursday, October 11, 2007 5:46 PM:: > I have a small question relating to developing OpenGL applications > *locally*: I have installed the gcc/++ compiler suite, freeglut > library files and the "OpenGL-related files" via the setup program. > However, compiling OpenGL programs fails as the linker cannot find > the GL libraries. Nor can I when I try looking for libgl.* and > libglu.* in the usual locations. (libglut files are there). > > My questions: - have these files changed names / locations in the > Cygwin heirarchy? - or does "OpenGL-related" files refer to other > supplementary files but not to the main GL library files - if so - > where can I find the GL lib files? > > Many thanks for any help on this. > > All the best, > > Suresh Keswani You need to install the xorg-x11-devel package. Note that the runtime libraries are called cygGL* and are part of the xorg-x11-bin package. The files called libGL* are only the import libraries. Phil -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://x.cygwin.com/docs/ FAQ: http://x.cygwin.com/docs/faq/ From kpark16@uiuc.edu Fri Oct 12 19:06:00 2007 From: kpark16@uiuc.edu (Kyoungsoo Park) Date: Fri, 12 Oct 2007 19:06:00 -0000 Subject: Fatal error message Message-ID: <470FC5DA.80506@uiuc.edu> Dear cygwin, I have the following error message when I typed "startx" (My window is window server 2003). A fatal error has occurred and Cygwin/X will now exit. Please open /tmp/Xwin.log for more information. Vendor: The Cygwin/X Project Release: 6.8.99.901-4 contact: cygwin-xfree@cygwin.com XWin was started with the following command-line: X:0 -multiwindow -clipboard I attached the Xwin.log. with regards, A graduate student. -------------- next part -------------- An embedded and charset-unspecified text was scrubbed... Name: XWin.log URL: -------------- next part -------------- -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://x.cygwin.com/docs/ FAQ: http://x.cygwin.com/docs/faq/ From pnews@tiscali.co.uk Sat Oct 13 17:09:00 2007 From: pnews@tiscali.co.uk (pbs) Date: Sat, 13 Oct 2007 17:09:00 -0000 Subject: Has anyone run xdm successfully under cygwin? In-Reply-To: References: Message-ID: pbs wrote: > pbs wrote: >> I have come back to this problem and have messed around with xdm on a >> Windows XP home edition using Cygwin 1.5.24(0.156/4/2). It still has >> similar problems to those I experienced back in 2003. So in the interim >> has anyone successfully run the program? > > So that I can trace the problems further, I would like to download the > source code for xdm and compile it. I looked at the instructions at > http://x.cygwin.com/ and could not work out how I can go about > downloading xdm sources and supporting libraries. Please could someone > point me to a document on how to download the necessary source code, or > tell me how to do it. OK I know it is available in this package http://cygwin.com/packages/xorg-x11-bin/xorg-x11-bin-6.8.99.901-1-src but I don't now yet how to download and build it. Can someone please give me some pointers. -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://x.cygwin.com/docs/ FAQ: http://x.cygwin.com/docs/faq/ From pnews@tiscali.co.uk Sat Oct 13 17:10:00 2007 From: pnews@tiscali.co.uk (pbs) Date: Sat, 13 Oct 2007 17:10:00 -0000 Subject: Has anyone run xdm successfully under cygwin? In-Reply-To: References: Message-ID: pbs wrote: > pbs wrote: >> pbs wrote: >>> I have come back to this problem and have messed around with xdm on a >>> Windows XP home edition using Cygwin 1.5.24(0.156/4/2). It still has >>> similar problems to those I experienced back in 2003. So in the interim >>> has anyone successfully run the program? >> So that I can trace the problems further, I would like to download the >> source code for xdm and compile it. I looked at the instructions at >> http://x.cygwin.com/ and could not work out how I can go about >> downloading xdm sources and supporting libraries. Please could someone >> point me to a document on how to download the necessary source code, or >> tell me how to do it. > > OK I know it is available in this package > http://cygwin.com/packages/xorg-x11-bin/xorg-x11-bin-6.8.99.901-1-src > but I don't now yet how to download and build it. Can someone please > give me some pointers. found a mirror site via http://sourceware.org/ -> http://sourceware.org/mirrors.html -> http://www.mirrorservice.org/sites/sources.redhat.com/pub/cygwin/ etc -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://x.cygwin.com/docs/ FAQ: http://x.cygwin.com/docs/faq/ From oceanare@pacific.net.sg Sun Oct 14 00:47:00 2007 From: oceanare@pacific.net.sg (Erich Dollansky) Date: Sun, 14 Oct 2007 00:47:00 -0000 Subject: Has anyone run xdm successfully under cygwin? In-Reply-To: References: Message-ID: <47116724.2040006@pacific.net.sg> Hi, I do not know about this package but all other packages' source can be downloaded via setup.exe with checking the proper checkbox. The sources will then automatically fit to the binary you have on your machine. Erich pbs wrote: > pbs wrote: >> pbs wrote: >>> pbs wrote: >>>> I have come back to this problem and have messed around with xdm on a >>>> Windows XP home edition using Cygwin 1.5.24(0.156/4/2). It still has >>>> similar problems to those I experienced back in 2003. So in the interim >>>> has anyone successfully run the program? >>> So that I can trace the problems further, I would like to download the >>> source code for xdm and compile it. I looked at the instructions at >>> http://x.cygwin.com/ and could not work out how I can go about >>> downloading xdm sources and supporting libraries. Please could someone >>> point me to a document on how to download the necessary source code, or >>> tell me how to do it. >> OK I know it is available in this package >> http://cygwin.com/packages/xorg-x11-bin/xorg-x11-bin-6.8.99.901-1-src >> but I don't now yet how to download and build it. Can someone please >> give me some pointers. > > found a mirror site via > http://sourceware.org/ -> http://sourceware.org/mirrors.html -> > http://www.mirrorservice.org/sites/sources.redhat.com/pub/cygwin/ etc > > > -- > Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple > Problem reports: http://cygwin.com/problems.html > Documentation: http://x.cygwin.com/docs/ > FAQ: http://x.cygwin.com/docs/faq/ > > -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://x.cygwin.com/docs/ FAQ: http://x.cygwin.com/docs/faq/ From pnews@tiscali.co.uk Sun Oct 14 08:59:00 2007 From: pnews@tiscali.co.uk (pbs) Date: Sun, 14 Oct 2007 08:59:00 -0000 Subject: Has anyone run xdm successfully under cygwin? In-Reply-To: <47116724.2040006@pacific.net.sg> References: <47116724.2040006@pacific.net.sg> Message-ID: >> pbs wrote: >>> pbs wrote: >>>> pbs wrote: >>>>> I have come back to this problem and have messed around with xdm on a >>>>> Windows XP home edition using Cygwin 1.5.24(0.156/4/2). It still has >>>>> similar problems to those I experienced back in 2003. So in the >>>>> interim >>>>> has anyone successfully run the program? >>>> So that I can trace the problems further, I would like to download the >>>> source code for xdm and compile it. I looked at the instructions at >>>> http://x.cygwin.com/ and could not work out how I can go about >>>> downloading xdm sources and supporting libraries. Please could someone >>>> point me to a document on how to download the necessary source code, or >>>> tell me how to do it. >>> OK I know it is available in this package >>> http://cygwin.com/packages/xorg-x11-bin/xorg-x11-bin-6.8.99.901-1-src >>> but I don't now yet how to download and build it. Can someone please >>> give me some pointers. >> >> found a mirror site via >> http://sourceware.org/ -> http://sourceware.org/mirrors.html -> >> http://www.mirrorservice.org/sites/sources.redhat.com/pub/cygwin/ etc >> Erich Dollansky wrote: > Hi, > > I do not know about this package but all other packages' source can be > downloaded via setup.exe with checking the proper checkbox. > > The sources will then automatically fit to the binary you have on your > machine. Thanks I had not see the src column, It was scrunched up until you mentioned it and I expanded it :-) -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://x.cygwin.com/docs/ FAQ: http://x.cygwin.com/docs/faq/ From oceanare@pacific.net.sg Sun Oct 14 09:16:00 2007 From: oceanare@pacific.net.sg (Erich Dollansky) Date: Sun, 14 Oct 2007 09:16:00 -0000 Subject: Has anyone run xdm successfully under cygwin? In-Reply-To: References: <47116724.2040006@pacific.net.sg> Message-ID: <4711DE4F.4080609@pacific.net.sg> Hi, pbs wrote: > Erich Dollansky wrote: >> >> I do not know about this package but all other packages' source can be >> downloaded via setup.exe with checking the proper checkbox. >> >> The sources will then automatically fit to the binary you have on your >> machine. > > Thanks I had not see the src column, It was scrunched up until you > mentioned it and I expanded it :-) > the default size of this window is pretty small. I maximise it normally to see at least something. Erich -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://x.cygwin.com/docs/ FAQ: http://x.cygwin.com/docs/faq/ From pnews@tiscali.co.uk Sun Oct 14 09:59:00 2007 From: pnews@tiscali.co.uk (pbs) Date: Sun, 14 Oct 2007 09:59:00 -0000 Subject: Imakefile.c:9: Imake.tmpl: No such file or directory In-Reply-To: References: Message-ID: news@garydjones.mailshell.com wrote: > Ach. Forget it. I think I just found it. The google search I did against the > cygwin site did not show the package contents (its in the headers pkg). > Currently available in "xorg-x11-base: Cygwin/X base (source code)" and "xorg-x11-devel: Cygwin/X headers and import libraries (installed binaries and support files)" -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://x.cygwin.com/docs/ FAQ: http://x.cygwin.com/docs/faq/ From n.douma@nekoconeko.nl Tue Oct 16 09:43:00 2007 From: n.douma@nekoconeko.nl (Nick Douma) Date: Tue, 16 Oct 2007 09:43:00 -0000 Subject: XWin Multiwindow fails to start Message-ID: <20071016093833.GA29898@nekoconeko.nl> I'm using the latest version of Cygwin, and Xwin 6.8.99.901-4. Whenever I try to run X with `startx` or startx scripts, it fails. If I run it directly with `X :0` it works fine (so it appears), but when I run it with `X :0 -multiwindow` it fails with the following log: $ startx Welcome to the XWin X Server Vendor: The Cygwin/X Project Release: 6.8.99.901-4 Contact: cygwin-xfree@cygwin.com XWin was started with the following command line: X :0 -multiwindow (WW) /tmp mounted int textmode _XSERVTransmkdir: Owner of /tmp/.X11-unix should be set to root winValidateArgs - g_iNumScreens: 1 iMaxConsecutiveScreen: 1 (II) XF86Config is not supported (II) See http://x.cygwin.com/docs/faq/cygwin-x-faq.html for more information winDetectSupportedEngines - Windows NT/2000/XP winDetectSupportedEngines - DirectDraw installed winDetectSupportedEngines - DirectDraw4 installed winDetectSupportedEngines - Returning, supported engines 00000007 winSetEngine - Multi Window or Rootless => ShadowGDI winAdjustVideoModeShadowGDI - Using Windows display depth of 32 bits per pixel winAllocateFBShadowGDI - Creating DIB with width: 1280 height: 1024 depth: 32 winFinishScreenInitFB - Masks: 00ff0000 0000ff00 000000ff winInitVisualsShadowGDI - Masks 00ff0000 0000ff00 000000ff BPRGB 8 d 24 bpp 32 null screen fn ReparentWindow null screen fn RestackWindow InitQueue - Calling pthread_mutex_init InitQueue - pthread_mutex_init returned InitQueue - Calling pthread_cond_init InitQueue - pthread_cond_init returned winInitMultiWindowWM - Hello winMultiWindowXMsgProc - Hello winInitMultiWindowWM - Calling pthread_mutex_lock () winMultiWindowXMsgProc - Calling pthread_mutex_lock () MIT-SHM extension disabled due to lack of kernel support XFree86-Bigfont extension local-client optimization disabled due to lack of shared memory support in the kernel (--) Setting autorepeat to delay=500, rate=31 (--) winConfigKeyboard - Layout: "00020409" (00020409) (--) Using preset keyboard for "English (USA, International)" (20409), type "4" Rules = "xorg" Model = "pc105" Layout = "us_intl" Variant = "(null)" Options = "(null)" The XKEYBOARD keymap compiler (xkbcomp) reports: > Error: Can't find file "pc/us_intl" for symbols include > Exiting > Abandoning symbols file "default" Errors from xkbcomp are not fatal to the X server (--) 3 mouse buttons found Could not init font path element /usr/X11R6/lib/X11/fonts/CID/, removing from list! winPointerWarpCursor - Discarding first warp: 640 512 winInitMultiWindowWM - pthread_mutex_lock () returned. winProcEstablishConnection - Hello winProcEstablishConnection - Clipboard is not enabled, returning. winInitMultiWindowWM - pthread_mutex_unlock () returned. winMultiWindowXMsgProc - pthread_mutex_lock () returned. winInitMultiWindowWM - DISPLAY=127.0.0.1:0.0 winMultiWindowXMsgProc - pthread_mutex_unlock () returned. winMultiWindowXMsgProc - DISPLAY=127.0.0.1:0.0 cat: /cygdrive/x/.Xauthority: No such file or directory winMultiWindowXMsgProcIOErrorHandler! 11 [unknown (0xB88)] X 1864 _cygtls::handle_exceptions: Error while dumping state (probably corrupted stack) xinit: connection to X server lost. Also, when I run it with the `X :0` command, the DISPLAY var is not set, and xterm does not start up automatically. -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://x.cygwin.com/docs/ FAQ: http://x.cygwin.com/docs/faq/ From Andrew.Pickin@aepona.com Tue Oct 16 10:24:00 2007 From: Andrew.Pickin@aepona.com (Andrew Pickin) Date: Tue, 16 Oct 2007 10:24:00 -0000 Subject: Perforance problems under GNOME Message-ID: <4714914E.6080605@aepona.com> I'm running Xwin in query Xdmcp mode in particular the line is as follows %RUN% XWin -query %REMOTE_HOST% -nodecoration -clipboard -rootless -unixkill -notrayicon Where remote host is either Solaris or Linux machine. If the Session/Windown manager employed is Gnome then I suffer significant performance problems. If I use CDE (Solaris) or KDE (Linux) I don't get the problem, even it I use gnome applications from the other window managers. This loss of performance is not immediate. But the closest I've got to identifying when the performance takes a nose-drive is as soon as I start typing. I can start application from the menu, etc. but a soon as I type 1 character response from every aspect of the window manage is very poor. I've recently upgraded changed machine (to a more powerful one) and consequently have upgraded to the current release of Cygwin rather than a version that was two years old, and this wasn't a problem on the old machine. Some that should means the fall is with current release/installation/machine, and not at the remote end. Also, if the GNOME session is set to display a logout confirmation this window is not clickable, or rather when I log out the confirmation window is presented, the rest of the desktop is greyed out but clicking on OK or Cancel has no effect. The X Server must either be killed or wait for the session to time out after ~2mins. This also appears to dependant on whether I've typed anything during the session so might be related to these performance problems. Any idea on how to solve or even diagnose this problem would be appreciated. Thanks, AMP. -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://x.cygwin.com/docs/ FAQ: http://x.cygwin.com/docs/faq/ From pmcferrin@columbus.rr.com Sun Oct 21 06:13:00 2007 From: pmcferrin@columbus.rr.com (Paul McFerrin) Date: Sun, 21 Oct 2007 06:13:00 -0000 Subject: Missing X(7) man page & XDefaults file In-Reply-To: <47198CC5.1030309@columbus.rr.com> References: <47198CC5.1030309@columbus.rr.com> Message-ID: <471AEDE2.7020200@columbus.rr.com> Under cygwin, I installed *ALL* of the xorg-x11-* packages but I am still missing the X(7) man page. Where can I find one? 2nd question, what is the name of the X-defaults resources file that goes into your $HOME directory? Paul McFerrin -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://x.cygwin.com/docs/ FAQ: http://x.cygwin.com/docs/faq/ From garyjohn@spk.agilent.com Sun Oct 21 06:52:00 2007 From: garyjohn@spk.agilent.com (Gary Johnson) Date: Sun, 21 Oct 2007 06:52:00 -0000 Subject: Missing X(7) man page & XDefaults file In-Reply-To: <471AEDE2.7020200@columbus.rr.com> References: <47198CC5.1030309@columbus.rr.com> <471AEDE2.7020200@columbus.rr.com> Message-ID: <20071021065238.GA18348@suncomp1.spk.agilent.com> On 2007-10-21, Paul McFerrin wrote: > Under cygwin, I installed *ALL* of the xorg-x11-* packages but I am still > missing the X(7) man page. Where can I find one? I don't know why Cygwin appears to not have one. You can find one using Google, e.g., "X 7 man page" (without the quotes). > 2nd question, what is the name of the X-defaults resources file that goes > into your $HOME directory? .Xdefaults Gary -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://x.cygwin.com/docs/ FAQ: http://x.cygwin.com/docs/faq/ From halluc1nati0n@yahoo.com Mon Oct 22 14:07:00 2007 From: halluc1nati0n@yahoo.com (Hall Nation) Date: Mon, 22 Oct 2007 14:07:00 -0000 Subject: Xargs.... Message-ID: <269086.58077.qm@web57511.mail.re1.yahoo.com> I am new to cygwin/X. Using the above setup at the workplace.. I need to know about the xargs command. What does it do ? __________________________________________________ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://x.cygwin.com/docs/ FAQ: http://x.cygwin.com/docs/faq/ From xerces8@butn.net Mon Oct 22 14:38:00 2007 From: xerces8@butn.net (xerces8) Date: Mon, 22 Oct 2007 14:38:00 -0000 Subject: Xargs.... In-Reply-To: <269086.58077.qm@web57511.mail.re1.yahoo.com> References: <269086.58077.qm@web57511.mail.re1.yahoo.com> Message-ID: From: Hall Nation > I need to know about the xargs command. What does it do ? You also need to know about the "man" command. And google ;-) Regards, David PS: Hint : type : man man then : man xargs -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://x.cygwin.com/docs/ FAQ: http://x.cygwin.com/docs/faq/ From holger.krull@gmx.de Mon Oct 22 14:40:00 2007 From: holger.krull@gmx.de (Holger Krull) Date: Mon, 22 Oct 2007 14:40:00 -0000 Subject: Xargs.... In-Reply-To: References: <269086.58077.qm@web57511.mail.re1.yahoo.com> Message-ID: <471CB65F.9020904@gmx.de> xerces8 schrieb: > From: Hall Nation >> I need to know about the xargs command. What does it do ? > > You also need to know about the "man" command. > And google ;-) > Is this a replay of older messages? Didn't we have that before? That man is a troll or a bot. -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://x.cygwin.com/docs/ FAQ: http://x.cygwin.com/docs/faq/ From n.douma@nekoconeko.nl Mon Oct 22 15:00:00 2007 From: n.douma@nekoconeko.nl (Nick Douma) Date: Mon, 22 Oct 2007 15:00:00 -0000 Subject: XWin Multiwindow fails to start In-Reply-To: <20071016093833.GA29898@nekoconeko.nl> References: <20071016093833.GA29898@nekoconeko.nl> Message-ID: <20071022145531.GA19906@nekoconeko.nl> No one who has any suggestions... ? On Tue, Oct 16, 2007 at 11:38:33AM +0200, Nick Douma wrote: > I'm using the latest version of Cygwin, and Xwin 6.8.99.901-4. Whenever I try to run X with `startx` or startx > scripts, it fails. If I run it directly with `X :0` it works fine (so it appears), but when I run it with `X :0 > -multiwindow` it fails with the following log: > > $ startx > > Welcome to the XWin X Server > Vendor: The Cygwin/X Project > Release: 6.8.99.901-4 > > Contact: cygwin-xfree@cygwin.com > > XWin was started with the following command line: > > X :0 -multiwindow > > (WW) /tmp mounted int textmode > _XSERVTransmkdir: Owner of /tmp/.X11-unix should be set to root > winValidateArgs - g_iNumScreens: 1 iMaxConsecutiveScreen: 1 > (II) XF86Config is not supported > (II) See http://x.cygwin.com/docs/faq/cygwin-x-faq.html for more information > winDetectSupportedEngines - Windows NT/2000/XP > winDetectSupportedEngines - DirectDraw installed > winDetectSupportedEngines - DirectDraw4 installed > winDetectSupportedEngines - Returning, supported engines 00000007 > winSetEngine - Multi Window or Rootless => ShadowGDI > winAdjustVideoModeShadowGDI - Using Windows display depth of 32 bits per pixel > winAllocateFBShadowGDI - Creating DIB with width: 1280 height: 1024 depth: 32 > winFinishScreenInitFB - Masks: 00ff0000 0000ff00 000000ff > winInitVisualsShadowGDI - Masks 00ff0000 0000ff00 000000ff BPRGB 8 d 24 bpp 32 > null screen fn ReparentWindow > null screen fn RestackWindow > InitQueue - Calling pthread_mutex_init > InitQueue - pthread_mutex_init returned > InitQueue - Calling pthread_cond_init > InitQueue - pthread_cond_init returned > winInitMultiWindowWM - Hello > winMultiWindowXMsgProc - Hello > winInitMultiWindowWM - Calling pthread_mutex_lock () > winMultiWindowXMsgProc - Calling pthread_mutex_lock () > MIT-SHM extension disabled due to lack of kernel support > XFree86-Bigfont extension local-client optimization disabled due to lack of shared memory support in the kernel > (--) Setting autorepeat to delay=500, rate=31 > (--) winConfigKeyboard - Layout: "00020409" (00020409) > (--) Using preset keyboard for "English (USA, International)" (20409), type "4" > Rules = "xorg" Model = "pc105" Layout = "us_intl" Variant = "(null)" Options = "(null)" > The XKEYBOARD keymap compiler (xkbcomp) reports: > > Error: Can't find file "pc/us_intl" for symbols include > > Exiting > > Abandoning symbols file "default" > Errors from xkbcomp are not fatal to the X server > (--) 3 mouse buttons found > Could not init font path element /usr/X11R6/lib/X11/fonts/CID/, removing from list! > winPointerWarpCursor - Discarding first warp: 640 512 > winInitMultiWindowWM - pthread_mutex_lock () returned. > winProcEstablishConnection - Hello > winProcEstablishConnection - Clipboard is not enabled, returning. > winInitMultiWindowWM - pthread_mutex_unlock () returned. > winMultiWindowXMsgProc - pthread_mutex_lock () returned. > winInitMultiWindowWM - DISPLAY=127.0.0.1:0.0 > winMultiWindowXMsgProc - pthread_mutex_unlock () returned. > winMultiWindowXMsgProc - DISPLAY=127.0.0.1:0.0 > cat: /cygdrive/x/.Xauthority: No such file or directory > > winMultiWindowXMsgProcIOErrorHandler! > > 11 [unknown (0xB88)] X 1864 _cygtls::handle_exceptions: Error while dumping state (probably corrupted > stack) > xinit: connection to X server lost. > > > Also, when I run it with the `X :0` command, the DISPLAY var is not set, and xterm does not start up > automatically. > > -- > Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple > Problem reports: http://cygwin.com/problems.html > Documentation: http://x.cygwin.com/docs/ > FAQ: http://x.cygwin.com/docs/faq/ > -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://x.cygwin.com/docs/ FAQ: http://x.cygwin.com/docs/faq/ From holger.krull@gmx.de Mon Oct 22 15:11:00 2007 From: holger.krull@gmx.de (Holger Krull) Date: Mon, 22 Oct 2007 15:11:00 -0000 Subject: XWin Multiwindow fails to start In-Reply-To: <20071022145531.GA19906@nekoconeko.nl> References: <20071016093833.GA29898@nekoconeko.nl> <20071022145531.GA19906@nekoconeko.nl> Message-ID: <471CBD90.6020409@gmx.de> Nick Douma schrieb: > No one who has any suggestions... ? Not for your main problem. Just the general idea that sometimes deleting and reinstalling helps to solve strange problems. > On Tue, Oct 16, 2007 at 11:38:33AM +0200, Nick Douma wrote: >> I'm using the latest version of Cygwin, and Xwin 6.8.99.901-4. Whenever I try to run X with `startx` or startx >> scripts, it fails. If I run it directly with `X :0` it works fine (so it appears), but when I run it with `X :0 >> -multiwindow` it fails with the following log: >> >> Also, when I run it with the `X :0` command, the DISPLAY var is not set, and xterm does not start up >> automatically. That is no surprise, the DISPLAY variable doesn't set itself, you need a script to do that. The same with the starting of xterm, if you just start the X11 server, it will not start an xterm. -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://x.cygwin.com/docs/ FAQ: http://x.cygwin.com/docs/faq/ From halluc1nati0n@yahoo.com Mon Oct 22 16:25:00 2007 From: halluc1nati0n@yahoo.com (Hall Nation) Date: Mon, 22 Oct 2007 16:25:00 -0000 Subject: Xargs.... Message-ID: <726430.13928.qm@web57502.mail.re1.yahoo.com> Who's a troll ? I'm new here .. I was facing issues while joining and tried sending this message long back but couldn't as I was facing issues. Probably that msg had gone to u ppl before.. And guys I do know of google/man .. I just couldn't get what was described abt xargs in man ,,, I mean I need it in simple terms.. (layman terms) I also would like to know what this does ... /bin/find . -type f |xargs grep ----- Original Message ---- From: Holger Krull To: cygwin-xfree@cygwin.com Sent: Monday, October 22, 2007 8:10:31 PM Subject: Re: Xargs.... xerces8 schrieb: > From: Hall Nation >> I need to know about the xargs command. What does it do ? > > You also need to know about the "man" command. > And google ;-) > Is this a replay of older messages? Didn't we have that before? That man is a troll or a bot. -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://x.cygwin.com/docs/ FAQ: http://x.cygwin.com/docs/faq/ __________________________________________________ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://x.cygwin.com/docs/ FAQ: http://x.cygwin.com/docs/faq/ From n.douma@nekoconeko.nl Mon Oct 22 16:33:00 2007 From: n.douma@nekoconeko.nl (Nick Douma) Date: Mon, 22 Oct 2007 16:33:00 -0000 Subject: XWin Multiwindow fails to start In-Reply-To: <471CBD90.6020409@gmx.de> References: <20071016093833.GA29898@nekoconeko.nl> <20071022145531.GA19906@nekoconeko.nl> <471CBD90.6020409@gmx.de> Message-ID: <20071022162833.GB19906@nekoconeko.nl> On Mon, Oct 22, 2007 at 05:11:12PM +0200, Holger Krull wrote: > Nick Douma schrieb: > > No one who has any suggestions... ? > > Not for your main problem. Just the general idea that sometimes deleting and reinstalling helps to solve strange problems. I'll try that tomorrow > > > On Tue, Oct 16, 2007 at 11:38:33AM +0200, Nick Douma wrote: > >> I'm using the latest version of Cygwin, and Xwin 6.8.99.901-4. Whenever I try to run X with `startx` or startx > >> scripts, it fails. If I run it directly with `X :0` it works fine (so it appears), but when I run it with `X :0 > >> -multiwindow` it fails with the following log: > >> > >> Also, when I run it with the `X :0` command, the DISPLAY var is not set, and xterm does not start up > >> automatically. > > That is no surprise, the DISPLAY variable doesn't set itself, you need a script to do that. The same with the starting of xterm, if you just start the X11 server, it will not start an xterm. Sounds logical, I guess that is one of the uses for the startx scripts > > > -- > Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple > Problem reports: http://cygwin.com/problems.html > Documentation: http://x.cygwin.com/docs/ > FAQ: http://x.cygwin.com/docs/faq/ > -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://x.cygwin.com/docs/ FAQ: http://x.cygwin.com/docs/faq/ From markjreed@mail.com Mon Oct 22 16:36:00 2007 From: markjreed@mail.com (Mark J. Reed) Date: Mon, 22 Oct 2007 16:36:00 -0000 Subject: Xargs.... In-Reply-To: <726430.13928.qm@web57502.mail.re1.yahoo.com> References: <726430.13928.qm@web57502.mail.re1.yahoo.com> Message-ID: On 10/22/07, Hall Nation wrote: > I just couldn't get what was described abt xargs in man ,,, I mean I need it in simple terms.. (layman terms) xargs has nothing to do with X11, first of all. The "x" in this case means "trans", as in "transpose", which is the operation that takes a vertical column and turns it into a horizontal row. Say you have a file named x.txt with these lines in it: x1 x2 x3 Now say you run this: xargs echo -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://x.cygwin.com/docs/ FAQ: http://x.cygwin.com/docs/faq/ From halluc1nati0n@yahoo.com Mon Oct 22 17:44:00 2007 From: halluc1nati0n@yahoo.com (Hall Nation) Date: Mon, 22 Oct 2007 17:44:00 -0000 Subject: Xargs.... Message-ID: <335429.96750.qm@web57508.mail.re1.yahoo.com> Thanks for the clarification mate ... Now I know ... ----- Original Message ---- From: Mark J. Reed To: cygwin-xfree@cygwin.com Sent: Monday, October 22, 2007 10:06:45 PM Subject: Re: Xargs.... On 10/22/07, Hall Nation wrote: > I just couldn't get what was described abt xargs in man ,,, I mean I need it in simple terms.. (layman terms) xargs has nothing to do with X11, first of all. The "x" in this case means "trans", as in "transpose", which is the operation that takes a vertical column and turns it into a horizontal row. Say you have a file named x.txt with these lines in it: x1 x2 x3 Now say you run this: xargs echo -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://x.cygwin.com/docs/ FAQ: http://x.cygwin.com/docs/faq/ __________________________________________________ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://x.cygwin.com/docs/ FAQ: http://x.cygwin.com/docs/faq/ From cgf-use-the-mailinglist-please@cygwin.com Mon Oct 22 20:08:00 2007 From: cgf-use-the-mailinglist-please@cygwin.com (Christopher Faylor) Date: Mon, 22 Oct 2007 20:08:00 -0000 Subject: Xargs.... In-Reply-To: <335429.96750.qm@web57508.mail.re1.yahoo.com> References: <335429.96750.qm@web57508.mail.re1.yahoo.com> Message-ID: <20071022200810.GC2496@ednor.casa.cgf.cx> On Mon, Oct 22, 2007 at 10:43:54AM -0700, Hall Nation wrote: >Thanks for the clarification mate ... >Now I know ... And you would have known this before because it had already been described to you before. I hope that future communications will not require this type of repetition. And, please note that discussion of xargs is off-topic for this list. If you actually now do know understand xargs, then I don't have to tell you why. cgf -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://x.cygwin.com/docs/ FAQ: http://x.cygwin.com/docs/faq/ From pmcferrin@columbus.rr.com Mon Oct 22 20:34:00 2007 From: pmcferrin@columbus.rr.com (Paul McFerrin) Date: Mon, 22 Oct 2007 20:34:00 -0000 Subject: Where is X(7) man page, ques about but#2 Message-ID: <471D0945.600@columbus.rr.com> Excuse if this is a duplicate message. I missed seeing it. Under cygwin, I installed *ALL* of the xorg-x11-* packages but I am still missing the X(7) man page. Where can I find one? With xterm, the middle mouse button is essentailly a soft-scroll in that the scroll bars moves with the mouse pointer. I would like to make it mouse button 3 instead but only in xterm. How can I do that in the .Xdefaults file. _ Paul McFerin -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://x.cygwin.com/docs/ FAQ: http://x.cygwin.com/docs/faq/ From oscaruser@programmer.net Mon Oct 22 20:36:00 2007 From: oscaruser@programmer.net (Oscar Usifer) Date: Mon, 22 Oct 2007 20:36:00 -0000 Subject: xterms dropping keypresses events Message-ID: <20071022203621.BE5CF478088@ws1-5.us4.outblaze.com> Folks, While running startx xterms, I'm finding that keypress events are being dropped while typing regular shell commands at the prompt (e.g. 'ls -aFl', 'find . -name \*.java -exec ls -aFl {} \;', 'vim myfile.c'). A character would be dropped, causing me to have to resend the same keypress. I'm looking for a way to diagnose what's going on. Any ideas? Thanks, OSC OSC@OSCWIN ~ $ cygcheck.exe -c Cygwin Package Information Package Version Status _update-info-dir 00550-1 OK alternatives 1.3.29a-1 OK ash 20040127-3 OK base-files 3.7-1 OK base-passwd 2.2-1 OK bash 3.2.25-16 OK bzip2 1.0.3-2 OK coreutils 6.9-5 OK crypt 1.1-1 OK cygrunsrv 1.17-1 OK cygutils 1.3.2-1 OK cygwin 1.5.24-2 OK cygwin-doc 1.4-4 OK editrights 1.01-1 OK expat 1.95.8-2 OK findutils 4.3.8-1 OK fontconfig 2.4.1-5 OK freetype2 2.3.4-2 OK gawk 3.1.5-4 OK gettext 0.15-1 OK grep 2.5.1a-4 OK groff 1.18.1-2 OK gzip 1.3.12-2 OK less 382-1 OK libbz2_1 1.0.3-2 OK libexpat0 1.95.8-2 OK libfontconfig1 2.4.1-5 OK libfreetype26 2.3.4-2 OK libiconv2 1.11-1 OK libintl1 0.10.40-1 OK libintl2 0.12.1-3 OK libintl3 0.14.5-1 OK libintl8 0.15-1 OK libncurses7 5.3-4 OK libncurses8 5.5-3 OK libpcre0 7.2-1 OK libpopt0 1.6.4-4 OK libreadline6 5.2.7-9 OK libXft 2.1.6-1 OK libXft1 1.0.0-1 OK libXft2 2.1.6-1 OK login 1.9-7 OK man 1.6e-1 OK minires 1.01-1 OK mktemp 1.5-4 OK openssh 4.7p1-2 OK openssl 0.9.8e-3 OK pcre 7.2-1 OK rebase 2.4.3-1 OK run 1.1.10-1 OK sed 4.1.5-2 OK tar 1.18-2 OK termcap 20050421-1 OK terminfo 5.5_20061104-1 OK texinfo 4.8a-1 OK vim 7.1-1 OK which 1.7-1 OK X-startup-scripts 1.0.11-1 OK XFree86-lib-compat 4.3.0-2 OK xorg-x11-base 6.8.99.901-1 OK xorg-x11-bin 6.8.99.901-1 Incomplete xorg-x11-bin-dlls 6.8.99.901-1 OK xorg-x11-bin-lndir 6.8.99.901-1 OK xorg-x11-etc 6.8.99.901-1 OK xorg-x11-fenc 6.8.99.901-1 OK xorg-x11-fnts 6.8.99.901-1 OK xorg-x11-libs-data 6.8.99.901-1 OK xorg-x11-xwin 6.8.99.901-1 OK xorg-x11-xwin-gl 6.8.99.901-1 OK xterm 229-1 OK zlib 1.2.3-2 OK -- Want an e-mail address like mine? Get a free e-mail account today at www.mail.com! -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://x.cygwin.com/docs/ FAQ: http://x.cygwin.com/docs/faq/ From holger.krull@gmx.de Mon Oct 22 20:41:00 2007 From: holger.krull@gmx.de (Holger Krull) Date: Mon, 22 Oct 2007 20:41:00 -0000 Subject: Where is X(7) man page, ques about but#2 In-Reply-To: <471D0945.600@columbus.rr.com> References: <471D0945.600@columbus.rr.com> Message-ID: <471D0AE2.7060401@gmx.de> Paul McFerrin schrieb: > Under cygwin, I installed *ALL* of the xorg-x11-* packages but I am > still missing the X(7) man page. Where can I find one? it is man XWin -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://x.cygwin.com/docs/ FAQ: http://x.cygwin.com/docs/faq/ From pmcferrin@columbus.rr.com Mon Oct 22 20:56:00 2007 From: pmcferrin@columbus.rr.com (Paul McFerrin) Date: Mon, 22 Oct 2007 20:56:00 -0000 Subject: Where is X(7) man page, ques about but#2 In-Reply-To: <471D0945.600@columbus.rr.com> References: <471D0945.600@columbus.rr.com> Message-ID: <471D0E6D.4000208@columbus.rr.com> Under cygwin, I installed *ALL* of the xorg-x11-* packages but I am still missing the X(7) man page. Where can I find one? With xterm, the middle mouse button is essentailly a soft-scroll in that the scroll bars moves with the mouse pointer. I would like to make it mouse button 3 instead but only in xterm. How can I do that in the .Xdefaults file. _ Paul McFerin -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://x.cygwin.com/docs/ FAQ: http://x.cygwin.com/docs/faq/ From pmcferrin@columbus.rr.com Mon Oct 22 21:00:00 2007 From: pmcferrin@columbus.rr.com (Paul McFerrin) Date: Mon, 22 Oct 2007 21:00:00 -0000 Subject: Where is X(7) man page, ques about but#2 In-Reply-To: <471D0E6D.4000208@columbus.rr.com> References: <471D0945.600@columbus.rr.com> <471D0E6D.4000208@columbus.rr.com> Message-ID: <471D0F66.50604@columbus.rr.com> Under cygwin, I installed *ALL* of the xorg-x11-* packages but I am still missing the X(7) man page. Where can I find one? With xterm, the middle mouse button is essentailly a soft-scroll in that the scroll bars moves with the mouse pointer. I would like to make it mouse button 3 instead but only in xterm. How can I do that in the .Xdefaults file. _ Paul McFerin -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://x.cygwin.com/docs/ FAQ: http://x.cygwin.com/docs/faq/ From dickey@his.com Mon Oct 22 21:29:00 2007 From: dickey@his.com (Thomas Dickey) Date: Mon, 22 Oct 2007 21:29:00 -0000 Subject: Where is X(7) man page, ques about but#2 In-Reply-To: <471D0E6D.4000208@columbus.rr.com> References: <471D0945.600@columbus.rr.com> <471D0E6D.4000208@columbus.rr.com> Message-ID: <20071022172755.O4655@mail101.his.com> On Mon, 22 Oct 2007, Paul McFerrin wrote: > Under cygwin, I installed *ALL* of the xorg-x11-* packages but I am still > missing the X(7) man page. Where can I find one? > > With xterm, the middle mouse button is essentailly a soft-scroll in that the > scroll bars moves with the mouse pointer. I would like to make it mouse > button 3 instead but only in xterm. How can I do that in the ..Xdefaults > file. There is a related example in the manpage (for xterm), e.g., http://invisible-island.net/xterm/manpage/xterm.html Some people prefer using the left pointer button for dragging the scrollbar thumb. That can be setup by altering the translations resource, e.g., *VT100.scrollbar.translations:#override \n\ :StartScroll(Forward) \n\ :StartScroll(Continuous) MoveThumb() NotifyThumb() \n\ :StartScroll(Backward) \n\ :MoveThumb() NotifyThumb() \n\ : NotifyScroll(Proportional) EndScroll() -- Thomas E. Dickey http://invisible-island.net ftp://invisible-island.net -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://x.cygwin.com/docs/ FAQ: http://x.cygwin.com/docs/faq/ From cgf-use-the-mailinglist-please@cygwin.com Tue Oct 23 00:27:00 2007 From: cgf-use-the-mailinglist-please@cygwin.com (Christopher Faylor) Date: Tue, 23 Oct 2007 00:27:00 -0000 Subject: Where is X(7) man page, ques about but#2 In-Reply-To: <471D0945.600@columbus.rr.com> References: <471D0945.600@columbus.rr.com> Message-ID: <20071023002701.GA5464@ednor.casa.cgf.cx> On Mon, Oct 22, 2007 at 04:34:13PM -0400, Paul McFerrin wrote: > Excuse if this is a duplicate message. I missed seeing it. There is no reason to spam the list with duplicate queries. Use the mailing list archives where you'll find something like this: http://cygwin.com/ml/cygwin-xfree/2007-10/threads.html#00046 cgf -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://x.cygwin.com/docs/ FAQ: http://x.cygwin.com/docs/faq/ From pmcferrin@columbus.rr.com Tue Oct 23 02:00:00 2007 From: pmcferrin@columbus.rr.com (Paul McFerrin) Date: Tue, 23 Oct 2007 02:00:00 -0000 Subject: Where is X(7) man page, ques about but#2 In-Reply-To: <20071023002701.GA5464@ednor.casa.cgf.cx> References: <471D0945.600@columbus.rr.com> <20071023002701.GA5464@ednor.casa.cgf.cx> Message-ID: <471D55B5.3050604@columbus.rr.com> I'm not SPAMing. I was having problems in getting on this mailing list thus the duplicates (I wan't seeing them). I know there are a number of Internet resources for X man page. I'm looking for *real* man pages for X that I can install in one of my "man" directories on my system. HTML files do not work well! On the internet, you will find several variations from a standard. From a person learning X, you don't want to know about those variations in the beginning. An experience person can easily weed out what does not work. Man pages provide more helpful information than "-help" or "--help". It's been 10 years since I've used X. I've really lost a lot so I'm a beginner again. Not only is the "X" man page missing, the "xmodmap", "XWin", and "xinit" man pages are missing too. Christopher Faylor wrote: > On Mon, Oct 22, 2007 at 04:34:13PM -0400, Paul McFerrin wrote: > >> Excuse if this is a duplicate message. I missed seeing it. >> > > There is no reason to spam the list with duplicate queries. > > Use the mailing list archives where you'll find something like this: > > http://cygwin.com/ml/cygwin-xfree/2007-10/threads.html#00046 > > cgf > > -- > Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple > Problem reports: http://cygwin.com/problems.html > Documentation: http://x.cygwin.com/docs/ > FAQ: http://x.cygwin.com/docs/faq/ > > -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://x.cygwin.com/docs/ FAQ: http://x.cygwin.com/docs/faq/ From pmcferrin@columbus.rr.com Tue Oct 23 04:04:00 2007 From: pmcferrin@columbus.rr.com (Paul McFerrin) Date: Tue, 23 Oct 2007 04:04:00 -0000 Subject: xterm not accepting Window Title name changes Message-ID: <471D72B7.7070604@columbus.rr.com> Hi: I can't seem to get xterm to recognize Window Title name changes via the following: echo "\0332;new_title\07\c" I have added the following new lines to my .Xdefaults file with no effect. XTerm.AllowTitleOps: true XTerm.AllowTitleOps: true XTerm.allowTitleOps: true XTerm.allowWindowOps: true XTerm.AllowWindowOps: true XTerm.vt100.AllowTitleOps: true XTerm.vt100.AllowTitleOps: true XTerm.vt100.allowTitleOps: true XTerm.vt100.allowWindowOps: true XTerm.vt100.AllowWindowOps: true VT100.AllowTitleOps: true VT100.allowTitleOps: true VT100.allowWindowOps: true VT100.AllowWindowOps: true XTerm.vt100.utf8Title: true VT100.AllowTitleOps: true and I have modified my "startxwin.sh script to start xterm the following way: xterm -aw -b 5 +cm -rw -sb -sk -sl 1500 -rv -e /usr/bin/ksh -l & I thought it was working yesterday, but at this point I can't remember very much! Yesterday, I only had the: XTerm.AllowTitleOps: true line in .Xdefaults and I thought it was working.... What am I doing wrong?? -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://x.cygwin.com/docs/ FAQ: http://x.cygwin.com/docs/faq/ From pmcferrin@columbus.rr.com Tue Oct 23 04:19:00 2007 From: pmcferrin@columbus.rr.com (Paul McFerrin) Date: Tue, 23 Oct 2007 04:19:00 -0000 Subject: Where is X(7) man page, ques about but#2 In-Reply-To: <20071022172755.O4655@mail101.his.com> References: <471D0945.600@columbus.rr.com> <471D0E6D.4000208@columbus.rr.com> <20071022172755.O4655@mail101.his.com> Message-ID: <471D7655.4070307@columbus.rr.com> I like your scrollbar.translations! Works better than interchanging the functions of buttone #2 and #3. Thanks. Thomas Dickey wrote: > On Mon, 22 Oct 2007, Paul McFerrin wrote: > >> Under cygwin, I installed *ALL* of the xorg-x11-* packages but I am >> still missing the X(7) man page. Where can I find one? >> >> With xterm, the middle mouse button is essentailly a soft-scroll in >> that the scroll bars moves with the mouse pointer. I would like to >> make it mouse button 3 instead but only in xterm. How can I do that >> in the ..Xdefaults file. > > There is a related example in the manpage (for xterm), e.g., > > http://invisible-island.net/xterm/manpage/xterm.html > > Some people prefer using the left pointer button for dragging the > scrollbar thumb. That can be setup by altering the translations > resource, e.g., > *VT100.scrollbar.translations:#override \n\ > :StartScroll(Forward) \n\ > :StartScroll(Continuous) MoveThumb() NotifyThumb() \n\ > :StartScroll(Backward) \n\ > :MoveThumb() NotifyThumb() \n\ > : NotifyScroll(Proportional) EndScroll() > > -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://x.cygwin.com/docs/ FAQ: http://x.cygwin.com/docs/faq/ From cgf-use-the-mailinglist-please@cygwin.com Tue Oct 23 04:43:00 2007 From: cgf-use-the-mailinglist-please@cygwin.com (Christopher Faylor) Date: Tue, 23 Oct 2007 04:43:00 -0000 Subject: Where is X(7) man page, ques about but#2 In-Reply-To: <471D55B5.3050604@columbus.rr.com> References: <471D0945.600@columbus.rr.com> <20071023002701.GA5464@ednor.casa.cgf.cx> <471D55B5.3050604@columbus.rr.com> Message-ID: <20071023044255.GD5464@ednor.casa.cgf.cx> On Mon, Oct 22, 2007 at 10:00:21PM -0400, Paul McFerrin wrote: > I'm not SPAMing. I was having problems in getting on this mailing list > thus the duplicates (I wan't seeing them). You didn't seem to read what I wrote or follow the link that I provided. I pointed you at the answer to your question from when you asked it the first time. You ARE spamming the list when you ask exactly the same question twice in the span of a couple of days and there is no reason to do that since you can find the answer to your question in the archives regardless of any difficulties you had subscribing. cgf -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://x.cygwin.com/docs/ FAQ: http://x.cygwin.com/docs/faq/ From brian@dessent.net Tue Oct 23 04:49:00 2007 From: brian@dessent.net (Brian Dessent) Date: Tue, 23 Oct 2007 04:49:00 -0000 Subject: xterm not accepting Window Title name changes References: <471D72B7.7070604@columbus.rr.com> Message-ID: <471D7D64.1CD8702@dessent.net> Paul McFerrin wrote: > I can't seem to get xterm to recognize Window Title name changes via the > following: > > echo "\0332;new_title\07\c" You were just recently posting in the thread where this came up before: and . Specifically, the default Cygwin prompt (PS1) contains characters that set the title so anything you do that doesn't involve changing PS1 will have no effect -- or more precisely, your echo command above does set the title for a few milliseconds, until the next prompt overwrites it. (In your rxvt example, you aren't starting a login shell and thus /etc/profile isn't sourced and PS1 isn't set, which is presumably why it works there.) Brian -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://x.cygwin.com/docs/ FAQ: http://x.cygwin.com/docs/faq/ From pmcferrin@columbus.rr.com Tue Oct 23 05:27:00 2007 From: pmcferrin@columbus.rr.com (Paul McFerrin) Date: Tue, 23 Oct 2007 05:27:00 -0000 Subject: xterm not accepting Window Title name changes In-Reply-To: <471D7D64.1CD8702@dessent.net> References: <471D72B7.7070604@columbus.rr.com> <471D7D64.1CD8702@dessent.net> Message-ID: <471D8618.9090206@columbus.rr.com> Hum... The PS1 setting. Nope, that's not the problem. The root of the settitle() function is NOT the setting of PS1. It's setting in /etc/profile is commented out. In my local .profile, PS1 is set to just '$PWD'. I have verified that there are no other hidden settings of PS1. I tried your settitle() function, and the title remains unchanged: basename of the shell. My posting in the archives envolves the use of 'rxvt' only and has nothing to do with xterm. I always startup 'startxwin.sh' from a non-rxvt window (e.g. the console window). Regardless what shell I'm using, it always seems to get it's basename into the window. Hum.... Does anyone else want to try a stab at this problem? Brian Dessent wrote: > Paul McFerrin wrote: > > >> I can't seem to get xterm to recognize Window Title name changes via the >> following: >> >> echo "\0332;new_title\07\c" >> > > You were just recently posting in the thread where this came up before: > and > . Specifically, the > default Cygwin prompt (PS1) contains characters that set the title so > anything you do that doesn't involve changing PS1 will have no effect -- > or more precisely, your echo command above does set the title for a few > milliseconds, until the next prompt overwrites it. (In your rxvt > example, you aren't starting a login shell and thus /etc/profile isn't > sourced and PS1 isn't set, which is presumably why it works there.) > > Brian > > -- > Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple > Problem reports: http://cygwin.com/problems.html > Documentation: http://x.cygwin.com/docs/ > FAQ: http://x.cygwin.com/docs/faq/ > > -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://x.cygwin.com/docs/ FAQ: http://x.cygwin.com/docs/faq/ From jabel@flex.com Tue Oct 23 07:31:00 2007 From: jabel@flex.com (Jay Abel) Date: Tue, 23 Oct 2007 07:31:00 -0000 Subject: xterm not accepting Window Title name changes In-Reply-To: <471D8618.9090206@columbus.rr.com> References: <471D72B7.7070604@columbus.rr.com> <471D7D64.1CD8702@dessent.net> <471D8618.9090206@columbus.rr.com> Message-ID: <1db2069a0710230031qd7e539bt9b87506a7a76bb31@mail.gmail.com> Found this somewhere along the way, I forgot where. Works on my machine. I did notice that the cd command on my machine does meddle with the prompt string and send it to xterm. Sorry I can't be more helpful. #!/usr/bin/perl # # This is a simple program to change the text in an X-windows title bar. # This used to be a shell script, but that got hosed in an ``update'' # on Linux. It's probably a Good Idea(tm) to do this in perl anyway since # the my program could be vulnerable to somebody putting something really # wierd in as arguments. # print qq(\033]2;@ARGV\007); exit(0) On 10/22/07, Paul McFerrin wrote: > > Hum... The PS1 setting. Nope, that's not the problem. > > The root of the settitle() function is NOT the setting of PS1. It's > setting in /etc/profile is commented out. In my local .profile, PS1 is > set to just '$PWD'. I have verified that there are no other hidden > settings of PS1. > > I tried your settitle() function, and the title remains unchanged: > basename of the shell. > > My posting in the archives envolves the use of 'rxvt' only and has > nothing to do with xterm. I always startup 'startxwin.sh' from a > non-rxvt window (e.g. the console window). > > Regardless what shell I'm using, it always seems to get it's basename > into the window. Hum.... > > Does anyone else want to try a stab at this problem? > > Brian Dessent wrote: > > Paul McFerrin wrote: > > > > > >> I can't seem to get xterm to recognize Window Title name changes via the > >> following: > >> > >> echo "\0332;new_title\07\c" > >> > > > > You were just recently posting in the thread where this came up before: > > and > > . Specifically, the > > default Cygwin prompt (PS1) contains characters that set the title so > > anything you do that doesn't involve changing PS1 will have no effect -- > > or more precisely, your echo command above does set the title for a few > > milliseconds, until the next prompt overwrites it. (In your rxvt > > example, you aren't starting a login shell and thus /etc/profile isn't > > sourced and PS1 isn't set, which is presumably why it works there.) > > > > Brian > > > > -- > > Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple > > Problem reports: http://cygwin.com/problems.html > > Documentation: http://x.cygwin.com/docs/ > > FAQ: http://x.cygwin.com/docs/faq/ > > > > > > -- > Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple > Problem reports: http://cygwin.com/problems.html > Documentation: http://x.cygwin.com/docs/ > FAQ: http://x.cygwin.com/docs/faq/ > > -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://x.cygwin.com/docs/ FAQ: http://x.cygwin.com/docs/faq/ From n.douma@nekoconeko.nl Tue Oct 23 12:05:00 2007 From: n.douma@nekoconeko.nl (Nick Douma) Date: Tue, 23 Oct 2007 12:05:00 -0000 Subject: XWin Multiwindow fails to start In-Reply-To: <20071022162833.GB19906@nekoconeko.nl> References: <20071016093833.GA29898@nekoconeko.nl> <20071022145531.GA19906@nekoconeko.nl> <471CBD90.6020409@gmx.de> <20071022162833.GB19906@nekoconeko.nl> Message-ID: <20071023115954.GB22057@nekoconeko.nl> On Mon, Oct 22, 2007 at 06:28:33PM +0200, Nick Douma wrote: > On Mon, Oct 22, 2007 at 05:11:12PM +0200, Holger Krull wrote: > > Nick Douma schrieb: > > > No one who has any suggestions... ? > > > > Not for your main problem. Just the general idea that sometimes deleting and reinstalling helps to solve strange problems. > I'll try that tomorrow I have deleted my previous installation of Cygwin, and reinstalled all the required CygwinX packages, along with openssh, pico and svn. When I use the startx script, it seems to startup fine, but at the end I get this error: The XKEYBOARD keymap compiler (xkbcomp) reports: > Error: Can't find file "pc/us_intl" for symbols include > Exiting > Abandoning symbols file "default" Errors from xkbcomp are not fatal to the X server (--) 3 mouse buttons found Could not init font path element /usr/X11R6/lib/X11/fonts/TTF/, 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! winPointerWarpCursor - Discarding first warp: 640 512 winInitMultiWindowWM - pthread_mutex_lock () returned. winProcEstablishConnection - Hello winProcEstablishConnection - Clipboard is not enabled, returning. winInitMultiWindowWM - pthread_mutex_unlock () returned. winMultiWindowXMsgProc - pthread_mutex_lock () returned. winInitMultiWindowWM - DISPLAY=127.0.0.1:0.0 winMultiWindowXMsgProc - pthread_mutex_unlock () returned. winMultiWindowXMsgProc - DISPLAY=127.0.0.1:0.0 cat: /cygdrive/x/.Xauthority: No such file or directory winMultiWindowXMsgProcIOErrorHandler! 8 [unknown (0x7B8)] X 1144 _cygtls::handle_exceptions: Error while dumping state (probably corrupted stack) xinit: connection to X server lost. xterm: fatal IO error 104 (Connection reset by peer) or KillClient on X server ":0.0" Also, seemingly totally random, Xterm may or may not start up and work. But I can't make any other programs connect to the X server, nor can I use remote X11 forwarding to this PC. -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://x.cygwin.com/docs/ FAQ: http://x.cygwin.com/docs/faq/ From pmcferrin@columbus.rr.com Tue Oct 23 20:50:00 2007 From: pmcferrin@columbus.rr.com (Paul McFerrin) Date: Tue, 23 Oct 2007 20:50:00 -0000 Subject: xterm not accepting Window Title name changes In-Reply-To: <471D8618.9090206@columbus.rr.com> References: <471D72B7.7070604@columbus.rr.com> <471D7D64.1CD8702@dessent.net> <471D8618.9090206@columbus.rr.com> Message-ID: <471E5E65.8020805@columbus.rr.com> Problem solved. There was an apparent race condition between the start of the XWin server and the startup of the xterm command. Just by adding a 2 second sleep after starting XWin, I have no problem being able to set the window title thru an escape sequence. Guess that is what you get for having a super-fast machine. :) >> Paul McFerrin wrote: >>> I can't seem to get xterm to recognize Window Title name changes via >>> the >>> following: >>> >>> echo "\0332;new_title\07\c" > -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://x.cygwin.com/docs/ FAQ: http://x.cygwin.com/docs/faq/ From markjreed@mail.com Tue Oct 23 21:46:00 2007 From: markjreed@mail.com (Mark J. Reed) Date: Tue, 23 Oct 2007 21:46:00 -0000 Subject: xterm not accepting Window Title name changes In-Reply-To: <471D72B7.7070604@columbus.rr.com> References: <471D72B7.7070604@columbus.rr.com> Message-ID: Somewhat OT, but don't you need -e on the echo command to get it to interpret the backslash escapes? Or is that only needed for the non-numeric ones? On 10/23/07, Paul McFerrin wrote: > Hi: > > I can't seem to get xterm to recognize Window Title name changes via the > following: > > echo "\0332;new_title\07\c" > > I have added the following new lines to my .Xdefaults file with no effect. > > XTerm.AllowTitleOps: true > XTerm.AllowTitleOps: true > XTerm.allowTitleOps: true > XTerm.allowWindowOps: true > XTerm.AllowWindowOps: true > XTerm.vt100.AllowTitleOps: true > XTerm.vt100.AllowTitleOps: true > XTerm.vt100.allowTitleOps: true > XTerm.vt100.allowWindowOps: true > XTerm.vt100.AllowWindowOps: true > VT100.AllowTitleOps: true > VT100.allowTitleOps: true > VT100.allowWindowOps: true > VT100.AllowWindowOps: true > XTerm.vt100.utf8Title: true > VT100.AllowTitleOps: true > > and I have modified my "startxwin.sh script to start xterm the following > way: > > xterm -aw -b 5 +cm -rw -sb -sk -sl 1500 -rv -e /usr/bin/ksh -l & > > I thought it was working yesterday, but at this point I can't remember > very much! Yesterday, I only had the: > > XTerm.AllowTitleOps: true > > line in .Xdefaults and I thought it was working.... > > What am I doing wrong?? > > > -- > Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple > Problem reports: http://cygwin.com/problems.html > Documentation: http://x.cygwin.com/docs/ > FAQ: http://x.cygwin.com/docs/faq/ > > -- Mark J. Reed -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://x.cygwin.com/docs/ FAQ: http://x.cygwin.com/docs/faq/ From RDSMITH@marvell.com Wed Oct 24 00:58:00 2007 From: RDSMITH@marvell.com (Ronald Smith) Date: Wed, 24 Oct 2007 00:58:00 -0000 Subject: xemacs Message-ID: I have cygwin installed on my XP machine along with the x-server and the Singular version of xemacs. I am trying to get my scroll wheel to work with xemacs, but I simply cannot get it to work. I entered the following into my $HOME/.xemacs file: $ more ~/.xemacs ;;======================================= ;; scroll on mouse wheel ;;======================================= (global-set-key 'button5 'scroll-up-one) (global-set-key 'button4 'scroll-down-one) (global-set-key '(control button5) 'scroll-up) (global-set-key '(control button4) 'scroll-down) $ But xemacs does not recognize the commands. However if I go to the menu "Cmds->Evaluate List Expression..." And enter each command individually, it works just fine. Obviously I'm doing something wrong that is very basic but I'm danged if I can figure out what it is. My home directory is located in /cygdrive/c/Documents and Settings/user which has embedded spaces in the name. The imbedded spaces cause other issues, is this what is the problem? -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://x.cygwin.com/docs/ FAQ: http://x.cygwin.com/docs/faq/ From vshelton@aoainc.com Thu Oct 25 13:25:00 2007 From: vshelton@aoainc.com (Vin Shelton) Date: Thu, 25 Oct 2007 13:25:00 -0000 Subject: xemacs In-Reply-To: References: Message-ID: <471F5580.20501@aoainc.com> Ronald Smith wrote: > I have cygwin installed on my XP machine along with the x-server and the > Singular version of xemacs. > > I am trying to get my scroll wheel to work with xemacs, but I simply > cannot get it to work. The following works for me: (mwheel-install) Regards, Vin Shelton -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://x.cygwin.com/docs/ FAQ: http://x.cygwin.com/docs/faq/ From earlalbin@yahoo.com Fri Oct 26 23:06:00 2007 From: earlalbin@yahoo.com (Earl Albin) Date: Fri, 26 Oct 2007 23:06:00 -0000 Subject: Cygwin Window Message-ID: <706949.61196.qm@web51410.mail.re2.yahoo.com> Can anyone help me with envoking the window interface with the latest Cygwin X winow application. I tried both methods the shell scrip and the batch file method and neither works.\ Thanks, __________________________________________________ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://x.cygwin.com/docs/ FAQ: http://x.cygwin.com/docs/faq/ From oceanare@pacific.net.sg Sat Oct 27 04:17:00 2007 From: oceanare@pacific.net.sg (Erich Dollansky) Date: Sat, 27 Oct 2007 04:17:00 -0000 Subject: Cygwin Window In-Reply-To: <706949.61196.qm@web51410.mail.re2.yahoo.com> References: <706949.61196.qm@web51410.mail.re2.yahoo.com> Message-ID: <4722BBC3.1050604@pacific.net.sg> Hi, Earl Albin wrote: > Can anyone help me with envoking the window interface > with the latest Cygwin X winow application. I tried > both methods the shell scrip and the batch file method > and neither works.\ you must tell us a bit more. Post at least your batch file you are using to start X and also the name of the window manager you have actually installed. Erich > > Thanks, > > > __________________________________________________ > Do You Yahoo!? > Tired of spam? Yahoo! Mail has the best spam protection around > http://mail.yahoo.com > > -- > Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple > Problem reports: http://cygwin.com/problems.html > Documentation: http://x.cygwin.com/docs/ > FAQ: http://x.cygwin.com/docs/faq/ > > -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://x.cygwin.com/docs/ FAQ: http://x.cygwin.com/docs/faq/ From power0755@21cn.com Mon Oct 29 09:04:00 2007 From: power0755@21cn.com (lima electronics) Date: Mon, 29 Oct 2007 09:04:00 -0000 Subject: =?UTF-8?Q?=E3=80=93lima_electronics(Shenzhen)ltd=E3=80=93?= In-Reply-To: <001b01c70c5c$ccf48550$401fa77c@kdsrr> References: <001b01c70c5c$ccf48550$401fa77c@kdsrr> Message-ID: <13463583.post@talk.nabble.com> ?lima electronics(Shenzhen)ltd? ?we are one of the leading agent in China who specialize in the distribution of international well-known power module? ?compared with our competitors, we're famous for the upstanding reputation and high quality of business service? ?support Mfg? 1.MITSUBISHI 2.FUJI 3.TOSHIBA 4.SANREX 5.SANKEN 6.HITACHI 7.SEMIKRON 8.SIEMENS 9.IXYS 10.IR 11.EUPEC 12.INFINEON 13.FAIRCHILD 14.TYCO 15.MOTOEOLA 16.SHINDENGEN 17.WESTCODE 18.HINODE 19.BUSSMANN 20.CATELEC 21.MAXIX 22.ABB 23.APT 24.OMRON 25.VICOR 26.LAMBDA 27.COSEL 28.TDK 29.ASTEC 30.LUCENT 31.PRX 32.GOULD 33.FERRAZ 34.SIRECT 35.DYNEX 36.Fine SPN ?products?:IGBT?IGCT?GTR?IPM?PIM ?SCR? rectifier bridge? fast recovery diodes? soft recovery diodes?fast Fuse ???Please feel free to contact us!??? CONTACT ME: Wendy(miss zhou) ICQ:381-125-865 MSN: p-0755@hotmail.com QQ :554102842 Tel: 86-755-88365152 Fax: 86-755-88364656 E-mail: power0755@21cn.com -- View this message in context: http://www.nabble.com/electronic-tf2666756.html#a13463583 Sent from the cygwin-xfree mailing list archive at Nabble.com. -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://x.cygwin.com/docs/ FAQ: http://x.cygwin.com/docs/faq/ From pradeepsi81@yahoo.co.in Tue Oct 30 12:59:00 2007 From: pradeepsi81@yahoo.co.in (Pradeep S) Date: Tue, 30 Oct 2007 12:59:00 -0000 Subject: Problem in launching a tool due to Bold Font Error Message-ID: <13488047.post@talk.nabble.com> Hi All, I am trying to launch a tool which required Bold font. I have already downloaded the Bold font iin my cygwin. Using the following method. $ mkdir /usr/X11R6/lib/X11/fonts/bitmap $ cp courM12.bdf /usr/X11R6/lib/X11/fonts/bitmap $ cd /usr/X11R6/lib/X11/fonts/bitmap $ mkfontdir $ xset fp+ /usr/X11R6/lib/X11/fonts/bitmap The above helped me to launch the tool from a particular server. However, when I tried to launch through another server, it gave the following error: ============================================================ IOOA FATAL INSTALLATION ERROR Bold Fonts not available. Please see relevant section of the IOOA installation guide (Section: IOOA Foreign X terminals.) ============================================================ But I have already added the Bold Font and also successfully launched the tool in another server. What could be the problem. Is there anything else to be taken care of? Please help me out Thanking in advance. Regards, Pradeep S -- View this message in context: http://www.nabble.com/Problem-in-launching-a-tool-due-to-Bold-Font-Error-tf4718306.html#a13488047 Sent from the cygwin-xfree mailing list archive at Nabble.com. -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://x.cygwin.com/docs/ FAQ: http://x.cygwin.com/docs/faq/ From agustin.delanda@gis.com.mx Tue Oct 30 17:59:00 2007 From: agustin.delanda@gis.com.mx (De Landa Gil Agustin) Date: Tue, 30 Oct 2007 17:59:00 -0000 Subject: Keyboard Layout Problem Message-ID: <40D713CFEEFBB243B8066584F4E269FA0FB8B69CE1@GIS-EXCH-CCR.gis.com.mx> Asunto: Keyboard Layout Problem Please help me, I am getting this error: (--) Setting autorepeat to delay=500, rate=31 (--) winConfigKeyboard - Layout: "0000080A" (0000080a) (EE) Keyboardlayout "Latinoamericano" (0000080A) is unknown (--) 16 mouse buttons found -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://x.cygwin.com/docs/ FAQ: http://x.cygwin.com/docs/faq/