Ole Tange
2015-02-14 23:17:04 UTC
---
** [tickets:#178] tmux hang for certain commands**
**Status:** open
**Created:** Sat Feb 14, 2015 11:17 PM UTC by Ole Tange
**Last Updated:** Sat Feb 14, 2015 11:17 PM UTC
**Owner:** nobody
I am trying to understand why this program behaves differently depending on Y:
#!/bin/bash
rm -f /tmp/par21d9I.tmx
mkfifo /tmp/par21d9I.tmx;
tmux new-session -d true\ 11111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111$Y\;\ perl\ -e\ \'while\(\$t++\<3\)\{\ print\ \$ARGV\[0\],\"\\n\"\ \}\'\ \ \>\>\ /tmp/par21d9I.tmx\&sleep\ .1;
exec perl -e '$/="/";$_=<>;$c=<>;unlink $ARGV; /(\d+)h/ and exit($1);exit$c' /tmp/par21d9I.tmx
tmux version 1.8:
Y=Y prg
#OK
Y=YY prg
#Blocks
Y=YYYYYYY prg
#Blocks
Y=YYYYYYY prg
#OK
tmux version 1.9a:
Y=Y prg
#OK
Y=YY prg
#Blocks
Y=YYYY prg
#Blocks
Y=YYYYY prg
#OK
Any idea why the program hangs for some values of Y?
---
Sent from sourceforge.net because tmux-***@lists.sourceforge.net is subscribed to https://sourceforge.net/p/tmux/tickets/
To unsubscribe from further messages, a project admin can change settings at https://sourceforge.net/p/tmux/admin/tickets/options. Or, if this is a mailing list, you can unsubscribe from the mailing list.
** [tickets:#178] tmux hang for certain commands**
**Status:** open
**Created:** Sat Feb 14, 2015 11:17 PM UTC by Ole Tange
**Last Updated:** Sat Feb 14, 2015 11:17 PM UTC
**Owner:** nobody
I am trying to understand why this program behaves differently depending on Y:
#!/bin/bash
rm -f /tmp/par21d9I.tmx
mkfifo /tmp/par21d9I.tmx;
tmux new-session -d true\ 11111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111$Y\;\ perl\ -e\ \'while\(\$t++\<3\)\{\ print\ \$ARGV\[0\],\"\\n\"\ \}\'\ \ \>\>\ /tmp/par21d9I.tmx\&sleep\ .1;
exec perl -e '$/="/";$_=<>;$c=<>;unlink $ARGV; /(\d+)h/ and exit($1);exit$c' /tmp/par21d9I.tmx
tmux version 1.8:
Y=Y prg
#OK
Y=YY prg
#Blocks
Y=YYYYYYY prg
#Blocks
Y=YYYYYYY prg
#OK
tmux version 1.9a:
Y=Y prg
#OK
Y=YY prg
#Blocks
Y=YYYY prg
#Blocks
Y=YYYYY prg
#OK
Any idea why the program hangs for some values of Y?
---
Sent from sourceforge.net because tmux-***@lists.sourceforge.net is subscribed to https://sourceforge.net/p/tmux/tickets/
To unsubscribe from further messages, a project admin can change settings at https://sourceforge.net/p/tmux/admin/tickets/options. Or, if this is a mailing list, you can unsubscribe from the mailing list.