summaryrefslogtreecommitdiff
path: root/dht/vnet/screen-everywhere.sh
diff options
context:
space:
mode:
Diffstat (limited to 'dht/vnet/screen-everywhere.sh')
-rwxr-xr-xdht/vnet/screen-everywhere.sh21
1 files changed, 21 insertions, 0 deletions
diff --git a/dht/vnet/screen-everywhere.sh b/dht/vnet/screen-everywhere.sh
new file mode 100755
index 00000000..e4f75374
--- /dev/null
+++ b/dht/vnet/screen-everywhere.sh
@@ -0,0 +1,21 @@
1#!/bin/sh
2cmd="$@"
3echo "$cmd" > /tmp/screen-exchange
4screen -S test -X eval readbuf \
5 "select 15" "paste ." \
6 "select 14" "paste ." \
7 "select 13" "paste ." \
8 "select 12" "paste ." \
9 "select 11" "paste ." \
10 "select 10" "paste ." \
11 "select 9" "paste ." \
12 "select 8" "paste ." \
13 "select 7" "paste ." \
14 "select 6" "paste ." \
15 "select 5" "paste ." \
16 "select 5" "paste ." \
17 "select 4" "paste ." \
18 "select 3" "paste ." \
19 "select 2" "paste ." \
20 "select 1" "paste ." \
21 "select 0" "paste ."