starting bbs part

This commit is contained in:
vulpine 2020-06-29 23:19:50 +00:00
parent b36b12dee0
commit a03a9fcf26
2 changed files with 12 additions and 2 deletions

3
bbsui.sh Executable file
View File

@ -0,0 +1,3 @@
#!/bin/sh

11
serv.sh
View File

@ -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'