1 .\" Copyright (c) 2021, 2022 Omar Polo <op@omarpolo.com>
3 .\" Permission to use, copy, modify, and distribute this software for any
4 .\" purpose with or without fee is hereby granted, provided that the above
5 .\" copyright notice and this permission notice appear in all copies.
7 .\" THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES
8 .\" WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF
9 .\" MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR
10 .\" ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
11 .\" WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
12 .\" ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
13 .\" OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
14 .Dd $Mdocdate: October 19 2023$
28 .Op Fl P Ar host Ns Oo : Ns Ar port Oc
35 fetches the given gemini page and prints it to standard output.
37 The options are as follows:
43 .It Fl C Ar certificate
52 .Bl -tag -width header -compact
54 print only the body of the reply, the default.
56 print only the response code.
58 print only the response header.
60 print only the response meta.
62 print the whole response as-is.
67 host name instead of the one deducted by the IRI or proxy.
69 Specify the key for the certificate.
74 Disables the server name verification.
76 Check the given IRI for validity, but don't issue any requests.
77 .It Fl P Ar host Ns Oo : Ns Ar port Oc
82 to do the request instead of the ones extracted by the IRI.
94 utility exits with zero if the response code was in the 2x range.
95 If a failure occurs, it exits with status code 1.
96 Otherwise, the error code reflects the Gemini response code.
100 .Dq Flexible and Economical
101 UTF-8 decoder written by
102 .An Bjoern Hoehrmann .
110 utility was written by
111 .An Omar Polo Aq Mt op@omarpolo.com .
115 .Pq Trust On First Use
116 or any X.509 certificate validation beyond the name verification.
119 doesn't follow redirects.