Added strict option
[lace] / README.md
index 9b4953c4f57dd7c538df44b91fddaa23f3d227ca..07801a5847aa8483f0a8301afa2791ce2c17cfc3 100644 (file)
--- a/README.md
+++ b/README.md
@@ -1,34 +1,33 @@
 Forked from https://gitlab.com/uoou/dotfiles/-/blob/master/stow/bin/home/drew/.local/bin/lace
 
-This version will run on Debian based distros running Sed 3.7
-
 Lace is a small script to interlace Gemini Capsule micro blogs.
 
-The original script showed how long ago a entry was posted.  
-https://www.youtube.com/watch?v=RPMLGK8lWX4
-All scripts will run with Sed 3.7 on standard Linux Distros
-
-lace has two time headers.
-How long ago the micropost was sent.
-The date and time the micropost was sent.
+Enhancements made to the original lace with this fork.
 
-lacehowlong only has the how long ago time header.
+The original lace would not run on Linux distributions running sed 3.7 or on Termux on Android.
 
-lacewithdate only has the date and time header.
+Lace can now run on either a standard Linux distributions running sed 3.7, Termux on android, and UserLAnd on Android.  Sed, date, openssl, curl, less are dependencies that need to be installed.
 
-### laceandterm
+The original script showed how long ago a entry was posted. Lace now shows how long ago a post occurred and the date and time of the post. 
 
-laceandterm runs on both a standard Linux distro, termux on android, UserLAnd, and possibly other Linux emulations.  Sed, date, openssl, curl are dependencies that need to be installed on termux.
+### Favicons
 
-laceandterm may show the acual code for a favicon rather than the icon itself depending on the version of GNU less and/or fonts installed.
-If this happens you can either install a font that supports the favicon or comment out the following line in the script.
+Lace may show the actual code for a favicon rather than the icon itself depending on the version of GNU less and/or fonts installed. If this happens you can either install a font that supports the favicon or comment out the following line in the script.
 
 ```
 fav=$(openssl s_client -crlf -quiet -connect "$domain:1965" <<<"gemini://$domain/favicon.txt" 2>/dev/null | sed -e '1d')
 ```
 Since favicons are not part of the Gemini standard, you may not want favicons to display.  Commenting out the above line of code will prevent favicons from displaying.
 
+### Updates
+
+2021-05-03 I added laced and lacedreader.  laced will download microblogs but will not open them for reading.  It is designed to be used with crontab. lacedreader is the reader to be used with the laced.
+
+2021-04-28 I added the logic that if the server times out on the first connect to skip the second connect.
+
+2021-04-27 I added a timeout variable in that is used with the timeout command to timeout connecting after a designated time to an unresponsive server.  If the value for the variable is a number it is in seconds if it is a number followed by a m then it is in minutes.  
 
 ### Post about original script.
 
 https://friendo.monster/posts/a-script-to-interleave-tiny-gemini-logs.html
+