summaryrefslogtreecommitdiff
path: root/dht/vnet/screen-everywhere.sh
blob: e4f753744a8106c7ced2eadfe23a871aaae07c7e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
#!/bin/sh
cmd="$@"
echo "$cmd" > /tmp/screen-exchange
screen -S test -X eval readbuf \
    "select 15" "paste ." \
    "select 14" "paste ." \
    "select 13" "paste ." \
    "select 12" "paste ." \
    "select 11" "paste ." \
    "select 10" "paste ." \
    "select 9" "paste ." \
    "select 8" "paste ." \
    "select 7" "paste ." \
    "select 6" "paste ." \
    "select 5" "paste ." \
    "select 5" "paste ." \
    "select 4" "paste ." \
    "select 3" "paste ." \
    "select 2" "paste ." \
    "select 1" "paste ." \
    "select 0" "paste ."