#!/bin/sh PORT=7777 socat tcp-l:$PORT,reuseaddr,fork system:'tr -d "\r" | ./bbsui.sh'