astro

a POSIX shell compatible gemini client (mirror of https://github.com/blmayer/astro)
git clone https://git.clttr.info/astro.git
Log (Feed) | Files | Refs (Tags) | README | LICENSE

commit d1250a62625a53a4e11f84018d8eaf9770b5adba
parent d2e55978089bca0edf9ee711161a3b456835864f
Author: René Wagner <rwa@clttr.info>
Date:   Fri,  4 Aug 2023 07:46:13 +0200

fix returncode 50 handling

Diffstat:
Mastro | 8+++++++-
1 file changed, 7 insertions(+), 1 deletion(-)

diff --git a/astro b/astro @@ -307,6 +307,8 @@ EOF ;; 40) echo "Temporary failure" >&2 + echo "Type a key to continue. " + read -r i <&1 return 3 ;; 41) @@ -321,8 +323,10 @@ EOF 44) return 7 ;; - 51*) + 50|51) echo "Page not found!" >&2 + echo "Type a key return to previous page." + read -r i <&1 read -r proto host port path << EOF $(getprevious) EOF @@ -338,6 +342,8 @@ EOF ;; 59) echo "Bad request: $meta" >&2 + echo "Type a key to continue." + read -r i <&1 return 12 ;; 60)