summaryrefslogtreecommitdiff
path: root/bin
diff options
context:
space:
mode:
Diffstat (limited to 'bin')
-rwxr-xr-xbin/hackvr9
-rwxr-xr-xbin/hackvr_coproc2
-rwxr-xr-xbin/hackvr_open4
3 files changed, 15 insertions, 0 deletions
diff --git a/bin/hackvr b/bin/hackvr
new file mode 100755
index 0000000..1c9d16c
--- /dev/null
+++ b/bin/hackvr
@@ -0,0 +1,9 @@
+#!/bin/sh
+if [ "_$HACKVR" != "_" -a "_$HACKVR" != "_$0" ];then
+ exec $HACKVR $*
+fi
+if [ $DISPLAY ]; then
+ exec hackvr_x11 $*
+else
+ exec hackvr_fb $*
+fi
diff --git a/bin/hackvr_coproc b/bin/hackvr_coproc
new file mode 100755
index 0000000..d79de92
--- /dev/null
+++ b/bin/hackvr_coproc
@@ -0,0 +1,2 @@
+#!/bin/sh
+exec socat "exec:hackvr_uri" "exec:$*"
diff --git a/bin/hackvr_open b/bin/hackvr_open
new file mode 100755
index 0000000..3121f46
--- /dev/null
+++ b/bin/hackvr_open
@@ -0,0 +1,4 @@
+#!/bin/sh
+### you may want to force this pipeline through a new x-terminal-emulator if you want to be able to write to stdin by hand.
+### for debugging purposes? I'll probably do that soon.
+nonblocktail "$1" /dev/stdin | hackvr