if [ "${PORT#*/}" = "$PORT" ];then PORT="/dev/$PORT";fi
NOKIABAUD="${NOKIABAUD:-19200}"
+# Some rules for the chat script:
+# 9000i starts with: ATZ, AT&F (the need for TIMEOUT 2, "-OK^M^J-AT&F")
+# 9110 starts with: AT&F
+# user can have global custom initialization string (need for one "OK^M^J")
+# user can have connection custom initialization string (need for one "OK^M^J")
+
(trap "" HUP
while [ '!' -f "$pid" ];do sleep 1;done
me="`cat "$pid"`"