From a03a9fcf26dd9bf04bbbc727a0ed0cfd510120c0 Mon Sep 17 00:00:00 2001 From: xfnw Date: Mon, 29 Jun 2020 23:19:50 +0000 Subject: [PATCH] starting bbs part --- bbsui.sh | 3 +++ serv.sh | 11 +++++++++-- 2 files changed, 12 insertions(+), 2 deletions(-) create mode 100755 bbsui.sh 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'