diff options
author | epoch <epoch@hack.thebackupbox.net> | 2020-04-14 11:50:30 +0000 |
---|---|---|
committer | epoch <epoch@hack.thebackupbox.net> | 2020-04-14 11:50:30 +0000 |
commit | 459bff40e078a3979573000a903b288bcc9a8d3f (patch) | |
tree | cd8e75a66129042803729924352de80d7a5f5041 /bin | |
parent | ede4c08f4f15a516a748f8ed89b4f6b06b845c2a (diff) | |
parent | 9f5c79eff1a3fae473bbdd12afcb77875d8548af (diff) | |
download | hackvr-459bff40e078a3979573000a903b288bcc9a8d3f.tar.gz hackvr-459bff40e078a3979573000a903b288bcc9a8d3f.zip |
Merge branch 'master' of /var/git/hackvr
Diffstat (limited to 'bin')
-rwxr-xr-x | bin/hackvr | 9 | ||||
-rwxr-xr-x | bin/hackvr_coproc | 2 | ||||
-rwxr-xr-x | bin/hackvr_open | 4 |
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 |