aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJohn Ankarström <john@ankarstrom.se>2021-07-14 18:43:20 +0200
committerJohn Ankarström <john@ankarstrom.se>2021-07-14 18:43:20 +0200
commit9f34ef6a0b1fd5545112498e2363d784cee8e42e (patch)
treee3a6569f9921018d04e39577e6b4d121d7e856e6
parent1d764bd32582e48082e1a2ed07f079ddc17fdf8a (diff)
downloadrtty-9f34ef6a0b1fd5545112498e2363d784cee8e42e.tar.gz
Rename rtty to rio, rd to rtty
-rw-r--r--Makefile6
-rw-r--r--rio.c (renamed from rtty.c)0
-rwxr-xr-xrtty (renamed from rd)4
3 files changed, 5 insertions, 5 deletions
diff --git a/Makefile b/Makefile
index bdac189..0554b1c 100644
--- a/Makefile
+++ b/Makefile
@@ -1,4 +1,4 @@
-rtty: rtty.c
+rio: rio.c
-install: rtty
- install rd rtty /usr/local/bin
+install: rio
+ install rtty rio /usr/local/bin
diff --git a/rtty.c b/rio.c
index 88ef214..88ef214 100644
--- a/rtty.c
+++ b/rio.c
diff --git a/rd b/rtty
index 601b5d1..e796acb 100755
--- a/rd
+++ b/rtty
@@ -1,6 +1,6 @@
#!/bin/sh
-# rd -- launch ssh session for rtty
+# rtty -- limited, but more responsive remote shell
in=/var/tmp/r.in
out=/var/tmp/r.out
@@ -8,4 +8,4 @@ rm $in $out 2>/dev/null
mkfifo $in $out
<$in 2>&1 >$out ssh -oBatchMode=yes -tt "$@" &
-exec rtty
+exec rio