infocmp.exe opens in a new windows-cmd window and hangs

2013-12-22 Thread Irfan Adilovic
Hi,

On my 64-bit Cygwin installation, when I start `infocmp.exe` from
within mintty, it opens up a new cmd-window (not mintty!), shows
options and immediately closes. However, the infocmp process hangs in
a way that defies killing -- it cannot be killed even from the windows
task manager (first attempt at killing has no effect, later attempts
return "Access is denied"). Same thing for its parent process, sh.exe.
So far, I haven't found a way of killing these two processes short of
restarting the system.

A workaround is to either uninstall ncurses or to move away
infocmp.exe -- with luck, stuff will work (for example, `perl -de0`
hangs because of infocmp, but works flawlessly with infocmp moved
away).

Now, has anyone else observed this, or am I the only one? I've tried
reinstalling ncurses without effect, any other suggestions?

I'm running 64-bit Cygwin under Windows 8.

-- Irfan

--
Problem reports:   http://cygwin.com/problems.html
FAQ:   http://cygwin.com/faq/
Documentation: http://cygwin.com/docs.html
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple



.co.ke, .com, .org for only kshs999/yr

2013-12-22 Thread .co.ke domain offer
Special offer on domain registration & email/web hosting (offer closes on Dec 
31st 2013)

.co.ke, .or.ke, .ac.ke @kshs 999/yr
.com, .net, .org @kshs 999/yr
.me.ke @kshs 499/yr

Website/email hosting (kshs 2400/yr)  
- 5GB Web Space
- Unlimited Data Transfer per month
- Unlimited POP3 Email Accounts
- Unlimited MySQL database accounts
- Unlimited Web Email Accounts
- Control panel account

Full featured hosting with PHP, FrontPage, ASP,MySQL, & Exceptional Customer 
Support!

For more details email us on 7days.co...@gmail.com


--
Problem reports:   http://cygwin.com/problems.html
FAQ:   http://cygwin.com/faq/
Documentation: http://cygwin.com/docs.html
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple



Re: beep perl script

2013-12-22 Thread Helmut Karlowski

Am 22.12.2013, 08:08 Uhr, schrieb Gigabit Pony:


Well I know the beep script is not yours but.. I am trying to
configure it so I hear a sound inside of Windows 7. I have cygwin with
weechat curses running in it. The set command
/set plugins.var.perl.beep_beep_command_highlight "cat
/cygdrive/d/Cygwin/beep.wav > /dev/dsp"

But it does not work at all. Any ideas why? Really would like to
switch to weechat for my main IRC program but without the audible ques
it is a no go. Many people have tried to help and told me that command
but it still is not working.


Don't know why >/dev/dsp does not work (I get just noise), but you can use  
ogg123 (ogg-vorbis) and play for example .oga-files:


e.g.:

ogg123 alarm-clock-elapsed.oga

That works for me on 1.7.20.

It's been a while since I played with sound-output, don't know if you can  
play wav-files from inside cygwin at all.


-Helmut

--

--
Problem reports:   http://cygwin.com/problems.html
FAQ:   http://cygwin.com/faq/
Documentation: http://cygwin.com/docs.html
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple



Re: "Device or resource busy" during read (rsync)

2013-12-22 Thread Mikhail Usenko
On Sun, 22 Dec 2013 00:02:10 +
Winkel, Richard J. <...> wrote:

> I have a hard time believing this is an unusual question but I swear 
> I've been googling everywhere without an answer!  :)
> I'm using rsync (under cygwin) to backup windows servers to a linux box 
> and it's working wonderfully, except that if a file is open rsync can't 
> access it even for reading.   I know some windows-based backup programs 
> don't have the problem so I'm hoping there's some way to avoid it in 
> cygwin.  I've looked at the cygwin mount options but don't see anything 
> obvious.  Is there a way around it?

Hello, Richard
You need to use VSS which stands for 'Volume Shadow copy Service' (or  'Volume 
Snapshot Service') on Windows. It is based on copy-on-write technology below 
the NTFS level and is used by Windows to make backups of the running system 
including of opened and locked files. (Also VSS utilizes a number of 'writers' 
that helps to make a consistent backup of opened database files for instance.) 
The shadow copy may be created by using different userspace tools:
* vshadow.exe (http://msdn.microsoft.com/en-us/library/bb530725(VS.85).aspx)
* vssadmin.exe (on the server OSes)
* wmic.exe
* by calling COM WMI objects from windows script host 
(http://support.microsoft.com/kb/188135) - VBA or JS scripts or from Windows 
PowerShell scripts.

The easiest way to access the created shadow snapshot:
 
http://blogs.msdn.com/b/adioltean/archive/2008/02/28/a-simple-way-to-access-shadow-copies-in-vista.aspx
Then rsync can be used to copy files from the shadow snapshot after which the 
snapshot can be deleted.

I believe there are already working solutions and programs that can be found. 
For example these articles:
 http://users.softlab.ntua.gr/~ttsiod/win32backup.html
 
http://blog.jay2k1.com/2011/08/13/how-to-create-rsync-like-hard-link-backups-with-vss-on-windows/

If you will find something satisfactory for you, please let me know.

--

--
Problem reports:   http://cygwin.com/problems.html
FAQ:   http://cygwin.com/faq/
Documentation: http://cygwin.com/docs.html
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple



Please update GnuPG to 1.4.16

2013-12-22 Thread İsmail Dönmez
Hi,

GnuPG <= 1.4.16 has an interesting security vulnerability which might
result in disclosure of private keys ( see
http://lists.gnupg.org/pipermail/gnupg-announce/2013q4/000337.html ).
So please update it to 1.4.16 release.

Thanks,
Ismail

--
Problem reports:   http://cygwin.com/problems.html
FAQ:   http://cygwin.com/faq/
Documentation: http://cygwin.com/docs.html
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple



RE: beep perl script

2013-12-22 Thread Buchbinder, Barry (NIH/NIAID) [E]
Gigabit Pony sent the following at Sunday, December 22, 2013 2:09 AM
>Well I know the beep script is not yours but.. I am trying to
>configure it so I hear a sound inside of Windows 7. I have
>cygwin with weechat curses running in it. The set command
>/set plugins.var.perl.beep_beep_command_highlight "cat
>/cygdrive/d/Cygwin/beep.wav > /dev/dsp"
>
>But it does not work at all. Any ideas why? Really would like to switch
>to weechat for my main IRC program but without the audible ques it is a
>no go. Many people have tried to help and told me that command but it
>still is not working.
>
>I have searched around and have not found the answer elsewhere and
>people are stumped on why. if I could just switch to lnx I would but
>alas I cant so porting like this is my only option.

There was a problem with /dev/dsp in a recent release (1.7.26) of
cygwin1.dll.  That was fixed in version 1.7.27.
.  Make
sure that your installation is up to date.

- Barry
  Disclaimer:  Statements made herein are not made on behalf of NIAID.

--
Problem reports:   http://cygwin.com/problems.html
FAQ:   http://cygwin.com/faq/
Documentation: http://cygwin.com/docs.html
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple