Coprocess: lost part of large input data
By cyfde... on April 28, 2014 00:53 (imported from Google Code)
What steps will reproduce the problem?
-
Prepare an input file by What steps will reproduce the problem?
-
Prepare an input file by for i in {1..1024}; do echo $i >> a; doneWhat steps will reproduce the problem?
-
Prepare an input file by `for i in {1..1024}; do echo $i >> a; done
-
Run What steps will reproduce the problem?
-
Prepare an input file by
for i in {1..1024}; do echo $i >> a; done
-
Run cat > bWhat steps will reproduce the problem?
-
Prepare an input file by
for i in {1..1024}; do echo $i >> a; done
-
Run `cat > b
-
Run coprocess, type in command What steps will reproduce the problem?
-
Prepare an input file by
for i in {1..1024}; do echo $i >> a; done
-
Run
cat > b
-
Run coprocess, type in command cat aWhat steps will reproduce the problem?
-
Prepare an input file by
for i in {1..1024}; do echo $i >> a; done
-
Run
cat > b
-
Run coprocess, type in command `cat a
-
Watch the echoed display, when it stops, type Enter then Ctrl-D.
What is the expected output?
-
All file content of What steps will reproduce the problem?
-
Prepare an input file by
for i in {1..1024}; do echo $i >> a; done
-
Run
cat > b
-
Run coprocess, type in command
cat a
-
Watch the echoed display, when it stops, type Enter then Ctrl-D.
What is the expected output?
-
All file content of aWhat steps will reproduce the problem?
-
Prepare an input file by
for i in {1..1024}; do echo $i >> a; done
-
Run
cat > b
-
Run coprocess, type in command
cat a
-
Watch the echoed display, when it stops, type Enter then Ctrl-D.
What is the expected output?
-
All file content of `a should appear on iTerm2.
-
File content of What steps will reproduce the problem?
-
Prepare an input file by
for i in {1..1024}; do echo $i >> a; done
-
Run
cat > b
-
Run coprocess, type in command
cat a
-
Watch the echoed display, when it stops, type Enter then Ctrl-D.
What is the expected output?
-
All file content of
a
should appear on iTerm2. -
File content of aWhat steps will reproduce the problem?
-
Prepare an input file by
for i in {1..1024}; do echo $i >> a; done
-
Run
cat > b
-
Run coprocess, type in command
cat a
-
Watch the echoed display, when it stops, type Enter then Ctrl-D.
What is the expected output?
-
All file content of
a
should appear on iTerm2. -
File content of `a and What steps will reproduce the problem?
-
Prepare an input file by
for i in {1..1024}; do echo $i >> a; done
-
Run
cat > b
-
Run coprocess, type in command
cat a
-
Watch the echoed display, when it stops, type Enter then Ctrl-D.
What is the expected output?
-
All file content of
a
should appear on iTerm2. -
File content of
a
and bWhat steps will reproduce the problem? -
Prepare an input file by
for i in {1..1024}; do echo $i >> a; done
-
Run
cat > b
-
Run coprocess, type in command
cat a
-
Watch the echoed display, when it stops, type Enter then Ctrl-D.
What is the expected output?
- All file content of
a
should appear on iTerm2. - File content of
a
and `b should be the same.
What do you see instead?
Just part of the file content is displayed and thats What steps will reproduce the problem?
- Prepare an input file by
for i in {1..1024}; do echo $i >> a; done
- Run
cat > b
- Run coprocess, type in command
cat a
- Watch the echoed display, when it stops, type Enter then Ctrl-D.
What is the expected output?
- All file content of
a
should appear on iTerm2. - File content of
a
andb
should be the same.
What do you see instead?
Just part of the file content is displayed and thats bWhat steps will reproduce the problem?
- Prepare an input file by
for i in {1..1024}; do echo $i >> a; done
- Run
cat > b
- Run coprocess, type in command
cat a
- Watch the echoed display, when it stops, type Enter then Ctrl-D.
What is the expected output?
- All file content of
a
should appear on iTerm2. - File content of
a
andb
should be the same.
What do you see instead?
Just part of the file content is displayed and thats `b only contains part of What steps will reproduce the problem?
- Prepare an input file by
for i in {1..1024}; do echo $i >> a; done
- Run
cat > b
- Run coprocess, type in command
cat a
- Watch the echoed display, when it stops, type Enter then Ctrl-D.
What is the expected output?
- All file content of
a
should appear on iTerm2. - File content of
a
andb
should be the same.
What do you see instead?
Just part of the file content is displayed and thats b
only contains part of aWhat steps will reproduce the problem?
- Prepare an input file by
for i in {1..1024}; do echo $i >> a; done
- Run
cat > b
- Run coprocess, type in command
cat a
- Watch the echoed display, when it stops, type Enter then Ctrl-D.
What is the expected output?
- All file content of
a
should appear on iTerm2. - File content of
a
andb
should be the same.
What do you see instead?
Just part of the file content is displayed and thats b
only contains part of `a (just those displayed).
What version of iTerm2 are you using?
Build 1.0.0.20140421
What OS version are you using?
OS X 10.9.2
Please provide any additional information below.
I'm get problems with iterm2-zmodem with incomplete or failed file transfer. (Issue #501 (closed) is related.) I think it should be easy to write a simple script to upload files to remote machine with the coprocess feature and started working on it (https://github.com/cyfdecyf/orzsz/), but I also get incomplete file transfer with my simple script.
After debugging for half a day, I think the problem maybe caused by coprocess missing some input data.