1 .\" Copyright (c) 2021 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: December 29 2021$
28 .Op Fl P Ar host : Ns Oo 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
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 that the given IRI is valid, but don't make any requests.
77 .It Fl P Ar host : Ns Op Ar port
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.
98 .Dq Flexible and Economical
99 UTF-8 decoder written by
100 .An Bjoern Hoehrmann .
105 utility was written by
106 .An Omar Polo Aq Mt op@omarpolo.com .
110 .Pq Trust On First Use
111 or any X.509 certificate validation beyond the name verification.
114 doesn't follow redirects.