Re: equivalent to su or sudo?

2018-08-17 Thread cyg Simple
On 8/17/2018 4:33 PM, David Rothenberger wrote: > Ulli Horlacher wrote: >> I need to run some scripts with full administrator rights (for chown, >> chmod, setfacl). >> Is there a cygwin equivalent to su or sudo? >> > > I use the following shell script to start a command as Administrator. I >

Re: scrolling through history in cygwin terminal window line gets garbled

2018-08-17 Thread cyg Simple
On 8/17/2018 9:18 PM, Steven Penny wrote: > On Fri, 17 Aug 2018 16:36:57, Thomas Wolff wrote: >> Please test the following: >> * Set you prompt to some basic string, e.g. PS1=%. Does that change >> anything? >> * Mintty 2.7.5 changed the default wraparound behaviour to become >> compatible with

Data Requirements

2018-08-17 Thread Daniel Jones
Hi, Data is constant in today's business eco-system. While most business wants data, many do not know how to understand it. With this info graphic, find about the different type of data & how to revamp your B2B marketing efforts. Kindly advise me on your requirements by filling in the

Re: scrolling through history in cygwin terminal window line gets garbled

2018-08-17 Thread Steven Penny
On Fri, 17 Aug 2018 16:36:57, Thomas Wolff wrote: Please test the following: * Set you prompt to some basic string, e.g. PS1=%. Does that change anything? * Mintty 2.7.5 changed the default wraparound behaviour to become compatible with the xterm default. With setting -o OldWrapModes=true,

Re: equivalent to su or sudo?

2018-08-17 Thread David Rothenberger
Ulli Horlacher wrote: > I need to run some scripts with full administrator rights (for chown, > chmod, setfacl). > Is there a cygwin equivalent to su or sudo? > I use the following shell script to start a command as Administrator. I mainly just use it to start mintty. #!/bin/bash

Re: [ANNOUNCEMENT] TEST RELEASE: Cygwin 2.11.0-0.2

2018-08-17 Thread Corinna Vinschen
On Aug 17 20:55, Achim Gratz wrote: > Corinna Vinschen writes: > > A CLI option "all-test" would be helpful, too :) > > That command (not exactly the same name, though) has been added to > cygport 9 months ago: > > http://repo.or.cz/cygport.git/commitdiff/515fc7caa1ccfd8ce3e67deeb6667be481f56e42

Re: [ANNOUNCEMENT] TEST RELEASE: Cygwin 2.11.0-0.2

2018-08-17 Thread Achim Gratz
Corinna Vinschen writes: > A CLI option "all-test" would be helpful, too :) That command (not exactly the same name, though) has been added to cygport 9 months ago: http://repo.or.cz/cygport.git/commitdiff/515fc7caa1ccfd8ce3e67deeb6667be481f56e42 Regards, Achim. -- +<[Q+ Matrix-12 WAVE#46+305

Re: Zstandard support for setup

2018-08-17 Thread Achim Gratz
While it seems like I'm talking to myself, in case anybody is listening: With the "normal" maximum compression level of 19 the package archive for my installation (including sources and debuginfo) got about 10% larger, taking about the same time as Xz for compression. Using the "ultra"

Re: [ANNOUNCEMENT] TEST RELEASE: Cygwin 2.11.0-0.2

2018-08-17 Thread Corinna Vinschen
On Aug 17 20:18, Achim Gratz wrote: > Corinna Vinschen writes: > > On Aug 17 10:36, Ken Brown wrote: > >> On 8/17/2018 6:36 AM, Corinna Vinschen wrote: > >> > I uploaded a new Cygwin test release 2.11.0-0.2 > >> > >> It looks like this didn't get marked as a test release in > >>

Re: memory reported in /proc/pid/status is wrongly scaled

2018-08-17 Thread Corinna Vinschen
On Aug 17 19:14, Corinna Vinschen wrote: > On Aug 17 16:05, Livio Bertacco wrote: > > Hi, > > While playing with reading process memory usage in Linux and cygwin, I > > found that cygwin reports too large values in /proc/self/status (in 2.10.0 > > and earlier). > > Whenever I was allocating a few

[newlib-cygwin] Cygwin: get_mem_values: Fix prototype

2018-08-17 Thread Corinna Vinschen
https://sourceware.org/git/gitweb.cgi?p=newlib-cygwin.git;h=71b4e3b3363a520e67f27a26d3a7630698a9fdfe commit 71b4e3b3363a520e67f27a26d3a7630698a9fdfe Author: Corinna Vinschen Date: Fri Aug 17 20:40:18 2018 +0200 Cygwin: get_mem_values: Fix prototype Incomplete change unsigned long

[newlib-cygwin] Cygwin: document /proc//status and /proc//statm patches

2018-08-17 Thread Corinna Vinschen
https://sourceware.org/git/gitweb.cgi?p=newlib-cygwin.git;h=09c114d7e2938782328def7b1d934942061db5e9 commit 09c114d7e2938782328def7b1d934942061db5e9 Author: Corinna Vinschen Date: Fri Aug 17 19:21:51 2018 +0200 Cygwin: document /proc//status and /proc//statm patches

[newlib-cygwin] Cygwin: get_mem_values: Convert arguments to call-by-reference

2018-08-17 Thread Corinna Vinschen
https://sourceware.org/git/gitweb.cgi?p=newlib-cygwin.git;h=7b70195f5d43d61c51a14ecbc7d3e93b32bf7db3 commit 7b70195f5d43d61c51a14ecbc7d3e93b32bf7db3 Author: Corinna Vinschen Date: Fri Aug 17 20:30:32 2018 +0200 Cygwin: get_mem_values: Convert arguments to call-by-reference

[newlib-cygwin] Cygwin: get_mem_values: Return allocation as size_t values

2018-08-17 Thread Corinna Vinschen
https://sourceware.org/git/gitweb.cgi?p=newlib-cygwin.git;h=630294d373405786cb0d5a96def66ea6b5993891 commit 630294d373405786cb0d5a96def66ea6b5993891 Author: Corinna Vinschen Date: Fri Aug 17 19:30:28 2018 +0200 Cygwin: get_mem_values: Return allocation as size_t values Use size_t

[newlib-cygwin] Revert "Use allocation granularity as the 'page_size' in /proc//status as well, for consistency

2018-08-17 Thread Corinna Vinschen
https://sourceware.org/git/gitweb.cgi?p=newlib-cygwin.git;h=ca2ec0c5cc73242a2a1d3863293c1fe647d6cc81 commit ca2ec0c5cc73242a2a1d3863293c1fe647d6cc81 Author: Corinna Vinschen Date: Fri Aug 17 19:16:42 2018 +0200 Revert "Use allocation granularity as the 'page_size' in /proc//status as

[newlib-cygwin] Cygwin: get_mem_values: Return number of Cygwin pages in arguments

2018-08-17 Thread Corinna Vinschen
https://sourceware.org/git/gitweb.cgi?p=newlib-cygwin.git;h=c2fa05899dba06eae0385c7223996d117020bc8c commit c2fa05899dba06eae0385c7223996d117020bc8c Author: Corinna Vinschen Date: Fri Aug 17 20:31:24 2018 +0200 Cygwin: get_mem_values: Return number of Cygwin pages in arguments

Re: distributing preconfigured cygwin

2018-08-17 Thread Achim Gratz
Ulli Horlacher writes: >> If they can follow your current instructions, they can surely start some >> script that does this correctly? > > I do not have a script which installs all needed packages. So write one. > This install script must first download the cygwin base package, install > it and

Re: equivalent to su or sudo?

2018-08-17 Thread Achim Gratz
Ulli Horlacher writes: > I need to run some scripts with full administrator rights (for chown, > chmod, setfacl). Whatever runs these scripts must already have aquired administrative rights. > Is there a cygwin equivalent to su or sudo? No, you can only start out with administrative rights and

Re: [ANNOUNCEMENT] TEST RELEASE: Cygwin 2.11.0-0.2

2018-08-17 Thread Achim Gratz
Corinna Vinschen writes: > On Aug 17 10:36, Ken Brown wrote: >> On 8/17/2018 6:36 AM, Corinna Vinschen wrote: >> > I uploaded a new Cygwin test release 2.11.0-0.2 >> >> It looks like this didn't get marked as a test release in >> cygwin-2.11.0-0.2.hint. > > Sigh. Should be fixed now. Would

Re: memory reported in /proc/pid/status is wrongly scaled

2018-08-17 Thread Corinna Vinschen
On Aug 17 16:05, Livio Bertacco wrote: > Hi, > While playing with reading process memory usage in Linux and cygwin, I > found that cygwin reports too large values in /proc/self/status (in 2.10.0 > and earlier). > Whenever I was allocating a few kB in my test program, the VmSize line in >

Re: [ANNOUNCEMENT] TEST RELEASE: Cygwin 2.11.0-0.2

2018-08-17 Thread Corinna Vinschen
On Aug 17 10:36, Ken Brown wrote: > On 8/17/2018 6:36 AM, Corinna Vinschen wrote: > > I uploaded a new Cygwin test release 2.11.0-0.2 > > It looks like this didn't get marked as a test release in > cygwin-2.11.0-0.2.hint. Sigh. Should be fixed now. Sorry, Corinna -- Corinna Vinschen

Re: [ANNOUNCEMENT] TEST RELEASE: Cygwin 2.11.0-0.2

2018-08-17 Thread Marco Atzeri
Am 17.08.2018 um 16:36 schrieb Ken Brown: On 8/17/2018 6:36 AM, Corinna Vinschen wrote: I uploaded a new Cygwin test release 2.11.0-0.2 It looks like this didn't get marked as a test release in cygwin-2.11.0-0.2.hint. Ken or the override.hint is missing Marco --- Diese E-Mail wurde von

[ANNOUNCEMENT] Updated: octave-4.4.1-1

2018-08-17 Thread Marco Atzeri
New versions 4.4.1-1 of octave octave-devel octave-doc are available in the Cygwin distribution: CHANGES Latest upstream bugfix release. https://www.gnu.org/software/octave/news/release/2018/08/09/octave-4.4.1-released.html Full changes:

Updated: octave-4.4.1-1

2018-08-17 Thread Marco Atzeri
New versions 4.4.1-1 of octave octave-devel octave-doc are available in the Cygwin distribution: CHANGES Latest upstream bugfix release. https://www.gnu.org/software/octave/news/release/2018/08/09/octave-4.4.1-released.html Full changes:

Re: equivalent to su or sudo?

2018-08-17 Thread Andrey Repin
Greetings, Ulli Horlacher! > I need to run some scripts with full administrator rights (for chown, > chmod, setfacl). > Is there a cygwin equivalent to su or sudo? If by that you mean "run privileged program inside a user terminal", no. This is inherently insecure and not supported under

Re: distributing preconfigured cygwin (was: running self compiled 32 bit binary on 64 bit Windows?)

2018-08-17 Thread Andrey Repin
Greetings, Ulli Horlacher! > On Sat 2018-07-14 (16:31), Achim Gratz wrote: >> >> You have to install Cygwin, not "transfer". >> > >> > I have several 100 users, none of them is able to install cygwin and >> > the packages they need the official way, they are way to *CENSORED* for >> > this job

Re: Fw: When scrolling through history in cygwin terminal window line gets garbled

2018-08-17 Thread Thomas Wolff
Am 17.08.2018 um 15:36 schrieb surendar jeyadev via cygwin: I am having a similar issue to that pictorially shown here: https://unix.stackexchange.com/questions/344502/when-scrolling-through-history-in-cygwin-terminal-window-line-gets-garbled This is new to me as I have been using

Re: [ANNOUNCEMENT] TEST RELEASE: Cygwin 2.11.0-0.2

2018-08-17 Thread Ken Brown
On 8/17/2018 6:36 AM, Corinna Vinschen wrote: I uploaded a new Cygwin test release 2.11.0-0.2 It looks like this didn't get marked as a test release in cygwin-2.11.0-0.2.hint. Ken -- Problem reports: http://cygwin.com/problems.html FAQ: http://cygwin.com/faq/

memory reported in /proc/pid/status is wrongly scaled

2018-08-17 Thread Livio Bertacco
Hi, While playing with reading process memory usage in Linux and cygwin, I found that cygwin reports too large values in /proc/self/status (in 2.10.0 and earlier). Whenever I was allocating a few kB in my test program, the VmSize line in /proc/self/status was growing several times faster. Small

Fw: When scrolling through history in cygwin terminal window line gets garbled

2018-08-17 Thread surendar jeyadev via cygwin
I am having a similar issue to that pictorially shown here: https://unix.stackexchange.com/questions/344502/when-scrolling-through-history-in-cygwin-terminal-window-line-gets-garbled This is new to me as I have been using Cygwin on a Windows 7 machine for several years without

Re: Cygwin Setup 2.893 on Windows 10 Version 1709

2018-08-17 Thread Marco Atzeri
back on the mailing list bottom post here. Am 17.08.2018 um 13:58 schrieb Senden, Ruediger: To switch between the cygwin versions i renamed only the C:\Cygwin root directory -Original Message- From: On Behalf Of Marco Atzeri Sent: Tuesday, August 14, 2018 7:09 PM To: cygwin at

Re: equivalent to su or sudo?

2018-08-17 Thread Ulli Horlacher
On Fri 2018-08-17 (12:29), john doe wrote: > On 8/17/2018 12:01 PM, Ulli Horlacher wrote: > > > I need to run some scripts with full administrator rights (for chown, > > chmod, setfacl). > > Is there a cygwin equivalent to su or sudo? > > > >

[ANNOUNCEMENT] TEST RELEASE: Cygwin 2.11.0-0.2

2018-08-17 Thread Corinna Vinschen
Hi folks, I uploaded a new Cygwin test release 2.11.0-0.2 I'm planning for a release end of August. Please test. Changes 0.1 -> 0.2: - Drop denormal-operand exception from FE_ALL_EXCEPT, as on Linux. - Rename the --file option of setfacl(1) to --set-file, as on Linux. - Fix NaN handling in

TEST RELEASE: Cygwin 2.11.0-0.2

2018-08-17 Thread Corinna Vinschen
Hi folks, I uploaded a new Cygwin test release 2.11.0-0.2 I'm planning for a release end of August. Please test. Changes 0.1 -> 0.2: - Drop denormal-operand exception from FE_ALL_EXCEPT, as on Linux. - Rename the --file option of setfacl(1) to --set-file, as on Linux. - Fix NaN handling in

Re: equivalent to su or sudo?

2018-08-17 Thread john doe
On 8/17/2018 12:01 PM, Ulli Horlacher wrote: I need to run some scripts with full administrator rights (for chown, chmod, setfacl). Is there a cygwin equivalent to su or sudo? https://stackoverflow.com/questions/4090301/root-user-sudo-equivalent-in-cygwin -- John Doe -- Problem reports:

equivalent to su or sudo?

2018-08-17 Thread Ulli Horlacher
I need to run some scripts with full administrator rights (for chown, chmod, setfacl). Is there a cygwin equivalent to su or sudo? -- Ullrich Horlacher Server und Virtualisierung Rechenzentrum TIK Universitaet Stuttgart E-Mail: horlac...@tik.uni-stuttgart.de

Re: distributing preconfigured cygwin

2018-08-17 Thread john doe
On 8/17/2018 11:41 AM, Ulli Horlacher wrote: On Sat 2018-07-14 (16:31), Achim Gratz wrote: You have to install Cygwin, not "transfer". I have several 100 users, none of them is able to install cygwin and the packages they need the official way, they are way to *CENSORED* for this job :-}

[newlib-cygwin] Cygwin: Add missing items to release notes

2018-08-17 Thread Corinna Vinschen
https://sourceware.org/git/gitweb.cgi?p=newlib-cygwin.git;h=76d17e68607800584ea9b194bfa5a1d9cfc3b1d6 commit 76d17e68607800584ea9b194bfa5a1d9cfc3b1d6 Author: Corinna Vinschen Date: Fri Aug 17 11:49:21 2018 +0200 Cygwin: Add missing items to release notes Signed-off-by: Corinna

[ANNOUNCEMENT] Updated: postgresql-10.5-1

2018-08-17 Thread Marco Atzeri
Version 10.5-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: CHANGES

Updated: postgresql-10.5-1

2018-08-17 Thread Marco Atzeri
Version 10.5-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: CHANGES

distributing preconfigured cygwin (was: running self compiled 32 bit binary on 64 bit Windows?)

2018-08-17 Thread Ulli Horlacher
On Sat 2018-07-14 (16:31), Achim Gratz wrote: > >> You have to install Cygwin, not "transfer". > > > > I have several 100 users, none of them is able to install cygwin and > > the packages they need the official way, they are way to *CENSORED* for > > this job :-} > > If they can follow your

Re: [PATCH] setfacl: Rename the option --file to --set-file, as on Linux

2018-08-17 Thread Corinna Vinschen
On Aug 16 14:55, Ken Brown wrote: > Retain --file as an undocumented option for backwards compatibility. > --- > winsup/cygwin/release/2.11.0 | 2 ++ > winsup/doc/new-features.xml | 4 > winsup/doc/utils.xml | 4 ++-- > winsup/utils/setfacl.c | 5 +++-- > 4 files changed, 11

[newlib-cygwin] setfacl: Rename the option --file to --set-file, as on Linux

2018-08-17 Thread Corinna Vinschen
https://sourceware.org/git/gitweb.cgi?p=newlib-cygwin.git;h=ed4d919c246468dbc4e71ffa1d736d8bbd01d763 commit ed4d919c246468dbc4e71ffa1d736d8bbd01d763 Author: Ken Brown Date: Thu Aug 16 14:55:28 2018 -0400 setfacl: Rename the option --file to --set-file, as on Linux Retain --file

Re: Postgresql 10.5 Availability

2018-08-17 Thread Marco Atzeri
Am 16.08.2018 um 21:15 schrieb Parker, Shaun [US] (MS): Are there plans to make the postgresql 10.5 package available to the cygwin community? It is now available Regards Marco --- Diese E-Mail wurde von Avast Antivirus-Software auf Viren geprüft. https://www.avast.com/antivirus --