Re: Pending packages status
Napsan da 2003.02.20 16:12, (autor: Nicholas Wourms): [EMAIL PROTECTED] wrote: Napsan da 2003.02.20 11:32, (autor: Pavel Tsekov): 1. grace 2. nfs-server 3. LPRng 4. ifhp 5. TCM 6. par 7. pdksh There are missing my DocBook XML packages :-(. http://cygwin.com/ml/cygwin-apps/2003-02/msg00148.html Not that I object, but as someone who is well aware of the frustration that sgml/xml processing systems cause on linux, shouldn't we have a complete roadmap for the potential cygwin system before we start checking in stylesheet Why this roadmap is required? I don't understand... We need working DocBook XML toolchain on cygwin (or at least I need :-). So I started packaging some software which are required to satisfy my needs. packages? I don't know of anyone who wouldn't agree that getting a working docbook system is a royal PITA. Are we going to have some sort of style-sheet management infrastructure at some point? Although I realize that xmlto xmlto is used in RH Linux too. I've no experience with jade and I'm unable to see any relation between xmlto and jade... is stand-alone from jade, I think we should plan for a fully working docbook rendering system at some point. I really don't have a good solution for this, but I feel it was at least worth noting the possible complications that may arise in the future from an improperly planned stylesheet installation. We should decide now on the type of layout that we want and what sort of management infrastructure we are going to use (RedHat, Mandrake, Suse, Debian, or our own?). You know, an ounce of prevention... My infrastructure is inspired by RH Linux. Any suggestions to improve this infrastructure are welcome. Thank you. -- +---+ | Marcel Telka e-mail: [EMAIL PROTECTED] | |homepage: http://telka.sk/ | |jabber: [EMAIL PROTECTED] | +---+
Re: pdksh package proposal
Hmm, I disagree. pdksh should be used as a ksh substitute and I'd expect to run my scripts w/o having to change the shebang line to be `#!/bin/pdksh' for all my ksh scripts. However, this is just *my* opinion. I agree with you. Maybe a symlink is an option ? Sure, pdksh.exe plus a /usr/bin/ksh link would be nice (as long as people don't complain about the symlink slowing down their shell startup ;-)) Corinna Right, I have created updated packages with the fixes various people suggested, mostly from Pavel ;-) - Moved pdksh-5.2.14-1.patch to the root of the src package - Changed pdksh-5.2.14-1.README to reflect the above changes, ie. how to apply - Moved ksh.exe pdksh.exe - Added a check for /bin/ksh.exe in postinstall, symlink if non-existant - Check for existance of /bin/ksh in /etc/shells , add if not found - Copied the Cygwin readme, setup.hint and the patch to CYGWIN-PATCHES in the src dir And the new packages are available at http://twoducks.exposure.org.uk/elfyn/cygwin/pdksh/pdksh-5.2.14-1-src.tar.b z2 http://twoducks.exposure.org.uk/elfyn/cygwin/pdksh/pdksh-5.2.14-1.tar.bz2 http://twoducks.exposure.org.uk/elfyn/cygwin/pdksh/setup.hint Sorry for doing this a bit late...Needed the sleep :-) Regards, Elfyn McBratney [EMAIL PROTECTED] www.exposure.org.uk
Re: pdksh package proposal
On Fri, Feb 21, 2003 at 07:35:47AM -, Elfyn McBratney wrote: - Check for existance of /bin/ksh in /etc/shells , add if not found Uhm... there's a problem here: /etc/shells could be non-existant. It's part of the inetutils package which is not necessarily installed. If so, your script fails. Another problem is, that all shells are mentioned with /bin *and /usr/bin path to reduce the number of confused users (we have enough of them). And: Wouldn't it make sense to add [/usr]/bin/pdksh as well? Corinna -- Corinna Vinschen Please, send mails regarding Cygwin to Cygwin Developermailto:[EMAIL PROTECTED] Red Hat, Inc.
problem with info files
Greetings package maintainers, I notice that _update-info-dir assumes that all info files worth indexing are of the form /usr/info/*.info. Unfortunately, there are 3 packages (if I count correctly) that do not follow this rule: emacs texinfo groff Are the maintainers of those packages aware of the problem? Can these packages be fixed? Alternatively, it might be possible to re-write /etc/postinstall/update-info-dir.sh to catch these exceptional cases. Thanks for your attention. Regards, David
problem with info files
On Friday 21 Feb 03, David Starks-Browning writes: Greetings package maintainers, I notice that _update-info-dir assumes that all info files worth indexing are of the form /usr/info/*.info. Unfortunately, there are 3 packages (if I count correctly) that do not follow this rule: emacs texinfo groff Are the maintainers of those packages aware of the problem? Can these packages be fixed? Alternatively, it might be possible to re-write /etc/postinstall/update-info-dir.sh to catch these exceptional cases. Actually, the alternative is easy. At the expense of globbing everything in /usr/info, rather than just *.info (which was no problem on my PII-400 BTW), this appears to do the right thing for both variants of info pages: === --- update-info-dir.sh.orig 2002-03-31 20:14:58.0 +0100 +++ update-info-dir.sh 2003-02-21 18:12:48.0 + -1,9 +1,13 #!/bin/sh cd /usr/info -for f in *.info; do +for f in *; do case $f in *\**) ;; + *-?) + ;; + *-??) + ;; *) install-info --quiet $f dir || install-info --quiet --entry=* $$f ($f): $$f $$f dir === (It got my texinfo info working, anyway!) I don't see any documentation for the autodep setup hint, but I can guess that this is necessary too: === --- setup.hint.orig 2002-04-10 04:11:08.0 +0100 +++ setup.hint 2003-02-21 18:16:52.0 + -1,6 +1,6 sdesc: Generate info/dir file automatically category: PostInstallLast requires: texinfo ash -autodep: usr/info/.*\.info +autodep: usr/info/.* incver_ifdep: yes # verpat: (_update_info)(dir-\d+-\d+)(.*) === If you choose to use it, I hope it's trivial enough not to require an assignment. Thanks, David
Re: problem with info files
--- David Starks-Browning starksb@x wrote: Greetings package maintainers, I notice that _update-info-dir assumes that all info files worth indexing are of the form /usr/info/*.info. Unfortunately, there are 3 packages (if I count correctly) that do not follow this rule: emacs texinfo groff Add cygwin-doc to that list. I use /usr/info/*.info.gz __ Do you Yahoo!? Yahoo! Tax Center - forms, calculators, tips, more http://taxes.yahoo.com/
Re[2]: XFree86-cygwin KDE national keybord layouts
Hello, Andrew! Friday, February 21, 2003, 12:24:10 AM, you wrote: AM | KDE is configured for two keyboard layouts: English and Russian. AM | I've configured `ctrl+shift' group toggle in KDE. But it doen't work AM | -- it allows to switch layouts via clicing on flag icon on dock, but AM | it doesn't do anything when I press ctrl+shift. AM | AM | Is it problem of KDE or XFree86-cygwin or something else? AM Something else I think, if my memory doesn't fail me, MS Windows can't AM provide all the nifty keyboard-combinations (like C-S-[something]) AM that are available under for example linux.. Again: it works for twm+xterm (they are run from remote host too). There is problem in KDE+Xfrtee86-cygwin pair, not in XFree86-cygwin itself. Lev Serebryakov /---\ | FIDONet: 2:5030/661.0 | | E-Mail: [EMAIL PROTECTED] | | Page:http://lev.serebryakov.spb.ru/ | | ICQ UIN: 3670018 | | Phone: You know, if you have world nodelist | \===/
Porting an application to Cygwin Lesstif issues for a Newbie
Hello, I'm trying to compile a set of open source software for processing sonar data (MB-System) on cygwin. The software comes with an install script that asks one to specify a few directories for Lesstif/Motif. On a RedHat Linux box, the lines would look like this: $MOTIFINCDIR = /usr/X11R6/LessTif/Motif1.2/include; $MOTIFLIBS = -L/usr/X11R6/LessTif/Motif1.2/lib -lXm -L/usr/X11R6/lib -lXt -lX11; I'm not at all knowledgeable regarding these details, but in trying to find comparable places under cygwin I note the following: 1) There is no Motif1.2 dir under /usr/X11R6/LessTif, in fact, there is only documentation there. 2) There's an Install file that reads, in part: On windows using Cygwin, U/WIN or Interix, LessTif must be built as static libraries. Because, one of the biggest issues with X on Win32 is the moronic DLL format. Specifically - it is not possible to export data from a Win32 DLL in a form that can be used to statically initialize another global variable. Data access from a DLL requires at least one pointer indirection, and hence executable code. This is why X11R6 doesn't have DLLs for Xt/Xmu/Xaw (and Motif) on Win32 My Questions: 1) Does the text above imply, since the sonar processing software requires Xt and X11R6 on Cygwin doesn't have a dll for it, that this software is incompatible and not compilable? Am I wasting my time? 2) If it's still possible to get this to work, would anyone have any idea, based on the example for Linux, what to specify for Cygwin? Thanks in advance, -Val Val Schmidt Lamont Doherty Earth Observatory of Columbia University 61 Route 9W Palisades, NY 10964 m: 614 286 3726
Re[2]: XFree86-cygwin KDE national keybord layouts
Lev Serebryakov wrote: Hello, Andrew! Friday, February 21, 2003, 12:24:10 AM, you wrote: AM | KDE is configured for two keyboard layouts: English and Russian. AM | I've configured `ctrl+shift' group toggle in KDE. But it doen't work AM | -- it allows to switch layouts via clicing on flag icon on dock, but AM | it doesn't do anything when I press ctrl+shift. AM | AM | Is it problem of KDE or XFree86-cygwin or something else? AM Something else I think, if my memory doesn't fail me, MS Windows can't AM provide all the nifty keyboard-combinations (like C-S-[something]) AM that are available under for example linux.. Again: it works for twm+xterm (they are run from remote host too). How can layout change from KDE work in twm, when KDE is not loaded? There is problem in KDE+Xfrtee86-cygwin pair, not in XFree86-cygwin itself. Until proven otherwise I'd assume that _KDE_ does not react on the keypress. As you wrote the layout change via clicking the icon does work, so the XKB part is working. bye ago NP: t.A.T.u. - Clowns -- [EMAIL PROTECTED] http://www.gotti.org ICQ: 126018723
Re[3]: XFree86-cygwin KDE national keybord layouts
Hello, Alexander! Friday, February 21, 2003, 8:35:40 PM, you wrote: AM | KDE is configured for two keyboard layouts: English and Russian. AM | I've configured `ctrl+shift' group toggle in KDE. But it doen't work AM | -- it allows to switch layouts via clicing on flag icon on dock, but AM | it doesn't do anything when I press ctrl+shift. AM | AM | Is it problem of KDE or XFree86-cygwin or something else? AM Something else I think, if my memory doesn't fail me, MS Windows can't AM provide all the nifty keyboard-combinations (like C-S-[something]) AM that are available under for example linux.. Again: it works for twm+xterm (they are run from remote host too). AG How can layout change from KDE work in twm, when KDE is not loaded? Not from KDE, but from keyboard! Here are two situations: (1) twm + xterm (remote), XFree86-cygwin with config where group change is ctrl+shift (local). When I press ctrl+shift TWO things happens: (a) Windows' keyboard layout is being changed for XFree86 window -- it could be seen by changing letters on tray (b) XFree86 XKB's layout is being changed: xterm shows RUSSIAN letters on next keypresses. (2) KDE with group change is ctrl+shift (remote), XFree86-cygwin with config where group change is ctrl+shift (local). When I press ctrl+shift ONE things happens: (a) Windows' keyboard layout is being changed for XFree86 window -- it could be seen by changing letters on tray KDE's (XKB) layout is not changed! But clicking on switch icon in KDE works! It is ONE server and ONE server's config. Or even better: I start xterm (without any WM), and ctrl+shift works, then I start `startkde' from xterm and when KDE loading is finished ctrl+shift doesn't work anymore. After that I'm logging out from KDE (only xterm still to be live) and ctrl+shift DON'T work! It seems, that KDE corrupt XKB config... But I have KDE configured to have Ctrl+Shift as group change! There is problem in KDE+Xfrtee86-cygwin pair, not in XFree86-cygwin itself. AG Until proven otherwise I'd assume that _KDE_ does not react on the keypress. AG As you wrote the layout change via clicking the icon does work, so the XKB AG part is working. How could I prove my words? ;-) Lev Serebryakov /---\ | FIDONet: 2:5030/661.0 | | E-Mail: [EMAIL PROTECTED] | | Page:http://lev.serebryakov.spb.ru/ | | ICQ UIN: 3670018 | | Phone: You know, if you have world nodelist | \===/
priority assistance
19-02-03 The International Red Cross Society Refugee Rehabilitation Center BP 6042 Ougadougou BURKINA FASO Dear Honourable friend, First I must give thanks to Almighty God for preserving my life for this moment. And by his special grace I got your contact in a local directory. I am Adolphus Benedict Guei, son of Late General Robert Guei former Ivorian military Head of State killed on 19th September 2002 in an abortive coup bymembers of the Patriotic Movement for Cote d'Ivoire PMCI. My country once noted to be the most peaceful in Africa suddenly descended intoanarchy turning to a theatre of war . More thanks to United Nations High Commission for Refugees UNHCR, Economic Community of WestAfrica States ECOWAS ,International Red Cross Society IRCS, and Government of Burkina Faso for their hospitality towards thousands of displaced Ivorians in the refugee camps. I am camped in one of the United Nations Refugee Rehabilitation Centers in Burkina Faso and hope of returning to mycountry Cote D'Ivoire is not in sight as governmentand rebel forces have not arrived at a peacefultreaty. My greatest source of worry is that our family are target for elimination by same PMCI rebels who killed my father, hence we are accorded extra security in this camp. Among valuables I took with me is details of our family account in the sum of US$15. 6million invested in my name with a bank in European Union which my father entrusted to my custody, ifwe (the family) ever find ourselves in a situation ofthis nature. My father was a man of great foresight. Although I suspect this money was illegaly acquired at the expense of our country while he was the military head of state, but under this scenario you will believe with me that the end have justified the means. Presently, as a registered refugee under a special protection programme my movement is restricted. I have no access and funds to travel to Europe to negotiate for the release of this money. I now solicit your unreserved assistance and with vital agreements to act as proxy on behalf of our family and sign out the money to your custody. My family attorney is aware of our predicament. He will liase with financial bodies concerned to transfer funds to your ownership on our behalf. Once funds gets to your country you establish a medium scale industry with the funds under my supervision. I promise on my honour to give you 20% of this funds in question, and 20% share in any investment we will jointly embark upon if you eventually assist me. Acknowledge receipt of this mail while I eagerly look forward to your sincere and prompt opinion. Yours sincerely Adolphus Benedict Yakubba Guei
non-US keyboards
yeah i'm very very newbie but... i won't a keyboard for my language!
Re: non-US keyboards
Hi, I guess based on your email address that you're in Italy, so probably you don't know that KKK has a very, very bad connotation in the United States where many of the Cygwin subscribers reside. KKK is short for the Ku Klux Klan, a violently racist vigilante group that originated in the American South. It formed after our Civil War when American chattel slavery became unconstitutional and its members terrorized black Americans (and others) for decades. The organization still exists, sadly, and still perpetrates violent acts, though far fewer than it did in the early and mid 20th century. The name KKK is extremely offensive to many people, most of all to black Americans, but many non-black people find it offensive, too. I'd like to respectfully suggest that you change the name portion of your email address to something will a less distasteful connotation. Sincerely, Randall Schulz Mountain View, CA USA At 18:58 2003-02-21, kkk wrote: yeah i'm very very newbie but... i won't a keyboard for my language!
Re: Problem compiling Perl Tk800.024
Hallo Jon, CC to cygwin-xfree at cygwin dot com Am Freitag, 14. Februar 2003 um 11:48 schriebst du: Hello, Has anyone successfully built Perl Tk800.024 under cygwin? I'm using Cygwin 1.3.20-1, gcc 3.2 and Perl 5.6.1 (Cygwin Perl, not ActiveState) and Cygwin XFree86 4.2.0-1/2/3 (according to the Cygwin setup.exe, some Xfree packages are 4.2.0-1, some are 4.2.0-2 and some 4.2.0-3 - I'm using the latest packages that Setup offers). The documentation seems to imply that this is possible. I'm trying to build it to work with X, so am doing: [...] cc1: warning: as it has already been specified as a non-system directory Theses are no errors. [...] stubs.c:47: conflicting types for `XChangeProperty' /usr/X11R6/include/X11/Xlib.h:2337: previous declaration of `XChangeProperty' stubs.c: In function `XCreateGlyphCursor': stubs.c:68: argument `foreground_color' doesn't match prototype /usr/X11R6/include/X11/Xlib.h:1642: prototype declaration stubs.c:68: argument `background_color' doesn't match prototype /usr/X11R6/include/X11/Xlib.h:1642: prototype declaration stubs.c: In function `XCreateIC': stubs.c:74: number of arguments doesn't match prototype /usr/X11R6/include/X11/Xlib.h:4644: prototype declaration stubs.c: At top level: stubs.c:94: conflicting types for `XDeleteProperty' /usr/X11R6/include/X11/Xlib.h:2551: previous declaration of `XDeleteProperty' stubs.c:115: conflicting types for `XForceScreenSaver' /usr/X11R6/include/X11/Xlib.h:2898: previous declaration of `XForceScreenSaver' stubs.c:122: conflicting types for `XFreeCursor' /usr/X11R6/include/X11/Xlib.h:2928: previous declaration of `XFreeCursor' stubs.c:184: conflicting types for `XNextEvent' /usr/X11R6/include/X11/Xlib.h:3330: previous declaration of `XNextEvent' stubs.c:191: conflicting types for `XPutBackEvent' /usr/X11R6/include/X11/Xlib.h:3410: previous declaration of `XPutBackEvent' stubs.c:198: conflicting types for `XQueryColor' /usr/X11R6/include/X11/Xlib.h:3484: previous declaration of `XQueryColor' stubs.c:231: conflicting types for `XRefreshKeyboardMapping' /usr/X11R6/include/X11/Xlib.h:3618: previous declaration of `XRefreshKeyboardMapping' stubs.c:245: conflicting types for `XSelectInput' /usr/X11R6/include/X11/Xlib.h:3704: previous declaration of `XSelectInput' stubs.c:264: conflicting types for `XSetCommand' /usr/X11R6/include/X11/Xlib.h:3782: previous declaration of `XSetCommand' stubs.c:280: conflicting types for `XSetIconName' /usr/X11R6/include/X11/Xlib.h:3856: previous declaration of `XSetIconName' stubs.c:288: conflicting types for `XSetWindowBackground' /usr/X11R6/include/X11/Xlib.h:3970: previous declaration of `XSetWindowBackground' stubs.c:296: conflicting types for `XSetWindowBackgroundPixmap' /usr/X11R6/include/X11/Xlib.h:3978: previous declaration of `XSetWindowBackgroundPixmap' stubs.c:304: conflicting types for `XSetWindowBorder' /usr/X11R6/include/X11/Xlib.h:3986: previous declaration of `XSetWindowBorder' stubs.c:312: conflicting types for `XSetWindowBorderPixmap' /usr/X11R6/include/X11/Xlib.h:3994: previous declaration of `XSetWindowBorderPixmap' stubs.c:320: conflicting types for `XSetWindowBorderWidth' /usr/X11R6/include/X11/Xlib.h:4002: previous declaration of `XSetWindowBorderWidth' stubs.c:328: conflicting types for `XSetWindowColormap' /usr/X11R6/include/X11/Xlib.h:4010: previous declaration of `XSetWindowColormap' stubs.c:351: conflicting types for `XWindowEvent' /usr/X11R6/include/X11/Xlib.h:4236: previous declaration of `XWindowEvent' make[1]: *** [stubs.o] Error 1 make[1]: Leaving directory `/home/jon/src/perlModules/Tk800.024/pTk' make: *** [pTk/libpTk.a] Error 2 Hmmm, I tried Tk800.23 without X, there were only minor problems, does it compile without X? Any thoughts? There are some declarations duplicated in stubs.c, try to comment these. Gerrit -- =^..^=
src/winsup/cygwin ChangeLog autoload.cc dtable ...
CVSROOT:/cvs/src Module name:src Changes by: [EMAIL PROTECTED] 2003-02-21 14:29:19 Modified files: winsup/cygwin : ChangeLog autoload.cc dtable.cc fhandler.h fhandler_socket.cc net.cc path.cc sec_acl.cc security.cc security.h syscalls.cc Log message: * dtable.cc (dtable::build_fhandler_from_name): Set some fhandler data on sockets to evaluate AF_LOCAL sockets correctly. (dtable::build_fhandler): Set unit number on sockets. * fhandler.h (fhandler_socket): Add unit number. (fhandler_socket::get_unit): New method. * fhandler_socket.cc (fhandler_socket::fhandler_socket): Set unit number. (fhandler_socket::fstat): Reorganize to return more Linux-like values. * net.cc: include ctype.h. (fdsock): Set unit number when building fhandler. * path.cc (path_conv::check): Set device type to FH_SOCKET if file is a AF_UNIX socket. (get_devn): Evaluate unit for virtual socket devices. (win32_device_name): Set windows path for sockets to unix_path with just backslashes to keep the different names. * syscalls.cc (fstat64): Don't override st_ino, st_dev and st_rdev for sockets. (stat_worker): Ditto. From Pierre Humblet: * autoload.cc (AccessCheck): Add. (DuplicateToken): Add. * security.h (check_file_access): Declare. * syscalls.cc (access): Convert path to Windows, check existence and readonly attribute. Call check_file_access instead of acl_access. * security.cc (check_file_access): Create. * sec_acl (acl_access): Delete. Patches: http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/winsup/cygwin/ChangeLog.diff?cvsroot=srcr1=1.1770r2=1.1771 http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/winsup/cygwin/autoload.cc.diff?cvsroot=srcr1=1.62r2=1.63 http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/winsup/cygwin/dtable.cc.diff?cvsroot=srcr1=1.109r2=1.110 http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/winsup/cygwin/fhandler.h.diff?cvsroot=srcr1=1.154r2=1.155 http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/winsup/cygwin/fhandler_socket.cc.diff?cvsroot=srcr1=1.79r2=1.80 http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/winsup/cygwin/net.cc.diff?cvsroot=srcr1=1.140r2=1.141 http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/winsup/cygwin/path.cc.diff?cvsroot=srcr1=1.245r2=1.246 http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/winsup/cygwin/sec_acl.cc.diff?cvsroot=srcr1=1.26r2=1.27 http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/winsup/cygwin/security.cc.diff?cvsroot=srcr1=1.137r2=1.138 http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/winsup/cygwin/security.h.diff?cvsroot=srcr1=1.40r2=1.41 http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/winsup/cygwin/syscalls.cc.diff?cvsroot=srcr1=1.245r2=1.246
src/winsup/cygwin ChangeLog fhandler_socket.cc
CVSROOT:/cvs/src Module name:src Changes by: [EMAIL PROTECTED] 2003-02-21 14:59:36 Modified files: winsup/cygwin : ChangeLog fhandler_socket.cc Log message: * fhandler_socket.cc (fhandler_socket::fhandler_socket): Fix compiler warning. (fhandler_socket::fstat): Simplify. Set st_uid/st_gid to effective uid/gid of current process in case of open sockets. Patches: http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/winsup/cygwin/ChangeLog.diff?cvsroot=srcr1=1.1771r2=1.1772 http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/winsup/cygwin/fhandler_socket.cc.diff?cvsroot=srcr1=1.80r2=1.81
src/winsup/doc faq.texinfo
CVSROOT:/cvs/src Module name:src Changes by: [EMAIL PROTECTED] 2003-02-21 20:00:54 Modified files: winsup/doc : faq.texinfo Log message: remove tired subtitle (Not completely updated for the latest net release, but still useful!) Patches: http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/winsup/doc/faq.texinfo.diff?cvsroot=srcr1=1.7r2=1.8
src/winsup/doc how-resources.texinfo
CVSROOT:/cvs/src Module name:src Changes by: [EMAIL PROTECTED] 2003-02-21 20:13:55 Modified files: winsup/doc : how-resources.texinfo Log message: new link to How To Ask Questions The Smart Way by Eric S. Raymond, added to Posting Guidelines entry Patches: http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/winsup/doc/how-resources.texinfo.diff?cvsroot=srcr1=1.6r2=1.7
src/winsup/doc install.texinfo
CVSROOT:/cvs/src Module name:src Changes by: [EMAIL PROTECTED] 2003-02-21 20:37:47 Modified files: winsup/doc : install.texinfo Log message: various updates to setup entries. Stronger emphasis to use setup, and only setup. (no more work in progres ... ) Patches: http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/winsup/doc/install.texinfo.diff?cvsroot=srcr1=1.43r2=1.44
src/winsup/mingw ChangeLog Makefile.in msvcrt. ...
CVSROOT:/cvs/src Module name:src Changes by: [EMAIL PROTECTED] 2003-02-21 21:12:29 Modified files: winsup/mingw : ChangeLog Makefile.in Added files: winsup/mingw : msvcrt.def.in Removed files: winsup/mingw : moldname-crtdll.def moldname-msvcrt.def moldname.def msvcrt.def msvcrt20.def msvcrt40.def Log message: Thanks to David Frasier [EMAIL PROTECTED] who inspired portions of this patch. * Makefile.in (libmsvcrtd.a): Add target library. (libmoldnamed.a): Ditto. (msvcrt.def, msvcrtd.def, msvcrt20.def, msvcrt40.def): Use msvcrt.def.in template to create. ($(srcdir)): Remove explicit reference for depencies of object targets. * moldname.def, moldname-msvcrt.def, moldname-crtdll.def, msvcrt.def, msvcrt20.def, msvcrt40.def: Remove. * msvcrt.def.in: New file (Copy of previous msvcrt.def). Patches: http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/winsup/mingw/msvcrt.def.in.diff?cvsroot=srcr1=NONEr2=1.1 http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/winsup/mingw/ChangeLog.diff?cvsroot=srcr1=1.117r2=1.118 http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/winsup/mingw/Makefile.in.diff?cvsroot=srcr1=1.34r2=1.35 http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/winsup/mingw/moldname-crtdll.def.diff?cvsroot=srcr1=1.5r2=NONE http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/winsup/mingw/moldname-msvcrt.def.diff?cvsroot=srcr1=1.5r2=NONE http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/winsup/mingw/moldname.def.diff?cvsroot=srcr1=1.1.1.1r2=NONE http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/winsup/mingw/msvcrt.def.diff?cvsroot=srcr1=1.2r2=NONE http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/winsup/mingw/msvcrt20.def.diff?cvsroot=srcr1=1.2r2=NONE http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/winsup/mingw/msvcrt40.def.diff?cvsroot=srcr1=1.2r2=NONE
Re: access()
On Thu, Feb 20, 2003 at 08:15:34PM -0500, Pierre A. Humblet wrote: However bash already uses access() when AFS is defined. Thus it would be a 1/2 line patch in bash (test.c and findcmd.c) to also use access() for Cygwin. - #if defined (AFS) + #if defined (AFS) || defined (__CYGWIN__) That would be a significant improvement, IMO. What do you think? Yes, I'll change that. Thanks for the hint. 2003-02-21 Pierre Humblet [EMAIL PROTECTED] * autoload.cc (AccessCheck): Add. (DuplicateToken): Add. * security.h (check_file_access): Declare. * syscalls.cc (access): Convert path to Windows, check existence and readonly attribute. Call check_file_access instead of acl_access. * security.cc (check_file_access): Create. * sec_acl (acl_access): Delete. I'm impressed. Works nice with no more handcrafted messing around with ACLs. Applied. Thanks, Corinna -- Corinna Vinschen Please, send mails regarding Cygwin to Cygwin Developermailto:[EMAIL PROTECTED] Red Hat, Inc.
Re: access()
On Fri, Feb 21, 2003 at 03:31:27PM +0100, Corinna Vinschen wrote: On Thu, Feb 20, 2003 at 08:15:34PM -0500, Pierre A. Humblet wrote: However bash already uses access() when AFS is defined. Thus it would be a 1/2 line patch in bash (test.c and findcmd.c) to also use access() for Cygwin. - #if defined (AFS) + #if defined (AFS) || defined (__CYGWIN__) That would be a significant improvement, IMO. What do you think? Yes, I'll change that. Thanks for the hint. 2003-02-21 Pierre Humblet [EMAIL PROTECTED] * autoload.cc (AccessCheck): Add. (DuplicateToken): Add. * security.h (check_file_access): Declare. * syscalls.cc (access): Convert path to Windows, check existence and readonly attribute. Call check_file_access instead of acl_access. * security.cc (check_file_access): Create. * sec_acl (acl_access): Delete. I'm impressed. Works nice with no more handcrafted messing around with ACLs. If I read Pierre's previous message correctly, it sounds like /bin/test is now broken. Was someone going to fix that? cgf
Re: access()
Corinna Vinschen wrote: Applied. Corinna, I am still worried about using !real_path.exists() to determine non existence, as done in several places in Cygwin. That function checks if the file attributes are After some experiments I found out that GetFileAttributes returns FFF on an existing file if a) the file ACL does not allow the caller to read the attributes and b) the directory is unreadable. Do you agree or is it more complicated? In principle this does not prevent the caller from reading the security descriptor. To return more accurate information, symlink_info::check could call GetLastError. If it == 5, the file exists but there is an access problem. What to do then is TBD. If we take for granted that (with the existing code) the situation is hopeless when the file attributes are F then the test if (!pc-exists ()) { debug_printf (already determined that pc does not exist); could be moved from fhandler_disk_file::fstat_by_name to fhandler_disk_file::fstat (after the get_io_handle test). While we are at it, set_query_open (query_open_already = true); could also be called when a file has acls and ntsec is true. On the other hand, if we keep the fstat code as it is, then for consistency the following code in access if (!real_path.exists ()) { set_errno (ENOENT); return -1; } if (!(flags (R_OK | W_OK | X_OK))) return 0; should be weakened to if (real_path.exists () !(flags (R_OK | W_OK | X_OK))) return 0 so that we go ahead and try to read the sd even with !real_path.exists() What you you think? Pierre
Re: access()
On Fri, Feb 21, 2003 at 10:32:36AM -0500, Christopher Faylor wrote: If I read Pierre's previous message correctly, it sounds like /bin/test is now broken. Was someone going to fix that? /bin/test as well as bash are *still* broken, so nothing has changed ;-) I'll upload a new bash soon after a 1.3.21 release. Who's maintaining sh-utils? Corinna -- Corinna Vinschen Please, send mails regarding Cygwin to Cygwin Developermailto:[EMAIL PROTECTED] Red Hat, Inc.
Re: access()
On Fri, Feb 21, 2003 at 05:33:45PM +0100, Corinna Vinschen wrote: On Fri, Feb 21, 2003 at 10:32:36AM -0500, Christopher Faylor wrote: If I read Pierre's previous message correctly, it sounds like /bin/test is now broken. Was someone going to fix that? /bin/test as well as bash are *still* broken, so nothing has changed ;-) I'll upload a new bash soon after a 1.3.21 release. Who's maintaining sh-utils? http://sources.redhat.com/cgi-bin/htsearch?words=sh-utilsrestrict=%2Fml%2Fcygwin-announce%2F cgf
syslog
2003-02-22 Pierre Humblet [EMAIL PROTECTED] * syslog.cc (syslog): Do not print the Windows pid. Print the Cygwin pid as an unsigned decimal. On Win95 print a timestamp and attempt to lock the file up to four times in 3 ms. Index: syslog.cc === RCS file: /cvs/src/src/winsup/cygwin/syslog.cc,v retrieving revision 1.21 diff -u -p -r1.21 syslog.cc --- syslog.cc 22 Sep 2002 03:38:57 - 1.21 +++ syslog.cc 22 Feb 2003 04:11:55 - -302,8 +302,7 syslog (int priority, const char *messag } if (process_logopt LOG_PID) { - if (pass.print (Win32 Process Id = 0x%X : Cygwin Process Id = 0x%X : , - GetCurrentProcessId (), getpid ()) == -1) + if (pass.print (Cygwin PID = %u : , getpid ()) == -1) return; } -375,6 +374,8 syslog (int priority, const char *messag else { /* Under Windows 95, append the message to the log file */ + char timestamp[24]; + time_t ctime; FILE *fp = fopen (get_win95_event_log_path (), a); if (fp == NULL) { -382,24 +383,32 syslog (int priority, const char *messag get_win95_event_log_path ()); return; } + strftime (timestamp, sizeof timestamp, %Y-%m-%d %H:%M:%S : , + localtime ((ctime = time (NULL; + /* Now to prevent several syslog messages from being interleaved, we must lock the first byte of the file This works on Win32 even if we created the file above. */ HANDLE fHandle = cygheap-fdtab[fileno (fp)]-get_handle (); - if (LockFile (fHandle, 0, 0, 1, 0) == FALSE) - { - debug_printf (failed to lock file %s, get_win95_event_log_path ()); - fclose (fp); - return; - } + for (int i = 0;; i++) + if (LockFile (fHandle, 0, 0, 1, 0) == FALSE) + if (i == 3) + { + debug_printf (failed to lock file %s, get_win95_event_log_path ()); + fclose (fp); + return; + } + else + usleep (1000); + else + break; + fputs (timestamp, fp); fputs (msg_strings[0], fp); fputc ('\n', fp); UnlockFile (fHandle, 0, 0, 1, 0); if (ferror (fp)) - { - debug_printf (error in writing syslog); - } + debug_printf (error in writing syslog); fclose (fp); } }
cygstart, mutt or mailcap?
Hi, This is what my .mailcap looks like: === text/html; lynx -dump %s; copiousoutput; nametemplate=3D%s.html Application/MSWORD; cygstart %s; copiousoutput; Application/VND.MS-EXCEL; cygstart %s; copiousoutput; Application/PDF; cygstart %s; copiousoutput; Application/vnd.ms-powerpoint; cygstart %s; copiousoutput; Application/MSEXCEL; cygstart %s; copiousoutput; Application/octet-stream; cygstart %s; copiousoutput; === I'm using mutt 1.4i. When I try to view a word doc it lauches fine but in the middle of doing other things like reading email or doing something else my word doc seems to get corrupted. However I don't see this problem if I save the file and *then* run cygstart or directly open it in word. BTW here is where the tmp file is created: [asimha@asimha-w2k02 ~]$ ls -lt /tmp ls: /tmp/mutt-asimha-w2k02-1736-194: No such file or directory ls: /tmp/mutt-asimha-w2k02-1736-33: No such file or directory total 4550 -rw---1 asimha None 483328 Feb 21 02:41 Dell-lab-summary.001736.doc -rwxrwxrwx1 asimha 162 Feb 21 02:41 ~$ll-lab-summary.001736.doc drwxrwxrwx+ 12 asimha None 8192 Feb 21 02:22 aspell-0.50.3 -rwxrwxrwx1 Administ None 3962880 Feb 21 02:18 aspell-0.50.3.tar -rw-rw-rw-1 asimha None 187 Feb 21 01:47 lpr.log -rw-rw-rw-1 asimha None 201918 Feb 21 00:39 XWinrl.log [asimha@asimha-w2k02 ~]$ Any clues here? Thanks, -ajay -- 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/
toggling DOS versus UNIX line ends
Hello, I am (happily) running cygwin on a win2k box. During installation, I chose the DOS line end option; big mistake! Now I want to change the setting to UNIX line ends. How do I toggle that setting? BTW, I have read the cygwin FAQ section 4.3.3 How is the DOS/Unix CR/LF thing handled? but that is not explored there. TIA. Dick D. -- 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/
Printing using LPR
On Thu Feb 20 07:30:02 2003, Jason Tishler wrote: Olaf, On Thu, Feb 20, 2003 at 12:49:14PM +0100, Olaf Foellinger wrote: together with a home brewed lpr. ^^^ Hmm... I'm getting that deja vu feeling: http://cygwin.com/ml/cygwin/2002-06/msg00581.html http://sources.redhat.com/ml/cygwin/2000-10/msg00242.html Specifically, compare your lpr: #!/bin/bash Server=SESABLN1 Printer=HPLJ4050_R6 Changed the subject line to reflect the current discussion. Hopefully folks are using email clients that are capable of true threading and not subject based grouping ;-) Ok.. what should you set the Server and Printer to? I have a network printer which under win-2k-start-settings-printers- shows up as pi2-b5 on print-rtp-pi Can I use the network printer? BTW I cannot get gsprint to work either... I'll keep at it I'm sure it will work with some tweaking. Thanks, -ajay ProgramName=$(basename $0) WinDir=$(cygpath -u $WINDIR) Lpr=$WinDir/system32/lpr TempFile=/tmp/$ProgramName.$$ WinTempFile=$(cygpath -w $TempFile) cat $TempFile $Lpr -S $Server -P $Printer $WinTempFile Status=$? rm -fr $TempFile exit $Status to mine: On Fri, 6 Oct 2000 08:01:01 -0400, Jason Tishler wrote: #!/bin/bash Server=prodserv Printer=eng-duplex ProgramName=$(basename $0) WinDir=$(cygpath -u $WINDIR) Lpr=$WinDir/system32/lpr TempFile=/tmp/$ProgramName.$$ WinTempFile=$(cygpath -w $TempFile) cat $TempFile $Lpr -S $Server -P $Printer $WinTempFile Status=$? rm -fr $TempFile exit $Status Jason -- PGP/GPG Key: http://www.tishler.net/jason/pubkey.asc or key servers Fingerprint: 7A73 1405 7F2B E669 C19D 8784 1AFD E4CC ECF4 8EF6 -- 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/
Re: remapping Cygwin 'bash' readline functions to PC keys
Lee D. Rothstein wrote: John, thanks for the C-V heads up! Others had suggested, variations of 'cat foo' and 'od -c'. (The former I got to work, the latter remains a mystery.) Your solution, besides being the most straight-forward, is also a great tool to have around. Apparently, it's a feature of Cygwin, or 'bash', since it doesn't work in a naked 'cmd.exe' window. I'll be sure to add it to my documentation. Unfortunately the key combos I'm trying to map to are: ^-- and ^-- (control- and the right and left arrow keys). It turns out that the character string outputs for both the: * naked key * shift - and the naked key * control- and the naked key are all the same. 'od -c' remains a mystery to me too - I guess I'll understand how that command works sometime later this century. But since I too am strongly interested in putting the Ctrl-Arrow keys into buisiness (as previos-word, next-word), I tried the Ctrl-V trick. It worked - thanks to John from me too. This is what I got: plain left: ^[[D shift-left: ^[[d ctrl-left: ^[Od (it's a capital O contained in there - not the number zero) So I added these lines to my .inputrc to get the wordwise movement using Ctrl-arrow: \eOd: backward-word \eOc: forward-word All the way long I have been talking about rxvt, of course. Regards mks Actually, I no longer consider these to be KIDs; these are the character string graphemic outputs of hitting the key. I'll continue to reserve KIDs for when one represents these [and the key isomorphisms] with '/e...', 'C-...', etc. notation. Apparently (?), the only way to discriminate among these three alternatives is with Scan Codes. Apparently, all the -x-ish stuff I've used (Microemacs, Thompson shell command line editing) that can discriminate among the three alternatives all use Scan Codes (?). - Any way to map to Scan Codes to 'bash' 'readline' functions under Cygwin? + Or to key names like: 'CTRL-left-arrow', 'CTRL-HOME' - Any interest among Cygwin developers in adding this? At 2003-02-19 08:02 AM -0800, John Mapole wrote: ... You can build your own KID table. Once at the cygwin prompt you can type C-V, that's control-V, followed by the key. On my machine, if I type C-VINSERT, I see ^[[2~. This is the same as \e[2~. Why these mapping are like this relates to how windows maps them and then how cygwin maps them. Something I am now very clear on. Hope this helps some. John Mapoles --- Lee D. Rothstein [EMAIL PROTECTED] wrote: ... Q1 -- When you remap a 'bash' Edit Mode function in .inputrc, it looks like this: \e[3~: delete-char # DEL key The entity in double quotes (\e[3~), I'm calling the key ID (KID). In the above '.inputrc' declaration, the function 'delete-char' being remapped from its default key assignment to the KID -- \e[3~ -- the DEL key. What are the KIDs of the following IBM PC keys (specified below with facsimiles of the key caps contained in angle brackets -- '...')? Cursor control key pad -- HOME END left-arrow right-arrow PAGE_UP PAGE_DOWN INSERT Numeric pad --- - + ENTER / I should have included in the above lists, all variations of the above with the control, alt and shift keys. In general, I'd like a table that maps the KIDs for all 104 keys on the keyboard I use. Or, better still, is there a way to use scan codes? (Incidentally, what makes finding a table of these KIDs so difficult is the failure of the documentation to assign this concept a unique, or even a consistent word.) Q2 -- Is there a way to make the INSERT key a toggle between the insert and overwrite modes of 'bash' edit mode? I used to have these figured out for 'Microemacs', but that was half a lifetime ago, for me, Microemacs supported scan codes, if I remember correctly. -- Lee D. Rothstein -- [EMAIL PROTECTED] VeriTech -- 603-424-2900 7 Merry Meeting Drive Merrimack, NH 03054-2934 -- 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/
Re: stat/fstat incompatibility w/ unix sockets
On Thu, Feb 20, 2003 at 06:47:39PM -0500, Paul Swartz wrote: On 20 Feb 2003 at 22:40, Corinna Vinschen wrote: As you can see, there's also nothing which would help you in using the result to identify the sockets as being the same. Even the timestamps aren't identical. No one field can say it's the same file. All of them together, or a sufficiently large number of them, does. Nope. How should they? The really interesting fields are not identical as e. g. st_dev, st_ino, st_mode, st_ctime. Anyway, that's not a Cygwin issue anymore. Even if it isn't completely portable, at the very least, things like the uid/gid definatly shouldn't change. The ctime/mtime probably shouldn't either, I'm less sure about atime. I don't have a copy of POSIX, does that say anything about the stat/fstat semantics? SUSv3: http://www.opengroup.org/ Corinna -- Corinna Vinschen Please, send mails regarding Cygwin to Cygwin Developermailto:[EMAIL PROTECTED] Red Hat, Inc. #include sys/types.h #include sys/socket.h #include sys/stat.h #include errno.h #include stdio.h #include string.h #include sys/un.h #include unistd.h int main (int argc, char **argv) { int fd; struct sockaddr_un addr; socklen_t addrlen; char buf[100]; struct stat st; /* creating test unix domain socket pipe */ fd = socket(AF_UNIX, SOCK_DGRAM, 0); /* SOCK_DGRAM require this to bind */ bzero((char *)addr, sizeof(addr)); /* fill in addr structire */ addr.sun_family = AF_UNIX; strcpy(addr.sun_path, pipe.101); addrlen = sizeof(addr.sun_family) + strlen(addr.sun_path) + 1; /* unlink old socket file */ unlink(addr.sun_path); /* bind socket to special file named pipe.100 in current directory */ bind(fd, (struct sockaddr *)addr, addrlen); printf (STAT : \%s\\n, addr.sun_path); if (!stat (addr.sun_path, st)) { printf (st_dev: 0x%x\n, st.st_dev); printf (st_ino: %lu\n, st.st_ino); printf (st_mode : 0%o\n, st.st_mode); printf (st_nlink : %d\n, st.st_nlink); printf (st_uid: %d\n, st.st_uid); printf (st_gid: %d\n, st.st_gid); printf (st_rdev : 0x%x\n, st.st_rdev); printf (st_size : %ld\n, st.st_size); printf (st_blksize: %ld\n, st.st_blksize); printf (st_blocks : %ld\n, st.st_blocks); printf (st_ctime : %ld\n, st.st_ctime); printf (st_mtime : %ld\n, st.st_mtime); printf (st_atime : %ld\n, st.st_atime); } printf (FSTAT : \%s\\n, addr.sun_path); if (!fstat (fd, st)) { printf (st_dev: 0x%x\n, st.st_dev); printf (st_ino: %lu\n, st.st_ino); printf (st_mode : 0%o\n, st.st_mode); printf (st_nlink : %d\n, st.st_nlink); printf (st_uid: %d\n, st.st_uid); printf (st_gid: %d\n, st.st_gid); printf (st_rdev : 0x%x\n, st.st_rdev); printf (st_size : %ld\n, st.st_size); printf (st_blksize: %ld\n, st.st_blksize); printf (st_blocks : %ld\n, st.st_blocks); printf (st_ctime : %ld\n, st.st_ctime); printf (st_mtime : %ld\n, st.st_mtime); printf (st_atime : %ld\n, st.st_atime); } return 0; } -- 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: cygstart, mutt or mailcap?
On Fri, 21 Feb 2003, Ajay Simha wrote: Hi, This is what my .mailcap looks like: === text/html; lynx -dump %s; copiousoutput; nametemplate=3D%s.html Application/MSWORD; cygstart %s; copiousoutput; Application/VND.MS-EXCEL; cygstart %s; copiousoutput; Application/PDF; cygstart %s; copiousoutput; Application/vnd.ms-powerpoint; cygstart %s; copiousoutput; Application/MSEXCEL; cygstart %s; copiousoutput; Application/octet-stream; cygstart %s; copiousoutput; === I'm using mutt 1.4i. When I try to view a word doc it lauches fine but in the middle of doing other things like reading email or doing something else my word doc seems to get corrupted. However I don't see this problem if I save the file and *then* run cygstart or directly open it in word. BTW here is where the tmp file is created: [asimha@asimha-w2k02 ~]$ ls -lt /tmp ls: /tmp/mutt-asimha-w2k02-1736-194: No such file or directory ls: /tmp/mutt-asimha-w2k02-1736-33: No such file or directory total 4550 -rw---1 asimha None 483328 Feb 21 02:41 Dell-lab-summary.001736.doc -rwxrwxrwx1 asimha 162 Feb 21 02:41 ~$ll-lab-summary.001736.doc drwxrwxrwx+ 12 asimha None 8192 Feb 21 02:22 aspell-0.50.3 -rwxrwxrwx1 Administ None 3962880 Feb 21 02:18 aspell-0.50.3.tar -rw-rw-rw-1 asimha None 187 Feb 21 01:47 lpr.log -rw-rw-rw-1 asimha None 201918 Feb 21 00:39 XWinrl.log [asimha@asimha-w2k02 ~]$ Any clues here? Thanks, -ajay Ajay, Two WAGs: 1) Is your /tmp mount binary or text? If text, try remounting as binary. Also see if adding binmode to your $CYGWIN helps. 2) This one's really wild, but I know Windews has this stupid dependence on the name of the file. Try using the nametemplate trick (%s.doc, or something), and see if it helps. 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! Oh, boy, virtual memory! Now I'm gonna make myself a really *big* RAMdisk! -- /usr/games/fortune -- 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: problem report: gawk 3.1.1
-Original Message- From: Pieter Prinsloo [mailto:[EMAIL PROTECTED]] Sent: Thursday, February 20, 2003 6:45 PM To: [EMAIL PROTECTED] Subject: Re: problem report: gawk 3.1.1 Have a query/problem with gawk version 3.1.1-5 dated 17/Oct/2002. Did you read the thread awk CR/LF issue? It's been a topic today. Yep - that should be obvious - but not the same problem. Why not? You say that the results vary, but you dont point out *how* they vary! As far as I can see it, its the line endings...? So why not try an older gawk as proposed in the other thread. Its a fact that cygwins(?) gawk behaviour changed concerning CR/LF. Actually I didnt even get your problem. Your first post is at least confusing. What about a clear and simple test case? Or even better, stick to a gawk list. bye, harry -- 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/
to use dup() in cygwin
Hi! and sorry my english, I've a server in Linux and Unix and it works perfectly, but when I compile the same code in Cygwin, it doesn`t send the data to the socket, I use the dup() comand. this is part of the program what, I repeat, works well in linux and unix (sun, HP) /*close the display exit and send it to the socket*/ close(1); iError=dup(iDescSock); if (iError==-1) { return(EEXECCOM); } sprintf(pcComando,EjecutarComando_VB.ksh.%s,pcNombreAux); iError=system(pcComando); if (iError==-1) { fprintf(stderr,Error en llamada a ejecutar); return(EEXECCOM); } what have I to do this in cygwin and it works. Thank you. Fernando -- 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: using ntsec, su doesn't work
On Fri, 21 Feb 2003, MaurÃcio wrote: Hi, I'm using cygwin latest install. I did: mkpasswd -l /etc/passwd mkgroup -l /etc/group When I log as administrator or as user (postgres), 'who' gives the proper name. However, when I try 'su Administrator' or 'su postgres' it rejects the password. I can log on win2000 using those passwords. What am I doing wrong? Thanks, Maurcio Nothing, this is expected behavior. 'su' doesn't work under Cygwin unless the user has appropriate privileges. See http://cygwin.com/cygwin-ug-net/ntsec.html#NTSEC-RELEASE1.3.3 for details. You can always use ssh user@localhost or Windows services (at or runas). 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! Oh, boy, virtual memory! Now I'm gonna make myself a really *big* RAMdisk! -- /usr/games/fortune -- 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: cygstart, mutt or mailcap?
On Fri Feb 21 09:33:58 2003, Igor Pechtchanski wrote: On Fri, 21 Feb 2003, Ajay Simha wrote: Hi, This is what my .mailcap looks like: === text/html; lynx -dump %s; copiousoutput; nametemplate=3D%s.html Application/MSWORD; cygstart %s; copiousoutput; Application/VND.MS-EXCEL; cygstart %s; copiousoutput; Application/PDF; cygstart %s; copiousoutput; Application/vnd.ms-powerpoint; cygstart %s; copiousoutput; Application/MSEXCEL; cygstart %s; copiousoutput; Application/octet-stream; cygstart %s; copiousoutput; === I'm using mutt 1.4i. When I try to view a word doc it lauches fine but in the middle of doing other things like reading email or doing something else my word doc seems to get corrupted. However I don't see this problem if I save the file and *then* run cygstart or directly open it in word. BTW here is where the tmp file is created: [asimha@asimha-w2k02 ~]$ ls -lt /tmp ls: /tmp/mutt-asimha-w2k02-1736-194: No such file or directory ls: /tmp/mutt-asimha-w2k02-1736-33: No such file or directory total 4550 -rw---1 asimha None 483328 Feb 21 02:41 Dell-lab-summary.001736.doc -rwxrwxrwx1 asimha 162 Feb 21 02:41 ~$ll-lab-summary.001736.doc drwxrwxrwx+ 12 asimha None 8192 Feb 21 02:22 aspell-0.50.3 -rwxrwxrwx1 Administ None 3962880 Feb 21 02:18 aspell-0.50.3.tar -rw-rw-rw-1 asimha None 187 Feb 21 01:47 lpr.log -rw-rw-rw-1 asimha None 201918 Feb 21 00:39 XWinrl.log [asimha@asimha-w2k02 ~]$ Any clues here? Thanks, -ajay Ajay, Two WAGs: 1) Is your /tmp mount binary or text? If text, try remounting as binary. Also see if adding binmode to your $CYGWIN helps. 2) This one's really wild, but I know Windews has this stupid dependence on the name of the file. Try using the nametemplate trick (%s.doc, or something), and see if it helps. Igor Hey thanks for the quick reply. Regarding 2) it *is* a .doc if not the default windows handler would not work for it. Regarding 1) : [asimha@asimha-w2k02 /etc]$ mount D:\cygwin\usr\X11R6\lib\X11\fonts on /usr/X11R6/lib/X11/fonts type system (binmode) D:\cygwin\bin on /usr/bin type user (binmode) D:\cygwin\lib on /usr/lib type user (binmode) D:\cygwin on / type user (binmode) c: on /cygdrive/c type user (binmode,noumount) d: on /cygdrive/d type user (binmode,noumount) z: on /cygdrive/z type user (binmode,noumount) [asimha@asimha-w2k02 /etc]$ df -k Filesystem 1k-blocks Used Available Use% Mounted on D:\cygwin\usr\X11R6\lib\X11\fonts 5496088 2290917 3205171 42% /usr/X11R6/lib/X11/fonts D:\cygwin\bin 5496088 2290917 3205171 42% /usr/bin D:\cygwin\lib 5496088 2290917 3205171 42% /usr/lib D:\cygwin 5496088 2290917 3205171 42% / c: 6289888 2666732 3623156 43% /cygdrive/c d: 5496088 2290917 3205171 42% /cygdrive/d z: 555604555604 0 100% /cygdrive/z is there a way to mount d:\cygwin\tmp as it's own file system or simply make cygwin use my desktop as tmp? Thanks, -ajay -- http://cs.nyu.edu/~pechtcha/ |\ _,,,---,,_ [EMAIL PROTECTED] ZZZzz /,`.-'`'-. ;-;;,_ [EMAIL PROTECTED] |,4- ) )-,_. ,\ ( `'-' Igor Pechtchanski '---''(_/--' `-'\_) fL a.k.a JaguaR-R-R-r-r-r-.-.-. Meow! Oh, boy, virtual memory! Now I'm gonna make myself a really *big* RAMdisk! -- /usr/games/fortune -- 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: toggling DOS versus UNIX line ends
On Fri, 21 Feb 2003, Rich DeFuria wrote: Hello, I am (happily) running cygwin on a win2k box. During installation, I chose the DOS line end option; big mistake! Now I want to change the setting to UNIX line ends. How do I toggle that setting? BTW, I have read the cygwin FAQ section 4.3.3 How is the DOS/Unix CR/LF thing handled? but that is not explored there. TIA. Dick D. Dick, You can re-run Setup and switch that setting (without installing any packages, just set all to Keep or Skip, unless you want to upgrade at the same time). You can also do this without running Setup, see man mount for details (the section on the -m flag might prove helpful here as well). 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! Oh, boy, virtual memory! Now I'm gonna make myself a really *big* RAMdisk! -- /usr/games/fortune -- 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/
1.3.20 most recent upgrades : rxvt creates 100% load on CPU
Hello, list, I was experimenting with emacs, found out about C-h and Backspace problem, and then, in suggestion to found answers, I decided to try rxvt. rxvt seems to have a load problem, however. I haven't found anything in the mailing list archives either, and I just upgraded all my software this morning. When I start rxvt, the load of the CPU jumps to 100% and I do not seem to get a prompt. That is I can't see one, but I can type and execute commands. I use Win2000. Regards, Jurgen Cygwin Win95/NT Configuration Diagnostics Current System Time: Fri Feb 21 14:18:41 2003 Windows 2000 Professional Ver 5.0 Build 2195 Service Pack 2 Path: C:\cygwin\bin C:\cygwin\bin\ C:\cygwin\usr\local\bin C:\cygwin\usr\X11R6\bin c:\usr\local\bin c:\Program Files\Continuus\ccm51\bin c:\Program Files\Microsoft Visual Studio\VC98\Bin c:\Program Files\Microsoft Office\Office c:\WINNT\system32 c:\WINNT SysDir: C:\WINNT\System32 WinDir: C:\WINNT CYGWIN = `ntsec' C_INCLUDE_PATH = `/usr/local/include:/usr/include:/usr/include/w32api' HOME = `C:\cygwin\home\p_jur' PWD = `/home/p_jur' ALLUSERSPROFILE = `C:\Documents and Settings\All Users' APPDATA = `C:\Documents and Settings\beq00871\Application Data' BLDLOG = `\\beb0630\bld_info\log' COMMONPROGRAMFILES = `C:\Program Files\Common Files' COMPUTERNAME = `BEQBRGBRG1DT102' COMSPEC = `C:\WINNT\system32\cmd.exe' CVSROOT = `/cygdrive/o/jur/CVS' HOMEDRIVE = `H' HOMEPATH = `\' HOMESHARE = `\\beqbrgbrg1ms103\beq00871$' INFOPATH = `/info:/usr/info:/usr/local/info' LC_ALL = `nl_BE.ISO8859-15@euro' LM_LICENSE_FILE = `54897@sharky' LOGONSERVER = `\\BEQBRGBRG1DC001' MAILHOST = `bebsw3.brg.sv.philips.com' MANPATH = `/usr/man:/usr/local/man' NUMBER_OF_PROCESSORS = `1' OLDPWD = `/usr/bin' OS2LIBPATH = `C:\WINNT\system32\os2\dll;' OS = `Windows_NT' PAFEC_ELMHOST = `@bebpf1' PAGER = `/bin/less -R' PATHEXT = `.COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH' PERL5LIB = `/cygdrive/c/usr/local/lib/perl' PRINTER = `\\beqbrgbrg1ms0pt\psbe31' PROCESSOR_ARCHITECTURE = `x86' PROCESSOR_IDENTIFIER = `x86 Family 6 Model 8 Stepping 6, GenuineIntel' PROCESSOR_LEVEL = `6' PROCESSOR_REVISION = `0806' PROGRAMFILES = `C:\Program Files' PS1 = `${USERNAME}:${PWD}' RPC_SERVER = `4040@bebsw3' SHELL = `/bin/bash' SHLVL = `1' STY = `2016.null.BEQBRGBRG1DT102' SYSTEMDRIVE = `C:' SYSTEMROOT = `C:\WINNT' TEMP = `c:\Temp' TERM = `screen' TERMCAP = `SC|screen|VT 100/ANSI X3.64 virtual terminal:\ :DO=\E[%dB:LE=\E[%dD:RI=\E[%dC:UP=\E[%dA:bs:bt=\E[Z:\ :cd=\E[J:ce=\E[K:cl=\E[H\E[J:cm=\E[%i%d;%dH:ct=\E[3g:\ :do=^J:nd=\E[C:pt:rc=\E8:rs=\Ec:sc=\E7:st=\EH:up=\EM:\ :le=^H:bl=^G:cr=^M:it#8:ho=\E[H:nw=\EE:ta=^I:is=\E)0:\ :li#25:co#80:am:xn:xv:LP:sr=\EM:al=\E[L:AL=\E[%dL:\ :cs=\E[%i%d;%dr:dl=\E[M:DL=\E[%dM:dc=\E[P:DC=\E[%dP:\ :im=\E[4h:ei=\E[4l:mi:IC=\E[%d@:ks=\E[?1h\E=:\ :ke=\E[?1l\E:vi=\E[?25l:ve=\E[34h\E[?25h:vs=\E[34l:\ :ti=\E[?1049h:te=\E[?1049l:us=\E[4m:ue=\E[24m:so=\E[3m:\ :se=\E[23m:md=\E[1m:mh=\E[2m:mr=\E[7m:me=\E[m:ms:\ :Co#8:pa#64:AF=\E[3%dm:AB=\E[4%dm:op=\E[39;49m:AX:\ :as=\E(0:ae=\E(B:\ :ac=\140\140aaffggjjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~..--++,,hhII00:\ :k0=\E[10~:k1=\EOP:k2=\EOQ:k3=\EOR:k4=\EOS:k5=\E[15~:\ :k6=\E[17~:k7=\E[18~:k8=\E[19~:k9=\E[20~:k;=\E[21~:\ :F1=\E[23~:F2=\E[24~:F3=\E[25~:F4=\E[26~:F5=\E[28~:\ :F6=\E[29~:F7=\E[31~:F8=\E[32~:F9=\E[33~:FA=\E[34~:\ :kb=^H:K2=\E[G:kB=\E[Z:kh=\E[1~:@1=\E[1~:kH=\E[4~:\ :@7=\E[4~:kN=\E[6~:kP=\E[5~:kI=\E[2~:kD=\E[3~:ku=\EOA:\ :kd=\EOB:kr=\EOC:kl=\EOD:' TMP = `c:\Temp' USERDNSDOMAIN = `code1.emi.philips.com' USERDOMAIN = `CODE1' USERNAME = `beq00871' USERPROFILE = `C:\Documents and Settings\beq00871' USER_SCRIPTS = `o:\jur\user_auto' WINDIR = `C:\WINNT' WINDOW = `0' _ = `/bin/cygcheck.exe' HKEY_CURRENT_USER\Software\Cygnus Solutions HKEY_CURRENT_USER\Software\Cygnus Solutions\Cygwin HKEY_CURRENT_USER\Software\Cygnus Solutions\Cygwin\mounts v2 (default) = `/cygdrive' cygdrive flags = 0x0022 HKEY_CURRENT_USER\Software\Cygnus Solutions\Cygwin\mounts v2\/ (default) = `C:\cygwin' flags = 0x0002 HKEY_CURRENT_USER\Software\Cygnus Solutions\Cygwin\mounts v2\/usr/bin (default) = `C:\cygwin/bin' flags = 0x0002 HKEY_CURRENT_USER\Software\Cygnus Solutions\Cygwin\mounts v2\/usr/lib (default) = `C:\cygwin/lib' flags = 0x0002 HKEY_CURRENT_USER\Software\Cygnus Solutions\Cygwin\mounts v2\/usr/X11R6/lib/X11/fonts (default) = `C:\cygwin\usr\X11R6\lib\X11\fonts' flags = 0x0002 HKEY_CURRENT_USER\Software\Cygnus Solutions\Cygwin\Program Options HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\Cygwin HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\Cygwin\mounts v2 HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\Cygwin\Program Options a: fd N/AN/A c: hd NTFS 19069Mb
Re: Mounting Drives
On Thu Feb 20 13:07:51 2003, Steve wrote: Hi; I'm on windows 2000 and I have a lot of drives ( [A-Z] ). To access a file on another drive I have to issue a cd command to that drive first. Is it possible to set things up so I do not have to do this? It seems to be automatically mounted. Would using /cygdrive/z/..path.. not work for you to access drive z?? -ajay Please feel free to point me towards the appropiate place in the docsI didn't see what I was looking for in them. Thanks in advance Steve -- 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/
Re: 1.3.20 most recent upgrades : rxvt creates 100% load on CPU
On Fri, 21 Feb 2003 [EMAIL PROTECTED] wrote: Hello, list, I was experimenting with emacs, found out about C-h and Backspace problem, and then, in suggestion to found answers, I decided to try rxvt. rxvt seems to have a load problem, however. I haven't found anything in the mailing list archives either, and I just upgraded all my software this morning. When I start rxvt, the load of the CPU jumps to 100% and I do not seem to get a prompt. That is I can't see one, but I can type and execute commands. I use Win2000. Regards, Jurgen [cygcheck output snipped] Jurgen, First off, please *attach* your cygcheck output as an uncompressed text, as per http://cygwin.com/bugs.html. The presense of all the packages in the cygcheck output in the body of the message creates false positives when people try searching the archives, which results in more archives are useless posts. If you did send yours as an attachment, check your mail software configuration, it's likely set to put text attachments inline. That said, try attaching to the hanging/100% CPU rxvt process with strace (I'm assuming Task Manager shows rxvt as using 100% CPU). See where it's hanging. You might also try gdb, but that's likely to help less. Snip out the relevant strace output and post it to the list (as an attachment, probably compressed, as it's likely to be large). At least it should give you an idea of where it's looping. If strace doesn't produce any results (i.e., rxvt hangs/loops inside a Windows DLL somewhere), try running strace -o rxvt.strace rxvt youroptions and look at the bottom of that output. For more details, strace --help. 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! Oh, boy, virtual memory! Now I'm gonna make myself a really *big* RAMdisk! -- /usr/games/fortune -- 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: cygstart, mutt or mailcap?
On Fri, 21 Feb 2003, Ajay Simha wrote: On Fri Feb 21 09:33:58 2003, Igor Pechtchanski wrote: On Fri, 21 Feb 2003, Ajay Simha wrote: Hi, This is what my .mailcap looks like: === text/html; lynx -dump %s; copiousoutput; nametemplate=3D%s.html Application/MSWORD; cygstart %s; copiousoutput; Application/VND.MS-EXCEL; cygstart %s; copiousoutput; Application/PDF; cygstart %s; copiousoutput; Application/vnd.ms-powerpoint; cygstart %s; copiousoutput; Application/MSEXCEL; cygstart %s; copiousoutput; Application/octet-stream; cygstart %s; copiousoutput; === I'm using mutt 1.4i. When I try to view a word doc it lauches fine but in the middle of doing other things like reading email or doing something else my word doc seems to get corrupted. However I don't see this problem if I save the file and *then* run cygstart or directly open it in word. BTW here is where the tmp file is created: [asimha@asimha-w2k02 ~]$ ls -lt /tmp ls: /tmp/mutt-asimha-w2k02-1736-194: No such file or directory ls: /tmp/mutt-asimha-w2k02-1736-33: No such file or directory total 4550 -rw---1 asimha None 483328 Feb 21 02:41 Dell-lab-summary.001736.doc -rwxrwxrwx1 asimha 162 Feb 21 02:41 ~$ll-lab-summary.001736.doc drwxrwxrwx+ 12 asimha None 8192 Feb 21 02:22 aspell-0.50.3 -rwxrwxrwx1 Administ None 3962880 Feb 21 02:18 aspell-0.50.3.tar -rw-rw-rw-1 asimha None 187 Feb 21 01:47 lpr.log -rw-rw-rw-1 asimha None 201918 Feb 21 00:39 XWinrl.log [asimha@asimha-w2k02 ~]$ Any clues here? Thanks, -ajay Ajay, Two WAGs: 1) Is your /tmp mount binary or text? If text, try remounting as binary. Also see if adding binmode to your $CYGWIN helps. 2) This one's really wild, but I know Windews has this stupid dependence on the name of the file. Try using the nametemplate trick (%s.doc, or something), and see if it helps. Igor Hey thanks for the quick reply. Regarding 2) it *is* a .doc if not the default windows handler would not work for it. Umm, yes, I'm slow today. However, the '' in your ls output indicates that your /etc/{passwd,group} aren't up to date. See http://cygwin.com/cygwin-ug-net/ntsec.html#NTSEC-RELEASE1.3.20 for details. Probably unrelated, but something to fix anyway. Regarding 1) : [asimha@asimha-w2k02 /etc]$ mount D:\cygwin\usr\X11R6\lib\X11\fonts on /usr/X11R6/lib/X11/fonts type system (binmode) D:\cygwin\bin on /usr/bin type user (binmode) D:\cygwin\lib on /usr/lib type user (binmode) D:\cygwin on / type user (binmode) c: on /cygdrive/c type user (binmode,noumount) d: on /cygdrive/d type user (binmode,noumount) z: on /cygdrive/z type user (binmode,noumount) [asimha@asimha-w2k02 /etc]$ df -k Filesystem 1k-blocks Used Available Use% Mounted on D:\cygwin\usr\X11R6\lib\X11\fonts 5496088 2290917 3205171 42% /usr/X11R6/lib/X11/fonts D:\cygwin\bin 5496088 2290917 3205171 42% /usr/bin D:\cygwin\lib 5496088 2290917 3205171 42% /usr/lib D:\cygwin 5496088 2290917 3205171 42% / c: 6289888 2666732 3623156 43% /cygdrive/c d: 5496088 2290917 3205171 42% /cygdrive/d z: 555604555604 0 100% /cygdrive/z Looks fine (/tmp will be under the / mount). is there a way to mount d:\cygwin\tmp as it's own file system Yes. man mount. or simply make cygwin use my desktop as tmp? Ugh, you don't want to do that. For one, anytime you run configure you'd get a lot of directories on your desktop. Unless you actually *like* a cluttered desktop... ];- You could mount your Windows profile's Temp directory as /tmp, though... Make that one a user mount, though. Thanks, -ajay Hope this helps, 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! Oh, boy, virtual memory! Now I'm gonna make myself a really *big* RAMdisk! -- /usr/games/fortune -- 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: toggling DOS versus UNIX line ends
(the following is conjecture as I always install unix mode) I think this is handled by mount. ie you have things mounted in text mode not binmode if you remount your mounts as binmode you should be ok. (best to do a mount mounts-backup.txt to have a record of what they were before fiddling with the mount tables though) man mount and man umount should give all the info you need. cavat. just been for a 2 hour boozy lunch so be warned. -Original Message- From: Rich DeFuria [mailto:[EMAIL PROTECTED]] Sent: 21 February 2003 13:53 To: [EMAIL PROTECTED] Subject: toggling DOS versus UNIX line ends Hello, I am (happily) running cygwin on a win2k box. During installation, I chose the DOS line end option; big mistake! Now I want to change the setting to UNIX line ends. How do I toggle that setting? BTW, I have read the cygwin FAQ section 4.3.3 How is the DOS/Unix CR/LF thing handled? but that is not explored there. TIA. Dick D. -- 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/
Re: Installing perl...
Hallo Henry, Am Donnerstag, 20. Februar 2003 um 15:14 schriebst du: Hi, I'm trying to install perl on cygwin from source (5.6.1-2) and I get an error on make: make: *** No rule to make target 'built-in', needed by 'miniperlmain.o'. Stop. Okay, I'm working on XP. Here's the configuration that I'm attempting: - #!/bin/sh # This script is designed to provide a handy summary of the configuration # information being used to build perl. This is especially useful if you # are requesting help from comp.lang.perl.misc on usenet or via mail. # Note that the text lines /^Summary of/ .. /^\s*$/ are copied into Config.pm. cat '!NO!SUBS!' Summary of my perl5 (revision 5.0 version 6 subversion 1) configuration: Platform: osname=cygwin, osvers=1.3.20(0.7332), archname=cygwin-multi uname='cygwin_nt-5.1 spoedniek 1.3.20(0.7332) 2003-02-08 12:10 i686 unknown unknown cygwin ' config_args='-de -Dusemultiplicity' hint=recommended, useposix=true, d_sigaction=define usethreads=undef use5005threads=undef useithreads=undef usemultiplicity=define useperlio=undef d_sfio=undef uselargefiles=define usesocks=undef use64bitint=undef use64bitall=undef uselongdouble=undef Compiler: cc='gcc', ccflags ='-DPERL_USE_SAFE_PUTENV -fno-strict-aliasing -I/usr/local/include', optimize='-O2', cppflags='-DPERL_USE_SAFE_PUTENV -fno-strict-aliasing -I/usr/local/include' ccversion='', gccversion='3.2 20020927 (prerelease)', gccosandvers='' intsize=4, longsize=4, ptrsize=4, doublesize=8, byteorder=1234 d_longlong=define, longlongsize=8, d_longdbl=define, longdblsize=12 ivtype='long', ivsize=4, nvtype='double', nvsize=8, Off_t='off_t', lseeksize=4 alignbytes=8, usemymalloc=y, prototype=define Linker and Libraries: ld='ld2', ldflags =' -s -L/usr/local/lib' libpth=/usr/local/lib /usr/lib /lib libs=-lgdbm -lcrypt -lcygipc perllibs=-lcrypt -lcygipc libc=/usr/lib/libc.a, so=dll, useshrplib=true, libperl=libperl5_6_1 Dynamic Linking: dlsrc=dl_dlopen.xs, dlext=dll, d_dlsymun=undef, ccdlflags=' -s' cccdlflags=' ', lddlflags=' -s -L/usr/local/lib' !NO!SUBS! Any ideas on why I can't get this to work? What more information do you need to be able to help me? Sorry, no idea. 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/
toggling DOS versus UNIX line ends
On Friday 21 Feb 03, Rich DeFuria writes: Hello, I am (happily) running cygwin on a win2k box. During installation, I chose the DOS line end option; big mistake! Now I want to change the setting to UNIX line ends. How do I toggle that setting? BTW, I have read the cygwin FAQ section 4.3.3 How is the DOS/Unix CR/LF thing handled? but that is not explored there. DOS line endings correspond to the -t (text) option to mount. UNIX line endings correspond to the -b (binary) option to mount. Type mount to see your current mount table, and change them from text to binary. Regards, David -- 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/
using ntsec, su doesn't work
Hi, I'm using cygwin latest install. I did: mkpasswd -l /etc/passwd mkgroup -l /etc/group When I log as administrator or as user (postgres), 'who' gives the proper name. However, when I try 'su Administrator' or 'su postgres' it rejects the password. I can log on win2000 using those passwords. What am I doing wrong? Thanks, MaurÃcio -- 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: Printing using LPR
On Fri, Feb 21, 2003 at 01:56:46AM -0500, Ajay Simha wrote: On Thu Feb 20 07:30:02 2003, Jason Tishler wrote: Olaf, On Thu, Feb 20, 2003 at 12:49:14PM +0100, Olaf Foellinger wrote: together with a home brewed lpr. ^^^ Hmm... I'm getting that deja vu feeling: http://cygwin.com/ml/cygwin/2002-06/msg00581.html http://sources.redhat.com/ml/cygwin/2000-10/msg00242.html Specifically, compare your lpr: #!/bin/bash Server=SESABLN1 Printer=HPLJ4050_R6 Changed the subject line to reflect the current discussion. Hopefully folks are using email clients that are capable of true threading and not subject based grouping ;-) Ok.. what should you set the Server and Printer to? I have a network printer which under win-2k-start-settings-printers- shows up as pi2-b5 on print-rtp-pi Can I use the network printer? When I call $ net view sesabln1 Freigegebene Ressourcen auf sesabln1 Name Typ LokalBeschreibung --- HPLaserJ4050_Raum_6 Drucker HPLJ4050_R6 Drucker so I use HPLJ4050_R6 (see above) as a printer on the server sesabln1. Don't know exactly how this maps on the gui ;-). Gruss Olaf Föllinger -- Olaf Föllinger Berater S.E.S.A. Software und Systeme AG Alt-Moabit 91a D-10559 Berlin Germany Tel: +49 30 390722 -291 Fax: +49 30 390722 -222 Mobil: +49 173 6227080 http://www.sesa.de mailto: [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: Printing using LPR
Ajay Simha said: On Thu Feb 20 07:30:02 2003, Jason Tishler wrote: Olaf, On Thu, Feb 20, 2003 at 12:49:14PM +0100, Olaf Foellinger wrote: together with a home brewed lpr. If it matters, LPRng is currently in the review process. When it passes it will make printing somewhat easier for you. I think. -- 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: New Cygwin Package: rebase-2.2-2
Hallo Jason, Am Mittwoch, 19. Februar 2003 um 10:20 schriebst du: New News: === I have contributed rebase-2.2-2 to the standard Cygwin distribution. The tarballs should be available on a Cygwin mirror near you shortly. Hurray! 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: toggling DOS versus UNIX line ends
-Original Message- From: Rich DeFuria [mailto:[EMAIL PROTECTED]] Sent: Friday, February 21, 2003 2:53 PM To: [EMAIL PROTECTED] Subject: toggling DOS versus UNIX line ends Hello, I am (happily) running cygwin on a win2k box. During installation, I chose the DOS line end option; big mistake! Now I want to change the setting to UNIX line ends. How do I toggle that setting? Just rerun setup over your cygnus. That should apply your new settings and keep the packages as you installed them. Also check out the mount doc if you still have probs with line endings. bye, harry -- 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/
Problem with pthreads
I'm in qa, and I'm attempting to port a filesystem stress test written for Linux to Windows using cygwin. It uses pthreads to create many concurrent threads which read files out of a directory in various patterns. The thing is, I've found that with any more than 55 threads, pthread_join will hang indefinitely, for no apparent reason. Its also only the second call to pthread_join. Its being called from the creator thread and each of the threads were cancelled prior to being joined (and the cancel appears to work fine, as all disk activity stops). Its very strange. With 55 threads everything works exactly as expected, and with 56 it doesn't work at all. Is this a known issue, or am I doing something wrong? Thank you in advance if anyone is able to help me. Joe Sadusk QA Engineer - Isilon Systems -- 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: remapping Cygwin 'bash' readline functions to PC keys
Hi, Jeez, guys, what's the problem: % od -c [ Press F1 through F12 followed by two CTRL-Ds: ] 000 033 [ [ A 033 [ [ B 033 [ [ C 033 [ [ D 020 033 [ [ E 033 [ 1 7 ~ 033 [ 1 8 ~ 033 [ 040 1 9 ~ 033 [ 2 0 ~ 033 [ 2 1 ~ 033 [ 2 060 3 ~ 033 [ 2 4 ~ 067 % od -c [ Press Insert, Home, Page Up, Delete, End, Page Down followed by two CTRL-Ds: ] 000 033 [ 2 ~ 033 [ 1 ~ 033 [ 5 ~ 033 [ 3 ~ 020 033 [ 4 ~ 033 [ 6 ~ 030 Randall Schulz At 03:42 2003-02-21, Markus Schönhaber wrote: 'od -c' remains a mystery to me too - I guess I'll understand how that command works sometime later this century. But since I too am strongly interested in putting the Ctrl-Arrow keys into buisiness (as previos-word, next-word), I tried the Ctrl-V trick. It worked - thanks to John from me too. This is what I got: plain left: ^[[D shift-left: ^[[d ctrl-left: ^[Od (it's a capital O contained in there - not the number zero) So I added these lines to my .inputrc to get the wordwise movement using Ctrl-arrow: \eOd: backward-word \eOc: forward-word All the way long I have been talking about rxvt, of course. Regards mks -- 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/
1.3.20 most recent upgrades : rxvt creates 100% load on CPU
On Friday 21 Feb 03, [EMAIL PROTECTED] writes: Hello, list, I was experimenting with emacs, found out about C-h and Backspace problem, and then, in suggestion to found answers, I decided to try rxvt. rxvt seems to have a load problem, however. I haven't found anything in the mailing list archives either, and I just upgraded all my software this morning. When I start rxvt, the load of the CPU jumps to 100% and I do not seem to get a prompt. That is I can't see one, but I can type and execute commands. I looked at your cygcheck output and did not see the rxvt package. You might confirm this with cygcheck rxvt or cygcheck -c rxvt. Then use setup to install rxvt if necessary. Regards, David -- 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: toggling DOS versus UNIX line ends
On Friday 21 Feb 03, Igor Pechtchanski writes: You can re-run Setup and switch that setting (without installing any packages, just set all to Keep or Skip, unless you want to upgrade at the same time). I didn't think of that. I should add it to the FAQ. Thanks, David -- 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: Compiling Perl modules
Hallo Garry, Am Donnerstag, 20. Februar 2003 um 17:50 schriebst du: I have a recent 'make' but cpan if failing to compile modules such as DBI and DBD::mysql properly. It seems to be having problems with 'make' some of the time. Are there any special requirements for loading Perl modules within Cygwin? DBI should build out of the box, which version (Perl, DBI, ...) did you try? To build DBD::mysql DBI needs to be installed and also the mysql client import lib libmysqlclient.a. MySQL binary mysql-3.23.43-pc-cygwin-i586.tar.bz2 including the client lib and the (not stable running) server: http://koeln.convey.de/cywgin/mysql/ 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: to use dup() in cygwin
On Fri, Feb 21, 2003 at 10:01:17AM +0100, [EMAIL PROTECTED] wrote: Hi! and sorry my english, I've a server in Linux and Unix and it works perfectly, but when I compile the same code in Cygwin, it doesn`t send the data to the socket, I use the dup() comand. this is part of the program what, I repeat, works well in linux and unix (sun, HP) /*close the display exit and send it to the socket*/ close(1); iError=dup(iDescSock); if (iError==-1) { return(EEXECCOM); } sprintf(pcComando,EjecutarComando_VB.ksh.%s,pcNombreAux); iError=system(pcComando); if (iError==-1) { fprintf(stderr,Error en llamada a ejecutar); return(EEXECCOM); } Did you try to - look if you get the expected file descriptor from dup? - look which errno you get? - run the application under strace? - run the application under gdb? After that and if you found that the problem is actually a Cygwin problem, please write a *short* testcase which allows to reproduce the problem and I';ll be happy to have a look into this issue. Corinna -- Corinna Vinschen Please, send mails regarding Cygwin to Cygwin Developermailto:[EMAIL PROTECTED] Red Hat, Inc. -- 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/
Can't start inetd
Can someone help me with this: i installed latest cygwin 1.3.20 with inetutils on window 2k with sp3, i followed the README for inetd installation but it can NOT be started with message: service did not responds to the start or control request in a timely fashion. here is what i did 1) inetd --install-as-service 2) set CYGWIN system variable as binmode tty ntsec 3) add d:\cygwin\bin to PATH system variable 4) net start inertd or start it from service manager the same result with another w2k box, when i try to start it directly using inetd.exe on one box nothing happened on the another box it errors out saying cygwin1.dll could NOT be found in the PATH, but i am sure it's in the PATH where i did wrong? thanks in advance Jim -- 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/
[ANNOUNCEMENT] CMake 1.6.5-1
CMake 1.6.5-1 is now available on Cygwin mirrors. Changes from 1.6.4 to 1.6.5 A fix to the TestForANSIForScope module so that it doesn't keep check each configure. A fix to the Visual studio 7 generator to better support Visual studio 7.1. A fix for makefiles that include out of build libraries that have lib as part of their formal name. A fix for Borland makefile dependencies causing some dependencies to be unrecognized by Borland's make. An improvement to the Windows GUI such that if you have MSVC7 installed it will be the default generator for new projects. Changes from 1.6.3 to 1.6.4 A fix for TRY_COMPILE on Windows 95, 98, ME. A fix for windows nmake builds with spaces in the path. A minor fix for the FindLibrary command. Some fixes for the FindJNI.cmake module for MacOSX. See www.cmake.org for more information. Bill Hoffman Cygwin CMake maintainer -- 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: [avail for test] libtool-devel-20030121-1
Thanks for this additional note. from a previous mail: So, it's important, Ralf, that your 'file' changes NEVER generate a false positive (e.g. saying something is an import lib when it is not). If your code generates a false negative (saying something is static when it's actually an import) -- because for false negatives, my slower code will catch it, and mark it import. There is only one open issue : 'file' reads the first 16K into a buffer. My currently proposal is to search for the string _dll_iname starting at the position of the first object file until the end of the archive (if it is less than 16KB) or at least the first 16 KB, if the archive is longer. How do you get `file` to do that??? if filesize 16kb, then...' etc? I'm not sure, ifc I have understand you right. file provides a variable nbytes, which will be HOWMANY, if the archive is bigger or the archive len otherwise. file.h:# define HOWMANY 16384 /* how much of the file to look at */ Currently I'm discussing the implementation with the 'file' author. That means, if the above mentioned string is found in that area, this archive will be identified as import library otherwise as static archive. That sounds okay. You'd get false negatives (very few), and no false positives. That's good -- false positives are really bad. False negatives, we let the slower code deal with. Because ar puts an offset table to each object file after it's ar header and a symbol cache, (the first symbol is a dll_iname symbol, there are some limitations. I've recognized, that the limit is by about 4070 object files. One can estimate, that this proposal will fail with import libs bigger than about 1-1.5 MB. For cygwin I've found this true for only one library: libcrypto.dll.a with 1.6 MB file size. Hmm...but, if the `file`-based test misses an import lib, the slower could could be used to catch it. And, that slower could *does* successfully detect that libcrypto.dll.a is an import lib, even though it only looks at the first 100 lines of the `nm` output. So, I see no problems there. me too For kde I have found four import libraries which exceeds this limit (the biggest import library is about 4.5 MB), but this is no problem, because definitly there will not be any further kde releases with import libraries. I assume you mean because you're going to link directly to the DLL. A request: in your packaged releases, include a symlink with the official import lib name: lib/libkdefoo.dll.a -- ../bin/cygkdefooX.dll Yes, i will use chucks-great-directly-linking-to-dll-compatibility-trick :-) BTW: Currently I'm using a hacked libtool with directly-linking-to-dll support, which works for mostly cases. It works great. May be you can benefit for a future libtool support. Ralf -- 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: toggling DOS versus UNIX line ends
On Fri, 21 Feb 2003, David Starks-Browning wrote: On Friday 21 Feb 03, Igor Pechtchanski writes: You can re-run Setup and switch that setting (without installing any packages, just set all to Keep or Skip, unless you want to upgrade at the same time). I didn't think of that. I should add it to the FAQ. Thanks, David Ah, yes, that would be good. I wanted to mention the FAQ in my response, but somehow forgot. You might want to add another method, something like: eval `mount -m | grep -E '/|/usr/bin|/usr/lib|cygdrive' | sed 's/ -t / -b /'` (the above might need to be tested...) Also, some people seemed to be confused as to where in the FAQ to look for this. The section on CR/LF handling was mentioned, so perhaps a hyperlink to the right section might help? Igor P.S. A similar mount trick can be used to change user mounts to system ones. I'm not sure where in the FAQ that is adressed (if at all). -- http://cs.nyu.edu/~pechtcha/ |\ _,,,---,,_[EMAIL PROTECTED] ZZZzz /,`.-'`'-. ;-;;,_[EMAIL PROTECTED] |,4- ) )-,_. ,\ ( `'-' Igor Pechtchanski '---''(_/--' `-'\_) fL a.k.a JaguaR-R-R-r-r-r-.-.-. Meow! Oh, boy, virtual memory! Now I'm gonna make myself a really *big* RAMdisk! -- /usr/games/fortune -- 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: Kudos
We are always more anxious to be distinguished for a talent which we do not possess, than to be praised for the fifteen which we do possess. -- Mark Twain Very good quote, 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: cygwin 1.3.20-1 and python 2.2.2-5
On Fri, Feb 21, 2003 at 05:00:55AM -0700, [EMAIL PROTECTED] wrote: On Thu, 20 Feb 2003 14:04:58 -0500, Christopher Faylor wrote: I've generate a snapshot with this fix included (thanks Corinna) if anyone wants to try it. I've replaced cygwin1.dll with 1.3.21 I presume that you mean the latest snapshot above. and APS now works perfectly. Thanks for testing it out. Jason -- PGP/GPG Key: http://www.tishler.net/jason/pubkey.asc or key servers Fingerprint: 7A73 1405 7F2B E669 C19D 8784 1AFD E4CC ECF4 8EF6 -- 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: to use dup() in cygwin
[EMAIL PROTECTED] wrote: /*close the display exit and send it to the socket*/ close(1); iError=dup(iDescSock); Shouldn't you be using dup2() for this? It's time to step into the 1990s here, methinks.. -- 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/
An Interesting mount issue
Hey Gang, I have run into a very odd behavior. I have not found anything in the lists where this has been discussed so I am posing it here. In short, I appear to get a different mount behavior depending upon whether I get a full interactive ssh session or a batch session (where I send the command in the line). For Example: Interactive looks fine - (prentis@diva):(prentis) sudo ssh webhost-n01 @@@ @WARNING: REMOTE HOST IDENTIFICATION HAS CHANGED! @ @@@ IT IS POSSIBLE THAT SOMEONE IS DOING SOMETHING NASTY! Someone could be eavesdropping on you right now (man-in-the-middle attack)! It is also possible that the RSA1 host key has just been changed. The fingerprint for the RSA1 key sent by the remote host is 59:ab:69:99:cb:43:4e:d3:b7:7f:26:dc:54:a4:f0:be. Please contact your system administrator. Add correct host key in /.ssh/known_hosts to get rid of this message. Offending key in /.ssh/known_hosts:6912 Password authentication is disabled to avoid man-in-the-middle attacks. Last login: Fri Feb 21 12:34:01 2003 from diva.web.aol.com Fanfare!!! You are successfully logged in to this server!!! root@WEBHOST-N01 ~ $ ls -la / total 122 drwxrwxrwt+ 11 Administ 655354096 Feb 6 11:46 . drwxrwxrwt+ 11 Administ 655354096 Feb 6 11:46 .. drwxrwxrwt+ 3 Administ 65535 73728 Dec 17 12:57 bin -rwxrwxrwx+ 1 Administ 65535 64 Dec 17 12:57 cygwin.bat -rwxrwxrwx+ 1 Administ 65535 766 Dec 17 12:57 cygwin.ico drwxrwxrwx+ 3 root Domain U0 Feb 6 11:46 data drwxrwxrwt+ 9 Administ 655358192 Feb 4 15:19 etc drwxrwxrwt+ 5 Administ 65535 0 Feb 4 15:19 home drwxrwxrwt+ 9 Administ 65535 20480 Dec 17 12:57 lib drwxrwxrwx+ 2 root Domain U0 Feb 4 15:19 logs drwxrwxrwt+ 2 Administ 655354096 Feb 6 14:42 tmp drwxrwxrwt+ 14 Administ 655354096 Dec 17 12:54 usr drwxrwxrwt+ 8 Administ 655354096 Dec 17 13:02 var But inline - (prentis@diva):(prentis) sudo ssh webhost-n01 'ls -la /' @@@ @WARNING: REMOTE HOST IDENTIFICATION HAS CHANGED! @ @@@ IT IS POSSIBLE THAT SOMEONE IS DOING SOMETHING NASTY! Someone could be eavesdropping on you right now (man-in-the-middle attack)! It is also possible that the RSA1 host key has just been changed. The fingerprint for the RSA1 key sent by the remote host is 59:ab:69:99:cb:43:4e:d3:b7:7f:26:dc:54:a4:f0:be. Please contact your system administrator. Add correct host key in /.ssh/known_hosts to get rid of this message. Offending key in /.ssh/known_hosts:6912 Password authentication is disabled to avoid man-in-the-middle attacks. -rwxrwxrwx1 Administ NETWORK 0 May 23 2001 AUTOEXEC.BAT -rwxrwxrwx1 Administ Administ0 May 23 2001 BOOT.BAK drwxrwxrwx1 Administ Administ0 May 23 2001 COMPAQ -rwxrwxrwx1 Administ NETWORK 0 May 23 2001 CONFIG.SYS drwxrwxrwx1 Administ NETWORK 0 May 23 2001 CPQSYSTEM prwxrwxrwx1 Administ NETWORK 0 May 23 2001 IO.SYS prwxrwxrwx1 Administ NETWORK 0 May 23 2001 MSDOS.SYS drwxrwxrwx1 Administ NETWORK 4096 Mar 26 2002 Program Files drwx---rwx1 Administ Domain U0 Mar 25 2002 RECYCLER drwxrwxrwx1 Administ NETWORK 4096 Apr 26 2002 TEMP drwxrwxrwx1 Administ Administ14336 Nov 12 13:05 WINNT prwx---r-x1 Administ Administ 278 May 23 2001 boot.ini -rwx---rwx1 Administ Domain A 421 Mar 26 2002 ckSAP.log drwx---rwx1 Administ Domain A0 Dec 17 12:52 cygwin drwxrwxrwx1 root Administ0 Feb 4 15:18 data drwx---rwx1 Administ Domain A0 Dec 17 12:52 nt-bcs prwx---r-x1 Administ Administ26816 May 23 2001 ntdetect.com prwx---r-x1 Administ Administ 156496 May 23 2001 ntldr -rwxrwxrwx1 Administ NETWORK 200 May 23 2001 setup.log -rwx---rwx1 prentis Domain A 3421 Apr 2 2002 ssh_files.txt drwx---rwx1 Administ Domain U0 Feb 21 2002 tools -rw-rw-rw-1 prentis Domain A 262733 Feb 12 2002 tools.tar.gz ls: pagefile.sys: Permission denied I see C:\ rather than C:\nt-bcs\cygwin\ I am including a cygcheck -s called inline so that you can see as much of the environment it should be getting as possible. This installation is being put in a directory other than C:\cygwin, but I don't think that should cause this problem. Has anyone seen anything similar and can give a new direction to look? Cygcheck output - Cygwin Win95/NT Configuration Diagnostics Current System Time: Fri Feb 21 12:44:25 2003 Windows NT Ver 4.0 Build 1381 Service Pack 5 Path: d:\Perl\bin\ c:\WINNT\system32 c:\WINNT c:\Program Files\Symantec\pcAnywhere
Re: Can't start inetd
On Fri, Feb 21, 2003 at 12:00:21PM -0500, Jim Peng wrote: Can someone help me with this: i installed latest cygwin 1.3.20 with inetutils on window 2k with sp3, i followed the README for inetd installation but it can NOT be started with message: service did not responds to the start or control request in a timely fashion. here is what i did 1) inetd --install-as-service 2) set CYGWIN system variable as binmode tty ntsec 3) add d:\cygwin\bin to PATH system variable 4) net start inertd or start it from service manager the same result with another w2k box, when i try to start it directly using inetd.exe on one box nothing happened on the another box it errors out saying cygwin1.dll could NOT be found in the PATH, but i am sure it's in the PATH where i did wrong? Forgot to reboot? Corinna -- Corinna Vinschen Please, send mails regarding Cygwin to Cygwin Developermailto:[EMAIL PROTECTED] Red Hat, Inc. -- 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: Can't start inetd
At 09:59 2003-02-21, Corinna Vinschen wrote: On Fri, Feb 21, 2003 at 12:00:21PM -0500, Jim Peng wrote: Can someone help me with this: i installed latest cygwin 1.3.20 with inetutils on window 2k with sp3, i followed the README for inetd installation but it can NOT be started with message: service did not responds to the start or control request in a timely fashion. here is what i did 1) inetd --install-as-service 2) set CYGWIN system variable as binmode tty ntsec 3) add d:\cygwin\bin to PATH system variable 4) net start inertd or start it from service manager the same result with another w2k box, when i try to start it directly using inetd.exe on one box nothing happened on the another box it errors out saying cygwin1.dll could NOT be found in the PATH, but i am sure it's in the PATH where i did wrong? Forgot to reboot? Corinna Corinna, Why would that be necessary on Win 2K? I did not find that simply installing the inetd service required a reboot on my Win 2K or another Win XP machine to make it function correctly. Randall Schulz -- 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: Can't start inetd
Jim: Hope you logged out of ur system and logged back in for the new environment variables to take effect. Ravi -Original Message- From: Jim Peng [mailto:[EMAIL PROTECTED]] Sent: Friday, February 21, 2003 12:00 PM To: '[EMAIL PROTECTED]' Subject: Can't start inetd Can someone help me with this: i installed latest cygwin 1.3.20 with inetutils on window 2k with sp3, i followed the README for inetd installation but it can NOT be started with message: service did not responds to the start or control request in a timely fashion. here is what i did 1) inetd --install-as-service 2) set CYGWIN system variable as binmode tty ntsec 3) add d:\cygwin\bin to PATH system variable 4) net start inertd or start it from service manager the same result with another w2k box, when i try to start it directly using inetd.exe on one box nothing happened on the another box it errors out saying cygwin1.dll could NOT be found in the PATH, but i am sure it's in the PATH where i did wrong? thanks in advance Jim -- 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/
Re: GPL Violation
Lawyer? Three years? We don't even have funds to buy pizza and beer let alone a lawyer. We are not in the software distribution business. That's what Red Hat is for. That is why I buy and recommend Red Hat. If RedHat distributed cygwin under GPL 3b, then you could redistribute that CD under 3c without needing to escrow sources. But RedHat distributes under 3a, so you do not have the option of 3c. Heck, *we* don't like the overhead of keeping track of sources for three years either! Our LUG is in the business of getting a bunch of techies together to swap stories, ideas, food, drink, and software. To that end, we just want to have something that our members can share with their friends and play with. A worthwhile purpose, but irrelevent as far as the GPL is concerned. You are distributing GPL'd binaries. You must distribute the sources (either through 3a or 3b) also. And if they want updates, support, or sources, they should call Red Hat. Unless you have a contract with RedHat that says that they agree to serve as a CD-ROM distributor for you, the GPL doesn't allow you to rely on us to provide sources for binaries you distribute. In fact, the version of cygwin we distribute is different than the net version, so we won't have the right sources anyway. but also encourages the members to go to the primary repository (cygwin.com) for the sources. The GPL forbids this. It allows *actual* costs, but no more. But be fair to yourself - figure out media costs, hours spent, shipping, overhead, etc. This can be quite significant. That's why I said hefty. The GPL allows the price to be whatever actual costs are. If it actually costs you a million dollars, charge a million dollars. What you can't do is artificially increase the fee just to discourage people from asking, or to profit from each sale. The GPL is quite clear on this: for a charge no more than your cost of physically performing source distribution, Imagine if I put out a new CD a week with updates and tweaks. This turns into a major headache to keep track of which sources went with which CD, especially for three years. That's why most people (and I recommend this) just put the sources right on the CD with the binaries. GPL 3a is the least complex of your options. But if I'm required to maintain all those CDs, I want to be compensated to make it worth my time and effort. That is allowed by the GPL. The actual cost of paying someone for the labor required is certainly an actual cost, as is (I think) the actual overhead costs to escrow the sources. Is the LUG paying you by the hour for the time you work for them? If so, then the actual costs for your time may be passed on to the buyer. That is, from the few people that request the sources, I want to be able to quit my current job and retire from their payment. Well, assuming you can retire on getting paid to be a disk copier for a few hours. It would be cheaper to hire a student to do it part time. I don't think artificially inflating your hourly rate would make it past a judge ;-) And if you're doing it yourself on your own time, then you're not paying anyone, are you? My goal is to get more developers involved in Cygwin by showing them what Cygwin can do. Giving them a CD with pointers goes a long way to that end. Getting involved is more than just using the software. It also involves understanding the principles behind Free Software. It's important to comply with the GPL so that you can teach others about the GPL by example. -- 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: [rwcitek@alum.calberkeley.org: Re: GPL Violation]
Some comments: If they want the source from the LUG, they should contact us about prices. This is acceptable, but GPL 3b requires that you provide a *written* promise to that effect. IMHO it only needs to be sufficiently legal to be a binding contract - i.e. dated and authenticatable. How you acheive that is up your lawyer ;-) And (this is the fun part) it needs to be effective for three years, so keep a copy of that source cd, as you must ship the exact corresponding sources, not some random newer version. We therefore charge a hefty price to deliver the source in CD form. Charge is OK, hefty is not. This not only covers our time and production costs, The GPL allows this. but also encourages the members to go to the primary repository (cygwin.com) for the sources. The GPL forbids this. It allows *actual* costs, but no more. But be fair to yourself - figure out media costs, hours spent, shipping, overhead, etc. The GPL doesn't want you to suffer from this, but neither can the recipient suffer. -- 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: Can't start inetd
* Randall R Schulz (03-02-21 19:11 +0100) At 09:59 2003-02-21, Corinna Vinschen wrote: On Fri, Feb 21, 2003 at 12:00:21PM -0500, Jim Peng wrote: i installed latest cygwin 1.3.20 with inetutils on window 2k with sp3, i followed the README for inetd installation but it can NOT be started with message: service did not responds to the start or control request in a timely fashion. here is what i did 1) inetd --install-as-service 2) set CYGWIN system variable as binmode tty ntsec 3) add d:\cygwin\bin to PATH system variable 4) net start inertd or start it from service manager the same result with another w2k box, when i try to start it directly using inetd.exe on one box nothing happened on the another box it errors out saying cygwin1.dll could NOT be found in the PATH, but i am sure it's in the PATH Forgot to reboot? Why would that be necessary on Win 2K? I did not find that simply installing the inetd service required a reboot on my Win 2K or another Win XP machine to make it function correctly. Not if C:\cygwin\bin was already in your $PATH. Thorsten -- Content-Type: text/explicit; charset=ISO-8859-666 (Parental Advisory) Content-Transfer-Warning: message contains innuendos not suited for children under the age of 18 -- 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: Can't start inetd
On Fri, Feb 21, 2003 at 10:11:13AM -0800, Randall R Schulz wrote: Why would that be necessary on Win 2K? I did not find that simply installing the inetd service required a reboot on my Win 2K or another Win XP machine to make it function correctly. Changing environment variables requires to reboot the machine to allow the SCM and it's child processes (aka services) to get the new contents. -- Corinna Vinschen Please, send mails regarding Cygwin to Cygwin Developermailto:[EMAIL PROTECTED] Red Hat, Inc. -- 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: GDB Insight not running
On Thu, 2003-02-20 at 09:50, Christopher Faylor wrote: On Thu, Feb 20, 2003 at 12:15:17PM -0500, Kim, Seungchan (NIH/NHGRI) wrote: hi all, well, i may be having a simple stupid problem. anyway, i have been using GDB(Insight) with cygwin for a while, well, before a week ago. i have the latest version of all cygwin packages right now (i just reinstalled everything last night) but GDB only runs in command-line mode even with '-w' option. any idea? Type insight not gdb. gdb -w and insight -nw will no longer work. (Well, for a little while, at least...) You'll need to use gdb -i=insight and insight -i=console instead. I'll see about getting something in that causes -nw to mean -i=console. Keith -- 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: An Interesting mount issue
Prentis, Replies scattered inline below. On Fri, 21 Feb 2003, Prentis Brooks wrote: Hey Gang, I have run into a very odd behavior. I have not found anything in the lists where this has been discussed so I am posing it here. In short, I appear to get a different mount behavior depending upon whether I get a full interactive ssh session or a batch session (where I send the command in the line). Hmm, this is really not mount, it's more like the setting of your $HOME... For Example: Interactive looks fine - (prentis@diva):(prentis) sudo ssh webhost-n01 @@@ @WARNING: REMOTE HOST IDENTIFICATION HAS CHANGED! @ @@@ IT IS POSSIBLE THAT SOMEONE IS DOING SOMETHING NASTY! Someone could be eavesdropping on you right now (man-in-the-middle attack)! It is also possible that the RSA1 host key has just been changed. The fingerprint for the RSA1 key sent by the remote host is 59:ab:69:99:cb:43:4e:d3:b7:7f:26:dc:54:a4:f0:be. Please contact your system administrator. Add correct host key in /.ssh/known_hosts to get rid of this message. Offending key in /.ssh/known_hosts:6912 Password authentication is disabled to avoid man-in-the-middle attacks. The above is normal ssh behavior if the host key is changed. Add the new host key to the known_hosts file. Last login: Fri Feb 21 12:34:01 2003 from diva.web.aol.com Fanfare!!! You are successfully logged in to this server!!! root@WEBHOST-N01 ~ $ ls -la / total 122 drwxrwxrwt+ 11 Administ 655354096 Feb 6 11:46 . drwxrwxrwt+ 11 Administ 655354096 Feb 6 11:46 .. drwxrwxrwt+ 3 Administ 65535 73728 Dec 17 12:57 bin -rwxrwxrwx+ 1 Administ 65535 64 Dec 17 12:57 cygwin.bat -rwxrwxrwx+ 1 Administ 65535 766 Dec 17 12:57 cygwin.ico drwxrwxrwx+ 3 root Domain U0 Feb 6 11:46 data drwxrwxrwt+ 9 Administ 655358192 Feb 4 15:19 etc drwxrwxrwt+ 5 Administ 65535 0 Feb 4 15:19 home drwxrwxrwt+ 9 Administ 65535 20480 Dec 17 12:57 lib drwxrwxrwx+ 2 root Domain U0 Feb 4 15:19 logs drwxrwxrwt+ 2 Administ 655354096 Feb 6 14:42 tmp drwxrwxrwt+ 14 Administ 655354096 Dec 17 12:54 usr drwxrwxrwt+ 8 Administ 655354096 Dec 17 13:02 var Umm, ok, looks like your /etc/{passwd,group} are not up to date... You are logging in as a domain user, I presume. But inline - (prentis@diva):(prentis) sudo ssh webhost-n01 'ls -la /' @@@ @WARNING: REMOTE HOST IDENTIFICATION HAS CHANGED! @ @@@ IT IS POSSIBLE THAT SOMEONE IS DOING SOMETHING NASTY! Someone could be eavesdropping on you right now (man-in-the-middle attack)! It is also possible that the RSA1 host key has just been changed. The fingerprint for the RSA1 key sent by the remote host is 59:ab:69:99:cb:43:4e:d3:b7:7f:26:dc:54:a4:f0:be. Please contact your system administrator. Add correct host key in /.ssh/known_hosts to get rid of this message. Offending key in /.ssh/known_hosts:6912 Password authentication is disabled to avoid man-in-the-middle attacks. -rwxrwxrwx1 Administ NETWORK 0 May 23 2001 AUTOEXEC.BAT -rwxrwxrwx1 Administ Administ0 May 23 2001 BOOT.BAK drwxrwxrwx1 Administ Administ0 May 23 2001 COMPAQ -rwxrwxrwx1 Administ NETWORK 0 May 23 2001 CONFIG.SYS drwxrwxrwx1 Administ NETWORK 0 May 23 2001 CPQSYSTEM prwxrwxrwx1 Administ NETWORK 0 May 23 2001 IO.SYS prwxrwxrwx1 Administ NETWORK 0 May 23 2001 MSDOS.SYS drwxrwxrwx1 Administ NETWORK 4096 Mar 26 2002 Program Files drwx---rwx1 Administ Domain U0 Mar 25 2002 RECYCLER drwxrwxrwx1 Administ NETWORK 4096 Apr 26 2002 TEMP drwxrwxrwx1 Administ Administ14336 Nov 12 13:05 WINNT prwx---r-x1 Administ Administ 278 May 23 2001 boot.ini -rwx---rwx1 Administ Domain A 421 Mar 26 2002 ckSAP.log drwx---rwx1 Administ Domain A0 Dec 17 12:52 cygwin drwxrwxrwx1 root Administ0 Feb 4 15:18 data drwx---rwx1 Administ Domain A0 Dec 17 12:52 nt-bcs prwx---r-x1 Administ Administ26816 May 23 2001 ntdetect.com prwx---r-x1 Administ Administ 156496 May 23 2001 ntldr -rwxrwxrwx1 Administ NETWORK 200 May 23 2001 setup.log -rwx---rwx1 prentis Domain A 3421 Apr 2 2002 ssh_files.txt drwx---rwx1 Administ Domain U0 Feb 21 2002 tools -rw-rw-rw-1 prentis Domain A 262733 Feb 12 2002 tools.tar.gz ls: pagefile.sys: Permission denied I see C:\ rather than C:\nt-bcs\cygwin\ Yes, and with different lss, too... :-) I am including a cygcheck -s called inline so that you can see as much of the environment
Re: remapping Cygwin 'bash' readline functions to PC keys
Randall R Schulz wrote: Hi, Jeez, guys, what's the problem: % od -c [ Press F1 through F12 followed by two CTRL-Ds: ] 000 033 [ [ A 033 [ [ B 033 [ [ C 033 [ [ D 020 033 [ [ E 033 [ 1 7 ~ 033 [ 1 8 ~ 033 [ 040 1 9 ~ 033 [ 2 0 ~ 033 [ 2 1 ~ 033 [ 2 060 3 ~ 033 [ 2 4 ~ 067 % od -c [ Press Insert, Home, Page Up, Delete, End, Page Down followed by two CTRL-Ds: ] 000 033 [ 2 ~ 033 [ 1 ~ 033 [ 5 ~ 033 [ 3 ~ 020 033 [ 4 ~ 033 [ 6 ~ 030 Randall Schulz Ah, I see. Thanks for lighting the way, Randall. I guess, I've got it at last. Regards mks Hasn't grown too much older in the meantime - this century, that is... At 03:42 2003-02-21, Markus Schönhaber wrote: 'od -c' remains a mystery to me too - I guess I'll understand how that command works sometime later this century. -- 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/
Symlink to script fails
I have need to use Rational's CQPerl which appears to be a derivative of Active State Perl that allows me to use Perl to access Clearquest. I have a perl script that does what I want however if I symlink that script the symlinked invocation does not work! I've drastically reduced the Perl script to simply demonstrate the problem: $ cat foo #!c:/Progra~1/Rational/ClearQuest/CQPerl print Hello world\n; $ foo Hello world $ ls -l bar lrwxrwxrwx1 adefaria Domain U 86 Feb 21 10:38 bar - foo* $ bar Can't open perl script ./bar: No such file or directory Now if I change the shebang line to #!/bin/perl then everything works but as I said I need to use CQPerl. Ideas? -- 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: An Interesting mount issue
Thanks Igor, I totally missed the resource kit reference, that is most definately my problem. I was already ok with the ssh errors, I was only concerned about the path issues I was seeing. $HOME and the shell are not the problem I was trying to solve and both seem to be the same regardless of how the line was called. You definately saw what I missed, Thanks!! I broke my own rule, always use absolute paths rather than depending on $PATH to be always right. Prentis Brooks | [EMAIL PROTECTED] | 703-265-0914 | AIM: PrentisBrooks Senior System Administrator - Web Infrastructure Security A knight is sworn to valor. His heart knows only virtue. His blade defends the helpless. His word speaks only truth. His wrath undoes the wicked. - the old code of Bowen, last of the dragonslayers -- 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: Can't start inetd
At 10:30 2003-02-21, Thorsten Kampe wrote: * Randall R Schulz (03-02-21 19:11 +0100) At 09:59 2003-02-21, Corinna Vinschen wrote: On Fri, Feb 21, 2003 at 12:00:21PM -0500, Jim Peng wrote: i installed latest cygwin 1.3.20 with inetutils on window 2k with sp3, i followed the README for inetd installation but it can NOT be started with message: service did not responds to the start or control request in a timely fashion. here is what i did 1) inetd --install-as-service 2) set CYGWIN system variable as binmode tty ntsec 3) add d:\cygwin\bin to PATH system variable 4) net start inertd or start it from service manager the same result with another w2k box, when i try to start it directly using inetd.exe on one box nothing happened on the another box it errors out saying cygwin1.dll could NOT be found in the PATH, but i am sure it's in the PATH Forgot to reboot? Why would that be necessary on Win 2K? I did not find that simply installing the inetd service required a reboot on my Win 2K or another Win XP machine to make it function correctly. Not if C:\cygwin\bin was already in your $PATH. Thorsten Thorsten, I'm sorry, but that contradicts my own experience. I recently set up Cygwin on a Windows XP system. I invoked inetd --install-as-service and found that it would not start. I then went to the Environment control panel, added the Cygwin bin to the system-wide PATH and subsequently the CYGWIN inetd started up and functioned just fine. Randall Schulz -- 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: Can't start inetd
* Randall R Schulz (03-02-21 19:46 +0100) At 10:30 2003-02-21, Thorsten Kampe wrote: * Randall R Schulz (03-02-21 19:11 +0100) At 09:59 2003-02-21, Corinna Vinschen wrote: [$PATH and rebooting ] Forgot to reboot? Why would that be necessary on Win 2K? I did not find that simply installing the inetd service required a reboot on my Win 2K or another Win XP machine to make it function correctly. Not if C:\cygwin\bin was already in your $PATH. I'm sorry, but that contradicts my own experience. I recently set up Cygwin on a Windows XP system. I invoked inetd --install-as-service and found that it would not start. I then went to the Environment control panel, added the Cygwin bin to the system-wide PATH and subsequently the CYGWIN inetd started up and functioned just fine. I'm sorry, but that contradicts my own experience ;-) . I recently set up PostgreSQL on a Windows XP system and had to change my own path to system-wide path and reboot (IIRC). Thorsten -- Content-Type: text/explicit; charset=ISO-8859-666 (Parental Advisory) Content-Transfer-Warning: message contains innuendos not suited for children under the age of 18 -- 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/
-lmsvcrt20 and -lmsvcrt40
Anyone use either of these? Earnie. -- 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: info is not loading...
No, it should do it automatically. --- Eduardo Osorio [EMAIL PROTECTED] wrote: Hey! thanks a lot! i got it all (i think!) just one last question. i need to do everytime that install a new package? thanks you so much! - Original Message - From: Joshua Daniel Franklin [EMAIL PROTECTED] To: [EMAIL PROTECTED]; [EMAIL PROTECTED]; [EMAIL PROTECTED] Sent: Thursday, February 20, 2003 5:43 PM Subject: Re: info is not loading... On Thu, Feb 20, 2003 at 09:16:16AM -0800, Eduardo Osorio Armenta wrote: I have some troubles with info a lot of packages show their information but not the all that i have under /usr/info for example binutils.info Eduardo, This happens because some misbehaved packages overwrite the dir file (for cygwin, /usr/info/dir) with their own. This has come up several times and so there is now a update-info-dir package that should take care of this. See if ls /etc/postinstall/update-info-dir.sh* reports that the file is there and if it has a .done extension. If not you may need to re-run setup.exe, or the file directly, like this: sh /etc/postinstall/update-info-dir.sh Note that you can always run info or pinfo directly on an info file like: info -f /usr/info/binutils.info or pinfo -f /usr/info/binutils.info __ Do you Yahoo!? Yahoo! Tax Center - forms, calculators, tips, more http://taxes.yahoo.com/ -- 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: GPL Violation
I wrote: There is another side to this issue: the fact that RedHat is not in the business of supporting a standalone cygwin1.DLL, ^^^ I knew that I shouldn't have touched that one yet... I'm assuming that the standalone DLL that RedHat IS in the business of supporting (i.e., if you paid them for it) is called something else (otherwise, never mind...). -Jerry -- 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: cygstart, mutt or mailcap?
On Fri Feb 21 10:09:23 2003, Igor Pechtchanski wrote: On Fri, 21 Feb 2003, Ajay Simha wrote: On Fri Feb 21 09:33:58 2003, Igor Pechtchanski wrote: On Fri, 21 Feb 2003, Ajay Simha wrote: Hi, This is what my .mailcap looks like: === text/html; lynx -dump %s; copiousoutput; nametemplate=3D%s.html Application/MSWORD; cygstart %s; copiousoutput; Application/VND.MS-EXCEL; cygstart %s; copiousoutput; Application/PDF; cygstart %s; copiousoutput; Application/vnd.ms-powerpoint; cygstart %s; copiousoutput; Application/MSEXCEL; cygstart %s; copiousoutput; Application/octet-stream; cygstart %s; copiousoutput; === I'm using mutt 1.4i. When I try to view a word doc it lauches fine but in the middle of doing other things like reading email or doing something else my word doc seems to get corrupted. However I don't see this problem if I save the file and *then* run cygstart or directly open it in word. BTW here is where the tmp file is created: [asimha@asimha-w2k02 ~]$ ls -lt /tmp ls: /tmp/mutt-asimha-w2k02-1736-194: No such file or directory ls: /tmp/mutt-asimha-w2k02-1736-33: No such file or directory total 4550 -rw---1 asimha None 483328 Feb 21 02:41 Dell-lab-summary.001736.doc -rwxrwxrwx1 asimha 162 Feb 21 02:41 ~$ll-lab-summary.001736.doc drwxrwxrwx+ 12 asimha None 8192 Feb 21 02:22 aspell-0.50.3 -rwxrwxrwx1 Administ None 3962880 Feb 21 02:18 aspell-0.50.3.tar -rw-rw-rw-1 asimha None 187 Feb 21 01:47 lpr.log -rw-rw-rw-1 asimha None 201918 Feb 21 00:39 XWinrl.log [asimha@asimha-w2k02 ~]$ Any clues here? Thanks, -ajay Ajay, Two WAGs: 1) Is your /tmp mount binary or text? If text, try remounting as binary. Also see if adding binmode to your $CYGWIN helps. 2) This one's really wild, but I know Windews has this stupid dependence on the name of the file. Try using the nametemplate trick (%s.doc, or something), and see if it helps. Igor Hey thanks for the quick reply. Regarding 2) it *is* a .doc if not the default windows handler would not work for it. Umm, yes, I'm slow today. However, the '' in your ls output The file which starts with ~lldoc is the one word creates and has the wierd permissions. If I touch a file I get asimha/None own/grp. I also re-ran mkpasswd and mkgroup. Can't make this problem go away. I'm thinking it is something to to with winword 2002 (part of office xp sp2). -ajay indicates that your /etc/{passwd,group} aren't up to date. See http://cygwin.com/cygwin-ug-net/ntsec.html#NTSEC-RELEASE1.3.20 for details. Probably unrelated, but something to fix anyway. Regarding 1) : [asimha@asimha-w2k02 /etc]$ mount D:\cygwin\usr\X11R6\lib\X11\fonts on /usr/X11R6/lib/X11/fonts type system (binmode) D:\cygwin\bin on /usr/bin type user (binmode) D:\cygwin\lib on /usr/lib type user (binmode) D:\cygwin on / type user (binmode) c: on /cygdrive/c type user (binmode,noumount) d: on /cygdrive/d type user (binmode,noumount) z: on /cygdrive/z type user (binmode,noumount) [asimha@asimha-w2k02 /etc]$ df -k Filesystem 1k-blocks Used Available Use% Mounted on D:\cygwin\usr\X11R6\lib\X11\fonts 5496088 2290917 3205171 42% /usr/X11R6/lib/X11/fonts D:\cygwin\bin 5496088 2290917 3205171 42% /usr/bin D:\cygwin\lib 5496088 2290917 3205171 42% /usr/lib D:\cygwin 5496088 2290917 3205171 42% / c: 6289888 2666732 3623156 43% /cygdrive/c d: 5496088 2290917 3205171 42% /cygdrive/d z: 555604555604 0 100% /cygdrive/z Looks fine (/tmp will be under the / mount). is there a way to mount d:\cygwin\tmp as it's own file system Yes. man mount. or simply make cygwin use my desktop as tmp? Ugh, you don't want to do that. For one, anytime you run configure you'd get a lot of directories on your desktop. Unless you actually *like* a cluttered desktop... ];- You could mount your Windows profile's Temp directory as /tmp, though... Make that one a user mount, though. Thanks, -ajay Hope this helps, 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! Oh, boy, virtual memory! Now I'm gonna make myself a really *big* RAMdisk! -- /usr/games/fortune -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Bug reporting:
RE: Symlink to script fails
I tried the same thing with c:/winnt/system32/cmd.exe (I don't have CQPerl ;-) ) and it worked fine. Perhaps you can try that and see if it points to a CQPerl problem or some local configuration issue. Larry Original Message: - From: Andrew DeFaria [EMAIL PROTECTED] Date: Fri, 21 Feb 2003 10:41:45 -0800 To: [EMAIL PROTECTED] Subject: Symlink to script fails I have need to use Rational's CQPerl which appears to be a derivative of Active State Perl that allows me to use Perl to access Clearquest. I have a perl script that does what I want however if I symlink that script the symlinked invocation does not work! I've drastically reduced the Perl script to simply demonstrate the problem: $ cat foo #!c:/Progra~1/Rational/ClearQuest/CQPerl print Hello world\n; $ foo Hello world $ ls -l bar lrwxrwxrwx1 adefaria Domain U 86 Feb 21 10:38 bar - foo* $ bar Can't open perl script ./bar: No such file or directory Now if I change the shebang line to #!/bin/perl then everything works but as I said I need to use CQPerl. Ideas? -- 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/ mail2web - Check your email from the web at http://mail2web.com/ . -- 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: to use dup() in cygwin
Shankar Unni wrote: [EMAIL PROTECTED] wrote: /*close the display exit and send it to the socket*/ close(1); iError=dup(iDescSock); Shouldn't you be using dup2() for this? It's time to step into the 1990s here, methinks.. You mean we have to step out of the 20th century and into the 21st century! :-) -- 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/
Change in command line behavior between cygwin 1.3.18-1 and 1.3.19-1
Hi, I am hoping that someone can explain this change of behavior I have noticed that occurred between Cygwin version 1.3.18-1 and 1.3.19-1. In order to remain compatible with MKS, and also to keep version control as simple as possible we need to continue using ksh to execute our scripts. On Cygwin we have been using the pdksh ( http://www.cs.mun.ca/~michael/pdksh/ ). Here is a sample script: --- #!/bin/ksh set +u --- Using Cygwin 1.3.18-1, the script can be executed, apparently successfully, like so: $ d:/cygcheck/testscript Using Cygwin 1.3.19-1 and executing the script in the same manner yields the following error message: $ d:/cygcheck/testscript :unknown optionscript[2]: set: - I have attached 'cygcheck -s -v -r' output for both version 1.3.18 and .19 as setup on my computer. Thanks, Paul Coltrin pablo (at) projtech (dot) com Cygwin Win95/NT Configuration Diagnostics Current System Time: Fri Feb 21 12:30:32 2003 Windows NT Ver 4.0 Build 1381 Service Pack 6 Path: C:\cygwin\usr\local\bin C:\cygwin\bin C:\cygwin\bin %SystemRoot%\system32 %SystemRoot% c:\PT\DesignPoint\MC-2020\bin c:\Program Files\Microsoft Visual Studio\Common\Tools\WinNT c:\Program Files\Microsoft Visual Studio\Common\Tools c:\Program Files\Microsoft Visual Studio\VC98\bin SysDir: C:\WINNT\System32 WinDir: C:\WINNT HOME = `C:\cygwin\home\pablo' MAKE_MODE = `unix' PWD = `/cygdrive/d/cygcheck' USER = `pablo' COMPUTERNAME = `SHOEBILL' COMSPEC = `C:\WINNT\system32\cmd.exe' HOMEDRIVE = `C:' HOMEPATH = `\' INCLUDE = `C:\Program Files\Microsoft Visual Studio\VC98\atl\include;C:\Program Files\Microsoft Visual Studio\VC98\mfc\include;C:\Program Files\Microsoft Visual Studio\VC98\include' LIB = `C:\Program Files\Microsoft Visual Studio\VC98\mfc\lib;C:\Program Files\Microsoft Visual Studio\VC98\lib' LOGONSERVER = `\\SHOEBILL' MANPATH = `:/usr/ssl/man' NUMBER_OF_PROCESSORS = `1' OLDPWD = `/home/pablo' OS2LIBPATH = `C:\WINNT\system32\os2\dll;' OS = `Windows_NT' PATHEXT = `.COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH' PROCESSOR_ARCHITECTURE = `x86' PROCESSOR_IDENTIFIER = `x86 Family 6 Model 5 Stepping 0, GenuineIntel' PROCESSOR_LEVEL = `6' PROCESSOR_REVISION = `0500' PROMPT = `$P$G' PS1 = `\[\033]0;\w\007 \033[32m\]\u@\h \[\033[33m\w\033[0m\] $ ' SHLVL = `1' SYSTEMDRIVE = `C:' SYSTEMROOT = `C:\WINNT' TEMP = `c:\TEMP' TERM = `cygwin' TMP = `c:\TEMP' USERDOMAIN = `SHOEBILL' USERNAME = `pablo' USERPROFILE = `C:\WINNT\Profiles\pablo.000' WINDIR = `C:\WINNT' _ = `/usr/bin/cygcheck' HKEY_CURRENT_USER\Software\Cygnus Solutions HKEY_CURRENT_USER\Software\Cygnus Solutions\Cygwin HKEY_CURRENT_USER\Software\Cygnus Solutions\Cygwin\mounts v2 HKEY_CURRENT_USER\Software\Cygnus Solutions\Cygwin\Program Options HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\Cygwin HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\Cygwin\mounts v2 (default) = `/cygdrive' cygdrive flags = 0x0020 HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\Cygwin\mounts v2\/ (default) = `C:\cygwin' flags = 0x0008 HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\Cygwin\mounts v2\/usr/bin (default) = `C:\cygwin/bin' flags = 0x0008 HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\Cygwin\mounts v2\/usr/lib (default) = `C:\cygwin/lib' flags = 0x0008 HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\Cygwin\Program Options a: fd N/AN/A c: hd NTFS2000Mb 43% CP CS UN PA FC d: hd NTFS2886Mb 11% CP CS UN PA FC e: cd N/AN/A C:\cygwin / system textmode C:\cygwin/bin /usr/bin system textmode C:\cygwin/lib /usr/lib system textmode . /cygdrive usertextmode,cygdrive Found: C:\cygwin\bin\bash.exe Found: C:\cygwin\bin\cat.exe Not Found: cpp (good!) Found: C:\cygwin\bin\find.exe Not Found: gcc Not Found: gdb Found: C:\cygwin\bin\ld.exe Found: C:\cygwin\bin\ls.exe Found: C:\cygwin\bin\make.exe Found: C:\cygwin\bin\sh.exe 847k 2003/02/19 C:\cygwin\bin\cygcrypto-0.9.7.dll - os=4.0 img=1.0 sys=4.0 cygcrypto-0.9.7.dll v0.0 ts=2003/2/19 10:39 806k 2003/02/19 C:\cygwin\bin\cygcrypto.dll - os=4.0 img=1.0 sys=4.0 cygcrypto.dll v0.0 ts=2003/2/19 11:09 45k 2001/04/25 C:\cygwin\bin\cygform5.dll - os=4.0 img=1.0 sys=4.0 cygform5.dll v0.0 ts=2001/4/24 22:28 35k 2002/01/09 C:\cygwin\bin\cygform6.dll - os=4.0 img=1.0 sys=4.0 cygform6.dll v0.0 ts=2002/1/8 23:03 19k 2002/02/20 C:\cygwin\bin\cyggdbm.dll - os=4.0 img=1.0 sys=4.0 cyggdbm.dll v0.0 ts=2002/2/19 20:05 17k 2001/06/28 C:\cygwin\bin\cyghistory4.dll - os=4.0 img=1.0 sys=4.0 cyghistory4.dll v0.0 ts=2001/1/6 21:34 20k 2002/10/10 C:\cygwin\bin\cyghistory5.dll - os=4.0 img=1.0 sys=4.0 cyghistory5.dll v0.0 ts=2002/10/10 10:28 929k 2002/06/24
Re: Can't start inetd
Jim Peng wrote: Can someone help me with this: i installed latest cygwin 1.3.20 with inetutils on window 2k with sp3, i followed the README for inetd installation but it can NOT be started with message: service did not responds to the start or control request in a timely fashion. here is what i did 1) inetd --install-as-service 2) set CYGWIN system variable as binmode tty ntsec 3) add d:\cygwin\bin to PATH system variable 4) net start inertd or start it from service manager the same result with another w2k box, when i try to start it directly using inetd.exe on one box nothing happened on the another box it errors out saying cygwin1.dll could NOT be found in the PATH, but i am sure it's in the PATH where i did wrong? You forgot to reboot! -- 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: Can't start inetd
Randall R Schulz wrote: At 09:59 2003-02-21, Corinna Vinschen wrote: On Fri, Feb 21, 2003 at 12:00:21PM -0500, Jim Peng wrote: Can someone help me with this: i installed latest cygwin 1.3.20 with inetutils on window 2k with sp3, i followed the README for inetd installation but it can NOT be started with message: service did not responds to the start or control request in a timely fashion. here is what i did 1) inetd --install-as-service 2) set CYGWIN system variable as binmode tty ntsec 3) add d:\cygwin\bin to PATH system variable 4) net start inertd or start it from service manager the same result with another w2k box, when i try to start it directly using inetd.exe on one box nothing happened on the another box it errors out saying cygwin1.dll could NOT be found in the PATH, but i am sure it's in the PATH where i did wrong? Forgot to reboot? Corinna Corinna, Why would that be necessary on Win 2K? I did not find that simply installing the inetd service required a reboot on my Win 2K or another Win XP machine to make it function correctly. Because, assuming you are logged in and just added Cygwin's bin directory to your system wide PATH environment variable it would not become effective until you reboot. Why? Because the system environment space is only built when you boot and because services are started from the system environement, the environment in effect *before* you log in. Why did it work for you? Probably because you already had Cygwin's bin in your systemwide PATH environment *before* you logged in and installed inetd as a service. -- 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: Symlink to script fails
I've been playing around with this, too. I have a Windows 'native' version of Perl 5.8.0 available to play with and when I used it, I got the same error as Andrew did. I'm not sure how you did your cmd.exe test? I tried it, in the form of a shebang file. It 'worked' but it did complain about the shebank line not being recognized. But that's a side issue, just curious;-) What I think is going on here has to do with how the exec for shebang does its thing. The interpreter named in the shebang line is exec'd, with the path name of the script file as an argument. I'd suggest that the Windows/DOS commands in question (my perl 5.8.0 and CQPerl) are unable to find the file, in the failing case, because they are reading a symlink, which they don't know how to deal with. So they are reading the content of the symlink, not what it points to. I'm not sure why cmd.exe isn't having the same problem. Perhaps there's something in Windows/DOS program linking that needs to be done to get them to work with .lnk files? Like the business of linking into a program the ability to do wild card expansion. [EMAIL PROTECTED] wrote: I tried the same thing with c:/winnt/system32/cmd.exe (I don't have CQPerl ;-) ) and it worked fine. Perhaps you can try that and see if it points to a CQPerl problem or some local configuration issue. Larry Original Message: - From: Andrew DeFaria [EMAIL PROTECTED] Date: Fri, 21 Feb 2003 10:41:45 -0800 To: [EMAIL PROTECTED] Subject: Symlink to script fails I have need to use Rational's CQPerl which appears to be a derivative of Active State Perl that allows me to use Perl to access Clearquest. I have a perl script that does what I want however if I symlink that script the symlinked invocation does not work! I've drastically reduced the Perl script to simply demonstrate the problem: $ cat foo #!c:/Progra~1/Rational/ClearQuest/CQPerl print Hello world\n; $ foo Hello world $ ls -l bar lrwxrwxrwx1 adefaria Domain U 86 Feb 21 10:38 bar - foo* $ bar Can't open perl script ./bar: No such file or directory Now if I change the shebang line to #!/bin/perl then everything works but as I said I need to use CQPerl. Ideas? -- 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/ mail2web - Check your email from the web at http://mail2web.com/ . -- 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/ -- Bob McGowan Staff Development Engineer VERITAS Software [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: upgrading broke cygwin?
Glen, I recently ran into similar problems that seemed tied to the 1.3.20-1 version of the .dll. If you could, please post the results of the following: 'ls -la /usr/bin' I want to verify what you have listed as the owners and groups for your binary files, and what permissions are assigned to them. It may be that you need to make some modifications to your /etc/passwd and /etc/group files (via mkpasswd and mkgroup). I found that if I added executable permissions to group for all files in /usr/bin, (chmod g+x /usr/bin/*) then which and similar commands were finally able to locate the files that were contained in my path. This was required even though I was a local administrator on the box and all of the files were owned by Administrators. Fully pathing a file would work fine, even though which wouldn't find it in the path (i.e. /usr/bin/cat would work but which cat.exe resulted in file not found). I still don't know if the problems I had were due to something I had improperly configured or not...anyone have any ideas? At any rate, I discovered that uninstalling everything and then doing a full install from an older source tree (v 3.1.18) resulted in a system without the symptoms mentioned above. I've stuck with that until I have a chance to experiment/test with 3.1.20 again to see what I may be doing wrong. Jared Glen Kaukola [EMAIL PROTECTED] wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... Hi, I recently ran setup.exe to upgrade my cygwin packages and this seems to have broken it. Now when I type make it tells me: /c: Can't open /c: No such file or directory If I create a /c then make works. It never did that before the upgrade though. Also, man and which don't seem to work right anymore. If I type 'man command' for any command it always tells me there's no entry. And if I type 'which command' or 'which command.exe' for any command that's in my path, it always tells me the commands aren't found. I tried completely reinstalling cygwin and I get the same exact behavior. Since there's not really any uninstall option the way I uninstalled it was by deleting my C:\Cygwin folder and then deleting anything that said cygnus from my registry. I'm hoping that's the correct way to do it? At any rate it didn't make any difference. My OS is Windows XP Pro if that matters. Any help or advice will be greatly appriciated. Thanks, Glen -- 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: Why the rash of people bypassing setup.exe to install?
On Monday 17 Feb 03, David Starks-Browning writes: On Saturday 15 Feb 03, andrew clarke writes: ... Section 2 of the FAQ might also put people off using Setup because it's described as a work-in-progress and seemingly a bit of a moving target. I'll see if I can make this sound less off-putting. This should be a bit better now. David -- 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 can I tell how a service was installed with cygrunsrv?
Look in: HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\sshd\Parameters (where 'sshd' is the name of the service installed via cygrunsrv) The Parameters key contains the command line arguments needed for the service to run, I believe in the key AppArgs. The path the binary exists in is in the key AppPath. Hope that helps, Jared Chuck Ocheret [EMAIL PROTECTED] wrote in message 00b101c2d7b6$db11c5f0$[EMAIL PROTECTED]">news:00b101c2d7b6$db11c5f0$[EMAIL PROTECTED]... Is there some option to the cygrunsrv command or some file I can look at that will show me what command line was provided when cygrunsrv was used to install a service? I would have thought that some argument to ps would show command line arguments but there doesn't seem to be such an option on cygwin's ps. Any advice would be appreciated. Thanks, ~chuck -- 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/
letters of the path have returned in numbers? Any idea why?
Hi, Before I was working only with Xfree86 and it was responding fine at least on the windows open. Now that I added some more packages such as rxvt etc., my paths in the directories when I startx are becoming nonsense: here is an example : \033[32m\]\u@ and more numbers. Does anybody has a suggestion how to revert this process in original letters of the path? TIA, Aldi -- -- 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: Symlink to script fails
Here's what I did: lhall@lhall-cat foo #!c:/winnt/system32/cmd.exe lhall@lhall-foo Microsoft Windows 2000 [Version 5.00.2195] (C) Copyright 1985-2000 Microsoft Corp. C:\tmpexit lhall@lhall-ls -l bar lrwxrwxrwx1 lhallDomain U 14 Feb 21 15:57 bar - foo lhall@lhall-bar Microsoft Windows 2000 [Version 5.00.2195] (C) Copyright 1985-2000 Microsoft Corp. C:\tmpexit lhall@lhall-uname -a CYGWIN_NT-5.0 lhall 1.3.20(0.73/3/2) 2003-02-08 12:10 i686 unknown unknown Cygwin I tried with making the symlink as a Windows shortcut (the default) and the (older) magic options (nowinsymlinks). Worked for me either way whether I used /bin/sh or /bin/bash as my initial shell. The problem is definitely with the native Perl's (or CQPerl's) interpretation of what it gets. Larry Original Message: - From: Bob McGowan [EMAIL PROTECTED] Date: Fri, 21 Feb 2003 12:23:15 -0800 To: [EMAIL PROTECTED], [EMAIL PROTECTED], [EMAIL PROTECTED] Subject: Re: Symlink to script fails I've been playing around with this, too. I have a Windows 'native' version of Perl 5.8.0 available to play with and when I used it, I got the same error as Andrew did. I'm not sure how you did your cmd.exe test? I tried it, in the form of a shebang file. It 'worked' but it did complain about the shebank line not being recognized. But that's a side issue, just curious;-) What I think is going on here has to do with how the exec for shebang does its thing. The interpreter named in the shebang line is exec'd, with the path name of the script file as an argument. I'd suggest that the Windows/DOS commands in question (my perl 5.8.0 and CQPerl) are unable to find the file, in the failing case, because they are reading a symlink, which they don't know how to deal with. So they are reading the content of the symlink, not what it points to. I'm not sure why cmd.exe isn't having the same problem. Perhaps there's something in Windows/DOS program linking that needs to be done to get them to work with .lnk files? Like the business of linking into a program the ability to do wild card expansion. [EMAIL PROTECTED] wrote: I tried the same thing with c:/winnt/system32/cmd.exe (I don't have CQPerl ;-) ) and it worked fine. Perhaps you can try that and see if it points to a CQPerl problem or some local configuration issue. Larry Original Message: - From: Andrew DeFaria [EMAIL PROTECTED] Date: Fri, 21 Feb 2003 10:41:45 -0800 To: [EMAIL PROTECTED] Subject: Symlink to script fails I have need to use Rational's CQPerl which appears to be a derivative of Active State Perl that allows me to use Perl to access Clearquest. I have a perl script that does what I want however if I symlink that script the symlinked invocation does not work! I've drastically reduced the Perl script to simply demonstrate the problem: $ cat foo #!c:/Progra~1/Rational/ClearQuest/CQPerl print Hello world\n; $ foo Hello world $ ls -l bar lrwxrwxrwx1 adefaria Domain U 86 Feb 21 10:38 bar - foo* $ bar Can't open perl script ./bar: No such file or directory Now if I change the shebang line to #!/bin/perl then everything works but as I said I need to use CQPerl. Ideas? -- 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/ mail2web - Check your email from the web at http://mail2web.com/ . -- 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/ -- Bob McGowan Staff Development Engineer VERITAS Software [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/ mail2web - Check your email from the web at http://mail2web.com/ . -- 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: letters of the path have returned in numbers? Any idea why?
On Fri, 21 Feb 2003, Aldi Kraja wrote: Hi, Before I was working only with Xfree86 and it was responding fine at least on the windows open. Now that I added some more packages such as rxvt etc., my paths in the directories when I startx are becoming nonsense: here is an example : \033[32m\]\u@ and more numbers. Does anybody has a suggestion how to revert this process in original letters of the path? TIA, Aldi rxvt by default starts with /bin/sh as the shell, which doesn't understand color sequences in the prompt. Try rxvt -e bash. Igor P.S. This was non-XFree86-specific. If you have further questions about XFree86, please use the cygwin-xfree at cygwin dot com list. -- http://cs.nyu.edu/~pechtcha/ |\ _,,,---,,_[EMAIL PROTECTED] ZZZzz /,`.-'`'-. ;-;;,_[EMAIL PROTECTED] |,4- ) )-,_. ,\ ( `'-' Igor Pechtchanski '---''(_/--' `-'\_) fL a.k.a JaguaR-R-R-r-r-r-.-.-. Meow! Oh, boy, virtual memory! Now I'm gonna make myself a really *big* RAMdisk! -- /usr/games/fortune -- 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: letters of the path have returned in numbers? Any idea why?
Common problem when you tweak your environment. You changed /bin/sh to a symbolic link to /bin/bash. Updating your packages reinstituted the /bin/sh binary. /bin/sh != /bin/bash. /bin/sh is ash. Larry Original Message: - From: Aldi Kraja [EMAIL PROTECTED] Date: Fri, 21 Feb 2003 15:05:58 -0600 To: [EMAIL PROTECTED] Subject: letters of the path have returned in numbers? Any idea why? Hi, Before I was working only with Xfree86 and it was responding fine at least on the windows open. Now that I added some more packages such as rxvt etc., my paths in the directories when I startx are becoming nonsense: here is an example : \033[32m\]\u@ and more numbers. Does anybody has a suggestion how to revert this process in original letters of the path? TIA, Aldi -- -- 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/ mail2web - Check your email from the web at http://mail2web.com/ . -- 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: letters of the path have returned in numbers? Any idea why?
Great! I tested your suggestion with startx -e bash and it corrected the paths as the previous defaults. I am not going to use rxvt and I have uninstalled it, unless someone will tell any extra use of it compared with X-term. Thanks, Aldi Igor Pechtchanski wrote: On Fri, 21 Feb 2003, Aldi Kraja wrote: Hi, Before I was working only with Xfree86 and it was responding fine at least on the windows open. Now that I added some more packages such as rxvt etc., my paths in the directories when I startx are becoming nonsense: here is an example : \033[32m\]\u@ and more numbers. Does anybody has a suggestion how to revert this process in original letters of the path? TIA, Aldi rxvt by default starts with /bin/sh as the shell, which doesn't understand color sequences in the prompt. Try rxvt -e bash. Igor P.S. This was non-XFree86-specific. If you have further questions about XFree86, please use the cygwin-xfree at cygwin dot com list. -- 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/
Am I a candidate for rebase?
I think I need to rebase my .dll files to overcome a problem with perl on cygwin. Before I do that, I wanted to ask if it might mess up things, and some other questions below. The documentation implies Bad Things (TM) might happen. Plus, I am waiting for rebase 2.2-2 to appear on tishler.net... If I rebase, can I go back? (unrebase?) Can rebasing break things that I straightened out before? Should I use rebaseall? Should I rebase everything in cygwin/usr/bin and cygwin/usr/X11R6/bin simultaneously? What offset should I use? How do I avoid rvxt? Does my cygwin icon on the desktop avoid it? As background, I have uname -a CYGWIN_NT-5.0 AC431380 1.3.20(0.73/3/2) 2003-02-08 12:10 i686 unknown unknown Cygwin I installed gd 2.0.11 from Boutell, and GD.pm 2.0.6 with only minor problems. My goal is GD::Graph, which led to trying to install GDTextUtils.pm: cygperl Makefile.PL Checking if your kit is complete... Looks good C:\cygwin\bin\cygperl.exe: *** unable to remap C:\cygwin\usr\X11R6\bin\libfreety pe.dll to same address as parent(0x72) != 0x74 30 [main] cygperl 3640 sync_with_child: child 3260(0xFC) died before initia lization with status code 0x1 345 [main] cygperl 3640 sync_with_child: *** child state child loading dlls C:\cygwin\bin\cygperl.exe: *** unable to remap C:\cygwin\usr\X11R6\bin\libfreety pe.dll to same address as parent(0x72) != 0x74 5058346 [main] cygperl 3640 sync_with_child: child 268(0x108) died before initia lization with status code 0x1 5058655 [main] cygperl 3640 sync_with_child: *** child state child loading dlls C:\cygwin\bin\cygperl.exe: *** unable to remap C:\cygwin\usr\X11R6\bin\libfreety pe.dll to same address as parent(0x72) != 0x74 10117211 [main] cygperl 3640 sync_with_child: child 3140(0x114) died before init ialization with status code 0x1 10117522 [main] cygperl 3640 sync_with_child: *** child state child loading dlls C:\cygwin\bin\cygperl.exe: *** unable to remap C:\cygwin\usr\X11R6\bin\libfreety pe.dll to same address as parent(0x72) != 0x74 15181216 [main] cygperl 3640 sync_with_child: child 3644(0x120) died before init ialization with status code 0x1 15181527 [main] cygperl 3640 sync_with_child: *** child state child loading dlls C:\cygwin\bin\cygperl.exe: *** unable to remap C:\cygwin\usr\X11R6\bin\libfreety pe.dll to same address as parent(0x72) != 0x74 20240371 [main] cygperl 3640 sync_with_child: child 3600(0x12C) died before init ialization with status code 0x1 20240683 [main] cygperl 3640 sync_with_child: *** child state child loading dlls C:\cygwin\bin\cygperl.exe: *** unable to remap C:\cygwin\usr\X11R6\bin\libfreety pe.dll to same address as parent(0x72) != 0x74 25300694 [main] cygperl 3640 sync_with_child: child 3796(0x138) died before init ialization with status code 0x1 25301004 [main] cygperl 3640 sync_with_child: *** child state child loading dlls etc. which led to a google search, and the similar error for python: http://sources.redhat.com/ml/cygwin/2001-12/msg00339.html and the proposed solution: rebasing http://sources.redhat.com/ml/cygwin/2003-02/msg01484.html http://www.tishler.net/jason/software/rebase/ thankfully supplied by Jason Tishler, who recommends posting questions to the cygwin mailing list. ;-) but, if I rebase, can I go back? (unrebase?) Can rebasing break things that I straightened out before? Should I use rebaseall? Should I rebase everything in cygwin/usr/bin and cygwin/usr/X11R6/bin simultaneously? What offset should I use? How do I avoid rvxt? Does my cygwin icon on the desktop avoid it? The readme of rebase 2.2-1 says: WARNING Note it is *strongly* recommended that users only use rebaseall unless they *really* know what they are doing or are instructed by one of the Cygwin developers. /WARNING Use the following procedure to rebase your entire system: 1. shutdown all Cygwin processes 2. start bash (do not use rxvt) 3. execute rebaseall -v (in the bash window) The following is the rebaseall command line syntax: rebaseall [-b BaseAddress] [-o Offset] [-v] where: -b = base address used by rebase (default: 0x7000) -o = offset between each DLL rebased (default: 0x1) -v = verbose (default: off) If I do not use rebaseall, would I do something like: cd /usr ./bin/rebase -v bin/cygXpm-X4.dll bin/cygXpm-noX4.dll ... bin/tk84.dll \ X11R6/bin/cygPropList-0.dll X11R6/bin/libGL.dllX11 ... \ X11R6/bin/liboldX.dll X11R6/bin/libpsres.dll Thanks in advance. [EMAIL PROTECTED] The attachment shows the output of cygcheck -svr. __ Do you Yahoo!? Yahoo! Tax Center - forms, calculators, tips, more http://taxes.yahoo.com/ Cygwin Win95/NT Configuration Diagnostics Current System Time: Fri Feb 21 14:45:31 2003 Windows 2000 Professional Ver 5.0 Build 2195 Service Pack 3 Path: C:\cygwin\usr\local\bin C:\cygwin\bin C:\cygwin\bin c:\Program
Re: Am I a candidate for rebase?
On Fri, Feb 21, 2003 at 01:28:11PM -0800, M MWpycg wrote: Plus, I am waiting for rebase 2.2-2 to appear on tishler.net... Done, but please use Cygwin's setup.exe and download from a Cygwin mirror. If I rebase, can I go back? (unrebase?) No, but you can rebase again and again... Can rebasing break things that I straightened out before? No, rebase only changes the base address of DLLs. What do you mean by straightened out before? Should I use rebaseall? Yes. Should I rebase everything in cygwin/usr/bin and cygwin/usr/X11R6/bin simultaneously? rebaseall, as it's name implies, rebases all DLLs. See above. What offset should I use? Use the default one. How do I avoid rvxt? Don't start one. Does my cygwin icon on the desktop avoid it? The default one just starts bash. C:\cygwin\bin\cygperl.exe: *** unable to remap C:\cygwin\usr\X11R6\bin\libfreetype.dll to same address as parent(0x72) != 0x74 Yup, you need to rebase. Jason -- PGP/GPG Key: http://www.tishler.net/jason/pubkey.asc or key servers Fingerprint: 7A73 1405 7F2B E669 C19D 8784 1AFD E4CC ECF4 8EF6 -- 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/
installing lyx under cygwin, CYGPCRE.DLL
Hi, I am not terribly familiar with cygwin yet, but before the installation of lyx(using the cygwin setup.exe) has been finished, it said that the required CYGPCRE.DLL file can not be found. Where can I get it and do I need to install it? If I than start the unfinished lyx.exe in the directory cygwin\usr\local\bin it says that it misses the CYGINTL-2.DDL file although I have it in cygwin\bin. I would be extraordinary happy, if you can direct me and also if you could send me a reply to [EMAIL PROTECTED] Thank You __ Do you Yahoo!? Yahoo! Tax Center - forms, calculators, tips, more http://taxes.yahoo.com/ -- 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: Re: upgrading broke cygwin?
I upgraded to the 1.3.20-1 version dll today and saw very similar and strange behavior. Some things wouldn't execute due to permissions errors, and other would execute from commandline but not from a script. What causes this, I don't know. I ran setup.exe again, found the base cygwin install, cycled through the keep/uninstall/revert until 1.9-19 version came up, and installed the older version. Everything seems to be working fine now. I wish I could help with what's broke, but I don't have a clue. There's a recent remark in the list that's there's no way to uninstall - the procedure above seems to work just fine. Cheers, Val Val Schmidt Lamont Doherty Earth Observatory of Columbia University 61 Route 9W Palisades, NY 10964 m: 614 286 3726 -- 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/
vim 6.1.300-1 DOS line endings (newline expansion)
[EMAIL PROTECTED]: I just set up Cygwin on a Windows 2000 SP3 machine, and chose DOS for Default file type. I have noticed that vim 6.1.300-1 generates Unix line endings on new files. I would like DOS line endings. I searched the Cygwin mailing list and the Vim site, but didn't find any clues. I don't know if this a vim, readline (.inputrc), cygwin, or and/or Windows issue. Any suggestions? TIA, David -- 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/