repo: uritools
action: commit
revision: 
path_from: 
revision_from: f43a0d0951c3806da52bdee6c944268a59c28f73:
path_to: 
revision_to: 
git.thebackupbox.net
uritools
git clone git://git.thebackupbox.net/uritools
commit f43a0d0951c3806da52bdee6c944268a59c28f73
Author: epoch 
Date:   Thu Feb 24 01:35:45 2022 +0000

    xwindowURI now lives in xtools repo

diff --git a/Makefile b/Makefile
index fe3eb375f11893c26b13eeef59f5fdffc89d0c78..
index ..6c9dbef0003a0b2f35f28b9c772b8798601ddaf3 100644
--- a/Makefile
+++ b/Makefile
@@ -28,7 +28,6 @@ install: all
 	install -t $(PREFIX)/bin uristart.conf
 	install -t $(PREFIX)/bin sqesc
 	install -t $(PREFIX)/bin ssh_hack
-	install -t $(PREFIX)/bin xwindowURI
 	install -t $(PREFIX)/bin uriqueryfilter
 	install -t $(PREFIX)/bin urimatch
 	install -t $(PREFIX)/bin uricut
@@ -52,4 +51,6 @@ install: all
 	install -t $(PREFIX)/bin urnresolve
 	install -t $(PREFIX)/bin urnstart
 	install -t $(PREFIX)/bin rfc-search
+	install -t $(PREFIX)/bin urilist
+	install -t $(PREFIX)/bin rfc-list
 	chgrp shorten $(PREFIX)/bin/shorten && chmod g+s $(PREFIX)/bin/shorten
diff --git a/xwindowURI b/xwindowURI
deleted file mode 100755
index 6e9235af99410feb14986955c5979b3415987ee2..0000000000000000000000000000000000000000
--- a/xwindowURI
+++ /dev/null
@@ -1,35 +0,0 @@
-#!/bin/sh
-if [ ! "$1" ];then
-  id="$(xwinID)"
-else
-  id="$1"
-fi
-
-class=$(xclass -id "$id")
-#echo "$class"
-
-case "$class" in
-mupdf)
-  basename="$(xwintitle "$id" | rev | cut '-d ' -f5- | rev)"
-  echo "b: $basename"
-  page="$(xwintitle "$id" | tr ' ' '\n' | grep '[0-9][0-9]*/[0-9][0-9]*' | cut -d/ -f1)"
-  echo "$page"
-  for PID in $(pgrep mupdf);do
-    argv1="$(cat /proc/$PID/cmdline | tr '\0' '\n' | sed -n 2p)"
-    cd "$(readlink /proc/$PID/cwd)"
-    abspath="$(normalpath "$argv1")"
-    echo "a: $abspath"
-    echo "b: $basename"
-    if [ "$(basename "$abspath")" = "$basename" ];then
-      printf "file://%s#page=%s\n" "$(uriescape "$abspath")" "$page"
-      exit 0
-    fi
-  done
-  ;;
-Navigator)
-  xwintitle "$id" | rev | cut '-d ' -f4 | rev
-  ;;
-*)
-  echo "class: $class"
-  ;;
-esac

-----END OF PAGE-----