From 28d270f93f42ea35964328542c13fc22166efece Mon Sep 17 00:00:00 2001 From: epoch Date: Wed, 23 Dec 2020 18:23:59 -0600 Subject: added urn start to Makefile and use my own rfc site over gopher for urn:ietf:rfc resolution now --- Makefile | 1 + urnstart | 6 +++++- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/Makefile b/Makefile index ecdb773..16d2e7c 100644 --- a/Makefile +++ b/Makefile @@ -43,4 +43,5 @@ install: all install -t $(PREFIX)/bin data_handler install -t $(PREFIX)/bin unshorten.sh install -t $(PREFIX)/bin shorten + install -t $(PREFIX)/bin urnstart chgrp shorten $(PREFIX)/bin/shorten && chmod g+s $(PREFIX)/bin/shorten diff --git a/urnstart b/urnstart index 4883b01..ec610c1 100755 --- a/urnstart +++ b/urnstart @@ -20,6 +20,10 @@ fi if [ "$nid" = "ietf" ];then if [ "$nss" = "rfc" ];then - uristart "https://tools.ietf.org/html/rfc""${nss2}" + uristart gopher://thebackupbox.net:70/0/rfc/rfc${nss2}.txt fi fi + +if [ "$nid" = "xkcd" ];then + uristart "https://xkcd.com/${nss}" +fi -- cgit v1.2.3