/usr/share/doc/socat
NameSizeModeActions
BUGREPORTS7460644editdlrm
CHANGES691810644editdlrm
COPYING180920644editdlrm
COPYING.OpenSSL62790644editdlrm
daemon.sh9030644editdlrm
DEVELOPMENT92100644editdlrm
EXAMPLES174190644editdlrm
FAQ38410644editdlrm
ftp.sh42180644editdlrm
gatherinfo.sh41220644editdlrm
mail.sh20660644editdlrm
PORTING30950644editdlrm
proxy.sh20370644editdlrm
proxyecho.sh12260644editdlrm
readline-test.sh12860644editdlrm
readline.sh7640644editdlrm
README117440644editdlrm
SECURITY18490644editdlrm
socat_buildscript_for_android.sh35790644editdlrm
socks4a-echo.sh25810644editdlrm
socks4echo.sh23670644editdlrm
test.sh4672760644editdlrm
Edit: /usr/share/doc/socat/readline.sh (764B)
#! /usr/bin/env bash # source: readline.sh # Copyright Gerhard Rieger and contributors (see file CHANGES) # Published under the GNU General Public License V.2, see file COPYING # this is an attempt for a socat based readline wrapper # usage: readline.sh withhistfile=1 while true; do case "X$1" in X-nh|X-nohist*) withhistfile=; shift; continue ;; *) break;; esac done PROGRAM="$@" if [ "$withhistfile" ]; then HISTFILE="$HOME/.$1_history" HISTOPT=",history=$HISTFILE" else HISTOPT= fi # # if test -w .; then STDERR=./socat-readline.${1##*/}.log rm -f $STDERR else STDERR=/dev/null fi exec socat -d readline"$HISTOPT",noecho='[Pp]assword:' exec:"$PROGRAM",sigint,pty,setsid,ctty,raw,echo=0,stderr 2>$STDERR