Re: antiword-0.34
Hallo Igor, http://familiehaase.de/cywgin/antiword/antiword-0.34-1-src.tar.bz2 http://familiehaase.de/cywgin/antiword/antiword-0.34-1.tar.bz2 http://familiehaase.de/cywgin/antiword/setup.hint I've looked at the binary and source packages. In the binary package, is there a reason antiword.1 is duplicated in both usr/share/man/man1/ and usr/share/antiword-0.34/? Fixed. The script in the source package doesn't give you any options for partial make, and doesn't accept the parameters of the generic_build_script (e.g., all, conf, prep, make, etc). I don't know how important that is, but thought I'd mention it. Another, much more important thing is that the script builds files on top of the root filesystem (i.e., installs directly into /usr/bin, etc) -- IMO, the source package should NOT place anything in the root hierarchy, that's the job of setup.exe; the source build should be contained in the source directory. Because of the latter I didn't build from the source. Fixed. Oh, and the script is not space-in-filename friendly. Fixed. FWIW, I had to make a change to the wtf Makefile to allow the DESTDIR parameter in the install rule, so I know it's not that much work. Especially since you're providing a Makefile.Cygwin yourself in the patch. I'm attaching a preliminary patch to your script and patch -- I tried to catch all the places that modify the global hierarchy, but please verify that. HTH, Igor All fixed. Many thanks for your review and the patch. I'll remember to address these issues in future. Gerrit -- =^..^=
RE: [forwarded email: cygwin mirrors and installation]
On Tue, 2003-10-07 at 13:02, Gary R. Van Sickle wrote: You'll have to forgive my ignorance here, but is there some way to query ftp/http servers for how much load they're under? Not as a standard. Thinking out loud, what we roughly want is: -users can choose any mirror explicitly. -on the first run, setup lists the servers in their 1/3 of the world (say europe, asia, americas) and randomly chooses one from there, letting them alter the choice, or click something to see the entire list. -when we implement this, setup treats it as a watershed event on existing installs, and displays a little explanation and consider 'first run' to be occuring. Rob -- GPG key available at: http://members.aardvark.net.au/lifeless/keys.txt. signature.asc Description: This is a digitally signed message part
RE: [ITP] distcc
Frédéric L. W. Meunier wrote: On Mon, 6 Oct 2003, Daniel Reed wrote: On 2003-10-06T15:20+0100, Morrison, John wrote: snipwork appended stuff/snip Can you clarify this note, or was its inclusion a mistake? Any message sent to the cygwin-apps mailing list will be archived and made publicly available via both an email and web interface. Additionally, if you were intending to propose a package (or at least show a formal intent to package), some of the content of your message will be reproduced in a pending packages list, and possibly other publicly accessible forms. I don't think he has any control over it. It appears a lot of employers something along these lines to any delivered e-mail. Thanks Frédéric, you are correct, I don't have any choice. J. == Information in this email and any attachments are confidential, and may not be copied or used by anyone other than the addressee, nor disclosed to any third party without our permission. There is no intention to create any legally binding contract or other binding commitment through the use of this electronic communication unless it is issued in accordance with the Experian Limited standard terms and conditions of purchase or other express written agreement between Experian Limited and the recipient Experian Limited (registration number 653331) Registered office: Talbot House, Talbot Street, Nottingham NG1 5HF
Re: [forwarded email: cygwin mirrors and installation]
On Tue, Oct 07, 2003 at 05:35:24PM +1000, Robert Collins wrote: On Tue, 2003-10-07 at 13:02, Gary R. Van Sickle wrote: You'll have to forgive my ignorance here, but is there some way to query ftp/http servers for how much load they're under? Not as a standard. Thinking out loud, what we roughly want is: -users can choose any mirror explicitly. -on the first run, setup lists the servers in their 1/3 of the world (say europe, asia, americas) and randomly chooses one from there, ^^, africa, letting them alter the choice, or click something to see the entire list. -when we implement this, setup treats it as a watershed event on existing installs, and displays a little explanation and consider 'first run' to be occuring. Do we actually have information on where the different mirrors are? For all of them? Would it, as a temporary measure, be possible to randomize the mirror list for new installs so the first pick is not necesserilly the first alphabetical one? I think that would probably be a lot easier to implement than the final solution, and would help a little bit already.. Is there a way to know whether the user explicily chose their mirror (other than it not being the first in the list, and there only being one)? Just thinking.. rlc -- operators on strike due to broken coffee machine
Re: Setup disabling of nonexistent virus scanners
On Tue, 2003-10-07 at 11:32, Gary R. Van Sickle wrote: Hmmm, yeah, I'll look at this. I wonder why I don't get this and (I assume) others don't Incorrect const clause on wantsActivation in the base class lead to inconsistent method signatures. I fixed this this morning, but have been rushed - so no announcement. This affected the display of the 'root' dialog too. However, there is a new setup.exe as of ~10 hours ago. Cheers, Rob -- GPG key available at: http://members.aardvark.net.au/lifeless/keys.txt. signature.asc Description: This is a digitally signed message part
RE: Setup disabling of nonexistent virus scanners
On Tue, 2003-10-07 at 21:33, Gary R. Van Sickle wrote: I don't understand. In proppage.{h,cc} (the base class) and in any overrides (i.e. root and AntiVirus) both I and CVS have: virtual bool wantsActivation() const [etc...] CVS was missing the const. See the most recent commit to proppage.h. Rob -- GPG key available at: http://members.aardvark.net.au/lifeless/keys.txt. signature.asc Description: This is a digitally signed message part
Re: antiword-0.34
On Tue, 7 Oct 2003, Gerrit P. Haase wrote: Hallo Igor, http://familiehaase.de/cywgin/antiword/antiword-0.34-1-src.tar.bz2 http://familiehaase.de/cywgin/antiword/antiword-0.34-1.tar.bz2 http://familiehaase.de/cywgin/antiword/setup.hint I've looked at the binary and source packages. In the binary package, is there a reason antiword.1 is duplicated in both usr/share/man/man1/ and usr/share/antiword-0.34/? Fixed. The script in the source package doesn't give you any options for partial make, and doesn't accept the parameters of the generic_build_script (e.g., all, conf, prep, make, etc). I don't know how important that is, but thought I'd mention it. Another, much more important thing is that the script builds files on top of the root filesystem (i.e., installs directly into /usr/bin, etc) -- IMO, the source package should NOT place anything in the root hierarchy, that's the job of setup.exe; the source build should be contained in the source directory. Because of the latter I didn't build from the source. Fixed. Oh, and the script is not space-in-filename friendly. Fixed. FWIW, I had to make a change to the wtf Makefile to allow the DESTDIR parameter in the install rule, so I know it's not that much work. Especially since you're providing a Makefile.Cygwin yourself in the patch. I'm attaching a preliminary patch to your script and patch -- I tried to catch all the places that modify the global hierarchy, but please verify that. HTH, Igor All fixed. Many thanks for your review and the patch. I'll remember to address these issues in future. Gerrit Gerrit, Indeed, it all seems fixed. The binary version seems to work ok, as does the one I built from source. One small problem I noticed (and this may be an upstream one) is that I'm getting a Syntax error in: '0x98 #UNDEFINED' error when viewing a Word97 file with the cp1251.txt mapping. The document then displays ok. A grep UNDEFINED *.txt in usr/share/antiword shows cp1250.txt:0x81 #UNDEFINED cp1250.txt:0x83 #UNDEFINED cp1250.txt:0x88 #UNDEFINED cp1250.txt:0x90 #UNDEFINED cp1250.txt:0x98 #UNDEFINED cp1251.txt:0x98 #UNDEFINED cp1252.txt:0x81 #UNDEFINED cp1252.txt:0x8D #UNDEFINED cp1252.txt:0x8F #UNDEFINED cp1252.txt:0x90 #UNDEFINED cp1252.txt:0x9D #UNDEFINED I think these may need to be substituted by a meaningful character (e.g., space). Otherwise the package is good to go, IMO. Igor P.S. The script creates the distribution tarballs only, which is rather annoying. Is there a particular reason you didn't want to use the generic-build-script? -- http://cs.nyu.edu/~pechtcha/ |\ _,,,---,,_[EMAIL PROTECTED] ZZZzz /,`.-'`'-. ;-;;,_[EMAIL PROTECTED] |,4- ) )-,_. ,\ ( `'-' Igor Pechtchanski, Ph.D. '---''(_/--' `-'\_) fL a.k.a JaguaR-R-R-r-r-r-.-.-. Meow! I have since come to realize that being between your mentor and his route to the bathroom is a major career booster. -- Patrick Naughton
XFree86 Bugzilla - New Cygwin Xserver product added - Use for entering bugs
All, If you have any outstanding issues that you still want looked at, please go to http://bugs.xfree86.org/ and enter new bugs assigned to the Cygwin Xserver product. That will automatically send me an email and allow me to track which issues are open, invalid, and fixed. As it is right now we are not using any bug tracking system, so I expect that this will at least help me to stop forgetting open issues. Waiting for those first few bugs to be entered... Harold Note: You can enter enhancement bugs for new feature requests. This is perfectly allowable and encouraged.
Re: -clipboard crash with large amount of text
Kensuke, Thanks for the patch. I have released it as part of the XFree86-xserv-4.3.0-18 package. Harold Kensuke Matsuzaki wrote: Harold, I misunderstod Xutf8TextPropertyToTextList return value and meaning of iCount. This attached patch will prevent crash. To transfer large amount of text they use incrementally way called INCR, so we need to support it to copy/paste large amount of text. Kensuke Matsuzaki
Mississippi - Miiippi
Hello list, (B (BHere is what I did: (B (B- Opened several tcsh windows (as separate MS Window apps) (B- Started X by invoking "startxwin.sh" which gave me one big root window (B and one xterm window (B- In this xterm window, I did: (B xhost 10.0.1.2 (B ssh [EMAIL PROTECTED] (B(now I'm logged in) (B setenv DISPLAY 10.0.1.1:0 (B(10.0.1.1 is the Windows PC with cygwin running, 10.0.1.2 is a Linux box) (B twm (B(now the desktop is managed by twm) (B- Opened a few more xterm windows from twm and already opened xterm (B- Went back to one of the tcsh window and did: (B setenv DISPLAY localhost:0 (B xterm (B (BThis opened up one xterm window in the X desktop with "bash-2.05b" prompt. (BIn this xterm window, I couldn't type the letter 's'. Not only I couldn't (Btype, but I was unable to yank and copy a string with 's'. For example, (BI yanked a string "tcsh" in another xterm window and pasted it in this (Btroubled xterm window, it displayed "tch". For another example, I yanked (Bthe word "Mississippi" from /usr/share/dict/words and pasted it and got (B"Miiippi". I had no such problem in any other xterm windows but this. (B (BWhat was happening? (B (Buname -a (BCYGWIN_NT-5.1 myname 1.5.5(0.94/3/2) 2003-09-20 16:31 i686 unknown unknown (BCygwin
Re: Mississippi - Miiippi
Dai, Are you installing your own keymap? Are you using an XF86Config file? What keyboard layout is Windows configured for? Harold Dai Itasaka wrote: Hello list, Here is what I did: - Opened several tcsh windows (as separate MS Window apps) - Started X by invoking startxwin.sh which gave me one big root window and one xterm window - In this xterm window, I did: xhost 10.0.1.2 ssh [EMAIL PROTECTED] (now I'm logged in) setenv DISPLAY 10.0.1.1:0 (10.0.1.1 is the Windows PC with cygwin running, 10.0.1.2 is a Linux box) twm (now the desktop is managed by twm) - Opened a few more xterm windows from twm and already opened xterm - Went back to one of the tcsh window and did: setenv DISPLAY localhost:0 xterm This opened up one xterm window in the X desktop with bash-2.05b prompt. In this xterm window, I couldn't type the letter 's'. Not only I couldn't type, but I was unable to yank and copy a string with 's'. For example, I yanked a string tcsh in another xterm window and pasted it in this troubled xterm window, it displayed tch. For another example, I yanked the word Mississippi from /usr/share/dict/words and pasted it and got Miiippi. I had no such problem in any other xterm windows but this. What was happening? uname -a CYGWIN_NT-5.1 myname 1.5.5(0.94/3/2) 2003-09-20 16:31 i686 unknown unknown Cygwin
Re: Mississippi - Miiippi
I did: (B (B setxkbmap -rules xfree86 -model pc104 -layout us -option "" (B (BXWin was invoked without any option in startxwin.sh. (XWin ) (B (BThe keyboard is a normal US keyboard. (101? It's from Dell) (B (B (B) Are you installing your own keymap? (B) (B) Are you using an XF86Config file? (B) (B) What keyboard layout is Windows configured for? (B) (B) Harold (B) (B) Dai Itasaka wrote: (B) (B) Hello list, (B) (B) Here is what I did: (B) (B) - Opened several tcsh windows (as separate MS Window apps) (B) - Started X by invoking "startxwin.sh" which gave me one big root window (B)and one xterm window (B) - In this xterm window, I did: (B) xhost 10.0.1.2 (B) ssh [EMAIL PROTECTED] (B) (now I'm logged in) (B) setenv DISPLAY 10.0.1.1:0 (B) (10.0.1.1 is the Windows PC with cygwin running, 10.0.1.2 is a Linux (Bbox) (B) twm (B) (now the desktop is managed by twm) (B) - Opened a few more xterm windows from twm and already opened xterm (B) - Went back to one of the tcsh window and did: (B) setenv DISPLAY localhost:0 (B) xterm (B) (B) This opened up one xterm window in the X desktop with "bash-2.05b" prompt. (B) In this xterm window, I couldn't type the letter 's'. Not only I couldn't (B) type, but I was unable to yank and copy a string with 's'. For example, (B) I yanked a string "tcsh" in another xterm window and pasted it in this (B) troubled xterm window, it displayed "tch". For another example, I yanked (B) the word "Mississippi" from /usr/share/dict/words and pasted it and got (B) "Miiippi". I had no such problem in any other xterm windows but this. (B) (B) What was happening? (B) (B) (B) uname -a (B) (B) CYGWIN_NT-5.1 myname 1.5.5(0.94/3/2) 2003-09-20 16:31 i686 unknown unknown (B) Cygwin (B) (B)
Re: Mississippi - Miiippi
Dai, What language is Windows using by default? You have, or course, tried this same demo (very carefully, I might add) to make sure that the same problem happens when you don't use setxkbmap? Harold Dai Itasaka wrote: I did: setxkbmap -rules xfree86 -model pc104 -layout us -option XWin was invoked without any option in startxwin.sh. (XWin ) The keyboard is a normal US keyboard. (101? It's from Dell) ) Are you installing your own keymap? ) ) Are you using an XF86Config file? ) ) What keyboard layout is Windows configured for? ) ) Harold ) ) Dai Itasaka wrote: ) ) Hello list, ) ) Here is what I did: ) ) - Opened several tcsh windows (as separate MS Window apps) ) - Started X by invoking startxwin.sh which gave me one big root window )and one xterm window ) - In this xterm window, I did: ) xhost 10.0.1.2 ) ssh [EMAIL PROTECTED] ) (now I'm logged in) ) setenv DISPLAY 10.0.1.1:0 ) (10.0.1.1 is the Windows PC with cygwin running, 10.0.1.2 is a Linux box) ) twm ) (now the desktop is managed by twm) ) - Opened a few more xterm windows from twm and already opened xterm ) - Went back to one of the tcsh window and did: ) setenv DISPLAY localhost:0 ) xterm ) ) This opened up one xterm window in the X desktop with bash-2.05b prompt. ) In this xterm window, I couldn't type the letter 's'. Not only I couldn't ) type, but I was unable to yank and copy a string with 's'. For example, ) I yanked a string tcsh in another xterm window and pasted it in this ) troubled xterm window, it displayed tch. For another example, I yanked ) the word Mississippi from /usr/share/dict/words and pasted it and got ) Miiippi. I had no such problem in any other xterm windows but this. ) ) What was happening? ) ) ) uname -a ) ) CYGWIN_NT-5.1 myname 1.5.5(0.94/3/2) 2003-09-20 16:31 i686 unknown unknown ) Cygwin ) )
Re: Mississippi - Miiippi
I'm using Windows XP Professional. The "Regional and Language Options" (Bin the ControlPanel says: (B (B Regional Options tab: (BStandards and formats: English(United States) (BLocation: United States (B Language tab: (BText Services and Input Languages: Japanese - MS Natural Input 2002 v8.1 (B Advanced tab: (BLanguage for non-Unicode programs: Japanese (B (BI cannot live without doing that setxkbmap because otherwise I will be (Bin a bigger sh^H^H hole where the at mark becomes the double quotation, (Bthe double quotation becomes the star, the star becomes the left parenthesis, (Bthe left parenthesis becomes rightcrazy. (B (B (B) What language is Windows using by default? (B) (B) You have, or course, tried this same demo (very carefully, I might add) (B) to make sure that the same problem happens when you don't use setxkbmap? (B) (B) Harold (B) (B) Dai Itasaka wrote: (B) (B) I did: (B) (B) setxkbmap -rules xfree86 -model pc104 -layout us -option "" (B) (B) XWin was invoked without any option in startxwin.sh. (XWin ) (B) (B) The keyboard is a normal US keyboard. (101? It's from Dell) (B) (B) (B) ) Are you installing your own keymap? (B) ) (B) ) Are you using an XF86Config file? (B) ) (B) ) What keyboard layout is Windows configured for? (B) ) (B) ) Harold (B) ) (B) ) Dai Itasaka wrote: (B) ) (B) ) Hello list, (B) ) (B) ) Here is what I did: (B) ) (B) ) - Opened several tcsh windows (as separate MS Window apps) (B) ) - Started X by invoking "startxwin.sh" which gave me one big root window (B) )and one xterm window (B) ) - In this xterm window, I did: (B) ) xhost 10.0.1.2 (B) ) ssh [EMAIL PROTECTED] (B) ) (now I'm logged in) (B) ) setenv DISPLAY 10.0.1.1:0 (B) ) (10.0.1.1 is the Windows PC with cygwin running, 10.0.1.2 is a Linux (B) box) (B) ) twm (B) ) (now the desktop is managed by twm) (B) ) - Opened a few more xterm windows from twm and already opened xterm (B) ) - Went back to one of the tcsh window and did: (B) ) setenv DISPLAY localhost:0 (B) ) xterm (B) ) (B) ) This opened up one xterm window in the X desktop with "bash-2.05b" (Bprompt. (B) ) In this xterm window, I couldn't type the letter 's'. Not only I (Bcouldn't (B) ) type, but I was unable to yank and copy a string with 's'. For example, (B) ) I yanked a string "tcsh" in another xterm window and pasted it in this (B) ) troubled xterm window, it displayed "tch". For another example, I yanked (B) ) the word "Mississippi" from /usr/share/dict/words and pasted it and got (B) ) "Miiippi". I had no such problem in any other xterm windows but this. (B) ) (B) ) What was happening? (B) ) (B) ) (B) ) uname -a (B) ) (B) ) CYGWIN_NT-5.1 myname 1.5.5(0.94/3/2) 2003-09-20 16:31 i686 unknown (Bunknown (B) ) Cygwin (B) ) (B) ) (B) )
Re: Mississippi - Miiippi
I have no intention to secure the X connection. (BI use ssh simply because the remote guy doesn't have a telnet server (Brunning. Do I still need to use the -X option? (B (B (B) By the way, you're using ssh all wrong. What you should really be doing is: (B) (B) 1) Invoke startxwin.sh (B) 2) In the local xterm, verify that the value of DISPLAY is 127.0.0.1:0 (B) (and set it to that if it is not) (B) 3) ssh to the remote box using the "-X" flag to enable X-forwarding. (B) 4) Once connected to the remote host, verify that the value of DISPLAY (B) is something like remotehost:8. (B) 5) Run your remote X-clients normally.
Re: Mississippi - Miiippi
Additional information. (B (BThis weird behavior can only be observed in an xterm with bash. (BIf I invoke it by "xterm -e tcsh" then no problem. If I do (B"xterm -e bash" (or without -e bash) then no 's' allowed at (Bthe prompt. I can't type nor paste. (B (BThe stdout still works so that I do see all the 's'es in (Ba command output. But not at the shell prompt. The bash shell (Bprompt.
Re: Weird keyboard behavior with Caps Lock key
Open Regional and Language Option in Control Panel. Add English as input language. After XFree86/Cygwin start, change language to English using Shift+Alt key. Doesn't this help you? It surely works on my machine, both by Control Panel and by the function LoadKeyboardLayout. Thank you for the excellent solution. Takuma Murakami ([EMAIL PROTECTED])
Re: Japanese keyboard auto-detection
Alexander, Thank you for supporting Japanese keyboards. It is really useful for us. I have one request on this feature. Could you change the line { 0x411, -1, jp,jp, NULL, NULL, Japanese}, to { 0x411, 7, jp,jp, NULL, NULL, Japanese}, in winconfig.c? It prevents JP layouts loaded for JP Windows with US keyboards. Thanks in advance. Takuma Murakami ([EMAIL PROTECTED])
src/winsup/w32api ChangeLog include/winbase.h ...
CVSROOT:/cvs/src Module name:src Changes by: [EMAIL PROTECTED] 2003-10-07 08:47:06 Modified files: winsup/w32api : ChangeLog winsup/w32api/include: winbase.h winnt.h winsup/w32api/lib: kernel32.def Log message: * include/winbase.h [_WIN32_WINNT = 0x0500] (GetComputerNameEx[AW], GetProcessIoCounters): Add functions. * include/winbase.h [_WIN32_WINNT = 0x0500] (COMPUTER_NAME_FORMAT): Move around, needed by GetComputerNameEx. * include/winbase.h [_WIN32_WINNT = 0x0501] (FindActCtxSectionGuid, FindActCtxSectionString[AW], GetCurrentActCtx, GetNativeSystemInfo): Add functions. * include/winbase.h [_WIN32_WINNT = 0x0501] (ACTCTX_SECTION_KEYED_DATA): Add structure. * include/winbase.h [_WIN32_WINNT = 0x0502] (GetDllDirectory[AW], GetFirmwareEnvironmentVariable[AW], GetProcessHandleCount, GetProcessId, GetSystemRegistryQuota): Add functions, available on Windows XP SP1 and better. * include/winnt.h [_WIN32_WINNT = 0x0501] (ACTIVATION_CONTEXT_SECTION_ASSEMBLY_INFORMATION, ACTIVATION_CONTEXT_SECTION_DLL_REDIRECTION, ACTIVATION_CONTEXT_SECTION_WINDOW_CLASS_REDIRECTION, ACTIVATION_CONTEXT_SECTION_COM_SERVER_REDIRECTION, ACTIVATION_CONTEXT_SECTION_COM_INTERFACE_REDIRECTION, ACTIVATION_CONTEXT_SECTION_COM_TYPE_LIBRARY_REDIRECTION, ACTIVATION_CONTEXT_SECTION_COM_PROGID_REDIRECTION, ACTIVATION_CONTEXT_SECTION_CLR_SURROGATES): Add constants. * lib/user32.def (FindActCtxSectionGuid, FindActCtxSectionString[AW], GetComputerNameEx[AW], GetCurrentActCtx, GetDllDirectory[AW], GetFirmwareEnvironmentVariable[AW], GetModuleHandleEx[AW], GetNativeSystemInfo, GetProcessHandleCount, GetProcessIoCounters): Add functions. Patches: http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/winsup/w32api/ChangeLog.diff?cvsroot=srcr1=1.488r2=1.489 http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/winsup/w32api/include/winbase.h.diff?cvsroot=srcr1=1.54r2=1.55 http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/winsup/w32api/include/winnt.h.diff?cvsroot=srcr1=1.75r2=1.76 http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/winsup/w32api/lib/kernel32.def.diff?cvsroot=srcr1=1.15r2=1.16
Re: [Patch]: shared.cc debug info.
Christopher Faylor wrote: On Mon, Oct 06, 2003 at 09:26:12PM -0400, Pierre A. Humblet wrote: Here is a pretty simple patch.. Ok to include. BTW, are there more questions about [Patch]: Fixing the PROCESS_DUP_HANDLE security hole (part 1). from last week? Yes, actually. I am still puzzling over all of the extra logic that you pass in cygheap. I don't understand the need for special handling of children of the process that owns the controlling tty. A typical sequence is as follows (e.g. telnet) 1) inetd runs as SYSTEM, launches in.telnetd 2) in.telnetd creates master pty and forks 3) in.telnetd (child) setsid(), opens slave terminal and execs login.exe 4) login.exe calls setuid and execs bash.exe 5) bash.exe opens /dev/tty Unfortunately this requires duplicating pipes from in.telnetd and thus having PROCESS_DUP_HANDLE access to in.telnetd. As in.telnetd runs as SYSTEM, this is a security risk. What the patch does is that when the slave side is first opened in 3), the pipes are duplicated in the cygheap and passed by inheritance (until the ctty changes). There is no access/security issue because 3) is running as SYSTEM. From now on, each time the ctty is opened (in particular in 5) the patch first checks if local inherited copies of the pipes are available. If so, they are used as the source of the duplication. This obviates the need for bash to have any access to in.telnetd and thus in.telnetd doesn't need to open itself wide to everybody (in 2). Pierre
Moving devices from 98SE to XP and back again
This is a file-handling problem that I have noticed in other contexts too. Windows 98/SE is good (faultless?) at preserving upper case and lower case in filenames, whether long or short or with spaces. However, I have noticed when moving devices back and forth between 98 and XP machines, that XP is nothing like as careful, and that in circumstances that I have not yet precisely identified, one can suddenly lose this distinction when all 8.3 filenames that had been all lower case become all upper case. Mixtures of case in filenames are preserved (libW11.dll stays libW11.dll, XWin.exe stays XWin.exe) and so are long file names (cygcrypto.dll stays cygcrypto.dll) but in all other cases (less.exe, cygwin1.dll) the change takes place (LESS.EXE, CYGWIN1.DLL). In an important respect this does not matter at all: Windows is daft enough not to know there is a difference and so it does not notice it when seeking and reading a file. Eg when starting Cygwin it does not matter that cygwin1.dll has become CYGWIN1.DLL. But: Cygwin does notice, and once there, ls cyg* presents a quite different response to ls CYG* (for instance). So this is a very nasty occurrence, once it has happened. I appreciate that the list is well populated with traffic on the subject of long and short filenames but I have not found the answers to the following: (1) when moving devices between different OS as described, is there a particular class of activity that will cause this transformation? (Maybe something to do with pursuing activities in a XP Command Prompt window, but I can't confirm this.) (2) assuming the activity is a useful one to be continued, is there some protection that can be implemented against the transformation taking place? Thank you. Fergus -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/
Re: configuring cygwin-setup: ../cfgaux/configure: No such file or directory
Perry Pupp wrote: --- Igor Pechtchanski wrote: ... -rw-rw-rw-1 usernamemkgroup 925 Mar 8 2003 bootstrap.sh ^^ This is your problem right here -- bootstrap.sh is invoked directly, not via sh. Since it doesn't have executable permission, it is reported as not found... This is weird -- it should have executable permissions after checkout from CVS. Are you running on a FAT or FAT32 partition? Igor -- NTFS I had a brief glance at http://cvsbook.red-bean.com/cvsbook.html#CVS_keeps_changing_file_permissions__why_does_it_do_that_ which suggests that it is possible to check the executable status of the file in the cvs repository (given file level access to the repository), although you probably know that. Ah. Looks like we have found the problem. bootstrap.sh isn't executable in the repository. Also, a number of header files *are* executable. Robert, I'll do some chmodding, shall I? Max. -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/
xemacs, psgml, docbook xml v4.2
Hi, I'm trying to parse (C-c C-p) the DTD, but it doesn't work. My document starts with: ?xml version='1.0'? !DOCTYPE article PUBLIC -//OASIS//DTD DocBook XML V4.2//EN http://www.oasis-open.org/docbook/xml/4.2/docbookx.dtd;[ -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/
xemacs, psgml, docbook xml v4.2
Uups, here is the rest... On my Debian Woody box everthing works fine, but on Cygwin 1.5.5. nothing happens. Anybody a hint, what I'm doing wrong? Regards Oliver -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/
Re: configuring cygwin-setup: ../cfgaux/configure: No such file or directory
On Tue, 2003-10-07 at 18:07, Max Bowsher wrote: Ah. Looks like we have found the problem. bootstrap.sh isn't executable in the repository. Also, a number of header files *are* executable. Robert, I'll do some chmodding, shall I? Please. Rob -- GPG key available at: http://members.aardvark.net.au/lifeless/keys.txt. signature.asc Description: This is a digitally signed message part
Re: 1.5.4-1: Problem with XEmacs, fonts, and subprocesses.
Igor Pechtchanski [EMAIL PROTECTED] writes: On Mon, 6 Oct 2003, Henry S. Thompson wrote: Igor Pechtchanski [EMAIL PROTECTED] writes: snip/ If you're _really_ obsessive (like me :-( about launching from an icon, compile the following and point the icon at it. Hope this helps, ht [code snipped] if (CreateProcess (NULL, c:\\cygwin\\bin\\bash -c \/usr/local/bin/i686-pc-cygwin/xemacs -f gnuserv-start\, sec_attrs, NULL, TRUE, 0, NULL, NULL, start, child)) Ouch! Why not simply point the shortcut at 'c:\cygwin\bin\bash --login -c /usr/local/bin/i686-pc-cygwin/xemacs -f gnuserv-start'? Igor Because that produces an unsightly command window as well as the desired xemacs window. That's what all the WinMain etc. stuff is there to defeat. ht Umm, yeah, ok, make that 'c:\cygwin\usr\X11R6\bin\run.exe /bin/bash --login -c /usr/local/bin/i686-pc-cygwin/xemacs -f gnuserv-start', then. :-D Igor Ah, but I don't run X, just vanilla cygwin. See you and raise you again :-) ht -- Henry S. Thompson, HCRC Language Technology Group, University of Edinburgh Half-time member of W3C Team 2 Buccleuch Place, Edinburgh EH8 9LW, SCOTLAND -- (44) 131 650-4440 Fax: (44) 131 650-4587, e-mail: [EMAIL PROTECTED] URL: http://www.ltg.ed.ac.uk/~ht/ [mail really from me _always_ has this .sig -- mail without it is forged spam] -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/
Re: Setup disabling of nonexistent virus scanners
On Tue, 2003-10-07 at 11:32, Gary R. Van Sickle wrote: Hmmm, yeah, I'll look at this. I wonder why I don't get this and (I assume) others don't Incorrect const clause on wantsActivation in the base class lead to inconsistent method signatures. I fixed this this morning, but have been rushed - so no announcement. This affected the display of the 'root' dialog too. However, there is a new setup.exe as of ~10 hours ago. Cheers, Rob -- GPG key available at: http://members.aardvark.net.au/lifeless/keys.txt. signature.asc Description: This is a digitally signed message part
Re: configuring cygwin-setup: ../cfgaux/configure: No such file or directory
Robert Collins wrote: On Tue, 2003-10-07 at 18:07, Max Bowsher wrote: Ah. Looks like we have found the problem. bootstrap.sh isn't executable in the repository. Also, a number of header files *are* executable. Robert, I'll do some chmodding, shall I? Please. I've chmod +xed the bootstrap.sh for setup and libgetopt++ - but I was only able to do this because I happened to have been the last person to check in to these files. I was unable to chmod -x various .h and .cc files which are currently marked as executable, because they are owned by you, Robert. Max. -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/
Re: configuring cygwin-setup: ../cfgaux/configure: No such file or directory
On Tue, 7 Oct 2003, Max Bowsher wrote: Robert Collins wrote: On Tue, 2003-10-07 at 18:07, Max Bowsher wrote: Ah. Looks like we have found the problem. bootstrap.sh isn't executable in the repository. Also, a number of header files *are* executable. Robert, I'll do some chmodding, shall I? Please. I've chmod +xed the bootstrap.sh for setup and libgetopt++ - but I was only able to do this because I happened to have been the last person to check in to these files. I was unable to chmod -x various .h and .cc files which are currently marked as executable, because they are owned by you, Robert. Max. Max, FWIW, you can essentially chown them by forcing a commit. Igor -- http://cs.nyu.edu/~pechtcha/ |\ _,,,---,,_[EMAIL PROTECTED] ZZZzz /,`.-'`'-. ;-;;,_[EMAIL PROTECTED] |,4- ) )-,_. ,\ ( `'-' Igor Pechtchanski, Ph.D. '---''(_/--' `-'\_) fL a.k.a JaguaR-R-R-r-r-r-.-.-. Meow! I have since come to realize that being between your mentor and his route to the bathroom is a major career booster. -- Patrick Naughton -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/
Re: configuring cygwin-setup: ../cfgaux/configure: No such file or directory
Igor Pechtchanski wrote: On Tue, 7 Oct 2003, Max Bowsher wrote: Robert Collins wrote: On Tue, 2003-10-07 at 18:07, Max Bowsher wrote: Ah. Looks like we have found the problem. bootstrap.sh isn't executable in the repository. Also, a number of header files *are* executable. Robert, I'll do some chmodding, shall I? Please. I've chmod +xed the bootstrap.sh for setup and libgetopt++ - but I was only able to do this because I happened to have been the last person to check in to these files. I was unable to chmod -x various .h and .cc files which are currently marked as executable, because they are owned by you, Robert. Max. Max, FWIW, you can essentially chown them by forcing a commit. True, but I don't want to make the history untidy. Max. -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/
[ANNOUNCEMENT] Updated: libmcrypt-2.5.7-2
I have updated the cygwin port of the libmcrypt encryption library. Libmcrypt is a library that provides access to several symmetric block and stream encryption algorithms. The following algorithms are implemented: 3-Way, Arcfour, Blowfish, Cast-128 (known as Cast5), Cast-256, DES, Enigma, Gost, Loki97, Panama, RC2, Rijndael-128 (AES), Rijndael-192, Rijndael-256, Safer-sk64, Safer-sk128, Safer+, Serpent, TripleDES, Twofish, Wake, XTea. The block algorithms can be used in the modes CBC, CFB, CTR, ECB, OFB, NOFB and NCFB. Separate runtime and development packages are available. This release corrects a packaging issue in the 2.5.7-1 release. To update your installation, click on the Install Cygwin now link on the http://cygwin.com/ web page. This downloads setup.exe to your system. Once you've downloaded setup.exe, run it and select Libs and then click on the appropriate field until the above announced version number appears if it is not displayed already. If you have questions or comments, please send them to the Cygwin mailing list at: [EMAIL PROTECTED] . I would appreciate it if you would use this mailing list rather than emailing me directly. This includes ideas and comments about the setup utility or Cygwin in general. If you want to make a point or ask a question, the Cygwin mailing list is the appropriate place. CYGWIN-ANNOUNCE UNSUBSCRIBE INFO: = To unsubscribe from the cygwin-announce mailing list, look at the List-Unsubscribe: tag in the email header of this message. Send email to the address specified there. It will be in the format: [EMAIL PROTECTED] Stefan Hetzl -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/
[ANNOUNCEMENT] New package: mhash-0.8.18-1
I have packaged the mhash library. This is a library that provides a uniform interface to several hash algorithms. It supports the basics for message authentication by following rfc2104 (HMAC). It also includes some key generation algorithms which are based on hash algorithms. Separate runtime and development packages are available. To update your installation, click on the Install Cygwin now link on the http://cygwin.com/ web page. This downloads setup.exe to your system. Once you've downloaded setup.exe, run it and select Libs and then click on the appropriate field until the above announced version number appears if it is not displayed already. If you have questions or comments, please send them to the Cygwin mailing list at: [EMAIL PROTECTED] . I would appreciate it if you would use this mailing list rather than emailing me directly. This includes ideas and comments about the setup utility or Cygwin in general. If you want to make a point or ask a question, the Cygwin mailing list is the appropriate place. CYGWIN-ANNOUNCE UNSUBSCRIBE INFO: = To unsubscribe from the cygwin-announce mailing list, look at the List-Unsubscribe: tag in the email header of this message. Send email to the address specified there. It will be in the format: [EMAIL PROTECTED] Stefan Hetzl -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/
Re: cygwin-1.5.4-1 breaks fetchmail on Win9x
Chris, On Mon, Oct 06, 2003 at 10:58:37PM -0400, Christopher Faylor wrote: On Mon, Oct 06, 2003 at 10:13:00PM -0400, Jason Tishler wrote: BTW, there seemed to be some gyration regarding this section of unlink() during that time period: ...which might be illuminated by reading the archives, I suspect... I tried searching the archives via Google and Cygwin's mailing list search engine, but came up empty. Would you be willing to enlighten me? Thanks, 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 Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/
Re: Problems with Cygwin and Procmail..
Billy, Please keep your replies on-list. On Mon, Oct 06, 2003 at 05:53:17PM -0400, Billy Huddleston wrote: How are you driving procmail? Via fetchmail? Or, by some other means? What version of Windows? What version of procmail (and fetchmail)? Calling procmail via perl scripts which are spawned by my win32 mailserver. The above is possibly the problem. Can you use a Cygwin mail server instead? We're running procmail v3.22 The official package? Or, one you built yourself? Are the above error messages displayed in a pop-up dialogs? Or, are they output to the procmail log file? Do you fork a lot in your procmail recipes? Or, do you perform most of your filtering inside procmail itself? Yes, they're displayed in pop-up dialogs.. and once we get too many of them, the filter completely stops responding, almost as if, procmail refuses to execute. We use test, formail, fgrep and various other things in the scripts.. FWIW, I run procmail-3.22-7 under cygwin-1.3.22-1 at home and procmail-3.22-8 under cygwin-1.5.5-1 at work without any problems whatsoever. To give you some idea of the volume and complexity of my home setup: 15K - 20K messages processed per month 550 line .procmailrc file Our scripts are rather complex and I'm make sure not to send large files through it.. and refused to open directories and write files, it even created a directory (I turned logging on and it's suppose to create a directory when it doesn't exist) with NO permissions, I can't even access it via administrator!! The above is probably ntsec related. Note that cygwin-1.3.2 is very old! More recent cygwin versions default to ntsec on now. Has anyone seen this or know how I can fix this.. Well, you have any ideas on how to take care of the ntsec problems?? Looks like it's not using the correct security somehow... Under NTFS, it is as easy as: $ chmod g-w,o-w ~/.procmailrc $ # etc. Maybe you need to revamp your spam recipes. I'm able to catch 95+ percent of all spam and viruses sent to me with the following recipes and bogofilter: # # File virus messages. # MYVIRUS=$MAILDIR/virus-$MONTH NASTYEXT=(bat|com|exe|hta|pif|scr|shs|vb[se]|ws[fh]|(doc|txt|xls)\.) INCLUDERC=$HOME/.procmailrc-virussnag # # Test messages for spam. # :0 fw | bogofilter -u -e -p # # File spam messages. # :0 W: * ^X-Bogosity: Yes, tests=bogofilter $MAILDIR/spam-$MONTH The .procmailrc-virussnag file is just Dallman Ross's Virus Snaggers: http://www.spamless.us/pub/procmail/virussnag.rc We spent alot of time working on these procmail scripts and they work great on a Linux based system.. I'm just totally baffled by the behavior of this thing... I still think it has something to do with hung processes and too many processes running.. I ran a watch to count the procmail's and when it gets around 25 or so, it'll start happining with more frequency. Sorry, I don't know how to help you more. 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 Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/
Re: cygwin-1.5.4-1 breaks fetchmail on Win9x
On Tue, Oct 07, 2003 at 09:19:05AM -0400, Jason Tishler wrote: Chris, On Mon, Oct 06, 2003 at 10:58:37PM -0400, Christopher Faylor wrote: On Mon, Oct 06, 2003 at 10:13:00PM -0400, Jason Tishler wrote: BTW, there seemed to be some gyration regarding this section of unlink() during that time period: ...which might be illuminated by reading the archives, I suspect... I tried searching the archives via Google and Cygwin's mailing list search engine, but came up empty. Would you be willing to enlighten me? Actually, I am trying not to have to do the search myself. I recall that there was a discussion about this with Pierre which caused the change to take place. It might have been in the cygwin-developers list. -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/
dpkg --info crashes / dpkg-deb --info hangs
I ran into a problem using dpkg, like this: $ dpkg --info dpkg_1.9.21_i386.deb Segmentation fault (core dumped) I can send the .stackdump file if it's interesting, but I'm running into the 100K limit. Since dpkg --info is pretty close to dpkg-deb --info, I tried that next. $ dpkg-deb --info dpkg_1.9.21_i386.deb new debian package, version 2.0. size 1073426 bytes: control archive= zi bytes. 72 bytes, 3 lines conffiles 857 bytes,23 lines control 5675 bytes, 240 lines * postinst #!/bin/sh 86 bytes,10 lines * postrm #!/bin/sh 2423 bytes,86 lines * preinst #!/bin/sh 442 bytes,20 lines * prerm#!/bin/sh Package: dpkg Version: 1.9.21 Section: base Priority: required Architecture: i386 Essential: yes Pre-Depends: libc6 (= 2.2.4-4), libncurses5 (= 5.2.20020112a-1), libstdc++2.10-glibc2.2 (= 1:2.95.4-0.010810) Conflicts: sysvinit ( 2.80) Replaces: dpkg-doc-ja Installed-Size: 2840 Origin: debian Maintainer: Dpkg Development [EMAIL PROTECTED] Bugs: debbugs://bugs.debian.org Description: Package maintenance system for Debian This package contains the programs which handle the installation and removal of packages on your system. . The primary interface for the dpkg suite is the `dselect' program; a more low-level and less user-friendly interface is available in the form of the `dpkg' command. . In order to unpack and build Debian source packages you will need to install the developers' package `dpkg-dev' as well as this one. This seems OK, except for a few things: - I don't get a prompt back. - There's an rm process running that is eating up all my CPU. - The size of the control archive isn't really zi bytes. If I kill the rm process via the task manager, the message: rm cleanup failed, code 256 appears, and I get my prompt back. At that point, echo $? displays 0. I got the package from http://packages.debian.org/stable/base/dpkg.html by clicking on the Go To Download Page button at the bottom. I get the same results for other packages I built with my own two hands. I went ahead and got the source (dpkg-1.10.4-1), and built it using the dpkg-1.10.4-1.sh script (mkdirs prep conf build install). The output of the dpkg-deb I built by hand is the same as the one in the package. The stack trace is for the dpkg binary I installed with setup. Interestingly, $ dpkg-deb --contents dpkg_1.9.21_i386.deb works fine. $ dpkg --contents dpkg_1.9.21_i386.deb crashes the same way dpkg --info does. Again, both the setup-installed binaries, and the ones I built from source behave the same way. $ strace dpkg-deb --info dpkg_1.9.21_i386.deb dpkg-deb.info.strace also hangs. I'll send the strace file in another post so the mailing list software will take it. There appears to be some kind of infinite loop in rm. dpkg-deb is creating a directory in /tmp (e. g. /tmp/dpkg610ca768.0) which remains after I terminate rm. The directory is empty as far as I can tell. Perhaps this is interesting info: [EMAIL PROTECTED] /usr/src/dpkg-1.10.4/dpkg-deb $ ls -l /tmp/dpkg610ca768.0/ total 0 [EMAIL PROTECTED] /usr/src/dpkg-1.10.4/dpkg-deb $ getfacl /tmp/dpkg610ca768.0/ # file: /tmp/dpkg610ca768.0/ # owner: DByron # group: SYSTEM user::rwx group::r-x mask:rwx other:r-x default:user::rwx default:group::r-x default:other:r-x Thanks much for any help you can provide. -DB Cygwin Win95/NT Configuration Diagnostics Current System Time: Mon Oct 06 10:38:15 2003 Windows XP Professional Ver 5.1 Build 2600 Service Pack 1 Path: C:\utils\cygwin\usr\local\bin C:\utils\cygwin\bin C:\utils\cygwin\bin c:\utils\ActivePerl\bin\ c:\WINDOWS\system32 c:\WINDOWS c:\WINDOWS\System32\Wbem c:\Program Files\Microsoft SQL Server\80\Tools\BINN c:\Program Files\Microsoft Visual Studio .NET\Vc7\bin c:\apps\apache-ant-1.5.3-1\bin c:\Program Files\Microsoft Visual Studio .NET\Common7\IDE C:\utils\cygwin\bin C:\utils\cygwin\bin c:\apps\jdk1.3.1_08\bin c:\apps\emacs-21.2\bin C:\utils\cygwin\bin c:\utils\bin c:\utils\sysinternals C:\utils\cygwin\sbin Output from C:\utils\cygwin\bin\id.exe (nontsec) UID: 11978(DByron) GID: 18(SYSTEM) 18(SYSTEM) Output from C:\utils\cygwin\bin\id.exe (ntsec) UID: 11978(DByron) GID: 18(SYSTEM) 544(Administrators) 545(Users) 10513(mkgroup_l_d) SysDir: C:\WINDOWS\System32 WinDir: C:\WINDOWS HOME = `c:\home\dbyron' MAKE_MODE = `unix' PWD = `/cygdrive/c/home/dbyron' USER = `DByron' ALLUSERSPROFILE = `C:\Documents and Settings\All Users' ANT_HOME = `C:\apps\apache-ant-1.5.3-1' APPDATA = `C:\Documents and Settings\DByron\Application Data' CLASSPATH = `c:\apps\junit3.8.1\junit.jar;c:\apps\jdk1.3.1_08\lib\tools.jar\;C:\apps\apache-ant-1.5.3-1\lib\ant.jar' CLIENTNAME = `Console' COMMONPROGRAMFILES = `C:\Program
Re: cygwin-1.5.4-1 breaks fetchmail on Win9x (Pierre can you comment?)
On Tue, Oct 07, 2003 at 09:49:14AM -0400, Christopher Faylor wrote: On Tue, Oct 07, 2003 at 09:19:05AM -0400, Jason Tishler wrote: On Mon, Oct 06, 2003 at 10:58:37PM -0400, Christopher Faylor wrote: On Mon, Oct 06, 2003 at 10:13:00PM -0400, Jason Tishler wrote: BTW, there seemed to be some gyration regarding this section of unlink() during that time period: ...which might be illuminated by reading the archives, I suspect... I tried searching the archives via Google and Cygwin's mailing list search engine, but came up empty. Would you be willing to enlighten me? Actually, I am trying not to have to do the search myself. I recall that there was a discussion about this with Pierre which caused the change to take place. It might have been in the cygwin-developers list. Here is the thread from my personal archives. cgf From [EMAIL PROTECTED] Mon Mar 10 10:34:22 2003 Date: Mon, 10 Mar 2003 10:36:26 -0500 From: Pierre A. Humblet MIME-Version: 1.0 To: cygwin-developers Subject: unlink Status: RO Content-Length: 2611 Lines: 59 Chris, It's a great idea to use FILE_FLAG_DELETE_ON_CLOSE for unlink, but a few bells rang when I read the code. 1) ntsec / mkdir testdir / chown 1002:1005 testdir / chmod +rwxt testdir / touch testdir/testfile / chmod 577 testdir/testfile / rm -f testdir/testfile rm: cannot unlink `testdir/testfile': Permission denied The problem is the DELETE flag in alloc_sd (and sec_acl). Corinna has put effort into that and when I first saw that code I thought it was an excellent idea. With the benefit of hindsight I now think it's counterproductive. POSIX semantics do not support a delete permission in the Windows sense. Not allowing DELETE in one spot forces us to *automatically* add it in unlink, so it doesn't help at all from a Cygwin user point of view. On the other hand, if a Windows user goes out of Cygwin to remove DELETE permission on a file, then one could argue that unlink should fail. Some other action should be required from the user, unlink shouldn't go out of its way to delete the file. This is symmetric to refusing to delete a file in a non-writable directory even though Windows allows it (err on the side of caution). So I would propose to remove the DELETE code from alloc_sd and sec_acl and to leave unlink as it is, in that respect. 2) Why is wincap.has_delete_on_close needed? All Windows versions have delete_on_close capability. This is a snippet on WinME with a file on a shared directory mounted on Win98. 152 325366 [main] rm 36050599 unlink: _unlink (e:\xx) 6422 331788 [main] rm 36050599 unlink: 1 = CloseHandle (0xCC) 1237 333025 [main] rm 36050599 unlink: CreateFile (FILE_FLAG_DELETE_ON_CLOSE) succeeded 158 333183 [main] rm 36050599 unlink: 0 = unlink (/e/xx) However Win95 does not have FILE_SHARE_DELETE, so if the file is already opened the CreateFile fails (and wincap.has_delete_on_close won't be looked up). Is there reason to believe that a file won't be deleted if the CreateFile succeeds? It would violate MS semantics. I couldn't create such a case, but I don't have access to many types of shared drive. Perhaps the test after the CloseHandle could be if (win32_name.isremote () GetFileAttributes (win32_name) != INVALID_FILE_ATTRIBUTES) then handle CreateFile (FILE_FLAG_DELETE_ON_CLOSE) failed 3) I don't understand why there are so many SetFileAttributes after CreateFile succeeds. If the file will be deleted, its attributes are don't care. If it won't, then we undo twice what we just did before the CreateFile. Also it's an easy test to decide if the SetFileAttribute before CreateFile is needed. Pierre From [EMAIL PROTECTED] Mon Mar 10 10:59:24 2003 Date: Mon, 10 Mar 2003 16:58:55 +0100 From: Corinna Vinschen To: cygwin-developers Subject: Re: unlink Message-ID: [EMAIL PROTECTED] Reply-To: cygwin-developers Mail-Followup-To: cygwin-developers cygwin-developers References: [EMAIL PROTECTED] In-Reply-To: [EMAIL PROTECTED] User-Agent: Mutt/1.4i Status: RO Content-Length: 3034 Lines: 79 On Mon, Mar 10, 2003 at 10:36:26AM -0500, Pierre A. Humblet wrote: So I would propose to remove the DELETE code from alloc_sd and sec_acl and to leave unlink as it is, in that respect. Like this? Index: sec_acl.cc === RCS file: /cvs/src/src/winsup/cygwin/sec_acl.cc,v retrieving revision 1.29 diff -p -u -r1.29 sec_acl.cc --- sec_acl.cc 9 Mar 2003 20:31:07 - 1.29 +++ sec_acl.cc 10 Mar 2003 15:52:35 - @@ -119,19 +119,13 @@ setacl (const char *file, int nentries, DWORD allow; /* Owner has more standard rights set. */ if ((aclbufp[i].a_type ~ACL_DEFAULT) == USER_OBJ) - allow = (STANDARD_RIGHTS_ALL ~DELETE) - | FILE_WRITE_ATTRIBUTES | FILE_WRITE_EA; + allow = STANDARD_RIGHTS_ALL | FILE_WRITE_ATTRIBUTES | FILE_WRITE_EA; else allow = STANDARD_RIGHTS_READ | FILE_READ_ATTRIBUTES | FILE_READ_EA; if
What Linux version corresponds to a specific cygwin version?
Hi, after some research this question remained unresolved, that's why I want to post it to the list. Some applications, e.g. C-Kermit 8.0 (http://www.columbia.edu/kermit/ck80binaries.html#linux), offer a variety of binary versions, e.g. Red Hat 7.0, Red Hat 7.1, 7.2, 7.3, 8.0, 9, AS2.1 and much more. The question is: What version I have to download for a certain cygwin version? uname shows for the latest cygwin version CYGWIN_NT-5.1. cygcheck -s shows as cygwin dll version 1.5.5. Are there any rules how to map this version information to a certain Linux version? I think I cannot rely on the compatibility with the latest Red Hat version - also because of the fact that Red Hat doesn't offer only one version ... Thank you for your help. Uwe Galle -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/
Re: Is multithreaded profiling on cygwin possible?
peter garrone wrote: Brian Ford wrote: peter garrone wrote: Sorry for the delay, or the repeat information, my original reply is lost. No problem. If I profile my multi-threaded application, it appears that only the main thread is profiled. Currently, yes. Actually, I think I was only partially correct. Time for the main thread is accumulated, but function calls are counted for all threads. This creates misleading data. True. I primarily just use PC sampling and not call counts, so I forgot about that part. You can, however, profile other threads one at a time if you use the gprof API's manually, called from the thread you want to profile. I have done this, but it has been too long for me to give you specific instructions. Have a look at profile.c, profile.[ch], gmon.[ch] in the cygwin sources to see how its done. Thanks very much, this advice is a great start. I didnt see any way in the mcount function (winsup/cygwin/mcount.c) to specify a particular thread. I did see the possibility of calling moncontrol(1) to enable time accumulation for a particular thread, and searching dejanews, noticed that this is a recognised approach to multithreaded profiling. Well, I might be able to devise a way to count only one thread's calls, but it would be horrifically slow. PTC While you're there, it should be fairly trivial to create a patch that at least loops through all Cygwin created pthreads in the sampler. I don't know if that kind of flat profile is what you wanted, though. Sometimes per-thread profiling is useful, but a flat profile is what I want for now. Not so much for optimisation, but porting. If a thread is taking x% cpu on system 1 and y% cpu on system 2, then per-thread profiling is useful. If the whole application is running much too slow, then the flat profile is useful. I havent figured out how to get per-thread cpu on cygwin yet anyway. Flat profiles are usually what I want also. For per thread cpu see: snipped dll discussion You commented that dll code is difficult to profile. Would you kindly send me a few references to this, or keyword sets, my searching is blank. I am aware of the profiling cygwin information, and assume you mean extra to this. Points 2 and 4 here are what I was referring to (note that they are applicable to all DLLs, not just cygwin1.dll). http://sources.redhat.com/ml/cygwin-patches/2002-q2/msg00206.html I couldn't seem to dig up any more detail easily. 2.) Paraphrasing, the UNIX profil call (that gprof.c is currently using), has a contiguous flat address space model. It hashes address samples over that space into a buffer. The starting and ending address are automatically pulled from the executable and are in its address space. DLLs are mapped outside this space non-contiguously. 4.) Paraphrasing, gprof doesn't know how to find and read the symbol tables from DLLs linked into the executable. I'm not even sure if the addresses are deterministic. -- Brian Ford Senior Realtime Software Engineer VITAL - Visual Simulation Systems FlightSafety International Phone: 314-551-8460 Fax: 314-551-8444 -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/
Re: What Linux version corresponds to a specific cygwin version?
First: Cygwin != Linux On Tue, Oct 07, 2003 at 06:03:05PM +0200, Uwe Galle wrote: after some research this question remained unresolved, that's why I want to post it to the list. Some applications, e.g. C-Kermit 8.0 (http://www.columbia.edu/kermit/ck80binaries.html#linux), offer a variety of binary versions, e.g. Red Hat 7.0, Red Hat 7.1, 7.2, 7.3, 8.0, 9, AS2.1 and much more. The question is: What version I have to download for a certain cygwin version? If the package is part of the Cygwin Net Distribution, you can download it with http://cygwin.com/setup.exe. Please also read http://cygwin.com. uname shows for the latest cygwin version CYGWIN_NT-5.1. cygcheck -s shows as cygwin dll version 1.5.5. Are there any rules how to map this version information to a certain Linux version? Cygwin != Linux. Cygwin is a POSIX emulation layer for Windows. It is not based on Linux code, nor is it actually anything more than a DLL with many, many features. There is no way to map a Cygwin version number to a Linux version number because * there is no relation * the Cygwin version number (e.g. 1.5.5) is the number of the Cygwin DLL, not the distribution (comparable with Linux-2.4.x being the version number of the kernel). * there is no relation * there is no relation I think I cannot rely on the compatibility with the latest Red Hat version - also because of the fact that Red Hat doesn't offer only one version ... You're talking about *distribution* versions here - there is no versioning scheme for the Cygwin Net Distribution. rlc -- Statistics are no substitute for judgement. -- Henry Clay -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/
Re: Is multithreaded profiling on cygwin possible?
On Tue, 7 Oct 2003, Brian Ford wrote: Flat profiles are usually what I want also. For per thread cpu see: Sorry, I forgot the reference. Here it is: http://www.microsoft.com/windows2000/techinfo/reskit/tools/existing/pstat-o.asp http://www.microsoft.com/windows2000/techinfo/reskit/tools/existing/qslice-o.asp BTW, you might also look at SSP (the single step profiler), although it too is horribly slow. -- Brian Ford Senior Realtime Software Engineer VITAL - Visual Simulation Systems FlightSafety International Phone: 314-551-8460 Fax: 314-551-8444 -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/
Re: Ash woes. [Was: Re: Installation Uninstallation issues ]
On Mon, Oct 06, 2003 at 07:54:51PM -0400, Pierre A. Humblet wrote: The problem recently reported by Tim Dierks in http://www.cygwin.com/ml/cygwin/2003-10/msg00273.html turns out to be identical to the one investigated in http://www.cygwin.com/ml/cygwin/2003-04/msg00471.html The scripts are executable but ash refuses to execute them. Ash uses various methods to make that decision, none of which is correct. It should be patched to use access(), as it already does for its built-in test. PTC. AFAICS, this should only affect commands given with absolute paths, see beginning of function exec.c::find_command(). I'll upload a patched ash in a minute. Could you give it a test? Corinna -- Corinna Vinschen Please, send mails regarding Cygwin to Cygwin Developermailto:[EMAIL PROTECTED] Red Hat, Inc. -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/
Control-C terminates ssh session
I'm using OpenSSH_3.7.1p2 under cygwin 1.5.5-1. ssh works fine, except that whenever I use Control-C to interrupt a running process, my ssh session is terminated instead. It's a real pain. Does anyone know why this happens, or how I can make it stop? I want Control-C to be interpreted by the remote shell, not my local shell. I looked through the cygwin list archives, and also comp.security.ssh archives. I found records of 2 other people asking this question within the last year, but no one answered. Any help appreciated. Andrew. -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/
Setup program hanging
I see that other people have had problems with installing cygwin due to the setup program hanging. Is there a solution to this yet ? Or is it possible to get an older version of the setup program Will Ryder -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/
Unsubscription doesn't work
Hello Unfortunately, unsubscription to [EMAIL PROTECTED] doesn't seem possible. I've tried twice - the first time, about 2 days ago, I got a reply from the automated list manager that the unscubscription had succeeded. Today (about noon CET), it didn't even reply. The mail was sent to [EMAIL PROTECTED] mailto:[EMAIL PROTECTED] . Any ideas where the problem could be? I hope it's not in layer 8 ;-) Regards Fermin Sanchez -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/
Re: 1.5.4-1: Problem with XEmacs, fonts, and subprocesses.
It is true that making a xemacs.bat file which contains c:\cygwin\usr\X11R6\bin\run.exe /bin/bash -c /usr/local/bin/i686-pc-cygwin/xemacs makes XEmacs run correctly under cygwin 1.5.5. (Actually one needs to add a line 'set cygwin=tty ' before that line if one does not already have it in the windows' environment). Alternatively one can run it from rxvt. By running correctly I mean nvoking secondary processes like opening a shell or compiling a program. However the bigger question is why XEmacs ran correctly before from its icon on the desk and it does not run correctly now? It must be something that has changed going from cygwin 1.3.22 to 1.5 that prevents runnung this application from the dos command line when it was compiled with cygwin. In 1.3.22 it ran flawlessly. It seems that this change affects also some other applications. I wonder also if once XEmacs is compiled with 1.5.5 it will also run from the dos prompt or icon or not. Henry S. Thompson [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] Igor Pechtchanski [EMAIL PROTECTED] writes: On Mon, 6 Oct 2003, Henry S. Thompson wrote: Igor Pechtchanski [EMAIL PROTECTED] writes: snip/ If you're _really_ obsessive (like me :-( about launching from an icon, compile the following and point the icon at it. Hope this helps, ht [code snipped] if (CreateProcess (NULL, c:\\cygwin\\bin\\bash -c \/usr/local/bin/i686-pc-cygwin/xemacs -f gnuserv-start\, sec_attrs, NULL, TRUE, 0, NULL, NULL, start, child)) Ouch! Why not simply point the shortcut at 'c:\cygwin\bin\bash --login -c /usr/local/bin/i686-pc-cygwin/xemacs -f gnuserv-start'? Igor Because that produces an unsightly command window as well as the desired xemacs window. That's what all the WinMain etc. stuff is there to defeat. ht Umm, yeah, ok, make that 'c:\cygwin\usr\X11R6\bin\run.exe /bin/bash --login -c /usr/local/bin/i686-pc-cygwin/xemacs -f gnuserv-start', then. :-D Igor Ah, but I don't run X, just vanilla cygwin. See you and raise you again :-) ht -- Henry S. Thompson, HCRC Language Technology Group, University of Edinburgh Half-time member of W3C Team 2 Buccleuch Place, Edinburgh EH8 9LW, SCOTLAND -- (44) 131 650-4440 Fax: (44) 131 650-4587, e-mail: [EMAIL PROTECTED] URL: http://www.ltg.ed.ac.uk/~ht/ [mail really from me _always_ has this .sig -- mail without it is forged spam] -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/
Re: cygwin sh crash on Windows 98 SE
Vít Reichel writes: [redirected to lilypond-user again; you may want to check that your mailer's Reply button respects the Mail-Followup-To header] What I called sh crash is a standard windows program crash alert (something like Program sh made a wrong operation and will be terminated). And this happened during postinstall? Installation was not successful because when I first started the Cygwin shell it didn't create /home directory, it wrote BASH and some other characters and I didn't manage to start lilypond at all. The strange thing was that when I tried to install cygwin for the 5th time, everything went O.K., so now I can use lilypond 2.0.1 even though it doesn't write [EMAIL PROTECTED] (the program name on the title bar is id when the shell is started and there is the dollar sign only). I don't see what this has to do with LilyPond. Both user name and computer name contain only lower-case ascii-1 caracters with no spaces. When I installed the same packages on a different computer with the same OS there was nothing wrong. You have an OS on your windows 98 computer too, why not use that? ;-) Jan. -- Jan Nieuwenhuizen [EMAIL PROTECTED] | GNU LilyPond - The music typesetter http://www.xs4all.nl/~jantien | http://www.lilypond.org -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/
Re: cygwin problem
Conrad, Please post instead of sending private email. On Tue, Oct 07, 2003 at 07:21:47PM +0200, [EMAIL PROTECTED] wrote: I saw you are active on XP questions on the unoffical cygwin newsgroup. I hope you dont mind me emailing you direct, but I dont know who to ask! Ask the Cygwin mailing list [EMAIL PROTECTED] -- it is the best way to get help. I have a problem installing cygwin on XP pro .. it ALWAYS hangs at 99% complete on the xfree32-icons component, and when I cancel the install it always says installation complete in a popup. Ok I can't uninstall it or install it through the setup.exe now. Both hang. So I uninstalled the whole thing (manually in the registry and everything= restarted, and guess what .. hangns at xfree32-icons... it hangs for hours. BTW I disabled Norton. Please help? 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 Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/
Re: Unsubscription doesn't work
On Tue, Oct 07, 2003 at 09:07:36PM +0200, Fermin Sanchez wrote: Hello Unfortunately, unsubscription to [EMAIL PROTECTED] doesn't seem possible. I've tried twice - the first time, about 2 days ago, I got a reply from the automated list manager that the unscubscription had succeeded. Today (about noon CET), it didn't even reply. The mail was sent to [EMAIL PROTECTED] mailto:[EMAIL PROTECTED] . Any ideas where the problem could be? I hope it's not in layer 8 ;-) Cast your eyes to the bottom of this message where unsubscribe information is given. Keep reading all of the unsubscribe info on that page and use the techniques outlined. If you are unable to unsubscribe given the details there, you will eventually find where to send problems and what kind of information to provide. -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/
RE: cygwin problem
From: Jason Tishler Sent: Tuesday, October 07, 2003 10:45 PM I have a problem installing cygwin on XP pro .. it ALWAYS hangs at 99% complete on the xfree32-icons component, and when I cancel the install it always says installation complete in a popup. Ok I can't uninstall it or install it through the setup.exe now. Both hang. So I uninstalled the whole thing (manually in the registry and everything= restarted, and guess what .. hangns at xfree32-icons... it hangs for hours. BTW I disabled Norton. Please help? Jason To fix the xfree-icons thing: Launch setup.exe from BASH, e.g. $ /install/setup.exe --no-md5 (NOTE: I've mounted the parent of local package dir as /install) Select to Install from local directory Leave ALL other things at default, just go on clicking Next This will make the /etc/postinstall/Xfree86-bin-icons.sh script do its job, without fuzz. I will be investigating the problem as time permits. No promises though. /Hannu E K Nevalainen, B.Sc. EE - 59?16.37'N, 17?12.60'E -- UTC+01, DST - UTC+02 -- --END OF MESSAGE-- -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/
RE: cygpath hangs from postinstall scripts when called like $(cygpath -S) but not otherwise
From: Christopher Faylor Sent: Monday, October 06, 2003 10:09 PM To: [EMAIL PROTECTED] Subject: Re: cygpath hangs from postinstall scripts when called like $(cygpath -S) but not otherwise On Mon, Oct 06, 2003 at 08:55:12PM +0200, Hannu E K Nevalainen wrote: I've got one idea left: recompile setup 2.415-1 by myself and try that. Or you could build a debug version of cygpath and attach to it with gdb when it is hung. Or maybe you need a debug version of the cygwin DLL or maybe ash or bash. It's amazing how much effort people are putting into this when something simple could be done to actually pinpoint the problem. We could have been beyond all of the normal I configured in the source directory, How do I get 'make install' to work in the cygwin directory, Why is it so hard to build steps by now. cgf I will be investigating the problem in every way that anyone can think of as time permits. No promises though, as usual. I'll have to learn bits and pieces of cvs and gdb for starters - I'll do my best. /Hannu E K Nevalainen, B.Sc. EE - 59?16.37'N, 17?12.60'E -- UTC+01, DST - UTC+02 -- --END OF MESSAGE-- -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/
RE: What Linux version corresponds to a specific cygwin version?
From: Uwe Galle Sent: Tuesday, October 07, 2003 6:03 PM Some applications, e.g. C-Kermit 8.0 (http://www.columbia.edu/kermit/ck80binaries.html#linux), offer a variety of binary versions, e.g. Red Hat 7.0, Red Hat 7.1, 7.2, 7.3, 8.0, 9, *** You *can't* run foreign binaries using cygwin, the SOURCE for any softwre has to be built using cygwin tools. AS2.1 and much more. The question is: What version I have to download for a certain cygwin version? Easiest: Any that compiles OOTB and suits your needs. /Hannu E K Nevalainen, B.Sc. EE - 59°16.37'N, 17°12.60'E -- UTC+01, DST - UTC+02 -- --END OF MESSAGE-- -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/
Re: Setup program hanging
On Wed, 2003-10-08 at 12:53, will ryder wrote: I see that other people have had problems with installing cygwin due to the setup program hanging. Is there a solution to this yet ? Or is it possible to get an older version of the setup program What version are you running? Where does it hang? Have you tried the latest version? Rob -- GPG key available at: http://members.aardvark.net.au/lifeless/keys.txt. signature.asc Description: This is a digitally signed message part
Re: Unsubscription doesn't work
On Tue, Oct 07, 2003 at 06:05:15PM -0700, Shankar Unni wrote: Christopher Faylor wrote: Cast your eyes to the bottom of this message where unsubscribe information is given. Ah, something seems to be broken in that regard - what happened to the list-generated signature (or postscript) with all that info? -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/ What *are* you talking about? -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/
Re: configuring cygwin-setup: ../cfgaux/configure: No such file or directory
Now it configures builds perfectly for me, out of the box pulled anew from cvs, with no switches or options to configure or make. Thanks! Cordially, perry __ Do you Yahoo!? The New Yahoo! Shopping - with improved product search http://shopping.yahoo.com -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/
Re: configuring cygwin-setup: ../cfgaux/configure: No such file or directory
On Wed, 2003-10-08 at 11:16, Perry Pupp wrote: Now it configures builds perfectly for me, out of the box pulled anew from cvs, with no switches or options to configure or make. You *need* to follow the switches on http://sources.redhat.com/cygwin-apps/setup.html to get a full build. What you have built is a cygwin build, which will have trouble replacing cygwin1.dll. Rob -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/
Perl, the GMP library, and the Math::BigInt::GMP module
I have installed the latest versions of Perl and the GMP library, and want to install the Math::BigInt::GMP Perl module which makes use of this GMP library, but I can't make them play together. There is a complaint No library found for -lgmp, but I know the library is installed. I can also see the files: $ find /usr/lib /usr/local/lib -type f | grep -i gmp /usr/lib/libgmp.dll.a /usr/lib/libgmp.la /usr/lib/w32api/libigmpagnt.a Below are the results from my attempt. What am I doing wrong? What must I do to get it working? cpan install Math::BigInt::GMP Running install for module Math::BigInt::GMP Running make for T/TE/TELS/math/Math-BigInt-GMP-1.11.tar.gz Checksum for /.cpan/sources/authors/id/T/TE/TELS/math/Math-BigInt-GMP-1.11.tar.gz ok Math-BigInt-GMP-1.11/ Math-BigInt-GMP-1.11/t/ Math-BigInt-GMP-1.11/t/bigintg.t Math-BigInt-GMP-1.11/t/bigintpm.t Math-BigInt-GMP-1.11/t/bigintpm.inc Math-BigInt-GMP-1.11/t/bigfltpm.t Math-BigInt-GMP-1.11/t/bigfltpm.inc Math-BigInt-GMP-1.11/lib/ Math-BigInt-GMP-1.11/lib/Math/ Math-BigInt-GMP-1.11/lib/Math/BigInt/ Math-BigInt-GMP-1.11/lib/Math/BigInt/GMP.pm Math-BigInt-GMP-1.11/BUGS Math-BigInt-GMP-1.11/TODO Math-BigInt-GMP-1.11/GMP.xs Math-BigInt-GMP-1.11/SIGNATURE Math-BigInt-GMP-1.11/LICENSE Math-BigInt-GMP-1.11/README Math-BigInt-GMP-1.11/Makefile.PL Math-BigInt-GMP-1.11/typemap Math-BigInt-GMP-1.11/INSTALL Math-BigInt-GMP-1.11/CHANGES Math-BigInt-GMP-1.11/CREDITS Math-BigInt-GMP-1.11/MANIFEST Removing previously used /.cpan/build/Math-BigInt-GMP-1.11 CPAN.pm: Going to build T/TE/TELS/math/Math-BigInt-GMP-1.11.tar.gz Checking if your kit is complete... Looks good Note (probably harmless): No library found for -lgmp Writing Makefile for Math::BigInt::GMP cp lib/Math/BigInt/GMP.pm blib/lib/Math/BigInt/GMP.pm /usr/bin/perl.exe /usr/lib/perl5/5.8.0/ExtUtils/xsubpp -typemap /usr/lib/perl5/5.8.0/ExtUtils/typemap -typemap typemap GMP.xs GMP.xsc mv GMP.xsc GMP.c gcc -c -DPERL_USE_SAFE_PUTENV -fno-strict-aliasing -DUSEIMPORTLIB -O3 -DVERSION=\1.11\ -DXS_VERSION=\1.11\ -I/usr/lib/perl5/5.8.0/ cygwin-multi-64int/CORE GMP.c GMP.c: In function `XS_Math__BigInt__GMP_destroy': GMP.c:146: warning: cast to pointer from integer of different size GMP.c: In function `XS_Math__BigInt__GMP___stringify': GMP.c:176: warning: cast to pointer from integer of different size GMP.c: In function `XS_Math__BigInt__GMP__str': GMP.c:219: warning: cast to pointer from integer of different size GMP.c: In function `XS_Math__BigInt__GMP__as_hex': GMP.c:262: warning: cast to pointer from integer of different size GMP.c: In function `XS_Math__BigInt__GMP__as_bin': GMP.c:302: warning: cast to pointer from integer of different size GMP.c: In function `XS_Math__BigInt__GMP__modpow': GMP.c:339: warning: cast to pointer from integer of different size GMP.c:346: warning: cast to pointer from integer of different size GMP.c:353: warning: cast to pointer from integer of different size GMP.c: In function `XS_Math__BigInt__GMP_mmod_gmp': GMP.c:381: warning: cast to pointer from integer of different size GMP.c:388: warning: cast to pointer from integer of different size GMP.c: In function `XS_Math__BigInt__GMP__add': GMP.c:417: warning: cast to pointer from integer of different size GMP.c:424: warning: cast to pointer from integer of different size GMP.c: In function `XS_Math__BigInt__GMP__inc': GMP.c:453: warning: cast to pointer from integer of different size GMP.c: In function `XS_Math__BigInt__GMP__dec': GMP.c:481: warning: cast to pointer from integer of different size GMP.c: In function `XS_Math__BigInt__GMP_sub_two': GMP.c:509: warning: cast to pointer from integer of different size GMP.c:516: warning: cast to pointer from integer of different size GMP.c: In function `XS_Math__BigInt__GMP__rsft': GMP.c:552: warning: cast to pointer from integer of different size GMP.c:559: warning: cast to pointer from integer of different size GMP.c: In function `XS_Math__BigInt__GMP__lsft': GMP.c:605: warning: cast to pointer from integer of different size GMP.c:612: warning: cast to pointer from integer of different size GMP.c: In function `XS_Math__BigInt__GMP__mul': GMP.c:651: warning: cast to pointer from integer of different size GMP.c:658: warning: cast to pointer from integer of different size GMP.c: In function `XS_Math__BigInt__GMP_div_two': GMP.c:687: warning: cast to pointer from integer of different size GMP.c:694: warning: cast to pointer from integer of different size GMP.c: In function `XS_Math__BigInt__GMP_bdiv_two': GMP.c:726: warning: cast to pointer from integer of different size GMP.c:733: warning: cast to pointer from integer of different size GMP.c: In function `XS_Math__BigInt__GMP__mod': GMP.c:766: warning: cast to pointer from
Updated: libmcrypt-2.5.7-2
I have updated the cygwin port of the libmcrypt encryption library. Libmcrypt is a library that provides access to several symmetric block and stream encryption algorithms. The following algorithms are implemented: 3-Way, Arcfour, Blowfish, Cast-128 (known as Cast5), Cast-256, DES, Enigma, Gost, Loki97, Panama, RC2, Rijndael-128 (AES), Rijndael-192, Rijndael-256, Safer-sk64, Safer-sk128, Safer+, Serpent, TripleDES, Twofish, Wake, XTea. The block algorithms can be used in the modes CBC, CFB, CTR, ECB, OFB, NOFB and NCFB. Separate runtime and development packages are available. This release corrects a packaging issue in the 2.5.7-1 release. To update your installation, click on the Install Cygwin now link on the http://cygwin.com/ web page. This downloads setup.exe to your system. Once you've downloaded setup.exe, run it and select Libs and then click on the appropriate field until the above announced version number appears if it is not displayed already. If you have questions or comments, please send them to the Cygwin mailing list at: [EMAIL PROTECTED] . I would appreciate it if you would use this mailing list rather than emailing me directly. This includes ideas and comments about the setup utility or Cygwin in general. If you want to make a point or ask a question, the Cygwin mailing list is the appropriate place. CYGWIN-ANNOUNCE UNSUBSCRIBE INFO: = To unsubscribe from the cygwin-announce mailing list, look at the List-Unsubscribe: tag in the email header of this message. Send email to the address specified there. It will be in the format: [EMAIL PROTECTED] Stefan Hetzl
New package: mhash-0.8.18-1
I have packaged the mhash library. This is a library that provides a uniform interface to several hash algorithms. It supports the basics for message authentication by following rfc2104 (HMAC). It also includes some key generation algorithms which are based on hash algorithms. Separate runtime and development packages are available. To update your installation, click on the Install Cygwin now link on the http://cygwin.com/ web page. This downloads setup.exe to your system. Once you've downloaded setup.exe, run it and select Libs and then click on the appropriate field until the above announced version number appears if it is not displayed already. If you have questions or comments, please send them to the Cygwin mailing list at: [EMAIL PROTECTED] . I would appreciate it if you would use this mailing list rather than emailing me directly. This includes ideas and comments about the setup utility or Cygwin in general. If you want to make a point or ask a question, the Cygwin mailing list is the appropriate place. CYGWIN-ANNOUNCE UNSUBSCRIBE INFO: = To unsubscribe from the cygwin-announce mailing list, look at the List-Unsubscribe: tag in the email header of this message. Send email to the address specified there. It will be in the format: [EMAIL PROTECTED] Stefan Hetzl
Updated Cygwin Package: proftpd-1.2.9rc2p-1
New News: === I have updated the version of ProFTPD to 1.2.9rc2p-1. The tarballs should be available on a Cygwin mirror near you shortly. Users are urged to upgrade to this version due to a remote exploit vulnerability. See the following for the details: http://www.proftpd.org/index.html The following are the other notable changes: o http://bugs.proftpd.org/show_bug.cgi?id=2176 o http://bugs.proftpd.org/show_bug.cgi?id=2179 o FHS compliance Old News: === ProFTPD is an enhanced FTP server with a focus toward simplicity, security, and ease of configuration. It features a very Apache-like configuration syntax, and a highly customizable server infrastructure, including support for multiple 'virtual' FTP servers, anonymous FTP, and permission-based directory visibility. See the ProFTPD home page for more details: http://www.proftpd.org/ Please read the README file: /usr/share/doc/cygwin/proftpd-1.2.9rc2p.README since it covers requirements, installation, known issues, etc. To update your installation, click on the Install Cygwin now link on the http://cygwin.com/ web page. This downloads setup.exe to your system. Then, run setup and answer all of the questions. In the US, ftp://mirrors.rcn.net/mirrors/sources.redhat.com/cygwin/ is a reliable high bandwidth connection. In Germany, ftp://ftp.uni-erlangen.de/pub/pc/gnuwin32/cygwin/mirrors/cygnus/ is usually pretty good. In the UK, http://programming.ccp14.ac.uk/ftp-mirror/programming/cygwin/pub/cygwin/ is usually up-to-date within 48 hours. If one of the above doesn't have the latest version of this package then you can either wait for the site to be updated or find another mirror. The setup.exe program will figure out what needs to be updated on your system and will install newer packages automatically. If you have questions or comments, please send them to the Cygwin mailing list at: [EMAIL PROTECTED] . I would appreciate if you would use this mailing list rather than emailing me directly. This includes ideas and comments about the setup utility or Cygwin in general. If you want to make a point or ask a question, the Cygwin mailing list is the appropriate place. *** CYGWIN-ANNOUNCE UNSUBSCRIBE INFO *** If you want to unsubscribe from the cygwin-announce mailing list, look at the List-Unsubscribe: tag in the email header of this message. Send email to the address specified there. It will be in the format: [EMAIL PROTECTED] Jason