diff --git a/bbsui.sh b/bbsui.sh new file mode 100755 index 0000000..829303e --- /dev/null +++ b/bbsui.sh @@ -0,0 +1,3 @@ +#!/bin/sh + + diff --git a/serv.sh b/serv.sh index f3bb35b..a17866d 100755 --- a/serv.sh +++ b/serv.sh @@ -1,7 +1,14 @@ -#!/bin/bash +#!/bin/sh PORT=7777 -socat tcp-l:$PORT,reuseaddr,fork system:'./bbsui.sh' + + + + + + + +socat tcp-l:$PORT,reuseaddr,fork system:'tr -d "\r" | ./bbsui.sh'