bboard hyperpithole gate
(DIR) Menu
(DIR) Section <GOPHER>
(DIR) Forward
(DIR) Backward
Thread[.post]: 5.8
TACKER: agk (Anna)
SUBJECT: .. Good article on finger and gopher
DATE: 08-Jun-26 15:42:10
HOST: sdf
Thank you for introducing me to graph.no, rj45!
I wrapped it in a shellscript to use as a replacement for sdf's broken
weather command:
~~~
$ cat .local/bin/wttr
#!/bin/ksh
case "$1" in
*) finger $1@graph.no ;;
esac
# Purpose: View local weather by fingering graph.no.
# Use: wttr newyork [or your city]
# wttr [no argument] for help
~~~
If you prefer imperial units to metric, replace line 3 with
~~~
*) finger ^$1@graph.no ;;
~~~
I named it wttr because I used to curl wttr.in for weather reports back
[ SCROLL (F)ORWARD, (B)ACKWARD - (Q)UIT ] FORWARD
weather command:
~~~
$ cat .local/bin/wttr
#!/bin/ksh
case "$1" in
*) finger $1@graph.no ;;
esac
# Purpose: View local weather by fingering graph.no.
# Use: wttr newyork [or your city]
# wttr [no argument] for help
~~~
If you prefer imperial units to metric, replace line 3 with
~~~
*) finger ^$1@graph.no ;;
~~~
I named it wttr because I used to curl wttr.in for weather reports back
when I had a computer with a wider than 80-column display, so it's a
memorable name for me (use: curl wttr.in/nyc). If you want to be able to
query either source, you could add a flag to the script I guess.
You guys are the best!
Anna
<GOPHER.5.8/10>(85)[ <ENTER> follow thread, (R)EPLY, (F)LAG or (Q)UIT ]