From a1f549f07c378aa57852e288f0405ac8af18d907 Mon Sep 17 00:00:00 2001 From: epoch Date: Sun, 24 Jan 2021 20:24:21 -0600 Subject: added a state var, and a title var. svg will now use those in its output "svg" (html) --- share/hackvr/examples/anonet_map/map | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) (limited to 'share') diff --git a/share/hackvr/examples/anonet_map/map b/share/hackvr/examples/anonet_map/map index 976bb79..51a9e59 100755 --- a/share/hackvr/examples/anonet_map/map +++ b/share/hackvr/examples/anonet_map/map @@ -1,4 +1,6 @@ #!/bin/bash +echo $USER set title anonet_AS_map + paths="$(ncat --recv-only 21.41.41.1 64777 | sort | uniq | tee ${PREFIX}/var/cache/hackvr/anonet_data.new)" MAP=${PREFIX}/var/cache/hackvr/anonet_map.hackvr @@ -54,9 +56,9 @@ line_between_nodes() { } for node in $nodes;do - printf " addshape 5 4 -1 8 0 -1 10 0 1 10 0 1 8 0\n" "$node" - printf " addshape 5 4 -1 8 0 -1 10 0 1 10 0 1 8 0\n" "$node" + printf "