summaryrefslogtreecommitdiff
path: root/res
diff options
context:
space:
mode:
authorJaakko Keränen <jaakko.keranen@iki.fi>2022-01-26 15:07:31 +0200
committerJaakko Keränen <jaakko.keranen@iki.fi>2022-01-26 15:07:31 +0200
commit8c36de3d076f35a6f78bd89f5b312dd92950e0bc (patch)
treeb83a19c63b5e3448b7dfed051e468f29c90bae21 /res
parentfa3a2c297b89abe91a25dafed98c3c635613b2dd (diff)
Added a man page
Generated with Pandoc.
Diffstat (limited to 'res')
-rw-r--r--res/lagrange.1149
-rw-r--r--res/lagrange.1.md127
-rwxr-xr-xres/makeman.sh3
3 files changed, 279 insertions, 0 deletions
diff --git a/res/lagrange.1 b/res/lagrange.1
new file mode 100644
index 00000000..7b8815c1
--- /dev/null
+++ b/res/lagrange.1
@@ -0,0 +1,149 @@
1.\" Automatically generated by Pandoc 2.9.2.1
2.\"
3.TH "LAGRANGE" "1" "January 2022" "" ""
4.hy
5.SH NAME
6.PP
7lagrange - a beautiful Gemini client
8.SH SYNOPSIS
9.PP
10\f[B]lagrange\f[R]
11[options]\ [\f[I]URL\f[R]]\&...\ [\f[I]FILE\f[R]]\&...
12.SH DESCRIPTION
13.PP
14Lagrange is a graphical client for the Gemini, Gopher, and Finger
15protocols.
16It offers modern conveniences familiar from web browsers, such as smooth
17scrolling, inline image viewing, multiple tabs, visual themes, Unicode
18fonts, and bookmarks.
19.SH OPTIONS
20.PP
21When multiple URLs and/or local files are specified, they are opened in
22separate tabs.
23.TP
24\f[B]-E\f[R], \f[B]--echo\f[R]
25Print all internal application events to stdout.
26Useful for debugging.
27.TP
28\f[B]--help\f[R]
29List the available command line options.
30.TP
31\f[B]-u\f[R], \f[B]--url-or-search\f[R] \f[I]URL\f[R] | \f[I]TEXT\f[R]
32Open a URL, or make a search query with given text.
33This only works if the search query URL has been configured.
34.TP
35\f[B]-V\f[R], \f[B]--version\f[R]
36Output the version number.
37.SS Window options:
38.TP
39\f[B]-h\f[R], \f[B]--height\f[R] \f[I]N\f[R]
40Set initial window height to \f[I]N\f[R] pixels.
41.TP
42\f[B]--sw\f[R]
43Disable hardware-accelerated rendering.
44.TP
45\f[B]-w\f[R], \f[B]--width\f[R] \f[I]N\f[R]
46Set initial window width to \f[I]N\f[R] pixels.
47.SS Control options:
48.PP
49These options are used to control the currently running Lagrange
50instance via the command line.
51.TP
52\f[B]--close-tab\f[R]
53Close the current tab.
54.TP
55\f[B]-L\f[R], \f[B]--list-tab-urls\f[R]
56Print the URLs of open tabs to stdout.
57If the app isn\[cq]t running, nothing is printed.
58.TP
59\f[B]--new-tab\f[R] [\f[I]URL\f[R]]
60Open a new tab.
61If the URL argument is omitted, the user\[cq]s homepage is opened.
62.TP
63\f[B]--tab-url\f[R]
64Print the URL of the active tab.
65.SH ENVIRONMENT
66.TP
67\f[B]\f[CB]LAGRANGE_OVERRIDE_DPI\f[B]\f[R]
68Override the autodetected screen DPI with a user-provided value.
69Some window systems and/or monitors may not provide an appropriate DPI
70value, so this enables further tuning the UI scaling in addition to the
71\[lq]UI scale factor\[rq] found in Preferences.
72.SH FILES
73.PP
74User-specific files such as bookmarks and navigation history are stored
75in the following operating system dependent locations:
76.IP \[bu] 2
77Windows:
78\[lq]C:\[rs]Users\[rs]Name\[rs]AppData\[rs]Roaming\[rs]fi.skyjake.Lagrange\[rq]
79.IP \[bu] 2
80macOS: \[lq]\[ti]/Library/Application Support/fi.skyjake.Lagrange\[rq]
81.IP \[bu] 2
82Other: \[lq]\[ti]/.config/lagrange\[rq]
83.PP
84The directory contains:
85.TP
86\f[B]bindings.txt\f[R]
87Customized key bindings.
88.TP
89\f[B]bookmarks.ini\f[R]
90Bookmarks in TOML format.
91.TP
92\f[B]feeds.txt\f[R]
93State of subscribed feeds: all the known entries and latest update
94timestamps.
95.TP
96\f[B]fonts.ini\f[R]
97Custom fonts to load at launch.
98.TP
99\f[B]idents.lgr\f[R]
100Information about identities.
101.TP
102\f[B]idents/\f[R]
103Subdirectory containing client certificates and private keys in PEM
104format.
105.TP
106\f[B]modmap.txt\f[R]
107Customized keyboard modifier mapping.
108.TP
109\f[B]mimehooks.txt\f[R]
110Configuration of external programs to filter page contents depending on
111MIME type.
112.TP
113\f[B]palette.txt\f[R]
114Colors of the UI palette.
115.TP
116\f[B]prefs.cfg\f[R]
117User\[cq]s preferences.
118This is a list of UI events that gets executed at launch (cf.\ output of
119\f[B]--echo\f[R]).
120.TP
121\f[B]state.lgr\f[R]
122Serialized UI state, specifying open tabs and sidebar state.
123.TP
124\f[B]sitespec.ini\f[R]
125Site-specific preferences in TOML format.
126.TP
127\f[B]trusted.2.txt\f[R]
128Fingerprints of trusted server certificates.
129.TP
130\f[B]visited.2.txt\f[R]
131List of visited URLs with timestamps.
132.SH STANDARDS
133.IP \[bu] 2
134Gemini Protocol
135Specification (https://gemini.circumlunar.space/docs/specification.gmi)
136.IP \[bu] 2
137Gempub Specification (https://codeberg.org/oppenlab/gempub)
138.IP \[bu] 2
139RFC 1436: The Internet Gopher
140Protocol (https://datatracker.ietf.org/doc/html/rfc1436)
141.IP \[bu] 2
142RFC 1288: The Finger User Information
143Protocol (https://datatracker.ietf.org/doc/html/rfc1288)
144.SH SEE ALSO
145.PP
146Open \[lq]about:help\[rq] in the application to view the complete Help
147page.
148.SH AUTHORS
149Jaakko Ker\[:a]nen (jaakko.keranen\[at]iki.fi).
diff --git a/res/lagrange.1.md b/res/lagrange.1.md
new file mode 100644
index 00000000..658e0ddf
--- /dev/null
+++ b/res/lagrange.1.md
@@ -0,0 +1,127 @@
1% LAGRANGE(1)
2% Jaakko Keränen (jaakko.keranen@iki.fi)
3% January 2022
4
5# NAME
6
7lagrange - a beautiful Gemini client
8
9# SYNOPSIS
10
11**lagrange** \[options\]\ \[_URL_\]...\ \[_FILE_\]...
12
13# DESCRIPTION
14
15Lagrange is a graphical client for the Gemini, Gopher, and Finger protocols.
16It offers modern conveniences familiar from web browsers, such as smooth scrolling, inline image viewing, multiple tabs, visual themes, Unicode fonts, and bookmarks.
17
18# OPTIONS
19
20When multiple URLs and/or local files are specified, they are opened in separate tabs.
21
22**-E**, **\--echo**
23: Print all internal application events to stdout. Useful for debugging.
24
25**\--help**
26: List the available command line options.
27
28**-u**, **\--url-or-search** _URL_ | _TEXT_
29: Open a URL, or make a search query with given text. This only works if the search query URL has been configured.
30
31**-V**, **\--version**
32: Output the version number.
33
34## Window options:
35
36**-h**, **\--height** _N_
37: Set initial window height to _N_ pixels.
38
39**\--sw**
40: Disable hardware-accelerated rendering.
41
42**-w**, **\--width** _N_
43: Set initial window width to _N_ pixels.
44
45## Control options:
46
47These options are used to control the currently running Lagrange instance via the command line.
48
49**\--close-tab**
50: Close the current tab.
51
52**-L**, **\--list-tab-urls**
53: Print the URLs of open tabs to stdout. If the app isn't running, nothing is printed.
54
55**\--new-tab** [_URL_]
56: Open a new tab. If the URL argument is omitted, the user's homepage is opened.
57
58**\--tab-url**
59: Print the URL of the active tab.
60
61# ENVIRONMENT
62
63`LAGRANGE_OVERRIDE_DPI`
64: Override the autodetected screen DPI with a user-provided value. Some window systems and/or monitors may not provide an appropriate DPI value, so this enables further tuning the UI scaling in addition to the "UI scale factor" found in Preferences.
65
66# FILES
67
68User-specific files such as bookmarks and navigation history are stored in the following operating system dependent locations:
69
70- Windows: "C:\\Users\\Name\\AppData\\Roaming\\fi.skyjake.Lagrange"
71- macOS: "~/Library/Application Support/fi.skyjake.Lagrange"
72- Other: "~/.config/lagrange"
73
74The directory contains:
75
76**bindings.txt**
77: Customized key bindings.
78
79**bookmarks.ini**
80: Bookmarks in TOML format.
81
82**feeds.txt**
83: State of subscribed feeds: all the known entries and latest update timestamps.
84
85**fonts.ini**
86: Custom fonts to load at launch.
87
88**idents.lgr**
89: Information about identities.
90
91**idents/**
92: Subdirectory containing client certificates and private keys in PEM format.
93
94**modmap.txt**
95: Customized keyboard modifier mapping.
96
97**mimehooks.txt**
98: Configuration of external programs to filter page contents depending on MIME type.
99
100**palette.txt**
101: Colors of the UI palette.
102
103**prefs.cfg**
104: User's preferences. This is a list of UI events that gets executed at launch (cf. output of **\--echo**).
105
106**state.lgr**
107: Serialized UI state, specifying open tabs and sidebar state.
108
109**sitespec.ini**
110: Site-specific preferences in TOML format.
111
112**trusted.2.txt**
113: Fingerprints of trusted server certificates.
114
115**visited.2.txt**
116: List of visited URLs with timestamps.
117
118# STANDARDS
119
120* [Gemini Protocol Specification](https://gemini.circumlunar.space/docs/specification.gmi)
121* [Gempub Specification](https://codeberg.org/oppenlab/gempub)
122* [RFC 1436: The Internet Gopher Protocol](https://datatracker.ietf.org/doc/html/rfc1436)
123* [RFC 1288: The Finger User Information Protocol](https://datatracker.ietf.org/doc/html/rfc1288)
124
125# SEE ALSO
126
127Open "about:help" in the application to view the complete Help page. \ No newline at end of file
diff --git a/res/makeman.sh b/res/makeman.sh
new file mode 100755
index 00000000..510c4cf6
--- /dev/null
+++ b/res/makeman.sh
@@ -0,0 +1,3 @@
1#!/bin/sh
2pandoc lagrange.1.md -s -t man > lagrange.1
3