first tests getting the board size of pixelflut server, but does not work yet

This commit is contained in:
Marcus 2024-01-03 16:04:09 +01:00
parent 06a99f3307
commit 478078be7f

View file

@ -219,7 +219,6 @@ convertimg() {
sx=0
sy=0
shuf_xy() {
case $SHUFMODE in
chaos) test -z $H && H=640
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
exit 1
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
;;
*)