Re: [Improvement] Cache user auth and converted paths for child-processes

2025-01-19 Thread Doug Henderson via Cygwin
On Sun, Jan 19, 2025 at 10:05 AM Brian Inglis via Cygwin wrote: > On 2025-01-19 05:56, Devste Devste via Cygwin wrote: > > strace -o strace.log dirname -- /some/path/here > > There are 2 points that could make it significantly faster and > > shouldn't be too hard to implement? > ... Drop all the

Re: A/B install?

2024-08-31 Thread Doug Henderson via Cygwin
On Sat, Aug 31, 2024 at 4:51 PM Andrey Repin via Cygwin wrote: > > Greetings, Jason Pyeron! > > > Sad to admit, but I have not updated Cygwin in a very long time. > > > It takes a very long (more than an hour) time to update Cygwin due to the > > amount of items installed. … Sorry if I mention s

Re: See repeated /usr/bin in my path

2024-04-17 Thread Doug Henderson via Cygwin
On Wed, Apr 17, 2024 at 11:11 AM J M via Cygwin wrote: > > Hi, > > I see repeated /usr/bin in my path. > I don't known if is something of my PC or not. > > To check I do: > which -a ls > Show: > /usr/bin/ls > /usr/bin/ls This is normal! We do this because on Linux, the two paths may be different,

Re: installed 3.5.1-1 but uname shows 3.4.9-1.x86_64

2024-03-03 Thread Doug Henderson via Cygwin
On Sun, Mar 3, 2024 at 4:23 PM Brian Inglis via Cygwin wrote: > > On 2024-03-03 15:29, Doug Henderson via Cygwin wrote: > > A recent run of setup showed it installed 3.5.1-1 but uname -a reports > > 3.4.9-1.x86_64 > ... logs in /var/log ... see /proc/version >

installed 3.5.1-1 but uname shows 3.4.9-1.x86_64

2024-03-03 Thread Doug Henderson via Cygwin
A recent run of setup showed it installed 3.5.1-1 but uname -a reports 3.4.9-1.x86_64 $ uname -a CYGWIN_NT-10.0-19045 mars 3.4.9-1.x86_64 2023-09-06 11:19 UTC x86_64 Cygwin I used setup to reinstall cygwin 3.5.1-1 but uname still reports 3.4.9-1. I don't see any errors reported during setup execu

Re: Capturing a Cygwin instance from another PC

2023-11-23 Thread Doug Henderson via Cygwin
> Jose Isaias Cabrera via Cygwin writes: > > I have a new Win11 PC, and I wanted to capture the same Cygwin setup > > that I have in another Win10 PC. I copied the C:\cygwin64 folder from > > the Win10 pc to the Win11 pc, I use the attached script (rename it to remove the .txt extension) to clone

Re: Cygwin tool to differ junctions from soft links?

2023-11-16 Thread Doug Henderson via Cygwin
> On Wed, Nov 1, 2023 at 10:14 AM Martin Wege wrote: > > > > Good morning! > > > > Does Cygwin have a command line tool (Scriptable!) which can be used > > to differ between soft links and Windows junctions? > > > > Thanks, > > Martin Cygwin itself does not have a command, that I know of, to do t

Re: Test for Windows Administrator permissions from Cygwin terminal|script?

2023-08-18 Thread Doug Henderson via Cygwin
On Thu, Aug 17, 2023 at 8:02 PM Martin Wege via Cygwin wrote: > How can I find out whether the current Cygwin terminal has > Administrator rights? I want to safeguard our admin scripts with a > simple test and bail out with an error if someone wants to do admin > stuff (say: regtool) without admin

Re: Cygwin packages with unnecessary __pycache__ directories

2021-11-30 Thread Doug Henderson via Cygwin
On Tue, 30 Nov 2021 at 10:45, Adam Dinwoodie wrote: > > Hi all, > > I spotted earlier today that there are a significant number of Cygwin > packages that seem to include __pycache__ directories in the package. > I'd have expected this to be an error, and any Python code to be > distributed without

Re: ssmtp-config fails on step 6

2021-11-19 Thread Doug Henderson via Cygwin
On Fri, 19 Nov 2021 at 17:21, Andrey Repin via Cygwin wrote: > > Greetings, Kevin Andrew Lipscomb! > > > ssmtp-config fails silently on step 6 at the first call to > > /usr/sbin/alternatives. > > > I isolated the alternatives command, added the --verbose switch to it, and > > ran the result from

Re: ssmtp-config fails on step 6

2021-11-19 Thread Doug Henderson via Cygwin
On Fri, 19 Nov 2021 at 11:00, Kevin Andrew Lipscomb via Cygwin wrote: > > ssmtp-config fails silently on step 6 at the first call to > /usr/sbin/alternatives. > > I isolated the alternatives command, added the --verbose switch to it, and > ran the result from a bash shell that was launched as Ad

Re: Ctrl+C is sometimes ignored on Windows Terminal

2021-11-01 Thread Doug Henderson via Cygwin
On Mon, 1 Nov 2021 at 02:35, Naoto Aoki via Cygwin wrote: > > Hi, > > When I'm using some programs such as bash and python from cygwin under > Windows Terminal, Ctrl+C is sometimes ignored. > https://github.com/microsoft/terminal > snip What do you expect to happen when you press Ctrl+C. - break

Re: [ANNOUNCEMENT] Updated: cygutils 1.4.16-7

2021-09-26 Thread Doug Henderson via Cygwin
On Sun, 26 Sept 2021 at 03:41, Mark Geisert wrote: > > Hi Takashi, > > > > > Currently, putclip calls OpenClipboard()/CloseClipboard() four > > times. Is there any reason why closing and reopening clipboard > > several times? > > I don't know why the author coded putclip that way. Perhaps Windows

Re: many cygwin shells/tools (tcsh, fish, bash, and zsh) crashing STATUS_ACCESS_VIOLATION

2021-08-10 Thread Doug Henderson via Cygwin
On Tue, 10 Aug 2021 at 13:50, Mark Geisert wrote: > > David Dyck via Cygwin wrote: > > On Tue, Aug 10, 2021 at 10:56 AM Brian Inglis wrote: Are you running any cygwin services? Be sure to stop them, and all other cygwin processes before running cygwin setup. Having any cygwin process running wh

[ANNOUNCEMENT] expat 2.4.1-1

2021-07-23 Thread Doug Henderson via Cygwin-announce via Cygwin
The following packages have been uploaded to the Cygwin distribution: * expat-2.4.1-1 * libexpat1-2.4.1-1 * libexpat-devel-2.4.1-1 This is Expat, a C library for parsing XML, originally written by James Clark, and now maintained by a loose group of developers. Expat is a stream-oriented XML parse

expat 2.4.1-1

2021-07-23 Thread Doug Henderson via Cygwin
The following packages have been uploaded to the Cygwin distribution: * expat-2.4.1-1 * libexpat1-2.4.1-1 * libexpat-devel-2.4.1-1 This is Expat, a C library for parsing XML, originally written by James Clark, and now maintained by a loose group of developers. Expat is a stream-oriented XML parse

Re: Setup shows errors from gnuplot-base.dash and python38-devel.sh

2021-07-15 Thread Doug Henderson via Cygwin
"On Thu, 15 Jul 2021 at 05:59, Ken Brown via Cygwin wrote: > > On 7/14/2021 9:20 PM, Doug Henderson via Cygwin wrote: > > On Wed, 14 Jul 2021 at 16:33, Ken Brown via Cygwin > > wrote: > >> > >> On 7/14/2021 5:08 PM, Doug Henderson via Cygwin wrote:

Re: Setup shows errors from gnuplot-base.dash and python38-devel.sh

2021-07-14 Thread Doug Henderson via Cygwin
On Wed, 14 Jul 2021 at 16:33, Ken Brown via Cygwin wrote: > > On 7/14/2021 5:08 PM, Doug Henderson via Cygwin wrote: > > On Wed, 14 Jul 2021 at 13:03, Achim Gratz wrote: > >> > >> Doug Henderson via Cygwin writes: > >>> The first error message occu

Re: Setup shows errors from gnuplot-base.dash and python38-devel.sh

2021-07-14 Thread Doug Henderson via Cygwin
On Wed, 14 Jul 2021 at 13:03, Achim Gratz wrote: > > Doug Henderson via Cygwin writes: > > The first error message occurred when I installed all pending packages > > this morning. I hoped to heal the problem by reinstalling the > > installed gnuplot packages. Now I get b

Setup shows errors from gnuplot-base.dash and python38-devel.sh

2021-07-14 Thread Doug Henderson via Cygwin
When running setup-x86_64.exe version 2.908 (64-bit) I get errors after rebase: Package: _/gnuplot-base gnuplot-base.dash exit code 2 Package: _/Unknown package python38-devel.sh exit code 2 The first error message occurred when I installed all pending packages this morning. I hoped to he

Re: Cygwin, Unicode and "long" path names

2021-06-25 Thread Doug Henderson via Cygwin
)()On Fri, 25 Jun 2021 at 19:55, Vadim wrote: > > Ah, this beautiful topic. Windows 7 x64. > > This is the summary written as post-scriptum, tests and findings below: > > 1) Cygwin limits individual names to 255 bytes, Windows seems to follow > UTF-16 chars and work fine: 256 bytes in 108 characte

Re: Type of symlink file and readshortcut

2021-06-23 Thread Doug Henderson via Cygwin
On Wed, 23 Jun 2021 at 16:28, Mark Geisert wrote: > Håkon Hægland via Cygwin wrote: > > I am on Windows 10 Home, 21H1. I am trying to understand what type of files > > are generated by the "ln -s" command. According to this blog: > > > > https://blogs.windows.com/windowsdeveloper/2016/12/02/symlin

Uninstall python 2.7 fails - alternative dependencies

2021-03-02 Thread Doug Henderson via Cygwin
I attempted to remove all packages related to Python 2.7 from my cygwin installation. I am unable to remove four packages. python2 python27 python27-pip python27-setuptools There are over 500 packages that require python2 and over 700 packages which depend2 on python2. There are also around 90

Re: CRITICAL ls MEMORY LEAK

2021-02-22 Thread Doug Henderson via Cygwin
On Sun, 21 Feb 2021 at 08:21, Satalink via Cygwin wrote: > > I deal with a lot of very large files on a regular basis. I've noticed that > when I delve into these directories using in mintty and issue the command ls > -l (or ls -color=auto), a very large junk of memory is consumed. The > memor

Re: tee: 'standard output': Permission denied

2020-12-29 Thread Doug Henderson via Cygwin
On Tue, 29 Dec 2020 at 14:48, Andry via Cygwin wrote: > > "%CYGWIN_ROOT%\bin\bash.exe" -c "{ cd ""%PWD:\=/%""; CHERE_INVOKING=. > ""%CYGWIN_ROOT:\=/%/bin/bash.exe"" -l -i; } 2>&1 | > ""%CYGWIN_ROOT:\=/%/bin/tee.exe"" -a ""%PROJECT_LOG_FILE:\=/%""" > ``` > In most situations like this, I cre

Re: g++ and c++17 filesystem

2020-11-18 Thread Doug Henderson via Cygwin
On Wed, 18 Nov 2020 at 13:50, Kristian Ivarsson via Cygwin wrote: > > > The only purpose CYGWIN have is to make/build posix-applications runnable on > Windows and applications usually have user defined input, such as paths etc, > and on Windows that input is usually Windows-native-paths unless

Re: Unconsistent command-line parsing in case of UTF-8 quoted arguments

2020-10-02 Thread Doug Henderson via Cygwin
On Fri, 2 Oct 2020 at 15:41, Jérôme Froissart <> wrote: > > By discussing a merge request on another project [1], I think > billziss-gh found a weirdness in the way Cygwin parses the command > line arguments when non-ASCII characters come into play. > > EXPECTED BEHAVIOUR: > cygwin should parse the

Re: TMP/TEMP environment variable and /tmp

2020-09-17 Thread Doug Henderson via Cygwin
On Thu, 17 Sep 2020 at 15:56, Ken Brown via Cygwin <> wrote: > #include #include int main () { char *temp_nam; char *p_tmp_nam; printf ("$TMP is '%s'\n", getenv ("TMP")); printf ("$TMPDIR is '%s'\n", getenv ("TMPDIR")); printf ("$TEMP is '%s'\n", getenv ("TEMP"));

[ANNOUNCEMENT] xxhash 0.8.0-1

2020-09-07 Thread Doug Henderson via Cygwin-announce
The following packages have been uploaded to the Cygwin distribution: * xxhash-0.8.0-1 * libxxhash0-0.8.0-1 * libxxhash-devel-0.8.0-1 xxHash is an Extremely fast Hash algorithm, running at RAM speed limits. It successfully completes the SMHasher test suite which evaluates collision, dispersion an

Re: Very dangerous hacking ? Surprising relationship between cygwin and Microsoft

2020-05-11 Thread Doug Henderson via Cygwin
On Mon, 11 May 2020 at 10:39, akiki <> wrote: > > Hi, > > On doing an habitual "cygcheck -rs", I was interrogated and ALARMED to see > some register keys speaking cygwin : > > I have never see in cygcheck, such reference to cygwin with chrome, firefox , > opera ... > May be something is done to

Re: Cygwin convert environment paths

2020-05-10 Thread Doug Henderson via Cygwin
On Sun, 10 May 2020 at 06:46, Steven Penny via Cygwin <> wrote: > > That Cygwin does convert some environment variables, from Windows format to > Unix format. For example HOME and TMP. But for me at least, are some > important > omissions. > > In general, converting environment variable owned b

Re: Odd hang of cc1.exe *now isolated to /tmp weirdness* cpp/gcc

2020-05-06 Thread Doug Henderson via Cygwin
On Wed, 6 May 2020 at 08:34, Shaddy Baddah <> wrote: > On 29/4/20 10:38 pm, Shaddy Baddah wrote: > > > > … And only when run out of my /tmp (which is custom mapped btw). > > > > | /tmp$ ls -li /usr/bin/as.exe /usr/x86_64-pc-cygwin/bin/as.exe > | 1688849860843563 -rwxr-xr-x 2 AUD-ELIDED+porta