Re: rename() cannot replace the file which is opened with writable access

2017-01-11 Thread Andrey Repin
Greetings, Masamichi Hosoda! > I've found that rename() cannot replace the file > which is opened with writable access on Cygwin. > On Linux, it works. It is OS dependent behavior, and vary even on same OS. Windows may let you rename a file, or may not, depends on how exactly it is opened. --

Re: hang on 'cat /proc/mounts' when one of the network drives is on a 'down' system

2017-01-11 Thread L. A. Walsh
Corinna Vinschen wrote: I know why this happens but I don't see an easy way around that. Basically the problem is that Cygwin has no control over the OS mount points (i. e., drive letter mapping and volume ireparse points). Given that, apart from C: maybe, the drive letter mapping can change any

rename() cannot replace the file which is opened with writable access

2017-01-11 Thread Masamichi Hosoda
Hello, I've found that rename() cannot replace the file which is opened with writable access on Cygwin. On Linux, it works. If I understand correctly, it should work under POSIX. Here's sample code for reproduce. ``` #include #include #include #define OLDPATH "oldpath" #define NEWPATH "newp

Re: [ANNOUNCEMENT] Updated: Cygwin 2.6.1-1

2017-01-11 Thread Steven Penny
On Wed, 11 Jan 2017 18:22:26, Eliot Moss wrote: > I think that encouraging more positive and professional > interchanges *is* constructive, in the broader sense of > building community, but YMMV. Thank you for your input. However, did you have an answer to the question at hand? -- Problem report

Re: [ANNOUNCEMENT] Updated: Cygwin 2.6.1-1

2017-01-11 Thread Steven Penny
On Wed, 11 Jan 2017 14:41:04, Brian Inglis wrote: > I have not seen you provide any output from the locale command, > or any mention of your Windows regional settings. That is not how this works. I posit that this is a Cygwin issue, not a Steven issue. I went back through all the posts of this th

Re: [ANNOUNCEMENT] Updated: Cygwin 2.6.1-1

2017-01-11 Thread Eliot Moss
I think that encouraging more positive and professional interchanges *is* constructive, in the broader sense of building community, but YMMV. Regards -- Eliot Moss -- Problem reports: http://cygwin.com/problems.html FAQ: http://cygwin.com/faq/ Documentation: http:

Re: [ANNOUNCEMENT] Updated: Cygwin 2.6.1-1

2017-01-11 Thread Steven Penny
On Wed, 11 Jan 2017 15:40:49, Eliot Moss wrote: > On 1/11/2017 2:37 PM, Steven Penny wrote: > I am getting tired of the somewhat sniping tone of this email thread. Thank you for the email. However, did you have something constructive to add to the conversation, like an answer to the issue? -- Pr

Re: WinCompose vs. Cygwin/X

2017-01-11 Thread Michael Schaap
On 11-Jan-17 9:51, Csaba Raduly wrote: Hi Michael, On Tue, Jan 10, 2017 at 2:28 PM, Michael Schaap wrote: I recently discovered WinCompose , a Windows port of XCompose, and fell in love with it. Unfortunately, it doesn't play nice with Cygwin/X, it se

postgresql - Cannot initialize new Postgres database on Cygwin - Super User

2017-01-11 Thread Chloe
When I try to initialize a new database, I get an error: $ /usr/sbin/pg_ctl init no data was returned by command ""/usr/sbin/initdb.exe" -V" The program "initdb" is needed by pg_ctl but was not found in the same directory as "/usr/sbin/pg_ctl". Check your installation.

Re: [ANNOUNCEMENT] Updated: Cygwin 2.6.1-1

2017-01-11 Thread Brian Inglis
On 2017-01-11 12:37, Steven Penny wrote: > On Wed, 11 Jan 2017 10:53:55, Brian Inglis wrote: >> Launch Character Map app, find Omega, Select, and Copy, and you should >> be able to paste it into any window. > > Nope. I made it clear already, even from my first post that it doesnt work > from >

Re: [ANNOUNCEMENT] Updated: Cygwin 2.6.1-1

2017-01-11 Thread Eliot Moss
On 1/11/2017 2:37 PM, Steven Penny wrote: On Wed, 11 Jan 2017 10:53:55, Brian Inglis wrote: Launch Character Map app, find Omega, Select, and Copy, and you should be able to paste it into any window. Nope. I made it clear already, even from my first post that it doesnt work from pasting. Pos

Re: [ANNOUNCEMENT] Updated: lapack-3.7.0-1

2017-01-11 Thread Ian Lambert via cygwin
On January 11, 2017 3:41:42 AM EST, Marco Atzeri wrote: >To: cygwin-annou...@cygwin.com >Subject: Updated: lapack-3.7.0-1 > >New versions lapack-3.7.0-1 of > >lapack (source) >liblapack0 >liblapack-devel >liblapack-doc > >are available in the Cygwin distribution, 32 and 64 bit : > Is anyone else

Re: hang on 'cat /proc/mounts' when one of the network drives is on a 'down' system

2017-01-11 Thread Corinna Vinschen
On Jan 10 20:43, L A Walsh wrote: > I noticed my local terminals were not opening w/a shell prompt, but > would timeout if I waited long enough...(1-2 minutes? maybe?). > > Turns out, one of my mounted net-drives was a down-system, so > if I was trying to access the drive (or content on it), I can

Re: [ANNOUNCEMENT] Updated: Cygwin 2.6.1-1

2017-01-11 Thread Steven Penny
On Wed, 11 Jan 2017 10:53:55, Brian Inglis wrote: > Launch Character Map app, find Omega, Select, and Copy, and you should > be able to paste it into any window. Nope. I made it clear already, even from my first post that it doesnt work from pasting. > Post your cmd console code page and locale

Re: [ANNOUNCEMENT] Updated: Cygwin 2.6.1-1

2017-01-11 Thread Brian Inglis
On 2017-01-11 05:51, Steven Penny wrote: > On Tue, 10 Jan 2017 23:49:16, Brian Inglis wrote: >> Both of which run under the cmd console > > No, they dont. They both run under the Console Window Host. > >> You can look up which characters are displayed using Alt-numpad-digits >> at https://en.wik

[ANNOUNCEMENT] emacs-auctex 11.90-1

2017-01-11 Thread Ken Brown
The following packages have been uploaded to the Cygwin distribution: * emacs-auctex-11.90-1 * preview-latex-11.90-1 AUCTeX is an extensible package for writing and formatting TeX files in GNU Emacs and XEmacs. It supports many different TeX macro packages, including AMS-TeX, LaTeX, Texinfo, Con

Re: [ANNOUNCEMENT] Updated: Cygwin 2.6.1-1

2017-01-11 Thread Steven Penny
On Tue, 10 Jan 2017 23:49:16, Brian Inglis wrote: > Both of which run under the cmd console No, they dont. They both run under the Console Window Host. > You can look up which characters are displayed using Alt-numpad-digits > at https://en.wikipedia.org/wiki/Code_page_437 or in the selected cod

[ANNOUNCEMENT] Updated: lapack-3.7.0-1

2017-01-11 Thread Marco Atzeri
To: cygwin-annou...@cygwin.com Subject: Updated: lapack-3.7.0-1 New versions lapack-3.7.0-1 of lapack (source) liblapack0 liblapack-devel liblapack-doc are available in the Cygwin distribution, 32 and 64 bit : CHANGES This is latest upstream version LAPACK 3.7.0: What’s new Linear Least Sq

[ANNOUNCEMENT] Updated: hwloc 1.11.5-1

2017-01-11 Thread Marco Atzeri
Version 1.11.5-1 of packages hwloc libhwloc-devel libhwloc5 are available in the Cygwin distribution: CHANGES Upstream bugfix release Full upstream changes: https://mail-archive.com/hwloc-announce@lists.open-mpi.org/msg00093.html DESCRIPTION The Portable Hardware Locality (hwloc) softw

Re: WinCompose vs. Cygwin/X

2017-01-11 Thread Csaba Raduly
Hi Michael, On Tue, Jan 10, 2017 at 2:28 PM, Michael Schaap wrote: > I recently discovered WinCompose , > a Windows port of XCompose, and fell in love with it. > > Unfortunately, it doesn't play nice with Cygwin/X, it seems. (snip various scenarios and po