newbie: Vista Startup Issues...
I am having two main problems starting xwin on vista RTM. From searching some things seem similar but also different. From what I found I did not see any real solutions and some of the things I didn't understand (the addressing and the other version 1.5.23 info). Below are my issues, any help would be appreciated. System Setup: Vista RTM avast! (since I found many posts talking about virus protection) standard Vista Firewall Windows Defender I just used cygwin setup and pointed to an FTP server. Nothing additional installed. connecting to my Mandriva 2006 box in the house. Issues 1. X always seems to start, but my xterm doesn't. I usually have to reboot to get it to start. If it does start, everything works fine. 2. When I go to right click and kill X, it doesn't stop. Then I can never right click again. I have to go to task manager to kill it. I do not appear to be getting the 100% CPU that I found in other threads. Xwin.log _XSERVTransmkdir: ERROR: euid != 0,directory /tmp/.X11-unix will not be created. (II) XF86Config is not supported (II) See http://x.cygwin.com/docs/faq/cygwin-x-faq.html for more information winAdjustVideoModeShadowGDI - Using Windows display depth of 32 bits per pixel winAllocateFBShadowGDI - Creating DIB with width: 2304 height: 1024 depth: 32 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 error opening security policy file /usr/X11R6/lib/X11/xserver/SecurityPolicy 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 (EE) Couldn't load XKB keymap, falling back to pre-XKB keymap (--) 5 mouse buttons found Could not init font path element /usr/X11R6/lib/X11/fonts/CID/, removing from list! winInitMultiWindowWM - pthread_mutex_lock () returned. winProcEstablishConnection - Hello winInitClipboard () winClipboardProc - Hello winProcEstablishConnection - winInitClipboard returned. DetectUnicodeSupport - Windows NT/2000/XP winInitMultiWindowWM - pthread_mutex_unlock () returned. winClipboardProc - DISPLAY=127.0.0.1:0.0 winMultiWindowXMsgProc - pthread_mutex_lock () returned. winInitMultiWindowWM - DISPLAY=127.0.0.1:0.0 winMultiWindowXMsgProc - pthread_mutex_unlock () returned. winMultiWindowXMsgProc - DISPLAY=127.0.0.1:0.0 winClipboardProc - XOpenDisplay () returned and successfully opened the display. winMultiWindowXMsgProc - XOpenDisplay () returned and successfully opened the display. winInitMultiWindowWM - XOpenDisplay () returned and successfully opened the display. winProcSetSelectionOwner - Clipboard not yet started, aborting. winProcSetSelectionOwner - Clipboard not yet started, aborting. Main Parts of xwin.bat file: == SET CYGWIN_ROOT=\cygwin SET RUN=%CYGWIN_ROOT%\bin\run -p /usr/X11R6/bin SET PATH=.;%CYGWIN_ROOT%\bin;%CYGWIN_ROOT%\usr\X11R6\bin;%PATH% SET XAPPLRESDIR=/usr/X11R6/lib/X11/app-defaults SET XCMSDB=/usr/X11R6/lib/X11/Xcms.txt SET XKEYSYMDB=/usr/X11R6/lib/X11/XKeysymDB SET XNLSPATH=/usr/X11R6/lib/X11/locale %RUN% XWin -multiwindow -clipboard -silent-dup-error %RUN% xterm -sb -rv -e ssh -Y [EMAIL PROTECTED] -- 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: Bug in pread/pwrite ?
On Mar 9 08:57, Christophe GRENIER wrote: On Thu, 8 Mar 2007, Christopher Faylor wrote: All of that aside, I don't see how ignoring an lseek() failure could be considered to be a good thing. I have done more research since, have a look to this glibc pread implementation: ssize_t __libc_pread (int fd, void *buf, size_t nbyte, off_t offset) { /* Since we must not change the file pointer preserve the value so that we can restore it later. */ int save_errno; ssize_t result; off_t old_offset = __libc_lseek (fd, 0, SEEK_CUR); if (old_offset == (off_t) -1) return -1; /* Set to wanted position. */ if (__libc_lseek (fd, offset, SEEK_SET) == (off_t) -1) return -1; /* Write out the data. */ result = __libc_read (fd, buf, nbyte); /* Now we have to restore the position. If this fails we have to return this as an error. But if the writing also failed we return this error. */ save_errno = errno; if (__libc_lseek (fd, old_offset, SEEK_SET) == (off_t) -1) { if (result == -1) __set_errno (save_errno); return -1; ^^ } __set_errno (save_errno); return result; } glibc implementation seems correct in ignoring lseek failure if read has been successfull. This code does not at one point ignore the return code of lseek. What it does is, it uses the return code of read if the read failed, but a failing lseek always leads to pread returning -1. Corinna -- Corinna Vinschen Please, send mails regarding Cygwin to Cygwin Project Co-Leader cygwin AT cygwin DOT com Red Hat
Re: copy-paste
hah yeh that has teed me off as well for past few years with XP as well... if you can figure out a way to do it via XP's cmd.exe also as well cygwin's command line, would be great. -- 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: [ANNOUNCEMENT] bash command in cygwin
Václav Haisman wrote: ovince wrote: Hi, I managed to do everything in Cygwin that I was doing in Unix. This is the first thing that does not want to work. It is a simple bash command for file in 'cat listBox1.txt'; do awk '{print $0}'; done I doubt this works anywhere. You are using simple apostrophes instead of `backticsk`. Could you tell me what I do wrong here? Thanks oliver yes, you are right...I made mistake in syntax. thanks -- VH -- 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/ -- View this message in context: http://www.nabble.com/bash-command-in-cygwin-tf3374175.html#a9390227 Sent from the Cygwin Users mailing list archive at Nabble.com. -- 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: copy-paste
hah i figured it out after so many years, good old google... Open up a Cygwin Bash Shell and click on Properties in (click top left corner in command window), then the Options tab, and check Quick Edit Mode... Same applies to XP cmd window. open up a cmd window and goto properties, and then Options Tab, and check Quick Edit Mode Enjoy, Arian -- 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: copy-paste
ovince wrote: hi All Is it posible to adjust Copy and Paste in Cygwin to Ctrl-c and Ctrl-v? I do it in very unrobust way now (right-click, properties, mark; right-click, properties, copy; right-click, properties, paste). It is very unpleasent. thank you oliver You might want to use rxvt. To select text, just highlight it with your mouse. To paste it elsewhere, use CRTL-V. Thanks! Best Regards, Carlo -- Carlo Florendo Softare Engineer/Network Co-Administrator Astra Philippines Inc. UP-Ayala Technopark, Diliman 1101, Quezon City Philippines http://www.astra.ph -- The Astra Group of Companies 5-3-11 Sekido, Tama City Tokyo 206-0011, Japan http://www.astra.co.jp -- 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: [ANNOUNCEMENT] copy-paste
Carlo Florendo-2 wrote: ovince wrote: hi All Is it posible to adjust Copy and Paste in Cygwin to Ctrl-c and Ctrl-v? I do it in very unrobust way now (right-click, properties, mark; right-click, properties, copy; right-click, properties, paste). It is very unpleasent. thank you oliver You might want to use rxvt. To select text, just highlight it with your mouse. To paste it elsewhere, use CRTL-V. Thanks! Best Regards, Carlo Thanks Carlo. I must admit that do not know what is rxvt. Please for more info. thanks -- Carlo Florendo Softare Engineer/Network Co-Administrator Astra Philippines Inc. UP-Ayala Technopark, Diliman 1101, Quezon City Philippines http://www.astra.ph -- The Astra Group of Companies 5-3-11 Sekido, Tama City Tokyo 206-0011, Japan http://www.astra.co.jp -- 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/ -- View this message in context: http://www.nabble.com/copy-paste-tf3374100.html#a9390816 Sent from the Cygwin Users mailing list archive at Nabble.com. -- 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/
Problems compiling packETH
Hi there, When trying to compile packETH, I get this two errors: function_send.c:35:30: netpacket/packet.h: No such file or directory function_send.c:36:26: net/ethernet.h: No such file or directory I can't find any reference to this in the Cygwin packets... Probably is a very silly question, but could anybody tell me if this is supported in cygwin and how can I get the missing files/libraries? David Fernandez This email and any files transmitted with it are confidential and intended solely for the use of the individual or entity to whom they are addressed. If you have received this email in error please notify the system manager. This message contains confidential information and is intended only for the individual named. If you are not the named addressee you should not disseminate, distribute or copy this e-mail. Please notify the sender immediately by e-mail if you have received this e-mail by mistake and delete this e-mail from your system. If you are not the intended recipient you are notified that disclosing, copying, distributing or taking any action in reliance on the contents of this information is strictly prohibited. -- 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 compiling packETH
David Fernandez wrote: Hi there, When trying to compile packETH, I get this two errors: function_send.c:35:30: netpacket/packet.h: No such file or directory function_send.c:36:26: net/ethernet.h: No such file or directory This looks like something that interacts with network on layer 2. IIRC there is no support for that in Cygwin. I can't find any reference to this in the Cygwin packets... Probably is a very silly question, but could anybody tell me if this is supported in cygwin and how can I get the missing files/libraries? David Fernandez This email and any files transmitted with it are confidential and intended solely for the use of the individual or entity to whom they are addressed. If you have received this email in error please notify the system manager. This message contains confidential information and is intended only for the individual named. If you are not the named addressee you should not disseminate, distribute or copy this e-mail. Please notify the sender immediately by e-mail if you have received this e-mail by mistake and delete this e-mail from your system. If you are not the intended recipient you are notified that disclosing, copying, distributing or taking any action in reliance on the contents of this information is strictly prohibited. I wonder why do people keep adding things like this to their emails? It is not like it has any legal power, IMVHO. -- VH -- 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/
constant fork/CreateProcess failure on attempt to compile GNU Global programm
Hello all, I constantly get error returned from fork while compiling GNU Global programm (code browser). It says that resource is temporarily not available Questions: Where and how can I set maximal amount of child processes, file descriptors etc for cygwin? Ibn case it falls back and uses Windows XP configuration settings for these paramters what parameters are those? /wbr Ariel Burbaickij -- 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: copy-paste
ovince wrote: Thanks Carlo. I must admit that do not know what is rxvt. Please for more info. thanks rxvt is a terminal emulator. If you don't know what that is, think of it as dos command prompt. To use rxvt, select the rxvt program when you install cygwin using setup exe. Then, fire up rxvt on the cygwin command line by typing rxvt on your shell. Then, you can cut-and-paste in the way I've mentioned in the previous message. And by the way, you don't need to change the subject of the message to [ANNOUNCEMENT]. I've removed it. Thanks! Best Regards, Carlo -- Carlo Florendo Softare Engineer/Network Co-Administrator Astra Philippines Inc. UP-Ayala Technopark, Diliman 1101, Quezon City Philippines http://www.astra.ph -- The Astra Group of Companies 5-3-11 Sekido, Tama City Tokyo 206-0011, Japan http://www.astra.co.jp -- 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: [ANNOUNCEMENT] copy-paste
Arian Hojat wrote: hah i figured it out after so many years, good old google... Open up a Cygwin Bash Shell and click on Properties in (click top left corner in command window), then the Options tab, and check Quick Edit Mode... Same applies to XP cmd window. open up a cmd window and goto properties, and then Options Tab, and check Quick Edit Mode Enjoy, Arian I have it enabled but steel can not use crtl-V as Carlos mentioned (previour reply) -- 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/ -- View this message in context: http://www.nabble.com/copy-paste-tf3374100.html#a9391811 Sent from the Cygwin Users mailing list archive at Nabble.com. -- 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: [ANNOUNCEMENT] copy-paste
Carlo Florendo-2 wrote: ovince wrote: Thanks Carlo. I must admit that do not know what is rxvt. Please for more info. thanks rxvt is a terminal emulator. If you don't know what that is, think of it as dos command prompt. To use rxvt, select the rxvt program when you install cygwin using setup exe. Then, fire up rxvt on the cygwin command line by typing rxvt on your shell. Then, you can cut-and-paste in the way I've mentioned in the previous message. And by the way, you don't need to change the subject of the message to [ANNOUNCEMENT]. I've removed it. Thanks! Best Regards, Carlo thanks Carlo, No chance to change it after instalation? By chance I discovered that right-click marks easily what I want, another right-click copy it, and another right-click paste it. This is good also -- Carlo Florendo Softare Engineer/Network Co-Administrator Astra Philippines Inc. UP-Ayala Technopark, Diliman 1101, Quezon City Philippines http://www.astra.ph -- The Astra Group of Companies 5-3-11 Sekido, Tama City Tokyo 206-0011, Japan http://www.astra.co.jp -- 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/ -- View this message in context: http://www.nabble.com/copy-paste-tf3374100.html#a9391866 Sent from the Cygwin Users mailing list archive at Nabble.com. -- 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: copy-paste
ovince wrote: No chance to change it after instalation? By chance I discovered that right-click marks easily what I want, another right-click copy it, and another right-click paste it. This is good also Hmmm, looks like there's something wrong with your email client. The reply quotes don't look fine. And it adds the [ANNOUNCEMENT] string on the subject. I've removed it *again*. In any case, I don't know what you mean by to change it after installation. If you mean the cut and paste settings, then no. Thanks. Best Regards, Carlo -- Carlo Florendo Softare Engineer/Network Co-Administrator Astra Philippines Inc. UP-Ayala Technopark, Diliman 1101, Quezon City Philippines http://www.astra.ph -- The Astra Group of Companies 5-3-11 Sekido, Tama City Tokyo 206-0011, Japan http://www.astra.co.jp -- 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: [ANNOUNCEMENT] copy-paste
Carlo Florendo-2 wrote: ovince wrote: No chance to change it after instalation? By chance I discovered that right-click marks easily what I want, another right-click copy it, and another right-click paste it. This is good also Hmmm, looks like there's something wrong with your email client. The reply quotes don't look fine. And it adds the [ANNOUNCEMENT] string on the subject. I've removed it *again*. In any case, I don't know what you mean by to change it after installation. If you mean the cut and paste settings, then no. Thanks. Best Regards, Carlo I use 'reply' to reply to you ('reply to author' I guess is to reply to me). And my subject looks fine -- Carlo Florendo Softare Engineer/Network Co-Administrator Astra Philippines Inc. UP-Ayala Technopark, Diliman 1101, Quezon City Philippines http://www.astra.ph -- The Astra Group of Companies 5-3-11 Sekido, Tama City Tokyo 206-0011, Japan http://www.astra.co.jp -- 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/ -- View this message in context: http://www.nabble.com/copy-paste-tf3374100.html#a9392075 Sent from the Cygwin Users mailing list archive at Nabble.com. -- 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: copy-paste
ovince wrote: I use 'reply' to reply to you ('reply to author' I guess is to reply to me). And my subject looks fine No. It does not look fine. http://www.cygwin.com/ml/cygwin/2007-03/msg00286.html Why does [ANNOUNCEMENT] keep getting added on the subject. There is *something* wrong with your mailer. I've removed it *again*. And if you look closely at the contents of the above link, your own message is quoted by your mailer. There is *something* wrong with your mailer. -- Carlo Florendo Softare Engineer/Network Co-Administrator Astra Philippines Inc. UP-Ayala Technopark, Diliman 1101, Quezon City Philippines http://www.astra.ph -- The Astra Group of Companies 5-3-11 Sekido, Tama City Tokyo 206-0011, Japan http://www.astra.co.jp -- 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: Difference Between CYGIPC And CYGServer
After goining through the code of shm.h and shm.c of Cygipc V1.09 that we are using, we have noticed that in function ShmCtl we have introduced logic to do the following: 1. Detach all PIDs from the passed Shared Memory Id. 2. Detach the PID of the process calling this function from all the shared memories present in the system. 3. Detach all dead PIDs from the passed Shared Memory Id, if they are left unattached before dying. 4. Detach all dead PIDs from all the Shared Memories persent in the system, if they are left unattached before dying. If we use Cygserver, can we achive these without making chages to cygserver code. Can we know whether the above mentioned points are covered in Cygserver? Thanks, Neo. ___ New Yahoo! Mail is the ultimate force in competitive emailing. Find out more at the Yahoo! Mail Championships. Plus: play games and win prizes. http://uk.rd.yahoo.com/evt=44106/*http://mail.yahoo.net/uk -- 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: /dev/null timing and clock skew problems
Aaron Gray writes: The #if statement starting on that line is just for the three second clearance. I use it on a local build of Make and it seems to work well. The file has modification time 0.0096 s in the future were harmless. But the Clock skew detected. Your build may be incomplete. can possibly indicate an incomplete build. This seems to be a problem on my slower machine XP, but not on my newer Vista one. Were you getting clock skew problems too ? Yes, but they were caused by the imprecise file times (which triggers the clock skew message), as I was building on a FAT32 partition. Enabling the code in the #if statement fixed the file time issue, which only happened for files that were created during the build. Magnus -- 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: [ANNOUNCEMENT] Updated: findutils-4.3.2-3
Hello, I use cygwin at work, for our build chains, and I do not upgrade often, but the last batch I did some days ago broke our process. A 'find' done inside a Makefile is not working properly any more, failing with the following error message: [...] find D:/Tmp -depth -type d -name 'DISK?' -exec mv {} en \; find: could not change to directory D:/Tmp/Product Configuration 1/DiskImages/DISK1: No such file or directory [...] I tried removing '-depth' option, same result... whereas when changing that command line to use 'oldfind', as specified in you announcement, it worked as it did before... I put an 'ls -lR' command just before the failing 'find', and the directory is present... /bin/ls -lR D:/Tmp [...] D:/Tmp/Product Configuration 1/Release1/DiskImages/DISK1: total 21985 -rwxr-xr-x 1 build None 262144 Mar 9 11:18 test.txt [...] I looked at setup.log, and found that I went from: 4.2.25-2 (2005/11/18) straight to: 4.3.2-3 (2007/03/05) so I expected something to break somewhere... ;-) How long will 'oldfind' still be kept for compatibility ? Maybe you should keep the old directory traversal algorithm available with a command-line switch... Or may I be of any help to make the new one work ? Maybe some testing if you need it... Thanks for all your work. -- Vincent Legoll -- 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: sshd + bash = crush on CRs
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 According to Eramo, Mark on 3/8/2007 2:41 PM: Reread the release announcement. SHELLOPTS auto-tracks shell option settings, so you can do this in your .bash_profile: export SHELLOPTS set -o igncr After adding this to my .bash_profile and starting Cygwin, I get the following message bash: igncr: invalid option name bash: set: igncr: invalid option name So it does not see this as a valid option. Am I missing something? What version of bash did you use? If it's not the latest cygwin version, then that would explain it. - -- Don't work too hard, make some time for fun as well! Eric Blake [EMAIL PROTECTED] -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.5 (Cygwin) Comment: Public key at home.comcast.net/~ericblake/eblake.gpg Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFF8MSf84KuGfSFAYARAhsRAJ9Bo3gaBgep6gGgAtZCs/ibpnqnOQCfaDvB i9Ic5uNDnIUzkvc18Abmzp4= =bq2I -END PGP SIGNATURE- Thanks for the heads up. Last evening, I actually installed the latest version of bash (3.2.9). Today when I start Cygwin, I no longer see the invalid option messages now so I know it's being set. I will retest my shell script creation now Regards, Mark -- 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/
Impossible to start sshd service on windows server 2003
Hello, Since a recent windows update of my windows 2003 server, my sshd service does not start anymore. When I try to start the service cygrunsrv -S sshd I get the following error: cygrunsrv: Error starting a service: StartService: Win32 error 1069: The service did not start due to a logon failure. I created this service using ssh-host-config -y and the CYGWIN= ntsec tty. In addition following the openssh.README my sshd_server user has the following user rights: Create a token object Logon as a service Replace a process level token This service use to work for a year, but after some recent windows security update I not able to start it anymore. I tried to uninstall these updates but it didn't solved my problem. Enclosed you will find my cygcheck.out file. Best regards, Bertrand. -- 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: [ANNOUNCEMENT] Updated: findutils-4.3.2-3
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 [In general, there is no need to cc me, as I read the lists, but I'm not as adamant about this as some list readers] According to Vincent Legoll on 3/9/2007 5:50 AM: Hello, I use cygwin at work, for our build chains, and I do not upgrade often, but the last batch I did some days ago broke our process. A 'find' done inside a Makefile is not working properly any more, failing with the following error message: [...] find D:/Tmp -depth -type d -name 'DISK?' -exec mv {} en \; find: could not change to directory D:/Tmp/Product Configuration 1/DiskImages/DISK1: No such file or directory [...] Yes, I'm working on fixing that; it has also been reported upstream, and so far, it looks like an unintended side-effect of my patch that tried to fix -execdir semantics. The problem is I haven't had enough spare time lately. The upstream maintainer promised findutils-4.3.3 this month, so hopefully I will get to it soon. whereas when changing that command line to use 'oldfind', as specified in you announcement, it worked as it did before... Correct. How long will 'oldfind' still be kept for compatibility ? As long as the upstream maintainer thinks that 4.3.x is unstable (ie. probably until find 4.4 is released); not under my control. - -- Don't work too hard, make some time for fun as well! Eric Blake [EMAIL PROTECTED] volunteer cygwin findutils maintainer -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.5 (Cygwin) Comment: Public key at home.comcast.net/~ericblake/eblake.gpg Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFF8Wy484KuGfSFAYARAjWsAKDK4o6meS+ZiJYwjDhRQAyMvLpEiwCffQRr 3W56shuqs7qmnPrSN2o2ZjY= =4Boi -END PGP SIGNATURE- -- 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: Spurious [ANNOUNCEMENT]s
Carlo Florendo wrote: No. It does not look fine. http://www.cygwin.com/ml/cygwin/2007-03/msg00286.html Why does [ANNOUNCEMENT] keep getting added on the subject. There is *something* wrong with your mailer. I've removed it *again*. And if you look closely at the contents of the above link, your own message is quoted by your mailer. There is *something* wrong with your mailer. These spurious [ANNOUNCEMENT] subjects seem to be popping up from a number of people. It seems unlikely that they are all doing this intentionally (though I agree the quoting must be a mailer problem.) I wonder if there isn't some way the cygwin.com mailman installation sometimes gets confused and modifies the subject line. Oliver, I don't suppose you have a copy of one of your messages in your Sent folder that you could send along with full headers to show that it didn't have an [ANNOUNCEMENT] subject when it left your machine? -- 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: copy-paste
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 According to ovince on 3/9/2007 12:04 AM: hi All Is it posible to adjust Copy and Paste in Cygwin to Ctrl-c and Ctrl-v? I do it in very unrobust way now (right-click, properties, mark; right-click, properties, copy; right-click, properties, paste). It is very unpleasent. If you use Window's terminal (cmd.com) to host bash, then you must use Window's notion of copy-n-paste (and their terminal is rather dumb at copy-n-past semantics, as you have noticed). If you use rxvt or xterm, you get Unix semantics, where by default, highlighting text copies it to the clipboard, and middle clicking pastes it to the terminal. Additionally, if you use bash as your cygwin shell, there is a cygwin-only hook in readline (actually maintained upstream! as a cygwin-only patch) where you can use .inputrc to rebind Ctrl-V to paste-from-clipboard, rather than the Unix default of quoted-insert. At which point, ctrl-V will work for pasting into your terminal, regardless of whether you use cmd.com or rxvt. It is also possible to rebind Ctrl-C, but that makes less sense, as it is not easy to highlight terminal text without the mouse (and once you've highlighted it with the mouse, it is already easy to copy without requiring an additional keystroke). - -- Don't work too hard, make some time for fun as well! Eric Blake [EMAIL PROTECTED] volunteer cygwin readline maintainer -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.5 (Cygwin) Comment: Public key at home.comcast.net/~ericblake/eblake.gpg Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFF8XDC84KuGfSFAYARAtTjAKCx0YIkpKl2LtJPRbFwuoqwmD5urgCgnob8 qi3khDb+Slmkg2WzwI2JiLE= =w3cx -END PGP SIGNATURE- -- 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: [ANNOUNCEMENT] Updated: findutils-4.3.2-3
I digged a bit more into that and found that my problem is related to the '-exec mv {} xxx \;' when replaced by '-exec ls -lh {} \;' there is no problem... Maybe what I was doing worked only by chance since it has side-effect on the directory tree that is currently traversed. Am I completely crasy or is there some other option like maybe '-prune' that should be used for such cases ? [trying with trivial exemple on linux] OK it seems to work here. maybe too trivial. [trying on windows cygwin] So I swapped the -depth with a -prune placed just before or after the -exec and it does not work. Oh well maybe I didn't RTFM hard enough... -- Vincent Legoll -- 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: copy-paste
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 According to Eric Blake on 3/9/2007 7:35 AM: If you use Window's terminal (cmd.com) to host bash, then you must use Window's notion of copy-n-paste (and their terminal is rather dumb at copy-n-past semantics, as you have noticed). If you use rxvt or xterm, you get Unix semantics, where by default, highlighting text copies it to the clipboard, and middle clicking pastes it to the terminal. P.S. Copying from cmd.com picks up rectangular regions, with awkwardly-inserted newlines, while copying from rxvt or xterm picks up continuous text, and understands lines longer than the terminal width. Yet one more reason that I _greatly_ prefer rxvt over Microsoft's brain-dead excuse for a terminal. - -- Don't work too hard, make some time for fun as well! Eric Blake [EMAIL PROTECTED] -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.5 (Cygwin) Comment: Public key at home.comcast.net/~ericblake/eblake.gpg Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFF8XG184KuGfSFAYARAlHVAKC9tRkmEtMtkd3MUAi+CX+lBpF50wCgm5lp SYkWEWT0KUTfuBvYZuuFtf0= =Avs5 -END PGP SIGNATURE- -- 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: Impossible to start sshd service on windows server 2003
The cygcheck.out file. Bertrand. Bertrand Gourraud wrote: Hello, Since a recent windows update of my windows 2003 server, my sshd service does not start anymore. When I try to start the service cygrunsrv -S sshd I get the following error: cygrunsrv: Error starting a service: StartService: Win32 error 1069: The service did not start due to a logon failure. I created this service using ssh-host-config -y and the CYGWIN= ntsec tty. In addition following the openssh.README my sshd_server user has the following user rights: Create a token object Logon as a service Replace a process level token This service use to work for a year, but after some recent windows security update I not able to start it anymore. I tried to uninstall these updates but it didn't solved my problem. Enclosed you will find my cygcheck.out file. Best regards, Bertrand. -- 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/ Cygwin Configuration Diagnostics Current System Time: Fri Mar 09 13:49:38 2007 Windows 2003 Server Ver 5.2 Build 3790 Service Pack 1 Path: C:\cygwin\usr\local\bin C:\cygwin\bin C:\cygwin\bin C:\cygwin\usr\X11R6\bin c:\WINDOWS\system32 c:\WINDOWS c:\WINDOWS\System32\Wbem Output from C:\cygwin\bin\id.exe (nontsec) UID: 400(testpc)GID: 401(mkpasswd) 0(root) 544(Administrators) 545(Users) 401(mkpasswd) Output from C:\cygwin\bin\id.exe (ntsec) UID: 400(testpc)GID: 401(mkpasswd) 0(root) 544(Administrators) 545(Users) 401(mkpasswd) SysDir: C:\WINDOWS\system32 WinDir: C:\WINDOWS USER = 'testpc' PWD = '/cygdrive/c' HOME = '/cygdrive/c/Documents and Settings/testpc' MAKE_MODE = 'unix' HOMEPATH = '\Documents and Settings\testpc' MANPATH = '/usr/local/man:/usr/share/man:/usr/man::/usr/ssl/man' APPDATA = 'C:\Documents and Settings\testpc\Application Data' HOSTNAME = 'testpc01' TERM = 'xterm' PROCESSOR_IDENTIFIER = 'x86 Family 15 Model 4 Stepping 4, GenuineIntel' WINDIR = 'C:\WINDOWS' WINDOWID = '10748048' OLDPWD = '/cygdrive/c/Documents and Settings/testpc' USERDOMAIN = 'VISIONOBJECTS' OS = 'Windows_NT' ALLUSERSPROFILE = 'C:\Documents and Settings\All Users' TEMP = '/cygdrive/c/DOCUME~1/testpc/LOCALS~1/Temp' COMMONPROGRAMFILES = 'C:\Program Files\Common Files' USERNAME = 'testpc' CLUSTERLOG = 'C:\WINDOWS\Cluster\cluster.log' PROCESSOR_LEVEL = '15' FP_NO_HOST_CHECK = 'NO' SYSTEMDRIVE = 'C:' USERPROFILE = 'C:\Documents and Settings\testpc' PS1 = '\[\e]0;[EMAIL PROTECTED] \[\e[33m\]\w\[\e[0m\]\n\$ ' LOGONSERVER = '\\SERVEUR' PROCESSOR_ARCHITECTURE = 'x86' SHLVL = '1' COLORFGBG = '15;default;0' USERDNSDOMAIN = 'VISIONOBJECTS.COM' PATHEXT = '.COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH' HOMEDRIVE = 'C:' COMSPEC = 'C:\WINDOWS\system32\cmd.exe' TMP = '/cygdrive/c/DOCUME~1/testpc/LOCALS~1/Temp' SYSTEMROOT = 'C:\WINDOWS' CVS_RSH = '/bin/ssh' PROCESSOR_REVISION = '0404' INFOPATH = '/usr/local/info:/usr/share/info:/usr/info:' PROGRAMFILES = 'C:\Program Files' DISPLAY = ':0' NUMBER_OF_PROCESSORS = '2' SESSIONNAME = 'Console' COMPUTERNAME = 'TESTPC01' COLORTERM = 'rxvt-xpm' _ = '/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 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\Program Options c: hd NTFS 20002Mb 28% CP CS UN PA FC f: hd NTFS 32522Mb 7% CP CS UN PA FC NE PAS TOUCHER g: cd N/AN/A t: hd NTFS 4Mb 16% CP CS UN PA FC testpc01_T z: hd NTFS 4Mb 69% CP CS UN PA FC testpc01_Z C:\cygwin / system binmode C:\cygwin/bin /usr/bin system binmode C:\cygwin/lib /usr/lib 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\crontab.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\kill.exe Found:
Re: constant fork/CreateProcess failure on attempt to compile GNU Global programm
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 According to Ariel Burbaickij on 3/9/2007 2:52 AM: Hello all, I constantly get error returned from fork while compiling GNU Global programm (code browser). It says that resource is temporarily not available Could it be that you are using one of the buggy drivers known to interfere with cygwin? Known culprits include, but are not limited to, McAfee virus scanner, Agnitum Outpost, Logitech webcam, ... - -- Don't work too hard, make some time for fun as well! Eric Blake [EMAIL PROTECTED] -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.5 (Cygwin) Comment: Public key at home.comcast.net/~ericblake/eblake.gpg Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFF8XMv84KuGfSFAYARAiMFAKDOsYbLKB3LSERszF9PbLrqmnqZFACgjjke xMUhgNqSBoY9ky8LApvobkw= =NnYz -END PGP SIGNATURE- -- 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: [ANNOUNCEMENT] Updated: findutils-4.3.2-3
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 According to Vincent Legoll on 3/9/2007 7:34 AM: I digged a bit more into that and found that my problem is related to the '-exec mv {} xxx \;' when replaced by '-exec ls -lh {} \;' there is no problem... Maybe what I was doing worked only by chance since it has side-effect on the directory tree that is currently traversed. Coupled with the fact that my attempted patch for -execdir is not quite right when the current directory is messed with concurrently with the traversal. Again, until I can fix it (or more hopefully, until the upstream maintainer can properly fix -execdir), the workaround is to use oldfind, or wait for me to release a new findutils package. [trying with trivial exemple on linux] OK it seems to work here. Because a stock findutils on linux does not have my patch that attempts to work around the -execdir bug. So I swapped the -depth with a -prune placed just before or after the -exec and it does not work. Won't matter. -depth is global (ie, no matter where it appears in your expression, it takes affect as though it had appeared first). Oh well maybe I didn't RTFM hard enough... Unfortunately, it's not in the manual. And you DID read hard enough, as evidenced by the fact that you found posts mentioning that oldfind works in this situation when find does not. - -- Don't work too hard, make some time for fun as well! Eric Blake [EMAIL PROTECTED] -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.5 (Cygwin) Comment: Public key at home.comcast.net/~ericblake/eblake.gpg Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFF8XQV84KuGfSFAYARAq4VAKCqNntx01tbZC9xp9+IfnSy9acZowCeKdwH rBaYCrzHMjFtdNQv/Kl3wA8= =CNgs -END PGP SIGNATURE- -- 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: Spurious [ANNOUNCEMENT]s
--On Friday, March 09, 2007 09:26:13 -0500 Norton Allen wrote: These spurious [ANNOUNCEMENT] subjects seem to be popping up from a number of people. It seems unlikely that they are all doing this intentionally (though I agree the quoting must be a mailer problem.) I wonder if there isn't some way the cygwin.com mailman installation sometimes gets confused and modifies the subject line. Oliver, I don't suppose you have a copy of one of your messages in your Sent folder that you could send along with full headers to show that it didn't have an [ANNOUNCEMENT] subject when it left your machine? It looks to me as if they are happening on messages sent via the nabble forum. For example, http://cygwin.com/ml/cygwin/2007-03/msg00286.html has this at the end: View this message in context: http://www.nabble.com/copy-paste-tf3374100.html#a9392075 Sent from the Cygwin Users mailing list archive at Nabble.com. If you follow that link the message does not have the [ANNOUNCEMENT] in the subject when displayed there. -- Owen Rees Hewlett Packard Laboratories, Bristol, UK -- 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: [ANNOUNCEMENT] Updated: findutils-4.3.2-3
Again, until I can fix it (or more hopefully, until the upstream maintainer can properly fix -execdir), the workaround is to use oldfind, or wait for me to release a new findutils package. Oh no problem with waiting, really. The workaround is sufficient for my use. [trying with trivial exemple on linux] OK it seems to work here. Because a stock findutils on linux does not have my patch that attempts to work around the -execdir bug. OK, that explains it... So I swapped the -depth with a -prune placed just before or after the -exec and it does not work. Won't matter. -depth is global (ie, no matter where it appears in your expression, it takes affect as though it had appeared first). Yes, I know that for -depth, but I thought -prune effect was position dependent... Oh well maybe I didn't RTFM hard enough... Unfortunately, it's not in the manual. And you DID read hard enough, as evidenced by the fact that you found posts mentioning that oldfind works in this situation when find does not. OK, I won't flagellate myself any more then... ;-) Thank you for your work / answers, I'll wait for an updated package. If you want me to test something, just ask. -- Vincent Legoll -- 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: Spurious [ANNOUNCEMENT]s
Vince Oliver wrote: I can not enter in any of this links (attachement) ... strange You're using Nabble. It looks like this is a Nabble problem. The rest of us that are subscribed to the mailing list (which is what this is, not a web forum) see it differently: http://cygwin.com/ml/cygwin/2007-03/threads.html Brian -- 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: [ANNOUNCEMENT] copy-paste
On Fri, Mar 09, 2007 at 04:25:18PM +0100, Michael Schaap wrote: Me too! :-) LOL cgf -- 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/
mainCRTStartup
Hi, I have the same issue using GNAT while linking. cannot find entry symbol _mainCRTStartup ; defaulting to 0x00401 Did you find the problem? Please let me know Krzysztof -- 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: mainCRTStartup
On 09 March 2007 16:07, Krzysztof Grala wrote: Hi, I have the same issue What issue? Same as who? Some geezer over in the corner? The man in the moon? Ten invisible leprechauns? A flock of parachute-jumping hippopotamuses? Are we playing guessing games, or do you think we can all read your mind? Context. It's not just window-dressing, it's vital. cheers, DaveK -- Can't think of a witty .sigline today -- 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 compiling packETH
Vaclav Haisman wrote: David Fernandez wrote: This email and any files transmitted with it are confidential and [snip] I wonder why do people keep adding things like this to their emails? It is not like it has any legal power, IMVHO. Bureaucracy. Need I say more? :-) Oh, and it's also against list policy, so the OP needs to either find a way to disable it or use a different account. -- Matthew You are in a meadow. A huge red dragon stands before you. FIGHT DRAGON With what? You don't have any weapons. RUN AWAY You wisely exercise the better part of valor. -- 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: Impossible to start sshd service on windows server 2003
On 3/9/07, Bertrand Gourraud wrote: Hello, Since a recent windows update of my windows 2003 server, my sshd service does not start anymore. When I try to start the service cygrunsrv -S sshd I get the following error: cygrunsrv: Error starting a service: StartService: Win32 error 1069: The service did not start due to a logon failure. I created this service using ssh-host-config -y and the CYGWIN= ntsec tty. In addition following the openssh.README my sshd_server user has the following user rights: Create a token object Logon as a service Replace a process level token This service use to work for a year, but after some recent windows security update I not able to start it anymore. I tried to uninstall these updates but it didn't solved my problem. Enclosed you will find my cygcheck.out file. Best regards, Bertrand. -- Do you know which recent update caused the problems? For example I have a Windows Server 2003 that runs sshd just fine. It has all of the Microsoft-released patches up to last month's patch Tuesday releases. I am attaching cygcheck and psinfo output so you can compare the versions of stuff if you want. -Jason cygcheck.out Description: Binary data psinfo.out Description: Binary data -- 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: sshd: can't mount samba shares
on Wed Mar 07 2007, David Abrahams dave-AT-boost-consulting.com wrote: on Wed Mar 07 2007, Corinna Vinschen corinna-cygwin-AT-cygwin.com wrote: On Mar 6 12:12, David Abrahams wrote: on Mon Mar 05 2007, Corinna Vinschen corinna-cygwin-AT-cygwin.com writes: I just realize that I mis-read your mail so that I thought it works on XP32 but doesn't work on XP64. You wrote that it's the opposite. Then my answer is, I don't know. It works for me on XP32, but I never really expected it, as it didn't work on older Windows versions anyway. Do you think it might be possible for us to determine the differences between your XP32 setup and mine? I really need to be able to invoke commands remotely on my XP32 machine (with mounted network shares). I don't know how. I have a very basic setup. You might have to figure out why the access is denied. It could have something to do with your server settings. Yes, I think it might. I'm also having a hard time accessing samba directly from the XP32 machine when running cygwin tools, it turns out. Cygwin tools can read files on the share, but not write them... sometimes. I don't think that's the problem. I set up a (non-cygwin) NFS client on my windows machine, and it has exactly the same problem when I try to mount NFS shares from a cygwin ssh session, even reporting the error as a result of . I am certain this is a cygwin/XP permissions interaction. Corinna, if you indeed have a very basic setup, it should be very easy to find out where my setup differs. I sure would appreciate it. -- Dave Abrahams Boost Consulting www.boost-consulting.com -- 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: bash command in cygwin
Vaclav Haisman wrote on Friday, March 09, 2007 2:57 AM: ovince wrote: I managed to do everything in Cygwin that I was doing in Unix. This is the first thing that does not want to work. It is a simple bash command for file in 'cat listBox1.txt'; do awk '{print $0}'; done I doubt this works anywhere. You are using simple apostrophes instead of `backticks`. Could you tell me what I do wrong here? Also, you are not giving awk anything to work on. With no file, it will wait for stdin, which is not giving anything either. You probably meant for file in `cat listBox1.txt`; do awk '{print $0}' ${file} ; done Also, the $( command or pipe ) synonym for ` command or pipe ` is more versatile than backticks and something with which you should familiarize yourself. - Barry Disclaimer: Statements made herein are not made on behalf of NIAID. -- 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/
cygwin security updates
Hi, Does Cygwin have a security team that is responsible for keeping track of vulnerabilities in the packages shipped with the default distribution? Is there a website that lists Cygwin packages that were updated to fix a security issue? Something similar to http://www.debian.org/security/ ? Alex -- 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/
consider chg to hosts: 127.0.0.1 localhost.localdomain localhost
Placing localhost.localdomain in hosts as shown here: ~ $ cd /cygdrive/c/WINDOWS/system32/drivers/etc /cygdrive/c/WINDOWS/system32/drivers/etc $ grep localhost hosts 127.0.0.1 localhost.localdomain localhost eliminates application event log entries like: --snip sshd: PID 6204: Address 127.0.0.1 maps to OurSrvr063.DOMxx1.na.OurSubdomain.com, but this does not map back to the address --snip when you 'ssh localhost'. Or it least it does for me. I had to do more snipping of this post than I wanted because this post was getting rejected as spam. -- Tom --v-v--C-U-T---H-E-R-E-v-v-- ~ $ uname -a CYGWIN_NT-5.2 c7mdcs063 1.5.20s(0.155/4/2) 20060403 13:33:45 i686 Cygwin ~ $ cygcheck -c|grep ssh openssh 4.3p2-3OK -- 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 security updates
On Fri, Mar 09, 2007 at 11:30:49AM -0800, Alexander Sotirov wrote: Does Cygwin have a security team that is responsible for keeping track of vulnerabilities in the packages shipped with the default distribution? No. cgf -- 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/
[ANNOUNCEMENT] Updated: git-1.5.0.3-1
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 A new release of git, 1.5.0.3-1, has been uploaded, replacing 1.4.4.4-1 as the current version. NEWS: = This is a new upstream release. See also the package documentation in /usr/share/doc/git-1.5.0.3/, along with the attached upstream release notes. When compiled out of the box, the upstream git maintainers cater to older cygwin releases, and intentionally disable certain features that have been reported on their mailing list, even though they work with the latest cygwin. Therefore, this build turns those features back on. However, it means that this version does assume that you are not using FAT or FAT32 to hold your repositories, since they do not store file permissions very accurately. DESCRIPTION: Git is popular version control system designed to handle very large projects with speed and efficiency; it is used mainly for various open source projects, most notably the Linux kernel. Git falls in the category of distributed source code management tools, similar to e.g. GNU Arch or Monotone (or BitKeeper in the proprietary world). Every Git working directory is a full-fledged repository with full revision tracking capabilities, not dependent on network access or a central server. UPDATE: === To update your installation, click on the Install Cygwin now link on the http://cygwin.com/ web page. This downloads setup.exe to your system. Save it and run setup, answer the questions and pick up 'git' from the 'Devel' category. DOWNLOAD: = Note that downloads from sources.redhat.com (aka cygwin.com) aren't allowed due to bandwidth limitations. This means that you will need to find a mirror which has this update, please choose the one nearest to you: http://cygwin.com/mirrors.html QUESTIONS: == If you want to make a point or ask a question the Cygwin mailing list is the appropriate place. - -- Eric Blake volunteer cygwin git maintainer CYGWIN-ANNOUNCE UNSUBSCRIBE INFO: = To unsubscribe to the cygwin-announce mailing list, look at the List-Unsubscribe: tag in the email header of this message. Send email to the address specified there. It will be in the format: [EMAIL PROTECTED] If you need more information on unsubscribing, start reading here: http://sources.redhat.com/lists.html#unsubscribe-simple Please read *all* of the information on unsubscribing that is available starting at this URL. -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.5 (Cygwin) Comment: Public key at home.comcast.net/~ericblake/eblake.gpg Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFF8fN/84KuGfSFAYARAvbKAJ9kFeUEI3KLhkScPMJUFNFOuDOsxwCdF2OO yMwjiVoKG1Yyobb8ryV7Fb0= =i3uK -END PGP SIGNATURE- GIT v1.5.0.3 Release Notes == Fixes since v1.5.0.2 * Bugfixes - 'git.el' honors the commit coding system from the configuration. - 'blameview' in contrib/ correctly digs deeper when a line is clicked. - 'http-push' correctly makes sure the remote side has leading path. Earlier it started in the middle of the path, and incorrectly. - 'git-merge' did not exit with non-zero status when the working tree was dirty and cannot fast forward. It does now. - 'cvsexportcommit' does not lose yet-to-be-used message file. - int-vs-size_t typefix when running combined diff on files over 2GB long. - 'git apply --whitespace=strip' should not touch unmodified lines. - 'git-mailinfo' choke when a logical header line was too long. - 'git show A..B' did not error out. Negative ref (not A in this example) does not make sense for the purpose of the command, so now it errors out. - 'git fmt-merge-msg --file' without file parameter did not correctly error out. - 'git archimport' barfed upon encountering a commit without summary. - 'git index-pack' did not protect itself from getting a short read out of pread(2). - 'git http-push' had a few buffer overruns. - Build dependency fixes to rebuild fetch.o when other headers change. * Documentation updates - user-manual updates. - Options to 'git remote add' were described insufficiently. - Configuration format.suffix was not documented. - Other formatting and spelling fixes. GIT v1.5.0.2 Release Notes == Fixes since v1.5.0.1 * Bugfixes - Automated merge conflict handling when changes to symbolic links conflicted were completely broken. The merge-resolve strategy created a regular file with conflict markers in it in place of the symbolic link. The default strategy, merge-recursive was even more broken. It removed the path that was pointed at by the symbolic link. Both of these problems have been fixed. - 'git diff maint master next' did not correctly give combined diff across three trees. - 'git fast-import' portability fix for
Re: javac?
Samuel Thibault wrote: Linux distributions usually provide a javac symlink pointing on gcj, which is handy for all these applications that assume that javac is the proper command for compiling java programs. If you must do that, at least do it with alternatives. -- 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/
problems calling another program
I am trying to set it up so that I can easily start the windows gvim (not the cygwin one) from cygwin. I have two methods which mostly work, but each one has a small problem. Method #1: function in my .bashrc function mygvim2 { /d/vim/vim70/gvim.exe -u d:/vim/_vimrc $(cygpath -w $@) } This function works fine, except that when I call it from rxvt, it pulls up gvim behind my rxvt window, instead of switching to that window. Method #2: separate file I put an alias in my .bashrc file which says alias vi=mygvim, and then I put this in the file mygvim: #! /bin/bash /d/vim/vim70/gvim.exe -u d:/vim/_vimrc $(cygpath -w $@) This works as well (and switches to gvim as well). The (minor) problem is that each time I call it, I get this message in the BASH window: : command not foundgvim: line 2: I know that this is nit-picking, but can anybody help me eliminate either of these two minor problems? -- 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 calling another program
spam head wrote: Method #1: function in my .bashrc function mygvim2 { /d/vim/vim70/gvim.exe -u d:/vim/_vimrc $(cygpath -w $@) } This function works fine, except that when I call it from rxvt, it pulls up gvim behind my rxvt window, instead of switching to that window. Try cygstart --shownormal (or one of the other cygstart options.) Method #2: separate file I put an alias in my .bashrc file which says alias vi=mygvim, and then I put this in the file mygvim: #! /bin/bash /d/vim/vim70/gvim.exe -u d:/vim/_vimrc $(cygpath -w $@) This works as well (and switches to gvim as well). The (minor) problem is that each time I call it, I get this message in the BASH window: : command not foundgvim: line 2: Get rid of the DOS line endings. Brian -- 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/
Cannot get Cygwin to produce a core dump
I am a newbie and have installed Cygwin on a Windows XP machine using the default settings. I have compiled a faulty program called a.exe using the command gcc -Wall -g null.c I would like a core dump to be produced when the program fails. I have tried 3 methods (advice from these threads) so far but they have not worked. Method 1 Running ./a.exe results in the following error: 6 [main] a 5132 _cygtls::handle_exceptions: Error while dumping state (probably corrupted stack) Segmentation fault (core dumped) But there is not core file in my directory Method 2 I have added the following to my cygwin.bat file: Set CYGWIN=error_start=c:\cygwin\bin\dumper.exe Running ./a.exe results in a window to pop-up and reads: Setting bfd architecture: No error After the window closes the following message displayed in the terminal window: *** starting debugger for pid 4024, tid 4436 But the debugger never starts and no core file is produced Method 3 I modified the environment variable to be: Set CYGWIN=error_start=c:\cygwin\home\MDGCUSTOMER\wrapper_dumper.cmd Where wrapper_dumper.cmd has the following: c:\cygwin\bin\dumper.exe -d -c %1 %2 Running ./a.exe results in the following error: *** starting debugger for pid 3908, tid 5220 [6] main a 3248 try_to_debug: Fialed to start debugger, Win32 error 2 *** continuing pid 3908 from debugger call 0 1454996 [main] a 3248 _cygtls::handle_exceptions: Error while dumping state (probably corrupted stack) 1487118 [main] a 3248 try_to_debug: Failed to start debugger, Win32 error 2 Segmentation fault (core dumped) Again, there is no core file produced Thanks for your help in advance -- 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: Cannot get Cygwin to produce a core dump
Craig Johansen wrote: Method 1 Running ./a.exe results in the following error: 6 [main] a 5132 _cygtls::handle_exceptions: Error while dumping state (probably corrupted stack) Segmentation fault (core dumped) But there is not core file in my directory That is not expected to create a core file. The default action if error_start is not set is to create a .stacktrace file. The error says core dumped, since that is what upstream bash is designed to print, since that's what happens on most *nixes. Perhaps the bash maintainer could patch this for Cygwin. Method 2 I have added the following to my cygwin.bat file: Set CYGWIN=error_start=c:\cygwin\bin\dumper.exe Running ./a.exe results in a window to pop-up and reads: Setting bfd architecture: No error The new window means dumper was successfully launched. The bfd error means it had some difficulty when trying to create the core file. You should try running dumper directly from a prompt to create a core of a running process and see if you can find out why it's failing. Method 3 I modified the environment variable to be: Set CYGWIN=error_start=c:\cygwin\home\MDGCUSTOMER\wrapper_dumper.cmd I wouldn't expect that to work, since a .cmd file is not directly executable; it has to be run with the COMSPEC as cmd.exe file.cmd. Explorer hides this fact for you because it uses ShellExecute() and not CreateProcess(), and the former knows how to look up an extension in the registry and find out how to run it, whereas CreateProcess requires the exact command and arguments. In order for this to work you'd need to create a wrapper .exe that spawns cmd.exe with the script filename as argument. [6] main a 3248 try_to_debug: Fialed to start debugger, Win32 error 2 This is the CreateProcess error. Brian -- 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/
Updated: git-1.5.0.3-1
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 A new release of git, 1.5.0.3-1, has been uploaded, replacing 1.4.4.4-1 as the current version. NEWS: = This is a new upstream release. See also the package documentation in /usr/share/doc/git-1.5.0.3/, along with the attached upstream release notes. When compiled out of the box, the upstream git maintainers cater to older cygwin releases, and intentionally disable certain features that have been reported on their mailing list, even though they work with the latest cygwin. Therefore, this build turns those features back on. However, it means that this version does assume that you are not using FAT or FAT32 to hold your repositories, since they do not store file permissions very accurately. DESCRIPTION: Git is popular version control system designed to handle very large projects with speed and efficiency; it is used mainly for various open source projects, most notably the Linux kernel. Git falls in the category of distributed source code management tools, similar to e.g. GNU Arch or Monotone (or BitKeeper in the proprietary world). Every Git working directory is a full-fledged repository with full revision tracking capabilities, not dependent on network access or a central server. UPDATE: === To update your installation, click on the Install Cygwin now link on the http://cygwin.com/ web page. This downloads setup.exe to your system. Save it and run setup, answer the questions and pick up 'git' from the 'Devel' category. DOWNLOAD: = Note that downloads from sources.redhat.com (aka cygwin.com) aren't allowed due to bandwidth limitations. This means that you will need to find a mirror which has this update, please choose the one nearest to you: http://cygwin.com/mirrors.html QUESTIONS: == If you want to make a point or ask a question the Cygwin mailing list is the appropriate place. - -- Eric Blake volunteer cygwin git maintainer CYGWIN-ANNOUNCE UNSUBSCRIBE INFO: = To unsubscribe to the cygwin-announce mailing list, look at the List-Unsubscribe: tag in the email header of this message. Send email to the address specified there. It will be in the format: [EMAIL PROTECTED] If you need more information on unsubscribing, start reading here: http://sources.redhat.com/lists.html#unsubscribe-simple Please read *all* of the information on unsubscribing that is available starting at this URL. -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.5 (Cygwin) Comment: Public key at home.comcast.net/~ericblake/eblake.gpg Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFF8fN/84KuGfSFAYARAvbKAJ9kFeUEI3KLhkScPMJUFNFOuDOsxwCdF2OO yMwjiVoKG1Yyobb8ryV7Fb0= =i3uK -END PGP SIGNATURE- GIT v1.5.0.3 Release Notes == Fixes since v1.5.0.2 * Bugfixes - 'git.el' honors the commit coding system from the configuration. - 'blameview' in contrib/ correctly digs deeper when a line is clicked. - 'http-push' correctly makes sure the remote side has leading path. Earlier it started in the middle of the path, and incorrectly. - 'git-merge' did not exit with non-zero status when the working tree was dirty and cannot fast forward. It does now. - 'cvsexportcommit' does not lose yet-to-be-used message file. - int-vs-size_t typefix when running combined diff on files over 2GB long. - 'git apply --whitespace=strip' should not touch unmodified lines. - 'git-mailinfo' choke when a logical header line was too long. - 'git show A..B' did not error out. Negative ref (not A in this example) does not make sense for the purpose of the command, so now it errors out. - 'git fmt-merge-msg --file' without file parameter did not correctly error out. - 'git archimport' barfed upon encountering a commit without summary. - 'git index-pack' did not protect itself from getting a short read out of pread(2). - 'git http-push' had a few buffer overruns. - Build dependency fixes to rebuild fetch.o when other headers change. * Documentation updates - user-manual updates. - Options to 'git remote add' were described insufficiently. - Configuration format.suffix was not documented. - Other formatting and spelling fixes. GIT v1.5.0.2 Release Notes == Fixes since v1.5.0.1 * Bugfixes - Automated merge conflict handling when changes to symbolic links conflicted were completely broken. The merge-resolve strategy created a regular file with conflict markers in it in place of the symbolic link. The default strategy, merge-recursive was even more broken. It removed the path that was pointed at by the symbolic link. Both of these problems have been fixed. - 'git diff maint master next' did not correctly give combined diff across three trees. - 'git fast-import' portability fix for