[ITP] cppcheck

2009-07-27 Thread Chris Sutcliffe
I would like to maintain cppcheck for the Cygwin distribution. The files are available here: wget http://emergedesktop.org/cygwin/cppcheck/cppcheck-1.34-1.tar.bz2 \ http://emergedesktop.org/cygwin/cppcheck/cppcheck-1.34-1-src.tar.bz2 \ http://emergedesktop.org/cygwin/cppcheck/setup.hint I'm not

Re: Is there a Windows clipboard manager that doesn't clash with -clipboard parameter?

2009-07-27 Thread Danilo Turina
Hi, I had problems with all the clipboard managers I tried (4 or 5), until I upgraded my X-Org Server about 10 days ago. Now most problems are solved. Ciao, Danilo Alister Hood wrote: Hi, I've found that -clipboard clashes with Windows clipboard history managers such as Ditto.

src/winsup/cygwin ChangeLog posix.sgml

2009-07-27 Thread corinna
CVSROOT:/cvs/src Module name:src Changes by: cori...@sourceware.org 2009-07-27 08:05:47 Modified files: winsup/cygwin : ChangeLog posix.sgml Log message: * posix.sgml (std-notes): Remove obsolete reference to CYGWIN=server. Patches:

src/winsup/w32api ChangeLog include/winnt.h in ...

2009-07-27 Thread corinna
CVSROOT:/cvs/src Module name:src Changes by: cori...@sourceware.org 2009-07-27 11:40:26 Modified files: winsup/w32api : ChangeLog winsup/w32api/include: winnt.h winsup/w32api/include/ddk: ntifs.h Log message: * include/winnt.h

src/winsup/mingw ChangeLog Makefile.in configu ...

2009-07-27 Thread keithmarshall
CVSROOT:/cvs/src Module name:src Changes by: keithmarsh...@sourceware.org2009-07-27 20:27:09 Modified files: winsup/mingw : ChangeLog Makefile.in configure configure.in winsup/mingw/mingwex: Makefile.in winsup/mingw/profile: Makefile.in Removed

src/winsup/mingw ChangeLog mingwex/stdio/pformat.c

2009-07-27 Thread ironhead
CVSROOT:/cvs/src Module name:src Changes by: ironh...@sourceware.org 2009-07-28 01:28:22 Modified files: winsup/mingw : ChangeLog winsup/mingw/mingwex/stdio: pformat.c Log message: 2009-07-27 Chris Sutcliffe ir0nh...@users.sourceforge.net

Re: [PATCH] remaining reference to CYGWIN=server

2009-07-27 Thread Corinna Vinschen
On Jul 26 16:45, Yaakov S wrote: * posix.sgml (std-notes): Remove obsolete reference to CYGWIN=server. Thanks, applied. Corinna -- Corinna Vinschen Please, send mails regarding Cygwin to Cygwin Project Co-Leader cygwin AT cygwin DOT com Red Hat

1.5.25-15: Why my $INITRC set convert-meta off seems to fail?

2009-07-27 Thread Rodion Gorkovenko
Dear friends! I am still try to get over my problem with ASCII 8-bit characters translation. I now know about ~/.initrc file, readline, bind - bit more. But it still does not work. Look here: My ~/.initrc contains necessary setup: set meta-flag on set convert-meta off set input-meta on set

Re: math.h:nexttoward missing in cygwin

2009-07-27 Thread Corinna Vinschen
On Jul 25 19:07, David Manura wrote: The math.h nexttoward function [1] in math.h is not available in Cygwin gcc (but does exist under the ming compiler in Cygwin). It's not clear to me though when nexttoward is preferred over nextafter. Boost calls nexttoward a legacy function [2]. The

Re: 1.5.25-15: Why my $INITRC set convert-meta off seems to fail?

2009-07-27 Thread Andy Koppe
2009/7/27 Rodion Gorkovenko: I am still try to get over my problem with ASCII 8-bit characters translation. I now know about ~/.initrc file, readline, bind - bit more. But it still does not work. Look here: My ~/.initrc contains necessary setup: set meta-flag on 'meta-flag' is a synonym

Re: [1.7] Alternative root directory. Sort of a regression.

2009-07-27 Thread Corinna Vinschen
On Jul 26 20:48, Shaddy Baddah wrote: Hi, Before I begin, I know this is an out there thing to try and do, so I am steeled for some negative responses. With 1.7, the cygwin root directory determination is fixed to location from the path of the loaded cygwin1.dll. However, the 1.7 user guide

Re: [1.7] Alternative root directory. Sort of a regression.

2009-07-27 Thread Andy Koppe
2009/7/26 Shaddy Baddah: This certainly works, but as the method requires correction of the root directory post (or during) the parse of /etc/fstab, it is not suitable for forcing the location of the /etc/fstab through an alternate root directory. The root directory still is in the registry,

Re: 1.5.25-15: Why my $INITRC set convert-meta off seems to fail?

2009-07-27 Thread Rodion Gorkovenko
Hello, Andy! Andy Koppe wrote: 'meta-flag' is a synonym for 'input-meta', so you don't need both. For this hint - thank you. $ echo -e \xC0\xC1\xC2\xC3\xC3\xC4\xC5\xC6\xC7 AAA?C Looks like the font you're using doesn't have the necessary glyphs, so Windows substitutes the closest

Re: [1.7] Alternative root directory. Sort of a regression.

2009-07-27 Thread Corinna Vinschen
On Jul 27 09:57, Andy Koppe wrote: 2009/7/26 Shaddy Baddah: This certainly works, but as the method requires correction of the root directory post (or during) the parse of /etc/fstab, it is not suitable for forcing the location of the /etc/fstab through an alternate root directory. The

Re: 1.5.25-15: Why my $INITRC set convert-meta off seems to fail?

2009-07-27 Thread Andy Koppe
2009/7/27 Rodion Gorkovenko: You suppose this is windows, who responsible for this substitution? This thought had not visited my head... I thought substitution is performed by cygwin... It's done by the Windows text rendering functions. It's fairly useful actually as a fallback, because at

Re: [1.7] Alternative root directory. Sort of a regression.

2009-07-27 Thread Andy Koppe
2009/7/27 Corinna Vinschen: that rootdir is only used by setup.exe, not by Cygwin. I see, sorry. So I guess / simply is the parent of the directory cygwin1.dll is in? Makes plenty of sense. Andy -- Problem reports: http://cygwin.com/problems.html FAQ:

Re: 1.5.25-15: Why my $INITRC set convert-meta off seems to fail?

2009-07-27 Thread Corinna Vinschen
On Jul 27 11:02, Andy Koppe wrote: 2009/7/27 Rodion Gorkovenko: You suppose this is windows, who responsible for this substitution? This thought had not visited my head... I thought substitution is performed by cygwin... It's done by the Windows text rendering functions. It's fairly

Re: [1.7] Alternative root directory. Sort of a regression.

2009-07-27 Thread Corinna Vinschen
On Jul 27 11:11, Andy Koppe wrote: 2009/7/27 Corinna Vinschen: that rootdir is only used by setup.exe, not by Cygwin. I see, sorry. So I guess / simply is the parent of the directory cygwin1.dll is in? Makes plenty of sense. That's the idea and the reason we don't write a / entry to

Re: 1.7.0-51: Problem using ssh public/private key authentication

2009-07-27 Thread Michael H.
Julio Costa wrote: Hi Michael, On Thu, Jul 23, 2009 at 10:49, Michael H. wrote: Corinna Vinschen-2 wrote: On Jul 16 12:20, Michael H. wrote: Hello, When I am using cygwin 1.5 both the public/private key and the keyboard authentication with ssh work without problems. On 1.7

regtool/registry interfacing and charset support

2009-07-27 Thread Shaddy Baddah
Hi, I note that the regtool/registry interfacing do not yet support non ASCII character sets: $ uname -a CYGWIN_NT-6.0 somehost-vista 1.7.0(0.212/5/3) 2009-07-24 09:59 i686 Cygwin $ regtool get /machine/SOFTWARE/Cygwin/setup/rootdir C:\software\cygwin? where the trailing CJK character 中 has

cygwin launch process using windows environment

2009-07-27 Thread ahmed hassan
Hi all, Sometimes when using cygwin shell (bash), I want to open up a windows explorer window or command prompt from that location. However, when I do that, the process launches with the environment inherited from the cygwin shell. For a variety of reasons, this causes issues. Is there

RE: ntfsclone for cygwin 1.7 (issues pointing to shadow copies)

2009-07-27 Thread Rob Bosch
I was able to get ntfsprogs to compile under cygwin 1.7 after some troubleshooting. I tried to get ntfsclone to point to the //?/GLOBALROOT for a shadow copy. I know dd can do this. ntfsclone doesn't appear to be aware of these devices and there are no /dev/sd?? associated with them either.

OT - Re: Lightweight, Windows-friendly Installation of Cygwin

2009-07-27 Thread Larry Hall (Cygwin)
On 07/27/2009 12:59 AM, Jim Monty wrote: Larry Hall (Cygwinreply-to-list-only-lhat cygwin.com writes: On 07/26/2009 11:37 PM, Jim Monty wrote: Dave Korndave.korn.cygwinat googlemail.com writes: Jim Monty wrote: any decisions, and moments later I'm able to do stuff like this at a

Re: 1.5.25-15: Why my $INITRC set convert-meta off seems to fail?

2009-07-27 Thread Rodion Gorkovenko
To Andy Koppe and Corinna Vinschen - big thanks! Problem is solved with your advices! I see now, the deal is far more complicated. However I clicked choose default - Russian in Regional Settings for Windows (there was Russian in many list-boxes, but it seems default was not Russian still,

Re: 1.7.0-51: Problem using ssh public/private key authentication

2009-07-27 Thread René Berber
Michael H. wrote: [snip] The steps to reproduce have been done directly after installing Cygwin without any modifications. The logfile /var/log/sshd.log is empty even after the error has been printed on the Linux machine from which I connected to the Windows / Cygwin machine. The system log

mingw headers and libraries missing

2009-07-27 Thread Georg Troska
Hi, I want to compile some code with -mno-cygwin. Unfortunately some mingw-libs are missing (sys/select.h, sys/cdefs.h). also the corresponding libraries How can I get them? Thanks Georg -- Problem reports: http://cygwin.com/problems.html FAQ: http://cygwin.com/faq/

Re: mingw headers and libraries missing

2009-07-27 Thread Andy Koppe
2009/7/27 Georg Troska: I want to compile some code with -mno-cygwin. Unfortunately some mingw-libs are missing (sys/select.h, sys/cdefs.h). also the corresponding libraries How can I get them? You can't, because MingW doesn't implement select(). Andy -- Problem reports:

Re: mingw headers and libraries missing

2009-07-27 Thread Andy Koppe
2009/7/27 Georg Troska: I want to compile some code with -mno-cygwin. Unfortunately some mingw-libs are missing (sys/select.h, sys/cdefs.h). also the corresponding libraries How can I get them? You can't, because MingW doesn't implement select(). ps: Windows itself has a select() in

RE: ntfsclone for cygwin 1.7 (issues pointing to shadow copies)

2009-07-27 Thread Rob Bosch
The issue appears to be with ntfsclone in that it must point to something in /proc/partitions. It will not work with any /cygdrive/X (used dosdev.c from Corinna and typical vshadow to expose as a drive with no luck). I found this out by commenting out the read-only check and rebuilding

Full 1.7 Install - Insufficient disk space to repair security descriptor at index $SII for file 9Re:

2009-07-27 Thread Stephen M. Kneton
I got mixed results with the work around of installing packages a few at at time. One worked, and one ended up unbootable again. I restored both the XP Pro and XP MediaCenter systems that got eaten by chkdsk with the message about Insufficient disk space to repair security descriptor at index

bug in mbrtowc?

2009-07-27 Thread Andy Koppe
I've encountered what looks like a bug in mbrtowc's handling of UTF-8. Here's an example: #include stdio.h #include locale.h #include stdlib.h #include wchar.h int main(void) { wchar_t wc; size_t ret; mbstate_t s = { 0 }; puts(setlocale(LC_CTYPE, en_GB.UTF-8)); printf(%i\n, mbrtowc(wc,

Re: ntfsclone for cygwin 1.7 (issues pointing to shadow copies)

2009-07-27 Thread Larry Hall (Cygwin)
On 07/27/2009 05:48 PM, Rob Bosch wrote: The issue appears to be with ntfsclone in that it must point to something in /proc/partitions. It will not work with any /cygdrive/X (used dosdev.c from Corinna and typical vshadow to expose as a drive with no luck). I found this out by commenting out

problem for a rebaseall

2009-07-27 Thread Aurelien Decagny
Hi, I am developing a plugin for Wireshark, but I have this problem when I make the compilation (Wireshark is compiled in a Cygwin environment on Windows, and I have Windows XP 32-bits) : nmake fatal error U1077 c:\cygwin\bin\perl.EXE : return code '0x1' Stop So I made a lot of research on

Odd directory created when installing 1.7

2009-07-27 Thread Cliff Hones
I installed 1.7 today for the first time, having deliberately waited until near the end of beta testing out of cowardice (no; actually because my use of Cygwin isn't that great at the moment, is not particularly unusual, and unfortunately I've not had the time I'd like to devote to tracking down

Re: Emacs can't start-process more than 30~40 processes (Was: Re: Emacs w3m `w3m-toggle-inline-images' cause segfault)

2009-07-27 Thread Haojun Bao
Haojun Bao baohao...@gmail.com writes: I have reduced the test case in this mail http://cygwin.com/ml/cygwin/2009-07/msg00111.html to a simpler one: $/bin/emacs --batch -q --execute '(let ((num 0)) (while ( num 30) (setq num (+ num 1)) (message num is %d num)

Re: bug in mbrtowc?

2009-07-27 Thread Pedro Izecksohn
From the Linux Programmer’s Manual (release 3.15 of the Linux man-pages): If the n bytes starting at s do not contain a complete multibyte character, mbrtowc() returns (size_t) -2. On Mon, Jul 27, 2009 at 6:56 PM, Andy Koppe wrote: I've encountered what looks like a bug in mbrtowc's

Re: bug in mbrtowc?

2009-07-27 Thread Andy Koppe
2009/7/28 Pedro Izecksohn: #include stdio.h #include locale.h #include stdlib.h #include wchar.h int main(void) { wchar_t wc; size_t ret; mbstate_t s = { 0 }; puts(setlocale(LC_CTYPE, en_GB.UTF-8)); printf(%i\n, mbrtowc(wc, \xe2, 1, 0)); printf(%i\n, mbrtowc(wc, \x94, 1, 0));