Re: git fails with "error 487" in winmm.dll

2011-03-21 Thread Mark Geisert
Anand Arumugam writes: > Can you please tell how to fix the problem? Because I tried by > reinstalling cygwin base and git. I also tried by reinstalling by > downloading the latest version of setup.exe. Still I am getting the > same fatal error. Eric said try the latest snapshot. He wasn't talkin

RE: git fails with "error 487" in winmm.dll

2011-03-21 Thread Anand Arumugam
On 03/15/2011 06:40 PM, Kevin Layer wrote: > Anyone else seen this? > > hobart$ git reset --hard a000933 > 5 [main] git 2832 C:\cygwin\bin\git.exe: *** fatal error - could not > load C:\WINDOWS\system32\winmm.dll, Win32 error 487 Yes. Multiple people. And it's already fixed in the latest

Re: ioctl problem with pconsole

2011-03-21 Thread Christopher Faylor
On Mon, Mar 21, 2011 at 05:05:13PM -0600, Chuck Cox wrote: >I'm trying to compile pconsole (from http://www.heiho.net/pconsole/) on >Cygwin 1.7.8 with the standard gcc 4.3.4 compiler. I have compiled many >things before on Solaris and Linux, but this is my first adventure with >Cygwin. :-) > >F

Can't run perldoc

2011-03-21 Thread Andrew DeFaria
Why is it when I do something like: $ perldoc perlre I get a bunch of: 14 [main] sh 72132 C:\Cygwin\bin\sh.exe: *** fatal error - couldn't allocat e heap, Win32 error 487, base 0x71, top 0x78, reserve_size 454656, alloc size 458752, page_const 4096 Stack trace: Frame Functio

ioctl problem with pconsole

2011-03-21 Thread Chuck Cox
I'm trying to compile pconsole (from http://www.heiho.net/pconsole/) on Cygwin 1.7.8 with the standard gcc 4.3.4 compiler. I have compiled many things before on Solaris and Linux, but this is my first adventure with Cygwin. :-) First off, you have to add "#define TIOCSTI 0x5412" to pconsole.c

Re: Volume Shadow Copy in SSHD connection

2011-03-21 Thread Bruno Galindro da Costa
Corinna, I´m need to build a small C++ program to exec the "vssadmin list writers" with another user context at the remote host? Unfortunately, I´m not a C or C++ programmer. If possible, can you please help me to build a little program to exec the disired command? I know that the page have

Re: Volume Shadow Copy in SSHD connection

2011-03-21 Thread Corinna Vinschen
On Mar 21 14:53, Bruno Galindro da Costa wrote: > Hi! > >Why Volume Shadow Copy Service doesn´t works via sshd connection? Maybe the documentation helps: http://cygwin.com/cygwin-ug-net/ntsec.html#ntsec-setuid-overview Corinna -- Corinna Vinschen Please, send mails regar

Re: Problems with terminal doesn't display visual elements properly

2011-03-21 Thread Diego Queiroz
On 20 March 2011 13:19, Andy Koppe wrote: > >On 20 March 2011 09:18, Diego Queiroz wrote: > >> On 18 March 2011 06:12, Andy Koppe wrote: >>> >>> On 17 March 2011 22:09, Diego Queiroz wrote: >>> > Hello. >>> > >>> > I need some help. >>> > My terminal started with a very strange behavior today. >>>

Volume Shadow Copy in SSHD connection

2011-03-21 Thread Bruno Galindro da Costa
Hi! Why Volume Shadow Copy Service doesn´t works via sshd connection? If I execute the following command locally (in MS-DOS or Cygwin shell), the bellow result was printed: ### LOCAL: ### C:\>vssadmin list writers vssadmin 1.1 - Volume Shadow Copy Service administrative command-line

Re: GraphicsMagick build on cygwin

2011-03-21 Thread marco atzeri
On Mon, Mar 21, 2011 at 4:27 PM, john grant wrote: > Hi Marco, > I've attached the file. I made it in GIMP by cropping an image made by my > digital Kodak camera. Thanks for looking into this problem, > John > > > From: marco atzeri > To: john grant > Sent: Mon, Ma

PSFTP error: "FATAL: Unable to initialise SFTP: Could not connect"

2011-03-21 Thread Dale Harrison
Hi all, I've recently installed another SFTP server using CYGWIN onto a virtual server running Windows 2000, it is running alongside an existing (working) physical server we have, with a view to replacing the physical machine asap. As far as I can tell, everything is installed as expected, foll

Re: cygwin + GetConsoleOutputCP

2011-03-21 Thread Erwin Waterlander
On 03/21/2011 03:46 PM, Charles Wilson wrote: Hmm. So we have a choice for the cygwin version, for choosing the default dos cp when the user specifies -iso and doesn't explicitly specify the cp: either 1) follow the unix behavior: just simply default to -437. 2) follow the dos behavior: use

Re: cygwin + GetConsoleOutputCP

2011-03-21 Thread Charles Wilson
On 3/21/2011 9:47 AM, Erwin Waterlander wrote: > I was doubting between GetACP and GetConsoleOutputCP on Windows. On a > Western regional Windows the format of a text file is most likely CP1252. > But the tool is named *dos*2unix, not *windows*2unix, therefore my > choice was GetConsoleOutputCP. T

Re: cygwin + GetConsoleOutputCP

2011-03-21 Thread Charles Wilson
On 3/21/2011 3:53 AM, Andy Koppe wrote: > I think defaulting to the console codepage makes sense for the DOS > side of the conversion. Having said that, Windows files that aren't > "Unicode", i.e. UTF-16, are usually encoded in the so-called ANSI > codepage, e.g. CP1252, so it would make more sense

Re: IFS/read dash bug (was Re: Problems with the new base-files-4.0-5?)

2011-03-21 Thread Eric Blake
On 03/20/2011 08:54 AM, Cyrille Lefevre wrote: > fixed in git depot as of : > > 2010-05-27 Herbert Xu[VAR] Do not poplocalvars prematurely on > regular utilitie > http://git.kernel.org/?p=utils/dash/dash.git;a=snapshot;h=1d806ac1fbafb867f6252e184e1be05c0829ab71;sf=tgz > how about to updat

Re: cygwin + GetConsoleOutputCP

2011-03-21 Thread Erwin Waterlander
On 03/21/2011 01:37 PM, Andy Koppe wrote: On 21 March 2011 11:17, Corinna Vinschen wrote: Well, I'm not sure about that. The complexity of codepage settings on a Windows system makes the whole afair a guesswork which will always tend to do the wrong thing anyway. There are the following codepa

SSH Authentication fails under Windows Server 2008 - Domain Controller

2011-03-21 Thread Bruno Galindro da Costa
Hi! I´ve installed a cygwin sshd service under a Windows 2008 Server Enterprise Service Pack 2. It is a Domain Controller. There are 2 more domain controllers (Windows 2003 Server) in the same domain using cygwin + sshd service working normally and they are using the same cyg_server domain user

Re: cygwin + GetConsoleOutputCP

2011-03-21 Thread Corinna Vinschen
On Mar 21 12:37, Andy Koppe wrote: > On 21 March 2011 11:17, Corinna Vinschen wrote: > > to do the wrong thing anyway.  There are the following codepages available: > > > > - The current input console codepage, GetConsoleCP(). > > > > - The current output console codepage, GetConsoleOutputCP(). > >

Re: How to determine actual character set

2011-03-21 Thread Andy Koppe
On 20 March 2011 20:15, Matthias Meyer wrote: > I use cygwin 1.7.5 and run backups from Windoze to my Linux server by using > BackupPC. > I want to set the windows character set within the backuppc configuration > for preventing me from this filename renamings (e.g. the german "ü" will be > replace

Re: cygwin + GetConsoleOutputCP

2011-03-21 Thread Andy Koppe
On 21 March 2011 11:17, Corinna Vinschen wrote: > On Mar 21 07:53, Andy Koppe wrote: >> On 20 March 2011 19:13, Charles Wilson wrote: >> > So basically if you specify -iso (or --conv iso) without any of the >> > "input encoding specification" options like -437 etc, then dos2unix will >> > autodetec

rebaseall fail: FixImage (/usr/x86_64-w64-mingw32/sys-root/mingw/bin/libgcc_s_sjlj-1.dll) faile, with last error = 13

2011-03-21 Thread Oleksandr Gavenko
After update to newest packages version I get: $ hg convert http://... ... 3 [main] python 540 C:\opt\cygwin\bin\python.exe: *** fatal error - unable to remap C:\opt\cygwin\bin\cygaprutil-1-0.dll to same address as parent: 0x187B != 0x6E9F Stack trace: Frame Function Args 0

Re: cygwin + GetConsoleOutputCP

2011-03-21 Thread Corinna Vinschen
On Mar 21 07:53, Andy Koppe wrote: > On 20 March 2011 19:13, Charles Wilson wrote: > > So basically if you specify -iso (or --conv iso) without any of the > > "input encoding specification" options like -437 etc, then dos2unix will > > autodetect attempt to detect the *console* encoding.  If it suc

Re: GraphicsMagick build on cygwin

2011-03-21 Thread marco atzeri
2011/3/21 Tatsuro MATSUOKA : > For Cygwin distribution, it is better to ask at the cygwin ML but not here. > > Regards > > Tatsuro > --- john grant  wrote: > >> Hi, >> I'm trying to load a .JPG file with octave 3.4 on cygwin (Vista). I get the >> following error. Thanks for any tips. >> John >> >>

Re: cygwin + GetConsoleOutputCP

2011-03-21 Thread Andy Koppe
On 20 March 2011 19:13, Charles Wilson wrote: > Question about porting the upstream "dos2unix" utilities.  These > implementations provide capabilities to convert text files from a > certain limited set of INPUT encodings (most are DOS codepages): > > ===