Re: scp and ssh 'cat' stalls at 64k bytes

2023-11-06 Thread Andrey Repin via Cygwin
s (>64KB) to cygwin as >>> the remote receiving end (with the latest cygwin)? >> >> Yes, with all Cygwin64 updates, I was able to scp a file of a few MB > from >> Linux to Windows 10 with no issues.  I also tried your 'cat' > version, and >> that wo

Re: scp and ssh 'cat' stalls at 64k bytes

2023-06-24 Thread Chris Roehrig via Cygwin
On 2023-06-24 00:12, Kevin Schnitzius wrote: On Friday, June 23, 2023 at 10:00:02 PM EDT, Chris Roehrig via Cygwin wrote: Thanks.  There must be some issue with my setup.   Very odd that 'pv' works, but 'cat' does not.  ldd shows they use identical libs.   I guess I&

Re: scp and ssh 'cat' stalls at 64k bytes

2023-06-24 Thread Chris Roehrig via Cygwin
On 2023-06-23 22:35, Brian Inglis wrote: On 2023-06-23 20:19, Dan Harkless via Cygwin wrote: Before you resort to trawling through source, did you try a fresh Cygwin install (either to a different directory, or after temporarily moving your current tree)? Sometimes, e.g. if you use the same

Re: scp and ssh 'cat' stalls at 64k bytes

2023-06-24 Thread Kevin Schnitzius via Cygwin
On Friday, June 23, 2023 at 10:00:02 PM EDT, Chris Roehrig via Cygwin wrote: > Thanks.  There must be some issue with my setup.   Very odd that 'pv' > works, but 'cat' does not.  ldd shows they use identical libs.   I guess > I'll start with the pv and cat

Re: scp and ssh 'cat' stalls at 64k bytes

2023-06-23 Thread Dan Harkless via Cygwin
On 6/23/2023 10:35 PM, Brian Inglis wrote: On 2023-06-23 20:19, Dan Harkless via Cygwin wrote: > Before you resort to trawling through source, did you try a fresh Cygwin install > (either to a different directory, or after temporarily moving your current > tree)? Sometimes, e.g. if you use the

Re: scp and ssh 'cat' stalls at 64k bytes

2023-06-23 Thread Brian Inglis via Cygwin
to Windows 10 with no issues. I also tried your 'cat' version, and that worked fine too. Thanks. There must be some issue with my setup. Very odd that 'pv' works, but 'cat' does not.  ldd shows they use identical libs.   I guess I'll start with the pv and

Re: scp and ssh 'cat' stalls at 64k bytes

2023-06-23 Thread Dan Harkless via Cygwin
ried your 'cat' > version, and that worked fine too. Thanks.  There must be some issue with my setup.   Very odd that 'pv' works, but 'cat' does not.  ldd shows they use identical libs.   I guess I'll start with the pv and cat source. Before you resort

Re: scp and ssh 'cat' stalls at 64k bytes

2023-06-23 Thread Chris Roehrig via Cygwin
to Windows 10 with no issues.  I also tried your 'cat' version, and that worked fine too. -- Dan Harkless http://harkless.org/dan/ Thanks.  There must be some issue with my setup.   Very odd that 'pv' works, but 'cat' does not.  ldd shows they use identical libs

Re: scp and ssh 'cat' stalls at 64k bytes

2023-06-23 Thread Dan Harkless via Cygwin
nd its sub-processes on cygwin. Is anyone else able to successfully scp large files (>64KB) to cygwin as the remote receiving end (with the latest cygwin)? Yes, with all Cygwin64 updates, I was able to scp a file of a few MB from Linux to Windows 10 with no issues.  I also tried your 'cat&#

Re: scp and ssh 'cat' stalls at 64k bytes

2023-06-23 Thread Chris Roehrig via Cygwin
06-23 16:27, Voris, Ben wrote: I did not and cannot. Sorry. Fwiw, pushing from Cygwin to the remote also worked. -Original Message- From: Chris Roehrig Sent: 23 June 2023 17:23 To: Voris, Ben Subject: Re: scp and ssh 'cat' stalls at 64k bytes Did you execute the scp on the

RE: scp and ssh 'cat' stalls at 64k bytes

2023-06-23 Thread Voris, Ben via Cygwin
Re: scp and ssh 'cat' stalls at 64k bytes > > > On 2023-06-23 08:28, Brian Inglis wrote: > > On 2023-06-23 00:26, Chris Roehrig via Cygwin wrote: > >> I've upgraded cygwin recently (from a much older version) and am > >> encountering a new proble

Re: scp and ssh 'cat' stalls at 64k bytes

2023-06-23 Thread Chris Roehrig via Cygwin
bs=1 count=65536 | ssh localhost 'cat > /dev/null'    # works dd if=/dev/zero bs=1 count=65537 | ssh localhost 'cat > /dev/null'    # stalls (and anything larger) dd if=/dev/zero bs=1 count=65537 | ssh localhost 'pv > /dev/null'    # replace 'cat'

Re: scp and ssh 'cat' stalls at 64k bytes

2023-06-23 Thread Brian Inglis via Cygwin
On 2023-06-23 00:26, Chris Roehrig via Cygwin wrote: I've upgraded cygwin recently (from a much older version) and am encountering a new problem on all my Win10/WIn11 machines. With openssh and pv installed on cygwin (3.4.7-1): dd if=/dev/zero bs=1 count=65536 | ssh localhost 'cat &

scp and ssh 'cat' stalls at 64k bytes

2023-06-22 Thread Chris Roehrig via Cygwin
I've upgraded cygwin recently (from a much older version) and am encountering a new problem on all my Win10/WIn11 machines. With openssh and pv installed on cygwin (3.4.7-1): dd if=/dev/zero bs=1 count=65536 | ssh localhost 'cat > /dev/null'    # works dd if=/dev/zero bs=1

Re: "cat" breaks ANSI codes on Windows Terminal when piping stdout to python or golang

2022-06-14 Thread Takashi Yano
u also > can run cygwin bash if you add configuration. What does tab on left > upper of the window of Windows Terminal say? > > > Also, what do you mean you can't reproduce the issue? Was it because of > > insufficient information, or because the commands worked perfe

Re: "cat" breaks ANSI codes on Windows Terminal when piping stdout to python or golang

2022-06-14 Thread Takashi Yano
erminal say? > Also, what do you mean you can't reproduce the issue? Was it because of > insufficient information, or because the commands worked perfectly on your > system? I meant 'cat empty.txt | go run color.go' outputs cyan 'golang-test' text. > I noti

Re: "cat" breaks ANSI codes on Windows Terminal when piping stdout to python or golang

2022-06-14 Thread 5990 via Cygwin
n > install the missing lolpython dependency from PiPy by running `pip install > lolpython` > Original Message > On Jun. 14, 2022, 7:47 a.m., Takashi Yano < takashi.y...@nifty.ne.jp> wrote: > > > > > On Tue, 14 Jun 2022 08:01:45 + 5990 via Cygwin w

Re: "cat" breaks ANSI codes on Windows Terminal when piping stdout to python or golang

2022-06-14 Thread 5990 via Cygwin
thon dependency from PiPy by running `pip install lolpython` Original Message On Jun. 14, 2022, 7:47 a.m., Takashi Yano < takashi.y...@nifty.ne.jp> wrote: > On Tue, 14 Jun 2022 08:01:45 + 5990 via Cygwin wrote: > ## Bug: > Piping > the standard output of ca

Re: "cat" breaks ANSI codes on Windows Terminal when piping stdout to python or golang

2022-06-14 Thread Takashi Yano
On Tue, 14 Jun 2022 08:01:45 + 5990 via Cygwin wrote: > ## Bug: > Piping the standard output of cat into the standard input of golang or > python, makes the Windows Terminal render ANSI codes as arrows. > > For example: > `\033[36m` turns into `←[36m` (or in base64'

"cat" breaks ANSI codes on Windows Terminal when piping stdout to python or golang

2022-06-14 Thread 5990 via Cygwin
## Bug: Piping the standard output of cat into the standard input of golang or python, makes the Windows Terminal render ANSI codes as arrows. For example: `\033[36m` turns into `←[36m` (or in base64'd UNICODE: `4oaQWzM2bQ==`) ## Environment: - cat v8.26 - Windows Terminal v1.12.10

Re: ps | cat broken in newlib-cygwin git head (master)

2022-05-17 Thread Corinna Vinschen
Hi Takashi, please send this to the newlib ML, ideally as a reply to the patch or patchset, CCing Matt and Sebastian. Thanks, Corinna On May 17 12:17, Takashi Yano wrote: > On Tue, 17 May 2022 04:37:12 +0900 > Takashi Yano wrote: > > I found that "ps | cat" outputs nothin

Re: ps | cat broken in newlib-cygwin git head (master)

2022-05-16 Thread Takashi Yano
On Tue, 17 May 2022 04:37:12 +0900 Takashi Yano wrote: > I found that "ps | cat" outputs nothing with the current git head (master) > of newlib-cygwin. However, just "ps" and "ls | cat" works. > > This happens after the commit: > > commit 26747c4

ps | cat broken in newlib-cygwin git head (master)

2022-05-16 Thread Takashi Yano
I found that "ps | cat" outputs nothing with the current git head (master) of newlib-cygwin. However, just "ps" and "ls | cat" works. This happens after the commit: commit 26747c47bc0a1137e02e0377306d721cc3478855 Author: Matt Joyce Date: Tue May

Re: cat fifo hang [Re: [ANNOUNCEMENT] cygwin 3.3.0-0.2.6c1f49f83fde (TEST)]

2021-10-24 Thread Ken Brown via Cygwin
On 10/17/2021 6:15 PM, Ken Brown via Cygwin wrote: On 10/17/2021 4:52 PM, Chris Roehrig wrote:  Here's a script that pretty reliably hangs cat after some iterations. [...] Thanks!  I can reproduce the hang.  I'll look into it. I've done some debugging and have followed u

Re: cat fifo hang [Re: [ANNOUNCEMENT] cygwin 3.3.0-0.2.6c1f49f83fde (TEST)]

2021-10-17 Thread Ken Brown via Cygwin
On 10/17/2021 4:52 PM, Chris Roehrig wrote: Here's a script that pretty reliably hangs cat after some iterations. [...] Thanks! I can reproduce the hang. I'll look into it. Ken -- Problem reports: https://cygwin.com/problems.html FAQ: https://cygw

cat fifo hang [Re: [ANNOUNCEMENT] cygwin 3.3.0-0.2.6c1f49f83fde (TEST)]

2021-10-17 Thread Chris Roehrig
>> having occasional crashes/hangs of cat.exe over the years, but this is the >> first time I've ever gotten an error message: >> cygwin error: 0 [fifo_reader] cat 11398 C:\cygwin\bin\cat.exe: *** fatal >> error - Can't add a client handler, Win32 error 123 &g

Re: cat /proc/partitions shows only devices, not partitions

2020-03-09 Thread Bill Stewart
On Mon, Mar 9, 2020 at 9:47 AM Hashim Aziz wrote: > I see. Do you know how I would go about resolving this, as I am using an > Administrator account and have never run into any other issues reading, > writing or otherwise making changes to those drives. As a side point: It is important to under

Re: cat /proc/partitions shows only devices, not partitions

2020-03-09 Thread Hashim Aziz
Vinschen Sent: Tuesday, March 03, 2020 4:46 PM To: cygwin@cygwin.com Subject: Re: cat /proc/partitions shows only devices, not partitions On Mar 3 16:32, Hashim Aziz wrote: > Yes, this was what I expected you meant by elevated shell. I tried that > earlier and got no luck (though I tried the l

Re: cat /proc/partitions shows only devices, not partitions

2020-03-08 Thread Andrey Repin
Greetings, Hashim Aziz! Please no top posting on the list. > An update to this, I resorted to nuking and then re-installing Cygwin from > scratch, and the problem STILL persists. This seems to suggest that > something is wrong with Windows itself that is responsible for Cygwin no > longer being a

Re: cat /proc/partitions shows only devices, not partitions

2020-03-07 Thread Hashim Aziz
, but what that something could be I have no idea anymore. From: Hashim Aziz Sent: 03 March 2020 4:32 PM To: cygwin@cygwin.com Subject: Re: cat /proc/partitions shows only devices, not partitions Yes, this was what I expected you meant by elevated shell. I tried

Re: cat /proc/partitions shows only devices, not partitions

2020-03-04 Thread Andrey Repin
Greetings, Hashim Aziz! > This was an issue that I had previously in September of last year and sent > the issue to this mailing list ("win-mounts no longer displays anything when > doing "cat /proc/partitions") but the issue stopped occurring before I could > get ar

Re: cat /proc/partitions shows only devices, not partitions

2020-03-03 Thread Corinna Vinschen
On Mar 3 16:32, Hashim Aziz wrote: > Yes, this was what I expected you meant by elevated shell. I tried that > earlier and got no luck (though I tried the link to the Cygwin terminal in my > start menu > not a desktop shortcut), and I just tried again after attempting several > permissions fix

Re: cat /proc/partitions shows only devices, not partitions

2020-03-03 Thread Hashim Aziz
r' retained as Hashim ownership of '/var' retained as Hashim Whether the above output is normal or not I'm unsure. From: Corinna Vinschen Sent: Tuesday, March 03, 2020 10:44 AM To: Hashim Aziz Cc: cygwin@cygwin.com Subject: Re: cat /proc/partitions sh

Re: cat /proc/partitions shows only devices, not partitions

2020-03-03 Thread Corinna Vinschen
ot;. > I have attached the requested strace file. Here's what I see for all partitions in the trace output: 460 21259 [main] cat 553 format_proc_partitions: DeviceIoControl (Harddisk0\Partition0, IOCTL_DISK_GET_PARTITION_INFO{_EX}) Win32 error 5 Win32 error 5 is ERROR_ACCESS_DENIED

Re: cat /proc/partitions shows only devices, not partitions

2020-03-02 Thread Hashim Aziz
Aziz Cc: cygwin Subject: Re: cat /proc/partitions shows only devices, not partitions On Mar  1 21:16, Hashim Aziz wrote: > This was an issue that I had previously in September of last year and > sent the issue to this mailing list ("win-mounts no longer disp

Re: cat /proc/partitions shows only devices, not partitions

2020-03-02 Thread Hashim Aziz
iz Cc: cygwin Subject: Re: cat /proc/partitions shows only devices, not partitions On Mar  1 21:16, Hashim Aziz wrote: > This was an issue that I had previously in September of last year and > sent the issue to this mailing list ("win-mounts no longer disp

Re: cat /proc/partitions shows only devices, not partitions

2020-03-02 Thread Corinna Vinschen
On Mar 1 21:16, Hashim Aziz wrote: > This was an issue that I had previously in September of last year and > sent the issue to this mailing list ("win-mounts no longer displays > anything when doing "cat /proc/partitions") but the issue stopped > occurring before I cou

cat /proc/partitions shows only devices, not partitions

2020-03-01 Thread Hashim Aziz
This was an issue that I had previously in September of last year and sent the issue to this mailing list ("win-mounts no longer displays anything when doing "cat /proc/partitions") but the issue stopped occurring before I could get around to diagnosing it. This issue has now

Re: win-mounts no longer displays anything when doing "cat /proc/partitions"

2019-09-19 Thread Andrey Repin
Greetings, Hashim Aziz! > I've been using Cygwin loyally for almost 5 years now, and throughout that > time have found the win-mounts column invaluable to find a drive or USB's > /dev/sdX mapping, by doing cat /proc/partitions. I haven't run that command > in a

Re: win-mounts no longer displays anything when doing "cat /proc/partitions"

2019-09-19 Thread Brian Inglis
On 2019-09-19 13:51, Hashim Aziz wrote: > I've been using Cygwin loyally for almost 5 years now, and throughout that > time have found the win-mounts column invaluable to find a drive or USB's > /dev/sdX mapping, by doing cat /proc/partitions. > I haven't run that comma

win-mounts no longer displays anything when doing "cat /proc/partitions"

2019-09-19 Thread Hashim Aziz
I've been using Cygwin loyally for almost 5 years now, and throughout that time have found the win-mounts column invaluable to find a drive or USB's /dev/sdX mapping, by doing cat /proc/partitions. I haven't run that command in a while, however, and today I realised that this f

Re: cat /proc/version mainly broken

2019-03-19 Thread Corinna Vinschen
On Mar 18 19:08, Achim Gratz wrote: > Corinna Vinschen writes: > > Yikes. I change uname but missed to patch /proc/version as well. > > Fixed in git. Please try the latest developer snapshot from > > https://cygwin.com/snapshots/ > > Fix confirmed. Thanks for testing! Corinna -- Corinna Vin

Re: cat /proc/version mainly broken

2019-03-18 Thread Achim Gratz
Corinna Vinschen writes: > Yikes. I change uname but missed to patch /proc/version as well. > Fixed in git. Please try the latest developer snapshot from > https://cygwin.com/snapshots/ Fix confirmed. Regards, Achim. -- +<[Q+ Matrix-12 WAVE#46+305 Neuron microQkb Andromeda XTk Blofeld]>+ Fac

Re: cat /proc/version mainly broken

2019-03-18 Thread Corinna Vinschen
On Mar 18 11:05, Alexander Kleinsorge wrote: > Hi Cygwin, > there is an Issue wit "cat /proc/version" (tested on 2 different Windows 7, > 64 bit PC, both had no issue some month ago). > > $ cat /proc/version > CYGWIN_NT-6.1-WOW version vaÜð0aìð0aìð0a0Ç0aìð0a (cori

cat /proc/version mainly broken

2019-03-18 Thread Alexander Kleinsorge
Hi Cygwin, there is an Issue wit "cat /proc/version" (tested on 2 different Windows 7, 64 bit PC, both had no issue some month ago). $ cat /proc/version CYGWIN_NT-6.1-WOW version vaÜð0aìð0aìð0a0Ç0aìð0a (corinna@calimero) (gcc version 7.4.0 20181206 (Fedora Cygwin 7.4.0-1) (GCC) )

RE: Printing (lpr, print, cat > returns printer not valid or no longer available

2018-02-25 Thread rodney.barnhart
From: cygwin-ow...@cygwin.com [mailto:cygwin-ow...@cygwin.com] On Behalf Of Rodney Barnhart Sent: Thursday, February 22, 2018 9:22 PM To: cygwin@cygwin.com Subject: RE: Printing (lpr, print, cat > returns printer not valid or no longer available Andrey, 2/23/2018 update Did you "fin

Re: Printing (lpr, print, cat > returns printer not valid or no longer available

2018-02-23 Thread Marco Atzeri
On 23/02/2018 16:35, Andrey Repin wrote: Greetings, Rodney Barnhart! P.S. It was a long time since I last tried smth like this, but I can replicte your issues. Even if the job was sent to printer, it results in error. On another hand, running text files trough convert text:... pdf:- | lpr -

Re: Printing (lpr, print, cat > returns printer not valid or no longer available

2018-02-23 Thread Andrey Repin
Greetings, Rodney Barnhart! Please no top-posting in this list. See https://cygwin.com/acronyms/#TOFU , also https://cygwin.com/acronyms/#PCYMTNQREAIYR > Andrey, > Thanks for responding. > I have to apologize in advance. I don't know the answer to your question. You can find it by using the usu

RE: Printing (lpr, print, cat > returns printer not valid or no longer available

2018-02-22 Thread Rodney Barnhart
win. Thanks Rod -Original Message- From: Andrey Repin [mailto:anrdae...@yandex.ru] Sent: Thursday, February 22, 2018 5:47 PM To: rodney.barnh...@verizon.net; cygwin@cygwin.com Subject: Re: Printing (lpr, print, cat > returns printer not valid or no longer available Greetings, rodney.barnh.

Re: Printing (lpr, print, cat > returns printer not valid or no longer available

2018-02-22 Thread Andrey Repin
Greetings, rodney.barnh...@verizon.net! > I have read the FAQs and 100's on general web page discussions re printing > and they all talk about \\ > \ as the answer, but I only get the not valid response. > I've tried many varients of \\, //, "", '' and escaping 2, 4 etc times and > it doesn't m

Printing (lpr, print, cat > returns printer not valid or no longer available

2018-02-22 Thread rodney.barnhart
I have read the FAQs and 100's on general web page discussions re printing and they all talk about \\ \ as the answer, but I only get the not valid response. I've tried many varients of \\, //, "", '' and escaping 2, 4 etc times and it doesn't make any difference. I am running Windows 10 and

Re: mandb -p deleting "obsolete" Windows cat directories

2018-01-23 Thread Hans-Bernhard Bröker
Am 23.01.2018 um 02:49 schrieb Brian Inglis: I was surprised when I looked at the log (attached, with lots of man directory > indexing stripped), that mandb -p decide to scan my C drive and perform the It probably wasn't actually scanning "the C drive" as such, but rather the neighboring dire

Re: mandb -p deleting "obsolete" Windows cat directories

2018-01-23 Thread Brian Inglis
On 2018-01-22 22:35, L A Walsh wrote: > Brian Inglis wrote: >> Removing obsolete cat directory /proc/cygdrive/c/Windows/en-US... >> " >> which is kind of worrisome, especially when the complete path is not shown! >>   > Ouch! > > You might try loading th

mandb -p deleting "obsolete" Windows cat directories

2018-01-22 Thread Brian Inglis
ran mandb -p (--no-purge), which took a long time. I was surprised when I looked at the log (attached, with lots of man directory indexing stripped), that mandb -p decide to scan my C drive and perform the undocumented action of removing Windows localization cat directories that it considers ob

Re: hang on 'cat /proc/mounts' when one of the network drives is on a 'down' system

2017-01-13 Thread cyg Simple
On 1/12/2017 1:51 PM, Corinna Vinschen wrote: > On Jan 12 11:47, cyg Simple wrote: >> You may be able to configure the timeout response on the device to >> reduce the wait. > > How so? If it requires changing the registry it's not something > Cygwin can do on the fly without admin consent. Only

Re: hang on 'cat /proc/mounts' when one of the network drives is on a 'down' system

2017-01-12 Thread Corinna Vinschen
r the explanation. Looking at my ".bashrc", > >> I can't figure out why needed this so I can comment it out. > >> However, as an "aside", I'm not sure why my workaround > >> didn't work...though I might guess. > >> >

Re: hang on 'cat /proc/mounts' when one of the network drives is on a 'down' system

2017-01-12 Thread cyg Simple
his so I can comment it out. >> However, as an "aside", I'm not sure why my workaround >> didn't work...though I might guess. >> >> I tried using 'timeout' from 'coreutils-8.23-4' like: >> readarray -t proc_mounts< &l

Re: hang on 'cat /proc/mounts' when one of the network drives is on a 'down' system

2017-01-12 Thread Corinna Vinschen
my workaround > didn't work...though I might guess. > > I tried using 'timeout' from 'coreutils-8.23-4' like: > readarray -t proc_mounts< <(timeout -k 2 1 cat /proc/mounts) > > I had hoped that w/cat hanging, timeout waits 1 second (2nd > number

Re: hang on 'cat /proc/mounts' when one of the network drives is on a 'down' system

2017-01-11 Thread L. A. Walsh
xplanation. Looking at my ".bashrc", I can't figure out why needed this so I can comment it out. However, as an "aside", I'm not sure why my workaround didn't work...though I might guess. I tried using 'timeout' from 'coreutils-8.23-4' like: re

Re: hang on 'cat /proc/mounts' when one of the network drives is on a 'down' system

2017-01-11 Thread Corinna Vinschen
ntent on it), I can see > it hanging. > > But what about "cat /proc/mounts" which is dumping out text > like: > > Z: /z ntfs binary,user,noumount,auto 1 1 > > should require accessing and hanging for a few minutes? > Is it determining the network file type?

hang on 'cat /proc/mounts' when one of the network drives is on a 'down' system

2017-01-10 Thread L A Walsh
I noticed my local terminals were not opening w/a shell prompt, but would timeout if I waited long enough...(1-2 minutes? maybe?). Turns out, one of my mounted net-drives was a down-system, so if I was trying to access the drive (or content on it), I can see it hanging. But what about &quo

Re: permisions: cat from bash vs type from cmd

2016-09-07 Thread Andrey Repin
Greetings, Andrey Repin! > Running both cmd and type in the same session would be more illustrative. "cat and type" Sorry. -- With best regards, Andrey Repin Wednesday, September 7, 2016 13:53:06 Sorry for my terrible english... -- Problem reports: http://cygwin.com/prob

Re: permisions: cat from bash vs type from cmd

2016-09-06 Thread Andrey Repin
ands, but I can see his file when > I uses cygwin? I am running on my own PC and we are on the same > domain. Do you run Cygwin with administrator privileges? > morten@mortenpc ~ > $ cat //virtualserver/d$/mhome/.netrc > machine computerxxx login userxxx password passxxx > mort

permisions: cat from bash vs type from cmd

2016-09-06 Thread Morten Kjærulff
running on my own PC and we are on the same domain. morten@mortenpc ~ $ cat //virtualserver/d$/mhome/.netrc machine computerxxx login userxxx password passxxx morten@mortenpc ~ $ cmd Microsoft Windows [version 6.1.7601] Copyright (c) 2009 Microsoft Corporation. Alle rettigheder forbeholdes. D

Re: Running 4096 parallel cat processes on remote share results in only 1018 succeeding

2014-10-09 Thread Linda Walsh
Nathan Fairchild wrote: When I run a script like so: cat: /u/pe/env_files/transpath.map: No such file or directory ./run_many.sh: fork: retry: Resource temporarily unavailable ./run_many.sh: fork: Resource temporarily unavailable $ grep -l PATH out* | wc -l 1018 I think I'm pro

Running 4096 parallel cat processes on remote share results in only 1018 succeeding

2014-10-08 Thread Nathan Fairchild
When I run a script like so: #!/bin/bash ulimit -n 3200 for i in $(seq $1) do exec cat /u/pe/env_files/transpath.map > out$i.log & done Where /u maps to a Windows share in /etc/fstab I get the following when running with 4096 instances (this happens whether I use a mapped /et

Re: Redirecting cat and paste to file gives garbage

2013-08-09 Thread Corinna Vinschen
elow... > >>>> > >>>> # <<< --- begin STC --->>> > >>>> $ uname -a > >>>> CYGWIN_NT-6.1 ryan-laptop-v02 1.7.23s(0.268/5/3) 20130729 19:11:42 > >>>> x86_64 Cygwin > >>>> > >>>> $ echo &q

Re: Redirecting cat and paste to file gives garbage

2013-08-08 Thread Christopher Faylor
On Thu, Aug 08, 2013 at 12:07:20PM -0400, Ryan Johnson wrote: >Still a mintty bug? How would we know? You didn't ask us for thoughts so we didn't have any. -- Problem reports: http://cygwin.com/problems.html FAQ: http://cygwin.com/faq/ Documentation: http://cygwin

Re: Redirecting cat and paste to file gives garbage

2013-08-08 Thread Andy Koppe
me -a >>>> CYGWIN_NT-6.1 ryan-laptop-v02 1.7.23s(0.268/5/3) 20130729 19:11:42 >>>> x86_64 Cygwin >>>> >>>> $ echo "Reading" > /dev/clipboard >>>> >>>> # hit [shift]+[insert] to paste >>>> # (hopefully 8

Re: Redirecting cat and paste to file gives garbage

2013-08-08 Thread Earnie Boyd
On Thu, Aug 8, 2013 at 1:40 PM, Eliot Moss wrote: > Indeed, I generally try to redirect my cat > away from ANY paste! Name your cat doc and then just call to it like cat <https://sites.google.com/site/earnieboyd -- Problem reports: http://cygwin.com/problems

Re: Redirecting cat and paste to file gives garbage

2013-08-08 Thread Eliot Moss
Indeed, I generally try to redirect my cat away from ANY paste! Cheers -- Eliot Moss -- Problem reports: http://cygwin.com/problems.html FAQ: http://cygwin.com/faq/ Documentation: http://cygwin.com/docs.html Unsubscribe info: http://cygwin.com/ml

Re: Redirecting cat and paste to file gives garbage

2013-08-08 Thread Corinna Vinschen
1 ryan-laptop-v02 1.7.23s(0.268/5/3) 20130729 19:11:42 > >>>x86_64 Cygwin > >>> > >>>$ echo "Reading" > /dev/clipboard > >>> > >>># hit [shift]+[insert] to paste > >>># (hopefully 8 characters is not "

Re: Redirecting cat and paste to file gives garbage

2013-08-08 Thread Ryan Johnson
below... # <<< --- begin STC --->>> $ uname -a CYGWIN_NT-6.1 ryan-laptop-v02 1.7.23s(0.268/5/3) 20130729 19:11:42 x86_64 Cygwin $ echo "Reading" > /dev/clipboard # hit [shift]+[insert] to paste # (hopefully 8 characters is not "too long" to paste into a TTY) # then hit

Re: Redirecting cat and paste to file gives garbage

2013-08-08 Thread Corinna Vinschen
shown below... > > > > # <<< --- begin STC --->>> > > $ uname -a > > CYGWIN_NT-6.1 ryan-laptop-v02 1.7.23s(0.268/5/3) 20130729 19:11:42 > > x86_64 Cygwin > > > > $ echo "Reading" > /dev/clipboard > > > > # hit [sh

Re: Redirecting cat and paste to file gives garbage

2013-08-08 Thread Corinna Vinschen
> CYGWIN_NT-6.1 ryan-laptop-v02 1.7.23s(0.268/5/3) 20130729 19:11:42 > x86_64 Cygwin > > $ echo "Reading" > /dev/clipboard > > # hit [shift]+[insert] to paste > # (hopefully 8 characters is not "too long" to paste into a TTY) > # then hit ^D to

Redirecting cat and paste to file gives garbage

2013-08-08 Thread Ryan Johnson
ygwin $ echo "Reading" > /dev/clipboard # hit [shift]+[insert] to paste # (hopefully 8 characters is not "too long" to paste into a TTY) # then hit ^D to finish $ cat > tmp.txt $ cat tmp.txt Rg eRaedaidnign g $ cat /dev/clipboard Reading # <<< --- end S

Re: BUG: Pasting Smiling Cat with Heart-Shaped Eyes into ZSH locks MinTTY, requires force close

2013-04-23 Thread Helmut Karlowski
Andy Koppe, 23.04.2013 22:07:11: Quite. Or just kill the cat. That's a solution in case of /bin/cat. But also any other process hanging that way can only be killed -9, no other signal can be caught by it (e.g. alarm), or is there a way to keep it going somehow? -- Helmut Karl

Re: BUG: Pasting Smiling Cat with Heart-Shaped Eyes into ZSH locks MinTTY, requires force close

2013-04-23 Thread Larry Hall (Cygwin)
On 4/23/2013 4:07 PM, Andy Koppe wrote: On 23 April 2013 18:32, Christopher Faylor wrote: For now "Just don't do that". Quite. Or just kill the cat. I thought curiosity killed the cat. ;-) -- Larry _ A

Re: BUG: Pasting Smiling Cat with Heart-Shaped Eyes into ZSH locks MinTTY, requires force close

2013-04-23 Thread Andy Koppe
On 23 April 2013 18:32, Christopher Faylor wrote: >>Similar happens when doing: >> >>cat /bin/gdb.exe >> >>for example. Something seems to overflow. I can reproduce that one. 'ps' output shows that 'cat' and 'mintty' are both waiting fo

Re: BUG: Pasting Smiling Cat with Heart-Shaped Eyes into ZSH locks MinTTY, requires force close

2013-04-23 Thread Andy Koppe
esult: zsh: command not found: \ud83d\ude3b So, more info needed: please see http://cygwin.com/problems.html, in particular: "Run cygcheck -s -v -r > cygcheck.out and include that file as an attachment in your report." Also, does the CPU usage shoot up? And what's the output

Re: BUG: Pasting Smiling Cat with Heart-Shaped Eyes into ZSH locks MinTTY, requires force close

2013-04-23 Thread Christopher Faylor
not respond > >Similar happens when doing: > >cat /bin/gdb.exe > >for example. Something seems to overflow. It's a long-standing problem for which there is no easy fix. For now "Just don't do that". cgf -- Problem reports: http://cygwin.com/problems.html

Re: BUG: Pasting Smiling Cat with Heart-Shaped Eyes into ZSH locks MinTTY, requires force close

2013-04-23 Thread Helmut Karlowski
Jeff Crowell, 23.04.2013 18:58:07: 1) Copy http://www.fileformat.info/info/unicode/char/1f63b/index.htm 2) paste into ZSH 3) press enter Actual Results: MinTTY hangs and does not respond Similar happens when doing: cat /bin/gdb.exe for example. Something seems to overflow. -- Helmut

BUG: Pasting Smiling Cat with Heart-Shaped Eyes into ZSH locks MinTTY, requires force close

2013-04-23 Thread Jeff Crowell
Bug report below. Let me know if you need anything else Product: zsh/MinTTY Version: zsh 5.0.2 (i686-pc-cygwin) Component: In which component does the bug exist? Platform: i686-pc-cygwin OS: Windows 8, probably all versions of windows Summary: Pasting certain characters into MinTTY runni

Re: cygwin commands (cat,grep) not working in my windows 2008 machine

2012-08-17 Thread Christopher Faylor
On Thu, Aug 16, 2012 at 06:40:29PM -0700, cyberdon wrote: >HI, > >I was getting error when tryin to run cat command as well but once i ran it >like this: > >/bin/cat pinger.data > >then it began to work and the data from file "pinger.data" was parsed out >Mayb

Re: cygwin commands (cat,grep) not working in my windows 2008 machine

2012-08-16 Thread cyberdon
HI, I was getting error when tryin to run cat command as well but once i ran it like this: /bin/cat pinger.data then it began to work and the data from file "pinger.data" was parsed out Maybe this'll work for you. Thanks! Cyberdon -- View this message in context: http://cy

W7x64/Cygwin 1.7.9-1 Weird problem with cp and cat

2011-10-24 Thread g...@novadsp.com
I am trying to build WebKit on Windows. There are a large number of bash and perl scripts plus makefiles which rely on Cygwin tools. My original problem was that cat and cp refused to work when given filenames starting with/dev/fs/. I 'solved' this by modifying the scripts to run &quo

cat: write error: File too large

2011-03-15 Thread EXCOFFIER Denis
Hello! I'm currently testing the last snapshot 20110313. I've found something curious. % uname -a CYGWIN_NT-5.1 JUPITER043890 1.7.9s(0.236/5/3) 20110313 16:22:37 i686 Cygwin % bzip2 -cd < gcc-4.5.2.tar.bz2 > /tmp/1 % wc /tmp/1 11426953 43063570 448358400 /tmp/1 % rm /tmp/1

Re: Cygwin "cat command failure" for large files

2009-05-12 Thread Larry Hall (Cygwin)
CHATURVEDI PRABUDDHA wrote: Hi All, While accessing a file through rsh on my system and using cat command on that file. if file is less than 64 kb ... command works else i get a error " cat: write error: No space left on device " Is this known problem in cygwin. Kindly help

Cygwin "cat command failure" for large files

2009-05-11 Thread CHATURVEDI PRABUDDHA
> > Hi All, > > While accessing a file through rsh on my system and using cat command > on that file. > if file is less than 64 kb ... command works else i get a error >  " cat: write error: No space left on device " > Is this  known problem in cygwin. > Kindl

"cat >" command is not working in windows 2008

2009-04-06 Thread sudhap85
I am trying the following command on DOS command prompt and it does not work. There is a process which writes to STDOUT and the following command captures it[from STDIN] and writes to a file.Please help in this regard. cat > $root/qfile ‘> $root/script” but /tmp qfile itself is not c

Re: cygwin commands (cat,grep) not working in my windows 2008 machine

2009-04-02 Thread Christopher Faylor
On Thu, Apr 02, 2009 at 05:25:53AM -0700, sudhap85 wrote: >The same test got passed with cygwin 5.2 in windows 2003. There is no cygwin 5.2. cgf -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http:/

Re: cygwin commands (cat,grep) not working in my windows 2008 machine

2009-04-02 Thread sudhap85
hi, The same test got passed with cygwin 5.2 in windows 2003. Eric Blake wrote: > > -BEGIN PGP SIGNED MESSAGE- > Hash: SHA1 > > According to sudhap85 on 4/2/2009 5:45 AM: >> Hi, >> what i means the problem here is that function is not working for &

Re: cygwin commands (cat,grep) not working in my windows 2008 machine

2009-04-02 Thread Eric Blake
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 According to sudhap85 on 4/2/2009 5:45 AM: > Hi, > what i means the problem here is that function is not working for me. > (i.e) if i run cat > file1 >>file2. Here file1 content is not copied to > file2. This is not cygwin

RE: cygwin commands (cat,grep) not working in my windows 2008 machine

2009-04-02 Thread sudhap85
Hi, what i means the problem here is that function is not working for me. (i.e) if i run cat > file1 >>file2. Here file1 content is not copied to file2. Also Am running perl script (PERL version 5.8.0) in windows 2008 platform. Phil Betts-2 wrote: > > sudhap85 wrote: &

RE: cygwin commands (cat,grep) not working in my windows 2008 machine

2009-04-02 Thread Phil Betts
sudhap85 wrote: >I am using windows 2008 machine. I have installed latest cygwin. > Here I am facing problem with the "cat" "grep" commands. In command > line its working fine. but In my scripts it's giving error. So what's the error? Without this as

cygwin commands (cat,grep) not working in my windows 2008 machine

2009-04-01 Thread sudhap85
Hi, I am using windows 2008 machine. I have installed latest cygwin. Here I am facing problem with the "cat" "grep" commands. In command line its working fine. but In my scripts it's giving error. Am using PERL script for my testing. These commands are not working in t

Re: doc suggestions for User Guide's "Special filenames", including `cat /proc/partitions`

2009-03-08 Thread S Page
Corinna Vinschen wrote: > Can you please check against the latest documentation under > http://www.cygwin.com/1.7/cygwin-ug-net/using-specialnames.html > and see if it explains anything better in this regard? The "POSIX devices" section is much the same. > If not, I'm open to suggestions to make

Re: doc suggestions for User Guide's "Special filenames", including `cat /proc/partitions`

2009-03-08 Thread Corinna Vinschen
On Mar 8 00:36, S Page wrote: > I was trying to figure out what device mapped to my USB flash drive. > I eventually used `cat /proc/partitions` to determine it was > /dev/sdb1. > > http://www.cygwin.com/cygwin-ug-net/using-specialnames.html Can you please check against the lates

doc suggestions for User Guide's "Special filenames", including `cat /proc/partitions`

2009-03-08 Thread S Page
I was trying to figure out what device mapped to my USB flash drive. I eventually used `cat /proc/partitions` to determine it was /dev/sdb1. http://www.cygwin.com/cygwin-ug-net/using-specialnames.html in the User's Guide covers this topic, but is missing some important information. Her

Cat permissions

2008-07-16 Thread inthecrossfire
On other Linux builds, when you run Cat on a device (i.e. /dev/ttyS2) it doesn't lock the device. Hence you can run Cat while you send messages to that device. But with Cygwin, when I try to send stuff (e.g. echo something > /dev/ttyS2), I get Permission Denied. Is there anyway to stop

  1   2   3   >