Re: non-persistent storage?

2019-12-12 Thread Jürgen Wagner
Fri 2019-12-13 (00:03), Jürgen Wagner wrote: 1. You create a RAM disk How do I do it with cygwin? 2. You encrypt the data with a ephemeral key This is exactly what I want to share between processes! smime.p7s Description: S/MIME Cryptographic Signature

Re: non-persistent storage?

2019-12-12 Thread Jürgen Wagner
ent exists - opening as client segptr: myFunnyC8380ufsKey # On reboot of the host Windows, the shared memory segment will not be persisted. Cheers, --j. On 13.12.2019 00:21, Ulli Horlacher wrote: On Fri 2019-12-13 (00:03), Jürgen Wagner wrote: 1. You create a RAM disk How do I do it with cy

Re: non-persistent storage?

2019-12-12 Thread Jürgen Wagner
I can see two options: 1. You create a RAM disk and the contents will obviously be gone when the system reboots or crashes. 2. You encrypt the data with a ephemeral key that will be lost on reboot (e.g., kept in shared memory). When the system comes up and finds itself unable to read the data,

Re: ls \\\\\?\\DRIVE\\ Aborted (core dumped)

2019-09-23 Thread Jürgen Wagner
D:/ is not present on drive C: or drive D:. At least, "find" did not turn up anything. Cheers, --j. On 24.09.2019 01:24, Jürgen Wagner wrote: The whole interpretation of paths of this sort seems to be inconsistent. ls \?\\c:\\ => lists C:/ ls \?\\d:\\ => lists D:/

Re: ls \\\\\?\\DRIVE\\ Aborted (core dumped)

2019-09-23 Thread Jürgen Wagner
The whole interpretation of paths of this sort seems to be inconsistent. ls \?\\c:\\ => lists C:/ ls \?\\d:\\ => lists D:/ ls \?\\blah:\\ assertion "p >= path" failed: file "/home/corinna/src/cygwin/cygwin-3.0.7/cygwin-3.0.7-1.x86_64/src/newlib-cygwin/winsup/cygwin/path.cc", line

Re: hey

2019-02-02 Thread Jürgen Wagner
Sounds like the predecessor of this: https://www.nsnam.org/ Maybe it's time to switch from ns-2 to something more recent? On 02.02.2019 12:58, Björn Stabel wrote: > https://github.com/hbatmit/ns2.35 > I'm guessing it's this? > GitHub says it was last updated 6 years ago and the readme suggests it

Re: Filesystem enumeration performance improvement

2018-09-30 Thread Jürgen Wagner
Hi Marco,   as you don't use the Cygwin APIs but go to the Windows APIs directly, any changes to the way stat()/readdir() or related functions in Cygwin operate do not seem to be a plausible reason why your code is running faster. I doubt printf() can be improved to provide such a dramatic

Re: fork errors

2018-04-03 Thread Jürgen Wagner
Simon,   chances are this has nothing to do with rebasing but rather with the anti-virus product on your system. Do you happen to use Comodo CIS? Without proper configuration, Cygwin will show such fork fails in some situations. Cheers, --J. On 03/04/2018 17:20, Simon Matthews wrote: >> I have

Re: Run command in new window

2017-12-26 Thread Jürgen Wagner
Why don't you put the stuff to execute into a nice shell script and get rid of the intricacies of quoting on the command line level? That'a way easier to manage and test. --j. On 27.12.2017 00:44, Steven Penny wrote: > On Tue, 26 Dec 2017 17:44:11, cyg Simple wrote: >> If you want to pass quotes

Re: Files created in cygwin on fileshare no longer allow "delete" in NTFS

2017-12-11 Thread Jürgen Wagner
Hi Eric,   what are the permission settings on the containing directory? Cheers, --J. On 11.12.2017 20:58, Eric Duesterhaus wrote: > Hi Cygwin Community, > > We are currently encountering an issue with Cygwin in regards to NTFS > permissions on files created within Cygwin. I'll try to outline

Re: How to specify the user directory OUTSIDE of Cygwin (installation folder)?

2017-09-09 Thread Jürgen Wagner
Hi,   of course, you could change something in /etc/passwd to define a new home directory. However, it is good to have the convention of home directories being under one root (at least for non-administrative accounts). Therefore, my preferred solution is to make a symbolic link. /home/USER =>

Re: Challenge: a VERY strange problem with command substitution in bash

2017-07-28 Thread Jürgen Wagner
Hello, I apologize for not responding earlier - but a project kept me overly busy, so extra cycles to reply here were not available. The winner is: Richard Beels. Yes, you are right. Comodo was the source of my problems. What's funny is that when I migrated to Win10, I ran into this before and

Re: Challenge: a VERY strange problem with command substitution in bash

2017-07-11 Thread Jürgen Wagner
And here another little detail: I installed Babun on the Windows 10 machine. juergen@saraswati ~ $ value="$( date | cat )"; echo $? $value 0 Tue, Jul 11, 2017 10:24:02 PM juergen@saraswati ~ $ echo $BASH_VERSION 4.3.33(1)-release juergen@saraswati ~ $ It works. The BASH_VERSION on the other

Re: Challenge: a VERY strange problem with command substitution in bash

2017-07-11 Thread Jürgen Wagner
Sorry, little omission: the first example under section 3 is not with bash, it was done with dash. smime.p7s Description: S/MIME Cryptographic Signature

Challenge: a VERY strange problem with command substitution in bash

2017-07-11 Thread Jürgen Wagner
Hello, this is my first posting here as I do not see any other hope of getting this resolved. Research in mailing lists and other Cygwin users' questions on various sites have not proven to be useful. 1. Ubuntu 4.4.0-71-generic x86_64, /bin/bash $ value="$( date | cat )"; echo "$? <$value>" 0