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 $PS1

Re: [ITA] bash-completion/-devel

2024-05-21 Thread Brian Inglis via Cygwin-apps
On 2024-05-21 07:19, Jon Turney via Cygwin-apps wrote: On 03/05/2024 14:40, Jon Turney via Cygwin-apps wrote: On 29/04/2024 22:13, Brian Inglis via Cygwin-apps wrote: I would like to co-maintain or adopt and revive the above package, which was adopted by Eric but not updated since Yaakov.

Re: [ITA] bash-completion/-devel

2024-05-21 Thread Jon Turney via Cygwin-apps
On 03/05/2024 14:40, Jon Turney via Cygwin-apps wrote: On 29/04/2024 22:13, Brian Inglis via Cygwin-apps wrote: I would like to co-maintain or adopt and revive the above package, which was adopted by Eric but not updated since Yaakov. Thanks. I added this to your packages. I guess I need to

Updated: bash-completion/-devel 2.14

2024-05-11 Thread Cygwin bash-completion Maintainer
Command options and arguments auto-completion under the Bash shell The following packages have been upgraded in the Cygwin distribution: * bash-completion 2.14 * bash-completion-devel 2.14 bash-completion provides auto-completion for options of and arguments to hundreds

Updated: bash-completion/-devel 2.13

2024-05-04 Thread Cygwin bash-completion Maintainer
Command options and arguments auto-completion under the Bash shell The following packages have been upgraded in the Cygwin distribution: * bash-completion 2.13 * bash-completion-devel 2.13 bash-completion provides auto-completion for options of and arguments to hundreds of commands

Re: [ITA] bash-completion/-devel

2024-05-03 Thread Brian Inglis via Cygwin-apps
to further improve the sdesc and ldesc provided to reflect that completions are provided for thousands of commands and their options and arguments. Bash Completions and development Existing source package: https://cygwin.com/packages/summary/bash-completion-src.html Updated cygport: https

Re: [ITA] bash-completion/-devel

2024-05-03 Thread Jon Turney via Cygwin-apps
. Bash Completions and development Existing source package: https://cygwin.com/packages/summary/bash-completion-src.html Updated cygport: https://cygwin.com/cgit/cygwin-packages/bash-completion/tree/bash-completion.cygport?h=playground A few comments: DEPEND="automake dejagnu make s

[ITA] bash-completion/-devel

2024-04-29 Thread Brian Inglis via Cygwin-apps
to reflect that completions are provided for thousands of commands and their options and arguments. Bash Completions and development Existing source package: https://cygwin.com/packages/summary/bash-completion-src.html Updated cygport: https://cygwin.com/cgit/cygwin-packages/bash-completion/tree

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" works OK. >

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-27 11:54 U

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

bash 5.2.21-1

2024-01-23 Thread Corinna Vinschen via Cygwin-announce
The following packages have been uploaded to the Cygwin distribution: * bash-5.2.21-1 * bash-devel-5.2.21-1 -- *** CYGWIN-ANNOUNCE UNSUBSCRIBE INFO *** The easiest way to unsubscribe is to visit <https://cygwin.com/mailman/options/cygwin-announce>, and click 'Unsub

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

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/she e

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:\Program F

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:

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 bash

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 in a

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... > > pin

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 \__\/\/__/ MPEG

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

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
, 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 source, but if I had

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

TEST: bash 5.2.15-2

2023-02-20 Thread Corinna Vinschen
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-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

TEST: bash 5.2.15-1

2023-02-18 Thread Corinna Vinschen
[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

TEST: bash 5.2.15-1

2023-02-18 Thread Corinna Vinschen
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. Ideally

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

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

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

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

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

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'm u

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

2022-05-29 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 latest ru

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 terminal i

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 cygwi

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 Cygwin,

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 terminal

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

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:

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 have

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
rt 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 ancient legacy rele

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
rt 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 helpful at the same

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
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 reluctant to joi

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 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-02 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 just go

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 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 interesting? >

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 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 -- Problem

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
ptions 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? > > There are

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 my area of ex

Bash runs my vim slower than Cygwin's vim

2022-03-10 Thread Gary Johnson
to be in Vim itself, I thought the difference might be in bash, so I ran both programs using strace like this. $ strace -o strace_bash_cygwin_vim bash -c "/usr/bin/vim -N -u NONE -i NONE -cq" $ strace -o strace_bash_local_vim bash -c "/usr/local/src/vim-debug/vim/src/vim -N -u N

Re: bash from local mounted drive with subst command

2022-03-07 Thread Andrey Repin
Greetings, Claude TETE! > Hi all, > A bash in a local mounted drive, use realpath instead of mounted one > for all child processes. > Example, mount a local folder on Z: drive, go in there and run any > external command: > $ subst Z: C:\\Users > $ cd /cygdrive/z/ >

Re: Would it be possible to update the bash package?

2022-03-07 Thread Adam Dinwoodie
n testing, I've been unable to > > > build a version that doesn't crash/dump core on linux and don't > > > really think the 5.x series has had a thorough vetting such > > > that it would be regarded as being as stable as 4.3/4.4. > > > > fyi, we've been

Re: Would it be possible to update the bash package?

2022-03-06 Thread Zartaj Majeed
Does bash 5.1 crash in cygwin? Please let us know so we can help - bash 4.4 is now over 5 years old On 3/5/2021 2:23 PM, Christoph Reiter wrote: On Fri, Mar 5, 2021 at 5:50 PM L A Walsh wrote: Really I don't see a compelling reason there should be any hurry to update. In my own

Re: bash from local mounted drive with subst command

2022-02-21 Thread Corinna Vinschen
On Feb 21 09:40, Takashi Yano wrote: > On Mon, 21 Feb 2022 01:05:32 +0100 > Thomas Wolff wrote: > > pwd -P will also work like /bin/pwd - but: subst is more comparable to > > mount than to ln -s > > Ah, indeed, mount --bind a/b/c c in Linux does not behave > like this. > > Corinna, what do you

Re: bash from local mounted drive with subst command

2022-02-20 Thread Takashi Yano
On Mon, 21 Feb 2022 01:05:32 +0100 Thomas Wolff wrote: > Am 21.02.2022 um 00:56 schrieb Takashi Yano: > > On Mon, 21 Feb 2022 08:41:52 +0900 > > Takashi Yano wrote: > >> On Sun, 20 Feb 2022 22:38:53 +0100 > >> Claude TETE wrote: > >>> A bash i

Re: bash from local mounted drive with subst command

2022-02-20 Thread Thomas Wolff
Am 21.02.2022 um 00:56 schrieb Takashi Yano: On Mon, 21 Feb 2022 08:41:52 +0900 Takashi Yano wrote: On Sun, 20 Feb 2022 22:38:53 +0100 Claude TETE wrote: A bash in a local mounted drive, use realpath instead of mounted one for all child processes. Example, mount a local folder on Z: drive

Re: bash from local mounted drive with subst command

2022-02-20 Thread Takashi Yano
On Mon, 21 Feb 2022 08:41:52 +0900 Takashi Yano wrote: > On Sun, 20 Feb 2022 22:38:53 +0100 > Claude TETE wrote: > > A bash in a local mounted drive, use realpath instead of mounted one > > for all child processes. > > > > Example, mount a local folder on Z:

Re: bash from local mounted drive with subst command

2022-02-20 Thread Takashi Yano
On Sun, 20 Feb 2022 22:38:53 +0100 Claude TETE wrote: > A bash in a local mounted drive, use realpath instead of mounted one > for all child processes. > > Example, mount a local folder on Z: drive, go in there and run any > external command: > $ subst Z: C:\\Users > $ cd

bash from local mounted drive with subst command

2022-02-20 Thread Claude TETE
Hi all, A bash in a local mounted drive, use realpath instead of mounted one for all child processes. Example, mount a local folder on Z: drive, go in there and run any external command: $ subst Z: C:\\Users $ cd /cygdrive/z/ $ /bin/pwd /cygdrive/c/Users Expected /cygdrive/w Issue since Cygwin

RE: Starting CMD from a bash shell with current directory on a mounted/network drive results in an incorrect current directory

2021-12-14 Thread john daintree
Cool, thanks. -Original Message- From: Cygwin On Behalf Of Corinna Vinschen Sent: 13 December 2021 15:06 To: cygwin@cygwin.com Subject: Re: Starting CMD from a bash shell with current directory on a mounted/network drive results in an incorrect current directory On Dec 13 20:06, Takashi

Re: Starting CMD from a bash shell with current directory on a mounted/network drive results in an incorrect current directory

2021-12-13 Thread Corinna Vinschen
On Dec 13 20:06, Takashi Yano wrote: > On Mon, 13 Dec 2021 10:53:41 - > "john daintree" wrote: > > I've just upgraded a machine from Windows 10 to Windows 11. Part of my work > > process is now broken because when starting cmd from Cygwin with the current > > directory on a mounted drive I get

RE: Starting CMD from a bash shell with current directory on a mounted/network drive results in an incorrect current directory

2021-12-13 Thread john daintree
Excellent news, thank you. I apologise if I should have seen that somewhere. /John -Original Message- From: Cygwin On Behalf Of Takashi Yano Sent: 13 December 2021 11:06 To: cygwin@cygwin.com Subject: Re: Starting CMD from a bash shell with current directory on a mounted/network drive

Re: Starting CMD from a bash shell with current directory on a mounted/network drive results in an incorrect current directory

2021-12-13 Thread Takashi Yano
On Mon, 13 Dec 2021 10:53:41 - "john daintree" wrote: > I've just upgraded a machine from Windows 10 to Windows 11. Part of my work > process is now broken because when starting cmd from Cygwin with the current > directory on a mounted drive I get the following error/warning/issue: > > > >

Starting CMD from a bash shell with current directory on a mounted/network drive results in an incorrect current directory

2021-12-13 Thread john daintree
Hello All, I've just upgraded a machine from Windows 10 to Windows 11. Part of my work process is now broken because when starting cmd from Cygwin with the current directory on a mounted drive I get the following error/warning/issue: /cygdrive/j$ cmd '\\nas00.\devt\users\johnd'

Re: [PATCH] Cygwin: console: Prevent the exec'ed bash from exiting by Ctrl-C.

2021-11-03 Thread Corinna Vinschen
On Nov 3 15:14, Takashi Yano wrote: > - Currently, bash occasionally exits by Ctrl-C with the following > scenario. > 1) Start bash in the command prompt. > 2) Run 'exec bash'. > 3) Press Ctrl-C several times. > This patch fixes the issue. > --- > wins

[PATCH] Cygwin: console: Prevent the exec'ed bash from exiting by Ctrl-C.

2021-11-03 Thread Takashi Yano
- Currently, bash occasionally exits by Ctrl-C with the following scenario. 1) Start bash in the command prompt. 2) Run 'exec bash'. 3) Press Ctrl-C several times. This patch fixes the issue. --- winsup/cygwin/sigproc.cc | 8 1 file changed, 8 insertions(+) diff --git

Re: Package Requests: Update: bash-completion, coreutils - New: linux-manpages

2021-08-13 Thread Brian Inglis
ions under /usr/local/{share/,}man/ nor under /usr/share/man/linux/ (man -m linux)!  I could probably look at bash-completion if I can get around to bash, as I would worry about dependencies, fixes, and tweaks. There are big challenges in bash and coreutils being years out of date as parts of

  1   2   3   4   5   6   7   8   9   10   >