Re: Ready for upload: wget-1.9.1-2
On Jan 24 23:22, Hack Kampbjorn wrote: wget http://cygwin.hackdata.org/wget-1.9.1-2/wget-1.9.1-2.tar.bz2 wget http://cygwin.hackdata.org/wget-1.9.1-2/wget-1.9.1-2-src.tar.bz2 wget http://cygwin.hackdata.org/wget-1.9.1-2/setup.hint Uploaded. 1.9-1 has gone. Thanks, Corinna -- Corinna Vinschen Please, send mails regarding Cygwin to Cygwin Project Co-Leader mailto:cygwin@cygwin.com Red Hat, Inc.
Re: Ported ping
On Fri, Jan 21, 2005 at 01:57:41PM -0500, Christopher Faylor wrote: On Fri, Jan 21, 2005 at 12:18:53PM -0500, Christopher Faylor wrote: On Fri, Jan 21, 2005 at 04:30:18PM -, Lino Miguel Martins Tinoco wrote: Christopher Faylor wrote: I can get setup.hint but not ping-1.0-1.tar.bz2. Ok, I've tar'ed all 3 files into a file named ping.tar. The server was having problems dealing with multiple dots on the file name. I've tried and it worked (well, at least for me :)) Please try now: http://tartulho.no.sapo.pt/cygwin/ping.tar Seems to work just fine. Thanks for providing this. Uploaded. Just a reminder: You need to send out an announcement about this. Don't forget to include the unsubscribe instructions in your announcement. I still haven't seen an announcement about ping? Lino, could you send one as soon as possible? cgf
RE: Ported ping
Christopher Faylor wrote: I still haven't seen an announcement about ping? Lino, could you send one as soon as possible? cgf Sorry, the company email server had some problems. I've sent it today to cygwin-annouce. --Lino Tinoco
Re: Ported ping
On Tue, Jan 25, 2005 at 06:32:13PM -, Lino Miguel Martins Tinoco wrote: Christopher Faylor wrote: I still haven't seen an announcement about ping? Lino, could you send one as soon as possible? Sorry, the company email server had some problems. I've sent it today to cygwin-annouce. I saw it. Thank you. I'm excited about finally having this package in the cygwin distro. Thanks for providing it. cgf
Re: resolution smaller than application
I run the file startxwin.bat. The coomand I run is the following: run XWin :0 -screen 0 [EMAIL PROTECTED] -scrollbars -query %REMOTE_HOST% -nodecoration -lesspointer -clipboard My current WindowsXp screen resolution is 1024x768 . Mordechai Igor Pechtchanski [EMAIL PROTECTED] 24/01/2005 18:26 Please respond to cygwin-xfree To: Mordechai Pniel/AME/CNTR/APPLIED [EMAIL PROTECTED] cc: cygwin@cygwin.com, cygwin-xfree@cygwin.com Subject:Re: resolution smaller than application Wrong list, redirecting... Please remove cygwin at cygwin dot com from any follow-ups. On Mon, 24 Jan 2005, mpniel wrote: My Windows Xp resolution is smaller than the real Xwindows application resolution that i am running. So i get only a section of the Xwindows screen application. Is it possible to get all the real Xwindows screen on my Windows XP? or at least to pan with the mouse in order to see the hidden parts of the big screen? or to scale the real Xwindows size to my WIndows Xp size? How are you invoking XWin? Do you use the startxwin.sh script? If so, XWin is invoked in multi-window mode, which uses the Windows screen as the X screen. Try invoking XWin directly, and giving it the -screen parameter (see the man page for instructions on specifying the screen size), and -scrollbars to allow resizing/scrolling. HTH, Igor -- http://cs.nyu.edu/~pechtcha/ |\ _,,,---,,_ [EMAIL PROTECTED] ZZZzz /,`.-'`'-. ;-;;,_ [EMAIL PROTECTED] |,4- ) )-,_. ,\ ( `'-'Igor Pechtchanski, Ph.D. '---''(_/--' `-'\_) fL a.k.a JaguaR-R-R-r-r-r-.-.-. Meow! The Sun will pass between the Earth and the Moon tonight for a total Lunar eclipse... -- WCBS Radio Newsbrief, Oct 27 2004, 12:01 pm EDT
Re: resolution smaller than application
Command failed with error: $ cygstart XWin :0 -screen 0 1280 1024 -scrollbars -query %REMOTE_HOST% -lesspointer -clipboard cygstart: bad argument -screen: unknown option typing only the cygstart command it returns the fllowing: $ cygstart Usage: cygstart [-a STRING] [-d STRING] [--hide] [--maximize] [--minimize] [--restore] [--show] [--showmaximized] [--showminimized] [--showminnoactive] [--showna] [--shownoactivate] [--shownormal] [--usage] [--version] [--license] [--reference] [OPTION]... FILE [ARGUMENTS] Mordechai Igor Pechtchanski [EMAIL PROTECTED] 25/01/2005 21:02 Please respond to cygwin-xfree To: Mordechai Pniel/AME/CNTR/APPLIED [EMAIL PROTECTED] cc: cygwin-xfree@cygwin.com Subject:Re: resolution smaller than application Yuk, top posting... Reformatted. On Tue, 25 Jan 2005, Mordechai_Pniel wrote: Igor Pechtchanski [EMAIL PROTECTED] 24/01/2005 18:26 Please respond to cygwin-xfree http://cygwin.com/acronyms/#PCYMTNQREAIYR. This *is* possible even in Lotus Notes (at least it is in R6). Also, please make sure your mailer respects the Reply-To header. On Mon, 24 Jan 2005, mpniel wrote: My Windows Xp resolution is smaller than the real Xwindows application resolution that i am running. So i get only a section of the Xwindows screen application. Is it possible to [inserted cases and notes below] a) get all the real Xwindows screen on my Windows XP? [IP: with scrollbars] b) or at least to pan with the mouse in order to see the hidden parts of the big screen? c) or to scale the real Xwindows size to my WIndows Xp size? Just to be clear: c) is not possible with pure Cygwin/X. I don't think there is any code that does b) either. That leaves a), which is what I've been implying you can achieve. How are you invoking XWin? Do you use the startxwin.sh script? If so, XWin is invoked in multi-window mode, which uses the Windows screen as the X screen. Try invoking XWin directly, and giving it the -screen parameter (see the man page for instructions on specifying the screen size), and -scrollbars to allow resizing/scrolling. I run the file startxwin.bat. The coomand I run is the following: BTW, what is the size of your X application? When you imply that it doesn't fit on the XP screen, and then say that you set your X window size to be the same as your XP screen, it's pretty confusing... I'm going to assume for the rest of this message that your X application is 1280x1024. run XWin :0 -screen 0 [EMAIL PROTECTED] -scrollbars -query %REMOTE_HOST% -nodecoration -lesspointer -clipboard ^^ I'm not sure this is the right syntax for the -screen parameter... Try -screen 0 1280 1024. Also, the -nodecoration may screw up the scrollbars (but, IIRC, run hides the root window unless -nodecoration is specified, so you'll have to switch to start or cygstart). My current WindowsXp screen resolution is 1024x768 . So, to summarize, try cygstart XWin :0 -screen 0 1280 1024 -scrollbars -query %REMOTE_HOST% -lesspointer -clipboard and see if you get a big enough window for your X app with scrollbars. HTH, Igor -- http://cs.nyu.edu/~pechtcha/ |\ _,,,---,,_ [EMAIL PROTECTED] ZZZzz /,`.-'`'-. ;-;;,_ [EMAIL PROTECTED] |,4- ) )-,_. ,\ ( `'-'Igor Pechtchanski, Ph.D. '---''(_/--' `-'\_) fL a.k.a JaguaR-R-R-r-r-r-.-.-. Meow! The Sun will pass between the Earth and the Moon tonight for a total Lunar eclipse... -- WCBS Radio Newsbrief, Oct 27 2004, 12:01 pm EDT
Re: resolution smaller than application
Yuk, top posting... Reformatted. On Tue, 25 Jan 2005, Mordechai_Pniel wrote: Igor Pechtchanski [EMAIL PROTECTED] 25/01/2005 21:02 Please respond to cygwin-xfree Again, http://cygwin.com/acronyms/#PCYMTNQREAIYR (Please configure your mailer to not quote raw e-mail addresses in your replies). We have enough spam out there as it is. This *is* possible even in Lotus Notes (at least it is in R6). Also, please make sure your mailer respects the Reply-To header. On Tue, 25 Jan 2005, Mordechai_Pniel wrote: On Mon, 24 Jan 2005, mpniel wrote: My Windows Xp resolution is smaller than the real Xwindows application resolution that i am running. So i get only a section of the Xwindows screen application. Is it possible to get all the real Xwindows screen on my Windows XP? BTW, what is the size of your X application? When you imply that it doesn't fit on the XP screen, and then say that you set your X window size to be the same as your XP screen, it's pretty confusing... You still didn't answer this one. I'm going to assume for the rest of this message that your X application is 1280x1024. [snip] So, to summarize, try cygstart XWin :0 -screen 0 1280 1024 -scrollbars -query %REMOTE_HOST% -lesspointer -clipboard and see if you get a big enough window for your X app with scrollbars. Command failed with error: $ cygstart XWin :0 -screen 0 1280 1024 -scrollbars -query %REMOTE_HOST% -lesspointer -clipboard cygstart: bad argument -screen: unknown option Whoops. Make that cygstart -- XWin :0 -screen 0 1280 1024 -scrollbars -query %REMOTE_HOST% -lesspointer -clipboard Sorry about the confusion, Igor -- http://cs.nyu.edu/~pechtcha/ |\ _,,,---,,_[EMAIL PROTECTED] ZZZzz /,`.-'`'-. ;-;;,_[EMAIL PROTECTED] |,4- ) )-,_. ,\ ( `'-' Igor Pechtchanski, Ph.D. '---''(_/--' `-'\_) fL a.k.a JaguaR-R-R-r-r-r-.-.-. Meow! The Sun will pass between the Earth and the Moon tonight for a total Lunar eclipse... -- WCBS Radio Newsbrief, Oct 27 2004, 12:01 pm EDT
subscribe [EMAIL PROTECTED]
Hopefully this is the way to subscribe to this list. donz
Re: subscribe donaldatziesig.org
On Tue, 25 Jan 2005, Donald R. Ziesig wrote: Hopefully this is the way to subscribe to this list. http://cygwin.com/lists.html#subscribe-unsubscribe Igor -- http://cs.nyu.edu/~pechtcha/ |\ _,,,---,,_[EMAIL PROTECTED] ZZZzz /,`.-'`'-. ;-;;,_[EMAIL PROTECTED] |,4- ) )-,_. ,\ ( `'-' Igor Pechtchanski, Ph.D. '---''(_/--' `-'\_) fL a.k.a JaguaR-R-R-r-r-r-.-.-. Meow! The Sun will pass between the Earth and the Moon tonight for a total Lunar eclipse... -- WCBS Radio Newsbrief, Oct 27 2004, 12:01 pm EDT
Re: resolution smaller than application
On Tue, 25 Jan 2005, Mordechai_Pniel wrote: On Tue, 25 Jan 2005, Igor Pechtchanski wrote: cygstart -- XWin :0 -screen 0 1280 1024 -scrollbars -query %REMOTE_HOST% -lesspointer -clipboard Great Igor !! Now it works ok. But just could you tell me why must use the command cygstart instead of run ? run will hide the main window in some cases. You can try it, and if it works for you -- great. Igor -- http://cs.nyu.edu/~pechtcha/ |\ _,,,---,,_[EMAIL PROTECTED] ZZZzz /,`.-'`'-. ;-;;,_[EMAIL PROTECTED] |,4- ) )-,_. ,\ ( `'-' Igor Pechtchanski, Ph.D. '---''(_/--' `-'\_) fL a.k.a JaguaR-R-R-r-r-r-.-.-. Meow! The Sun will pass between the Earth and the Moon tonight for a total Lunar eclipse... -- WCBS Radio Newsbrief, Oct 27 2004, 12:01 pm EDT
Application in linux and cygwin
I use source code created in linux to rebuild in cygwin. It is x-unikey (I attach it with this mail) I run ./configure, it's OK. But when I run make , compiler show some error. I don't know why.
Re: question about using Cygwin/X from 2 WinXPpro logins
On Wed, 26 Jan 2005, Banibrata Dutta wrote: Hi, I had installed Cygwin (including Cygwin/X) via the WinXPpro user=Administrator (for the local machine). Did you install for All Users, or Just for Me? BTW, the official guidelines for reporting Cygwin problems and providing relevant information about your system are at http://cygwin.com/problems.html. I can successfully do startx from this account, and do the usual Cygwin/X tasks from this, i.e. create xterms, do xhost+ etc. When i try to start Cygwin/X via the user=myself which belongs to domain=MYDOMAIN, startx fails, saying that xinit could not be found. I did the following... export PATH=$PATH:/usr/X11/bin startx but this has no impact, i.e. no success yet. Isn't it supposed to be /usr/X11R6/bin? Anybody aware / has-clue as to what's up ? Any help would be appreciated. Once you get past the PATH/mount hurdle, you might run into problems with /tmp/.X11-unix/. There are a few solutions: using different displays is one (provided that directory is writable to the world); mounting /tmp as a user mount in a different directory for each user is another. See the thread http://cygwin.com/ml/cygwin-xfree/2004-05/msg00252.html, for example. HTH, Igor -- http://cs.nyu.edu/~pechtcha/ |\ _,,,---,,_[EMAIL PROTECTED] ZZZzz /,`.-'`'-. ;-;;,_[EMAIL PROTECTED] |,4- ) )-,_. ,\ ( `'-' Igor Pechtchanski, Ph.D. '---''(_/--' `-'\_) fL a.k.a JaguaR-R-R-r-r-r-.-.-. Meow! The Sun will pass between the Earth and the Moon tonight for a total Lunar eclipse... -- WCBS Radio Newsbrief, Oct 27 2004, 12:01 pm EDT
src/winsup/cygwin ChangeLog path.cc
CVSROOT:/cvs/src Module name:src Changes by: [EMAIL PROTECTED] 2005-01-25 20:28:40 Modified files: winsup/cygwin : ChangeLog path.cc Log message: * path.cc (realpath): Allow to expand with .exe suffix. Patches: http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/winsup/cygwin/ChangeLog.diff?cvsroot=srcr1=1.2675r2=1.2676 http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/winsup/cygwin/path.cc.diff?cvsroot=srcr1=1.338r2=1.339
src/winsup/cygwin ChangeLog cygwin.din fork.cc ...
CVSROOT:/cvs/src Module name:src Changes by: [EMAIL PROTECTED] 2005-01-25 22:45:11 Modified files: winsup/cygwin : ChangeLog cygwin.din fork.cc miscfuncs.cc pinfo.cc pinfo.h spawn.cc syscalls.cc wincap.cc wincap.h winsup.h winsup/cygwin/include: limits.h winsup/cygwin/include/cygwin: types.h version.h winsup/cygwin/include/sys: resource.h Log message: * cygwin.din: Export getpriority and setpriority. * fork.cc (fork_parent): Copy parent's nice value into child. * spawn.cc (spawn_guts): Ditto. * miscfuncs.cc (winprio_to_nice): New function. (nice_to_winprio): Ditto. * pinfo.cc (pinfo_init): If parent is not a Cygwin process, set default nice value according to current Win32 priority class. * pinfo.h (class _pinfo): Add nice member. * syscalls.cc (setpriority): New function, only implementing PRIO_PROCESS for now. (getpriority): Ditto. (nice): Just call setpriority. * wincap.h (wincaps::has_extended_priority_class): New element. * wincap.cc: Implement above element throughout. * winsup.h: Add prototypes for winprio_to_nice and nice_to_winprio. * include/limits.h (NZERO): New define. * include/cygwin/types.h (id_t): New datatype. * include/cygwin/version.h: Bump API minor version. * include/sys/resource.h: Add PRIO_XXX defines and prototypes for getpriority and setpriority. Patches: http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/winsup/cygwin/ChangeLog.diff?cvsroot=srcr1=1.2676r2=1.2677 http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/winsup/cygwin/cygwin.din.diff?cvsroot=srcr1=1.123r2=1.124 http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/winsup/cygwin/fork.cc.diff?cvsroot=srcr1=1.143r2=1.144 http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/winsup/cygwin/miscfuncs.cc.diff?cvsroot=srcr1=1.31r2=1.32 http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/winsup/cygwin/pinfo.cc.diff?cvsroot=srcr1=1.151r2=1.152 http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/winsup/cygwin/pinfo.h.diff?cvsroot=srcr1=1.76r2=1.77 http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/winsup/cygwin/spawn.cc.diff?cvsroot=srcr1=1.164r2=1.165 http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/winsup/cygwin/syscalls.cc.diff?cvsroot=srcr1=1.357r2=1.358 http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/winsup/cygwin/wincap.cc.diff?cvsroot=srcr1=1.32r2=1.33 http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/winsup/cygwin/wincap.h.diff?cvsroot=srcr1=1.24r2=1.25 http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/winsup/cygwin/winsup.h.diff?cvsroot=srcr1=1.149r2=1.150 http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/winsup/cygwin/include/limits.h.diff?cvsroot=srcr1=1.12r2=1.13 http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/winsup/cygwin/include/cygwin/types.h.diff?cvsroot=srcr1=1.26r2=1.27 http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/winsup/cygwin/include/cygwin/version.h.diff?cvsroot=srcr1=1.172r2=1.173 http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/winsup/cygwin/include/sys/resource.h.diff?cvsroot=srcr1=1.7r2=1.8
src/winsup/cygwin ChangeLog path.cc
CVSROOT:/cvs/src Module name:src Changes by: [EMAIL PROTECTED] 2005-01-26 04:34:21 Modified files: winsup/cygwin : ChangeLog path.cc Log message: 2005-01-26 Pierre Humblet [EMAIL PROTECTED] * path.cc (path_conv::check): Return ENOTDIR rather than ENOENT when a component is not a directory. Remove unreachable code. (digits): Delete. Patches: http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/winsup/cygwin/ChangeLog.diff?cvsroot=srcr1=1.2678r2=1.2679 http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/winsup/cygwin/path.cc.diff?cvsroot=srcr1=1.339r2=1.340
src/winsup/w32api ChangeLog include/winuser.h
CVSROOT:/cvs/src Module name:src Changes by: [EMAIL PROTECTED] 2005-01-26 06:25:59 Modified files: winsup/w32api : ChangeLog winsup/w32api/include: winuser.h Log message: * include/winuser.h (SW_SMOOTHSCROLL): Add define. Patches: http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/winsup/w32api/ChangeLog.diff?cvsroot=srcr1=1.645r2=1.646 http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/winsup/w32api/include/winuser.h.diff?cvsroot=srcr1=1.100r2=1.101
[Patch]: setting errno to ENOTDIR rather than ENOENT
This patch should take care of the error reported by Eric Blake on the list, at least for disk files. It also removes code under the condition (opt PC_SYM_IGNORE) pcheck_case == PCHECK_RELAXED which is never true, AFAICS. It also gets rid of an obsolete function. While testing, the assert (!i); on line 259 of pinfo.cc kicks in. That's a feature because when flag PID_EXECED the code just loops, keeping the same h0 and mapname! Am I the only one to see that? Pierre 2005-01-25 Pierre Humblet [EMAIL PROTECTED] * path.cc (path_conv::check): Return ENOTDIR rather than ENOENT when a component is not a directory. Remove unreachable code. (digits): Delete. Index: path.cc === RCS file: /cvs/src/src/winsup/cygwin/path.cc,v retrieving revision 1.338 diff -u -p -r1.338 path.cc --- path.cc 18 Jan 2005 13:00:18 - 1.338 +++ path.cc 25 Jan 2005 20:08:53 - @@ -655,12 +655,6 @@ path_conv::check (const char *src, unsig full_path[3] = '\0'; } - if ((opt PC_SYM_IGNORE) pcheck_case == PCHECK_RELAXED) - { - fileattr = GetFileAttributes (this-path); - goto out; - } - symlen = sym.check (full_path, suff, opt | fs.has_ea ()); if (sym.minor || sym.major) @@ -680,7 +674,7 @@ path_conv::check (const char *src, unsig if (pcheck_case == PCHECK_STRICT) { case_clash = true; - error = ENOENT; + error = component?ENOTDIR:ENOENT; goto out; } /* If pcheck_case==PCHECK_ADJUST the case_clash is remembered @@ -706,6 +700,11 @@ path_conv::check (const char *src, unsig error = sym.error; if (component == 0) add_ext_from_sym (sym); + else if (!(sym.fileattr FILE_ATTRIBUTE_DIRECTORY)) +{ + error = ENOTDIR; + goto out; +} if (pcheck_case == PCHECK_RELAXED) goto out; // file found /* Avoid further symlink evaluation. Only case checks are @@ -939,15 +938,6 @@ path_conv::~path_conv () } } -static __inline int -digits (const char *name) -{ - char *p; - int n = strtol (name, p, 10); - - return p name !*p ? n : -1; -} - /* Return true if src_path is a valid, internally supported device name. In that case, win32_path gets the corresponding NT device name and dev is appropriately filled with device information. */
Re: [Patch]: setting errno to ENOTDIR rather than ENOENT
Corinna Vinschen wrote: Well done! I looked into this a few hours ago and missed how easy a solution would be. *mumbling something about needing glasses* I guess this is ok to check in after adding some spaces... OK, will do. Do you agree about removing the unreachable (?) code? If there is a taker, the virtual stuff needs to be fixed, but the whole approach should perhaps be reworked. See FIXME on line 616 of path.cc Pierre
Re: [Patch]: setting errno to ENOTDIR rather than ENOENT
Corinna Vinschen wrote: Well done! I looked into this a few hours ago and missed how easy a solution would be. *mumbling something about needing glasses* Ah, I see your message on the list. You found out that lstat(dir/x) with dir non-existing. = ENOENT So if (pcheck_case == PCHECK_STRICT) { case_clash = true; - error = ENOENT; + error = component?ENOTDIR:ENOENT; shouldn't be done after all. OK? Pierre
Re: is cygwin-announce broken?
On Jan 24 20:03, Brian Ford wrote: On Mon, 24 Jan 2005, Peter A. Castro wrote: Nope, the forwarding from cygwin-announce to cygwin is not working. I just checked the mail archives and there's a note from Brian Ford (Jan 10th) saying he has internet problems and the forwarding was broken as a result. Brian, any progress on this? Some, but not much. I am once again theoretically fowarding messages, and I have been since perl-5.8.6-2 on January 13, but they seem to be dissapearing into the ether. I haven't had time to look further yet. I did notify cgf that I wasn't sure I could continue to provide this service because of changes in corporate policy (the ability to use procmail and we are moving to MS Exchange :-(). So, if there are any volunteers...? Otherwise, I'll try to track it down later this week after a few deadlines. Sorry... If you give me your perl script and details on how to set this up, I could give it a try. Corinna -- Corinna Vinschen Please, send mails regarding Cygwin to Cygwin Project Co-Leader mailto:cygwin@cygwin.com Red Hat, Inc. -- 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: Lynx - Unable to Shell
On Jan 24 22:58, Steven Read wrote: When I attempt to shell out from Lynx the message Spawning your default shell. Use 'exit' to return to Lynx. flashes briefly but nothing else seems to happen. Upon exiting Lynx after browsing the message Spawning your default shell. Use 'exit' to return to Lynx. is visible between the lynx command line and the most recent prompt line. The uname command returns: CYGWIN_NT-5.0 anon 1.5.12(0.116/4/2) 2004-11-10 08:34 i686 unknown unknown Cygwin The version information for lynx is: Lynx Version 2.8.4rel.1 (17 Jul 2001) libwww-FM 2.14, SSL-MM 1.4.1, OpenSSL 0.9.7b Built on cygwin Aug 11 2003 22:59:49 Works for me. Could you please check if $SHELL is defined, points to an existing shell *and*, that's important, is also in the environment? Bash for instance defines $SHELL, but doesn't export it by default. Calling `export SHELL' should help. Corinna -- Corinna Vinschen Please, send mails regarding Cygwin to Cygwin Project Co-Leader mailto:cygwin@cygwin.com Red Hat, Inc. -- 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: is cygwin-announce broken?
On Tue, Jan 25, 2005 at 10:27:34AM +0100, Corinna Vinschen wrote: On Jan 24 20:03, Brian Ford wrote: On Mon, 24 Jan 2005, Peter A. Castro wrote: Nope, the forwarding from cygwin-announce to cygwin is not working. I just checked the mail archives and there's a note from Brian Ford (Jan 10th) saying he has internet problems and the forwarding was broken as a result. Brian, any progress on this? Some, but not much. I am once again theoretically fowarding messages, and I have been since perl-5.8.6-2 on January 13, but they seem to be dissapearing into the ether. I haven't had time to look further yet. I did notify cgf that I wasn't sure I could continue to provide this service because of changes in corporate policy (the ability to use procmail and we are moving to MS Exchange :-(). So, if there are any volunteers...? Otherwise, I'll try to track it down later this week after a few deadlines. Sorry... If you give me your perl script and details on how to set this up, I could give it a try. Is there any reason not to just subscribe cygwin at cygwin dot com to the cygwin-announce list? -- 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: is cygwin-announce broken?
On Jan 25 02:08, Yitzchak Scott-Thoennes wrote: On Tue, Jan 25, 2005 at 10:27:34AM +0100, Corinna Vinschen wrote: If you give me your perl script and details on how to set this up, I could give it a try. Is there any reason not to just subscribe cygwin at cygwin dot com to the cygwin-announce list? Just a bit of mail header tweaking. Corinna -- Corinna Vinschen Please, send mails regarding Cygwin to Cygwin Project Co-Leader mailto:cygwin@cygwin.com Red Hat, Inc. -- 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: Fw: bug in texi2dvi, and hack patch
Hi, On Mon, Jan 24, 2005 at 09:58:16PM +0200, Eli Zaretskii wrote: AC_SUBST(TESTF, test -f) testfile=conf$$.exe touch $testfile if test -x $testfile; then test -f $testfile || TESTF=: fi rm -f $testfile this code was full of silly bugs, sorry. I apologize for the confusion. I meant: AC_SUBST(TESTF, test -f) cat conf$$.exe _ASEOF #! /bin/sh exit 0 _ASEOF chmod +x conf$$.exe if test -x conf$$; then test -f conf$$ || TESTF=: fi rm -f conf$$.exe The idea is to set TESTF=: on platforms where test -x looks for .exe, while test -f doesn't (eg. on DJGPP). TESTF is test -f on all other platforms. We use AC_SUBST to replace occurences of @TESTF@ in texi2dvi.in. and use for dir in $PATH; do if test -x $dir/$1 @TESTF@ $dir/$1; then or testf=@TESTF@ ... for dir in $PATH; do if test -x $dir/$1 $testf $dir/$1; then in texi2dvi.in . Another way to fix the problem is to adopt the solution used by autoconf: make sure that the variable $ac_executable_extensions, which is set in config.site on some platforms, gets substituted: AC_SUBST(ac_executable_extensions) and put the following to texi2dvi.in: for dir in $PATH; do for exec_ext in '' @ac_executable_extensions@; do if test -f $dir/$1 test -x $dir/$1; then ... I'm okay with this method, provided that ac_executable_extensions can be computed reliably (you didn't say how). AFAIK, ac_executable_extensions is not computed. It is set in config.site which is included by configure at the beginning of its run. It is responsibility of the installer of Cygwin or DJGPP to create this file in a place where configure can find it. The variable CONFIG_SITE can be set, or the file can be placed to $prefix/share/config.site or $prefix/etc/config.site See (autoconf.info)Site Defaults for details. HTH, Stepan -- 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/
squid DNS problem
cygwin squid cannot retrieve a single page because The following error was encountered: Unable to determine IP address from host name for www.cygwin.com www.cygwin.com The dnsserver returned: Server Failure: The name server was unable to process this query. and error 503 (service unavailable) is logged to access.log 1106653186.612266 127.0.0.1 TCP_MISS/503 1200 GET http://www.cygwin.com/ http://www.cygwin.com/ - NONE/- - But DNS is up, at least DNS tests are passed when squid starts 2005/01/25 14:17:50| Performing DNS Tests... 2005/01/25 14:17:50| Successful DNS name lookup tests... 2005/01/25 14:17:50| DNS Socket created on FD 4 2005/01/25 14:17:50| Adding nameserver x from /etc/resolv.conf 2005/01/25 14:17:50| Adding nameserver x from /etc/resolv.conf and it seems to be working fine www.cygwin.com www.cygwin.com Server: xx Address: x Got answer: HEADER: opcode = QUERY, id = 19, rcode = NOERROR header flags: response, want recursion, recursion avail. questions = 1, answers = 1, authority records = 0, additional = 0 QUESTIONS: www.cygwin.com www.cygwin.com , type = A, class = IN ANSWERS: - www.cygwin.com www.cygwin.com internet address = 12.107.209.250 ttl = 16 (16 secs) Non-authoritative answer: Name:www.cygwin.com www.cygwin.com Address: 12.107.209.250 I am behind a firewall (microsoft ISA - not my idea, cannot change it). squid 2.4.STABLE7, squid.conf is taken from a linux machine running squid 2.5 outside a firewall with very little changes - proxy definition cache_peer proxy parent 81 0 default no-query, some paths, cache size. Any ideas? :), Leo -- 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: squid DNS problem
-Original Message- From: cygwin-owner On Behalf Of Mironov, Leonid {PBG} Sent: 25 January 2005 11:52 cygwin squid cannot retrieve a single page because The following error was encountered: Unable to determine IP address from host name for www.cygwin.com www.cygwin.com The dnsserver returned: Server Failure: The name server was unable to process this query. Any ideas? :), Leo It could well be old SYSTEMROOT not set in the env vars for the user id that squid is running under problem. http://www.google.co.uk/search?hl=enclient=firefox-arls=org.mozilla%3Aen-US%3A officialq=SYSTEMROOT+environment+inurl%3AcygwinbtnG=Searchmeta=filter=0 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/
more coreutils problems
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 The pathchk executable changed between coreutils 5.2.1 (where it stat'ed every component of the path name) and coreutils 5.3.0 (it now calls a single lstat() on the entire name) in how it checks for invalid filenames. This causes a regression on the following sequence: $ touch file $ pathchk --version | head -n 1 pathchk (GNU coreutils) 5.2.1 $ ~/coreutils-5.3.0/src/pathchk --version | head -n 1 pathchk (GNU coreutils) 5.3.0 $ pathchk file/x; echo $? pathchk: `file' is not a directory 1 $ ~/coreutils-5.3.0/src/pathchk file/x; echo $? 0 $ It looks like the lstat() call is violating POSIX - it should be checking the path prefix, note that `file' is not a directory, and set errno to ENOTDIR, but instead it is just setting ENOENT. Also, I noticed there is no setpriority() or getpriority(), but nice() is provided in unistd.h which does the same thing. It looks like winsup/cygwin/syscalls.cc always returns 0 in nice() on success, contrary to POSIX (it should be the new nice value, between -NZERO and NZERO-1). Furthermore, there is no definition of NZERO in limits.h, but POSIX requires it to be defined, and at least 20, if nice() is implemented. Ultimately, `nice nice' should print 10, not 0. But since Windows only provides 4 priority levels, cygwin should maintain a separate nice value per process that is mapped into Windows values, something like: -20 to - -11, -10 to -1, 0 to 9, and 10 to 19. That would make 'nice 1 nice' print 1, but not change the process priority; but 'nice nice' would print 10 and lower the priority. - -- Life is short - so eat dessert first! Eric Blake [EMAIL PROTECTED] -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.0 (Cygwin) Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org iD8DBQFB9k3K84KuGfSFAYARAqoWAJwJWTlUTPalGNZnPBSZbnfPCG2muQCgso1s HJhKKgV6i1NmsNhJZ1JkF6k= =rY2T -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: Multiple installations and 3PPs
I did not know to much about mount and regtool in Cygwin. As regtool is a Cygwin program and uses the Cygwin environment (am I wrong?) fiddling around in the registry seems to me like changing the car on the race track at full speed instead of going for a pitstop. I seemed more save to me changing the registry entries when no Cygwin is running and therefore used DOS/Windows batches. I wrote a collection of DOS/windows batch scripts, which do at least a convenient job of changing between installed Cygwin versions. I seems to work with the two versions I have from my 3PP's (V1.2 and V1.5.10) but I have not been working with it extensively. So there might still be short comings. I would like to place it some where everyone interested can download, modify and extend it. I do not want to create something like a project, simply provide it to people who might find it useful (added the description file). Maybe there exists some download page for Cygwin additionals ? Greets Roman Dick Repasky wrote: On Fri, 21 Jan 2005, Christopher Faylor wrote: On Fri, Jan 21, 2005 at 08:54:35AM -0500, Dick Repasky wrote: Roman here is what I do. 1) Install first instance of cygwin. 2) Export the registry key HKEY_LOCAL_MACINE/.../Cygnus Solutions to a file. Use a filename that represents the install. 3) Delete the registry key. As usual, everyone is impressed with the fact that they know that cygwin uses registry keys and no one is thinking that they could use cygwin tools to manipulate them. Incorrect! As usual, everyone follows the path of least resistance to solve problems. They take what they know and what they find out by reading and piece them together to form a solution. From reading the available documentation on mount, amateurs like myself are very unlikely to conclude that mount can be used to switch between installed instances of cygwin. Chances are that they do know something about the registry and they can easily figure out how cygwin makes use of them. So, that's what they do. If you want people to use mount, revise the documentation. Either make the statement explicitly and provide an example, or explain the workings of cygwin mounts and how cygwin starts clearly enough that readers can deduce for themselves that mount can be used. Enjoy life, Dick Repasky - Dick Repasky Bioinformatics Support UITS Cubicle 101.08 Indiana University USA [EMAIL PROTECTED] -- 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/ A collection of batch scripts which change Cygwin between different versions. Copyright (C) 2005 Roman Kellner, Cabtronix AG www.cabtronix.ch This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version. This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. What is SetCyg.bat? SetCyg.bat is a collection of DOS/Windows batch scripts which change Cygwin installation between different versions. Why SetCyg.bat? --- Serveral toolchain provider start to use GCC with Cygwin on Windows machines. Most provider test their toolchain with one specific Cygwin version and do not support later versions of Cygwin with their toolchain (libraries etc.). Since it is not possible to run more than one Cygwin environment at a time, at least multiple installations and a convenient mechanism to switch between the installed version is the goal of SetCyg.bat. Files and directory structure: -- CygVersion ¦-- Switch ¦ ¦-- V1-2 (example only) ¦ ¦-- V1-5-10 (example only) ¦ ¦-- Vn-n-n Files in CygVersion: - General batch scripts: DelCygReg.reg, DelCygReg.bat, ReadCygReg.bat, SetCyg.bat, SetCygPath.bat, SetCygReg.bat, SetCygVers.bat, gpl.txt, readme.txt Files in CygVersion\Switch: - specific batch scripts to switch between versions Files in CygVersion\V1-2: - .reg files of version V1-2 - specific batch script which reads the .reg files. Files in CygVersion\V1-5-10: - .reg files of version V1-5-10 - specific batch script which reads the .reg files. Files in CygVersion\Vn-n-n: - .reg files of version Vn-n-n - specific batch script which reads the .reg files. INPORTANT: The version directories
Re: Lynx - Unable to Shell
Corinna, Thanks very much for nailing this one. I had checked the environment before posting my original message: [EMAIL PROTECTED] ~ $ set|grep SHELL SHELL=/bin/bash SHELLOPTS=braceexpand:emacs:hashall:histexpand:history:interactive-comments:monitor [EMAIL PROTECTED] ~ $ /bin/bash [EMAIL PROTECTED] ~ What got me was that I had not done an export on any of the environment variables. Pordon my ignorance but what did I miss here? On the Sun box I use the environment variables from .profile (which does not exist in Cygwin) are properly exported. Really I did read the FAQ. By the way could I persuade you to release the API in PDF format?) Steven Read - 812/237-3362 - [EMAIL PROTECTED] Indiana State University [EMAIL PROTECTED] 01/25/2005 4:46 AM On Jan 24 22:58, Steven Read wrote: When I attempt to shell out from Lynx the message Spawning your default shell. Use 'exit' to return to Lynx. flashes briefly but nothing else seems to happen. Upon exiting Lynx after browsing the message Spawning your default shell. Use 'exit' to return to Lynx. is visible between the lynx command line and the most recent prompt line. The uname command returns: CYGWIN_NT-5.0 anon 1.5.12(0.116/4/2) 2004-11-10 08:34 i686 unknown unknown Cygwin The version information for lynx is: Lynx Version 2.8.4rel.1 (17 Jul 2001) libwww-FM 2.14, SSL-MM 1.4.1, OpenSSL 0.9.7b Built on cygwin Aug 11 2003 22:59:49 Works for me. Could you please check if $SHELL is defined, points to an existing shell *and*, that's important, is also in the environment? Bash for instance defines $SHELL, but doesn't export it by default. Calling `export SHELL' should help. Corinna -- Corinna Vinschen Please, send mails regarding Cygwin to Cygwin Project Co-Leader mailto:cygwin@cygwin.com Red Hat, Inc. -- 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: squid DNS problem
It could well be old SYSTEMROOT not set in the env vars for the user id that squid is running under problem. So it is, but with a twist. Windows sets SystemRoot, when bash starts it upcases all environment vars so SystemRoot becomes SYSTEMROOT and everything works fine, but I tried to start squid directly from windows... Missed that, silly me. Thanks. :), Leo -- 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: Lynx - Unable to Shell
On Tue, 25 Jan 2005, Steven Read wrote: Corinna, Thanks very much for nailing this one. I had checked the environment before posting my original message: [EMAIL PROTECTED] ~ $ set|grep SHELL SHELL=/bin/bash SHELLOPTS=braceexpand:emacs:hashall:histexpand:history:interactive-comments:monitor [EMAIL PROTECTED] ~ $ /bin/bash [EMAIL PROTECTED] ~ What got me was that I had not done an export on any of the environment variables. Pordon my ignorance but what did I miss here? On the Sun box PAGER=less -p allexport man bash Don't know if this will work for automatically set stuff, like $SHELL, though. I use the environment variables from .profile (which does not exist in Cygwin) are properly exported. Really I did read the FAQ. By the way could I persuade you to release the API in PDF format?) The Cygwin API is in DocBook format. There seem to be multiple ways of getting from DocBook to PDF, just Google for DocBook PDF. [EMAIL PROTECTED] 01/25/2005 4:46 AM Oh, and http://cygwin.com/acronyms/#PCYMTNQREAIYR. Thanks. HTH, Igor -- http://cs.nyu.edu/~pechtcha/ |\ _,,,---,,_[EMAIL PROTECTED] ZZZzz /,`.-'`'-. ;-;;,_[EMAIL PROTECTED] |,4- ) )-,_. ,\ ( `'-' Igor Pechtchanski, Ph.D. '---''(_/--' `-'\_) fL a.k.a JaguaR-R-R-r-r-r-.-.-. Meow! The Sun will pass between the Earth and the Moon tonight for a total Lunar eclipse... -- WCBS Radio Newsbrief, Oct 27 2004, 12:01 pm EDT -- 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: Lynx - Unable to Shell
On Jan 25 09:08, Steven Read wrote: Corinna, Thanks very much for nailing this one. I had checked the environment before posting my original message: No, apparently you didn't... [EMAIL PROTECTED] ~ $ set|grep SHELL SHELL=/bin/bash SHELLOPTS=braceexpand:emacs:hashall:histexpand:history:interactive-comments:monitor ... because `set' only prints the internal variables of ash/bash, not the variables exported into the environment. If you want to print the environment, call `env'. What got me was that I had not done an export on any of the environment variables. Pordon my ignorance but what did I miss here? This has been discussed already two(?) years ago when bash version 2.05 saw the light. It's mentioned also in /usr/share/doc/bash-2.05b/CHANGES, line 576: w. Bash no longer auto-exports HOME, PATH, SHELL, or TERM, even though it gives them default values if they don't appear in the initial environment. Bash expects SHELL to be set by the invoking login mechanism. Add `export SHELL' to your own .profile and you're all set. Really I did read the FAQ. By the way could I persuade you to release the API in PDF format?) HTML is working fine. I don't see the advantage of PDF over HTML. Corinna -- Corinna Vinschen Please, send mails regarding Cygwin to Cygwin Project Co-Leader mailto:cygwin@cygwin.com Red Hat, Inc. -- 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: squid DNS problem
At 09:42 AM 1/25/2005, you wrote: It could well be old SYSTEMROOT not set in the env vars for the user id that squid is running under problem. So it is, but with a twist. Windows sets SystemRoot, when bash starts it upcases all environment vars so SystemRoot becomes SYSTEMROOT and everything works fine, but I tried to start squid directly from windows... Missed that, silly me. Thanks. So who is looking for SYSTEMROOT in a case sensitive manner, squid or Windows? Can you *attach* the output of 'cygcheck -srv'? -- Larry Hall http://www.rfk.com RFK Partners, Inc. (508) 893-9779 - RFK Office 838 Washington Street (508) 893-9889 - FAX Holliston, MA 01746 -- 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/
installation problem
hi I have tried to download cygwin (all packages) from many ftp sites, but the download process always stops at %99 . May it become because fo the virus program installed on my network connected PC.This virus program always scans the immediate downloaded or created files ! regards -- Unal Topuz -- 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: is cygwin-announce broken?
On Tue, 25 Jan 2005, Corinna Vinschen wrote: If you give me your perl script and details on how to set this up, I could give it a try. Not perl, but procmail: :0 * ^Sender: cygwin-announce-owner at cygwin dot com { SUBJECT=`formail -c -xSubject:` FROM0=`formail -X'From '` FROM1=`formail -X'From:'` :0fW | formail -I '' \ -I$FROM0 \ -I$FROM1 \ -I'To: cygwin at cygwin dot com' \ -ISubject: [ANNOUNCEMENT]$SUBJECT \ -I'Reply-To: cygwin at cygwin dot com' :0c: cygwin-announce :0 !cygwin at cygwin dot com } Let me know how it goes so I can turn my broken one off ;-). Thanks. -- Brian Ford Senior Realtime Software Engineer VITAL - Visual Simulation Systems FlightSafety International the best safety device in any aircraft is a well-trained pilot... -- 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: is cygwin-announce broken?
On Tue, Jan 25, 2005 at 09:29:26AM -0600, Brian Ford wrote: On Tue, 25 Jan 2005, Corinna Vinschen wrote: If you give me your perl script and details on how to set this up, I could give it a try. Not perl, but procmail: :0 * ^Sender: cygwin-announce-owner at cygwin dot com { SUBJECT=`formail -c -xSubject:` FROM0=`formail -X'From '` FROM1=`formail -X'From:'` :0fW | formail -I '' \ -I$FROM0 \ -I$FROM1 \ -I'To: cygwin at cygwin dot com' \ -ISubject: [ANNOUNCEMENT]$SUBJECT \ -I'Reply-To: cygwin at cygwin dot com' :0c: cygwin-announce :0 !cygwin at cygwin dot com } Let me know how it goes so I can turn my broken one off ;-). Thanks. FWIW, I was going to look into installing something on sourceware to do this. That's why I didn't solicit other people to provide this service. 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/
Problem uninstalling/deleting cygwin
Hello, after a (stupid) attempt to install an older version of cygwin over my current installation (using the cygwin time machine mentioned some days ago) I just wanted to throw it away and start anew, but the cygwin directory is undeletable. This is due to some symbolic links from versions of uninstalled programs pointing to nowhere (i.e. /usr/autotool/devel/bin/automake, which is a symlink to automake-1.9). I am able to change owner and permissions of these files to whatever I want, but I can not delete them (Permission denied). What should I do, to get a clean new install? -- 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: Setup Failure
Igor Pechtchanski To: Arthur I Schwarz [EMAIL PROTECTED] [EMAIL PROTECTED] cc: cygwin@cygwin.com .eduSubject: Re: Setup Failure 01/24/2005 06:58 PM Please respond to cygwin On Mon, 24 Jan 2005, Arthur I Schwarz wrote: From: Igor Pechtchanski On Mon, 24 Jan 2005, aschwarz1309 wrote: From: Igor Pechtchanski On Mon, 24 Jan 2005, aschwarz1309 wrote: The following error message was displayed in a pop-up window when I tried to execute setup. Fatal Error: Uncaught Exception Thread: install Type: St16invalid_argumet Message: URL Scheme not registered! I am using the setup.exe and setup.ini files downloaded on Jan 17. The steps executed to display this message were: 1: I copied the setup files from one computer to another (Intel to AMD machines). 2: I copied the downloaded Cygwin files. [snip] Any idea how to fix the problem? Do you Google: http://google.com/search?q=%22URL+Scheme+not+registered%22+cygwin? The first match is a thread that provides a solution. Igor I download in the following steps: [snip] After the work installation, I copied Setup.exe and Setup.ini and the folder. I brought the files home, copied the files to my home computer and attempted to do a local install. The install failed with the indicated message(s), see below. It's unclear whether you're doing it the wrong way or not. When you say copied setup.exe and setup.ini, do you mean that you copied them to the same directory? Sorry, I meant do you copy setup.ini and the package files to the same directory?. -- I have a copy of setup.ini in the same directory that has setup.exe. -- This setup.ini is of unknown provenance. I have assumed that it is -- ignored by setup.exe during the local install. -- For the local install, I reference another directory containing the -- setup.ini file from my work machine. The directory structure is: -- -- root/cygwin contains setup.exe and a copy of setup.ini -- root/cygwin/http* local install directory -- root/cygwin/http*/release local install packages That would make setup crash in the way you described (see the above Google link). -- I copy setup.exe from www.cygwin.com and execute setup.exe on -- the host computer. -- I copy setup.exe and the directory containing the downloaded -- installation files and setup.ini that setup creates. Do you copy the directory verbatim? What is the method of copying? Are special characters lost during copying? -- I copy from HDD to a USB connected memory (soft drive). -- I use the Windows Explorer to copy the http* directory and all it's -- contents. I assume that this is a binary-to-binary copy with characters -- neither added, subtracted, intercolated, or divided. -- But you raise a good question. When I want to migrate files from -- computer to computer (for an install using setup), what files -- are required? Is it only setup.exe and the directory containing -- the downloaded installation files, or are there other files needed? It should be only setup.exe and the downloaded files directory... I just realized something, however: did you report the version of setup.exe that you're using? If not, please let us know what it is. If you're downloading it off http://cygwin.com/, beware of the caching in IE (I've been bitten by it before). -- setup-2.427-1-src.tar.bz2 downloaded from http://cygwin.com -- In particular, since I am not downloading additional files I -- specify a 'local installation' in the setup pop-up. Is this correct? It should be... Oh, and one last thing: more information should be available in the /var/log/setup.log and
Re: Problem uninstalling/deleting cygwin
Neven Luetic wrote: I am able to change owner and permissions of these files to whatever I want, but I can not delete them (Permission denied). What should I do, to get a clean new install? Have you completely rebooted (never hurts just to make sure) and followed the directions in the FAQ: http://cygwin.com/faq.html for How do I uninstall all of Cygwin? Also you do not mention what OS which might help you get help. bk -- 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 uninstalling/deleting cygwin
At 11:28 AM 1/25/2005, you wrote: Hello, after a (stupid) attempt to install an older version of cygwin over my current installation (using the cygwin time machine mentioned some days ago) I just wanted to throw it away and start anew, but the cygwin directory is undeletable. This is due to some symbolic links from versions of uninstalled programs pointing to nowhere (i.e. /usr/autotool/devel/bin/automake, which is a symlink to automake-1.9). I am able to change owner and permissions of these files to whatever I want, but I can not delete them (Permission denied). What should I do, to get a clean new install? This subject is really off-topic for this list. The cygwin time machine is not a service supported by this list. As mentioned at http://www.fruitbat.org/Cygwin/index.html#cygwincirca, you want to consult [EMAIL PROTECTED] -- Larry Hall http://www.rfk.com RFK Partners, Inc. (508) 893-9779 - RFK Office 838 Washington Street (508) 893-9889 - FAX Holliston, MA 01746 -- 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 uninstalling/deleting cygwin
Am Dienstag, den 25.01.2005, 12:20 -0500 schrieb Brian Keener: Neven Luetic wrote: I am able to change owner and permissions of these files to whatever I want, but I can not delete them (Permission denied). What should I do, to get a clean new install? Have you completely rebooted (never hurts just to make sure) and followed the directions in the FAQ: http://cygwin.com/faq.html I did reboot and read the faq. However, I didn't *first* delete the desktop icon and the registry tree, but tried to delete the cygwin dir prior to this. Also you do not mention what OS which might help you get help. It's W2K. In the meantime I moved the directory away and I am able to install a new cygwin and remove it by deleting the directory. However I can not get rid of the old directory. Everything inside, that's a real file, can be deleted manually by setting the appropriate privileges - what remains are just the stale symbolic links and some symbolic links to Windows files like /etc/hosts to C:\WINNT\system32\drivers\etc\networks. Neven -- 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 uninstalling/deleting cygwin
after a (stupid) attempt to install an older version of cygwin over my current installation (using the cygwin time machine mentioned some days ago) I just wanted to throw it away and start anew, but the cygwin directory is undeletable. This is due to some symbolic links from versions of uninstalled programs pointing to nowhere (i.e. /usr/autotool/devel/bin/automake, which is a symlink to automake-1.9). I am able to change owner and permissions of these files to whatever I want, but I can not delete them (Permission denied). What should I do, to get a clean new install? This subject is really off-topic for this list. The cygwin time machine is not a service supported by this list. As mentioned at http://www.fruitbat.org/Cygwin/index.html#cygwincirca, you want to consult [EMAIL PROTECTED] Well, I thought my question had something to do with permissions/ownerships or perhaps stale symbolic links. I doubt, that installing older versions on an existing cygwin installation is the only way to run into such a problem. -- 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 uninstalling/deleting cygwin
-Original Message- From: cygwin-owner On Behalf Of Larry Hall Sent: 25 January 2005 17:42 At 11:28 AM 1/25/2005, you wrote: Hello, after a (stupid) attempt to install an older version of cygwin over my current installation (using the cygwin time machine mentioned some days ago) I just wanted to throw it away and start anew, but the cygwin directory is undeletable. This is due to some symbolic links from versions of uninstalled programs pointing to nowhere (i.e. /usr/autotool/devel/bin/automake, which is a symlink to automake-1.9). I am able to change owner and permissions of these files to whatever I want, but I can not delete them (Permission denied). What should I do, to get a clean new install? Hi Neven, Dunno what's gone wrong here. Let's take a look at those ACLs: open a DOS prompt, change dir into cygwin_root\usr\autotool\bin and show us the output from cacls automake.lnk It would be good to make _sure_ you're logged in with the same user name when trying to delete it as you were when you installed it, particularly if you ran setup.exe with the Install Just for me option. This subject is really off-topic for this list. The cygwin time machine is not a service supported by this list. Larry, you're being too harsh there! The how to uninstall procedure is standard advice and fully backwardly compatible. If we would give the uninstall advice to someone who never upgraded beyone 1.3.x, there's no reason not to give it to someone who has downgraded; we wouldn't tell the first person Oh, uninstalling 1.3.x is not supported, so first update your entire installation to 1.5.12, then follow this procedure., now would we? As mentioned at http://www.fruitbat.org/Cygwin/index.html#cygwincirca, you want to consult [EMAIL PROTECTED] Please Configure Your Fingers To Not Quote Raw Email Addresses In Your Replies! 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: Problem uninstalling/deleting cygwin
Neven Luetic wrote: In the meantime I moved the directory away and I am able to install a new cygwin and remove it by deleting the directory. However I can not get rid of the old directory. Everything inside, that's a real file, can be deleted manually by setting the appropriate privileges - what remains are just the stale symbolic links and some symbolic links to Windows files like /etc/hosts to C:\WINNT\system32\drivers\etc\networks. I'm curious. What happens if you open a Windows Explorer and attempt to delete the top level directory for this renegade Cygwin install? -- ...Every morning is the dawn of a new error... -- 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/
possible for win32 links to work as cygwin links?
Forgive me if this has been covered somewhere, but I was wondering if a setting could be added in CYGWIN, to process windows links [.lnk] files as cygwin links. Is this possible? It sure would be handy to have the linux utils like find and readlink to work on win-links and run cleanup jobs on one's system to search for stale link. It is very useful to have cygwin links work in the 'win32 env, it would be equally useful to have an option to have win32 links work in cygwin [if it is doable and not too much bother...]. If there is already a way to turn this on, a clue-stick would be appreciated...:-) -linda -- 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: Fw: bug in texi2dvi, and hack patch
Date: Tue, 25 Jan 2005 11:55:24 +0100 From: Stepan Kasal [EMAIL PROTECTED] Cc: [EMAIL PROTECTED], [EMAIL PROTECTED], bug-texinfo@gnu.org, [EMAIL PROTECTED], [EMAIL PROTECTED], cygwin@cygwin.com Another way to fix the problem is to adopt the solution used by autoconf: make sure that the variable $ac_executable_extensions, which is set in config.site on some platforms, gets substituted: AC_SUBST(ac_executable_extensions) and put the following to texi2dvi.in: for dir in $PATH; do for exec_ext in '' @ac_executable_extensions@; do if test -f $dir/$1 test -x $dir/$1; then ... I'm okay with this method, provided that ac_executable_extensions can be computed reliably (you didn't say how). AFAIK, ac_executable_extensions is not computed. It is set in config.site which is included by configure at the beginning of its run. Then, for Texinfo, we probably should set ac_executable_extensions in djgpp/config.site, since I don't want to rely on the system-wide config.site to set that (or even to exist) in a typical DJGPP installation. If Autoconf has a similar DJGPP-specific directory in its distro, it could set ac_executable_extensions there and point CONFIG_SITE to that file. Thanks for explaining the other method (which should also be okay, I think). -- 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 bughunt (using snapshot)
Cristopher Faylor wrote: Again, this doesn't address your immediate concern. A snapshot is your best bet. Using the snapshot in the test environment, I now get these errors: sleep.exe (1924): *** MapViewOfFileEx(0x188, in_h 0x188) failed, Win32 error 6 Any ideas why this occurs? Can you send your cygcheck output (as an attachment) and a sample script which demonstrates this problem? Sure, I can try and make a test case. But only if you care about it, because I've kinda dropped the snapshot idea for now, in favor of trying different versions of Cygwin or compiling using one of the 'src' packages. -- 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 bughunt (FAQ alert?)
Cristopher Faylor wrote: Actually, we do. We provide the source code. It's easy to build. On your particular system which is tuned to do precisely this, maybe. If it's as easy as you say, I'll spend some more time on it. Have you even tried it? No. For a couple of reasons. 1. Prior experience with compiling large open source projects have shown me that it usually takes intimate knowledge of the source code and what tools and operating system should be used in order to make a good compile. 2. Other peoples posting suggested compiling Cygwin is not a walk in the park. 3. I had no idea of the --enable-debugging option that creates a debug version, or any of the other requirements for making the source compile (I'm sure there exists some). 4. I hate to bug the list with stupid questions on how to compile Cygwin, when all I really need is to retrieve more debug information from a running system, not compile a new one. 5. Probably more reasons. Nobody cares, so I'm going to stop the listing here :-). I just tried a regular (non-debug) compile, compiling the freshest source that comes with the stock 1.5.10, using GCC etc. from 1.5.10. It stopped compiling with this error message: /winsup/cygwin/errno.cc:154: error: external linkage required for symbol 'const char* const _sys_errlist[]' because of 'dllexport' attribute. The cause for this particular compile error is probably some minor technicality, but add up a dozen of these, and I will soon have spent a month just trying to make myself a debug DLL to match my 1.5.10 :-(. I've seen advice elsewhere to simply migrate through Cygwin versions until I happen to bump into one that works with the application in question. With limited time on my hands (I can't devote a month to finding out how to compile Cygwin proper), I think that that's maybe the most viable solution so far?.. Otherwise I may put some more effort into the whole compilation thing. There's another version of the source that comes with stock 1.5.10 which so far only complains about missing 'w32api'-something, so maybe I'll have more luck with that. -- 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: possible for win32 links to work as cygwin links?
On Jan 25 11:44, linda w wrote: Forgive me if this has been covered somewhere, but I was wondering if a setting could be added in CYGWIN, to process windows links [.lnk] files as cygwin links. Is this possible? No, it's not. It sure would be handy to have the linux utils like find and readlink to work on win-links and run cleanup jobs on one's system to search for stale link. It is very useful to have cygwin links work in the 'win32 env, it would be equally useful to have an option to have win32 links work in cygwin [if it is doable and not too much bother...]. It is partly doable and the first implementation in Cygwin even did that. But it results in a problem. Windows shortcuts may contain a couple of extra information which just have nothing to do with the pure path information. If these shortcuts are treated like symlinks, it becomes impossible to make backups of Windows shortcuts using Cygwin tools like tar. Today, tar treats Windows shortcuts as normal files. If tar just can see the symlink part, the extracted shortcut wouldn't be very similar to what has been archived. Corinna -- Corinna Vinschen Please, send mails regarding Cygwin to Cygwin Project Co-Leader mailto:cygwin@cygwin.com Red Hat, Inc. -- 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 uninstalling/deleting cygwin
after a (stupid) attempt to install an older version of cygwin over my current installation (using the cygwin time machine mentioned some days ago) I just wanted to throw it away and start anew, but the cygwin directory is undeletable. This is due to some symbolic links from versions of uninstalled programs pointing to nowhere (i.e. /usr/autotool/devel/bin/automake, which is a symlink to automake-1.9). I am able to change owner and permissions of these files to whatever I want, but I can not delete them (Permission denied). What should I do, to get a clean new install? Hi Neven, Dunno what's gone wrong here. Let's take a look at those ACLs: open a DOS prompt, change dir into cygwin_root\usr\autotool\bin and show us the output from cacls automake.lnk It would be good to make _sure_ you're logged in with the same user name when trying to delete it as you were when you installed it, particularly if you ran setup.exe with the Install Just for me option. I'm pretty sure I logged in as the same user and I installed globally. cacls just says system can't find the given file (translation from german). As I deleted everything except those links in the meantime, I think this is ok. Neven -- 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 uninstalling/deleting cygwin
Am Dienstag, den 25.01.2005, 11:47 -0800 schrieb Andrew DeFaria: Neven Luetic wrote: In the meantime I moved the directory away and I am able to install a new cygwin and remove it by deleting the directory. However I can not get rid of the old directory. Everything inside, that's a real file, can be deleted manually by setting the appropriate privileges - what remains are just the stale symbolic links and some symbolic links to Windows files like /etc/hosts to C:\WINNT\system32\drivers\etc\networks. I'm curious. What happens if you open a Windows Explorer and attempt to delete the top level directory for this renegade Cygwin install? It says: x cannot be deleted. Access denied. Maybe the source file is opened (maybe this translation from german is bad, but I saw it before, so you'll recognize it). -- 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: more coreutils problems
On Jan 25 06:46, Eric Blake wrote: It looks like the lstat() call is violating POSIX - it should be checking the path prefix, note that `file' is not a directory, and set errno to ENOTDIR, but instead it is just setting ENOENT. I tested the following three situations on Linux and on Cygwin: lstat(file/x) with file an existing file lstat(dir/x) with dir an existing directory lstat(dir/x) with dir non-existing. On linux, the first case sets errno to ENOTDIR, the other two cases set errno to ENOENT. On Cygwin, errno is the translated Win32 error code from a call to GetFileAttributes. GetFileAttributes results in ERROR_FILE_NOT_FOUND in the second case, in ERROR_PATH_NOT_FOUND in the first and third case. So there's no chance to get a 1:1 translation into the correct POSIX errno except for testing all path components if GetFileAttributes returns ERROR_PATH_NOT_FOUND until GetFileAttributes succeeds. Implementing checking of each parent path component would slow things down incredibly. Also, I noticed there is no setpriority() or getpriority(), but nice() is provided in unistd.h which does the same thing. It looks like winsup/cygwin/syscalls.cc always returns 0 in nice() on success, contrary to POSIX (it should be the new nice value, between -NZERO and NZERO-1). Furthermore, there is no definition of NZERO in limits.h, but POSIX requires it to be defined, and at least 20, if nice() is implemented. Ultimately, `nice nice' should print 10, not 0. But since Windows only provides 4 priority levels, cygwin should maintain a separate nice value per process that is mapped into Windows values, something like: -20 to - -11, -10 to -1, 0 to 9, and 10 to 19. That would make 'nice 1 nice' print 1, but not change the process priority; but 'nice nice' would print 10 and lower the priority. On Linux, nice(2) also only returns 0 in case of success and -1 otherwise. If somebody needs to retrieve the nice value, she's pointed to getpriority. I'm going to implement setpriority/getpriority and leave the nice(2) return codes as on Linux. Corinna -- Corinna Vinschen Please, send mails regarding Cygwin to Cygwin Project Co-Leader mailto:cygwin@cygwin.com Red Hat, Inc. -- 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 uninstalling/deleting cygwin
Neven Luetic wrote: Am Dienstag, den 25.01.2005, 11:47 -0800 schrieb Andrew DeFaria: Neven Luetic wrote: In the meantime I moved the directory away and I am able to install a new cygwin and remove it by deleting the directory. However I can not get rid of the old directory. Everything inside, that's a real file, can be deleted manually by setting the appropriate privileges - what remains are just the stale symbolic links and some symbolic links to Windows files like /etc/hosts to C:\WINNT\system32\drivers\etc\networks. I'm curious. What happens if you open a Windows Explorer and attempt to delete the top level directory for this renegade Cygwin install? It says: x cannot be deleted. Access denied. Maybe the source file is opened (maybe this translation from german is bad, but I saw it before, so you'll recognize it). Does any process have this file opened? Try using Process Explorer from SysInternals.com. -- Old quarterbacks never die, they just fade back and pass -- 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 bughunt (FAQ alert?)
On Tue, 25 Jan 2005, David Dindorp wrote: Cristopher Faylor wrote: Actually, we do. We provide the source code. It's easy to build. On your particular system which is tuned to do precisely this, maybe. If it's as easy as you say, I'll spend some more time on it. Have you even tried it? No. For a couple of reasons. [snip] 3. I had no idea of the --enable-debugging option that creates a debug version, or any of the other requirements for making the source compile (I'm sure there exists some). Umm, that was my bad. The thing is, --enable-debugging really produces a developer debug version, with extra tracing, etc. If all you want is a version of DLL with all the symbols (i.e., unstripped), the regular build produces that as well. Igor -- http://cs.nyu.edu/~pechtcha/ |\ _,,,---,,_[EMAIL PROTECTED] ZZZzz /,`.-'`'-. ;-;;,_[EMAIL PROTECTED] |,4- ) )-,_. ,\ ( `'-' Igor Pechtchanski, Ph.D. '---''(_/--' `-'\_) fL a.k.a JaguaR-R-R-r-r-r-.-.-. Meow! The Sun will pass between the Earth and the Moon tonight for a total Lunar eclipse... -- WCBS Radio Newsbrief, Oct 27 2004, 12:01 pm EDT -- 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 bughunt (FAQ alert?)
On Tue, Jan 25, 2005 at 04:07:18PM -0500, Igor Pechtchanski wrote: On Tue, 25 Jan 2005, David Dindorp wrote: Cristopher Faylor wrote: Actually, we do. We provide the source code. It's easy to build. On your particular system which is tuned to do precisely this, maybe. If it's as easy as you say, I'll spend some more time on it. Have you even tried it? No. For a couple of reasons. [snip] 3. I had no idea of the --enable-debugging option that creates a debug version, or any of the other requirements for making the source compile (I'm sure there exists some). Umm, that was my bad. The thing is, --enable-debugging really produces a developer debug version, with extra tracing, etc. If all you want is a version of DLL with all the symbols (i.e., unstripped), the regular build produces that as well. ...and now you get to repeat these facts endlessly as people find your words in the archives and assume that they need use this option regardless of follow-on discussion or the FAQ. 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/
Re: Problem uninstalling/deleting cygwin
It says: x cannot be deleted. Access denied. Maybe the source file is opened (maybe this translation from german is bad, but I saw it before, so you'll recognize it). Does any process have this file opened? Try using Process Explorer from SysInternals.com. Process Explorer doesn't show anything (I looked for the handle cygwin.old, i.e. the top level dir). I killed any process that I could (including explorer) and stopped AntiVir, Apache and mysql. No change. Anyway, those stale links cannot be accessed as files at all. I can only see them using ls or apply chmod/chown on them. Nothing else. If I try cat file, it says No such file or directory. File zombies. -- 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 uninstalling/deleting cygwin
Neven Luetic wrote: It says: x cannot be deleted. Access denied. Maybe the source file is opened (maybe this translation from german is bad, but I saw it before, so you'll recognize it). Does any process have this file opened? Try using Process Explorer from SysInternals.com. Process Explorer doesn't show anything (I looked for the handle cygwin.old, i.e. the top level dir). There are two different types of find in Process Explorer. Are you sure you tried both? I killed any process that I could (including explorer) and stopped AntiVir, Apache and mysql. No change. Anyway, those stale links cannot be accessed as files at all. I can only see them using ls or apply chmod/chown on them. Nothing else. If I try cat file, it says No such file or directory. File zombies. Symbolic links, in Cygwin for Windows, are not very much different than regular Windows Shortcuts (OK there are some differences and perhaps this is one of them). As such if you created a Windows shortcut to say a folder and later removed the folder you would expect, and Windows would handle, deleting the shortcut. As such I don't understand what the problem is here. You could: * Make the file that the link it pointing to valid then try removing the link * Try removing the link with Cygwin's rm (you probably did this already, included for completeness) * Try removing the link with Windows Explorer * Try removing the link with DOS' DEL. * Try examining the shortcut's properties and security -- 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: Courier-0.47, linker error: perlfilter.c: undefined reference to `_boot_'
Yitzchak Scott-Thoennes wrote: On Mon, Jan 24, 2005 at 11:53:46PM +0100, Gerrit P. Haase wrote: perlfilter.o(.text+0x36):perlfilter.c: undefined reference to `_boot_' It seems that the xsinit.c file was generated wrong: = xsinit.c = #include EXTERN.h #include perl.h EXTERN_C void xs_init (pTHX); EXTERN_C void boot_DynaLoader (pTHX_ CV* cv); EXTERN_C void boot_ (pTHX_ CV* cv); EXTERN_C void boot_Win32CORE (pTHX_ CV* cv); EXTERN_C void xs_init(pTHX) { char *file = __FILE__; dXSUB_SYS; /* DynaLoader is a special case */ newXS(DynaLoader::boot_DynaLoader, boot_DynaLoader, file); newXS(::bootstrap, boot_, file); newXS(Win32CORE::bootstrap, boot_Win32CORE, file); } = xsinit.c = From Makefile.am: xsinit.c: config.status @PERL@ -MExtUtils::Embed -e xsinit -- -o xsinit.c -std This is expanded in the Makefile to: xsinit.c: config.status /usr/bin/perl -MExtUtils::Embed -e xsinit -- -o xsinit.c -std Maybe it is related to the inclusion of Win32CORE, however it is dubious that there is bootstrap code for an anonym module anyway. Is there s.th. wrong in my Cygwin perl build, where should I look at first to find the reason for this problem, any hint appreciated. Hmm. Does it still happen if you try against a perl5.8.6 without the Win32CORE staticly linked? No, looks like this without Win32CORE statically linked in: = xsinit.c = #include EXTERN.h #include perl.h EXTERN_C void xs_init (pTHX); EXTERN_C void boot_DynaLoader (pTHX_ CV* cv); EXTERN_C void xs_init(pTHX) { char *file = __FILE__; dXSUB_SYS; /* DynaLoader is a special case */ newXS(DynaLoader::boot_DynaLoader, boot_DynaLoader, file); } = xsinit.c = Gerrit -- =^..^= -- 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/
Multiple installations and 3PP
On the 25th of January another one rode the bus, Time to put this thread to bed isn't it. Bruce -- 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: Where can I get the source code for setup.exe
As near everyone in the know knew, it all seems to work fine. I've done a configure and make and executed the generated setup.exe once (thanks Dan). However, there was an error detected during execution which caused the program to abort. My next step is to (try to) make the code with debugging options on and to use a convenient debugger (gdb) to see what went wrong. Before there are angry comments, I absolutely know that I did something wrong. No way was my effort correct or crowned in rectitude. But the program should not have crashed, and that's what I'm going to be working on. Thanks to all. art -- Original message -- From: Dan Ch [EMAIL PROTECTED] On Mon, 24 Jan 2005 [EMAIL PROTECTED] wrote: On Sun, 23 Jan 2005, Igor Pechtchanski wrote: On Sun, 23 Jan 2005, Dan Ch wrote: The current version of setup.exe is 2.457.2.1 but the Cygwin distribution contains version 2.427, i.e. setup installs the 2.427 source code instead of 2.457.2.1. See http://sources.redhat.com/cygwin-apps/setup.html. The version of the executable is determined by the revision of ChangeLog. HTH, Igor Unfortunately Setup-2.427.1.1 did not compile for me (missing files/classes). (snip) Did you type make setup.exe instead of make? make setup.exe caused a can't find zlib/libzcygw.a error but make without any arguments worked. These are the commands I used to build setup.exe: tar xvfjk setup-2.457.2.1.tar.bz2 cd setup-0 ./configure -C --disable-shared --host=i686-pc-mingw32 --build=i686-pc-cygwin CC=gcc -mno-cygwin CXX=g++ -mno-cygwin --enable-maintainer-mode make strip setup.exe upx setup.exe The only non-base Cygwin components needed were gcc-core (version 3.3.3-3), gcc-g++, and make as installing gcc-core usually installs gcc-mingw-core and w32api. make built a 9,591,694 byte setup.exe. strip reduced it to 809,472 bytes. In order to reduce setup.exe to 264,192 bytes (instead of 281,600 bytes), the native Windows version of upx version 1.20 needs to be used instead of the Cygwin version. It can be obtained from http://upx.sourceforge.net A note for the setup.exe maintainer: Typing upx --best setup.exe instead of upx setup.exe will generate a 259,584 byte setup.exe file instead of a 264,192 byte file. As mentioned above, the native Windows version of upx is required. Another note for the setup.exe maintainer: The source code in the Cygwin distribution needs to be updated to version 2.457.2.1. Dan Ch. -- 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/
mingw and cygwin
Hello, These inquiries are more of a curiosity rather than any problem regarding a specific issue: 1. I've downloaded the source of cdrtools and they compiled under cygwin very nicely :) Additionally, the distribution contains the build instructions for mingw. The readme for building in mingw states: - Download (http://www.mingw.org) and install the following Mingw32 packages: MinGW-3.1.0-1.exe MSYS-1.0.10.exe - Set PATH environment variable using command: set path=c:\msys\1.0\bin;c:\mingw\bin;%path% - enter 'make' command in top level directory of the unpacked project I'd like to be able to build the cdrtools under mingw. Is it possible for me to just change all references to gcc to gcc -mno-cygwin and run make (assuming, of course that both the native cygwin and native mingw libraries exist)? 2. Is there a one-to-one correspondence between the mingw runtime libraries (cygwin version) and the cygwin-native libraries? If not, what runtime libraries are in mingw (cygwin version) that are not in the cygwin-native libraries and vice versa? 3. What difference would there be between: a) having the rest of cygwin except the mingw libraries plus the (native) mingw and b) having the rest of cygwin including its mingw libraries minus the (native) mingw Thank you all for your patience. Best Regards, Carlo -- Carlo Florendo Astra Philippines Inc. www.astra.ph -- 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: Moving to the Desktop
Can anybody help with a single keyboard command that would move the user to the Desktop, usable across all systems? Well, the following THREE commands will work on any system, and then you can easily reference the user's desktop: mkdir /desktop foo=`cygpath -D -w` mount -u [-b|-t] $foo /desktop now cd /desktop Just Works(tm). -- Chuck -- 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 Time Machine
Actually, I think this is a neat idea. I tried to do something like it for personal use about 18 months ago -- I wanted a one-time snapshot of the cygwin-1.3.x baseline just prior to the 1.5.x transition. But I waited too long (e.g. after packages which required 1.5.x had polluted the server), and couldn't untangle what was old/what was new well enough for my taste. So I gave up. Your mechanism is much better. I, too, hope you don't regret it. :-) -- Chuck P.S. If Happy Fun Ball begins to smoke, get away immediately. Seek shelter and cover head. -- 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 uninstalling/deleting cygwin
At 01:34 PM 1/25/2005, Dave Korn wrote: This subject is really off-topic for this list. The cygwin time machine is not a service supported by this list. Larry, you're being too harsh there! The how to uninstall procedure is standard advice and fully backwardly compatible. If we would give the uninstall advice to someone who never upgraded beyone 1.3.x, there's no reason not to give it to someone who has downgraded; we wouldn't tell the first person Oh, uninstalling 1.3.x is not supported, so first update your entire installation to 1.5.12, then follow this procedure., now would we? No, that's true. The uninstall procedure is documented in the FAQ. Anyone that wants it can find it there. But I didn't read Neven's request as a simple inquiry of how to uninstall Cygwin (which the FAQ does cover) but rather how do I fix this now that I installed an old version from the cygwin time mmachine and trying to uninstall it didn't work. I don't know why Neven had a problem but if the prescribed approach given by the FAQ didn't work for him, then it seems reasonable to consult Peter's site with further questions. While I would agree that we cannot say that we don't support uninstalling of old versions, Neven says that he installed some old version over his current, which really isn't a supported option for Cygwin setup. There's the ability to downgrade an existing installation to the version just previous or there's the ability to install the previous version for the first time. But installing a previous version over a current installation isn't a recommended way of using setup even if you're not using the cygwin time machine. And if you are, well then there's a whole set of variations and options available that were not there heretofore. This is the reason I directed Neven back to Peter's site. Clearly, though, if Neven and others that use the cygwin time machine can get what they need from the cygwin.com web pages to help them with any problems they have after using the cygwin time machine, then that's great. But my position is that folks that have a problem after using Peter's site need to consult Peter, at least at first, the same as any other 3rd party site. Obviously, those who disagree with me are still free to answer the inevitable posts that we'll get here about the cygwin time machine anyway. With any luck, those posts will be few and far between so there will be little need to discuss how much noise of this kind is too much. -- Larry Hall http://www.rfk.com RFK Partners, Inc. (508) 893-9779 - RFK Office 838 Washington Street (508) 893-9889 - FAX Holliston, MA 01746 -- 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 uninstalling/deleting cygwin
On Tue, 25 Jan 2005, Neven Luetic wrote: It says: x cannot be deleted. Access denied. Maybe the source file is opened (maybe this translation from german is bad, but I saw it before, so you'll recognize it). Does any process have this file opened? Try using Process Explorer from SysInternals.com. Process Explorer doesn't show anything (I looked for the handle cygwin.old, i.e. the top level dir). I killed any process that I could (including explorer) and stopped AntiVir, Apache and mysql. No change. Anyway, those stale links cannot be accessed as files at all. I can only see them using ls or apply chmod/chown on them. Nothing else. If I try cat file, it says No such file or directory. File zombies. Can you see those stale link files in Windows Explorer? If not, you might want to try turning off the Hide protected operating system files (Recommended) option. To get to this option, select the Folder Options... on the Tools menu. Then select the View tab and look for the option in the Advanced settings box. Note that Hide protected operating system files (Recommended) hides all files that have both the system and hidden attribute including those that might not be used by the operating system. If you can see the files but can not delete them, you might want to try bypassing the recycle bin by holding down the left shift key while selecting delete. This will try to the delete the file instead of moving it to the recycle bin. Dan Ch. -- 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 uninstalling/deleting cygwin
At 01:20 PM 1/25/2005, you wrote: after a (stupid) attempt to install an older version of cygwin over my current installation (using the cygwin time machine mentioned some days ago) I just wanted to throw it away and start anew, but the cygwin directory is undeletable. This is due to some symbolic links from versions of uninstalled programs pointing to nowhere (i.e. /usr/autotool/devel/bin/automake, which is a symlink to automake-1.9). I am able to change owner and permissions of these files to whatever I want, but I can not delete them (Permission denied). What should I do, to get a clean new install? This subject is really off-topic for this list. The cygwin time machine is not a service supported by this list. As mentioned at http://www.fruitbat.org/Cygwin/index.html#cygwincirca, you want to consult doctor at fruitbat dot org. Well, I thought my question had something to do with permissions/ownerships or perhaps stale symbolic links. I doubt, that installing older versions on an existing cygwin installation is the only way to run into such a problem. You may be right. The point is that what you installed came from a completely different source than cygwin.com. Peter has kindly made this service available to those that want to use it but that also means that his site is the first source of support when problems arise from using it. That being said, you are of course welcome to use the information at the Cygwin site to help solve your problems. There's certainly at least one entry in the FAQ dedicated to the removal of Cygwin. To me, it sounds like you still have a Cygwin service or something running on your machine but that's just a WAG. -- Larry Hall http://www.rfk.com RFK Partners, Inc. (508) 893-9779 - RFK Office 838 Washington Street (508) 893-9889 - FAX Holliston, MA 01746 -- 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/
can you help me?
Hello I download cygwin and fetchmail.exe (for NTw2000). My computer has got XP PRO Operating system. 1. I installed cygwin. 2. I installed fetchmail.exe 3. I configured fetchmail.cfg file # Configuration created Wed Feb 17 15:43:25 1999 by fetchmailconf #set postmaster postmaster #set syslog #set invisible defaults proto POP3 smtphost mail.ekobinet.net smtpaddress mylocaldomain.local no keep fetchall poll mail.ekobinet.net user [EMAIL PROTECTED] there with password 1213 is akipek here #Multi Drop sample # #poll pop.provider.net localdomains localdomain.org local.org # user maildropbox with pass genericpass to * here # 4. I run fetchmail.exe. its okey. download a lot of mail from mail server. But I can't find, my mails. I want to sea mail with outlook express What can I do? Where is my mail? How can I related outlook express with fetcmail? thans best regards -- 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/
New Package: ping-1.0-1
The following package has been recently added to the Cygwin distribution: *** ping-1.0-1 Ping is a utility to test IP conectivity of a remote host, sending ICMP_ECHO_REQUEST packets from the local host to a remote host. The remote host is considered alive if it replies with a ICMP_ECHO_REPLY packet. --Lino Tinoco *** CYGWIN-ANNOUNCE UNSUBSCRIBE INFO *** If you want to unsubscribe from 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.
Updated: wget-1.9.1-2
DESCRIPTION: GNU Wget is a free software package for retrieving files using HTTP, HTTPS and FTP, the two most widely-used Internet protocols. It is a non-interactive commandline tool, so it may easily be called from scripts, cron jobs, terminals without Xsupport, etc. CYGWIN NEWS: - install the sample wgetrc from /usr/share/doc and not /usr/doc reported by Pierre A. Humblet - compiled against with new libintl (libintl3) and cygwin (1.5) dll WGET NEWS: * Wget 1.9.1 is a bugfix release with no user-visible changes. INSTALLATION: 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. Then, run setup and answer all of the questions. *** CYGWIN-ANNOUNCE UNSUBSCRIBE INFO *** If you want to unsubscribe from 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 the above URL. -- Med venlig hilsen / Kind regards Hack Kampbjørn