Re: Xwin failure
On Sun, Feb 05, 2006 at 01:48:12AM -0500, Kurt A. Rinehart wrote: I can't get XWin to open. The X icon shows in the system tray, but xterm does not start and no other X-application can be started either. I followed advice for a similar problem in an earlier post--I uninstalled McAfee firewall, but the situation did not change. Here is /tmp/XWin.log Welcome to the XWin X Server Vendor: The Cygwin/X Project Release: 6.8.2.0-4 Contact: cygwin-xfree@cygwin.com XWin was started with the following command line: XWin -multiwindow -clipboard -silent-dup-error ddxProcessArgument - Initializing default screens winInitializeDefaultScreens - w 1024 h 768 winInitializeDefaultScreens - Returning _XSERVTransmkdir: Cannot create /tmp/.X11-unix with root ownership winCheckDisplayNumber - Cygwin/X is already running on display 0 Fatal server error: InitOutput - Duplicate invocation on display number: 0. Exiting. winDeinitMultiWindowWM - Noting shutdown in progress Kurt I don't know about your other problems. Here is the faq entry for the error message listed. http://x.cygwin.com/docs/faq/cygwin-x-faq.html#duplicate-invocation signature.asc Description: Digital signature
Re: Cygwin X-Windows Crestron SimplWindows Cross Compiler clashing
On Thu, Oct 27, 2005 at 11:45:06AM -0600, Matthew Snow wrote: Neither will work while the other is installed. For testing purposes: Cygwin error message when running startxwin.bat: 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.2.0-4 Contact: cygwin-xfree@cygwin.com XWin was started with the following command-line: /cygdrive/d/Cygwin/usr/X11 -multiwindow -clipboard -silent-dup-error SimplWindows error message while compiling a project: Could not copy SIMPL + output file to [dir path][filename].spl. I've noticed that both Cygwin and Crestron SimplWindows share the same directory in the registery keys which is HKEY_CURRENT-USER Software Cygnus Solutions Cygwin. The SimplWindows however adds the additional directory / to the registry so we have Cygwin mounts V2 /. This contains keys: (Default) flags native which points to D:\Crestron\ColdFire I've found that exporting the registry configurations for each and then importing them does nothing however. I've also noticed that when I run Cygwin's setup.exe it thinks that D:\Crestron\ColdFire is the root directory I selected for the previous instal of Cygwin. This is just a WAG, but it sounds like Crestron is using cygwin for its' underlying functionality. If this is true, you need to contact Crestron for support. None of the cygwin people that I know of (as wonderfully helpful as they are) are willing to support third party applications. Regards, Ken -- 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/
Re: I can not get cygwin to work on my PC
On Tue, Oct 18, 2005 at 04:43:54PM -0400, [EMAIL PROTECTED] wrote: I am receiving the following errors when I attempt to access Cygwin. SNIP It would probably be worthwhile to read http://cygwin.com/problems.html In addition you might want to read http://x.cygwin.com/docs/faq/cygwin-x-faq.html assuming that nothing there answers your question follow the problem reporting guidelines and note that your error message indicates that there is information in the XWin log file, so that file will be required as well. You will probably get more responses using text that attaching pictures as a whole log of people use text only mail readers. Regards, Ken -- 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/
Re: cygwin1.dll
On Mon, Oct 10, 2005 at 09:58:16PM +0200, SaSHa SHokovic wrote: im new in this mailing list, so i dont have any archyve about this problem. I want to use XWin.exe and im getting that where is no cygwin1.dll, i reinstalled it, bet it didnt help. Is there any procedure how can i solve it? Read the documentation, read the FAQ and report problems correctly? http://cygwin.com/problems.html http://x.cygwin.com/docs/ http://x.cygwin.com/docs/faq/ The above urls are on every message in the mailing list and have links on the cygwin homepage. -- 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/
Re: Running X Server
On Thu, Sep 29, 2005 at 05:11:11PM -0700, Shah Sharif wrote: Hi, I was trying to run X server after my I have intalled the cygwin. I have chosen to install 'all' the packages. In order to run the X server I have typed in the following command: /usr/X11R6/bin/startx After typing that command,I am getting the following error msg. **8 XWin was started with the following Welcome to the XWin X Server Vendor: The Cygwin/X Project Release: 6.8.2.0-4 Contact: cygwin-xfree@cygwin.com XWin was started with the following command line: X :0 -multiwindow -clipboard ddxProcessArgument - Initializing default screens winInitializeDefaultScreens - w 1024 h 768 winInitializeDefaultScreens - Returning _XSERVTransmkdir: Owner of /tmp/.X11-unix should be set to root winCheckDisplayNumber - Cygwin/X is already running on display 0 Fatal server error: InitOutput - Duplicate invocation on display number: 0. Exiting. winDeinitMultiWindowWM - Noting shutdown in progres *** http://x.cygwin.com/docs/faq/cygwin-x-faq.html#duplicate-invocation -- 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/
Re: Could not init font path element problem
On Thu, Sep 15, 2005 at 09:58:51AM -0400, Francois Couillard wrote: Okay when I'm trying to launch xwin from Cygwin prompt I get a Could not init font path element /usr/X11R6/lib/X11/fonts/CID, removing from list. In the Cygwin/X FAQ, they say to fix this problem by a. Open a Cygwin shell and run *umount /usr/X11R6/lib/X11/fonts * -- When I do that, it just say No such file or directory even though it exist. Probably isn't mounted I guess. What's that mean? Then I have to reinstall the xorg font package. I tried to no avail. How can I get the correct font element? Any help would be greatly appreciated. Unless you want those fonts for a particular reason, I wouldn't worry about it, as those type errors are non-fatal. My Cygwin/X runs fine with the following errors: 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! Could not init font path element /usr/X11R6/lib/X11/fonts/100dpi/, removing from list! Regards, Ken -- 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/
Re: Grey screen problem
On Wed, Sep 14, 2005 at 09:47:13AM -0400, Francois Couillard wrote: Ken Dibble wrote: On Tue, Sep 13, 2005 at 03:20:09PM -0400, Francois Couillard wrote: I'm using windows 2000 to connect to a Debian Sarge server. Using Cygwin, I'm typing xwin -query myip to connect to my Debian server. Theres only a grey screen that appears with an 'x' cursor. I also tried xwin -query hostip -from clientip without success. The .log says: Could not init font path element /usr/X11R6/lib/X11/fonts/CID, removing from list. Looking at the FAQ, they say to Open a Cygwin shell and run *umount /usr/X11R6/lib/X11/fonts*. When I type this, it just says theres no such file or directory even though it exists. I reinstalled the font components and it didn't work I can connect with my server using ssh without problem. Someone got the same problem on the mailing list at http://sourceware.org/ml/cygwin-xfree/2005-03/msg00017.html So I checked the FAQ, the mailing list and even the #cygwin room on MIRC and can't find a decent answer. On the debian box, does the file /etc/ssh/sshd_config contain a line that says: X11Forwarding yes and does the file /etc/gdm/gdm.conf contain Enable=true Additionally you cannot login as root if /etc/gdm/gdm.conf contains the default line of AllowRoot=false Before changing any of the default settings it is a good idea to read about X security and understand the implications of what you are changing. Regards, Ken I forgot to say it but I already changed thoses values (Except AllowRoot). I just tried AllowRoot = true and it still doesn't work. This just handles the case where you try and login from the login screen using the username root. How can I start Xwin with another login than root? I though the GNOME login screen would ask me to log in? I remember this happening to me. If I recall correctly the problem was that the gnome login screen announces itself with a sound. Depending on which sound configuration you have, you get a blank grey screen. Again if I recall correctly the problem was the esd sound driver not liking remote X sessions. YMMV. Sorry I can't be of more help. Ken -- 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/
Re: Grey screen problem
On Tue, Sep 13, 2005 at 03:20:09PM -0400, Francois Couillard wrote: I'm using windows 2000 to connect to a Debian Sarge server. Using Cygwin, I'm typing xwin -query myip to connect to my Debian server. Theres only a grey screen that appears with an 'x' cursor. I also tried xwin -query hostip -from clientip without success. The .log says: Could not init font path element /usr/X11R6/lib/X11/fonts/CID, removing from list. Looking at the FAQ, they say to Open a Cygwin shell and run *umount /usr/X11R6/lib/X11/fonts*. When I type this, it just says theres no such file or directory even though it exists. I reinstalled the font components and it didn't work I can connect with my server using ssh without problem. Someone got the same problem on the mailing list at http://sourceware.org/ml/cygwin-xfree/2005-03/msg00017.html So I checked the FAQ, the mailing list and even the #cygwin room on MIRC and can't find a decent answer. On the debian box, does the file /etc/ssh/sshd_config contain a line that says: X11Forwarding yes and does the file /etc/gdm/gdm.conf contain Enable=true Additionally you cannot login as root if /etc/gdm/gdm.conf contains the default line of AllowRoot=false Before changing any of the default settings it is a good idea to read about X security and understand the implications of what you are changing. Regards, Ken -- 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/
Re: Failed xorg/XWin launch
On Sat, Sep 10, 2005 at 10:27:41PM +, [EMAIL PROTECTED] wrote: To whom it may concern, All 4 methods outlined in the User's Guide of launching xorg/XWin produced similar errors. Further, attempts to cut-and-paste the contents of the XWin.log or sending it as an attachement have generated MAILER-DAEMON errors from your email server. All requisite xorg packages (in addition to optional ones) are installed. Here's another try of sending the contents (stripped of HTML content) to the XWin.log as a result of issuing $ sh /usr/X11R6/bin/startxwin.sh: * Welcome to the XWin X Server Vendor: The Cygwin/X Project Release: 6.8.2.0-2 Contact: cygwin-xfree. XWin was started with the following command line: XWin -multiwindow -clipboard -silent-dup-error ddxProcessArgument - Initializing default screens winInitializeDefaultScreens - w 1024 h 768 winInitializeDefaultScreens - Returning _XSERVTransmkdir: Cannot create /tmp/.X11-unix with root ownership (II) XF86Config is not supported (II) See ...cygwin-x-faq for more information (==) FontPath set to /usr/X11R6/lib/X11/fonts/misc/,/usr/X11R6/lib/X11/fonts/TTF/,/usr/X11R6/lib/X11/fonts/Type1/,/usr/X11R6/lib/X11/fonts/CID/,/usr/X11R6/lib/X11/fonts/75dpi/,/usr/X11R6/lib/X11/fonts/100dpi/ winAdjustVideoModeShadowGDI - Using Windows display depth of 16 bits per pixel winAllocateFBShadowGDI - Creating DIB with width: 1024 height: 768 depth: 16 winInitVisualsShadowGDI - Masks f800 07e0 001f BPRGB 6 d 16 bpp 16 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 winInitMultiWindowWM - 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 winMultiWindowXMsgProc - Hello winMultiWindowXMsgProc - Calling pthread_mutex_lock () (--) Setting autorepeat to delay=500, rate=31 (--) winConfigKeyboard - Layout: 0409 (0409) (--) Using preset keyboard for English (USA) (409), type 4 (--) 3 mouse buttons found Could not init font path element /usr/X11R6/lib/X11/fonts/misc/, removing from list! Could not init font path element /usr/X11R6/lib/X11/fonts/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! Could not init font path element /usr/X11R6/lib/X11/fonts/75dpi/, removing from list! Could not init font path element /usr/X11R6/lib/X11/fonts/100dpi/, removing from list! Fatal server error: could not open default font 'fixed' winDeinitMultiWindowWM - Noting shutdown in progress ** The method for defining the PATH on the commandline yielded similar content in its XWin.log, but for brevity sake that has been omitted. Another undesired behavior arose when defining the PATH, $PATH=%PATH:/usr/X11R6/bin, locally in BASH and returning to the commandline after startx failed-the PATH environment variable inherited from Windows, which provides access to cygwin/usr, cygwin/usr/bin and hence all the shell programs (commands). The Windows inherited PATH variable restores when opening a new Cygwin session. Please advise as to how xorg can be successfully launched on my computer? Thanks and best regards, Keith Kuchenbecker PS - Why does the XWin.log file contain text/HTML or MIME components that bounce in your email server? Lacking the output of cygcheck -s -v -r as stated at http://cygwin.com/problems.html See: http://x.cygwin.com/docs/faq/cygwin-x-faq.html#q-error-font-eof -- 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/
Re: Can I close the startx cygwin shell?
Trebor Sreyb wrote: Is there some way to run startx without opening a cygwin shell window? Or, alternatively, to exit the shell window after the X window manager has successfully started? Otherwise, I find myself having to leave open a cygwin shell window that is used for nothing other than kicking off startx - that window just sits there. This is only a nuissance (adds an extra icon to the task bar), but if there's another way I'd like to know. I use cygwin on Win XP SP2. NOTE: I also tried doing the following from Win XP Start-Run: c:\cygwin\bin\sh.exe -c /usr/X11R6/bin/startx but this also opens up an unwanted window that must remain open. Thanks, -Bob Andover, MA USA Doesn't your startxwin.bat file accomplish this? -- 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/
Re: Programatically finding value of cygdrive prefix
Brian Dessent wrote: Ken Dibble wrote: Am I not understanding the man page or am I so dense that I'm missing something? Yes you are missing something, and no 'mount -m' works perfectly fine. If the cygdrive prefix has a space in it, using awk to print the fifth word will be incorrect. Consider: echo 'mount -s -b --change-cygdrive-prefix /thing with spaces' \ | awk '{ print $5 }' Brian Still searching for a non-sed solution Ken hammered out: So this would be correct? mount -m | grep mount -u | tail -1 | awk -F'' '{ print $2 }' as echo 'mount -s -b --change-cygdrive-prefix /thing with spaces' | awk -F'' '{ print $2 }' results in /thing with spaces Ken -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/
Re: Programatically finding value of cygdrive prefix
Brian Dessent wrote: Ken Dibble wrote: mount -m | grep mount -u | tail -1 | awk -F'' '{ print $2 }' as echo 'mount -s -b --change-cygdrive-prefix /thing with spaces' | awk -F'' '{ print $2 }' results in /thing with spaces The awk part seems fine, but I don't know about the mount -u. That will only match if you have a user-mode cygdrive set. As you can see from my example, that doesn't include me (or anyone else that installs cygwin choosing All users in setup.exe.) If you're going to use awk then you can simplify and not bother with grep and tail, they're extraneous. mount -m | awk -F '' '/--change-cygdrive-prefix/ { print $2 }' Brian Well, maybe my installation is hosed then. I have installed for all users, but mount -m returns mount -f -s -b C:/cygwin/usr/X11R6/lib/X11/fonts /usr/X11R6/lib/X11/fonts mount -f -s -b C:/cygwin/bin /usr/bin mount -f -s -b C:/cygwin/lib /usr/lib mount -f -s -b C:/cygwin / mount -u -b --change-cygdrive-prefix /cygdrive mount -s -b --change-cygdrive-prefix / so... mount -m | awk -F '' '/--change-cygdrive-prefix/ { print $2 }' results in /cygdrive / so, I can see that the grep is not needed, but since there is more than one output line, tail, head or the like would be needed, no? Ken -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/
Re: Programatically finding value of cygdrive prefix
Brian Dessent wrote: Ken Dibble wrote: Well, maybe my installation is hosed then. I have installed for all users, but mount -m returns mount -f -s -b C:/cygwin/usr/X11R6/lib/X11/fonts /usr/X11R6/lib/X11/fonts mount -f -s -b C:/cygwin/bin /usr/bin mount -f -s -b C:/cygwin/lib /usr/lib mount -f -s -b C:/cygwin / mount -u -b --change-cygdrive-prefix /cygdrive mount -s -b --change-cygdrive-prefix / It's not hosed, you just happen to have both flavors of cygdrive prefix. The user mounts always take precedence over the system-wide ones. If I were you I'd remove the user cygdrive (since all your other mounts are system) with umount -uc and then change your system cygdrive to the desired value, presumably mount -c /cygdrive. Thank you, worked like a charm. Ken -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/
Re: Programatically finding value of cygdrive prefix
Christopher Faylor wrote: On Wed, Aug 10, 2005 at 02:36:16PM -0400, Christopher Faylor wrote: On Wed, Aug 10, 2005 at 11:23:00AM -0700, Linda W wrote: Is there a way to find out in a bash script the cygdrive prefix? I thought something simple like mount -p|tail -1|cut -f1 but that incorrectly assumed the fields were tab delimited. Since there can be spaces in the cygdrive prefix, I can't use space a delimiter, example: # mount -p Prefix Type Flags /cyg drive posix path system binmode There may be a simpler way to do it, but this seems to work: mount -p | sed -n '2s/\([^ ]\) *[^ ][^ ]* *[^ ][^ ]*$/\1/p' This is shorter: mount -p | sed -nr '2s/([^ ]) +\S+ +\S+$/\1/p' cgf Or you can do it the long, slow wasteful way, which us dullards are required to use, so we can figure out why it broke yet again. #!/bin/bash let c=0; # get the number of fields for i in `mount -p | tail -1`; do let c=$c+1; done # if number of fields is greater than 3 because mount point has a space, add them CUT_FIELDS=--fields=1 let i=3; while [ $i -lt $c ] do CUT_FIELDS=$CUT_FIELDS,$i let i=$i+1 done # get the fields mount -p | tail -1 | /usr/bin/cut --delimiter= $CUT_FIELDS -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/
Re: Programatically finding value of cygdrive prefix
Christopher Faylor wrote: On Wed, Aug 10, 2005 at 02:00:18PM -0500, Ken Dibble wrote: Christopher Faylor wrote: On Wed, Aug 10, 2005 at 02:36:16PM -0400, Christopher Faylor wrote: On Wed, Aug 10, 2005 at 11:23:00AM -0700, Linda W wrote: Is there a way to find out in a bash script the cygdrive prefix? I thought something simple like mount -p|tail -1|cut -f1 but that incorrectly assumed the fields were tab delimited. Since there can be spaces in the cygdrive prefix, I can't use space a delimiter, example: # mount -p Prefix Type Flags /cyg drive posix path system binmode There may be a simpler way to do it, but this seems to work: mount -p | sed -n '2s/\([^ ]\) *[^ ][^ ]* *[^ ][^ ]*$/\1/p' This is shorter: mount -p | sed -nr '2s/([^ ]) +\S+ +\S+$/\1/p' Or you can do it the long, slow wasteful way, which us dullards are required to use, so we can figure out why it broke yet again. #!/bin/bash let c=0; # get the number of fields for i in `mount -p | tail -1`; do let c=$c+1; done # if number of fields is greater than 3 because mount point has a space, add them CUT_FIELDS=--fields=1 let i=3; while [ $i -lt $c ] do CUT_FIELDS=$CUT_FIELDS,$i let i=$i+1 done # get the fields mount -p | tail -1 | /usr/bin/cut --delimiter= $CUT_FIELDS Personally, if something breaks, I'd rather look at one line than eighteen. I can't imagine why anyone would find the above an acceptable solution when it's possible to do it all with one line. And, the above doesn't handle imbedded spaces. Btw, a further simplification: mount -p | sed -nr '2s/(\S) +\S+ +\S+$/\1/p' cgf You are right, the shell script that I wrote does not address the issue it was intended for. I apologize for any inconvienence this caused anyone. As well, I apologize for not spending enought time using sed for your sed scripts to mean anything to me. Ken -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/
Re: Programatically finding value of cygdrive prefix
Christopher Faylor wrote: On Wed, Aug 10, 2005 at 03:14:36PM -0700, L Anderson wrote: Oops! I meant also to add that mount -p | sed -nr '2s/(.*) +\S+ +\S+/\1/p' is even a shorter version. And it still includes trailing spaces in the eventual result. cgf In my attempt to understand, can you tell me where (and why) this would fail? mount -m | grep mount -u | tail -1 | awk '{print $5}' Thanks, Ken -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/
Re: Programatically finding value of cygdrive prefix
Christopher Faylor wrote: On Wed, Aug 10, 2005 at 09:01:43PM -0500, Ken Dibble wrote: Christopher Faylor wrote: On Wed, Aug 10, 2005 at 03:14:36PM -0700, L Anderson wrote: Oops! I meant also to add that mount -p | sed -nr '2s/(.*) +\S+ +\S+/\1/p' is even a shorter version. And it still includes trailing spaces in the eventual result. In my attempt to understand, can you tell me where (and why) this would fail? mount -m | grep mount -u | tail -1 | awk '{print $5}' It doesn't deal with imbedded spaces in the cygdrive prefix -- i.e., the point of this exercise. cgf If I read the man page correctly: -m, --mount-commands write mount commands to replace user and system mount points and cygdrive prefixes Since all this script does is take this output of mount -m and parse it Is mount -m is broken then? Am I not understanding the man page or am I so dense that I'm missing something? Ken -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/
Re: Programatically finding value of cygdrive prefix
Christopher Faylor wrote: On Wed, Aug 10, 2005 at 09:14:54PM -0500, Ken Dibble wrote: Christopher Faylor wrote: On Wed, Aug 10, 2005 at 09:01:43PM -0500, Ken Dibble wrote: In my attempt to understand, can you tell me where (and why) this would fail? mount -m | grep mount -u | tail -1 | awk '{print $5}' It doesn't deal with imbedded spaces in the cygdrive prefix -- i.e., the point of this exercise. If I read the man page correctly: -m, --mount-commands write mount commands to replace user and system mount points and cygdrive prefixes Since all this script does is take this output of mount -m and parse it Is mount -m is broken then? Am I not understanding the man page or am I so dense that I'm missing something? Hint: What does awk '{print $5}' do? Thanks. One of these years I will eventually understand when quotes cause an item with embedded spaces to be a single item and when they get lost in processing, causing the embedded space item to be multiple items. I apppreciate your time. Ken -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/
Re: suggestions for cygwin developers
Chris January wrote: Alex Goldman wrote: When Cygwin gets set up, it would be more user-friendly if it placed two icons on the desktop: one should start maximized Rxvt; another should start X with a couple of xterms or whatever. First-time users might think that the MS-DOS terminal is as good as it gets, and this is not good for Cygwin. Others still have to figure out how to start Rxvt automatically and how to configure it to look pretty. Also, it would be neat to be able to keep Cygwin up-to-date automatically. How about a prompt when a new Cygwin DLL version is available: A new version of Cygwin is available. Run setup to install the latest version. This could be included as part of the /etc/profile or something. Chris Checking to see if a new version available assumes an internet connection. My opinion is that this would play havoc with dial-up users. If this is something you want, here is a hack to accomplish it. I'm sure there are better, cleaner ways to do this and it will break as soon as something in the package list changes, but it's 5 am and I am not ready to think yet. #!/bin/bash #Igor's whichpkg function whichpkg() { wget -qO- http://cygwin.com/cgi-bin2/package-grep.cgi?grep=$1; | \ sed -ne '/Cygwin Package List/,${s#/\?[^]*##g;p}' } LATEST=`whichpkg cygwin | grep emulation | tail -1 | awk -F - '{print $2}'` CUR=`uname -a | awk '{print $3}' | awk -F( '{print $1}'` if [ $CUR != $LATEST ]; then echo new cygwin dll version $LATEST available else echo Your cygwin dll is current fi -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/
Re: suggestions for cygwin developers
Igor Pechtchanski wrote: On Thu, 28 Jul 2005, Ken Dibble wrote: Chris January wrote: Alex Goldman wrote: When Cygwin gets set up, it would be more user-friendly if it placed two icons on the desktop: one should start maximized Rxvt; another should start X with a couple of xterms or whatever. First-time users might think that the MS-DOS terminal is as good as it gets, and this is not good for Cygwin. Others still have to figure out how to start Rxvt automatically and how to configure it to look pretty. Also, it would be neat to be able to keep Cygwin up-to-date automatically. How about a prompt when a new Cygwin DLL version is available: A new version of Cygwin is available. Run setup to install the latest version. This could be included as part of the /etc/profile or something. Chris Checking to see if a new version available assumes an internet connection. My opinion is that this would play havoc with dial-up users. Agreed. I would guess it could be a small service (a nice implementation would even put an icon in the system tray). If this is something you want, here is a hack to accomplish it. I'm sure there are better, cleaner ways to do this and it will break as soon as something in the package list changes, but it's 5 am and I am not ready to think yet. While the effort of actually writing code at 5am is commendable (especially since you said yet -- the only time you'd see *me* writing code at 5am is if I'd been doing it all night :-) ), the code below does do some wasteful things. #!/bin/bash #Igor's whichpkg function whichpkg() { wget -qO- http://cygwin.com/cgi-bin2/package-grep.cgi?grep=$1; | \ sed -ne '/Cygwin Package List/,${s#/\?[^]*##g;p}' } You could also simply 'wget -qO- http://cygwin.com/packages/cygwin;' and find the last line that starts with cygwin. That would be *wa-ay* faster. LATEST=`whichpkg cygwin | grep emulation | tail -1 | awk -F - '{print $2}'` Even if you do use the whichpkg above, it's probably better to search for 'cygwin1\.dll'... :-) Besides, this would lose the Cygwin-specific release number. CUR=`uname -a | awk '{print $3}' | awk -F( '{print $1}'` CUR=`uname -r | awk -F( '{print $1}'` or CUR=`cygcheck -cd cygwin | sed -ne 's/^cygwin\s\+// p'` Both will not do the right thing if you have a snapshot installed. You'll have to think about what exactly the right thing is in this case. if [ $CUR != $LATEST ]; then echo new cygwin dll version $LATEST available else echo Your cygwin dll is current fi Again, you need to also deal with snapshots. But if this were written in C, run as a service, and extended to all installed packages, it could be the beginning of something useful. :-) Igor Yes, I know it was wasteful. I guess I failed to make my point. OPINION: I don't believe in having the latest and greatest of everything. I believe in STABLE ( as anyone who has looked at my cygcheck will attest). So, like I said, I really don't think something like this belongs in cygwin proper. POINT: I can see the downside to this and have great reservations. But if YOU must have this, it shouldn't be too hard for YOU to do it. YMMV. Igor, Thanks for continuing to enlighten me about the myriad of ways of doing things. Regards, Ken -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/
rm filename length problem
I'm trying to script a cleanup of some directories prior to backup. I'm having a heck of a time with some long filenames. [EMAIL PROTECTED] /cygdrive/c/Documents And Settings/Ken Dibble/Local Settings/Temporary Internet Files/Content.IE5 $ ls 450JUVMP ETYH0R2P QDB49KJ2 W1MRMJYV ZJH 8DQF2381 MLNC1W3E SRSVUZKZ ZJ1VVLGK ind [EMAIL PROTECTED] /cygdrive/c/Documents And Settings/Ken Dibble/Local Settings/Temporary Internet Files/Content.IE5 $ rm -Rf * rm: cannot remove `450JUVMP/Type=clickFlightID=1991987AdID=1986689TargetID=2006165Segments=2001081,2001256,2001550,2001551,2001761,2001784,2001916,2002090,2002592,2003057,20030[1]': File name too long rm: cannot remove directory `450JUVMP': Directory not empty [EMAIL PROTECTED] /cygdrive/c/Documents And Settings/Ken Dibble/Local Settings/Temporary Internet Files/Content.IE5 $ cd ETYH0R2P [EMAIL PROTECTED] /cygdrive/c/Documents And Settings/Ken Dibble/Local Settings/Temporary Internet Files/Content.IE5/ETYH0R2P $ ls | wc -l 2 [EMAIL PROTECTED] /cygdrive/c/Documents And Settings/Ken Dibble/Local Settings/Temporary Internet Files/Content.IE5/ETYH0R2P $ ls Type=clickFlightID=1991463AdID=1986669TargetID=2006230Segments=120,2528,2000962,2001081,2001256,2001295,2001412,2001550,2001551,2001761,2001784,2001[1].htm Type=clickFlightID=1991464AdID=1986670TargetID=2006230Segments=120,2528,2000962,2001081,2001256,2001295,2001412,2001550,2001551,2001761,2001784,2001[1] a plain remove fails: [EMAIL PROTECTED] /cygdrive/c/Documents And Settings/Ken Dibble/Local Settings/Temporary Internet Files/Content.IE5/ETYH0R2P $ rm * rm: cannot remove `Type=clickFlightID=1991463AdID=1986669TargetID=2006230Segments=120,2528,2000962,2001081,2001256,2001295,2001412,2001550,2001551,2001761,2001784,2001[1].htm': File name too long rm: cannot remove `Type=clickFlightID=1991464AdID=1986670TargetID=2006230Segments=120,2528,2000962,2001081,2001256,2001295,2001412,2001550,2001551,2001761,2001784,2001[1]': File name too long as does my attempt at fooling it with xargs: [EMAIL PROTECTED] /cygdrive/c/Documents And Settings/Ken Dibble/Local Settings/Temporary Internet Files/Content.IE5/ETYH0R2P $ ls | xargs /bin/rm /bin/rm: cannot remove `Type=clickFlightID=1991463AdID=1986669TargetID=2006230Segments=120,2528,2000962,2001081,2001256,2001295,2001412,2001550,2001551,2001761,2001784,2001[1].htm': File name too long /bin/rm: cannot remove `Type=clickFlightID=1991464AdID=1986670TargetID=2006230Segments=120,2528,2000962,2001081,2001256,2001295,2001412,2001550,2001551,2001761,2001784,2001[1]': File name too long Any help is appreciated ( Yes this means pointing out my stupidity! ). FWIW, rsync complains about some filenames being too long as well. cygcheck attached. Thanks, Ken Cygwin Configuration Diagnostics Current System Time: Tue Jul 26 11:06:34 2005 Windows XP Home Edition Ver 5.1 Build 2600 Service Pack 2 Path: .\ C:\cygwin\usr\sbin C:\cygwin\usr\local\sbin C:\cygwin\usr\local\bin .\ C:\cygwin\bin C:\cygwin\usr\X11R6\bin c:\WINDOWS\system32 c:\WINDOWS c:\WINDOWS\System32\Wbem c:\Program Files\Common Files\Adaptec Shared\System C:\cygwin\bin Output from C:\cygwin\bin\id.exe (nontsec) UID: 1006(kdibble) GID: 545(Users) 545(Users) Output from C:\cygwin\bin\id.exe (ntsec) UID: 1006(kdibble) GID: 545(Users) 513(None)544(Administrators) 545(Users) SysDir: C:\WINDOWS\system32 WinDir: C:\WINDOWS CYGWIN = `server tty ntsec' HOME = `C:\cygwin\home\Ken Dibble' PWD = `/home/kdibble' !EXITCODE = `' ALLUSERSPROFILE = `C:\Documents and Settings\All Users' APPDATA = `C:\Documents and Settings\Ken Dibble\Application Data' CLIENTNAME = `Console' COMMONPROGRAMFILES = `C:\Program Files\Common Files' COMPUTERNAME = `BECCOMPUTER' COMSPEC = `C:\WINDOWS\system32\cmd.exe' CYGWIN_ROOT = `\cygwin' DISPLAY = `127.0.0.1:0.0' EDITOR = `vim' FP_NO_HOST_CHECK = `NO' HOMEDRIVE = `C:' HOMEPATH = `\Documents and Settings\Ken Dibble' JAVA_HOME = `/cygdrive/c/program files/j2sdk_nb/j2sdk1.4.2' KDEHOME = `C:\Documents and Settings\Ken Dibble\Application Data' LOGNAME = `kdibble' LOGONSERVER = `\\BECCOMPUTER' NUMBER_OF_PROCESSORS = `1' OLDPWD = `/home/kdibble' OS = `Windows_NT' PATHEXT = `.COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH' PROCESSOR_ARCHITECTURE = `x86' PROCESSOR_IDENTIFIER = `x86 Family 6 Model 8 Stepping 0, AuthenticAMD' PROCESSOR_LEVEL = `6' PROCESSOR_REVISION = `0800' PROGRAMFILES = `C:\Program Files' PROMPT = `$P$G' PS1 = `\[\033]0;\w\007 [EMAIL PROTECTED] \[\033[33m\w\033[0m\] $ ' SESSIONNAME = `Console' SHLVL = `1' SYSTEMDRIVE = `C:' SYSTEMROOT = `C:\WINDOWS' TEMP = `c:\DOCUME~1\KENDIB~1\LOCALS~1\Temp' TERM = `xterm' TERMCAP = `xterm-r6|xterm|xterm X11R6 version:am:km:mi:ms:xn:co#80:it#8:li#24:AL=\E[%dL:DC=\E[%dP:DL=\E[%dM:DO=\E[%dB:LE=\E[%dD:RI=\E[%dC:UP=\E[%dA:ae=^O:al=\E[L:as=^N:bl=^G:cd=\E[J:ce=\E[K:cl=\E[H\E[2J:cm=\E[%i%d;%dH:cr=^M:cs=\E[%i%d
Re: rm filename length problem
Dave Korn wrote: Original Message From: Ken Dibble Sent: 26 July 2005 17:16 I'm trying to script a cleanup of some directories prior to backup. I'm having a heck of a time with some long filenames. 'doze and *nix both have path length limitations. Sometimes path translation can push things over the limit. $ rm -Rf * rm: cannot remove `450JUVMP/Type=clickFlightID=1991987AdID=1986689TargetID=2006165Segments =2001081,2001256,2001550,2001551,2001761,2001784,2001916,2002090,2002592,200 3057,20030[1]': File name too long rm: cannot remove directory `450JUVMP': Directory not empty Shorten some of those names by making the prefix shorter by moving the entire subdir into your cygwin root! mv 450JUVMP / rm -Rf /460JUVMP should work cheers, DaveK Dave: this works. Eric: I figured it was a 'Doze problem. I was just looking for a good workaround and Dave provided it. Amazing what information is out there to be shared if you ask just half way civilized for it. Thanks to you both. Ken -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/
Re: gv: Unable to open the display.
lin q wrote: Hi, I just installed gv using the cygwin installer, I select Download from the internet option and the install process runs for quite a while. After that I run /usr/X11R6/bin/gv.exe and I saw this error, gv: Unable to open the display. What does that mean? Should I install something else for gv to run? Shoudn't cygwin installer already consider that? Thanks. Moved to Cygwin-Xfree . Is X running or are you trying to run gv from a cmd-type shell? You'll probably get more help if you follow the problem reporting guidelines at http://cygwin.com/problems.html Tthe XWin log file would be helpful as well. Regards, Ken -- 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/
Re: How does one set aliases for Cygwin for XP Prof Windows?
Patrick Sullivan wrote: Hi, I looked around and couldn't find out (from user guide or FAQs) how to set my own alias settings for Cygwin. I have Cywin installed on my PC (running Windows XP Professional). There has to be a file somewhere, where I can add the alias settings, but I am not sure where it is. Does anyone know where the file is for putting personal alias settings? If you are talking about aliases within the bash shell, setting them in ~/.bashrc is a place used by many. Regards, Ken -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/
Re: Errors when attempting 'xwin -query edeptpgrid20'
Martin, Charles W (US SSA) wrote: XWin.log file contains the following: Welcome to the XWin X Server Vendor: The Cygwin/X Project Release: 6.8.1.0-5 Contact: cygwin-xfree@cygwin.com XWin was started with the following command line: xwin -query edeptpgrid20 ddxProcessArgument - Initializing default screens winInitializeDefaultScreens - w 1280 h 1024 winInitializeDefaultScreens - Returning _XSERVTransmkdir: Owner of /tmp/.X11-unix should be set to root winCheckDisplayNumber - Cygwin/X is already running on display 0 Fatal server error: InitOutput - Duplicate invocation on display number: 0. Exiting. winDeinitMultiWindowWM - Noting shutdown in progress winDeinitMul tiWindowWM - Noting shutdown in progress winClipboardProc - winClipboardFlushWindowsMessageQueue trapped WM_QUIT message, exiting main loop. winClipboardProc - XDestroyWindow succeeded. winClipboardIOErrorHandler! winDeinitMultiWindowWM - Noting shutdown in progress XWin.log Fatal server error: InitOutput - Duplicate invocation on display number: 0. Exiting. see http://x.cygwin.com/docs/faq/cygwin-x-faq.html#duplicate-invocation
Re: newbie-Setup issue-VI Editor
Seemanto Barua wrote: Hi , I have installed cygwin for my windows XP from http://cygwin.com/. The installation went fine without any errors. But now when i open a session by running cygwin.bat I get the minimalistic shell. I dont have VI editor.Bash says command not found for 'vi' or 'vim' . Do i have to install new packages for VI ? One more thing, do i need to install PERL module separetely ? You'll need to install vim and perl. You'll find vim in the editors category and perl in the interpreters category using the cygwin setup program. Ken -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/
Re: Fatal server error:
Per Cherwy wrote: Hi CygWin I have downloaded and installed coLinux and CygWin, because i found the possibility to run Linux with X-interface in Windows very nice. Below here you will find the error message from the XWin-log. I hope you can help me to get it running. Best regards, Per C. - Welcome to the XWin X Server Vendor: The Cygwin/X Project Release: 6.8.2.0-2 Contact: cygwin-xfree@cygwin.com XWin was started with the following command line: /usr/X11R6/bin/XWin -ac -multiwindow -clipboard ddxProcessArgument - Initializing default screens winInitializeDefaultScreens - w 1280 h 1024 winInitializeDefaultScreens - Returning _XSERVTransmkdir: Cannot create /tmp/.X11-unix with root ownership winCheckDisplayNumber - Cygwin/X is already running on display 0 Fatal server error: InitOutput - Duplicate invocation on display number: 0. Exiting. winDeinitMultiWindowWM - Noting shutdown in progress http://x.cygwin.com/docs/faq/cygwin-x-faq.html#errors
Re: not sure whats wrong
Here are some places to start: http://www.waimea.org/wiki/CygwinXTroubleShooting http://sourceware.org/ml/cygwin-xfree/2005-01/msg00098.html http://sourceware.org/ml/cygwin-xfree/2004-12/msg00053.html Mark Blaskovich wrote: $ cd /usr/X11R6/bin/ startx Welcome to the XWin X Server Vendor: The Cygwin/X Project Release: 6.8.2.0-1 Contact: cygwin-xfree@cygwin.com XWin was started with the following command line: X :0 -multiwindow -clipboard _XSERVTransmkdir: Owner of /tmp/.X11-unix should be set to root winValidateArgs - g_iNumScreens: 1 iMaxConsecutiveScreen: 1 winCheckDisplayNumber - Cygwin/X is already running on display 0 Fatal server error: InitOutput - Duplicate invocation on display number: 0. Exiting. winDeinitMultiWindowWM - Noting shutdown in progress waiting for X server to begin accepting connections giving up. xinit: Connection reset by peer (errno 104): unable to connect to X server xinit: No such process (errno 3): Server error. And here is what it says in the log! Welcome to the XWin X Server Vendor: The Cygwin/X Project Release: 6.8.2.0-1 Contact: cygwin-xfree@cygwin.com XWin was started with the following command line: X :0 -multiwindow -clipboard ddxProcessArgument - Initializing default screens winInitializeDefaultScreens - w 1024 h 768 winInitializeDefaultScreens - Returning _XSERVTransmkdir: Owner of /tmp/.X11-unix should be set to root winCheckDisplayNumber - Cygwin/X is already running on display 0 Fatal server error: InitOutput - Duplicate invocation on display number: 0. Exiting. winDeinitMultiWindowWM - Noting shutdown in progress ___ I have checked irc for help and no one really came up w/ a good fix for it. Do you know what i should do or try ? thanks
Re: 30+ reasons why X-Win32 is Better than Cygwin/X
I know nothing about X other than it is a good tool for some of the things that I do. I do not know if the following is of interest or not. When the codebase was changed from Xfree86 to Xorg, the Mac-on-Linux video driver for Cygwin/X no longer worked. I have been using X-Deep/32 for X usage when I need to access my Mac since. I am not complaining, I love Cygwin and X other than this one nit. I just didn't know if mentioning this might help. Thanks for everything. Ken Joseph Miller wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 I recently received a list entitled 30+ Reasons Why X-Win32 is Better than Cygwin/X. I don't know enough at the moment (though I am learning) about the Cygwin/X server to be able to understand some of the reasons. I have already created XWinLogon (http://www.calcmaster.net/visual-c++/xwinlogon/) and I am working to work on the Cygwin/X server so that all 30+ reasons will go away. Can someone please explain the following: 3-D Hardware Acceleration for OpenGL - I am told that Cygwin/X supports this, but I use XWin_GL.exe. What do they mean by this? GDI Acceleration of X Graphics Primitives - I'm assuming this is a direct translation of X drawing routines to Windows drawing routines? Like writing directly to the hDC? Compensation for Cable Modem NATs (IPsmar) - I will probably look this one up myself. Last Session Terminate Support - how might this be implemented? Perhaps I could check all top-level window titles for Cygwin? Any recommendations? Anyone know how support for multiple users (Terminal Services) might be implemented? I am just sending these questions out there so that everyone can see what I will be working on that I don't already know. I understand that some of these are pretty easy to find out about, but if I could be pointed in the right direction, that would be great. I expect that all of the GUI/multiuser stuff can be added within a couple months or so. I will also be working on remote sound support and enterprise level scalability. For anyone who wants to see the full list of reasons, I have attached it in this email. I converted it from an XLS to text, so it looks kinda funny. The first column is a number, the second column is the name of the feature, the third column is what support Cygwin/X has for it and the fourth column is what support X-Win32 has for it. - -Joseph Miller -BEGIN PGP SIGNATURE- Version: GnuPG v1.2.4 (GNU/Linux) iD8DBQFCL2hZmXZROF+EADURAuH7AJ4sMWNkewmQnemWmFqT2AeKT7XMDwCfR5o+ 8V4iPv23+sO5iInWxC++BWM= =Pmtt -END PGP SIGNATURE- 30+ Reasons Why X-Win32 is Better than Cygwin/X # Features Cygwin/X X-Win32 1 3-D Hardware Acceleration for OpenGL No Yes 2 Graphical Configuration Tool No Yes 3 Professional Install Engine No InstallShield 4 Download Installation Time 1-3 Hours 5-10 minutes 5 Stability Medium High 6 Display Number Setting Manual Automatic 7 Copy Paste Text Text Bitmaps 8 Per User Preference Savings No Yes 9 Multiple XDMCP Sessions Manual Automatic 10 Corporate Tech Support No Yes 11 Corporate Bug Fix Support No Yes 12 Passing of Display Number to SSH Client Manual Automatic 13 Integrated SSH Client with GUI No Yes 14 Multiple Window Mode Performance Slow Fast/Very Stable 15 GDI Acceleration of X Graphics Primitives No Yes 16 Graphical Keymap Editing Tool No Yes 17 Desktop Shortcut Feature No Yes 18 Session Organizing (by Folder) No Yes 19 RGB Editing Tools No Yes 20 Session Wizard No Yes 21 Selection of Which Errors to Log Command-Line GUI 22 Error Log Presentation Text File Only GUI and Text File 23 Compensation for Cable Modem NATs No Yes -- IPsmart 24 User Interface Language Support English Only 6 Languages 25 Size 45MB 19MB 26 Session Specific Window Modes No Yes 27 Last Session Terminate Support No Yes 28 Pre-Configured xterms for Linux, UNIX No Yes 29 Session Auto Start No Yes 30 Panning Support No Yes 31 Suport for Multiple Users (e.g. Terminal Services) No Yes At under $200, and with so many Productivity-Enhancing Features, X-Win32 is a Bargain !!!
Re: startx (still) hangs at startup
Barron J Bichon wrote: I know this is a problem repeatedly posted on this list, but none of the solutions I have read seem to work for me. I'm running cygwin with XP Home (SP2). When I run startx I get this: Welcome to the XWin X Server Vendor: The Cygwin/X Project Release: 6.8.2.0-1 Contact: cygwin-xfree@cygwin.com XWin was started with the following command line: X :0 -multiwindow -clipboard _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 (==) FontPath set to /usr/X11R6/lib/X11/fonts/misc/,/usr/X11R6/lib/X11/fonts/TT F/,/usr/X11R6/lib/X11/fonts/Type1/,/usr/X11R6/lib/X11/fonts/CID/,/usr/X11R6/lib/ X11/fonts/75dpi/,/usr/X11R6/lib/X11/fonts/100dpi/ winDetectSupportedEngines - Windows NT/2000/XP winDetectSupportedEngines - DirectDraw installed winDetectSupportedEngines - DirectDraw4 installed winDetectSupportedEngines - Returning, supported engines 0007 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: 00ff ff00 00ff winInitVisualsShadowGDI - Masks 00ff ff00 00ff 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 winInitMultiWindowWM - Calling pthread_mutex_lock () winMultiWindowXMsgProc - Hello 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: 0409 (0409) (--) Using preset keyboard for English (USA) (409), type 4 Rules = xorg Model = pc105 Layout = us Variant = (null) Options = (null) This is what is written to the screen, but my XWin.log file stops at the previous Using preset keyboard... line. The large X icon appears in my system tray and then it hangs. This is an error listed in the FAQ with two possible causes. One is that I could be running Zone Alarm 5--I'm not, but I am running McAfee Personal Firewall Plus. Disabling this doesn't fix the problem. The other is that /tmp is mounted in textmode. If I use mount -b $(cygpath -m /tmp) /tmp before running startx I still get the same problem. I have also tried running without the -multiwindow option. If I do this, I get a large window frame on my screen with Cygwin/X Server - 0:0 in the title bar, but there is nothing in the frame (I can see my regular desktop through it) and it hangs. Any ideas? Thanks for your help, Barron Bichon Barron, I have XP Home SP2 as well, and do not have this issue. I recall from previous discussions about ZA that disabling is not the same as removing or uninstalling. Have you tried complete removing your firewall? Ken
Re: commands not found
I don't know a lot about this, but the following line is in the attached cygcheck.out Warning: There are multiple cygwin1.dlls on your path If I recall correctly, this is a bad thing. Dave Korn wrote: -Original Message- From: cygwin-owner On Behalf Of Dave Korn Sent: 06 December 2004 19:21 -Original Message- From: cygwin-owner On Behalf Of cygwin Sent: 06 December 2004 19:14 To: cygwin Subject: Re: commands not found I've attached the cygcheck, and also the output of env. The wrong directories definitely seem to be in my path. I am used to changing that with setenv, but I can't use that here. Thanks for your responses. Try double clicking the cygwin icon on either your desktop or your start menu. Oops, no. I thought the cygwin.bat file sets your initial path and you were bypassing it, but after taking a closer look I guess it doesn't. So let's see what your shell startup scripts are doing instead. Fire up a cmd.exe shell, change dir into C:\cygwin\bin, and enter bash --login -i -x, and show us what the output looks like. cheers, DaveK -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/
Re: How do I change my user name?
You should be able to manually edit /etc/passwd. Just change your username there. Regards, Ken Samuel Hund wrote: Unfortunately I need to change my user name on cygwin from the one used by XP. I tried adding a mkgroup and useradd, but neither worked. Can you help? sam -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/ -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/
Re: Newbie Question
Andy Wagoner wrote: Hi, How do I set up startxwin.bat to use wmaker? I've got every possible package installed, I'm sure its just a quick config in the bat file. Any help would be greatly appreciated. -Andy http://x.cygwin.com/docs/ug/cygwin-x-ug.html
Newbie GUI development
I'm trying to build a Linux gui app and failing miserably. Any help would be appreciated. $ pkg-config --libs gtk+-2.0 gnome-config: not found Package gobject-2.0 was not found in the pkg-config search path. Perhaps you should add the directory containing `gobject-2.0.pc' to the PKG_CONFIG_PATH environment variable Package 'gobject-2.0', required by 'GdkPixbuf', not found I couldn't find gnome-config in the setup package search facility. I did find cygobject-2.0-0.dll inglib2-runtime/glib2-runtime Thanks, Ken Cygwin Configuration Diagnostics Current System Time: Tue Oct 05 04:19:35 2004 Windows XP Home Edition Ver 5.1 Build 2600 Service Pack 2 Path: .\ C:\cygwin\usr\sbin C:\cygwin\usr\local\sbin C:\cygwin\usr\local\bin C:\cygwin\usr\local\bin C:\cygwin\bin C:\cygwin\bin .\ C:\cygwin\bin C:\cygwin\usr\X11R6\bin c:\WINDOWS\system32 c:\WINDOWS c:\WINDOWS\System32\Wbem c:\Program Files\Common Files\Adaptec Shared\System C:\cygwin\bin Output from C:\cygwin\bin\id.exe (nontsec) UID: 1006(kdibble) GID: 545(Users) 545(Users) Output from C:\cygwin\bin\id.exe (ntsec) UID: 1006(kdibble) GID: 545(Users) 513(None)544(Administrators) 545(Users) SysDir: C:\WINDOWS\system32 WinDir: C:\WINDOWS CYGWIN = `tty ntsec' HOME = `C:\cygwin\home\Ken Dibble' MAKE_MODE = `unix' PWD = `/home/kdibble' USER = `kdibble' ALLUSERSPROFILE = `C:\Documents and Settings\All Users' APPDATA = `C:\Documents and Settings\Ken Dibble\Application Data' CLIENTNAME = `Console' COMMONPROGRAMFILES = `C:\Program Files\Common Files' COMPUTERNAME = `BECCOMPUTER' COMSPEC = `C:\WINDOWS\system32\cmd.exe' CVS_RSH = `/bin/ssh' CYGWIN_ROOT = `\cygwin' DISPLAY = `127.0.0.1:0.0' EDITOR = `vim' FP_NO_HOST_CHECK = `NO' HOMEDRIVE = `C:' HOMEPATH = `\Documents and Settings\Ken Dibble' HOSTNAME = `BECCOMPUTER' JAVA_HOME = `/cygdrive/c/program files/j2sdk_nb/j2sdk1.4.2' KDEHOME = `C:\Documents and Settings\Ken Dibble\Application Data' LOGNAME = `kdibble' LOGONSERVER = `\\BECCOMPUTER' MANPATH = `:/usr/ssl/man:/usr/X11R6/man' NUMBER_OF_PROCESSORS = `1' OLDPWD = `/cygdrive/c/development/rp-0.2.8/src' OS = `Windows_NT' PATHEXT = `.COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH' PKG_CONFIG_PATH = `/usr/X11R6/lib/pkgconfig' PROCESSOR_ARCHITECTURE = `x86' PROCESSOR_IDENTIFIER = `x86 Family 6 Model 8 Stepping 0, AuthenticAMD' PROCESSOR_LEVEL = `6' PROCESSOR_REVISION = `0800' PROGRAMFILES = `C:\Program Files' PROMPT = `$P$G' PS1 = `\[\033]0;\w\007 [EMAIL PROTECTED] \[\033[33m\w\033[0m\] $ ' SESSIONNAME = `Console' SHLVL = `1' SYSTEMDRIVE = `C:' SYSTEMROOT = `C:\WINDOWS' TEMP = `c:\DOCUME~1\KENDIB~1\LOCALS~1\Temp' TERM = `xterm' TERMCAP = `xterm-r6|xterm|xterm X11R6 version:am:km:mi:ms:xn:co#80:it#8:li#24:AL=\E[%dL:DC=\E[%dP:DL=\E[%dM:DO=\E[%dB:LE=\E[%dD:RI=\E[%dC:UP=\E[%dA:ae=^O:al=\E[L:as=^N:bl=^G:cd=\E[J:ce=\E[K:cl=\E[H\E[2J:cm=\E[%i%d;%dH:cr=^M:cs=\E[%i%d;%dr:ct=\E[3g:dc=\E[P:dl=\E[M:do=^J:ei=\E[4l:ho=\E[H:im=\E[4h:is=\E7\E[r\E[m\E[?7h\E[?1;3;4;6l\E[4l\E8\E:k1=\EOP:k2=\EOQ:k3=\EOR:k4=\EOS:k5=\E[15~:k6=\E[17~:k7=\E[18~:k8=\E[19~:k9=\E[20~:kD=\E[3~:kI=\E[2~:kN=\E[6~:kP=\E[5~:kd=\EOB:ke=\E[?1l\E:kh=\E[1~:kl=\EOD:kr=\EOC:ks=\E[?1h\E=:ku=\EOA:le=^H:md=\E[1m:me=\E[m:mr=\E[7m:nd=\E[C:rc=\E8:sc=\E7:se=\E[m:sf=^J:so=\E[7m:sr=\EM:ta=^I:te=\E[2J\E[?47l\E8:ti=\E7\E[?47h:ue=\E[m:up=\E[A:us=\E[4m:kb=\010:' TMP = `c:\DOCUME~1\KENDIB~1\LOCALS~1\Temp' USERDOMAIN = `BECCOMPUTER' USERNAME = `Ken Dibble' USERPROFILE = `C:\Documents and Settings\Ken Dibble' WINDIR = `C:\WINDOWS' WINDOWID = `2097166' XAPPLRESDIR = `/usr/X11R6/lib/X11/app-defaults' XCMSDB = `/usr/X11R6/lib/X11/Xcms.txt' XKEYSYMDB = `/usr/X11R6/lib/X11/XKeysymDB' XNLSPATH = `/usr/X11R6/lib/X11/locale' _ = `/usr/bin/cygcheck' POSIXLY_CORRECT = `1' HKEY_CURRENT_USER\Software\Cygnus Solutions HKEY_CURRENT_USER\Software\Cygnus Solutions\Cygwin HKEY_CURRENT_USER\Software\Cygnus Solutions\Cygwin\mounts v2 (default) = `/cygdrive' cygdrive flags = 0x0022 HKEY_CURRENT_USER\Software\Cygnus Solutions\Cygwin\Program Options HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\Cygwin HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\Cygwin\mounts v2 (default) = `/cygdrive' cygdrive flags = 0x002a HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\Cygwin\mounts v2\/ (default) = `C:\cygwin' flags = 0x000a HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\Cygwin\mounts v2\/usr/bin (default) = `C:\cygwin/bin' flags = 0x000a HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\Cygwin\mounts v2\/usr/lib (default) = `C:\cygwin/lib' flags = 0x000a HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\Cygwin\mounts v2\/usr/X11R6/lib/X11/fonts (default) = `C:\cygwin\usr\X11R6\lib\X11\fonts' flags = 0x000a HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\Cygwin\Program Options a: fd N/AN/A c: hd NTFS 38162Mb 27
Re: Newbie GUI development
Dave Korn wrote: -Original Message- From: cygwin-owner On Behalf Of Ken Dibble Sent: 05 October 2004 10:21 I'm trying to build a Linux gui app and failing miserably. Any help would be appreciated. $ pkg-config --libs gtk+-2.0 gnome-config: not found Package gobject-2.0 was not found in the pkg-config search path. Perhaps you should add the directory containing `gobject-2.0.pc' to the PKG_CONFIG_PATH environment variable Package 'gobject-2.0', required by 'GdkPixbuf', not found This is all gnome stuff. You'll need to install gnome dev stuff. That was my original thought but: http://cygwin.com/cgi-bin2/package-grep.cgi?grep=gnome doesn't appear to have any gnome specific stuff. It has gtk stuff, which I have. (cygcheck was attached to previous message) Could you make it obvious for me? I couldn't find gnome-config in the setup package search facility. I did find cygobject-2.0-0.dll inglib2-runtime/glib2-runtime That's not related: that's cyg-object.dll, not cy-gobject.dll cheers, DaveK -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/
Re: Newbie GUI development
Gerrit P. Haase wrote: Hallo Ken, Am Dienstag, 5. Oktober 2004 um 11:21 schriebst du: I'm trying to build a Linux gui app and failing miserably. Any help would be appreciated. $ pkg-config --libs gtk+-2.0 gnome-config: not found Package gobject-2.0 was not found in the pkg-config search path. Perhaps you should add the directory containing `gobject-2.0.pc' to the PKG_CONFIG_PATH environment variable Package 'gobject-2.0', required by 'GdkPixbuf', not found I couldn't find gnome-config in the setup package search facility. I did find cygobject-2.0-0.dll inglib2-runtime/glib2-runtime The name of the DLL is actually 'cyggobject-2.0-0.dll', the prefix is 'cyg' followed by the package name. And it is included: http://cygwin.com/cgi-bin2/package-grep.cgi?grep=cyggobject-2.0-0.dll Expected output: $ pkg-config --libs gtk+-2.0 -Wl,--export-dynamic -lgtk-x11-2.0 -lgdk-x11-2.0 -latk-1.0 -lgdk_pixbuf-2.0 -lm -lpangoxft-1.0 -lpangox-1.0 -lpango-1.0 -lgobject-2.0 -lgmodule-2.0 -lglib-2.0 -lintl -liconv Please run: cygcheck -c gtk2-x11 Expected output: $ cygcheck -c gtk2-x11 Cygwin Package Information Package VersionStatus gtk2-x11 2.4.4-1OK If you get the same, then maybe your pkg-config path setting is broken? [EMAIL PROTECTED] ~ $ cygcheck -c gtk2-x11 Cygwin Package Information Package VersionStatus gtk2-x11 2.4.4-1OK OK, so how do I fix aforementioned pkg-config path ? Thanks, Ken -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/
Re: Newbie GUI development
Ken Dibble wrote: Gerrit P. Haase wrote: Hallo Ken, Am Dienstag, 5. Oktober 2004 um 11:21 schriebst du: I'm trying to build a Linux gui app and failing miserably. Any help would be appreciated. $ pkg-config --libs gtk+-2.0 gnome-config: not found Package gobject-2.0 was not found in the pkg-config search path. Perhaps you should add the directory containing `gobject-2.0.pc' to the PKG_CONFIG_PATH environment variable Package 'gobject-2.0', required by 'GdkPixbuf', not found I couldn't find gnome-config in the setup package search facility. I did find cygobject-2.0-0.dll inglib2-runtime/glib2-runtime The name of the DLL is actually 'cyggobject-2.0-0.dll', the prefix is 'cyg' followed by the package name. And it is included: http://cygwin.com/cgi-bin2/package-grep.cgi?grep=cyggobject-2.0-0.dll Expected output: $ pkg-config --libs gtk+-2.0 -Wl,--export-dynamic -lgtk-x11-2.0 -lgdk-x11-2.0 -latk-1.0 -lgdk_pixbuf-2.0 -lm -lpangoxft-1.0 -lpangox-1.0 -lpango-1.0 -lgobject-2.0 -lgmodule-2.0 -lglib-2.0 -lintl -liconv Please run: cygcheck -c gtk2-x11 Expected output: $ cygcheck -c gtk2-x11 Cygwin Package Information Package VersionStatus gtk2-x11 2.4.4-1OK If you get the same, then maybe your pkg-config path setting is broken? [EMAIL PROTECTED] ~ $ cygcheck -c gtk2-x11 Cygwin Package Information Package VersionStatus gtk2-x11 2.4.4-1OK OK, so how do I fix aforementioned pkg-config path ? oops. $ echo $PKG_CONFIG_PATH /usr/X11R6/lib/pkgconfig -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/
Re: cygwin and startx
Start here: http://cygwin.com/problems.html Mamedov, Joel wrote: I get startx: bash: startx: command not found message. I have downloaded and installed a full package. I can't find startx anywhere in cygwin folders.
Re: Perl searching in wrong path for modules?
I'm probably going to get you in trouble here (seeing as I know nothing about perl or apache). Why couldn't you set the environment variable PERL5LIB in your apache config file using the SetEnv directive? The PERL5LIB environment variable would then (theoretically) be prepended to @INC. Regards, Ken Frank Wein wrote: Hi, i wanted to use cygwin perl for executing perl scripts from (win32, the one from apache.org, not the cygwin one) Apache, so i included the line #!D:/cygwin/bin/perl.exe -w in my CGIs. But now i have the problem that perl looks in the wrong folder for the Perl Modules, for example if i want to load Archive::Zip, it trys to load it from D:\usr\lib\perl5\site_perl\5.8.5\XML\Simple.pm instead of D:\cygwin(\usr)\lib\perl5\site_perl\5.8.5\XML\Simple.pm. So i wonder if this is a bug in cygwin perl or rather a bug in Apache (or a error from my side even?). I attached the cygcheck output, if it matters. My OS is Windows 2000, Apache was 2.0.50, Cygwin is 1.5.10-cr-0x5e6. Thanks Frank Cygwin Configuration Diagnostics Current System Time: Tue Aug 31 16:26:25 2004 Windows 2000 Professional Ver 5.0 Build 2195 Service Pack 4 Path: C:\WINNT2\system32 C:\WINNT2 C:\WINNT2\System32\Wbem D:\Programme\Microsoft Visual Studio\VC98\Bin D:\Programme\Microsoft Visual Studio\Common\MSDev98\Bin D:\Programme\Microsoft Visual Studio\VC98\Lib D:\Programme\Microsoft Visual Studio\VC98\Include C:\Programme\ATI Technologies\ATI Control Panel D:\Programme\Rational\common D:\Programme\Subversion\bin C:\Programme\Gemeinsame Dateien\GTK\2.0\bin D:\cygwin\bin C:\moztools\bin D:\Programme\Borland\Delphi7\Bin D:\Programme\Borland\Delphi7\Projects\Bpl\ C:\Programme\UltraEdit Output from D:\cygwin\bin\id.exe (nontsec) UID: 1000(mcsmurf) GID: 513(Kein) 513(Kein) Output from D:\cygwin\bin\id.exe (ntsec) UID: 1000(mcsmurf) GID: 513(Kein) 0(root) 513(Kein) 544(Administratoren) 545(Benutzer) SysDir: C:\WINNT2\system32 WinDir: C:\WINNT2 Path = `C:\WINNT2\system32;C:\WINNT2;C:\WINNT2\System32\Wbem;D:\Programme\Microsoft Visual Studio\VC98\Bin;D:\Programme\Microsoft Visual Studio\Common\MSDev98\Bin;D:\Programme\Microsoft Visual Studio\VC98\Lib;D:\Programme\Microsoft Visual Studio\VC98\Include;;C:\Programme\ATI Technologies\ATI Control Panel;D:\Programme\Rational\common;D:\Programme\Subversion\bin;C:\Programme\Gemeinsame Dateien\GTK\2.0\bin;D:\cygwin\bin;C:\moztools\bin;D:\Programme\Borland\Delphi7\Bin;D:\Programme\Borland\Delphi7\Projects\Bpl\;C:\Programme\UltraEdit' ALLUSERSPROFILE = `C:\Dokumente und Einstellungen\All Users.WINNT2' APPDATA = `C:\Dokumente und Einstellungen\mcsmurf.MCSMURF\Anwendungsdaten' APR_ICONV_PATH = `D:\Programme\TortoiseSVN\iconv' CommonProgramFiles = `C:\Programme\Gemeinsame Dateien' COMPUTERNAME = `MCSMURF' ComSpec = `C:\WINNT2\system32\cmd.exe' CVSROOT = `:pserver:[EMAIL PROTECTED]:/cvsroot' HOMEDRIVE = `C:' HOMEPATH = `\Dokumente und Einstellungen\mcsmurf.MCSMURF' LOGONSERVER = `\\MCSMURF' MOZ_TOOLS = `C:\moztools' NUMBER_OF_PROCESSORS = `1' OS = `Windows_NT' Os2LibPath = `C:\WINNT2\system32\os2\dll;' PATHEXT = `.COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH' PROCESSOR_ARCHITECTURE = `x86' PROCESSOR_IDENTIFIER = `x86 Family 15 Model 2 Stepping 4, GenuineIntel' PROCESSOR_LEVEL = `15' PROCESSOR_REVISION = `0204' ProgramFiles = `C:\Programme' PROMPT = `$P$G' SystemDrive = `C:' SystemRoot = `C:\WINNT2' TEMP = `C:\DOKUME~1\MCSMUR~1.MCS\LOKALE~1\Temp' TMP = `C:\DOKUME~1\MCSMUR~1.MCS\LOKALE~1\Temp' USERDOMAIN = `MCSMURF' USERNAME = `mcsmurf' USERPROFILE = `C:\Dokumente und Einstellungen\mcsmurf.MCSMURF' windir = `C:\WINNT2' POSIXLY_CORRECT = `1' HKEY_CURRENT_USER\Software\Cygnus Solutions HKEY_CURRENT_USER\Software\Cygnus Solutions\Cygwin HKEY_CURRENT_USER\Software\Cygnus Solutions\Cygwin\mounts v2 (default) = `/cygdrive' cygdrive flags = 0x0022 HKEY_CURRENT_USER\Software\Cygnus Solutions\Cygwin\mounts v2\/ (default) = `D:\cygwin' flags = 0x0002 HKEY_CURRENT_USER\Software\Cygnus Solutions\Cygwin\mounts v2\/usr/bin (default) = `D:\cygwin/bin' flags = 0x0002 HKEY_CURRENT_USER\Software\Cygnus Solutions\Cygwin\mounts v2\/usr/lib (default) = `D:\cygwin/lib' flags = 0x0002 HKEY_CURRENT_USER\Software\Cygnus Solutions\Cygwin\Program Options HKEY_CURRENT_USER\Software\Cygnus Solutions\CYGWIN.DLL setup HKEY_CURRENT_USER\Software\Cygnus Solutions\CYGWIN.DLL setup\b15.0 HKEY_CURRENT_USER\Software\Cygnus Solutions\CYGWIN.DLL setup\b15.0\mounts HKEY_CURRENT_USER\Software\Cygnus Solutions\CYGWIN.DLL setup\b15.0\mounts\00 (default) = `C:' unix = `/' fbinary = 0x fsilent = 0x HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\Cygwin HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\Cygwin\mounts v2 (default) =
Re: Python os.path.join inconsistency?
I don't know anything about Python but I do know that 'c:/foo' and 'c:/foo/bar' are not windows paths. c:\foo and c:\foo\bar are. This probably doesn't help though. Regards, Ken Andres Corrada-Emmanuel wrote: Hello, I just ran across an inconsistency on the os.path module for Cygwin Python, specifically os.path.join: import os.path os.path.join( 'c:/foo', 'c:/foo/bar' ) 'c:foo/c:/foo/bar' os.path.join( '/cygdrive/c/foo', '/cygdrive/c/foo/bar' ) '/cygdrive/c/foo/bar' The first incantation of os.path.join with Windows style paths violates the documentation statement that os.path.join neglects previous paths once it encounters an absolute path. Does it not seem inconsistent that if Cygwin Python understands how to execute: file( 'c:/foo/bar' ) as well as file( '/cygdrive/c/foo/bar' ) it should also treat Windows style paths correctly with os.path.join? In other words, it seems that Python on Cygwin cannot default to using posixpath.py for os.path. It's got to be posixpath.py with some additional magic to get it to do os.path.join correctly. How does one go about submitting a patch for Cygwin Python? Andres Corrada-Emmanuel Senior Research Fellow Information Extraction and Synthesis Laboratory University of Massachusetts, Amherst -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/
Re: Python os.path.join inconsistency?
Live and Learn. I guess my limited experience (including not being a windows programmer) colored my perception. I had never been able to get any Windows variant I was exposed to, to accept a forward slash. So much for my recall device of Unix Forward, Windows Backward. Regards, Ken Christopher Faylor wrote: On Mon, Aug 30, 2004 at 02:48:49PM -0500, Ken Dibble wrote: I don't know anything about Python but I do know that 'c:/foo' and 'c:/foo/bar' are not windows paths. c:/foo and c:/foo/bar are perfectly acceptable windows paths. Some windows utilities don't accept this style of window path on the command line but they are recognized by all of the windows functions which use paths. I don't know python but I am not surprised that a cygwin version of python would be confused by the use of colons in path names since avoidance of that kind of path is one of the main reasons for cygwin's existence. The cygwin DLL does try to handle dos paths correctly but that doesn't mean that a UNIX program which manipulates UNIX path names will be happy to see them. cgf c:\foo and c:\foo\bar are. This probably doesn't help though. Andres Corrada-Emmanuel wrote: I just ran across an inconsistency on the os.path module for Cygwin Python, specifically os.path.join: import os.path os.path.join( 'c:/foo', 'c:/foo/bar' ) 'c:foo/c:/foo/bar' os.path.join( '/cygdrive/c/foo', '/cygdrive/c/foo/bar' ) '/cygdrive/c/foo/bar' The first incantation of os.path.join with Windows style paths violates the documentation statement that os.path.join neglects previous paths once it encounters an absolute path. Does it not seem inconsistent that if Cygwin Python understands how to execute: file( 'c:/foo/bar' ) as well as file( '/cygdrive/c/foo/bar' ) it should also treat Windows style paths correctly with os.path.join? In other words, it seems that Python on Cygwin cannot default to using posixpath.py for os.path. It's got to be posixpath.py with some additional magic to get it to do os.path.join correctly. How does one go about submitting a patch for Cygwin Python? Andres Corrada-Emmanuel Senior Research Fellow Information Extraction and Synthesis Laboratory University of Massachusetts, Amherst -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/ -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/ -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/
Re: cp doesnot copy in certain cases of slash (\)
Given that you are using cygwin binaries which assume a POSIX environment in a DOS environment, I am surprised that it ever works. Koduru, Seshasai wrote: Hi, Following is the test case: START- C:\c:\cygwin\bin\mkdir.exe -p c:\src c:\dst C:\c:\cygwin\bin\touch.exe c:\src\newfile C:\c:\cygwin\bin\cp.exe c:\src\newfile c:\dst /usr/bin/cp: cannot create regular file `c:\\dst/c:\\src\\newfile': No such file or directory C:\c:\cygwin\bin\cp.exe c:\src\newfile c:\dst\newfile C:\c:\cygwin\bin\cp.exe c:\src/newfile c:\dst END- In the first case of cp command it does not copy the file whereas in the next two cases it copies properly. I am JAM which produces statements like in case 1. So, is there any way in which cp will work for case 1 also? -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/
Re: Info: resolving vtable ... (auto-import)
There was some discussion about this relatively recently. I can't seem to locate the message right now. If I recall correctly, these messages happen whenever a virtual table has to be created and someone knowledgeable(not me!) said not to worry about it. It had something to do with a change in binutils, I think. da wrote: Tried resolving this by searching mailing list archives, but no luck. Here's my question: After linking on Win32, I get a number of these types of messages: Info: resolving vtable for SomeFunctionName linking to __imp___ZTV13SomeFunctionName (auto-import) What does this actually mean? Do we need to be concerned about it? If so, can anyone suggest a possible solution (or documentation on this)? -- da -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/
Re: Setting up SSH keys for password less connections for sftp
from man ssh - The file $HOME/.ssh/authorized_keys lists the public keys that are per- mitted for logging in. ssh implements the RSA authentication protocol automatically. The user creates his/her RSA key pair by running ssh-keygen(1). This stores the private key in $HOME/.ssh/identity and stores the public key in $HOME/.ssh/identity.pub in the user's home directory. The user should then copy the identity.pub to $HOME/.ssh/authorized_keys in his/her home directory on the remote machine (the authorized_keys file corresponds to the conventional $HOME/.rhosts file, and has one key per line, though the lines can be very long). After this, the user can log in without giving the password. - My personal opinion is that the last line causes a bit of confusion for some users, as giving a non-null passphrase when the specified key is generated causes the user to have to enter the passphrase (which can be interpreted as a request for the password). this link may also provide some useful information http://cricket.ecs.umass.edu/~czou/linux/backupSSH.html Chris Shehan wrote: Hello, I am attempting to replace an automated ftp process with sftp. This ftp process , which runs on a Windows 2000 server, grabs EDI files from our HPUX 11.0 server every 10 minutes and places then on the EDI Server. I would like to modify this process to use sftp and use the SSH keys for password less connections ..i.e. public key authentication. So far I have installed and tested SSH on the HPUX 11.0 server. I have also installed cygwin on the Windows 2000 server and preformed a successful test using sftp. The next step is to setup the public key authentication so that I can use sftp in the automated ftp process. I have Google'd the net and searched the archives of this list but have not been able to find any good documentation that shows me exactly what needs to be done in order to get the authentication working in my environment (mix of Windows and UNIX). So far I have been able to generate the private and public keys for both servers as show below: HPUX 11.0 - ssh-keygen -t dsa -f hp_sftp_user This command create the following files hp_sftp_user hp_sftp_user.pub Windows / CYGWIN - ssh -keygen -t dsa -P This was an interactive session and I was asked for the file names. win2k_sftp and win2k_sftp.pub were generated. ** Please let me know if there are better ways to generate the above keys ..including any additional options I may need. If the above mentioned keys are workable ... I now need a solution that will allow me to put these files to use on both the HPUX and Windows servers so I will be able to use password less connections .. which is especially need for the scheduled ftp process running on Windows. Thanks in advance for you help, Chris Shehan -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/
Re: Setting up SSH keys for password less connections for sftp
log in to the HPUX box as applmgr and run ssh-keygen as follows ssh-keygen -t rsa -N the quotes are important as this gives you a null passphrase It will generate id_rsa and id_rsa.pub files in $HOME/applmgr/.ssh/ copy $HOME/applmgr/.ssh/id_rsa.pub to $HOME/applmgr/.ssh/ authorized_keys2 move $HOME/applmgr/.ssh/id_rsa to the W2K box as c:\Documents and Settings\colibri\.ssh\applmgr_id_rsa on the W2K Box set the permissions on the applmgr_id_rsa file to u=rw, g=none,o=none by chmod 0600 .ssh/applmgr_id_rsa ssh -i applmgr_id_rsa [EMAIL PROTECTED] If I recall, the first time it prompts you for a password and generates the known hosts file. Thereafter it should be passwordless. The id_rsa file does not have to be named applmgr_id_rsa, I only did that for clarity, just make sure the filename matches the filename given by the -i option to ssh It's been a while since I've done this, but this is correct to the best of my memory. Chris Shehan wrote: Good Afternoon, Thanks for your response. I have tried to work through both you answer and the solution you provided in the web link. So far I am still unable to get the passwordless connection to work. Here is my setup: Windows 2000 server. Windows user name is colibri. I have generated the RSA keys which were created in the c:\Documents and Settings\colibri\.ssh directory (id_rsa id_rsa.pub). The user that I wish to connect to on the HP UX server is applmgr. So I take the id_rsa.pub file and copy it to the HPUX server. It was placed in the /u02/app/applmgr/.ssh directly and named authorized_keys. Supposedly once this is done I should be able to connect to the HPUX server from the Windows server as applmgr via ssh or sftp (example : sftp [EMAIL PROTECTED] ) without being asked for a password... correct? I am still prompted for a password. Or is this process assuming that I have identical users on both servers with identical passwords? I am sure this is a very simple setup and that I am missing something simple. Please help me clarify the situation and/or point out my problem. Thanks again for you help, Chris Shehan -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/
Re: Cygwin function for getting the current directory?
I am assuming that English is not your first language. Cygwin-function doesn't really have a meaning. Cygwin is a POSIX emulation layer for Windows. I am inferring from the phrase Win32's GetCurrentDirectory() that you are programming in some compiled language, most likely C or C++. If the above assumptions are true then you probably need to download some development documentation. You probably want the man page for getcwd(). A good place to start reading would be the cygwin website. Especially parts about problems, asking questions, the cygwin API, and programming questions. Good Luck Mikael Ă…sberg wrote: What's a Cygwin-function for getting the current directory? I don't want to use Win32's GetCurrentDirectory(), becuase I am developing a program that I want to be able to port to Linux with smallest possible effort. What part of Cygwin's documentation have I failed to notice since I couldn't answer this question myself? Thanks for any help! -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/
Re: -multiwindow crash under XP
A cursory search of the cygwin-xfree mailing list would have returned http://sources.redhat.com/ml/cygwin-xfree/2004-06/msg00100.html (and more) which talks about a variety of reasons for X failing including mounts, firewalls, and others. If you have already read and followed these suggestions, knowing this would have helped, as would reading and following http://www.cygwin.com/problems.html fullejr wrote: Hello, I am running the most recent version of the cygwin package under Windows XP. Everytime I try to start an Xwin session in -multiwindow mode my Cygwin-X crashes. This is where the hang-up occurs: (WM) /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 0007 winSetEngine - Multi Window or Rootless = ShadowGDI winAdjustVideoModeShadowGDI - Using Windows display depth of 32 bits per pixel winAllocateFBShadowGDI - Creating DIB with width: 1280 height: 960 depth: 32 winFinishScreenInitFB - Masks: 00ff ff00 00ff winInitVisualsShadowGDI - Masks 00ff ff00 00ff 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 Thanks for any help.
Re: fltk compilation error
I am unable to determince what the error is, not knowing anything about gcc, fltk or fltk-config the following command produces a gui executable (at least for this trivial example) which prints Hello World to the console when Open is selected from the File menu. gcc test.cxx -lfltk -lstdc++ Please advise. Reid Thompson wrote: I'm hoping someone can help me correct the issue causing the error listed below. I've attached minimal files to reproduce the error. Thanks, reid $ fltk-config --compile test.cxx gcc -mwindows -DWIN32 -o test test.cxx -mwindows /usr/lib/libfltk.a -lole32 -luuid -lcomctl32 -lwsock32 -lsupc++ In file included from /usr/include/w32api/windef.h:246, from /usr/include/w32api/windows.h:48, from /usr/include/FL/Fl_Preferences.H:30, from /usr/include/FL/Fl_File_Chooser.h:14, from test.cxx:5: /usr/include/w32api/winnt.h:2557: error: parse error before `+' token In file included from /usr/include/w32api/objbase.h:60, from /usr/include/w32api/ole2.h:9, from /usr/include/w32api/windows.h:111, from /usr/include/FL/Fl_Preferences.H:30, from /usr/include/FL/Fl_File_Chooser.h:14, from test.cxx:5: /usr/include/w32api/objidl.h:924: error: parse error before `+' token // generated by Fast Light User Interface Designer (fluid) version 1.0104 #ifndef test_h #define test_h #include FL/Fl.H #include FL/Fl_Double_Window.H #include FL/Fl_Menu_Bar.H extern void Open_CB(Fl_Menu_*, void*); extern Fl_Menu_Item menu_[]; #define File (menu_+0) #define Open (menu_+1) void Open_CB(Fl_Widget *, void * userdata); #endif // generated by Fast Light User Interface Designer (fluid) version 1.0104 #include test.h #include stdio.h #include FL/Fl_File_Chooser.H Fl_Menu_Item menu_[] = { {File, 0, 0, 0, 64, 0, 0, 14, 56}, {Open, 0, (Fl_Callback*)Open_CB, (void*)(0), 0, 0, 0, 14, 56}, {0}, {0} }; int main(int argc, char **argv) { Fl_Double_Window* w; { Fl_Double_Window* o = new Fl_Double_Window(222, 100); w = o; { Fl_Menu_Bar* o = new Fl_Menu_Bar(0, 0, 240, 25); o-menu(menu_); } o-end(); } w-show(argc, argv); return Fl::run(); } void Open_CB(Fl_Widget *, void * userdata) { if ((int*)userdata == 0) { printf(Hello, World!\n); } } # data file for the Fltk User Interface Designer (fluid) version 1.0104 header_name {.h} code_name {.cxx} decl {\#include stdio.h} {} decl {\#include FL/Fl_File_Chooser.h} {selected } Function {} {open } { Fl_Window {} {open xywh {26 59 222 100} type Double visible } { Fl_Menu_Bar {} {open xywh {0 0 240 25} } { submenu File { label File open xywh {0 0 100 20} } { menuitem Open { label Open user_data 0 callback Open_CB xywh {0 0 100 20} } } } } } Function {Open_CB(Fl_Widget *, void * userdata)} {open return_type {static void} } { code {if ((int*)userdata == 0) { printf(Hello, World!\\n); }} {} } -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/
Re: can't paste from Windows to X clients
just for grins, what happens with start XWin -multiwindow -clipboard -dpi 100 ? Andrew Schulman wrote: I run XWin.exe -multiwindow -clipboard -dpi 100 . I can copy and paste from X to Windows clients, but not from Windows to X clients. Windows to Windows and X to X copies also work fine. This is definitely not a problem of forgetting to press Ctrl-C. I do have some console messages that may be useful in identifying the problem. When I start XWin, I get the following on the console: --- Welcome to the XWin X Server Vendor: The Cygwin/X Project Release: 6.7.0.0-12 Contact: [EMAIL PROTECTED] XWin was started with the following command line: XWin -multiwindow -clipboard -dpi 100 _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 0007 winSetEngine - Multi Window or Rootless = ShadowGDI winAdjustVideoModeShadowGDI - Using Windows display depth of 32 bits per pixel winAllocateFBShadowGDI - Creating DIB with width: 1024 height: 704 depth: 32 winFinishScreenInitFB - Masks: 00ff ff00 00ff winInitVisualsShadowGDI - Masks 00ff ff00 00ff 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 winInitMultiWindowWM - Calling pthread_mutex_lock () winMultiWindowXMsgProc - Hello 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 shar ed memory support in the kernel (--) Setting autorepeat to delay=500, rate=31 (--) winConfigKeyboard - Layout: 0409 (0409) (--) Using preset keyboard for English (USA) (409), type 4 Rules = xorg Model = pc105 Layout = us Variant = (null) Options = (null ) Could not init font path element /usr/X11R6/lib/X11/fonts/TTF/, removing from li st! Could not init font path element /usr/X11R6/lib/X11/fonts/Speedo/, removing from list! Could not init font path element /usr/X11R6/lib/X11/fonts/Type1/, removing from list! Could not init font path element /usr/X11R6/lib/X11/fonts/CID/, removing from li st! Could not init font path element /usr/X11R6/lib/X11/fonts/100dpi/, removing from list! winPointerWarpCursor - Discarding first warp: 512 352 winInitMultiWindowWM - pthread_mutex_lock () returned. winMultiWindowXMsgProc - pthread_mutex_lock () returned. winMultiWindowXMsgProc - pthread_mutex_unlock () returned. winMultiWindowXMsgProc - DISPLAY=127.0.0.1:0.0 winInitMultiWindowWM - pthread_mutex_unlock () returned. winInitMultiWindowWM - DISPLAY=127.0.0.1:0.0 winProcEstablishConnection - Hello winInitClipboard () winProcEstablishConnection - winInitClipboard returned. winClipboardProc - Hello DetectUnicodeSupport - Windows NT/2000/XP winClipboardProc - DISPLAY=127.0.0.1:0.0 winInitMultiWindowWM - XOpenDisplay () returned and successfully opened the disp lay. winMultiWindowXMsgProc - XOpenDisplay () returned and successfully opened the di splay. winClipboardProc - XOpenDisplay () returned and successfully opened the display. winProcSetSelectionOwner - Clipboard not yet started, aborting. winProcSetSelectionOwner - Clipboard not yet started, aborting. --- The last 2 don't look good. And when I try to paste into the X client window, I get the following on my console: --- winMultiWindowXMsgProcErrorHandler - ERROR: BadValue (integer parameter out of range for operation) winMultiWindowXMsgProcErrorHandler - ERROR: BadValue (integer parameter out of r ange for operation) ---
Re: can't paste from Windows to X clients
I have this problem intermittently. It seems to only happen when I forget to hit Ctrl-C on the windows side. I forget that just highlighting the text isn't good enough after being spoiled on the X side. Andrew Schulman wrote: I run XWin.exe -multiwindow -clipboard -dpi 100 . I can copy and paste from X to Windows clients, but not from Windows to X clients. Windows to Windows and X to X copies also work fine. I know I've seen postings about this problem in the past, but I can't find anything recent about it and I don't know what the status is. The problem has persisted for me for a long time, on two different Windows XP boxes. Any help appreciated. cygcheck -svr is attached. Andrew.
Re: installing a window manager - help please
It's probably best to address things one at a time. Immediately after you do the install (i.e. before you make changes), what happens when you double-click startxwin.bat? [EMAIL PROTECTED] wrote: Hi, I'm feeling pretty frustrated and stupid at the moment, because after 3 days of installing/reinstalling cygwin, trying to install various window managers like fvwm, and trying the various configurations and start methods of same, I can't get so much as a basic window manager started with the ability to open a new xterm. Some configurations give me the seemingly infamous can't open display:localhost:0.0 (I've tried 127.0.0.1 also), whilst some will complain that there's another window manager running (I can't find anything in the task manager that would be another wm). I'm going a bit crazy here as there doesn't seem to be any step-by-step setup instructions (for cygwin AND a window manager) anywhere on the net that I can find. If this is wrong, please correct me. I've obviously read things like (http://x.cygwin.com/docs/ug/using-window-managers.html) which give the basic theory, i.e. you can't run more than one wm etc, but there doesn't seem to be anything explaining how to get a basic setup working BEFORE doing anything fancy with configurations. Alternatively, if there's somewhere that someone has a complete install zipped up that I could potentially grab and just run it, that'd be great. I realise this is all open-source software and I'm not moaning about anything other than my own lack of ability to get this working. Any help is appreciated. cheers, Ian
Re: using cygnome with x11
I'd first check that your .xinitrc is executable. Failing that: http://www.cygwin.com/problems.html dc wrote: Simple Question: How do I get a gnome-session to always start when I startx. I have set my path to include the x11/bin. I have made an ~/.xinitrc file containing exec gnome-session line. When I launch a cygwin terminal, and type: startx all I get is the default window manager [I think]. Strangely, I was able to launch a gnome session in this way, but only once! After I quit X11 i was never able to see a gnome session start with x11. Help would be appreciated. If you need more specs, please specify. Cheers, Dave
Re: installing a window manager - help please - answers to helpers questions
[EMAIL PROTECTED] wrote: Ok, thankyou to all the replies so far - I appreciate it very much. It's still not working but here are the answers to your questions: - From Ken Dibble - Immediately after you do the install (i.e. before you make changes), what happens when you double-click startxwin.bat? It starts X (I get the X in the toolbar) and a basic bash terminal window. - From Thomas Chadwick - Have you found/read this? http://x.cygwin.com/docs/ug/using.html#using-starting Yep, but all it says is the different ways of starting, none of which bring up a window manager with the ability to do things like spawn a new xterm. This is where I start to feel frustrated, because it seems that you're implying that this part of the guide tells you how to do that, but I can't for the life of me see where. -- From Fergus - edited for brevity 3. /usr/X11R6/bin/run /usr/X11R6/bin/XWin -nolisten local -multiwindow /bin/xterm -display localhost:0.0 Ok, I tried that, and what happens is that I get a background (i.e. the start of what might eventually become a window manager!) and then in a different Windows window I get an xterm. This xterm is also copied as an embedded xterm in the background, and I can type commands in either and they are reflected in the other. If I shut one then the other shuts. I can't right click on the background and create another xterm. Thanks again, and any other suggestions are very welcome, Ian I'm a little confused by the copying of xterms and the reflection of commands between xterms. what happens when you try xterm in a x-term window?
Re: X server hangs on startup
http://sources.redhat.com/ml/cygwin-xfree/2004-07/msg00192.html http://sources.redhat.com/ml/cygwin-xfree/2004-07/msg00181.html http://sources.redhat.com/ml/cygwin-xfree/2004-07/msg00161.html http://sources.redhat.com/ml/cygwin-xfree/2004-07/msg00158.html http://sources.redhat.com/ml/cygwin-xfree/2004-07/msg00150.html Edwin Goei wrote: When I run xinit.exe, the X server starts but hangs. I saw a thread that attributed this to Zonealarm which I am also using (version 5.1.011.000). I never saw a resolution to the problem. Is the workaround to use a different firewall program? If so, what firewall should I use? Thanks. -Edwin
Re: how can I set $REMOTEHOST ( so I can set $DISPLAY with sshd w\X11 forwarding)
I'm not 100 % sure what you are saying. Are you trying to say that the cygwin sshd does not respect the -X and -Y flags passed to the local ssh process? And that for the above named reason you are forced to manually set the DISPLAY variable? regards, ken peter waltman wrote: hi - trying to figure out how to set $REMOTEHOST when I ssh into a machine running cygwin's imp. of sshd. X11 forwarding works great when I set the $DISPLAY properly, but I'd like to have it done in the .bashrc file (by checking if the $REMOTEHOST var is set). I've tried looking through the startup scripts on both my cygwin install and a rh9 box, but can't find where it gets set. can anyone point me in the right direction? -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/
Re: GTK/pango etc.
One starting point is http://gladewin32.sourceforge.net/ They say that they have GTK+ 2.44 runtime for windows both with and separate from libglade. regards, ken Jani tiainen wrote: Is there version that is not compiled against X11 libraries (so it uses native Windows) available or do I have to compile GTK and such from source? Is there pointers where I find info about compiling non-X11 versions of GTK? -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/
Re: how can I set $REMOTEHOST ( so I can set $DISPLAY with sshd w\X11 forwarding)
peter waltman wrote: Ken Dibble kdibbleNOSPAM at alltel.net writes: I'm not 100 % sure what you are saying. Are you trying to say that the cygwin sshd does not respect the -X and -Y flags passed to the local ssh process? And that for the above named reason you are forced to manually set the DISPLAY variable? regards, ken peter waltman wrote: hi - trying to figure out how to set $REMOTEHOST when I ssh into a machine running cygwin's imp. of sshd. X11 forwarding works great when I set the $DISPLAY properly, but I'd like to have it done in the .bashrc file (by checking if the $REMOTEHOST var is set). I've tried looking through the startup scripts on both my cygwin install and a rh9 box, but can't find where it gets set. can anyone point me in the right direction? yeah. pretty much. I've set the ForwardX11 yes in the sshd_config file on the server I log into and I've also set it in the ssh_config with the client I'm using to log into it. and you sent the sshd a SIGHUP to re-read the config file after making the changes, right? piano{pwaltman}51: ssh -X grad107m [EMAIL PROTECTED]'s password: Last login: Fri Aug 6 19:16:42 2004 from lin04.eecs.tufts.edu [EMAIL PROTECTED] ~ $ echo $DISPLAY 127.0.0.1:0 even when I use the -X flag, it still set's my $DISPLAY to the above value and when I start an X11 app, like xterm, it ends up getting launched in the server's x-server and appears on the desktop of the server (grad107m). If I set the $DISPLAY to localhost:10.0, everything works fine and it appears on the client. not sure why, ergo the reason I want to use the $REMOTEHOST var as a means to check if I've ssh'd in remotely and then use something like if $?REMOTEHOST export DISPLAY=$REMOTEHOST:0.0 thanks for any ideas, Peter p.s. forgive the shell script syntax errors. I don't remember the exact script, but I've seen folks who've done it this way. -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/
perl 5.82 libwww 5.800 fails tests
I googled and couldn't find anything (or didn't use the correct words). I looked on cpan and perl.org and didn't see anything similiar. This doesn't happen on my debian woody machine (perl 5.6.1), so I don't know if it a perl thing or a cygwin-perl thing. This is my first go round with perl so be gentle :) cygcheck attached [EMAIL PROTECTED] ~/libwww-perl-5.800 Failed Test Stat Wstat Total Fail Failed List of Failed --- html/form-param.t 2 51224 48 200.00% 1-24 html/form.t 2 51297 194 200.00% 1-97 local/autoload-get.t11 100.00% 1 local/autoload.t11 100.00% 1 local/get.t 2 512 24 200.00% 1-2 local/http-get.t 206 30.00% 1-2 5-7 20 local/http.t 186 33.33% 1-2 5-7 18 robot/ua-get.t 82 25.00% 3 5 robot/ua.t 72 28.57% 3 5 Failed 9/30 test scripts, 70.00% okay. 141/730 subtests failed, 80.68% okay. make: *** [test] Error 14 Thanks, Ken Cygwin Configuration Diagnostics Current System Time: Fri Aug 06 06:50:46 2004 Windows XP Home Edition Ver 5.1 Build 2600 Service Pack 1 Path: .\ C:\cygwin\usr\sbin C:\cygwin\usr\local\sbin C:\cygwin\usr\local\bin .\ C:\cygwin\bin C:\cygwin\usr\X11R6\bin c:\WINDOWS\system32 c:\WINDOWS c:\WINDOWS\System32\Wbem c:\Program Files\Common Files\Adaptec Shared\System C:\cygwin\bin Output from C:\cygwin\bin\id.exe (nontsec) UID: 1006(kdibble) GID: 545(Users) 545(Users) Output from C:\cygwin\bin\id.exe (ntsec) UID: 1006(kdibble) GID: 545(Users) 513(None)544(Administrators) 545(Users) SysDir: C:\WINDOWS\System32 WinDir: C:\WINDOWS CYGWIN = `tty ntsec' HOME = `C:\cygwin\home\Ken Dibble' PWD = `/home/Ken Dibble' !EXITCODE = `' ALLUSERSPROFILE = `C:\Documents and Settings\All Users' APPDATA = `C:\Documents and Settings\Ken Dibble\Application Data' CLIENTNAME = `Console' COMMONPROGRAMFILES = `C:\Program Files\Common Files' COMPUTERNAME = `BECCOMPUTER' COMSPEC = `C:\WINDOWS\system32\cmd.exe' CYGWIN_ROOT = `\cygwin' DISPLAY = `127.0.0.1:0.0' EDITOR = `vim' HOMEDRIVE = `C:' HOMEPATH = `\Documents and Settings\Ken Dibble' JAVA_HOME = `/cygdrive/c/program files/j2sdk_nb/j2sdk1.4.2' KDEHOME = `C:\Documents and Settings\Ken Dibble\Application Data' LOGNAME = `kdibble' LOGONSERVER = `\\BECCOMPUTER' NUMBER_OF_PROCESSORS = `1' OLDPWD = `/home/Ken Dibble/libwww-perl-5.800' OS = `Windows_NT' PATHEXT = `.COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH' PROCESSOR_ARCHITECTURE = `x86' PROCESSOR_IDENTIFIER = `x86 Family 6 Model 8 Stepping 0, AuthenticAMD' PROCESSOR_LEVEL = `6' PROCESSOR_REVISION = `0800' PROGRAMFILES = `C:\Program Files' PROMPT = `$P$G' PS1 = `\[\033]0;\w\007 [EMAIL PROTECTED] \[\033[33m\w\033[0m\] $ ' SESSIONNAME = `Console' SHLVL = `1' SYSTEMDRIVE = `C:' SYSTEMROOT = `C:\WINDOWS' TEMP = `c:\DOCUME~1\KENDIB~1\LOCALS~1\Temp' TERM = `xterm' TERMCAP = `xterm-r6|xterm|xterm X11R6 version:am:km:mi:ms:xn:co#80:it#8:li#24:AL=\E[%dL:DC=\E[%dP:DL=\E[%dM:DO=\E[%dB:LE=\E[%dD:RI=\E[%dC:UP=\E[%dA:ae=^O:al=\E[L:as=^N:bl=^G:cd=\E[J:ce=\E[K:cl=\E[H\E[2J:cm=\E[%i%d;%dH:cr=^M:cs=\E[%i%d;%dr:ct=\E[3g:dc=\E[P:dl=\E[M:do=^J:ei=\E[4l:ho=\E[H:im=\E[4h:is=\E7\E[r\E[m\E[?7h\E[?1;3;4;6l\E[4l\E8\E:k1=\EOP:k2=\EOQ:k3=\EOR:k4=\EOS:k5=\E[15~:k6=\E[17~:k7=\E[18~:k8=\E[19~:k9=\E[20~:kD=\E[3~:kI=\E[2~:kN=\E[6~:kP=\E[5~:kd=\EOB:ke=\E[?1l\E:kh=\E[1~:kl=\EOD:kr=\EOC:ks=\E[?1h\E=:ku=\EOA:le=^H:md=\E[1m:me=\E[m:mr=\E[7m:nd=\E[C:rc=\E8:sc=\E7:se=\E[m:sf=^J:so=\E[7m:sr=\EM:ta=^I:te=\E[2J\E[?47l\E8:ti=\E7\E[?47h:ue=\E[m:up=\E[A:us=\E[4m:kb=\010:' TMP = `c:\DOCUME~1\KENDIB~1\LOCALS~1\Temp' TZ = `CST6CDT5,M4.1.0/2,M10.5.0/2' USERDOMAIN = `BECCOMPUTER' USERNAME = `Ken Dibble' USERPROFILE = `C:\Documents and Settings\Ken Dibble' WINDIR = `C:\WINDOWS' WINDOWID = `8388622' XAPPLRESDIR = `/usr/X11R6/lib/X11/app-defaults' XCMSDB = `/usr/X11R6/lib/X11/Xcms.txt' XKEYSYMDB = `/usr/X11R6/lib/X11/XKeysymDB' XNLSPATH = `/usr/X11R6/lib/X11/locale' _ = `/usr/bin/cygcheck' POSIXLY_CORRECT = `1' HKEY_CURRENT_USER\Software\Cygnus Solutions HKEY_CURRENT_USER\Software\Cygnus Solutions\Cygwin HKEY_CURRENT_USER\Software\Cygnus Solutions\Cygwin\mounts v2 (default) = `/cygdrive' cygdrive flags = 0x0022 HKEY_CURRENT_USER\Software\Cygnus Solutions\Cygwin\Program Options HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\Cygwin HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\Cygwin\mounts v2 (default) = `/cygdrive' cygdrive flags = 0x002a HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\Cygwin\mounts v2\/ (default) = `C:\cygwin' flags = 0x000a HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\Cygwin\mounts v2\/usr/bin (default) = `C:\cygwin/bin' flags = 0x000a HKEY_LOCAL_MACHINE\SOFTWARE
Re: perl 5.82 libwww 5.800 fails tests
Responding to both of Gerrit's posts below Gerrit P. Haase wrote: Ken wrote: I googled and couldn't find anything (or didn't use the correct words). I looked on cpan and perl.org and didn't see anything similiar. This doesn't happen on my debian woody machine (perl 5.6.1), so I don't know if it a perl thing or a cygwin-perl thing. This is my first go round with perl so be gentle :) cygcheck attached There I see: HOME = `C:\cygwin\home\Ken Dibble' PWD = `/home/Ken Dibble' Maybe it is a problem with the space in your HOME path? Gerrit G. /home/kdibble has always been a link to /home/Ken Dibble for this reason I neglected to cd ../kdibble this fixes the test problem. to try and make sure this doesn't happen again, I changed /etc/passwd but. $ grep kdibble /etc/passwd kdibble:unused_by_nt/2000/xp:1006:545:U-BECCOMPUTER\Ken Dibble,S-1-5-21-3608352237-884828134-1278401143-1006:/home/kdibble:/bin/bash $ cygcheck -s -v -r | grep home HOME = `C:\cygwin\home\Ken Dibble' PWD = `/home/kdibble' OLDPWD = `/home/kdibble' $ echo $HOME /home/kdibble So obviously there is something weird going on, any idea why cygcheck says home is one thing, but bash says it is another? Have you used the CPAN shell (just call `cpan` in a bash shell)? Well, I tried. I only installed perl this AM and already the cpan shell is telling me that it recommends that I update a bunch of packages (some of which I only installed this morning, using www.cpan.org to find the modules and download them. Being a perl newbie (this AM was my first explicit try at using it), I bailed on cpan quickly. Thanks for all your help. Ken -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/
Re: perl 5.82 libwww 5.800 fails tests
Larry Hall wrote: At 11:05 AM 8/6/2004, you wrote: $ cygcheck -s -v -r | grep home HOME = `C:\cygwin\home\Ken Dibble' PWD = `/home/kdibble' OLDPWD = `/home/kdibble' $ echo $HOME /home/kdibble So obviously there is something weird going on, any idea why cygcheck says home is one thing, but bash says it is another? Simple. 'cygcheck' reports the settings in your Windows environment while 'bash' reports the Cygwin version. This is normal. that's a relief. thanks. -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/
Re: man error
This might be a good place to start: http://cygwin.com/problems.html yvb wrote: Hello, I can't use man command. When I try to running for example: man ls I get this error: locale: not found /usr/bin/nroff: invalid option -c I am running XP Home and the latest version of Cygwin. Thanks Yury -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/
Re: XWin on Windows 98 unreliable
These are some of the things I have heard people complain about: the entry 127.0.0.1 localhost is not in /etc/hosts file Are you configured to use a proxy server? (AOL ?) Do you have multiple network interfaces enabled? Do you have a network drive mapped to your computer? Are you using Trumpet Winsock? If you are using any personal firewall, disabling it is not sufficient, it must be removed, as it modifies the IP stack. Hope one of these works. Ken Christopher G D Tipper wrote: Dear List, I am somewhat exhausted by this issue, but I feel it ought to come to the attention of the development team. Basically I wanted to run TCM on my Windows 98 console and found myself spending many happy hours downloading over 100MB of cygwin. I don't think there is anything special about my environment. I like to keep a tight ship, and I don't need ZoneAlarm or any special firewall on a dial-up connection. Norton is disabled and I just scan files religiously when the need arises. But I find the X-Server refuses to load unless I have a working dial-up link. It just gets stuck after the following trace (below). On three occasions it has worked, and I've been able to (briefly) use TCM. Even so I only get a 50% success rate. Below I use the system information applet to provide a list of 32-bit internet related modules I am currently using (as I type this). Non of these seem to be unloaded when dial-up is disconnected. I have very few third-party DLLs in memory--Microsoft modules about 90%, some Diamond graphics drivers, and drivers for my peripherals, plus any programs I happen to be using. There is nothing special about my environment. WSOCK32.DLL 4.10.1998 Microsoft Corporation BSD Socket API for Windows C:\WINDOWS\SYSTEM\WSOCK32.DLL 29-04-1998 16:05:12 GMT Microsoft(R) Windows(R) Operating System 7881 - 7881a000 MSWSOCK.DLL 4.10.1998 Microsoft Corporation Microsoft WinSock Extension APIs C:\WINDOWS\SYSTEM\MSWSOCK.DLL 29-04-1998 16:04:37 GMT Microsoft(R) Windows(R) Operating System 7b12 - 7b135000 WS2_32.DLL 4.10.1998 Microsoft Corporation Windows Socket 2.0 32-Bit DLL C:\WINDOWS\SYSTEM\WS2_32.DLL 29-04-1998 16:05:12 GMT Microsoft(R) Windows(R) Operating System 7886 - 78872000 WININET.DLL 6.00.2600. Microsoft Corporation Internet Extensions for Win32 C:\WINDOWS\SYSTEM\WININET.DLL 18-08-2001 05:34:00 GMT Microsoft® Windows® Operating System 7020 - 70294000 MSAFD.DLL 4.10.1998 Microsoft Corporation Microsoft Windows Sockets 2.0 Service Provider C:\WINDOWS\SYSTEM\MSAFD.DLL 29- 04-1998 16:04:28 GMT Microsoft(R) Windows(R) Operating System 7c11 - 7c11b000 WS2HELP.DLL 4.10.1998 Microsoft Corporation Windows Socket 2.0 Helper for Windows 98 C:\WINDOWS\SYSTEM\WS2HELP.DLL 29- 04-1998 16:05:12 GMT Microsoft(R) Windows(R) Operating System 7885 - 78856000 I have used this machine as a development platform with Apache, MySQL and Tomcat running with no problems accessing 'localhost' (yes on Windows 98!). So I can only assume Cygwin/X is very picky and is not really release code. I now have TCM on my Linux partition, so thanks for pointing it out. Christopher Tipper $ startxwin.sh Welcome to the XWin X Server Vendor: The Cygwin/X Project Release: 6.7.0.0-11 $ Contact: [EMAIL PROTECTED] XWin was started with the following command line: XWin -multiwindow -clipboard -silent-dup-error -emulate3buttons 200 (WW) /tmp mounted int textmode 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 95/98/Me winDetectSupportedEngines - DirectDraw installed winDetectSupportedEngines - DirectDraw4 installed winDetectSupportedEngines - Returning, supported engines 0007 winSetEngine - Multi Window or Rootless = ShadowGDI winAdjustVideoModeShadowGDI - Using Windows display depth of 24 bits per pixel winAllocateFBShadowGDI - Creating DIB with width: 1024 height: 715 depth: 24 winQueryRGBBitsAndMasks - GetDeviceCaps (BITSPIXEL) returned 24 for the screen. Using default 24bpp masks. winFinishScreenInitFB - Masks: 00ff ff00 00ff winInitVisualsShadowGDI - Masks 00ff ff00 00ff BPRGB 8 d 24 bpp 24 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 ...forever o00o Since light travels faster than sound, isn't that why some people appear bright until you hear them speak - Steve Wright
Mkdir: command not found?
Start by reading and following the instructions here: http://cygwin.com/problems.html Joe Bungo wrote: Hello Im trying to play with GNU tools, and Im having trouble getting started. I havent really played in a unix environment in years. Have you had a chance to use them? Im just following along the pdf at http://www.microcross.com/gnu-arm7t-microcross.pdf, which says I should download Cygwin, which I've never used. You can download it from http://sources.redhat.com/cygwin/. Just trying to follow the first steps in that .pdf in Figure 1- Setting up the build environment, typing 'mkdir build-binutils' at the prompt in Cygwin gives 'bash: mkdir: command not found' Any ideas why I cant use this simple command? -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/
Re: Make not found
It would be helpful if you would read http://cygwin.com/problems.html and follow the directions therein. michael conrad wrote: Im trying to find/run make, I did a complete install of everthing, but make is not there. What am I doing wrong, how do I get it? mike conrad 408-395-6500 work 408-910-3438 cell -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/ -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/
Re: malloc debug?
I am unable to locate the package searching the cygwin packages (not that my being unable to find something means anything). I can tell you that dmalloc (on sourceforge) builds cleanly (requiring gcc and g++) and passes its self tests on my XP box. I am sure that someone better informed that I will come along and give you a definitive answer. regards, ken Sam Steingold wrote: Is any malloc/free debug library available for cygwin? (something like dmalloc, memdebug, mprof c c) Thanks. -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/
Re: Problem with display
Does the remote machine have X forwarding turned on? Wey Leong wrote: Hi, I used ssh -Y -l username remote_IP to connect to a remote machine. After login to remote machine, I tried to run xterm and fluent. But both gave me an error saying that Can't open display (please see attached JPEG and LOG files). Why? Am I missing something? Please help me to solve the problem. Thank you very much. Regards, Wey Leong Department of Mechanical Industrial Engineering Ryerson University
Re: The HOME variable
I just edited the appropriate fields in /etc/passwd. (first field and next to last field) Ken George wrote: Could someone enlighten me as to how to go about changing the defaults? Ideally, I'd like to be able to change the location of $HOME altogether, but more importantly my $USERNAME contains an unfortunate space and is causing me some grief. Thanks. -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/
Re: failing to compile expectk
Richard Lister wrote: Hi folks I'm trying to build a working expectk using the expect-20030128 source from cygwin. Tcl/Tk and expect build fine. I noted the following comment in the file expect-20030128-1/expect/Makefile.in: # XXX Temporarily commented out until expectk is working again. #X11_PROGS = @X_PROGS@ Nevertheless, I edited the Makefile and managed to compile expectk.exe, but it segfaults when run. Googling produces quite a few comments about how it is generally problematic to compile Tcl/Tk on cygwin. Has anyone had any success producing an expectk binary? Thanks Ric I'm sure you've probably already checked and considered DejaGnu. Could there be a hint in its' source about getting expectk to run? I know nothing of expectk or DejaGnu other than what is on the expect home page(http://expect.nist.gov/) and the gnu page(http://www.gnu.org/). Regards, Ken -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/
Re: exim issue
Joshua Daniel Franklin wrote: On Sat, 22 May 2004 14:07:27 -0500, Ken Dibble wrote: In the exim 4.32 source (spool_in.c) the following line causes an error condition if the user who instantiated the exim process has a space in their name. if (sscanf(CS big_buffer, %s %ld %ld, originator, uid, gid) != 3) goto SPOOL_FORMAT_ERROR; I'm sure a workaround is obvious, I just can't see it. One quick workaround is to edit /etc/passwd and change your space-containing username to something without a space. Yes, that works, thanks. Ken -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/
exim issue
I know this isn't a cygwin only problem, but my research has failed to produce an instance of this ever happening. Common sense says it is just more likely to happen in a NT/XP environment with cygwin. For reference, this is exim 4.32, downloaded last week. In the exim 4.32 source (spool_in.c) the following line causes an error condition if the user who instantiated the exim process has a space in their name. if (sscanf(CS big_buffer, %s %ld %ld, originator, uid, gid) != 3) goto SPOOL_FORMAT_ERROR; I'm sure a workaround is obvious, I just can't see it. Thanks, Ken -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/
Re: problems with cygwin
Tarun Sharma wrote: Hi I have just installed cygwin on my Win XP system. But when I try to start windowmaker then it justs says cant start x-server at 127.0.0.1:0.0 . I tried few more things but couldnt succeed. Ihe porblem I am thinking is related to some configuration. I also tried to run XWin. which is running.And xterm can be connected to this. Can anybody help me in this problem. Are you using the startXWin.bat file? Trying to run multiple window managers concurrently? If memory serves the people in this list usually refer you to the cygwin-xfree mailing list. (per http://cygwin.com/lists.html) Some other question I want to ask is : 1. Can we have different users for cygwin. Because it just added one icon in start menu by which I can just run cygwin's bash shell. Yes 2. Some of the commands like more is not working on my system. I tried to search it in /usr/bin but its not there. per Larry Hall: I expect you really want 'less' but either way, visit http://cygwin.com/packages/ to determine the package you should install to get the utility you want. This works for all utilities. ;-) -- Please update me about these problems regards -tarun Proper problem reporting here: http://cygwin.com/problems.html -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/
Re: postgres help
Jason House wrote: I've gone through all the steps to set up postgreSQL on windows XP. I have updated permissions (to /tmp /usr/bin /usr/bin/*), verified the system path variable, and verified that ipc and postmaster services have been started. I don't understand why I'm getting the following error: $ psql -U postgres template1 psql: could not connect to server: No such file or directory Is the server running locally and accepting connections on Unix domain socket /tmp/.s.PGSQL.5432? The error does not change if I log in as myself or as postgres. Any hints as to what to try would be greatly appreciated. At the risk of looking for the obvious, did you run createdb and check that the created database files have the correct permissions? Regards, Ken -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/
Re: gcc - static pointer initialization problem
Alan Cooley wrote: Hello, I am having a problem with a C program. It appears that static variables are not being initialized when in an object file. The program compiles and links fine but funcPtrStruct.ptr is null so program crashes. This program works using gcc on Linux and (as I understand the C language) should work anywhere. Thanks in advance for any explanation/corrections you can provide. Alan. FWIW: The cygwin list is probably not the best resource for resolving this. The program should crash. There are multiple problems here. My opinion is that variables should not be declared in header files. This leads to ambiguity when the header files declare variables which conflict with source files. My opinion is that all warnings should be turned on all the time. Had CFLAGS been declared to be -g -O -Wall the following would have resulted: $ make gcc -g -O -Wall -c -o static_function_ptr_def.o static_function_ptr_def.c static_function_ptr_def.c: In function `func': static_function_ptr_def.c:4: warning: implicit declaration of function `printf' static_function_ptr_def.c: At top level: static_function_ptr_def.c:8: conflicting declarations of `funcPtrStruct' static_function_ptr_def.h:10: `funcPtrStruct' previously declared here static_function_ptr_def.h:10: warning: `funcPtrStruct' defined but not used make: *** [static_function_ptr_def.o] Error 1 Which would have given a clue that something wasn't right. That this program ever worked anywhere in any context is probably an accident (and maybe a linker bug?). When static_function_ptr.c compiled it rightly picked up funcPtrStruct from the header file whis is not initialized. When static_function_ptr_def.c compiled it picked up funcPtrStruct(which is not initialized) from the header file which conflicts with funcPtrStruct(which is initialized) that it declares. In any event the funcPtrStruct in static_function_ptr_def.c is never used (and shouldn't be). Bottom line, bad programming, correct result. Regards, Ken -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/
Re: find -exec oddity
Randall R Schulz wrote: Ken, At 16:38 2003-07-07, Ken Dibble wrote: Ok, I'm an idiot. I've looked in the FAQ, searched the mail lists and checked sundry Unix sources (no, not the source code). Well, I doubt greatly that you're an idiot. Confusion is the prelude to enlightenment, after all... (Compare that with Eudora whose mood watch feature seems to think the first sentence of the previous paragraph is some kind of insult!) However, we'd all appreciate it if you'd figure out how to use your mail client to make sure text attachments are not placed in-line with the message content. Not to do so defeats the purpose of attaching the cygcheck output, which is to make list searching meaningful by preventing the false hits that occur because of all the package and file names that are included in the cygcheck output. I can't make sense of this. $ find ./ -mtime -1 -print | wc -l 55 $ find ./ -mtime -1 -ls | wc -l 55 $ find ./ -mmin -1440 -ls | wc -l 55 $ find ./ -mtime -1 -exec ls -l '{}' \; | wc -l 2046 Look carefully at the man page for find where the -ls option is described. It says that -ls is equivalent to running ls with the options -dils. The salient option here is -d which suppresses the listing of a directory's contents when a directory is an explicit argument to ls. You're not including -d in your invocation of ls, so every directory produced by find contributes its entire contents to the output of ls that is subsequently counted by wc -l. $ find ./ -mtime -1 -exec ls -l {} \; | wc -l 2046 $ find ./ -mmin -1440 -exec ls -l {} \; | wc -l 2046 and just for grins $ find ./ -print | wc -l 31701 $ find ./ -mtime -10 -print | wc -l 285 $ find ./ -mtime -100 -print | wc -l 15590 The oddity (bug?) appears to be tied to -exec somehow. No. The -exec option is doing just what you ask and just what it should. Attached is cygcheck -c -v -s. As above. I can't attach the file lists (unpiped find output) as the message size then exceeds 100K and the redhat mailserver bounces it. No matter. It's not needed. Any help would be appreciated. I hope my assumption about the problem is correct (file count discrepancies), since you didn't really say what it was that perplexed you. My mistake on the attachment, it was originally sent as an attachment, along with the file lists, unfortunately the whole message bounced for size. Your assumption about directories is a good guess, however seemingly only partially correct. Here is the output today: $ find ./ -mtime -1 -print ./ ./files to backup.txt ./idiot.txt and $ find ./ -mtime -1 -print -exec ls -l '{}' \; ./ total 6195 drwx--+ 3 Ken Dibb None0 Jun 25 07:19 Ad Aware -rwx--+ 1 Ken Dibb None 981 Apr 22 09:34 Belarc Advisor Current rofile.txt drwx--+ 3 Ken Dibb None0 Jun 25 07:19 CVS drwx--+ 2 Ken Dibb None0 Jun 25 07:54 Corel User Files drwx--+ 2 Ken Dibb None0 Jun 25 07:32 DMTEdit drwx--+ 3 Ken Dibb None0 Jun 25 07:32 Free Agent drwx--+ 2 Ken Dibb None0 Jun 25 07:33 Mac Desktop drwx--+ 2 Ken Dibb None0 Jun 30 11:48 My Archives dr-x--+ 2 Ken Dibb None0 Jun 25 07:33 My Music dr-x--+ 2 Ken Dibb None0 Jun 25 07:33 My Pictures drwx--+ 2 Ken Dibb None0 Jan 28 19:28 My eBooks drwx--+ 3 Ken Dibb None0 Jun 25 07:21 TransMac -rwx--+ 1 Ken Dibb None 234752 Apr 19 08:00 all-nbuser-faqs.html -rwx--+ 1 Ken Dibb None22672 Apr 24 20:01 alpha roster.wpd -rwx--+ 1 Ken Dibb None 4295398 May 30 07:21 bad_modem.wav -rwx--+ 1 Ken Dibb None 5396 Jun 27 11:57 create_studentdata_db. t -rwx--+ 1 Ken Dibb None 5365 Jun 14 14:19 create_studentdata_db. t~ -rwx--+ 1 Ken Dibb None 322424 May 6 13:59 cygwin-xfree-ug.pdf -rwx--+ 1 Ken Dibb None 81 Mar 30 13:56 desktop.ini drwx--+ 3 Ken Dibb None0 Jun 27 02:36 disclib -rwx--+ 1 Ken Dibb None 6336 Apr 9 10:13 dish_list.rtf drwx--+ 2 Ken Dibb None0 Jun 25 07:32 dmtlink -rwx--+ 1 Ken Dibb None 356 Jun 27 12:26 drop_data.txt -rwx--+ 1 Ken Dibb None 369749 Jul 1 10:20 eclipse-overview.pdf -rw-r--r--1 Ken Dibb None 55 Jul 7 14:02 files to backup.txt drwx--+ 2 Ken Dibb None0 Jun 25 07:33 ftp commander -rwx--+ 1 Ken Dibb None 301 Jul 6 20:29 ftp_scripts.txt -rwx--+ 1 Ken Dibb None 828 Jul 7 12:35 idiot.txt -rwx--+ 1 Ken Dibb None33768 May 30 07:43 javalicious.pdf -rwx--+ 1 Ken Dibb None 438533 May 31 10:17 jfreereport-0.8.3-intr pdf -rwx--+ 1 Ken Dibb None10874 Jul 6 06:14 martin.zip -rwx--+ 1 Ken Dibb None 98 Jun 30 17:54 md5s.txt -rwx--+ 1 Ken Dibb None 1728 Apr 8 20
Re: find -exec oddity
Brian Dessent wrote: Ken Dibble wrote: As you can see, there are indeed some directories, but a whole bunch of files which shouldn't be there as well. The big question now is why are some files considered directories? I don't see the confusion here. You're feeding to ls -l the parameters ./ , ./files to backup.txt , and ./idiot.txt which are the results of find. ./ is a directory, so ls prints its contents not its name, that's why you see listings for all the files in the current directory, followed by listings for files to backup.txt and idiot.txt. When you add -d to ls, you get just three lines of output, corresponding to the three things that find found. How is this confusing? Brian, Like I said, I'm an idiot. It did not occur to me that ./ was being passed to ls and that ls was just doing what it was told and listing the entire directory. Thanks for helping me out. Regards, Ken -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/
find -exec oddity
5.8.0-3 pkgconfig 0.15.0-1 popt1.6.4-4 postgresql 7.3.3-1 procps 010801-2 python 2.2.3-2 rcs 5.7-3 readline4.3-2 rebase 2.2-2 rxvt2.7.10-3 sed 4.0.7-1 sh-utils2.0.15-3 sunrpc 4.0-1 sysvinit2.84-3 tar 1.13.25-1 tcltk 20030214-1 tcp_wrappers7.6-1 termcap 20020930-1 terminfo5.3-2 tetex-devel 2.0.2-1 texinfo 4.2-4 textutils 2.0.21-1 tiff3.6.0-1 ucl 1.01-1 unzip 5.50-2 w32api 2.3-1 which 1.5-1 WindowMaker 0.80.0-2 xerces-c2.3.0-2 XFree86-base4.2.0-1 XFree86-bin 4.2.0-3 XFree86-doc 4.2.0-1 XFree86-etc 4.2.0-1 XFree86-f1004.2.0-2 XFree86-fcyr4.2.0-2 XFree86-fenc4.2.0-2 XFree86-fnts4.2.0-2 XFree86-fscl4.2.0-2 XFree86-fsrv4.2.0-1 XFree86-html4.2.0-1 XFree86-jdoc4.2.0-1 XFree86-lib 4.2.0-5 XFree86-man 4.2.0-1 XFree86-nest4.2.0-1 XFree86-prog4.2.0-1 XFree86-prt 4.2.0-1 XFree86-ps 4.2.0-1 XFree86-startup-scripts 4.2.0-5 XFree86-vfb 4.2.0-1 XFree86-xserv 4.2.0-42 XFree86-xwinclip4.2.0-8 xpm-nox 4.2.0-1 zip 2.3-2 zlib1.1.4-1 Cygwin Win95/NT Configuration Diagnostics Current System Time: Mon Jul 07 12:33:34 2003 Windows XP Home Edition Ver 5.1 Build 2600 Service Pack 1 Path:. C:\cygwin\usr\sbin C:\cygwin\usr\local\sbin C:\cygwin\usr\local\bin C:\cygwin\usr\local\bin C:\cygwin\bin C:\cygwin\bin c:\WINDOWS\system32 c:\WINDOWS c:\WINDOWS\System32\Wbem c:\Program Files\Common Files\Adaptec Shared\System C:\cygwin\usr\X11R6\bin C:\cygwin\bin\id.exe output (nontsec) UID: 1006(KenGID: le) (None) groups=513(None) C:\cygwin\bin\id.exe output (ntsec) UID: 1006(KenGID: le) (None) groups=513(None) 544(Administrators) 545(Users) SysDir: C:\WINDOWS\System32 WinDir: C:\WINDOWS HOME = `C:\cygwin\home\Ken Dibble' MAKE_MODE = `unix' PWD = `/' USER = `Ken Dibble' ALLUSERSPROFILE = `C:\Documents and Settings\All Users' APPDATA = `C:\Documents and Settings\Ken Dibble\Application Data' CLIENTNAME = `Console' COMMONPROGRAMFILES = `C:\Program Files\Common Files' COMPUTERNAME = `BECCOMPUTER' COMSPEC = `C:\WINDOWS\system32\cmd.exe' CVS_RSH = `/bin/ssh' CYGWIN_ROOT = `\cygwin' EDITOR = `gvim' HOMEDRIVE = `C:' HOMEPATH = `\Documents and Settings\Ken Dibble' HOSTNAME = `BECCOMPUTER' JAVA_HOME = `/cygdrive/c/program files/j2sdk_nb/j2sdk1.4.2' KDEDIR = `C:\cygwin\opt\kde3' KDEHOME = `C:\Documents and Settings\Ken Dibble\Application Data' LOGONSERVER = `\\BECCOMPUTER' LTDL_LIBRARY_PATH = `C:\cygwin\opt\kde3\lib;C:\cygwin\opt\kde3\lib\kde3' MANPATH = `:/usr/ssl/man' NUMBER_OF_PROCESSORS = `1' OLDPWD = `/cygdrive/c/Documents and Settings/Ken Dibble/My Documents' OS = `Windows_NT' PATHEXT = `.COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH' PROCESSOR_ARCHITECTURE = `x86' PROCESSOR_IDENTIFIER = `x86 Family 6 Model 8 Stepping 0, AuthenticAMD' PROCESSOR_LEVEL = `6' PROCESSOR_REVISION = `0800' PROGRAMFILES = `C:\Program Files' PROMPT = `$P$G' PS1 = `\[\033]0;\w\007 [EMAIL PROTECTED] \[\033[33m\w\033[0m\] $ ' SESSIONNAME = `Console' SHLVL = `1' SYSTEMDRIVE = `C:' SYSTEMROOT = `C:\WINDOWS' TEMP = `c:\DOCUME~1\KENDIB~1\LOCALS~1\Temp' TERM = `cygwin' TMP = `c:\DOCUME~1\KENDIB~1\LOCALS~1\Temp' USERDOMAIN = `BECCOMPUTER' USERNAME = `Ken Dibble' USERPROFILE = `C:\Documents and Settings\Ken Dibble' WINDIR = `C:\WINDOWS' _ = `/usr/bin/cygcheck' Use `-r' to scan registry a: fd N/AN/A c: hd NTFS 38162Mb 19% CP CS UN PA FC d: hd NTFS2439Mb 11% CP CS UN PA FC Seagate e: cd CDUDFRW 539Mb 52% CPUN DS#3 C:\cygwin / userbinmode C:\cygwin/bin /usr/bin userbinmode C:\cygwin/lib /usr/lib userbinmode . /cygdrive user binmode,cygdrive C:\cygwin\usr\X11R6\lib\X11\fonts /usr/X11R6/lib/X11/fonts system binmode . /cygdrive system binmode,cygdrive Found: C:\cygwin\bin\awk.exe Found: C:\cygwin\bin\bash.exe Found: C:\cygwin\bin\cat.exe Found: C:\cygwin\bin\cp.exe Found: C:\cygwin\bin\cpp.exe Found: C:\cygwin\bin\find.exe Found: C:\cygwin\bin\gcc.exe Found: C:\cygwin\bin\gdb.exe Found: C:\cygwin\bin\grep.exe Found: C:\cygwin\bin\ld.exe Found: C:\cygwin\bin
Re: PostgreSQL 7.3.2 restart issue
Larry Hall wrote: Ken Dibble wrote: Larry Hall wrote: Ken Dibble wrote: It appears I've isolated the problem. I downloaded and installed 1.13 of the ipc-daemon. I am aware that this daemon has another issue, but if fixes my problem. Possibly when the XP Fast-Switch problem was fixed, another was introduced. Should I report this elsewhere as well? No, here is the proper place. Post the details and the information recommended at http://cygwin.com/problems.html. I thought that I had in the original post. What did I miss? OK, I've reread the thread again. You have posted the details in your original message. Any chance you could verify whether Fast-Switch problem is the cause of the issue you see? Perhaps just the results of strace may provide some insight too. Jason Tischler wrote: PostgreSQL 7.3.2-1 may have been built against an older cygipc, please try the latest version, PostgreSQL 7.3.3-1. Does it work any better for you? Jason I won't even pretend to know how to use strace. The problem appears to be related to a mismatch between cygipc versions and Postgresql versions. Here is what I believe to be accurate: Postgresql 7.3.2-1 works with cygipc 1.13 with the caveat of the Fast-Switch problem Postgresql 7.3.2.1 works with cygipc 1.14 with the caveat that it can only be started once per WindowsOS boot. Postgresql 7.3.3-1 appears to work correctly with cygipc 1.14. I don't know if this is true for other OS types/versions. I only know it is true for my machine (with the results of cygcheck in the original post). Thanks to both Larry Hall and Jason Tischler for getting me straightened out. Ken Dibble -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/
Re: PostgreSQL 7.3.2 restart issue
It appears I've isolated the problem. I downloaded and installed 1.13 of the ipc-daemon. I am aware that this daemon has another issue, but if fixes my problem. Possibly when the XP Fast-Switch problem was fixed, another was introduced. Should I report this elsewhere as well? Thanks, Ken -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/
Re: PostgreSQL 7.3.2 restart issue
Larry Hall wrote: Ken Dibble wrote: It appears I've isolated the problem. I downloaded and installed 1.13 of the ipc-daemon. I am aware that this daemon has another issue, but if fixes my problem. Possibly when the XP Fast-Switch problem was fixed, another was introduced. Should I report this elsewhere as well? No, here is the proper place. Post the details and the information recommended at http://cygwin.com/problems.html. I thought that I had in the original post. What did I miss? Thanks, Ken -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/
PostgreSQL 7.3.2 restart issue
Please bear with me as I'm pretty new to this. Configuration cygwin1.dll File version 1003.22.0.0 Product Version 1.3.22-dontuse-21 cygipc version 1.14-1 PostgreSql 7.3.2 prebuilt (in cygwin distribution) OS- WinXP Home CPU- Athlon XP 2000+ Memory 640MB physical 910MB virtual All current SP1 Hotfixes The first time the database is started all is well ( ipc-daemon then pg_ctl start -D /usr/local/pgsql/data -l server.log -o -i) After shutdown (pg_ctl -D /usr/local/pgsql/data stop -ms) Attempting to restart the database fails with: IpcMemoryCreate: shmget(key=5432001, size=1499136, 03600) failed: Function not implemented All of the emails on the mailing list that I have perused appear to indicate that this means the ipc-daemon is not running. This is not the case, it does not matter if I leave the daemon running after shutting down the database or stop it with kill -HUP and restart it. The result is the same error message. Rebooting allows you to start up the database, then the same behaviour is repeated. Thanks for your time. Ken Dibble Cygwin Win95/NT Configuration Diagnostics Current System Time: Fri Jun 06 21:55:36 2003 Windows XP Home Edition Ver 5.1 Build 2600 Service Pack 1 Path: C:\cygwin\usr\local\bin C:\cygwin\bin C:\cygwin\bin c:\WINDOWS\system32 c:\WINDOWS c:\WINDOWS\System32\Wbem c:\Program Files\Common Files\Adaptec Shared\System c:\Program Files\JavaSoft c:\Program Files\JavaSoft\jdk1.3.1_07\bin C:\cygwin\bin\id.exe output (nontsec) UID: 400(Ken GID: le) (mkpasswd) groups=401(mkpasswd) C:\cygwin\bin\id.exe output (ntsec) UID: 400(Ken GID: le) (mkpasswd) groups=401(mkpasswd) SysDir: C:\WINDOWS\System32 WinDir: C:\WINDOWS HOME = `c:\Documents and Settings\Ken Dibble' PWD = `/cygdrive/c/Documents and Settings/Ken Dibble/My Documents' ALLUSERSPROFILE = `C:\Documents and Settings\All Users' APPDATA = `C:\Documents and Settings\Ken Dibble\Application Data' COMMONPROGRAMFILES = `C:\Program Files\Common Files' COMPUTERNAME = `BECCOMPUTER' COMSPEC = `C:\WINDOWS\system32\cmd.exe' HOMEDRIVE = `C:' HOMEPATH = `\Documents and Settings\Ken Dibble' LOGONSERVER = `\\BECCOMPUTER' NUMBER_OF_PROCESSORS = `1' OLDPWD = `/cygdrive/c/Documents and Settings/Ken Dibble' OS = `Windows_NT' PATHEXT = `.COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH' PROCESSOR_ARCHITECTURE = `x86' PROCESSOR_IDENTIFIER = `x86 Family 6 Model 8 Stepping 0, AuthenticAMD' PROCESSOR_LEVEL = `6' PROCESSOR_REVISION = `0800' PROGRAMFILES = `C:\Program Files' PROMPT = `$P$G' SESSIONNAME = `Console' SHLVL = `1' SYSTEMDRIVE = `C:' SYSTEMROOT = `C:\WINDOWS' TEMP = `c:\DOCUME~1\KENDIB~1\LOCALS~1\Temp' TERM = `cygwin' TMP = `c:\DOCUME~1\KENDIB~1\LOCALS~1\Temp' USERDOMAIN = `BECCOMPUTER' USERNAME = `Ken Dibble' USERPROFILE = `C:\Documents and Settings\Ken Dibble' WINDIR = `C:\WINDOWS' _ = `/usr/bin/cygcheck' HKEY_CURRENT_USER\Software\Cygnus Solutions HKEY_CURRENT_USER\Software\Cygnus Solutions\Cygwin HKEY_CURRENT_USER\Software\Cygnus Solutions\Cygwin\mounts v2 HKEY_CURRENT_USER\Software\Cygnus Solutions\Cygwin\Program Options HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\Cygwin HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\Cygwin\mounts v2 (default) = `/cygdrive' cygdrive flags = 0x0022 HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\Cygwin\mounts v2\/ (default) = `C:\cygwin' flags = 0x000a HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\Cygwin\mounts v2\/usr/bin (default) = `C:\cygwin/bin' flags = 0x000a HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\Cygwin\mounts v2\/usr/lib (default) = `C:\cygwin/lib' flags = 0x000a HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\Cygwin\mounts v2\/usr/X11R6/lib/X11/fonts (default) = `C:\cygwin\usr\X11R6\lib\X11\fonts' flags = 0x000a HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\Cygwin\Program Options a: fd N/AN/A c: hd NTFS 38162Mb 21% CP CS UN PA FC d: cd CDUDFRW 539Mb 51% CPUN Backup#2 C:\cygwin / system binmode C:\cygwin/bin /usr/bin system binmode C:\cygwin/lib /usr/lib system binmode C:\cygwin\usr\X11R6\lib\X11\fonts /usr/X11R6/lib/X11/fonts system binmode . /cygdrive system binmode,cygdrive Found: C:\cygwin\bin\awk.exe Found: C:\cygwin\bin\bash.exe Found: C:\cygwin\bin\cat.exe Found: C:\cygwin\bin\cp.exe Found: C:\cygwin\bin\cpp.exe Found: C:\cygwin\bin\find.exe Found: C:\cygwin\bin\gcc.exe Not Found: gdb Found: C:\cygwin\bin\grep.exe Found: C:\cygwin\bin\ld.exe Found: C:\cygwin\bin\ls.exe Found: C:\cygwin\bin\make.exe Found: C:\cygwin\bin\mv.exe Found: C:\cygwin\bin\rm.exe Found: C:\cygwin\bin\sed.exe Found: C:\cygwin\bin\sh.exe Found: C:\cygwin\bin\tar.exe