Re: Modify bash shell script so it runs in elevated admin mode on Win explorer double click?

2025-04-13 Thread Andrey Repin via Cygwin
Greetings, Jeremy Drake! > On Fri, 11 Apr 2025, Andrey Repin via Cygwin wrote: >> Though, I'm using takecommand's free runtime (TCC-RT), which has an explicit >> START /ELEVATED command, and I'm using a wrapper for such tasks. > cygutils' > cygsta

Re: Modify bash shell script so it runs in elevated admin mode on Win explorer double click?

2025-04-11 Thread Jeremy Drake via Cygwin
On Fri, 11 Apr 2025, Andrey Repin via Cygwin wrote: > Though, I'm using takecommand's free runtime (TCC-RT), which has an explicit > START /ELEVATED command, and I'm using a wrapper for such tasks. cygutils' cygstart -a runas /bin/bash ... ? -- Problem report

Re: Modify bash shell script so it runs in elevated admin mode on Win explorer double click?

2025-04-11 Thread Brian Inglis via Cygwin
On 2025-04-11 14:11, Backwoods BC wrote: On Fri, Apr 11, 2025 at 9:32 AM Brian Inglis via Cygwin wrote: On 2025-04-11 10:21, Mark Liam Brown via Cygwin wrote: Greetings! How can I modify a Cygwin bash script so it runs in elevated Administrator mode when someone double-clicks it in Windows

Re: Modify bash shell script so it runs in elevated admin mode on Win explorer double click?

2025-04-11 Thread Brian Inglis via Cygwin
On 2025-04-11 10:46, Mark Liam Brown via Cygwin wrote: On Fri, Apr 11, 2025 at 6:32 PM Brian Inglis via Cygwin wrote: On 2025-04-11 10:21, Mark Liam Brown via Cygwin wrote: Greetings! How can I modify a Cygwin bash script so it runs in elevated Administrator mode when someone double-clicks

Re: Modify bash shell script so it runs in elevated admin mode on Win explorer double click?

2025-04-11 Thread Backwoods BC via Cygwin
On Fri, Apr 11, 2025 at 9:32 AM Brian Inglis via Cygwin wrote: > > On 2025-04-11 10:21, Mark Liam Brown via Cygwin wrote: > > Greetings! > > > > How can I modify a Cygwin bash script so it runs in elevated > > Administrator mode when someone double-clicks it in Wind

Re: Modify bash shell script so it runs in elevated admin mode on Win explorer double click?

2025-04-11 Thread Andrey Repin via Cygwin
Greetings, Mark Liam Brown! > How can I modify a Cygwin bash script so it runs in elevated > Administrator mode when someone double-clicks it in Windows Explorer? Add a block that runs an admin only command and check for exit code. The `net session` or `openfiles` commands are a good can

Re: Modify bash shell script so it runs in elevated admin mode on Win explorer double click?

2025-04-11 Thread Mark Liam Brown via Cygwin
On Fri, Apr 11, 2025 at 6:32 PM Brian Inglis via Cygwin wrote: > > On 2025-04-11 10:21, Mark Liam Brown via Cygwin wrote: > > Greetings! > > > > How can I modify a Cygwin bash script so it runs in elevated > > Administrator mode when someone double-clicks it in Wind

Re: Modify bash shell script so it runs in elevated admin mode on Win explorer double click?

2025-04-11 Thread Brian Inglis via Cygwin
On 2025-04-11 10:21, Mark Liam Brown via Cygwin wrote: Greetings! How can I modify a Cygwin bash script so it runs in elevated Administrator mode when someone double-clicks it in Windows Explorer? Use a Run as admin shortcut? -- Take care. Thanks, Brian Inglis Calgary, Alberta

Modify bash shell script so it runs in elevated admin mode on Win explorer double click?

2025-04-11 Thread Mark Liam Brown via Cygwin
Greetings! How can I modify a Cygwin bash script so it runs in elevated Administrator mode when someone double-clicks it in Windows Explorer? Mark -- IT Infrastructure Consultant Windows, Linux -- Problem reports: https://cygwin.com/problems.html FAQ: https://cygwin.com

Re: Mounted shares not visible in bash "Run as Administrator"

2025-04-09 Thread Bill Stewart via Cygwin
On Mon, Apr 7, 2025 at 7:05 PM Jim Garrison wrote: > I just ran across this today. In a normal session all my remote mounts > (NTFS, file server running Win10) are visible. In a session that is > "Run as administrator", none of the mounts are visible. > > Is there a configuration parameter that

Re: Mounted shares not visible in bash "Run as Administrator"

2025-04-08 Thread Jim Garrison via Cygwin
On 4/7/2025 23:35, Thomas Wolff via Cygwin wrote: Am 08.04.2025 um 03:04 schrieb Jim Garrison via Cygwin: I just ran across this today.  In a normal session all my remote mounts (NTFS, file server running Win10) are visible.  In a session that is "Run as administrator", none of the mounts are

Re: Mounted shares not visible in bash "Run as Administrator"

2025-04-08 Thread Dan Shelton via Cygwin
On Tue, 8 Apr 2025 at 08:37, Thomas Wolff via Cygwin wrote: > > > > Am 08.04.2025 um 03:04 schrieb Jim Garrison via Cygwin: > > I just ran across this today. In a normal session all my remote > > mounts (NTFS, file server running Win10) are visible. In a session > > that is "Run as administrator

Re: Mounted shares not visible in bash "Run as Administrator"

2025-04-07 Thread Thomas Wolff via Cygwin
Am 08.04.2025 um 03:04 schrieb Jim Garrison via Cygwin: I just ran across this today.  In a normal session all my remote mounts (NTFS, file server running Win10) are visible.  In a session that is "Run as administrator", none of the mounts are visible. Is there a configuration parameter that w

Mounted shares not visible in bash "Run as Administrator"

2025-04-07 Thread Jim Garrison via Cygwin
I just ran across this today. In a normal session all my remote mounts (NTFS, file server running Win10) are visible. In a session that is "Run as administrator", none of the mounts are visible. Is there a configuration parameter that would make mounts visible in the administrator session?

cygport check log tee bash shell > 100MB > 2600 threads

2025-03-30 Thread Brian Inglis via Cygwin
Hi folks, Running cygport under Cygwin 3.6 for coreutils 9.6, during the post-build check/Testing stage the bash shell spawning the check log tee job is showing > 100MB memory SZ > 28000 pages used > 2600 threads spawned! Has anyone else noticed this or anything similar recently?

Re: Bash 5 bug in Cygwin only: empty pattern inside a regular expression

2025-02-24 Thread Corinna Vinschen via Cygwin
On Feb 24 17:01, LLoyd via Cygwin wrote: > Hello. > > I'll try to keep this short: > In Cygwin only, using bash 5.2.21-1 or 5.2.15-3 (the only 5.* versions > available), "empty" in a regular expression is not properly matched > and breaks the regular expression. &

Re: Bash 5 bug in Cygwin only: empty pattern inside a regular expression

2025-02-24 Thread LLoyd via Cygwin
On Mon, 24 Feb 2025 at 17:01, LLoyd wrote: > > [...] > reg='foo|'; [[ foo =~ $regex ]] > > [...] Sorry, typo on that line, I meant to write that I also tested: regex='foo|'; [[ foo =~ $regex ]] It's probably a libc bug. Please let me know if I can do anything. LLoyd -- Problem reports: h

Bash 5 bug in Cygwin only: empty pattern inside a regular expression

2025-02-24 Thread LLoyd via Cygwin
Hello. I'll try to keep this short: In Cygwin only, using bash 5.2.21-1 or 5.2.15-3 (the only 5.* versions available), "empty" in a regular expression is not properly matched and breaks the regular expression. It's not a quoting issue, I also tested with: reg='foo|';

Re: bash hangs on cygwin-3.5.5-1

2024-12-27 Thread Jeremy Drake via Cygwin
On Wed, 25 Dec 2024, Jeremy Drake via Cygwin wrote: > We ran into hang issues with libtool linking imagemagick in msys2, using > version based on 3.5.5, 3 times in a row on our ARM64 runner. We applied > your v2 patch to our 3.5.5 branch (with the change of current_sig to sig), > and the issue no

Re: bash hangs on cygwin-3.5.5-1

2024-12-25 Thread Takashi Yano via Cygwin
On Wed, 25 Dec 2024 15:33:13 -0800 (PST) Jeremy Drake wrote: > On Wed, 25 Dec 2024, Takashi Yano via Cygwin wrote: > > > On Tue, 24 Dec 2024 22:34:44 +0100 > > Bruno Haible wrote: > > > This is not reproducible, but here's the report anyway: > > > > > > I upgraded a Windows 10 system from Cygwin 3

Re: bash hangs on cygwin-3.5.5-1

2024-12-25 Thread Jeremy Drake via Cygwin
On Wed, 25 Dec 2024, Takashi Yano via Cygwin wrote: > On Tue, 24 Dec 2024 22:34:44 +0100 > Bruno Haible wrote: > > This is not reproducible, but here's the report anyway: > > > > I upgraded a Windows 10 system from Cygwin 3.5.3 to 3.5.5 today. > > Then ran the configure script of a tarball (*), an

Re: bash hangs on cygwin-3.5.5-1

2024-12-25 Thread Takashi Yano via Cygwin
On Tue, 24 Dec 2024 22:34:44 +0100 Bruno Haible wrote: > This is not reproducible, but here's the report anyway: > > I upgraded a Windows 10 system from Cygwin 3.5.3 to 3.5.5 today. > Then ran the configure script of a tarball (*), and it hung: > > $ mkdir build-cygwin64 > $ cd build-cygwin64 > $

bash hangs on cygwin-3.5.5-1

2024-12-24 Thread Bruno Haible via Cygwin
This is not reproducible, but here's the report anyway: I upgraded a Windows 10 system from Cygwin 3.5.3 to 3.5.5 today. Then ran the configure script of a tarball (*), and it hung: $ mkdir build-cygwin64 $ cd build-cygwin64 $ ../configure --host=x86_64-pc-cygwin --prefix=/usr/local/cygwin64 CC=

Re: bug? mintty with bash: tab key after semicolon char will hang

2024-07-08 Thread Kevin Schnitzius via Cygwin
On Monday, July 8, 2024 at 10:17:37 PM EDT, Cyanryaku Ailet via Cygwin wrote: > I typed a semicolon char and then pressed TAB key, then mintty hangs. It > can’t be closed even by Windows close button. Remove all the unavailable network shares from $PATH.  By default, tab is command completi

bug? mintty with bash: tab key after semicolon char will hang

2024-07-08 Thread Cyanryaku Ailet via Cygwin
Hi there I am using Win 11, last week I installed freshly Cygwin with most recent packages. I setup a taskbar shortcut to run mintty and it will use bash. I typed a semicolon char and then pressed TAB key, then mintty hangs. It can’t be closed even by Windows close button. the only way is

Running multiple instances of bash script fails

2024-06-28 Thread David Koski via Cygwin
I developed a bash script to get SMART stats from hard drives and it has been working with success for years.  It is working for both Linux and Windows using Cygwin.  Recently I ran into a new installation of this script on a Server 2022 Standard host and found it failed.  On closer

Re: Bug: bash redirect "magic" variable content to input of command hangs (upstream of https://github.com/git-for-windows/git/issues/5001)

2024-06-11 Thread jojelino via Cygwin
On 6/10/2024 8:12 PM, Holger Klene via Cygwin wrote: This is: GNU bash, Version 5.2.21(1)-release (x86_64-pc-cygwin) Was also reproduced in git-bash 5.2.26(1)-release (also cygwin) but not in WSL-bash 5.1.16 (independent of cygwin) This regression is introduced in bash-5.1, Introduced changes

Re: Bug: bash redirect "magic" variable content to input of command hangs (upstream of https://github.com/git-for-windows/git/issues/5001)

2024-06-10 Thread Thomas Wolff via Cygwin
Am 10.06.2024 um 13:12 schrieb Holger Klene via Cygwin: Hi Cygwin, On reading a magic value back from a bash variable, the involved command (wc, grep, cat, ...) hangs indefinitely and has to be stopped by Ctrl+C Editing it's content by deleting lines, the "magic" goe

Bug: bash redirect "magic" variable content to input of command hangs (upstream of https://github.com/git-for-windows/git/issues/5001)

2024-06-10 Thread Holger Klene via Cygwin
Hi Cygwin, On reading a magic value back from a bash variable, the involved command (wc, grep, cat, ...) hangs indefinitely and has to be stopped by Ctrl+C Editing it's content by deleting lines, the "magic" goes away. Also as demonstrated, other text-files (even twice the

bash: '\n' after command substitution in $PS1 causes errors when igncr is set

2024-05-22 Thread Ken Takata via Cygwin
Hello all, I originally reported this issue to the msys2 team: https://github.com/msys2/MSYS2-packages/issues/1839 https://github.com/msys2/MSYS2-packages/pull/4477 But I find that this issue is coming from Cygwin Bash, so I'm reporting here. When I use \n after command substitution in $PS

Re: bash builtin printf date format problem

2024-04-01 Thread Adam Dinwoodie via Cygwin
On Mon, 1 Apr 2024 at 16:29, Chris Elvidge via Cygwin wrote: > > Using bash builtin printf '%(fmt)T', when fmt contains %-d (or %_d), > there is no output - should print daynumber with no preceding 0 (or with > preceding space). Similarly %-e. date +"%B %-d" work

bash builtin printf date format problem

2024-04-01 Thread Chris Elvidge via Cygwin
Using bash builtin printf '%(fmt)T', when fmt contains %-d (or %_d), there is no output - should print daynumber with no preceding 0 (or with preceding space). Similarly %-e. date +"%B %-d" works OK. $ uname -a CYGWIN_NT-10.0-19045 ASUS-X550C-WIN 3.5.1-1.x86_64 2024-02-

Re: Source code for bash package?

2024-01-26 Thread Marco Atzeri via Cygwin
On 26/01/2024 08:22, Cedric Blancher via Cygwin wrote: Good morning! Where can I find the source code for the Cygwin bash package? Not the bash source itself, I am looking for the data which is used to build the Cygwin bash package. Ced https://cygwin.com/cgit/cygwin-packages/bash/tree

Source code for bash package?

2024-01-25 Thread Cedric Blancher via Cygwin
Good morning! Where can I find the source code for the Cygwin bash package? Not the bash source itself, I am looking for the data which is used to build the Cygwin bash package. Ced -- Cedric Blancher [https://plus.google.com/u/0/+CedricBlancher/] Institute Pasteur -- Problem reports

Re: Cygwin bash package data?

2023-10-01 Thread Brian Inglis via Cygwin
On 2023-10-01 22:49, Cedric Blancher via Cygwin wrote: Where (URL!!) can I find the package config for the Cygwin bash package? On the Cygwin site, go to Search Packages, enter the package name, select a link to the package, select the package link at the top of that file list, select the

Cygwin bash package data?

2023-10-01 Thread Cedric Blancher via Cygwin
Good morning! Where (URL!!) can I find the package config for the Cygwin bash package? Ced -- Cedric Blancher [https://plus.google.com/u/0/+CedricBlancher/] Institute Pasteur -- Problem reports: https://cygwin.com/problems.html FAQ: https://cygwin.com/faq/ Documentation

Re: Running bash script as SYSTEM from account with admin rights?

2023-09-22 Thread Brian Inglis via Cygwin
On 2023-09-22 06:39, Christian Franke via Cygwin wrote: Martin Wege via Cygwin wrote: On Fri, Sep 22, 2023 at 9:42 AM Christian Franke via Cygwin wrote: Martin Wege via Cygwin wrote: Hello, Does Cygwin have a tool to run a bash script as SYSTEM user if my account already have admin rights

Re: Running bash script as SYSTEM from account with admin rights?

2023-09-22 Thread Christian Franke via Cygwin
Martin Wege via Cygwin wrote: On Fri, Sep 22, 2023 at 9:42 AM Christian Franke via Cygwin wrote: Martin Wege via Cygwin wrote: Hello, Does Cygwin have a tool to run a bash script as SYSTEM user if my account already have admin rights? No (AFAIK). I use psexec from Sysinternals tools (https

Re: Running bash script as SYSTEM from account with admin rights?

2023-09-22 Thread Martin Wege via Cygwin
On Fri, Sep 22, 2023 at 9:42 AM Christian Franke via Cygwin wrote: > > Martin Wege via Cygwin wrote: > > Hello, > > > > Does Cygwin have a tool to run a bash script as SYSTEM user if my > > account already have admin rights? > > No (AFAIK). > > I u

Re: Running bash script as SYSTEM from account with admin rights?

2023-09-22 Thread Christian Franke via Cygwin
Martin Wege via Cygwin wrote: Hello, Does Cygwin have a tool to run a bash script as SYSTEM user if my account already have admin rights? No (AFAIK). I use psexec from Sysinternals tools (https://learn.microsoft.com/sysinternals/downloads/psexec) This starts a Cygwin terminal as SYSTEM

Running bash script as SYSTEM from account with admin rights?

2023-09-21 Thread Martin Wege via Cygwin
Hello, Does Cygwin have a tool to run a bash script as SYSTEM user if my account already have admin rights? Thanks, Martin -- Problem reports: https://cygwin.com/problems.html FAQ: https://cygwin.com/faq/ Documentation:https://cygwin.com/docs.html Unsubscribe info

Re: Entering Cygwin command line (bash login) from Windows cmd.exe ?

2023-08-14 Thread Martin Wege via Cygwin
t; >>>> On Sat, Jul 29, 2023 at 6:18 AM Roland Mainz wrote: > >>>>> Is there an official way to enter the Cygwin command line (e.g. bash > >>>>> login) from Windows cmd.exe, e.g. if someone ssh's into a Windows > >>>>> machine he/

Re: Entering Cygwin command line (bash login) from Windows cmd.exe ?

2023-08-14 Thread Brian Inglis via Cygwin
command line (e.g. bash login) from Windows cmd.exe, e.g. if someone ssh's into a Windows machine he/she ends/up in a cmd.exe and not bash... You may run your favourite shell from the bin directory of your Cygwin installation: "C:\Program Files\Cygwin\bin\bash.exe" "C:\Prog

Re: Entering Cygwin command line (bash login) from Windows cmd.exe ?

2023-08-13 Thread Martin Wege via Cygwin
On Sun, Aug 13, 2023 at 12:53 AM Roland Mainz via Cygwin wrote: > > On Mon, Aug 7, 2023 at 7:38 AM KAVALAGIOS Panagiotis (EEAS) via Cygwin > wrote: > > > > > On Sat, Jul 29, 2023 at 6:18 AM Roland Mainz > > > wrote: > > > > Is there an official wa

Re: Entering Cygwin command line (bash login) from Windows cmd.exe ?

2023-08-13 Thread Jon Turney via Cygwin
On 12/08/2023 23:52, Roland Mainz via Cygwin wrote: Roland P.S.: Which reminds me - is there a way to contribute a Cygwin ksh93 package ? https://cygwin.com/packaging-contributors-guide.html -- Problem reports: https://cygwin.com/problems.html FAQ: https://cygwin.com/f

Re: Entering Cygwin command line (bash login) from Windows cmd.exe ?

2023-08-12 Thread Roland Mainz via Cygwin
On Mon, Aug 7, 2023 at 7:38 AM KAVALAGIOS Panagiotis (EEAS) via Cygwin wrote: > > > On Sat, Jul 29, 2023 at 6:18 AM Roland Mainz > > wrote: > > > Is there an official way to enter the Cygwin command line (e.g. bash > > > login) from Windows cmd.exe, e.g

Re: Entering Cygwin command line (bash login) from Windows cmd.exe ?

2023-08-08 Thread ASSI via Cygwin
Thomas Wolff via Cygwin writes: > Am 07.08.2023 um 06:02 schrieb Roland Mainz via Cygwin: >> On Sat, Jul 29, 2023 at 6:18 AM Roland Mainz >> wrote: >>> Is there an official way to enter the Cygwin command line (e.g. bash >>> login) from Windows cmd.exe, e.g

Re: Entering Cygwin command line (bash login) from Windows cmd.exe ?

2023-08-08 Thread Thomas Wolff via Cygwin
Am 07.08.2023 um 06:02 schrieb Roland Mainz via Cygwin: On Sat, Jul 29, 2023 at 6:18 AM Roland Mainz wrote: Is there an official way to enter the Cygwin command line (e.g. bash login) from Windows cmd.exe, e.g. if someone ssh's into a Windows machine he/she ends/up in a cmd.exe and not

Re: Entering Cygwin command line (bash login) from Windows cmd.exe ?

2023-08-07 Thread Lee via Cygwin
On 8/7/23, Roland Mainz via Cygwin wrote: > On Sat, Jul 29, 2023 at 6:18 AM Roland Mainz wrote: >> Is there an official way to enter the Cygwin command line (e.g. bash >> login) from Windows cmd.exe, e.g. if someone ssh's into a Windows >> machine he/she ends/up

RE: Entering Cygwin command line (bash login) from Windows cmd.exe ?

2023-08-06 Thread KAVALAGIOS Panagiotis (EEAS) via Cygwin
> On Sat, Jul 29, 2023 at 6:18 AM Roland Mainz > wrote: > > Is there an official way to enter the Cygwin command line (e.g. bash > > login) from Windows cmd.exe, e.g. if someone ssh's into a Windows > > machine he/she ends/up in a cmd.exe and not bash... > >

Re: Entering Cygwin command line (bash login) from Windows cmd.exe ?

2023-08-06 Thread Roland Mainz via Cygwin
On Sat, Jul 29, 2023 at 6:18 AM Roland Mainz wrote: > Is there an official way to enter the Cygwin command line (e.g. bash > login) from Windows cmd.exe, e.g. if someone ssh's into a Windows > machine he/she ends/up in a cmd.exe and not bash... ping! Bye, Roland --

Entering Cygwin command line (bash login) from Windows cmd.exe ?

2023-07-28 Thread Roland Mainz via Cygwin
Hi! Is there an official way to enter the Cygwin command line (e.g. bash login) from Windows cmd.exe, e.g. if someone ssh's into a Windows machine he/she ends/up in a cmd.exe and not bash... Bye, Roland -- __ . . __ (o.\ \/ /.o) roland.ma...@nrubsig.org \__\/\/__/

New install setup fails to create start menu bash link

2023-04-30 Thread Norton Allen via Cygwin
I have a new Windows 11 machine. I ran setup V2.925 with command-line options for my default set of packages, clicked through installation, and specified start menu but no desktop icon. Install seemed to go smoothly, but while there was a start menu folder for Cygwin with documentation, there w

Re: bash shell script: recently running, now failing

2023-04-08 Thread Andrey Repin via Cygwin
Greetings, Brian Inglis via Cygwin! > On 2023-04-06 06:21, Andrey Repin via Cygwin wrote: >>> I have a "hash bang" bash shell script i.e. first line >>> #! /bin/sh >>> or equivalently >>> #! /bin/bash >> By default, sh is bash in base Cygwin

Re: bash shell script: recently running, now failing

2023-04-07 Thread Brian Inglis via Cygwin
On 2023-04-06 06:21, Andrey Repin via Cygwin wrote: I have a "hash bang" bash shell script i.e. first line #! /bin/sh or equivalently #! /bin/bash By default, sh is bash in base Cygwin installation. Q3 - at 1/8 the size of bash and sh, I am not at all sure of the role and reac

Re: bash shell script: recently running, now failing

2023-04-06 Thread Scott Smith via Cygwin
rl, C, text tools, etc - had to be tested and usage adjusted accordingly. It wasn't uncommon to have a starter script that performed compatibility tests and forked to the appropriate version... of the same code, functionally. Back to the OP's problem. I haven't seen the bash sou

Re: bash shell script: recently running, now failing

2023-04-06 Thread Adam Dinwoodie via Cygwin
On Thu, Apr 06, 2023 at 04:43:51AM +, Fergus Daly via Cygwin wrote: > I have a "hash bang" bash shell script i.e. first line > #! /bin/sh > or equivalently > #! /bin/bash > For various reasons I want this file to be identified as binary so its second > line > is

Re: bash shell script: recently running, now failing

2023-04-06 Thread Andrey Repin via Cygwin
Greetings, Fergus Daly! > I have a "hash bang" bash shell script i.e. first line > #! /bin/sh > or equivalently > #! /bin/bash By default, sh is bash in base Cygwin installation. > Q3 - at 1/8 the size of bash and sh, I am not at all sure of the role and > reac

Re: bash shell script: recently running, now failing

2023-04-06 Thread Scott Smith via Cygwin
Place the nul on the third line. For example: #!/bin/bash # # ^@ identify as a binary file ... On Thu, Apr 6, 2023 at 4:03 AM Corinna Vinschen via Cygwin < cygwin@cygwin.com> wrote: > On Apr 6 04:43, Fergus Daly via Cygwin wrote: > > I have a "hash bang" bash she

Re: bash shell script: recently running, now failing

2023-04-06 Thread Corinna Vinschen via Cygwin
On Apr 6 04:43, Fergus Daly via Cygwin wrote: > I have a "hash bang" bash shell script i.e. first line > #! /bin/sh > or equivalently > #! /bin/bash > For various reasons I want this file to be identified as binary so its second > line > is the single charact

bash shell script: recently running, now failing

2023-04-05 Thread Fergus Daly via Cygwin
I have a "hash bang" bash shell script i.e. first line #! /bin/sh or equivalently #! /bin/bash For various reasons I want this file to be identified as binary so its second line is the single character null \x00 showing up in some editors e.g. nano as ^@ This does not prevent the s

[ANNOUNCEMENT] TEST: bash 5.2.15-2

2023-02-20 Thread Corinna Vinschen via Cygwin
The following packages have been uploaded to the Cygwin distribution: * bash-5.2.15-2 * bash-devel-5.2.15-2 v2: Make /usr/bin/sh.exe a hardlink to /usr/bin/bash.exe, as required. The v1 installer script accidentally created a symlink. This is a long overdue update of the bash shell. Given

[ANNOUNCEMENT] TEST: bash 5.2.15-1

2023-02-18 Thread Corinna Vinschen via Cygwin
[first announcement was a bit... incomplete...] The following packages have been uploaded to the Cygwin distribution: * bash-5.2.15-1 * bash-devel-5.2.15-1 This is a long overdue update of the bash shell. Given the big step in the version, this is a TEST release for now. Please give it a try

[ANNOUNCEMENT] TEST: bash 5.2.15-1

2023-02-18 Thread Corinna Vinschen via Cygwin
The following packages have been uploaded to the Cygwin distribution: * bash-5.2.15-1 * bash-devel-5.2.15-1 This is a long overdue update of the bash shell. Given the big step in the version, this is a TEST release for now. Please give it a try. This release is based on the Fedora Linux 37

Re: Bash 1876 error occured

2023-01-16 Thread Brian Inglis via Cygwin
On 2023-01-15 14:24, Nouman Shahid via Cygwin wrote: Bash 1876 error occured That's neither a command line or an actual error message that tells anyone anything about what your problem was, what command caused it, and what versions of bash, Cygwin, and Windows you are running. Id

Re: bash from local mounted drive with subst command

2022-09-19 Thread David Meyer
We're running into this same issue on my project. We're trying to shorten path names to get around Visual Studio limitations in path lengths, which are unfortunately very long for us since we're generating filenames based on package names and the like. If subst won't work to let us shorten path n

Re: Pasting bash commands in cygwin terminal does not execute it till the enter key is pressed

2022-09-05 Thread Ken Brown
On 9/5/2022 2:43 PM, Mauro Zallocco wrote: I upgraded my cygwin install recently on my windows 10 machine. CYGWIN_NT-10.0-19044 DESKTOP-CTVRG06 3.3.5-341.x86_64 2022-05-13 12:27 UTC x86_64 Cygwin When pasting the following commands into the cygwin terminal: echo 1 echo 2 echo 3 I get the text ap

Pasting bash commands in cygwin terminal does not execute it till the enter key is pressed

2022-09-05 Thread Mauro Zallocco
I upgraded my cygwin install recently on my windows 10 machine. CYGWIN_NT-10.0-19044 DESKTOP-CTVRG06 3.3.5-341.x86_64 2022-05-13 12:27 UTC x86_64 Cygwin When pasting the following commands into the cygwin terminal: echo 1 echo 2 echo 3 I get the text appearing on the cygwin terminal, highlighted,

Re: VS Code is missing a few characters when running launch task in Git Bash

2022-07-05 Thread Orgad Shaneh
On Tue, Jul 5, 2022 at 6:18 AM Takashi Yano wrote: > > On Mon, 4 Jul 2022 08:57:09 +0300 > Orgad Shaneh wrote: > > Sure, > > > > Install VS Code and Node.JS. > > > > Clone this repository: https://github.com/orgads/cygtest > > > > Open the directory in VS Code and run (F5). Wait for it to finish,

Re: VS Code is missing a few characters when running launch task in Git Bash

2022-07-04 Thread Takashi Yano
On Mon, 4 Jul 2022 08:57:09 +0300 Orgad Shaneh wrote: > Sure, > > Install VS Code and Node.JS. > > Clone this repository: https://github.com/orgads/cygtest > > Open the directory in VS Code and run (F5). Wait for it to finish, > then run again. > > I've noticed that even the first execution has

Re: VS Code is missing a few characters when running launch task in Git Bash

2022-07-03 Thread Orgad Shaneh
Sure, Install VS Code and Node.JS. Clone this repository: https://github.com/orgads/cygtest Open the directory in VS Code and run (F5). Wait for it to finish, then run again. I've noticed that even the first execution has some mistyped characters (moved from ** to ##): waitForDeb**u**gge**r**

Re: VS Code is missing a few characters when running launch task in Git Bash

2022-07-03 Thread Takashi Yano
On Sun, 3 Jul 2022 16:02:46 +0300 Orgad Shaneh wrote: > On Sun, Jul 3, 2022 at 2:18 AM Takashi Yano wrote: > > > > On Sat, 2 Jul 2022 08:34:06 +0900 > > Takashi Yano wrote: > > > Thanks. I could reproduce the issue. I will submit a patch > > > for this issue shortly. > > > > Does the patch I pushd

Re: VS Code is missing a few characters when running launch task in Git Bash

2022-07-03 Thread Orgad Shaneh
On Sun, Jul 3, 2022 at 2:18 AM Takashi Yano wrote: > > On Sat, 2 Jul 2022 08:34:06 +0900 > Takashi Yano wrote: > > Thanks. I could reproduce the issue. I will submit a patch > > for this issue shortly. > > Does the patch I pushd to cygwin-3_3-branch solve the > VS Code issue? Hi Takashi, Thank

Re: VS Code is missing a few characters when running launch task in Git Bash

2022-07-02 Thread Takashi Yano
On Sat, 2 Jul 2022 08:34:06 +0900 Takashi Yano wrote: > Thanks. I could reproduce the issue. I will submit a patch > for this issue shortly. Does the patch I pushd to cygwin-3_3-branch solve the VS Code issue? -- Takashi Yano -- Problem reports: https://cygwin.com/problems.html FAQ:

Re: VS Code is missing a few characters when running launch task in Git Bash

2022-07-01 Thread Takashi Yano
On Fri, 1 Jul 2022 01:02:43 +0300 Orgad Shaneh wrote: > I might have found a way to reproduce on Cygwin (3.3.5). I can > reproduce this on both Windows Terminal and the native console (Just > running Cygwin.bat). > > Open Cygwin terminal. Paste the following text (can either be with > Shift-Ins i

Re: VS Code is missing a few characters when running launch task in Git Bash

2022-07-01 Thread Johannes Schindelin
Adam Dinwoodie > > > > > > wrote: > > > > > > > > > > > > > > On Fri, May 27, 2022 at 10:15:18AM +0300, Orgad Shaneh wrote: > > > > > > > > Hi, > > > > > > > > > > > > > &

Re: VS Code is missing a few characters when running launch task in Git Bash

2022-06-30 Thread Orgad Shaneh
ote: > > > > On Fri, May 27, 2022 at 11:06 AM Orgad Shaneh wrote: > > > > > > > > > > On Fri, May 27, 2022 at 10:59 AM Adam Dinwoodie > > > > > wrote: > > > > > > > > > > > > On Fri, May 27, 2022 at 10:1

Re: VS Code is missing a few characters when running launch task in Git Bash

2022-06-30 Thread Orgad Shaneh
> > > > On Fri, May 27, 2022 at 10:59 AM Adam Dinwoodie > > > > wrote: > > > > > > > > > > On Fri, May 27, 2022 at 10:15:18AM +0300, Orgad Shaneh wrote: > > > > > > Hi, > > > > > > > > > > > > I

Re: VS Code is missing a few characters when running launch task in Git Bash

2022-05-28 Thread Orgad Shaneh
; > > > > > > On Fri, May 27, 2022 at 10:15:18AM +0300, Orgad Shaneh wrote: > > > > > Hi, > > > > > > > > > > I'm using Git Bash as the default terminal in VS Code. Using Git for > > > > > Windows 2.36.1 with the late

Re: VS Code is missing a few characters when running launch task in Git Bash

2022-05-27 Thread Takashi Yano
On Fri, 27 May 2022 15:22:23 +0300 Orgad Shaneh wrote: > On Fri, May 27, 2022 at 11:06 AM Orgad Shaneh wrote: > > > > On Fri, May 27, 2022 at 10:59 AM Adam Dinwoodie wrote: > > > > > > On Fri, May 27, 2022 at 10:15:18AM +0300, Orgad Shaneh wrote: > > > &

Re: VS Code is missing a few characters when running launch task in Git Bash

2022-05-27 Thread Orgad Shaneh
On Fri, May 27, 2022 at 11:06 AM Orgad Shaneh wrote: > > On Fri, May 27, 2022 at 10:59 AM Adam Dinwoodie wrote: > > > > On Fri, May 27, 2022 at 10:15:18AM +0300, Orgad Shaneh wrote: > > > Hi, > > > > > > I'm using Git Bash as the default termi

Re: VS Code is missing a few characters when running launch task in Git Bash

2022-05-27 Thread Orgad Shaneh
On Fri, May 27, 2022 at 10:59 AM Adam Dinwoodie wrote: > > On Fri, May 27, 2022 at 10:15:18AM +0300, Orgad Shaneh wrote: > > Hi, > > > > I'm using Git Bash as the default terminal in VS Code. Using Git for > > Windows 2.36.1 with the latest runtime, based on

Re: VS Code is missing a few characters when running launch task in Git Bash

2022-05-27 Thread Adam Dinwoodie
On Fri, May 27, 2022 at 10:15:18AM +0300, Orgad Shaneh wrote: > Hi, > > I'm using Git Bash as the default terminal in VS Code. Using Git for > Windows 2.36.1 with the latest runtime, based on cygwin 3.5.0. Hi Orgad, Git for Windows and Git Bash are based in part on Cy

VS Code is missing a few characters when running launch task in Git Bash

2022-05-27 Thread Orgad Shaneh
Hi, I'm using Git Bash as the default terminal in VS Code. Using Git for Windows 2.36.1 with the latest runtime, based on cygwin 3.5.0. I have a launch configuration that executes a Node.JS application in the integrated terminal. When I launch it for the first time, it spawns a new termina

Re: bash: cd: /cygdrive/w: Too many levels of symbolic links

2022-04-29 Thread Takashi Yano
en attempting to reference a network drive. There have been a couple of > >> other > >> threads reporting this and talk about patches. Is there a fix coming for > >> this > >> in the production version of cygwin? > >> > >> $ cd /cygdrive/w &g

Re: bash: cd: /cygdrive/w: Too many levels of symbolic links

2022-04-29 Thread Wes Barris
patches. Is there a fix coming for this in the production version of cygwin? $ cd /cygdrive/w bash: cd: /cygdrive/w: Too many levels of symbolic links $ mount C:/cygwin64/bin on /usr/bin type ntfs (binary,auto) C:/cygwin64/lib on /usr/lib type ntfs (binary,auto) C:/cygwin64 on / type ntfs (binary

Re: bash: cd: /cygdrive/w: Too many levels of symbolic links

2022-04-29 Thread Takashi Yano
re a fix coming for > this > in the production version of cygwin? > > $ cd /cygdrive/w > bash: cd: /cygdrive/w: Too many levels of symbolic links > $ mount > C:/cygwin64/bin on /usr/bin type ntfs (binary,auto) > C:/cygwin64/lib on /usr/lib type ntfs (binary,auto) > C:/cyg

bash: cd: /cygdrive/w: Too many levels of symbolic links

2022-04-29 Thread Wes Barris
bash: cd: /cygdrive/w: Too many levels of symbolic links $ mount C:/cygwin64/bin on /usr/bin type ntfs (binary,auto) C:/cygwin64/lib on /usr/lib type ntfs (binary,auto) C:/cygwin64 on / type ntfs (binary,auto) C: on /cygdrive/c type ntfs (binary,noacl,posix=0,user,noumount,auto) D: on /cygdrive/d

Re: 1 [main] bash 17336 find_fast_cwd: WARNING: Couldn't compute FAST_CWD pointer. Please report this problem to the public mailing list cygwin@cygwin.com

2022-04-04 Thread Andrey Repin
Greetings, James! > Never mind I'd say. I got the error when launching > C:\Appz\Cygwin\Cygwin.bat > Which is just > @echo off > C: > chdir C:\Appz\Cygwin\bin > bash --login -i > If however I run > C:\cygwin64\bin\mintty.exe > It works fine. This means you

Re: 1 [main] bash 17336 find_fast_cwd: WARNING: Couldn't compute FAST_CWD pointer. Please report this problem to the public mailing list cygwin@cygwin.com

2022-04-02 Thread Brian Inglis
se report this problem to the public mailing list cygwin@cygwin.com" message in 'bash' with something like: "Please visit https://cygwin.com/faq.html#faq.using.fixing-find_fast_cwd-warnings for help with this issue" This has been done in recent releases for some years, but

Re: 1 [main] bash 17336 find_fast_cwd: WARNING: Couldn't compute FAST_CWD pointer. Please report this problem to the public mailing list cygwin@cygwin.com

2022-04-02 Thread Eliot Moss
se report this problem to the public mailing list cygwin@cygwin.com" message in 'bash' with something like: "Please visit https://cygwin.com/faq.html#faq.using.fixing-find_fast_cwd-warnings for help with this issue" This removes the need for an autoresponder and is more hel

Re: 1 [main] bash 17336 find_fast_cwd: WARNING: Couldn't compute FAST_CWD pointer. Please report this problem to the public mailing list cygwin@cygwin.com

2022-04-02 Thread Backwoods BC
iling list cygwin@cygwin.com" message in 'bash' with something like: "Please visit https://cygwin.com/faq.html#faq.using.fixing-find_fast_cwd-warnings for help with this issue" This removes the need for an autoresponder and is more helpful at the same time. Users might be r

Re: 1 [main] bash 17336 find_fast_cwd: WARNING: Couldn't compute FAST_CWD pointer. Please report this problem to the public mailing list cygwin@cygwin.com

2022-04-01 Thread James
Voila, thanks! Have a nice weekend ya'all On Sat, Apr 2, 2022 at 8:31 AM wrote: > >Hi there, > > > >I just got that error message, asking me to report it here. > > > 1 [main] bash 17336 find_fast_cwd: WARNING: Couldn't compute > FAST_CWD > &

Re: 1 [main] bash 17336 find_fast_cwd: WARNING: Couldn't compute FAST_CWD pointer. Please report this problem to the public mailing list cygwin@cygwin.com

2022-04-01 Thread James
Never mind I'd say. I got the error when launching C:\Appz\Cygwin\Cygwin.bat Which is just @echo off C: chdir C:\Appz\Cygwin\bin bash --login -i If however I run C:\cygwin64\bin\mintty.exe It works fine. On Sat, Apr 2, 2022 at 8:28 AM James wrote: > Hi there, > > > I ju

Re: 1 [main] bash 17336 find_fast_cwd: WARNING: Couldn't compute FAST_CWD pointer. Please report this problem to the public mailing list cygwin@cygwin.com

2022-04-01 Thread cygwinautoreply
>Hi there, >I just got that error message, asking me to report it here. > 1 [main] bash 17336 find_fast_cwd: WARNING: Couldn't compute FAST_CWD >pointer. Please report this problem to the public mailing list >cygwin@cygwin.com >Not sure if it's interest

1 [main] bash 17336 find_fast_cwd: WARNING: Couldn't compute FAST_CWD pointer. Please report this problem to the public mailing list cygwin@cygwin.com

2022-04-01 Thread James
Hi there, I just got that error message, asking me to report it here. 1 [main] bash 17336 find_fast_cwd: WARNING: Couldn't compute FAST_CWD pointer. Please report this problem to the public mailing list cygwin@cygwin.com Not sure if it's interesting? Kind regards, James -

Re: Bash runs my vim slower than Cygwin's vim

2022-03-11 Thread Gary Johnson
On 2022-03-11, Gary Johnson wrote: > On 2022-03-11, Gary Johnson wrote: > > On 2022-03-11, Adam Dinwoodie wrote: > > > On Thu, Mar 10, 2022 at 04:55:40PM -0800, Gary Johnson wrote: > > > > > So, does anyone know why is takes so much longer for bash to run the >

Re: Bash runs my vim slower than Cygwin's vim

2022-03-11 Thread Gary Johnson
On 2022-03-11, Gary Johnson wrote: > On 2022-03-11, Adam Dinwoodie wrote: > > On Thu, Mar 10, 2022 at 04:55:40PM -0800, Gary Johnson wrote: > > > So, does anyone know why is takes so much longer for bash to run the > > > vim I built than the official Cygwin vim? More

Re: Bash runs my vim slower than Cygwin's vim

2022-03-11 Thread Gary Johnson
ons such as Ruby that I don't have support > > for on my system. > > > > > > > > So, does anyone know why is takes so much longer for bash to run the > > vim I built than the official Cygwin vim? More importantly, how do > > I fix this? > >

Re: Bash runs my vim slower than Cygwin's vim

2022-03-11 Thread Adam Dinwoodie
> > > So, does anyone know why is takes so much longer for bash to run the > vim I built than the official Cygwin vim? More importantly, how do > I fix this? There are a few differences that jump to mind between the Cygwin packaged Vim and your locally built Vim. This isn't m

  1   2   3   4   5   6   7   8   9   10   >