Mintty/tmux hangs for 1 minute on startup - seems to be a forking issue

2020-01-31 Thread Anon User via cygwin
I first reported this problem to the Mintty project at GitHub.  With their help, I was able to debug the issue to the call to forkpty.  I installed tmux and found it also hangs the exact same way.  My guess is any process which makes this fork call will hang in a similar way. Rather than

[PATCH v2] Cygwin: console: Revise color setting codes in legacy console mode.

2020-01-31 Thread Takashi Yano
- With this patch, foreground color and background color are allowed to be set simultaneously by 24 bit color escape sequence such as ESC[38;2;0;0;255;48;2;128;128;0m in legacy console mode. --- winsup/cygwin/fhandler.h | 2 +- winsup/cygwin/fhandler_console.cc | 47

[PATCH] Cygwin: console: Revise color setting codes in legacy console mode.

2020-01-31 Thread Takashi Yano
- With this patch, foreground color and background color are allowed to be set simultaneously by escape sequence such as ESC[38;2;0;0;255;48;2;128;128;0m in legacy console mode. --- winsup/cygwin/fhandler_console.cc | 38 --- 1 file changed, 20 insertions(+), 18

Re: Is there a way to clone-install Cygwin?

2020-01-31 Thread Brian Inglis
On 2020-01-31 12:21, Achim Gratz wrote: > Ulli Horlacher writes: >>> To a new naked Windows box, if you can "mount" it over the network >> >> No, I cannot do that. My destination Windows hosts are behind firewalls. >> They cannot mount anything. I have to transfer a container file. > > Try a vhdx

Re: Is there a way to clone-install Cygwin?

2020-01-31 Thread Achim Gratz
Ulli Horlacher writes: >> To a new naked Windows box, if you can "mount" it over the network > > No, I cannot do that. My destination Windows hosts are behind firewalls. > They cannot mount anything. I have to transfer a container file. Try a vhdx maybe? Regards, Achim. -- +<[Q+ Matrix-12

Re: hardlinks on directories?

2020-01-31 Thread Brian Inglis
On 2020-01-31 03:17, Ulli Horlacher wrote: > On Thu 2020-01-30 (12:26), Eric Blake wrote: > >>> Are this directory hard links? >> >> No, rather they are parallel mount points (the same directory mounted >> under two different names). > > /: mount > C:/cygwin64/bin on /usr/bin type ntfs

Re: Is there a way to clone-install Cygwin?

2020-01-31 Thread Ulli Horlacher
On Fri 2020-01-31 (08:06), KARL BOTTS wrote: > > >>> Cygwin is totally portable! You can simply copy the installation folder to > >>> another PC, copy the shortcut (edit target if needed) and it will work. > > >> How do you copy it? > >> Which archive container do you use? > > I have been using

Re: Is there a way to clone-install Cygwin?

2020-01-31 Thread Ulli Horlacher
On Fri 2020-01-31 (13:54), Thomas Wolff wrote: > > On 31.01.2020 12:29, Ulli Horlacher wrote: > > > On Fri 2020-01-31 (11:24), Ulli Horlacher wrote: > > > >> On Mon 2020-01-20 (19:28), Brent Epp wrote: > >> > >>> Cygwin is totally portable! You can simply copy the installation folder to > >>>

Re: Is there a way to clone-install Cygwin?

2020-01-31 Thread KARL BOTTS
>>> Cygwin is totally portable! You can simply copy the installation folder to >>> another PC, copy the shortcut (edit target if needed) and it will work. >> How do you copy it? >> Which archive container do you use? I have been using this approach for years. To a new naked Windows box, if

Re: Issue with email -a (Zip files)

2020-01-31 Thread Brian Inglis
On 2020-01-30 23:40, Priyanka Joshi wrote: > On Friday, January 31, 2020 3:27 AM, Brian Inglis wrote: >> On 2020-01-30 02:21, Priyanka Joshi wrote: >>> I am facing issue when I am trying to send zip file as attachment, >>> same command works fine for xml file. >>> >>> PFB commands for reference:

Re: Is there a way to clone-install Cygwin?

2020-01-31 Thread Thomas Wolff
On 31.01.2020 12:29, Ulli Horlacher wrote: On Fri 2020-01-31 (11:24), Ulli Horlacher wrote: On Mon 2020-01-20 (19:28), Brent Epp wrote: Cygwin is totally portable! You can simply copy the installation folder to another PC, copy the shortcut (edit target if needed) and it will work. How do

[newlib-cygwin] Cygwin: fstat_helper: always use handle in call to get_file_attribute

2020-01-31 Thread Ken Brown
https://sourceware.org/git/gitweb.cgi?p=newlib-cygwin.git;h=76dca77f049271e2529c25de8a396e65dbce615d commit 76dca77f049271e2529c25de8a396e65dbce615d Author: Ken Brown Date: Thu Jan 30 10:08:21 2020 -0500 Cygwin: fstat_helper: always use handle in call to get_file_attribute When

Re: Is there a way to clone-install Cygwin?

2020-01-31 Thread Ulli Horlacher
On Fri 2020-01-31 (12:29), Ulli Horlacher wrote: > > On Mon 2020-01-20 (19:28), Brent Epp wrote: > > > > > Cygwin is totally portable! You can simply copy the installation folder > > > to > > > another PC, copy the shortcut (edit target if needed) and it will work. > > > > I have tried it

Re: [PATCH] Cygwin: fstat_helper: always use handle in call to get_file_attribute

2020-01-31 Thread Corinna Vinschen
On Jan 30 12:01, Ken Brown wrote: > When fhandler_base::fstat_helper is called, the handle h returned by > get_stat_handle() should be pc.handle() and should be safe to use for > getting the file information. Previously, the call to > get_file_attribute() for FIFOs set the first argument to NULL

Re: Is there a way to clone-install Cygwin?

2020-01-31 Thread Ulli Horlacher
On Fri 2020-01-31 (11:24), Ulli Horlacher wrote: > On Mon 2020-01-20 (19:28), Brent Epp wrote: > > > Cygwin is totally portable! You can simply copy the installation folder to > > another PC, copy the shortcut (edit target if needed) and it will work. > > How do you copy it? > Which archive

Re: Is there a way to clone-install Cygwin?

2020-01-31 Thread Ulli Horlacher
On Mon 2020-01-20 (19:28), Brent Epp wrote: > Cygwin is totally portable! You can simply copy the installation folder to > another PC, copy the shortcut (edit target if needed) and it will work. How do you copy it? Which archive container do you use? I have tried it with: /: cat zip.bat cd

Re: hardlinks on directories?

2020-01-31 Thread Ulli Horlacher
On Thu 2020-01-30 (12:26), Eric Blake wrote: > > Are this directory hard links? > > No, rather they are parallel mount points (the same directory mounted > under two different names). /: mount C:/cygwin64/bin on /usr/bin type ntfs (binary,auto) C:/cygwin64/lib on /usr/lib type ntfs