Re: [UPDATE]Astyle
On Fri, Sep 27, 2002 at 12:17:30PM +0900, Ryunosuke Satoh wrote: Hi Astyle Updated. BUG FIX: astyle --help out information to stdout, not stderr. (Thanks Walter) http://www.geocities.co.jp/SiliconValley-SanJose/5153/cygwin-package/astyle-1.15.3-3.package.tgz Please Upload. Done. I've changed the setup.hint file by dropping the 'curr' and 'prev' markers. Corinna -- Corinna Vinschen Please, send mails regarding Cygwin to Cygwin Developermailto:[EMAIL PROTECTED] Red Hat, Inc.
Package review status
doxygen (reviewed, 4 votes, Joshua, Lapo, Nicholas and Robert, package cleanup needed) CMake (reviewed, 2 votes, Gerrit and Nicholas, setup file correction needed) Corinna -- Corinna Vinschen Please, send mails regarding Cygwin to Cygwin Developermailto:[EMAIL PROTECTED] Red Hat, Inc.
setup.exe and 'default/skip/install/reinstall' question
Hi, I read the documents about setup.hint and setup.ini but I could not find the answer to my question. I want to change the 'default' install behaviour of setup.exe so that it will include packages I want and not the vanilla-default ones. I also want to remove some of the packages from the vanilla-default list. In our company we use cygwin, but everytime a new engineer wants to install cygwin, that person pops in my cube and asks what packages should be installed. I am willing to automate that by either editing setup.ini or setup.hint or any other method, but I could not find the description how to do that. Can anyone help me please ? Thanks, -- Best Regards, Leon. -- Leon KUKOVECDaisy Technologies Inc. Phone: +386(0)1 5008 112Stegne 21c Fax : +386(0)1 2342 7701000 Ljubljana Email: [EMAIL PROTECTED]
Re: setup.exe and 'default/skip/install/reinstall' question
Robert Collins [EMAIL PROTECTED] writes: On Fri, 2002-09-27 at 21:08, Leon KUKOVEC wrote: Hi, I read the documents about setup.hint and setup.ini but I could not find the answer to my question. I want to change the 'default' install behaviour of setup.exe so that it will include packages I want and not the vanilla-default ones. I also want to remove some of the packages from the vanilla-default list. In our company we use cygwin, but everytime a new engineer wants to install cygwin, that person pops in my cube and asks what packages should be installed. I am willing to automate that by either editing setup.ini or setup.hint or any other method, but I could not find the description how to do that. Setup a local mirror and a setup.ini. Include in the setup.ini simply the package names you want to include, and the category 'base' or 'misc'. This will cause Setup to only list those packages in the chooser window. But will the non-base packages be installed by default? I.e., will they come up Skip or current-version in the chooser window? When I download to a directory, and then use that directory to install, I see only the packages I downloaded, but I still have to manually select to install the non-base packages I downloaded. -Len You cannot safely remove pacakges from the default - we keep that as lean as we can. Thus, setup is *not designed* to enable you doing that. I will *consider* patches to do that though. Rob -- --- GPG key available at: http://users.bigpond.net.au/robertc/keys.txt. ---
[Missing dependency] gettext should have requires: libiconv
/usr/lib/libiconv.la is given in /usr/lib/libintl.la(dependency_libs). Therefore, to link with it, the libiconv package must be installed. Max.
Re: setup.exe and 'default/skip/install/reinstall' question
On Sat, 2002-09-28 at 03:21, Len Giambrone wrote: This will cause Setup to only list those packages in the chooser window. But will the non-base packages be installed by default? I.e., will they come up Skip or current-version in the chooser window? When I download to a directory, and then use that directory to install, I see only the packages I downloaded, but I still have to manually select to install the non-base packages I downloaded. Oops, missed a step. When you engineers install have them select both any official mirror, and your local mirror. Setup will merge the metadata, making the locally tagged base package base, even if they are not base for official mirrors. Rob -- --- GPG key available at: http://users.bigpond.net.au/robertc/keys.txt. --- signature.asc Description: This is a digitally signed message part
Rootless Mode is an Important and Needed Feature
I think that a Rootless mode for the Xserver right now is one of the most important and crucial features needed. For the Xserver to be used in a way that is convenient for many users, the option to have X applications displayed on the main Windows desktop is pretty important. Of course the current Root mode should also be available as well, since it also has uses. The new rootless mode should be one of the top priorities. __ Do you Yahoo!? New DSL Internet Access from SBC Yahoo! http://sbc.yahoo.com
Debatable: Rootless Mode is an Important and Needed Feature
While, it might be nice to allow Windows to be the Window Manager and that it might be convenient, it is not a requirement for many people's regular and daily use of the Xserver. Would it be cool? Yes. I cannot right now think of a single X app would work better if Windows managed it. If there are, OK. I can't think of any
CATIA Launch Fails
I have installed CYGWIN and XFREE on my windows 2000 PC. Then I connect to an AIX machine and run a CAD application CATIA . I get the following error Xlib: XInputExtension is missing on myPC_IP:0.0 I am guessing that I am either missing extension XInputExtension or it is disabled Can anyone help? Thanks Vishal Nangrani
Re: Debatable: Rootless Mode is an Important and Needed Feature
I think that you are looking at it a different way.. If we had a rootless X-windows it would allow better integration with our current environment... and would help get it past the pointy haired bosses Thanks David R. Fischer Jim Drash wrote: While, it might be nice to allow Windows to be the Window Manager and that it might be convenient, it is not a requirement for many people's regular and daily use of the Xserver. Would it be cool? Yes. I cannot right now think of a single X app would work better if Windows managed it. If there are, OK. I can't think of any begin:vcard n:Fischer;David tel;cell:623-217-5858 x-mozilla-html:FALSE org:AMIS;Product Support adr:;;8701 E. Hartford Drive;Scottsdale;AZ;85255;USA version:2.1 email;internet:[EMAIL PROTECTED] title:Systems Support Eng. fn:David Fischer end:vcard
Re: Debatable: Rootless Mode is an Important and Needed Feature
Well, it isnt an absolute requirement, but it certianly is a significant convienience. I mantian some computer systems for some people, if I wished to use the Xserver to provide an X application for people to use, I know that if I told many people that they first had to maxamise a certian window and then find the application in that window, many users would be perplexed and complain loudly. For me a root mode is very useful, I like using my X Window Manager and X Desktop in a seperate window. Some users I maintian for though would be perplexed by this if I decided to provide X programs for them to use. This feature would be important to me for that convenience aspect, I know apps probably wouldnt work better in a rootless mode. While, it might be nice to allow Windows to be the Window Manager and that it might be convenient, it is not a requirement for many people's regular and daily use of the Xserver. Would it be cool? Yes. I cannot right now think of a single X app would work better if Windows managed it. If there are, OK. I can't think of any __ Do you Yahoo!? New DSL Internet Access from SBC Yahoo! http://sbc.yahoo.com
RE: Debatable: Rootless Mode is an Important and Needed Feature
I'm sure Harold would appreciate any patch contributions you make towards this... Seriously, very week (or so) somebody asks for this, but nobody puts code forwards. *shrug*, I think Harold is doing a fantastic job, and when he eventually gets around to scratching that itch I'll thank him again. However, I am not in a position to aid the xfree development; so I don't feel I can insist on something that would take so much effort... J.
Re: Debatable: Rootless Mode is an Important and Needed Feature
True. I also am unable to provide code . John Morrison wrote: I'm sure Harold would appreciate any patch contributions you make towards this... Seriously, very week (or so) somebody asks for this, but nobody puts code forwards. *shrug*, I think Harold is doing a fantastic job, and when he eventually gets around to scratching that itch I'll thank him again. However, I am not in a position to aid the xfree development; so I don't feel I can insist on something that would take so much effort... J. begin:vcard n:Fischer;David tel;cell:623-217-5858 x-mozilla-html:FALSE org:AMIS;Product Support adr:;;8701 E. Hartford Drive;Scottsdale;AZ;85255;USA version:2.1 email;internet:[EMAIL PROTECTED] title:Systems Support Eng. fn:David Fischer end:vcard
Re: XFree 4.2.1 + fontconfig-2
Alexander Gottwald wrote: #if Concat(SharedLib,libname) #define LibraryTargetName(libname) Concat3(lib,libname,.dll.a) #else #define LibraryTargetName(libname) Concat3(lib,libname,l.a) #endif But I don't know if this is either valid for imake or if it will break anything. And when you do a shared and a static version, the static version will most likely be name libName.dll.a too. I just checked and the above violates the cpp syntax. You can not have a macro with a conditional which depends on a parameter. |#define MACRO(x) |#if x |#define RESULT YES |#else |#define RESULT NO |#endif does not work. The preprocessor can not decide which one will be used later. Those preprocessor macros are not functions. What does this mean for us? Imagine you have libX11 as shared library and eg. libXt as static library (current configuration). a dependency like this | program: LibraryTargetName(X11) LibraryTargetName(Xt) which we want to resolve to | program: libX11.dll.a libXt.a is not possible. We'd have to build something like this | #if SharedLibraryX11 | #define X11lib SharedLibraryTargetName(X11) | #else | #define X11lib LibraryTargetName(X11) | #endif | ... | program: $(X11lib) $(Xtlib) and this must be done for all the code. My conclusion: We should stay with libName.a even for import libraries. Changing it and don't being able to build a simple macro which wraps it properly will sooner ar later cause compile problems. comments? bye ago -- [EMAIL PROTECTED] http://www.gotti.org ICQ: 126018723
Re: Rootless Mode is an Important and Needed Feature
Mlarcvaernas wrote: I think that a Rootless mode for the Xserver right now is one of the most important and crucial features needed. For the Xserver to be used in a way that is convenient for many users, the option to have X applications displayed on the main Windows desktop is pretty important. Of course the current Root mode should also be available as well, since it also has uses. The new rootless mode should be one of the top priorities. The rootless modes already has a high priority. But it is also a very complex problem and unless someone with _very_ much sparetime and good programming skills starts working on it, it will take a long time to finish it. bye ago -- [EMAIL PROTECTED] http://www.gotti.org ICQ: 126018723
Re: Rootless Mode is an Important and Needed Feature
Really? Thanks for the insight. Are you willing to sacrifice 20 hours per week to work on it? No? In case you didn't notice, rootless mode has been on the To-Do list for over a year. It is simply difficult and large in scope, thus no one is working on it. In fact, there isn't really any work going on in Cygwin/XFree86 on a daily basis, so rootless mode isn't going to get done anytime soon unless you are volunteering. Also, a question for you: What do I gain from sacrificing my time to implement a rootless mode? A rising stock price? A raise in my salary? Worldwide fame? A recommendation for a job? Nope --- I get none of that, I only loose my free time, so any time I spend on Cygwin/XFree86 had damn well better be worth it to me, because I'm the only one that can give me something for me efforts (which is simply giving myself satisfaction that I accomplished something, which I already have plenty of). Feeling fiesty? Why don't you suggest that we translate X graphics calls to GDI graphics calls next --- then I can once again point you to the To-Do list and to some work in progress. Sheesh. Harold Mlarcvaernas wrote: I think that a Rootless mode for the Xserver right now is one of the most important and crucial features needed. For the Xserver to be used in a way that is convenient for many users, the option to have X applications displayed on the main Windows desktop is pretty important. Of course the current Root mode should also be available as well, since it also has uses. The new rootless mode should be one of the top priorities. __ Do you Yahoo!? New DSL Internet Access from SBC Yahoo! http://sbc.yahoo.com
Re: Debatable: Rootless Mode is an Important and Needed Feature
Thank you John. You've got precisely the viewpoint that I am trying to instill in Mr. Mlarcvaernas. I guess the idea is don't look a gift horse in the mouth, eh? :) Harold John Morrison wrote: I'm sure Harold would appreciate any patch contributions you make towards this... Seriously, very week (or so) somebody asks for this, but nobody puts code forwards. *shrug*, I think Harold is doing a fantastic job, and when he eventually gets around to scratching that itch I'll thank him again. However, I am not in a position to aid the xfree development; so I don't feel I can insist on something that would take so much effort... J.
Re: Rootless Mode is an Important and Needed Feature
Good point Alexander. On a side note: Why is it that XDarwin has so many people contributing code and features (they seem to have an OpenGL-passthrough system now, which is pretty amazing), while Cygwin/XFree86 has so few contributors? This seems contradictory because Windows is on 95% of desktops while Mac OS X is only on 1% (~20% of Apple's 5% market share are running Mac OS X). That question will probably always baffle me. Harold Alexander Gottwald wrote: Mlarcvaernas wrote: I think that a Rootless mode for the Xserver right now is one of the most important and crucial features needed. For the Xserver to be used in a way that is convenient for many users, the option to have X applications displayed on the main Windows desktop is pretty important. Of course the current Root mode should also be available as well, since it also has uses. The new rootless mode should be one of the top priorities. The rootless modes already has a high priority. But it is also a very complex problem and unless someone with _very_ much sparetime and good programming skills starts working on it, it will take a long time to finish it. bye ago
Re: Rootless Mode is an Important and Needed Feature
--- Mlarcvaernas [EMAIL PROTECTED] wrote: I think that a Rootless mode for the Xserver right now is one of the most important and crucial features needed. For the Xserver to be used in a way that is convenient for many users, the option to have X applications displayed on the main Windows desktop is pretty important. Of course the current Root mode should also be available as well, since it also has uses. The new rootless mode should be one of the top priorities. Since you are using it in a commericial environment, I suggest you cough up so dough to sponser Harold for a weeks worth of work. Then you'd get your rootless mode. Otherwise, tell the whining users to shut their piehole. Cheers, Nicholas __ Do you Yahoo!? New DSL Internet Access from SBC Yahoo! http://sbc.yahoo.com
Re: Screen size question
On Fri, 27 Sep 2002 1:39 am, Christopher Faylor wrote: Redirecting to the correct mailing list. On Thu, Sep 26, 2002 at 11:26:20PM +0800, Stephen Liu wrote: Hi All People Can I issue following command to regulate the screen size at starting cygwin. # Xwin -query 192.168.0.XXX -screen aa x bb aa = width of screen in inches bb = height of screen in inches so that Linux would not cover Window screen completely. If NO, kindly advise how to make it. Thanks in advance. Use pixels, not inches. If you windows desktop is 1024x768, you could try for example $ XWin -query 192.168.0.XXX -screen 0 800 640 NOTE: Do NOT use 'inches', and do not use 'x' between width and height. See 'man XWin' for more info, or the users guide - http://xfree86.cygwin.com/docs/ug/configure-cygwin-xfree-options.html Rasjid.
src/winsup/mingw include/wchar.h include/io.h ...
CVSROOT:/cvs/src Module name:src Branch: mingw-std-ns-branch Changes by: [EMAIL PROTECTED] 2002-09-27 18:18:17 Modified files: winsup/mingw/include: wchar.h io.h winsup/mingw : ChangeLog Log message: * include/io.h: #include stddef.h with __need_wchat_t. * include/wchar.h (__VA_LIST): Define as __builtin_va_list or char*. Patches: http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/winsup/mingw/include/wchar.h.diff?cvsroot=srconly_with_tag=mingw-std-ns-branchr1=1.10.6.5r2=1.10.6.6 http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/winsup/mingw/include/io.h.diff?cvsroot=srconly_with_tag=mingw-std-ns-branchr1=1.5.6.3r2=1.5.6.4 http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/winsup/mingw/ChangeLog.diff?cvsroot=srconly_with_tag=mingw-std-ns-branchr1=1.85.2.11r2=1.85.2.12
Modes of files with uid = gid
Corinna, Motivated by a Cygwin list e-mail on this subject last weekend I have improved the handling of the modes of files with uid = gid. The patch below does that, as well as some other things I did not expect when I started. It also raises some questions and makes this e-mail rather long :( get_attribute_from_acl ** 1) When ntsec is off, the function is_grp_member(uid, gid) [in sec_helper.cc] returns true if the uid is a member of gid (reading /etc/group). However if ntsec is on, the function returns true if the current process access token contains the gid, independent of the uid. As a result, to a user SID_A doing ls -l on a file with uid SID_U and gid SID_G, it may (wrongly) appear that the file is user readable just because it is group readable and SID_G is in the current access token (of SID_A) and there is no access_denied on SID_U, even if SID_U is not in group SID_G. [this is not so easy to observe, due to the way alloc_sd works] To avoid this situation, but still try to report the true access of files owned by the current user SID_A, I only call is_grp_member when SID_A == SID_U. Note that is_grp_member is expensive: a passwd scan + getting the token groups in a malloc'ed structure. I am wondering if the effort is justified, considering that it is useless when the ACL is built by Cygwin (because Cygwin will put an access denied ACE, see below). This raises a basic issue: What is this function trying to accomplish? I can see several answers: A) For other and group, have modes report the true access rights A1) if the ACL was built by Cygwin A2) all the time. I believe we can easily do A2. B) For user, have modes report the true access rights B1) if the ACL was built by Cygwin B2) if the file uid is the current euid B3) all the time The patch stands somewhere between B1 and B2 (we don't take all the ACL groups in consideration, only the gid). Should we reduce to B1 or extend to B2 (perhaps by using AccessCheck)? Doing B3 would require looking up the PDC etc.., not recommended. Removing is_grp_member would preserve B1. What do you think? We want to keep ls -l fast. If we keep is_grp_member I will optimize the call flow to remove the passwd scan. 2) ACLs produced by third parties may well (stupidly) contain an access_denied ACE after a matching access_allowed ACE. To report the mode correctly in this situation (and do A2) it is necessary to always use constructs such as *flags |= ((!(*anti S_IROTH)) ? S_IROTH : 0) 3) When SID_U == SID_G, the group mode is now set to the user mode in the returned attribute. alloc_sd 4) The same problem with is_grp_member also occurs here. To avoid it I have suppressed the call and always set owner_deny = ~owner_allow (group_allow | other_allow); As a result the ACL is independent of what uid's are in the gid, which is as it should be. 5) When SID_U == SID_G I construct owner_allow from the OR of the user modes and group modes. That's an arbitrary decision, designed to be permissive. Finally I have done some minor cleanup, added unrelated access denied ACE is position 0 (never 1), and removed a bunch of unnecessary (! psid) tests. cygsid == psid is valid even when psid is NULL. Pierre P.S.: Please don't apply this patch in the next official cygwin if it comes out this weekend, it should be tested in cvs for a few days. Also, as I write this e-mail I realize that getgroups32 should open the thread access token during impersonation. 2002-09-27 Pierre Humblet [EMAIL PROTECTED] * security.c (get_attribute_from_acl): Always test anti. Handle case owner_sid == group_sid. Remove unnecessary tests for non-NULL PSIDs. (get_nt_object_attribute): Only set grp_member if myself-uid is uid. (get_nt_attribute): Ditto. (alloc_sd): Handle case where owner_sid == group_sid. Do not call is_grp_member. Try to preserve canonical order. Always add unrelated access_denied ACEs in position 0. Remove unnecessary tests for non-NULL PSIDs. Reorganize debug_printf's. --- security.cc.orig2002-09-25 19:35:48.0 -0400 +++ security.cc 2002-09-26 23:14:26.0 -0400 @@ -1238,19 +1238,17 @@ get_attribute_from_acl (int * attribute, if (ace_sid == well_known_world_sid) { if (ace-Mask FILE_READ_DATA) - *flags |= S_IROTH + *flags |= ((!(*anti S_IROTH)) ? S_IROTH : 0) | ((!(*anti S_IRGRP)) ? S_IRGRP : 0) | ((!(*anti S_IRUSR)) ? S_IRUSR : 0); if (ace-Mask FILE_WRITE_DATA) - *flags |= S_IWOTH + *flags |= ((!(*anti S_IWOTH)) ? S_IWOTH : 0) | ((!(*anti S_IWGRP)) ? S_IWGRP : 0) | ((!(*anti S_IWUSR)) ? S_IWUSR : 0); if (ace-Mask FILE_EXECUTE) - { - *flags |= S_IXOTH - | ((!(*anti S_IXGRP)) ?
RE: xrvt clipboard access
How you access it will depend upon how your mouse is set up. For example, using a three-button mouse, I'm able to paste the contents of the Windows clipboard to rxvt by clicking on the middle mouse button. That's good for some pasting jobs. Under Linux, I also have a function key defined to paste so I don't have to go reaching for the mouse. I haven't figured out how to do that with cygwin yet, though. But, it might be useful to mention in this context that you can also access /dev/clipboard. for example: $ note /dev/clipboard (note: note is my script) -- Thomas Mellman [EMAIL PROTECTED] __ Die clevere Geldreserve: der DiBa-Privatkredit. Funktioniert wie ein Dispo, ist aber viel gunstiger! Alle Infos: http://diba.web.de/?mc=021104 -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Bug reporting: http://cygwin.com/bugs.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/
RE: cygpath returns garbage if DOS/win2k input environment variable is too long?
Hi Randall, Completely incorrect. I use cygpath to convert CLASSPATHs all the time and it works just fine. Syntactically, they're just like PATH (on either side of the Unix / Windows divide) and cygpath doesn't care what they're used for, only what lexical / syntactic structure they have. If it works now, fine. And I know what I am talking about. I've provided enough code to cygpath. Regards, Jörg -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Bug reporting: http://cygwin.com/bugs.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/
Re: cvs cygwin1.dll
On Thu, 26 Sep 2002 10:42:56 -0400, Christopher Faylor [EMAIL PROTECTED] wrote: On Thu, Sep 26, 2002 at 05:20:53AM +, Guy Harrison wrote: [snip] If I knew unix I probably could - it's preventing me understanding crucial aspects of the cygwin dll. Nevertheless, methinks we're both correct. I've been thinking along these lines... Why are you mentioning UNIX? This is all Windows code. Nevermind. You don't have to answer that. This conversation is becoming Derbyshire-esq. Sigh! Let me ask a simple question: Do you still have problems with the current version of cvs? Just a yes or no answer please. No descents into code. No tweaking values that you think are causing problems. No colloquial observations. Just yes, it works or no, it still hangs. No, it still hangs. -- [EMAIL PROTECTED] -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Bug reporting: http://cygwin.com/bugs.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/
RE: Moving cygwin discussions to Usenet? (e.g., alt.os.cygwin)
In an earlier post, Chris January said... Tried the Cygwin TWiki? http://www.doc.ic.ac.uk/~ccj00/twiki/bin/view/Cygwin It's maintained by NanFudd aka Charles Howes. Just make a page for beginner's questions there. Hopefully some helpful souls will check back every so often ;) The internal URLs don't seem to be set up right; but there's some interesting things on there, thanks. C. -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Bug reporting: http://cygwin.com/bugs.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/
RE: Moving cygwin discussions to Usenet? (e.g., alt.os.cygwin)
Tried the Cygwin TWiki? http://www.doc.ic.ac.uk/~ccj00/twiki/bin/view/Cygwin It's maintained by NanFudd aka Charles Howes. Just make a page for beginner's questions there. Hopefully some helpful souls will check back every so often ;) The internal URLs don't seem to be set up right; but there's some interesting things on there, thanks. Oops - I broke that yesterday when trying to get external URLs to pop up in a new window. Should be fixed in an hour. Chris -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Bug reporting: http://cygwin.com/bugs.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/
Re: inetd fails with fork: Resource temporarily unavailable
I also saw this problem, see inetd stops allowing connections after console login thread. Unfortunately no one seems to have an explanation or a fix. It looks like we are getting similar symptoms. After some investigation I recall that the limit it is a limit on the number of processes that a given process can spawn from itself. However we couldn't quite tie this to the issue of being unable to login because each telnet session seems to start a new process. Not much help I'm afraid. Cheers Rob Anthony Yinkwan wrote: I've been attempting to get the Cygwin inetd going on Windows NT. Thing work all right when I'm not connected the local domain, but when I am attempts to telnet a ftp to my system from our LAN result in the following event being generated : The description for Event ID ( 0 ) in Source ( inetd ) could not be found. It contains the following insertion string(s): inetd : Win32 Process Id = 0x79 : Cygwin Process Id = 0x71 : fork: Resource temporarily unavailable. I have defined a local account that has the same name as my domain account and both accounts have local administrative rights ... Any help would be much appreciated, Thanks ! Anthony Shortland Mountain View, CA -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Bug reporting: http://cygwin.com/bugs.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/
Has anyone compiled a PHP extension (as a dll) succesfully in cygwin?
Hi: Has anyone compiled a PHP extension (as a dll) succesfully in cygwin? Thanks. -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Bug reporting: http://cygwin.com/bugs.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/
RE: Moving cygwin discussions to Usenet? (e.g., alt.os.cygwin)
RE: Moving cygwin discussions to Usenet? (e.g., alt.os.cygwin) From: Chris January chris at atomice dot net The internal URLs don't seem to be set up right; but there's some interesting things on there, thanks. Oops - I broke that yesterday when trying to get external URLs to pop up in a new window. Should be fixed in an hour. There's a good reason to stick with the mailing list - unasked-for new windows... -- Thomas Mellman [EMAIL PROTECTED] __ Die clevere Geldreserve: der DiBa-Privatkredit. Funktioniert wie ein Dispo, ist aber viel gunstiger! Alle Infos: http://diba.web.de/?mc=021104 -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Bug reporting: http://cygwin.com/bugs.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/
Re: [Proposal] Moving user mount information to HKLM
On Thu, Sep 26, 2002 at 09:38:21PM -0700, Doru Carastan wrote: How about breaking free from using the windoze registry. There is absolutely no special need to use it IMO. I'll second that. Relying on a single monolithic binary file for system critical information is an extraordinarily bad idea. A single ill-behaved program can render the system unbootable. AFAIK, the only thing that MUST be in there is the uninstall information. -- Charles Krug, Jr. Systems Engineer Pentek Corp 1 Park Way Upper Saddle River, NJ 07458 -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Bug reporting: http://cygwin.com/bugs.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/
Re: [Proposal] Moving user mount information to HKLM
On Thu, 26 Sep 2002, Doru Carastan wrote: How about breaking free from using the windoze registry. There is absolutely no special need to use it IMO. All the mount info can be stored in a plain ASCII file like 'cygwin.cfg'. As part of its initialization the cygwin1.dll can use GetModuleFileName() to figure out from where it was loaded and attempt to parse a possible config file located in the same dir with it. If this fails it will assume that it was loaded from /bin and attempt to read the config file from ../etc. If this fails then it can throw an error or try to recover the old info from the registry and generate the file based on it. Once it knows about the system mounts it will look in the user's home dir for something like .cygwinrc and get from there any user mounts and other settings like the ones set using the CYGWIN env variable. Let me know if I missed something. Thank you, Doru Carastan This has been suggested by Chris Faylor on the cygwin-developers list about 3 weeks ago. Igor -- http://cs.nyu.edu/~pechtcha/ |\ _,,,---,,_[EMAIL PROTECTED] ZZZzz /,`.-'`'-. ;-;;,_[EMAIL PROTECTED] |,4- ) )-,_. ,\ ( `'-' Igor Pechtchanski '---''(_/--' `-'\_) fL a.k.a JaguaR-R-R-r-r-r-.-.-. Meow! Water molecules expand as they grow warmer (C) Popular Science, Oct'02, p.51 -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Bug reporting: http://cygwin.com/bugs.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/
Re: [Proposal] Moving user mount information to HKLM
On Fri, 2002-09-27 at 23:15, Charles Krug wrote: On Thu, Sep 26, 2002 at 09:38:21PM -0700, Doru Carastan wrote: How about breaking free from using the windoze registry. There is absolutely no special need to use it IMO. I'll second that. Relying on a single monolithic binary file for system critical information is an extraordinarily bad idea. So, you'll be glad then that windows doesn't do that :]. The design of windows itself is really something for alt.os.advocacy. Cygwin uses the registry for various settings, and will almost certainly keep using it. There is some potential work going that *may* reduce registry use, but not because of reliability problems. See the -dev archives for more info. On the user mount in HKLM idea, it's a no-goer. Normal users don't have write access to most of HKLM, on any partly-secure install of NT (which is where the original posters issue arose). Secondly, there is a much more straightforward solution for the poster: use something like mount $USERPROFILE$CYGHOME /home/$USER then /home/$user will work correctly for pwd. Rob -- --- GPG key available at: http://users.bigpond.net.au/robertc/keys.txt. --- signature.asc Description: This is a digitally signed message part
RE: Open bash at the current explorer directory?
Gunnar, I suggest putting an 'echo $CYGWINSTARTHERE /var/log/bashhere.log' in your .bashrc before the 'cd' line. Then, when you know exactly which value $CYGWINSTARTHERE gets, try running your command with that value from the cmd.exe window, and see what it says... Once you've debugged this, don't forget to remove the 'echo' :-) Igor On Fri, 27 Sep 2002, [iso-8859-1] Gunnar Boström wrote: Thanks Igor, it works with the cygpath that you sent me. I have still one little problem. I can't get it to work when I select a drive. I get a DOS window where some text flies by, I think it's the output from env, and then the window disappears. It works fine when I select a directory I have the following command in the registry (windows XP pro) for both Directory and Drive. env.exe CYGWINSTARTHERE=%1 bash --login Suggestions? :-) -Original Message- From: Igor Pechtchanski [mailto:[EMAIL PROTECTED]] Sent: den 26 september 2002 16:24 To: Gunnar Boström Cc: [EMAIL PROTECTED] Subject: RE: Open bash at the current explorer directory? Oops, just re-read this... B, should drink more coffee before replying to mails... Here's another try: Gunnar, Converting short paths to long is exactly the intent of the `cygpath -w -l` line. However, the cygpath executable in the current distribution of cygwin doesn't work. You can simply recompile cygpath from the sources, or use the executable in the previous message (I've posted it once before, too, so you can search the archives). The latter does involve some degree of trust... :-D Hope this is more readable. Igor On Thu, 26 Sep 2002, Igor Pechtchanski wrote: Gunnar, This is exactly what the `cygpath -w -l` is supposed to do. The problem is that I forgot that the currently compiled cygpath is buggy (not sure why, recompiling it from 1.3.12-4 sources works). Either recompile cygpath, or use the attached binary (compiled on Win2k, don't know if it matters). Igor On Thu, 26 Sep 2002, [iso-8859-1] Gunnar Boström wrote: I only have ntsec in $CYGWIN. I tried your advise below but cygpath -w -l returns garbage! The very first problem is that env CFH=%1 in the register inserts the short windows form. Is it possible to force windows to insert the long form? :-) -Original Message- From: Igor Pechtchanski [mailto:[EMAIL PROTECTED]] Sent: den 25 september 2002 23:02 To: Gunnar Boström Cc: [EMAIL PROTECTED] Subject: RE: Open bash at the current explorer directory? Gunnar, I assume your $CYGWIN contains check_case:strict, since that is the setting in which the short paths won't work. They will work if $CYGWIN contains check_case:adjust. So, you can use the following sequence in your .bashrc to get the correct form of the windows path: if [ -n $CFH ] ; then CFH=$(export CYGWIN=$CYGWIN check_case:adjust;cygpath -w -l $CFH) cd $CFH unset CFH fi Hope this helps, Igor On Wed, 25 Sep 2002, [iso-8859-1] Gunnar Boström wrote: This works fine except that I get the windows short form of the directories in the CFH variable. I've tried filtering through cygpath but no luck. Any suggestion? :-? -Original Message- From: Frantisek Dufka [mailto:[EMAIL PROTECTED]] Sent: den 18 september 2002 10:56 To: [EMAIL PROTECTED] Subject: Re: Open bash at the current explorer directory? I don't know how to do it without using .bashrc, but this works for me (current cygwin, NT 4.0) Registry key contains: D:\cygwin\bin\rxvt.exe -sb -sr -sl 16384 -fn fixedsys -fg gray -bg black -e /bin/env CFH=%1 /bin/bash --login .bashrc contains if [ $CFH != ] ; then cd $CFH unset CFH fi No temporary files, bash.exe or .bash_profile is not executed twice. Also looks like cygpath -u is not needed, DOS paths seem to work in cd command. Frantisek - * John Daniel Doucette [EMAIL PROTECTED] [13-09-02 15:23]: I am using Win2000 Pro, SP3. Is there a way to invoke an interactive bash shell at a particular directory, without using a .bashrc or similar file? I.e. on the command lie alone? The --login and -c options appear to be mutually exclusive. I would like to be able browse quickly to a directory with explorer, option/right click on the directory, then select a custom open with cygwin option, and have the bash shell open at that directory. Has
Re: Solution to: Couldn't duplicate my handle Win32 error 6 when using gcc helloworld.c
On Fri, Sep 27, 2002 at 07:16:51AM +0200, [EMAIL PROTECTED] wrote: Hi guys. I present a solution to one of the cygwin on win2k problems: I ve read through the mailing list messages and found only one answer: complete new install OK. Anyway a solution. But not for me. So, what is the problem. If you download almost the complete net distrib from cygwin and install it on win2k and try to compile a c file with gcc you (could) get the following error messages: -precompiling works without error $ gcc -c helloworld.c 101 [main] gcc 1304 proc_subproc: Couldn't duplicate my handle0x58 for pid 1276, Win32 error 6 Administrator@UWEA ~ $ gcc helloworld.c 58 [main] gcc 1212 proc_subproc: Couldn't duplicate my handle0x58 for pid 540, Win32 error 6 /usr/lib/gcc-lib/i686-pc-cygwin/2.95.3-5/../../../../i686-pc-cygwin/bin/ld: installation problem, cannot exec `/usr/lib/ gcc-lib/i686-pc-cygwin/2.95.3-5/../../../../i686-pc-cygwin/bin/ld': Invalid argument collect2: ld returned 255 exit status -hey, you poor system do not want to give me a stupid handle? - I think I will persuade you to give me one!!! $ gcc -v Reading specs from /usr/lib/gcc-lib/i686-pc-cygwin/2.95.3-5/specs gcc version 2.95.3-5 (cygwin special) - great: Et la lumiere fut. OK, the bible helps sometimes solution: just deinstall gcc using setup.exe Wow, really a great trick. Isn t it? I am not a unix expert and I am not interested in exploring the process of installing cygwin, but I think there is something wrong with the netinstaller! work on it! I did not check the autotools, only gcc Just go away, ok? Thanks. cgf -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Bug reporting: http://cygwin.com/bugs.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/
Checking mount points
What is the easiest way to check if /home/$USER (or some other directory) has been mounted (either system-wide or user-only)? I know that I can use regtool (checking both the system and user keys) or parse the output from mount, but I was hoping for something as simple as typing isitmounted /home/$USER and have the unknown isitmounted command return an appropriate exit status. I'm trying to write startup scripts so that mount points get set automatically when running cygwin from a network share (but I don't to override /home/$USER if that already exists.) The mount man page seems to refer to a man page for mount-table but I haven't been able to find it. Thanks, Tony Richardson -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Bug reporting: http://cygwin.com/bugs.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/
Re: Pthread problems -- [was: Re: newer bintuils]
On Fri, 2002-09-27 at 23:59, [EMAIL PROTECTED] wrote: Yes, you are correct. However there are currently some pthread issues which are being resolved before this happens. Anyhow, as previously mentioned, we are probably in for a long wait. Cheers, Nicholas Can someone elucidate a bit on the pthread problems? I'm using pthreads, haven't yet done major/exhaustive testing, but would like to know if I could expect any impact from the problems. You shouldn't expect problems - the issues are in the development version, not the released version. Ok, well there are a number of bugfixes that the next release will include, see the developer list archives for the info - or wait for the release. Cheers, Rob -- --- GPG key available at: http://users.bigpond.net.au/robertc/keys.txt. --- signature.asc Description: This is a digitally signed message part
Re: Checking mount points
On Sat, 2002-09-28 at 00:07, Richardson, Tony wrote: What is the easiest way to check if /home/$USER (or some other directory) has been mounted (either system-wide or user-only)? I know that I can use regtool (checking both the system and user keys) or parse the output from mount, but I was hoping for something as simple as typing isitmounted /home/$USER and have the unknown isitmounted command return an appropriate exit status. I'm trying to write startup scripts so that mount points get set automatically when running cygwin from a network share (but I don't to override /home/$USER if that already exists.) 'mount' should do it. Cheers, Rob -- --- GPG key available at: http://users.bigpond.net.au/robertc/keys.txt. --- signature.asc Description: This is a digitally signed message part
RE: [Proposal] Moving user mount information to HKLM
On the user mount in HKLM idea, it's a no-goer. Normal users don't have write access to most of HKLM, on any partly-secure install of NT (which is where the original posters issue arose). I may be wrong, but couldn't setup, or whoever creates the original HKLM/../cygwin key, set up the security attributes such that any authenticated user may write there ? Secondly, there is a much more straightforward solution for the poster: use something like mount $USERPROFILE$CYGHOME /home/$USER You mean creating permanent system mounts while running as administrator. We tried that, and hit some upper mount limit in cygwin1.dll. Try it yourself: ~for i in 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26; do mount h: /home/user$i; done Dan. -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Bug reporting: http://cygwin.com/bugs.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/
RE: [Proposal] Moving user mount information to HKLM
On Sat, 2002-09-28 at 00:19, Dan Vasaru wrote: On the user mount in HKLM idea, it's a no-goer. Normal users don't have write access to most of HKLM, on any partly-secure install of NT (which is where the original posters issue arose). I may be wrong, but couldn't setup, or whoever creates the original HKLM/../cygwin key, set up the security attributes such that any authenticated user may write there ? Secondly, there is a much more straightforward solution for the poster: use something like mount $USERPROFILE$CYGHOME /home/$USER You mean creating permanent system mounts while running as administrator. We tried that, and hit some upper mount limit in cygwin1.dll. Try it yourself: ~for i in 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26; do mount h: /home/user$i; done Yes, it's limited to 30. See shared_info.h in the source. This affects BOTH user and system mounts. As a workaround you can hook the exiting of the login shell to unmount the path when you're finished. Hope that helps, Rob -- --- GPG key available at: http://users.bigpond.net.au/robertc/keys.txt. --- signature.asc Description: This is a digitally signed message part
RE: [Proposal] Moving user mount information to HKLM
Robert, Your solution only works if the users are local administrators, as a domain user has no rights to HKLM (and hence to create a system mount). In our case, giving all users local administrator rights is an acceptable solution, but we're still left with a maximum of 25-30 simultaneous users. But we'll go with it while waiting for a better mount. Thanks, Dan. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of Robert Collins Sent: Friday, September 27, 2002 4:28 PM To: Dan Vasaru Cc: [EMAIL PROTECTED] Subject: RE: [Proposal] Moving user mount information to HKLM On Sat, 2002-09-28 at 00:19, Dan Vasaru wrote: On the user mount in HKLM idea, it's a no-goer. Normal users don't have write access to most of HKLM, on any partly-secure install of NT (which is where the original posters issue arose). I may be wrong, but couldn't setup, or whoever creates the original HKLM/../cygwin key, set up the security attributes such that any authenticated user may write there ? Secondly, there is a much more straightforward solution for the poster: use something like mount $USERPROFILE$CYGHOME /home/$USER You mean creating permanent system mounts while running as administrator. We tried that, and hit some upper mount limit in cygwin1.dll. Try it yourself: ~for i in 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26; do mount h: /home/user$i; done Yes, it's limited to 30. See shared_info.h in the source. This affects BOTH user and system mounts. As a workaround you can hook the exiting of the login shell to unmount the path when you're finished. Hope that helps, Rob -- --- GPG key available at: http://users.bigpond.net.au/robertc/keys.txt. --- -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Bug reporting: http://cygwin.com/bugs.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/
RE: Checking mount points
From: Robert Collins [mailto:[EMAIL PROTECTED]] On Sat, 2002-09-28 at 00:07, Richardson, Tony wrote: What is the easiest way to check if /home/$USER (or some other directory) has been mounted (either system-wide or user-only)? I know that I can use regtool (checking both the system and user keys) or parse the output from mount, but I was hoping for something as simple as typing isitmounted /home/$USER and have the unknown isitmounted command return an appropriate exit status. I'm trying to write startup scripts so that mount points get set automatically when running cygwin from a network share (but I don't to override /home/$USER if that already exists.) 'mount' should do it. Any suggestions on how to do it? mount /home/$USER returns not enough arguments and I haven't found a -check option to mount. Tony -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Bug reporting: http://cygwin.com/bugs.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/
RE: Checking mount points
On Sat, 2002-09-28 at 00:56, Richardson, Tony wrote: Any suggestions on how to do it? mount /home/$USER returns not enough arguments and I haven't found a -check option to mount. mount | grep /home/$USER if empty, not mounted if not empty, the win32 path that is mounted there. Rob -- --- GPG key available at: http://users.bigpond.net.au/robertc/keys.txt. --- signature.asc Description: This is a digitally signed message part
Question for perl gurus: what creates /bin/{HEAD|GET|POST}?
A question for the perl gurus: I noticed that I have 3 files in /bin: HEAD, GET, and POST. These are interfaces to the LWP library. Does anyone know what creates them? Looking at the creation times, the most likely culprit is the CPAN perl module, but I'd like to confirm that. The reason I'm concerned about it is that the name HEAD clashes with /bin/head.exe, and results in weird-looking problems that took me a while to track down (i.e. 'ls|head' says 'head: command not found' -- I have check_case:strict; I suspect that without it users will simply get the wrong output). This is most likely Cygwin-specific, as other OSs will easily distinguish between head and HEAD. A suggestion/request to the perl maintainer: change the names of HEAD, GET, and POST to LWP-HEAD, LWP-GET, and LWP-POST... For consistency, this should probably be done in the main perl development branch, anyway, rather than in the Cygwin port... Does this sound very unreasonable? Igor -- http://cs.nyu.edu/~pechtcha/ |\ _,,,---,,_[EMAIL PROTECTED] ZZZzz /,`.-'`'-. ;-;;,_[EMAIL PROTECTED] |,4- ) )-,_. ,\ ( `'-' Igor Pechtchanski '---''(_/--' `-'\_) fL a.k.a JaguaR-R-R-r-r-r-.-.-. Meow! Water molecules expand as they grow warmer (C) Popular Science, Oct'02, p.51 -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Bug reporting: http://cygwin.com/bugs.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/
Re: Missing gettext.m4
Doru, On Thu, Sep 26, 2002 at 04:28:44PM -0700, Doru Carastan wrote: I am getting automake errors complaining about AM_GNU_GETTEXT. aclocal: configure.in: 91: macro `AM_GNU_GETTEXT' not found in library Is there any special reason why gettext.m4 is not installed? Yes, because it is in gettext-devel: $ zcat /etc/setup/gettext-devel.lst.gz | fgrep gettext.m4 usr/share/aclocal/gettext.m4 Jason -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Bug reporting: http://cygwin.com/bugs.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/
Re: Question for perl gurus: what creates /bin/{HEAD|GET|POST}?
Igor schrieb: A question for the perl gurus: I noticed that I have 3 files in /bin: HEAD, GET, and POST. These are interfaces to the LWP library. Does anyone know what creates them? Looking at the creation times, the most likely culprit is the CPAN perl module, but I'd like to confirm that. These are part of LWP (libwww) and were installed with the LWP module. The reason I'm concerned about it is that the name HEAD clashes with /bin/head.exe, and results in weird-looking problems that took me a while to track down (i.e. 'ls|head' says 'head: command not found' -- I have check_case:strict; I suspect that without it users will simply get the wrong output). This is most likely Cygwin-specific, as other OSs will easily distinguish between head and HEAD. Only possibility to have HEAD and head.exe is to use CYGWIN=check_case:strict or remove one of them. A suggestion/request to the perl maintainer: change the names of HEAD, GET, and POST to LWP-HEAD, LWP-GET, and LWP-POST... For consistency, this should probably be done in the main perl development branch, anyway, rather than in the Cygwin port... Does this sound very unreasonable? The LWP module isn't part of the Cygwin perl distribution. If you install LWP you are asked if you want to install these shortcuts This was included in the LWP setup because of the problems with Cygwin and other case insensitive platforms. You may try to convince the LWP maintainer to include an additional option to get the same shortcuts with a userdefined name instead of 'get them or leave them' as it is now. (mailto: libwww at perl.org) Gerrit -- =^..^= -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Bug reporting: http://cygwin.com/bugs.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/
Re: Question for perl gurus: what creates /bin/{HEAD|GET|POST}?
Gerrit, Thanks for a quick reply. On Fri, 27 Sep 2002, Gerrit P. Haase wrote: Igor schrieb: A question for the perl gurus: I noticed that I have 3 files in /bin: HEAD, GET, and POST. These are interfaces to the LWP library. Does anyone know what creates them? Looking at the creation times, the most likely culprit is the CPAN perl module, but I'd like to confirm that. These are part of LWP (libwww) and were installed with the LWP module. The reason I'm concerned about it is that the name HEAD clashes with /bin/head.exe, and results in weird-looking problems that took me a while to track down (i.e. 'ls|head' says 'head: command not found' -- I have check_case:strict; I suspect that without it users will simply get the wrong output). This is most likely Cygwin-specific, as other OSs will easily distinguish between head and HEAD. Only possibility to have HEAD and head.exe is to use CYGWIN=check_case:strict or remove one of them. I am using check_case:strict. I had both files present. I was getting problems of the sort $ ls /bin/head /bin/ls: /bin/head: No such file or directory $ which head head: Command not found. $ ls -F /bin/HEAD /bin/head.exe /bin/HEAD* /bin/head.exe* $ type -a head bash: type: head: not found $ FWIW, having check_case:relaxed also allows both files to be present, but /bin/HEAD is now also recognized as /bin/head, which leads to other problems. A suggestion/request to the perl maintainer: change the names of HEAD, GET, and POST to LWP-HEAD, LWP-GET, and LWP-POST... For consistency, this should probably be done in the main perl development branch, anyway, rather than in the Cygwin port... Does this sound very unreasonable? The LWP module isn't part of the Cygwin perl distribution. If you install LWP you are asked if you want to install these shortcuts This was included in the LWP setup because of the problems with Cygwin and other case insensitive platforms. Hmm, I don't believe I was asked anything - everything was installed automatically... I can re-check this. You may try to convince the LWP maintainer to include an additional option to get the same shortcuts with a userdefined name instead of 'get them or leave them' as it is now. (mailto: libwww at perl.org) It's probably not worth the bother, especially if the above confirmation prompt is present... Thanks for the analysis. Igor -- http://cs.nyu.edu/~pechtcha/ |\ _,,,---,,_[EMAIL PROTECTED] ZZZzz /,`.-'`'-. ;-;;,_[EMAIL PROTECTED] |,4- ) )-,_. ,\ ( `'-' Igor Pechtchanski '---''(_/--' `-'\_) fL a.k.a JaguaR-R-R-r-r-r-.-.-. Meow! Water molecules expand as they grow warmer (C) Popular Science, Oct'02, p.51 -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Bug reporting: http://cygwin.com/bugs.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/
RE: [Proposal] Moving user mount information to HKLM
Robert, FWIW the HKLM user mounts would have the same security ramification (which is why it's not a generically viable solution). True, but one could fine-tune access rights to HKLM/Software/Cygwin such that: 1) All users have Create subkey permission in HKLM/./Cygwin/Users. 2) All user specific information goes under a Cygwin/Users/{SID} subkey. In addition to the default rights for local admin etc, full access must be granted to {SID}. This would ensure that whoever is authorized to login would be able to execute mount commands. Note that all keys down to Users need to be opened for READ access only, otherwise RegOpenKey will fail with permission denied. On another note, how about adding a flag to mount telling it that the mount is NOT to be persisted, in a similar fashion to the net use /persistent:no command ? This would bypass the need to write to the registry and unmount on exit. Thanks again, Dan. PS. For the archives: Problem: The mount -u command fails if a domain user's registry hive is not downloaded from the domain controller and no local hive cache exists. Current workaround: Our best workaround is to give all potential users FullControl permissions to the HKLM/Software key, and mount everything as a system mount. The security risks are that any user can modify/change/delete all registry information under HKLM/Software. There's a limit of about 25 mounts that can be created this way before hitting a built-in limit of maximum 30 mount points per system+user. Restricting write access to the HKLM.../cygwin/mounts v2 subkey will still result in a Permission denied, since cygwin 1.3.12-2 tries to open all HKLM keys (down to HKLM/Software/mounts v2) with write access. -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Bug reporting: http://cygwin.com/bugs.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/
Re: [Proposal] Moving user mount information to HKLM
On 9/26/2002 9:38 PM, Doru Carastan wrote: How about breaking free from using the windoze registry. There is absolutely no special need to use it IMO. All the mount info can be stored in a plain ASCII file like 'cygwin.cfg'. As part of its initialization the cygwin1.dll can use GetModuleFileName() to figure out from where it was loaded and attempt to parse a possible config file located in the same dir with it. This doesn't work so good if the user doesn't have write permissions to the bin directory - where would the user mounts go? So then you'd need one system mount file (like above), and one user mount file per user. And where would that go? Especially if you have to do a user mount to get to the user's home directory in the first place? -- Shankar. -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Bug reporting: http://cygwin.com/bugs.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/
Re: Question for perl gurus: what creates /bin/{HEAD|GET|POST}?
alias head=/bin/head works for me from the bash command line. -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Bug reporting: http://cygwin.com/bugs.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/
RE: xrvt clipboard access
You might need to create the text file ~/.inputrc, and add the line: \e[2~: paste-from-clipboard Then you should be able to use 'shift-insert' to insert the contents of the clipboard into 'rxvt'. From the manual page for 'rxvt': TEXT SELECTION AND INSERTION The behaviour of text selection and insertion mechanism is similar to xterm(1). Selection: Left click at the beginning of the region, drag to the end of the region and release; Right click to extend the marked region; Left double-click to select a word; Left triple-click to select the entire line. Insertion: Pressing and releasing the Middle mouse button (or Shift-Insert) in an rxvt window causes the current text selection to be inserted as if it had been typed on the keyboard. -Original Message- From: Thomas Mellman [mailto:[EMAIL PROTECTED]] Sent: Friday, September 27, 2002 2:59 AM To: [EMAIL PROTECTED] Subject: RE: xrvt clipboard access How you access it will depend upon how your mouse is set up. For example, using a three-button mouse, I'm able to paste the contents of the Windows clipboard to rxvt by clicking on the middle mouse button. That's good for some pasting jobs. Under Linux, I also have a function key defined to paste so I don't have to go reaching for the mouse. I haven't figured out how to do that with cygwin yet, though. But, it might be useful to mention in this context that you can also access /dev/clipboard. for example: $ note /dev/clipboard (note: note is my script) -- Thomas Mellman [EMAIL PROTECTED] __ Die clevere Geldreserve: der DiBa-Privatkredit. Funktioniert wie ein Dispo, ist aber viel gunstiger! Alle Infos: http://diba.web.de/?mc=021104 -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Bug reporting: http://cygwin.com/bugs.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/ -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Bug reporting: http://cygwin.com/bugs.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/
gpg file permissions
Whenever I try to run gpg, I get the errors: gpg: Warning: unsafe permissions on file /home/porter/.gnupg/options gpg: Warning: unsafe permissions on file /home/porter/.gnupg/random_seed gpg: Warning: unsafe permissions on file /home/porter/.gnupg/secring.gpg gpg: Warning: unsafe permissions on file /home/porter/.gnupg/pubring.gpg This is making it impossible for my cygwin gpg to work for enigmail in mozilla. Is there a way around this? -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Bug reporting: http://cygwin.com/bugs.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/
Re: gpg file permissions
C. Porter Bassett [EMAIL PROTECTED] writes: Whenever I try to run gpg, I get the errors: gpg: Warning: unsafe permissions on file /home/porter/.gnupg/options gpg: Warning: unsafe permissions on file /home/porter/.gnupg/random_seed gpg: Warning: unsafe permissions on file /home/porter/.gnupg/secring.gpg gpg: Warning: unsafe permissions on file /home/porter/.gnupg/pubring.gpg This is making it impossible for my cygwin gpg to work for enigmail in mozilla. Is there a way around this? Put: no-permission-warning into your ~/.gnupg/options file. -- Francis Litterio [EMAIL PROTECTED] http://world.std.com/~franl/ GPG and PGP public keys available on keyservers. Eschew obfuscation! -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Bug reporting: http://cygwin.com/bugs.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/
Re: cvs executes illegal instructions
Here's the actual output: Thanks for any help you can give. Steve % which -a cvs -a: Command not found /usr/bin/cvs % cvs commit cvs commit: Examining . cvs commit: Examining src cvs commit: Examining src/com cvs commit: Examining src/com/kelem cvs commit: Examining src/com/kelem/database cvs commit: Examining src/com/kelem/database/appl cvs commit: Examining src/com/kelem/appl cvs commit: Examining src/com/kelem/appl/palm cvs commit: Examining src/com/kelem/utils Cannot load VDM IPX/SPX support Log message unchanged or not specified a)bort, c)ontinue, e)dit, !)reuse this message unchanged for remaining dirs Action: (continue)a cvs [commit aborted]: aborted by user % cygcheck -s Cygwin Win95/NT Configuration Diagnostics Current System Time: Fri Sep 27 13:20:58 2002 Windows 2000 Professional Ver 5.0 Build 2195 Service Pack 3 Path: c:\home\kelem\bin\i386 c:\home\kelem\bin\sh C:\cygwin\usr\local\gnu\bin C:\Java\jdk1.4\bin C:\cygwin\usr\local\ant\jakarta-ant-1.5\bin C:\home\kelem\src\java\SableCC\sablecc-2.17.3\bin C:\cygwin\usr\jakarta-ant\jakarta-ant-1.4.1\bin C:\cygwin\usr\local\bin C:\cygwin\bin C:\cygwin\bin C:\cygwin\usr\local\gnu\emacs-20.7\bin C:\cygwin\usr\X11R6\bin C:\PalmDev\pilrc-2.8 C:\PalmDev\ASDK\asdk1a1\bin C:\PalmDev\Waba\wabasdk.10\bin C:\cygwin\usr\etc SysDir: G:\WINNT\System32 WinDir: G:\WINNT HOME = `c:\home\kelem' LD_LIBRARY_PATH = `\usr\local\gnu\mh\lib:\usr\local\gnu\lib:\usr\local\gnu\lib\rvplayer5.0:\usr\local\lib' MAKE_MODE = `unix' PWD = `/home/kelem/src/java/Real/rlpp' USER = `kelem' Use `-r' to scan registry a: fd N/AN/A c: hd FAT32 17451Mb 100% CPUN SCSI d: hd FAT32 17507Mb 5% CPUN D e: cd N/AN/A f: cd N/AN/A g: hd FAT32 2192Mb 92% CPUN IDE h: hd FAT32 76297Mb 43% CPUN z: fd FAT 238Mb 46% CPUN WORK2 C: /cuserbinmode G: /gusertextmode . /cygdrive userbinmode,cygdrive C:/cygwin / system binmode C: /csystem binmode D: /dsystem binmode C:\Java/Java system binmode C:/cygwin/bin /usr/bin system binmode C:/cygwin/lib /usr/lib system binmode C:\cygwin\usr\X11R6\lib\X11\fonts /usr/X11R6/lib/X11/fonts system binmode . /cygdrive userbinmode,cygdrive Found: C:\cygwin\bin\bash.exe Found: C:\cygwin\bin\cat.exe Found: C:\cygwin\bin\cpp.exe Found: C:\cygwin\bin\find.exe Found: C:\cygwin\bin\gcc.exe Found: C:\cygwin\bin\gdb.exe Found: C:\cygwin\bin\ld.exe Found: C:\cygwin\usr\local\bin\ls.exe Found: C:\cygwin\bin\ls.exe Found: C:\cygwin\bin\make.exe Found: C:\cygwin\bin\sh.exe 35k 2001/10/19 C:\cygwin\bin\cygitk30.dll 306k 2002/04/27 C:\cygwin\bin\cyghttpd.dll 253k 2002/02/10 C:\cygwin\bin\cygtiff3.dll 159k 2002/08/09 C:\cygwin\bin\cygssl.dll 625k 2002/08/09 C:\cygwin\bin\cygcrypto.dll 81k 2001/10/19 C:\cygwin\bin\cygitcl30.dll 390k 2001/10/19 C:\cygwin\bin\cygtcl80.dll 19k 2002/02/20 C:\cygwin\bin\cyggdbm.dll 40k 2001/11/21 C:\cygwin\bin\cygpcre.dll 623k 2001/10/19 C:\cygwin\bin\cygtk80.dll 45k 2001/04/25 C:\cygwin\bin\cygform5.dll 58k 2002/05/07 C:\cygwin\bin\cygbz2-1.dll 35k 2002/01/09 C:\cygwin\bin\cygform6.dll 26k 2001/04/25 C:\cygwin\bin\cygmenu5.dll 20k 2002/01/09 C:\cygwin\bin\cygmenu6.dll 156k 2001/04/25 C:\cygwin\bin\cygncurses++5.dll 226k 2001/04/25 C:\cygwin\bin\cygncurses5.dll 15k 2001/04/25 C:\cygwin\bin\cygpanel5.dll 175k 2002/01/09 C:\cygwin\bin\cygncurses++6.dll 202k 2002/01/09 C:\cygwin\bin\cygncurses6.dll 12k 2002/01/09 C:\cygwin\bin\cygpanel6.dll 5k 2001/10/19 C:\cygwin\bin\cygtclpip80.dll 10k 2001/10/19 C:\cygwin\bin\cygtclreg80.dll 39k 2001/11/21 C:\cygwin\bin\cygpcreposix.dll 66k 2001/11/20 C:\cygwin\bin\cygregex.dll 54k 2002/07/15 C:\cygwin\bin\cygbz21.0.dll 21k 2001/06/20 C:\cygwin\bin\cygintl.dll 22k 2002/07/15 C:\cygwin\bin\cygintl-1.dll 22k 2002/06/09 C:\cygwin\bin\cygpopt-0.dll 17k 2001/06/28 C:\cygwin\bin\cyghistory4.dll 45k 2002/02/07 C:\cygwin\bin\cygjbig1.dll 119k 2002/02/09 C:\cygwin\bin\cygjpeg6b.dll 170k 2002/01/21 C:\cygwin\bin\cygpng2.dll 108k 2001/06/28 C:\cygwin\bin\cygreadline4.dll 41k 2002/01/20 C:\cygwin\bin\cygXpm-noX4.dll 46k 2002/01/20 C:\cygwin\bin\cygXpm-X4.dll 50k 2002/07/15 C:\cygwin\bin\cygz.dll 50k
Re: Question for perl gurus: what creates /bin/{HEAD|GET|POST}?
On Fri, 27 Sep 2002, Max Bowsher wrote: Igor Pechtchanski wrote: On Fri, 27 Sep 2002, Gerrit P. Haase wrote: The LWP module isn't part of the Cygwin perl distribution. If you install LWP you are asked if you want to install these shortcuts This was included in the LWP setup because of the problems with Cygwin and other case insensitive platforms. Hmm, I don't believe I was asked anything - everything was installed automatically... I can re-check this. I installed LWP via the CPAN shell yesterday - no questions were asked, the make install errored out, with head and HEAD being the problem. Another option would be to try and convince LWP to make them HEAD.pl, GET.pl, POST.pl instead. Max. Thanks for confirming this. Yes, a .pl suffix would certainly be a better idea than the LWP- prefix... I'll try to compose a reasonable message to the LWP maintainers. Igor -- http://cs.nyu.edu/~pechtcha/ |\ _,,,---,,_[EMAIL PROTECTED] ZZZzz /,`.-'`'-. ;-;;,_[EMAIL PROTECTED] |,4- ) )-,_. ,\ ( `'-' Igor Pechtchanski '---''(_/--' `-'\_) fL a.k.a JaguaR-R-R-r-r-r-.-.-. Meow! Water molecules expand as they grow warmer (C) Popular Science, Oct'02, p.51 -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Bug reporting: http://cygwin.com/bugs.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/
Re: Question for perl gurus: what creates /bin/{HEAD|GET|POST}?
On Fri, 27 Sep 2002, Lynn Wilson wrote: alias head=/bin/head works for me from the bash command line. Doesn't address the 'which head' issue and /bin/sh scripts calling head... Also doesn't help with 'ls /bin/head', '[ -x /bin/head ]', etc. Igor -- http://cs.nyu.edu/~pechtcha/ |\ _,,,---,,_[EMAIL PROTECTED] ZZZzz /,`.-'`'-. ;-;;,_[EMAIL PROTECTED] |,4- ) )-,_. ,\ ( `'-' Igor Pechtchanski '---''(_/--' `-'\_) fL a.k.a JaguaR-R-R-r-r-r-.-.-. Meow! Water molecules expand as they grow warmer (C) Popular Science, Oct'02, p.51 -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Bug reporting: http://cygwin.com/bugs.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/
missing awk.exe and gawk.exe in Cygwin download
Cygwin users, An older download for Windows included awk.exe and gawk.exe in the cygwin/bin directory. I downloaded a recent version (1.3.12-2) that apparently doesn't include these files, so running the cygwin utility doesn't seem to work. Two questions: 1. Was this intentional or is it just a mistake on my behalf when downloading? 2. If it is intentional, where can I download awk.exe and gawk.exe (and other necessary files) to make cygwin functional? We direct users to your site to download Cygwin, and the users will likely be confused if the installation is incomplete. Thanks for your time. Len Kannapell Documentation - Technical Writer Insightful Corp. 1700 Westlake Ave N #500 Seattle, WA 98109 [EMAIL PROTECTED] (206)283-8802 x302 (206)283-8691 fax -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Bug reporting: http://cygwin.com/bugs.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/
Re: cvs executes illegal instructions
On Fri, 27 Sep 2002 13:29:08 -0700 Steve Kelem [EMAIL PROTECTED] wrote: Here's the actual output: Thanks for any help you can give. Steve % which -a cvs -a: Command not found /usr/bin/cvs I don't use csh or tcsh routinely, so I forgot they have an internal command which. My intent was to find out if you have another cvs command somewhere in your path. Cygwin's cvs at least appears to be the first in line. % cvs commit cvs commit: Examining . cvs commit: Examining src cvs commit: Examining src/com cvs commit: Examining src/com/kelem cvs commit: Examining src/com/kelem/database cvs commit: Examining src/com/kelem/database/appl cvs commit: Examining src/com/kelem/appl cvs commit: Examining src/com/kelem/appl/palm cvs commit: Examining src/com/kelem/utils Cannot load VDM IPX/SPX support Log message unchanged or not specified a)bort, c)ontinue, e)dit, !)reuse this message unchanged for remaining dirs Action: (continue)a cvs [commit aborted]: aborted by user I still don't see how the 16 bit MS-DOS Subsystem is being engaged. All your path directories appear to be on the local drive, are there any symlinks for executables to other drives? What is in your initialization files (e.g., ~/.cvsrc)? You have an old cygwin1.dll in C:\PalmDev\pilrc-2.8\. That sometimes causes problems with odd symptoms. Make absolutely sure it is not in use when you are running cvs. Renaming it and rebooting might be worthwhile. A newer set of Palm tools that uses a newer Cygwin (if available) would also be a good idea. Someone else will have to help you, I'm not any sort of CVS expert. % cygcheck -s Cygwin Win95/NT Configuration Diagnostics Current System Time: Fri Sep 27 13:20:58 2002 Windows 2000 Professional Ver 5.0 Build 2195 Service Pack 3 Path:c:\home\kelem\bin\i386 c:\home\kelem\bin\sh C:\cygwin\usr\local\gnu\bin C:\Java\jdk1.4\bin C:\cygwin\usr\local\ant\jakarta-ant-1.5\bin C:\home\kelem\src\java\SableCC\sablecc-2.17.3\bin C:\cygwin\usr\jakarta-ant\jakarta-ant-1.4.1\bin C:\cygwin\usr\local\bin C:\cygwin\bin C:\cygwin\bin C:\cygwin\usr\local\gnu\emacs-20.7\bin C:\cygwin\usr\X11R6\bin C:\PalmDev\pilrc-2.8 C:\PalmDev\ASDK\asdk1a1\bin C:\PalmDev\Waba\wabasdk.10\bin C:\cygwin\usr\etc SysDir: G:\WINNT\System32 WinDir: G:\WINNT HOME = `c:\home\kelem' LD_LIBRARY_PATH = `\usr\local\gnu\mh\lib:\usr\local\gnu\lib:\usr\local\gnu\lib\rvplayer5.0: \usr\local\lib' MAKE_MODE = `unix' PWD = `/home/kelem/src/java/Real/rlpp' USER = `kelem' I don't think LD_LIBRARY_PATH is being used for anything, but it seems odd to for it to have '\'s in the POSIX paths. Use `-r' to scan registry a: fd N/AN/A c: hd FAT32 17451Mb 100% CPUN SCSI d: hd FAT32 17507Mb 5% CPUN D e: cd N/AN/A f: cd N/AN/A g: hd FAT32 2192Mb 92% CPUN IDE h: hd FAT32 76297Mb 43% CPUN z: fd FAT 238Mb 46% CPUN WORK2 C: /c userbinmode G: /g usertextmode . /cygdrive userbinmode,cygdrive C:/cygwin / system binmode C: /c system binmode D: /d system binmode C:\Java/Java system binmode C:/cygwin/bin /usr/bin system binmode C:/cygwin/lib /usr/lib system binmode C:\cygwin\usr\X11R6\lib\X11\fonts /usr/X11R6/lib/X11/fonts system binmode . /cygdrive userbinmode,cygdrive Found: C:\cygwin\bin\bash.exe Found: C:\cygwin\bin\cat.exe Found: C:\cygwin\bin\cpp.exe Found: C:\cygwin\bin\find.exe Found: C:\cygwin\bin\gcc.exe Found: C:\cygwin\bin\gdb.exe Found: C:\cygwin\bin\ld.exe Found: C:\cygwin\usr\local\bin\ls.exe Found: C:\cygwin\bin\ls.exe Found: C:\cygwin\bin\make.exe Found: C:\cygwin\bin\sh.exe 883k 2002/07/06 C:\cygwin\bin\cygwin1.dll Cygwin DLL version info: DLL version: 1.3.12 DLL epoch: 19 DLL bad signal mask: 19005 DLL old termios: 5 DLL malloc env: 28 API major: 0 API minor: 54 Shared data: 3 DLL identifier: cygwin1 Mount registry: 2 Cygnus registry name: Cygnus Solutions Cygwin registry name: Cygwin Program options name: Program Options Cygwin mount registry name: mounts v2 Cygdrive flags: cygdrive flags Cygdrive prefix: cygdrive prefix Cygdrive default prefix: Build date: Sat Jul 6 02:16:58 EDT 2002 CVS tag:
Re: missing awk.exe and gawk.exe in Cygwin download
Go to http://cygwin.com/packages/ and search for bin/gawk. In short, gawk is in a separate package, and you probably haven't downloaded it. If you direct the users to download cygwin, you may also want to give them a list of packages they need for your applications. Igor On Fri, 27 Sep 2002, Leonard Kannapell wrote: Cygwin users, An older download for Windows included awk.exe and gawk.exe in the cygwin/bin directory. I downloaded a recent version (1.3.12-2) that apparently doesn't include these files, so running the cygwin utility doesn't seem to work. Two questions: 1. Was this intentional or is it just a mistake on my behalf when downloading? 2. If it is intentional, where can I download awk.exe and gawk.exe (and other necessary files) to make cygwin functional? We direct users to your site to download Cygwin, and the users will likely be confused if the installation is incomplete. Thanks for your time. Len Kannapell -- http://cs.nyu.edu/~pechtcha/ |\ _,,,---,,_[EMAIL PROTECTED] ZZZzz /,`.-'`'-. ;-;;,_[EMAIL PROTECTED] |,4- ) )-,_. ,\ ( `'-' Igor Pechtchanski '---''(_/--' `-'\_) fL a.k.a JaguaR-R-R-r-r-r-.-.-. Meow! Water molecules expand as they grow warmer (C) Popular Science, Oct'02, p.51 -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Bug reporting: http://cygwin.com/bugs.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/
Re: cvs executes illegal instructions
Steve, When a 'cvs commit' is invoked without the -m option, an editor is started to create the message. Which editor is started is determined (in order of priority) by the -e flag, the CVSEDITOR environment variable, the VISUAL environment variable, and the EDITOR environment variable. Please check what the values of these varaibles are (if they are set). In case none of these variables are set, cvs invokes the system default editor (i.e. 'vi'). Please see whether you have a non-cygwin vi in your path (by running 'which vi' or 'bash -c type -a vi'). Igor On Wed, 18 Sep 2002, Steve Kelem wrote: I'm running cvs 1.11 on Windows 2000, and the latest cygwin inside tcsh 6.11.00. If I run cvs commit from tcsh, it runs a bit, and then brings up a popup: 16 bit MS-DOS Subsystem The NTVDM CPU has encountered an illegal instruction. CS:00cf IP:0514 OP:ff ff 00 00 98 Choose 'Close' to terminate the application. If I click on Ignore, I get two more popups (clicking on Ignore each time), then I get the message: Log message unchanged or not specified a)bort, c)ontinue, e)dit, !)reuse this message unchanged for remaining dirs Action: (continue) So, cvs appears not to like not having a message specified (-m flag), but it's a rather rude way of telling me. Steve Kelem -- http://cs.nyu.edu/~pechtcha/ |\ _,,,---,,_[EMAIL PROTECTED] ZZZzz /,`.-'`'-. ;-;;,_[EMAIL PROTECTED] |,4- ) )-,_. ,\ ( `'-' Igor Pechtchanski '---''(_/--' `-'\_) fL a.k.a JaguaR-R-R-r-r-r-.-.-. Meow! Water molecules expand as they grow warmer (C) Popular Science, Oct'02, p.51 -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Bug reporting: http://cygwin.com/bugs.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/
Re: xrvt clipboard access
On Fri, Sep 27, 2002 at 02:54:17PM -0400, Harig, Mark A. wrote: You might need to create the text file ~/.inputrc, and add the line: \e[2~: paste-from-clipboard Am I right in guessing that you're an emacs user? Unless I'm configuring it wrong, I think the mapping functionality of readline is only useful for emacs users. I'm a vi user, and the \e in escape sequences seems to switch readline into command mode - rendering it useless for mapping escape sequences (I tried creating commands called [2 but that doesn't seem to work either - maybe because there's no implicit newline). Everybody talks about using .inputrc but nobody mentions the escape problem - yet I know very few emacs users professionally - I must really ge misunderstanding something. From the manual page for 'rxvt': TEXT SELECTION AND INSERTION The behaviour of text selection and insertion mechanism is similar to xterm(1). Selection: Left click at the beginning of the region, drag to the end of the region and release; Right click to extend the marked region; Left double-click to select a word; Left triple-click to select the entire line. Insertion: Pressing and releasing the Middle mouse button (or Shift-Insert) in an rxvt window causes the current text selection to be inserted as if it had been typed on the keyboard. The rxvt manual page has overlooked a very important feature of xterm if it can suggest that the text ... insertion mechanism is similar to xterm(1). To quote xterm(1): insert-selection(sourcename [, ...]) This action inserts the string found in the selec tion or cutbuffer indicated by sourcename. Sources are checked in the order given (case is significant) until one is found. Commonly-used selections include: PRIMARY, SECONDARY, and CLIP BOARD.Cut buffers are typicallynamed CUT_BUFFER0 through CUT_BUFFER7. -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Bug reporting: http://cygwin.com/bugs.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/
RE: missing awk.exe and gawk.exe in Cygwin download
Thanks, Igor. I did go to the aforementioned Web site and searched on bin/awk, and it didn't specify any download directory. However, I did go to http://www.redhat.com/download/cygwin.html and clicked Download Now! and somehow the gawk package was included in the download, and I now have awk.exe and gawk.exe included in my cygwin/bin directory. Thanks for your help. -Len -Original Message- From: Igor Pechtchanski [mailto:[EMAIL PROTECTED]] Sent: Friday, September 27, 2002 3:05 PM To: Leonard Kannapell Cc: [EMAIL PROTECTED] Subject: Re: missing awk.exe and gawk.exe in Cygwin download Go to http://cygwin.com/packages/ and search for bin/gawk. In short, gawk is in a separate package, and you probably haven't downloaded it. If you direct the users to download cygwin, you may also want to give them a list of packages they need for your applications. Igor On Fri, 27 Sep 2002, Leonard Kannapell wrote: Cygwin users, An older download for Windows included awk.exe and gawk.exe in the cygwin/bin directory. I downloaded a recent version (1.3.12-2) that apparently doesn't include these files, so running the cygwin utility doesn't seem to work. Two questions: 1. Was this intentional or is it just a mistake on my behalf when downloading? 2. If it is intentional, where can I download awk.exe and gawk.exe (and other necessary files) to make cygwin functional? We direct users to your site to download Cygwin, and the users will likely be confused if the installation is incomplete. Thanks for your time. Len Kannapell -- http://cs.nyu.edu/~pechtcha/ |\ _,,,---,,_ [EMAIL PROTECTED] ZZZzz /,`.-'`'-. ;-;;,_ [EMAIL PROTECTED] |,4- ) )-,_. ,\ ( `'-' Igor Pechtchanski '---''(_/--' `-'\_) fL a.k.a JaguaR-R-R-r-r-r-.-.-. Meow! Water molecules expand as they grow warmer (C) Popular Science, Oct'02, p.51 -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Bug reporting: http://cygwin.com/bugs.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/
RE: missing awk.exe and gawk.exe in Cygwin download
Just to correct a misconception for the archives: you download packages using setup.exe. You go to the Cygwin Package Search page to find out which package contains the file or program you need. So, the correct procedure to install a file you're missing is: 1) Go to http://cygwin.com/packages/ to find out which package contains a particular program or file. 2) Run an existing setup.exe that you have on your system and select that package for installation. 3) If you want the latest setup.exe (usually unnecessary unless you're notified by setup that a newer version is available), click on the Install now link on the main Cygwin page, http://cygwin.com/ , to download it, and then repeat step 2. Igor On Fri, 27 Sep 2002, Leonard Kannapell wrote: Thanks, Igor. I did go to the aforementioned Web site and searched on bin/awk, and it didn't specify any download directory. However, I did go to http://www.redhat.com/download/cygwin.html and clicked Download Now! and somehow the gawk package was included in the download, and I now have awk.exe and gawk.exe included in my cygwin/bin directory. Thanks for your help. -Len -Original Message- From: Igor Pechtchanski [mailto:[EMAIL PROTECTED]] Sent: Friday, September 27, 2002 3:05 PM To: Leonard Kannapell Cc: [EMAIL PROTECTED] Subject: Re: missing awk.exe and gawk.exe in Cygwin download Go to http://cygwin.com/packages/ and search for bin/gawk. In short, gawk is in a separate package, and you probably haven't downloaded it. If you direct the users to download cygwin, you may also want to give them a list of packages they need for your applications. Igor On Fri, 27 Sep 2002, Leonard Kannapell wrote: Cygwin users, An older download for Windows included awk.exe and gawk.exe in the cygwin/bin directory. I downloaded a recent version (1.3.12-2) that apparently doesn't include these files, so running the cygwin utility doesn't seem to work. Two questions: 1. Was this intentional or is it just a mistake on my behalf when downloading? 2. If it is intentional, where can I download awk.exe and gawk.exe (and other necessary files) to make cygwin functional? We direct users to your site to download Cygwin, and the users will likely be confused if the installation is incomplete. Thanks for your time. Len Kannapell -- http://cs.nyu.edu/~pechtcha/ |\ _,,,---,,_ [EMAIL PROTECTED] ZZZzz /,`.-'`'-. ;-;;,_ [EMAIL PROTECTED] |,4- ) )-,_. ,\ ( `'-' Igor Pechtchanski '---''(_/--' `-'\_) fL a.k.a JaguaR-R-R-r-r-r-.-.-. Meow! Water molecules expand as they grow warmer (C) Popular Science, Oct'02, p.51 -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Bug reporting: http://cygwin.com/bugs.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/ -- http://cs.nyu.edu/~pechtcha/ |\ _,,,---,,_[EMAIL PROTECTED] ZZZzz /,`.-'`'-. ;-;;,_[EMAIL PROTECTED] |,4- ) )-,_. ,\ ( `'-' Igor Pechtchanski '---''(_/--' `-'\_) fL a.k.a JaguaR-R-R-r-r-r-.-.-. Meow! Water molecules expand as they grow warmer (C) Popular Science, Oct'02, p.51 -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Bug reporting: http://cygwin.com/bugs.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/
How does cygwin map / to c:/cygwin?
I am very confused about how cygwin maps its root to the c:/cygwin directory. I'm also not sure what /cygdrive is. When I type gvim /etc/passwd from bash, gvim comes up with an empty file called passwd in c:/etc (which doesn't exist). If I try to write this file, gvim fails, which, of course, it should. (The gvim I'm using is the one compiled for NT). Can someone tell me why this happens? Also, when I try to tab-expand /cygdrive/c/..., bash can never expand the files. For example, if I type $ cd /cygdrive/c/winntab, bash cannot complete the 't' and instead beeps. But if I complete it for bash by adding the t and the pressing return, bash will cd me to the c:/winnt directory. Can someone tell me why this is true? Jeff -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Bug reporting: http://cygwin.com/bugs.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/
RE: missing awk.exe and gawk.exe in Cygwin download
Thanks for clearing up the misconception, Igor. I looked under the Cygwin packages and found gawk, but when I go back to Install Now!, I don't see where I can select gawk under Categories (which includes Admin*Default, Archive*Default, Base*Default, etc.) - which category would gawk be in? Thanks, Len -Original Message- From: Igor Pechtchanski [mailto:[EMAIL PROTECTED]] Sent: Friday, September 27, 2002 3:43 PM To: Leonard Kannapell Cc: [EMAIL PROTECTED] Subject: RE: missing awk.exe and gawk.exe in Cygwin download Just to correct a misconception for the archives: you download packages using setup.exe. You go to the Cygwin Package Search page to find out which package contains the file or program you need. So, the correct procedure to install a file you're missing is: 1) Go to http://cygwin.com/packages/ to find out which package contains a particular program or file. 2) Run an existing setup.exe that you have on your system and select that package for installation. 3) If you want the latest setup.exe (usually unnecessary unless you're notified by setup that a newer version is available), click on the Install now link on the main Cygwin page, http://cygwin.com/ , to download it, and then repeat step 2. Igor On Fri, 27 Sep 2002, Leonard Kannapell wrote: Thanks, Igor. I did go to the aforementioned Web site and searched on bin/awk, and it didn't specify any download directory. However, I did go to http://www.redhat.com/download/cygwin.html and clicked Download Now! and somehow the gawk package was included in the download, and I now have awk.exe and gawk.exe included in my cygwin/bin directory. Thanks for your help. -Len -Original Message- From: Igor Pechtchanski [mailto:[EMAIL PROTECTED]] Sent: Friday, September 27, 2002 3:05 PM To: Leonard Kannapell Cc: [EMAIL PROTECTED] Subject: Re: missing awk.exe and gawk.exe in Cygwin download Go to http://cygwin.com/packages/ and search for bin/gawk. In short, gawk is in a separate package, and you probably haven't downloaded it. If you direct the users to download cygwin, you may also want to give them a list of packages they need for your applications. Igor On Fri, 27 Sep 2002, Leonard Kannapell wrote: Cygwin users, An older download for Windows included awk.exe and gawk.exe in the cygwin/bin directory. I downloaded a recent version (1.3.12-2) that apparently doesn't include these files, so running the cygwin utility doesn't seem to work. Two questions: 1. Was this intentional or is it just a mistake on my behalf when downloading? 2. If it is intentional, where can I download awk.exe and gawk.exe (and other necessary files) to make cygwin functional? We direct users to your site to download Cygwin, and the users will likely be confused if the installation is incomplete. Thanks for your time. Len Kannapell -- http://cs.nyu.edu/~pechtcha/ |\ _,,,---,,_ [EMAIL PROTECTED] ZZZzz /,`.-'`'-. ;-;;,_ [EMAIL PROTECTED] |,4- ) )-,_. ,\ ( `'-' Igor Pechtchanski '---''(_/--' `-'\_) fL a.k.a JaguaR-R-R-r-r-r-.-.-. Meow! Water molecules expand as they grow warmer (C) Popular Science, Oct'02, p.51 -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Bug reporting: http://cygwin.com/bugs.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/ -- http://cs.nyu.edu/~pechtcha/ |\ _,,,---,,_ [EMAIL PROTECTED] ZZZzz /,`.-'`'-. ;-;;,_ [EMAIL PROTECTED] |,4- ) )-,_. ,\ ( `'-' Igor Pechtchanski '---''(_/--' `-'\_) fL a.k.a JaguaR-R-R-r-r-r-.-.-. Meow! Water molecules expand as they grow warmer (C) Popular Science, Oct'02, p.51 -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Bug reporting: http://cygwin.com/bugs.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/
Cygwin: name of an lwp-request script (HEAD) clashes with /bin/head
Hi, When installing LWP through CPAN, the installation creates the GET, HEAD and POST scripts in /usr/bin. On Cygwin, the name HEAD clashes with an existing program, /bin/head.exe (Cygwin assumes a .exe extension if it cannot find a program, so /bin/head normally invokes /bin/head.exe). Windows mostly disallows files with the same name in different cases, unlike Unix, which has no trouble distinguishing between HEAD and head. So, to accommodate the users of Cygwin and others using case-insensitive filesystems, can the scripts GET, HEAD, and POST be renamed to GET.pl, HEAD.pl, and POST.pl? Would this break a lot of existing functionality? Thank you. Igor Pechtchanski P.S. I've cc'd the cygwin mailing list, as this is relevant to Cygwin. -- http://cs.nyu.edu/~pechtcha/ |\ _,,,---,,_[EMAIL PROTECTED] ZZZzz /,`.-'`'-. ;-;;,_[EMAIL PROTECTED] |,4- ) )-,_. ,\ ( `'-' Igor Pechtchanski '---''(_/--' `-'\_) fL a.k.a JaguaR-R-R-r-r-r-.-.-. Meow! Water molecules expand as they grow warmer (C) Popular Science, Oct'02, p.51 -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Bug reporting: http://cygwin.com/bugs.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/
Re: Cygwin: name of an lwp-request script (HEAD) clashes with /bin/head
On Fri, 27 Sep 2002 18:31:41 -0400 (EDT) Igor Pechtchanski [EMAIL PROTECTED] wrote: When installing LWP through CPAN, the installation creates the GET, HEAD and POST scripts in /usr/bin. On Cygwin, the name HEAD clashes with an existing program, /bin/head.exe (Cygwin assumes a .exe extension if it cannot find a program, so /bin/head normally invokes /bin/head.exe). Windows mostly disallows files with the same name in different cases, unlike Unix, which has no trouble distinguishing between HEAD and head. So, to accommodate the users of Cygwin and others using case-insensitive filesystems, can the scripts GET, HEAD, and POST be renamed to GET.pl, HEAD.pl, and POST.pl? Would this break a lot of existing functionality? Thank you. Igor Pechtchanski P.S. I've cc'd the cygwin mailing list, as this is relevant to Cygwin. Lwp-request strips both directory name and extension before it uses $progname to determine $method, so adding an extension to the alias names shouldn't bother lwp-request. Part of the problem is that some installers have reported not seeing the request whether to install the aliases or not if they are installing via the CPAN shell. -- Mac :}) ** I normally forward private questions to the appropriate mail list. ** Ask Smarter: http://www.tuxedo.org/~esr/faqs/smart-questions.html Give a hobbit a fish and he eats fish for a day. Give a hobbit a ring and he eats fish for an age. -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Bug reporting: http://cygwin.com/bugs.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/
RE: missing awk.exe and gawk.exe in Cygwin download
Leonard, Try switching the View to Full, which will show the packages sorted alphabetically. You can find out which category it's in from there (as well as select it for install). Igor On Fri, 27 Sep 2002, Leonard Kannapell wrote: Thanks for clearing up the misconception, Igor. I looked under the Cygwin packages and found gawk, but when I go back to Install Now!, I don't see where I can select gawk under Categories (which includes Admin*Default, Archive*Default, Base*Default, etc.) - which category would gawk be in? Thanks, Len -Original Message- From: Igor Pechtchanski [mailto:[EMAIL PROTECTED]] Sent: Friday, September 27, 2002 3:43 PM To: Leonard Kannapell Cc: [EMAIL PROTECTED] Subject: RE: missing awk.exe and gawk.exe in Cygwin download Just to correct a misconception for the archives: you download packages using setup.exe. You go to the Cygwin Package Search page to find out which package contains the file or program you need. So, the correct procedure to install a file you're missing is: 1) Go to http://cygwin.com/packages/ to find out which package contains a particular program or file. 2) Run an existing setup.exe that you have on your system and select that package for installation. 3) If you want the latest setup.exe (usually unnecessary unless you're notified by setup that a newer version is available), click on the Install now link on the main Cygwin page, http://cygwin.com/ , to download it, and then repeat step 2. Igor On Fri, 27 Sep 2002, Leonard Kannapell wrote: Thanks, Igor. I did go to the aforementioned Web site and searched on bin/awk, and it didn't specify any download directory. However, I did go to http://www.redhat.com/download/cygwin.html and clicked Download Now! and somehow the gawk package was included in the download, and I now have awk.exe and gawk.exe included in my cygwin/bin directory. Thanks for your help. -Len -Original Message- From: Igor Pechtchanski [mailto:[EMAIL PROTECTED]] Sent: Friday, September 27, 2002 3:05 PM To: Leonard Kannapell Cc: [EMAIL PROTECTED] Subject: Re: missing awk.exe and gawk.exe in Cygwin download Go to http://cygwin.com/packages/ and search for bin/gawk. In short, gawk is in a separate package, and you probably haven't downloaded it. If you direct the users to download cygwin, you may also want to give them a list of packages they need for your applications. Igor On Fri, 27 Sep 2002, Leonard Kannapell wrote: Cygwin users, An older download for Windows included awk.exe and gawk.exe in the cygwin/bin directory. I downloaded a recent version (1.3.12-2) that apparently doesn't include these files, so running the cygwin utility doesn't seem to work. Two questions: 1. Was this intentional or is it just a mistake on my behalf when downloading? 2. If it is intentional, where can I download awk.exe and gawk.exe (and other necessary files) to make cygwin functional? We direct users to your site to download Cygwin, and the users will likely be confused if the installation is incomplete. Thanks for your time. Len Kannapell -- http://cs.nyu.edu/~pechtcha/ |\ _,,,---,,_ [EMAIL PROTECTED] ZZZzz /,`.-'`'-. ;-;;,_ [EMAIL PROTECTED] |,4- ) )-,_. ,\ ( `'-' Igor Pechtchanski '---''(_/--' `-'\_) fL a.k.a JaguaR-R-R-r-r-r-.-.-. Meow! Water molecules expand as they grow warmer (C) Popular Science, Oct'02, p.51 -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Bug reporting: http://cygwin.com/bugs.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/ -- http://cs.nyu.edu/~pechtcha/ |\ _,,,---,,_ [EMAIL PROTECTED] ZZZzz /,`.-'`'-. ;-;;,_ [EMAIL PROTECTED] |,4- ) )-,_. ,\ ( `'-' Igor Pechtchanski '---''(_/--' `-'\_) fL a.k.a JaguaR-R-R-r-r-r-.-.-. Meow! Water molecules expand as they grow warmer (C) Popular Science, Oct'02, p.51 -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Bug reporting: http://cygwin.com/bugs.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/ -- http://cs.nyu.edu/~pechtcha/ |\ _,,,---,,_[EMAIL PROTECTED] ZZZzz /,`.-'`'-. ;-;;,_[EMAIL PROTECTED] |,4- ) )-,_. ,\ ( `'-' Igor Pechtchanski '---''(_/--' `-'\_) fL a.k.a JaguaR-R-R-r-r-r-.-.-. Meow! Water molecules expand as they grow
RE: xrvt clipboard access
Thomas, Put this line in your $HOME/.inputrc file: \M-[2~: paste-from-clipboard# Insert The escape sequence generated by the Insert key happens to be the same for both the console and RXVT. Note that readline's past-from-clipboard stops before the first newline in the clipboard. Randall Schulz Mountain View, CA USA At 23:58 2002-09-26, Thomas Mellman wrote: How you access it will depend upon how your mouse is set up. For example, using a three-button mouse, I'm able to paste the contents of the Windows clipboard to rxvt by clicking on the middle mouse button. That's good for some pasting jobs. Under Linux, I also have a function key defined to paste so I don't have to go reaching for the mouse. I haven't figured out how to do that with cygwin yet, though. But, it might be useful to mention in this context that you can also access /dev/clipboard. for example: $ note /dev/clipboard (note: note is my script) -- Thomas Mellman -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Bug reporting: http://cygwin.com/bugs.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/
sysvinit for cygwin?
Hi.. is there a 'sysvinit' package for cygwin? I'm only interested in being able to switch consoles using alt-f1 to 6, I understand the program 'init' is the one that manages that. Is there at least a 'clon' of that for cygwin? Thanks.. Ariel. -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Bug reporting: http://cygwin.com/bugs.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/
sysvinit for cygwin?
Hi.. is there a 'sysvinit' package for cygwin? I'm only interested in being able to switch consoles using alt-f1 to 6, I understand the program 'init' is the one that manages that. Is there at least a 'clon' of that for cygwin? Thanks.. Ariel. -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Bug reporting: http://cygwin.com/bugs.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/
RE: missing awk.exe and gawk.exe in Cygwin download
Excellent. Makes perfect sense. Thanks again for your patience. -Original Message- From: Igor Pechtchanski [mailto:[EMAIL PROTECTED]] Sent: Friday, September 27, 2002 4:21 PM To: Leonard Kannapell Cc: [EMAIL PROTECTED] Subject: RE: missing awk.exe and gawk.exe in Cygwin download Leonard, Try switching the View to Full, which will show the packages sorted alphabetically. You can find out which category it's in from there (as well as select it for install). Igor On Fri, 27 Sep 2002, Leonard Kannapell wrote: Thanks for clearing up the misconception, Igor. I looked under the Cygwin packages and found gawk, but when I go back to Install Now!, I don't see where I can select gawk under Categories (which includes Admin*Default, Archive*Default, Base*Default, etc.) - which category would gawk be in? Thanks, Len -Original Message- From: Igor Pechtchanski [mailto:[EMAIL PROTECTED]] Sent: Friday, September 27, 2002 3:43 PM To: Leonard Kannapell Cc: [EMAIL PROTECTED] Subject: RE: missing awk.exe and gawk.exe in Cygwin download Just to correct a misconception for the archives: you download packages using setup.exe. You go to the Cygwin Package Search page to find out which package contains the file or program you need. So, the correct procedure to install a file you're missing is: 1) Go to http://cygwin.com/packages/ to find out which package contains a particular program or file. 2) Run an existing setup.exe that you have on your system and select that package for installation. 3) If you want the latest setup.exe (usually unnecessary unless you're notified by setup that a newer version is available), click on the Install now link on the main Cygwin page, http://cygwin.com/ , to download it, and then repeat step 2. Igor On Fri, 27 Sep 2002, Leonard Kannapell wrote: Thanks, Igor. I did go to the aforementioned Web site and searched on bin/awk, and it didn't specify any download directory. However, I did go to http://www.redhat.com/download/cygwin.html and clicked Download Now! and somehow the gawk package was included in the download, and I now have awk.exe and gawk.exe included in my cygwin/bin directory. Thanks for your help. -Len -Original Message- From: Igor Pechtchanski [mailto:[EMAIL PROTECTED]] Sent: Friday, September 27, 2002 3:05 PM To: Leonard Kannapell Cc: [EMAIL PROTECTED] Subject: Re: missing awk.exe and gawk.exe in Cygwin download Go to http://cygwin.com/packages/ and search for bin/gawk. In short, gawk is in a separate package, and you probably haven't downloaded it. If you direct the users to download cygwin, you may also want to give them a list of packages they need for your applications. Igor On Fri, 27 Sep 2002, Leonard Kannapell wrote: Cygwin users, An older download for Windows included awk.exe and gawk.exe in the cygwin/bin directory. I downloaded a recent version (1.3.12-2) that apparently doesn't include these files, so running the cygwin utility doesn't seem to work. Two questions: 1. Was this intentional or is it just a mistake on my behalf when downloading? 2. If it is intentional, where can I download awk.exe and gawk.exe (and other necessary files) to make cygwin functional? We direct users to your site to download Cygwin, and the users will likely be confused if the installation is incomplete. Thanks for your time. Len Kannapell -- http://cs.nyu.edu/~pechtcha/ |\ _,,,---,,_ [EMAIL PROTECTED] ZZZzz /,`.-'`'-. ;-;;,_ [EMAIL PROTECTED] |,4- ) )-,_. ,\ ( `'-' Igor Pechtchanski '---''(_/--' `-'\_) fL a.k.a JaguaR-R-R-r-r-r-.-.-. Meow! Water molecules expand as they grow warmer (C) Popular Science, Oct'02, p.51 -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Bug reporting: http://cygwin.com/bugs.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/ -- http://cs.nyu.edu/~pechtcha/ |\ _,,,---,,_ [EMAIL PROTECTED] ZZZzz /,`.-'`'-. ;-;;,_ [EMAIL PROTECTED] |,4- ) )-,_. ,\ ( `'-' Igor Pechtchanski '---''(_/--' `-'\_) fL a.k.a JaguaR-R-R-r-r-r-.-.-. Meow! Water molecules expand as they grow warmer (C) Popular Science, Oct'02, p.51 -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Bug reporting:
Re: Installation Log File
On Sat, 28 Sep 2002, Alex Vinokur wrote: Hi, I have installed Cygwin. Where can I see Installation Log File ? /var/log/setup.log updated on each installation /var/log/setup.log.full overwritten on each installation Igor -- http://cs.nyu.edu/~pechtcha/ |\ _,,,---,,_[EMAIL PROTECTED] ZZZzz /,`.-'`'-. ;-;;,_[EMAIL PROTECTED] |,4- ) )-,_. ,\ ( `'-' Igor Pechtchanski '---''(_/--' `-'\_) fL a.k.a JaguaR-R-R-r-r-r-.-.-. Meow! Water molecules expand as they grow warmer (C) Popular Science, Oct'02, p.51 -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Bug reporting: http://cygwin.com/bugs.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/
Re: sysvinit for cygwin?
On Fri, 27 Sep 2002 20:44:51 -0300 Ariel Manzur [EMAIL PROTECTED] wrote: is there a 'sysvinit' package for cygwin? I'm only interested in being able to switch consoles using alt-f1 to 6, I understand the program 'init' is the one that manages that. Is there at least a 'clon' of that for cygwin? There isn't, but there wouldn't be much point. Cygwin console windows are Windows windows (usually either cmd.exe or rxvt.exe) so you can switch between them using Alt-TAB. -- Mac :}) ** I normally forward private questions to the appropriate mail list. ** Ask Smarter: http://www.tuxedo.org/~esr/faqs/smart-questions.html Give a hobbit a fish and he eats fish for a day. Give a hobbit a ring and he eats fish for an age. -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Bug reporting: http://cygwin.com/bugs.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/
Re: How does cygwin map / to c:/cygwin?
At 05:44 PM 9/27/2002 -0500, Jeff Perry wrote: I am very confused about how cygwin maps its root to the c:/cygwin directory. I'm also not sure what /cygdrive is. c:\cygwin is mounted as /. Your Windows drives (c:, d:) are mounted under /cygdrive (/cygdrive/c, /cygdrive/d). When I type gvim /etc/passwd from bash, gvim comes up with an empty file called passwd in c:/etc (which doesn't exist). If I try to write this file, gvim fails, which, of course, it should. (The gvim I'm using is the one compiled for NT). This is correct behavior. Only programs compiled against cygwin1.dll are aware of Cygwin-style paths. vim is available for Cygwin, maybe gvim is as well (try http://cygwin.com/packages/ , try Google, try searching the mailing list). Also, when I try to tab-expand /cygdrive/c/..., bash can never expand the files. For example, if I type $ cd /cygdrive/c/winntab, bash cannot complete the 't' and instead beeps. But if I complete it for bash by adding the t and the pressing return, bash will cd me to the c:/winnt directory. The name of the directory is WINNT, not winnt. bash will tab-complete successfully if you give it the right name (exceptions include /dev). Jeremy -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Bug reporting: http://cygwin.com/bugs.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/
new file permissions on SAMBA mounts
Hi all, For some reason, new files created on a SAMBA drive have 0660 permission bits, whereas new files created on an NTFS drive have the same permission bits as the containing directory. Both ignore umask. Does anyone know the reason why? How would I go about debugging this? Igor P.S. $CYGWIN='check_case:strict ntsec notitle' `uname -a`='CYGWIN_NT-5.0 PECHTCHA 1.3.12(0.54/3/2) 2002-07-06 02:16 i686 unknown' OS=Win2k SP2 umask='0066' -- http://cs.nyu.edu/~pechtcha/ |\ _,,,---,,_[EMAIL PROTECTED] ZZZzz /,`.-'`'-. ;-;;,_[EMAIL PROTECTED] |,4- ) )-,_. ,\ ( `'-' Igor Pechtchanski '---''(_/--' `-'\_) fL a.k.a JaguaR-R-R-r-r-r-.-.-. Meow! Water molecules expand as they grow warmer (C) Popular Science, Oct'02, p.51 -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Bug reporting: http://cygwin.com/bugs.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/
Re: Question for perl gurus: what creates /bin/{HEAD|GET|POST}?
On Fri, 27 Sep 2002, Max Bowsher wrote: On Fri, 27 Sep 2002, Gerrit P. Haase wrote: The LWP module isn't part of the Cygwin perl distribution. If you install LWP you are asked if you want to install these shortcuts This was included in the LWP setup because of the problems with Cygwin and other case insensitive platforms. I installed LWP via the CPAN shell yesterday - no questions were asked, the make install errored out, with head and HEAD being the problem. Another option would Max. Mmmh. I think I remember being asked, but it wasn't yesterday. Perhaps, it was during make install. I think I remember it being later, rather than earlier. -- Greg MathesonIf you're not making any mistakes, Chinmin College you must be making some mistake. Taiwan Penpals Archive URL: http://penpals.chinmin.edu.tw/ -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Bug reporting: http://cygwin.com/bugs.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/