End of cmd output discarded with "Hold the terminal open"
@f2404
Submitted by Igor Link to original bug (#777686)
Description
If a program wants to show a large buffer of text, vte output will stop at one point and won't complete.
The following script helps indicate the problem: ---- start 16K.sh ----
FILE="/tmp/16K.tmp"
generate about 16 KB of text
rm -f $FILE
for i in seq 0 15
; do
echo $i: >> $FILE
for j in seq 0 1023
; do
echo -n 1 >> $FILE
done
echo >> $FILE
done
print the text
cat $FILE
---- stop 16K.sh ----
Now open gnome-terminal, go to Profile Preferences -> Command: When command exits -> Hold the terminal open Run a custom command instead of my shell -> put the path to 16K.sh File -> Open Terminal: a new tab will open, the output will stop at the 7th block for me which means it will show about 8 KB of text instead of 16 KB.
The problem is also reproduced with xfce4-terminal when running xfce4-terminal -H -e 16K.sh
which makes me think it's related to vte.
Thanks.
Version: 0.46.x
Resolution: RESOLVED FIXED