first tests getting the board size of pixelflut server, but does not work yet
This commit is contained in:
parent
06a99f3307
commit
478078be7f
1 changed files with 9 additions and 1 deletions
|
@ -219,7 +219,6 @@ convertimg() {
|
||||||
sx=0
|
sx=0
|
||||||
sy=0
|
sy=0
|
||||||
shuf_xy() {
|
shuf_xy() {
|
||||||
|
|
||||||
case $SHUFMODE in
|
case $SHUFMODE in
|
||||||
chaos) test -z $H && H=640
|
chaos) test -z $H && H=640
|
||||||
test -z $W && W=480
|
test -z $W && W=480
|
||||||
|
@ -379,7 +378,16 @@ case $1 in
|
||||||
echo "please specify coords with e.g. 'W=420 H=420 SHUFMODE=static $0 floot $FNAME" >&2
|
echo "please specify coords with e.g. 'W=420 H=420 SHUFMODE=static $0 floot $FNAME" >&2
|
||||||
exit 1
|
exit 1
|
||||||
fi
|
fi
|
||||||
|
#~ message "request board size from ${YELLOW}${IPFLOOT}:${FLOOTPORT}${ENDCOLOR}"
|
||||||
|
#~ exec 5<>/dev/tcp/$IPFLOOT/$FLOOTPORT
|
||||||
|
#~ echo "SIZE" >&5
|
||||||
|
#~ #sleep 1
|
||||||
|
#~ BOARDSIZE="$(cat <&5)" &
|
||||||
|
#~ cat <&5 &
|
||||||
|
#~ sleep 1
|
||||||
|
|
||||||
|
#~ exec 5<&-
|
||||||
|
#~ message "$BOARSIZE"
|
||||||
floot
|
floot
|
||||||
;;
|
;;
|
||||||
*)
|
*)
|
||||||
|
|
Loading…
Reference in a new issue