Re: Updated: setup.exe (Release 2.864)

2015-02-05 Thread Achim Gratz
Marco Atzeri writes: > strange as 4.9.2-2 is current for both architecture > > $ cygcheck -cd|grep gcc > gcc-core4.9.2-2 > gcc-fortran 4.9.2-2 > gcc-g++ 4.9.2-2 > > It could be a side effect of a messy setup

Re: setup*.exe should abort upon download incomplete?

2015-02-05 Thread Achim Gratz
Kal Sze writes: > 1. I think if the user answers "No", setup should abort the whole > process; The question from setup was if you wanted to retry the download, not if you wanted to abort. You seem to want it to ask another question. > 2. Alternatively, setup should not try to install the package

Re: Updated: setup.exe (Release 2.867)

2015-02-05 Thread Andrey Repin
Greetings, Luke Kendall! >> A new version of Setup, release 2.867, has been uploaded to >> >>https://cygwin.com/setup-x86.exe (32 bit version) >>https://cygwin.com/setup-x86_64.exe (64 bit version) >> >> The changes compared to 2.864 are mostly not visible: >> >> - There's one fix to

Re: Updated: setup.exe (Release 2.864)

2015-02-05 Thread Marco Atzeri
On 2/6/2015 12:17 AM, Vasiliy wrote: Re: Updated: setup.exe (Release 2.867) Re: Updated: gcc-4.9.2-2 (x86/x86_64) Dear Cygwin Team, i) I refer to [1], more recently to [2]: "The most visible effect is that Setup will now never downgrade a package." It downgrades the "gcc" package from 4.9.2-

Re: setup*.exe should abort upon download incomplete?

2015-02-05 Thread Yaakov Selkowitz
On Fri, 2015-02-06 at 07:43 +0100, Marco Atzeri wrote: > On 2/6/2015 2:59 AM, Kal Sze wrote: > > Hello, > > > > I just ran setup-x86_64.exe, marked some packages for update, and then > > it asked me "Download incomplete. Try again?" while it tried to > > download one of the packages. I clicked "No"

Re: setup*.exe should abort upon download incomplete?

2015-02-05 Thread Marco Atzeri
On 2/6/2015 2:59 AM, Kal Sze wrote: Hello, I just ran setup-x86_64.exe, marked some packages for update, and then it asked me "Download incomplete. Try again?" while it tried to download one of the packages. I clicked "No" and setup went ahead and tried to install them anyway, telling me some ki

Re: Updated: setup.exe (Release 2.867)

2015-02-05 Thread Luke Kendall
On 06/02/15 05:07, Corinna Vinschen wrote: Hi folks, A new version of Setup, release 2.867, has been uploaded to https://cygwin.com/setup-x86.exe (32 bit version) https://cygwin.com/setup-x86_64.exe (64 bit version) The changes compared to 2.864 are mostly not visible: - There's on

setup*.exe should abort upon download incomplete?

2015-02-05 Thread Kal Sze
Hello, I just ran setup-x86_64.exe, marked some packages for update, and then it asked me "Download incomplete. Try again?" while it tried to download one of the packages. I clicked "No" and setup went ahead and tried to install them anyway, telling me some kind of "null" error when it tried to un

[ANNOUNCEMENT] Updated: postgresql-9.4.1-1

2015-02-05 Thread Marco Atzeri
Version 9.4.1-1 of packages libecpg-compat3 libecpg-devel libecpg6 libpgtypes3 libpq-devel libpq5 postgresql postgresql-client postgresql-contrib postgresql-devel postgresql-doc postgresql-plperl postgresql-plpython are available in the Cygwin distribution: CYGWIN CHA

[ANNOUNCEMENT] Updated: _autorebase-001002-1

2015-02-05 Thread Achim Gratz
_autorebase === This package provides scripts to keep the Cygwin system properly rebased. By default this happens incrementally, which means after each run of setup.exe it is determined which packages have been newly installed and only the dynamic objects provided by those packages are r

Re: Updated: setup.exe (Release 2.864)

2015-02-05 Thread Vasiliy
Re: Updated: setup.exe (Release 2.867) Re: Updated: gcc-4.9.2-2 (x86/x86_64) Dear Cygwin Team, i) I refer to [1], more recently to [2]: "The most visible effect is that Setup will now never downgrade a package." It downgrades the "gcc" package from 4.9.2-2 to 4.9.2-1 right now [3]. ii) Would

mintty what $TERM setting should I use?

2015-02-05 Thread Andrey Repin
Greetings, All! If I understand correctly, mintty is based on PuTTY code. However, the PuTTY terminal capabilities are slightly different than of xterm, and terminfo database have separate profiles for putty/-vt100/-256color. My question is, what TERM should I use when advertising my caps to a rem

Re: [ANNOUNCEMENT] Updated: Cygwin 1.7.34-6

2015-02-05 Thread gjnospam2014-cygwinproblems
This update appears to break the no-X emacs daemon. Specifically, the process seems to hang, gettingas far as displaying "Starting Emacs daemon." but not (visibly) further. If you start an emacsclient from a different window, it is unable to find/connect to the server. If you are trying to star

Re: how to determine if a shell is running as Administrator?

2015-02-05 Thread Andrey Repin
Greetings, Andrew Schulman! >> However, the user token of such a user still contains the Administrators >> group (I just tested it) and thus the `id -G' test for 544 (or 0 with >> the old "root" entry in /etc/group) is still valid. > OK, I see. Yes, when I Run as administrator I have > $ id -G

Re: [ANNOUNCEMENT] Re: Updated: Cygwin 1.7.34-6

2015-02-05 Thread Achim Gratz
J2897 writes: > Unfortunately, as you can see, there seems to be a problem with > forwardslashes/backslashes after "C:\cygstore\". I'll try again tomorrow... That's normal and nothing to worry about. > package _autorebase comparing versions 000335-1 and 000335-1, result was 0 > package _update-in

Re: [ANNOUNCEMENT] Re: Updated: Cygwin 1.7.34-6

2015-02-05 Thread J2897
I tried installing from this script... http://pastebin.com/nZjyYRLa Unfortunately, as you can see, there seems to be a problem with forwardslashes/backslashes after "C:\cygstore\". I'll try again tomorrow... Starting cygwin install, version 2.864 User has backup/restore rights io_stream_cygfile:

[ANNOUNCEMENT] Updated: setup.exe (Release 2.867)

2015-02-05 Thread Corinna Vinschen
Hi folks, A new version of Setup, release 2.867, has been uploaded to https://cygwin.com/setup-x86.exe (32 bit version) https://cygwin.com/setup-x86_64.exe (64 bit version) The changes compared to 2.864 are mostly not visible: - There's one fix to the output when mistyping a command li

Re: Cygwin and BitLocker

2015-02-05 Thread Achim Gratz
DeTracey, Brendan writes: > Does anyone have experience with how Cygwin behaves with BitLocker? > BitLocker is being rolled out in my corporate environment for all > external media and I am a little concerned whether Cygwin will be able > to read/write to external drives. I do not have local admin

[ANNOUNCEMENT] Re: Updated: Cygwin 1.7.34-6

2015-02-05 Thread Corinna Vinschen
On Feb 4 14:46, Corinna Vinschen wrote: > Hi Cygwin friends and users, > > > At long last, I just released the first non-test version of Cygwin > 1.7.34. > > Note: The version number is 1.7.34-6 to allow automatic updating from > the last 1.7.34-005 test release with new setup versions. >

Cygwin and BitLocker

2015-02-05 Thread DeTracey, Brendan
Does anyone have experience with how Cygwin behaves with BitLocker? BitLocker is being rolled out in my corporate environment for all external media and I am a little concerned whether Cygwin will be able to read/write to external drives. I do not have local admin access on my machine. Thanks, B

Re: how to determine if a shell is running as Administrator?

2015-02-05 Thread Corinna Vinschen
On Feb 5 15:28, Achim Gratz wrote: > J. David Boyd writes: > > This doesn't seem to tell me if my shell has been started with 'Run As > > Administrator', it just tells me if my user is contained in the > > Administrator > > group. > > No, you're not in that group unless you have actual administr

Re: how to determine if a shell is running as Administrator?

2015-02-05 Thread Corinna Vinschen
On Feb 5 09:39, Andrew Schulman wrote: > > > > > > Andrew Schulman wrote: > > > What's a reliable and efficient way to determine programmatically if the > > > shell> that's running has elevated privileges? > > > > > Or if you prefer, how can I tell if the shell was started with "Run as > > > a

Re: how to determine if a shell is running as Administrator?

2015-02-05 Thread Achim Gratz
Andrew Schulman writes: > OK, I see. Yes, when I Run as administrator I have > > $ id -G > 513 114 1007 1001 0 545 4 66049 11 15 113 4095 66048 262154 405504 > > which includes 0. Remove the /etc/group file or the line for the "root" group (or install /etc/nsswitch.conf and tell it to ignore thos

Re: how to determine if a shell is running as Administrator?

2015-02-05 Thread Achim Gratz
Achim Gratz writes: > J. David Boyd writes: >> This doesn't seem to tell me if my shell has been started with 'Run As >> Administrator', it just tells me if my user is contained in the Administrator >> group. > > No, you're not in that group unless you have actual administrator > privileges. BTW,

Re: how to determine if a shell is running as Administrator?

2015-02-05 Thread Andrew Schulman
> > > Andrew Schulman wrote: > > What's a reliable and efficient way to determine programmatically if the > > shell> that's running has elevated privileges? > > > Or if you prefer, how can I tell if the shell was started with "Run as > > administrator"? > > If you search the mailing list arch

Re: how to determine if a shell is running as Administrator?

2015-02-05 Thread Andrew Schulman
> On Feb 5 12:08, Achim Gratz wrote: > > Corinna Vinschen writes: > > >> 2. Parse the output of groups or id -G. I can't find any reliable way > > >> to do > > >> this. For example on my host, when I start a shell with "Run as > > >> administrator", > > >> the new group I get isn't 544 (Admini

Re: how to determine if a shell is running as Administrator?

2015-02-05 Thread Achim Gratz
J. David Boyd writes: > This doesn't seem to tell me if my shell has been started with 'Run As > Administrator', it just tells me if my user is contained in the Administrator > group. No, you're not in that group unless you have actual administrator privileges. > I can start a cygwin shell, and s

Re: how to determine if a shell is running as Administrator?

2015-02-05 Thread J. David Boyd
Corinna Vinschen writes: > On Feb 5 04:43, Andrew Schulman wrote: >> What's a reliable and efficient way to determine programmatically if the >> shell >> that's running has elevated privileges? >> >> Or if you prefer, how can I tell if the shell was started with "Run as >> administrator"? > >

Re: how to determine if a shell is running as Administrator?

2015-02-05 Thread Corinna Vinschen
On Feb 5 12:08, Achim Gratz wrote: > Corinna Vinschen writes: > >> 2. Parse the output of groups or id -G. I can't find any reliable way to > >> do > >> this. For example on my host, when I start a shell with "Run as > >> administrator", > >> the new group I get isn't 544 (Administrators). It

Re: how to determine if a shell is running as Administrator?

2015-02-05 Thread Achim Gratz
Corinna Vinschen writes: >> 2. Parse the output of groups or id -G. I can't find any reliable way to do >> this. For example on my host, when I start a shell with "Run as >> administrator", >> the new group I get isn't 544 (Administrators). It's 114 (Local account and >> member of Administrator

Re: how to determine if a shell is running as Administrator?

2015-02-05 Thread GrahamC
Andrew Schulman wrote: > What's a reliable and efficient way to determine programmatically if the > shell> that's running has elevated privileges? > Or if you prefer, how can I tell if the shell was started with "Run as > administrator"? If you search the mailing list archive for "Change PS1

Re: how to determine if a shell is running as Administrator?

2015-02-05 Thread Corinna Vinschen
On Feb 5 04:43, Andrew Schulman wrote: > What's a reliable and efficient way to determine programmatically if the shell > that's running has elevated privileges? > > Or if you prefer, how can I tell if the shell was started with "Run as > administrator"? id -G | grep -qE '\<544\>' && echo admin

how to determine if a shell is running as Administrator?

2015-02-05 Thread Andrew Schulman
What's a reliable and efficient way to determine programmatically if the shell that's running has elevated privileges? Or if you prefer, how can I tell if the shell was started with "Run as administrator"? I'm looking for a solution that's reliable across installations and OS versions. I want it

Re: gcc warning about MPFR header version

2015-02-05 Thread Achim Gratz
Ken Brown writes: > I do have this, and I have no other version of the header. But this > >> #define MPFR_VERSION \ >> MPFR_VERSION_NUM(MPFR_VERSION_MAJOR,MPFR_VERSION_MINOR,MPFR_VERSION_PATCHLEVEL) > > yields a value of MPFR_VERSION that doesn't include the "-p11". Maybe > that's what confused g