From 27215613244533131d1908030e943069a7f14a86 Mon Sep 17 00:00:00 2001 From: ehouse Date: Sat, 26 Sep 2009 14:33:09 +0000 Subject: [PATCH] add option to include new duplicate packets flag --- xwords4/linux/scripts/sim_real.sh | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/xwords4/linux/scripts/sim_real.sh b/xwords4/linux/scripts/sim_real.sh index c8d44dca4..c4c55e857 100755 --- a/xwords4/linux/scripts/sim_real.sh +++ b/xwords4/linux/scripts/sim_real.sh @@ -34,6 +34,7 @@ EOF echo " this many seconds; 0 to disable; cur: $KILL_INTERVAL_SECS" echo " env: ROLES: what hosts to handle here; cur: $ROLES" echo " env: USE_CURSES; cur: $USE_CURSES" + echo " env: DUPES; -L to duplicate all packets; cur: $DUPES" exit 0 } @@ -51,7 +52,7 @@ game_curses() { WAIT=$3 INDEX=$4 SERVER_PARAMS=$5 - $XWORDS -u -d $DICT -r $NAME -a $HOST -p $PORT \ + $XWORDS -u -d $DICT $DUPES -r $NAME -a $HOST -p $PORT \ -C $COOKIE $QUIT -z 0:$WAIT >/dev/null -0 $SERVER_PARAMS \ 2>/tmp/$RUN_NAME/log_${COOKIE}_${INDEX}.txt < /dev/null & echo $! @@ -63,7 +64,7 @@ game_gtk() { WAIT=$3 INDEX=$4 SERVER_PARAMS=$5 - $XWORDS -d $DICT -r $NAME -a $HOST -p $PORT \ + $XWORDS -d $DICT $DUPES -r $NAME -a $HOST -p $PORT \ -C $COOKIE $QUIT -z 0:$WAIT $SERVER_PARAMS \ 2>/tmp/$RUN_NAME/log_${COOKIE}_${INDEX}.txt & }