`rescue in block in dlload': can't load user32 (Fiddle::DLError) on running cap

2017-08-02 Thread Ashley Mozhuman
Hi, I installed Capistrano and am facing problems white executing the cap command. The OS is Windows 2012 R2. So when I run, cap <<>> deploy, the error displayed is, /usr/share/ruby/2.3.0/fiddle/import.rb:86:in `rescue in block in dlload': can't load user32 (Fiddle::DLError) from /usr

Re: Hiding console when running Cygwin utility from Task Scheduler.

2017-08-02 Thread Brian Inglis
On 2017-08-02 17:40, Oleksandr Gavenko wrote: > On 2017-08-02, Brian Inglis wrote: >> Redirect all stdin from /dev/null, stdout, stderr to a log file in your >> script , like: >> #!/bin/bash >> prog=${0##*/} >> base=${prog%.*} >> log=/var/log/$base.log >> >> # do everything

accessing iphone files from cygwin

2017-08-02 Thread Cary Lewis
I compiled ifuse libimobiledevice libplist libusbmuxd usbmuxd per instructions I found for compiling these under Ubuntu, and while they all compiled. These programs running in a vm under windows with vmware workstation, can access the iphone without issues. However I am not able to run ide

Re: Hiding console when running Cygwin utility from Task Scheduler.

2017-08-02 Thread Oleksandr Gavenko
On 2017-08-02, Brian Inglis wrote: > Redirect all stdin from /dev/null, stdout, stderr to a log file in your > script , > like: > #!/bin/bash > prog=${0##*/} > base=${prog%.*} > log=/var/log/$base.log > > # do everything inside this wrapper > { >

Re: Hiding console when running Cygwin utility from Task Scheduler.

2017-08-02 Thread Brian Inglis
On 2017-08-02 10:06, Oleksandr Gavenko wrote: > I prepared backup task in Bash script and added task to run it in Windows Task > Scheduler: > Executable: c:\opt\cygwin\bin\bash.exe > Params: c:\home\backup\backup-job.bash > Each time job run I see console screen. 'procmon' shown that it is:: >

Hiding console when running Cygwin utility from Task Scheduler.

2017-08-02 Thread Oleksandr Gavenko
I prepared backup task in Bash script and added task to run it in Windows Task Scheduler: Executable: c:\opt\cygwin\bin\bash.exe Params: c:\home\backup\backup-job.bash Each time job run I see console screen. 'procmon' shown that it is:: \??\C:\Windows\system32\conhost.exe 0x -Force

Re: when using cygwin version 2.8.2 the behavior of CR/LF changed completely compared to previous versions

2017-08-02 Thread David Macek
On 2. 8. 2017 17:34, Roger Krebs wrote: Hi, after updating from version 1.7.33 to version 2.8.2 the behavior of CR-LF handling completely changed. This results in several srcipt errors etc. See announcements: * for sed *

when using cygwin version 2.8.2 the behavior of CR/LF changed completely compared to previous versions

2017-08-02 Thread Roger Krebs
Hi, after updating from version 1.7.33 to version 2.8.2 the behavior of CR-LF handling completely changed. This results in several srcipt errors etc. Two examples: 1) using wmic together with grep Executing "wmic process get ExecutablePath,processID,commandline /

RE: Cygwin-X icons not appearing after Cygwin 64 bit install w/X selected as "install"

2017-08-02 Thread Cowan, Brian R
I started a terminal as a local administrator and reran /etc/postinstall/xinit.sh.done I got a bunch of "key exists" messages, but my icons appeared... I THINK the setup asked for elevation. I'll have to check that shortly. Brian -Original Message- From: cygwin-ow...@cygwin.com [mailto

Ruby ri does not display core docs - is it a bug or do I miss a package?

2017-08-02 Thread Ronald Fischer
I have installed Ruby and the Ruby-doc package (and also some other doc packages related to Ruby gems). However, ri does not work for core packages. Example: $ ri String = String < Object (from gem bigdecimal-1.3.2) -- =

Re: Recursively recreate hierarchy with NTFS hardlinks by Cygwin

2017-08-02 Thread Oleksandr Gavenko
On 2017-08-02, Oleksandr Gavenko wrote: > Experiments shown that my goal can be archived in single command: > > mkdir orig > echo 1 >>orig/my.txt > > mkdir backup > rsync -a orig/ backup/1 > rsync -a --link-dest=../1 orig/ backup/2 > > echo 2 >>backup/2/my.txt > cmp backup/1/my.txt b

Re: Recursively recreate hierarchy with NTFS hardlinks by Cygwin

2017-08-02 Thread Oleksandr Gavenko
On 2017-08-02, Oleksandr Gavenko wrote: > On Linux I uses: > > cp -al /backup/proj/DATEOLD /backup/proj/DATENEW > rsync ... /home/user/proj/ /backup/proj/DATENEW/ > > and employ hardlinks to preserve space. > > ``rsync --hard-links`` isn't reliable: > > bash# echo 1 >orig.txt > > bash# rs

Recursively recreate hierarchy with NTFS hardlinks by Cygwin

2017-08-02 Thread Oleksandr Gavenko
I am going to write backup solution for my personal laptop. I have 240GB SSD for development work and 500GB HDD for media files and backups. I am care only about project files and don't care about windows files or program installation (as registry also should be preserved for backup to be useful)