Commits


typos; courtesy of codespell


feature: remove external-cmd Now that telescope understands mailcap, there's no need for the use of external-cmd any longer.


telescope.1: document mime-type handling Mention how telescope handles mime-types with mailcap, xdg-open, etc.


document VISUAL and EDITOR usage


document mini-edit-external


telescope.1: add external-cmd definition Add a definition for the external-cmd setting.


telescope.1: sort default-search-engine


cmd: introduce toggle-styling This adds a new command `toggle-styling` which toggles the formatting between the defaults (or anything specified in a configuration file), and the "raw" prefixes as defined in the gemini file.


tls: guard against faulty gemini servers Some gemini servers have faulty TLS handling, such as: gg: tls_close: EOF without close notify In such cases, telescope will receive that error and naturally assume there was a problem and stop processing. However, in the case of there still being legitimate content read from the request, this should still be displayed, rather than ignored. This change therefore detects this condition and adds a status of 'W' to telescope's modeline to indicate that the information presented is from a faulty gemini server and could be truncated and hence display oddly.


improve telescope.1


telescope.1: remove the text-wrapping CAVEAT not that we're particularly smart now, but libgrapheme gives us a nice result in the scripts I tried.


missing Ic marker


support gopher urls for search; document default-search-engine


add cmd_search to search using a search engine This adds a new command `search', bound by default to `s', that prompts for a query and loads and consult the ``oracle'' (the search engine) using default_search_engine (which will be made customizable.) It also temporarly supports only gemini URLs. Feature requested by -fab-, thanks!


tweak unload-certificate description


mention the C when a client cert is in use


document the new client certificate commands


removed -C/--colours flag


add default-protocol knob So that now one can decide to assume a finger:// or gopher:// protocol instead of gemini:// for load-url.


bump date


add boolean variables The 'if zero/nonzero then...' is a bit annoying. Add proper booleans to the grammar of the config and use them when appropriate. Makes the description and the review of configuration files easier. This means that the old set olivetti-mode = 1 can now be written as set olivetti-mode = true Compatibility with the previous integer values will be kept for a while.


apply load-url-use-heuristic for command line arguments too This semplifies a bit the handling. humanify_url() now takes the base URL which we can then use when not using the heuristics. Command-line arguments now take an implicit base of <file://$PWD/> when the heuristics are disabled, so that foo.gmi resolves to the local file even without <./>. See github issue #10.


add the up, root and home commands These navigates respectively one level up in the path hierarchy, to the root directory and to the "home". The home is considered to be the first path component in the form of ~username. `home' is yet to be implemented.


add load-url-use-heuristic knob This is still WIP and may change before the next release. It could be worthwile to resolve the URLs in load-url using the current page as base, so that while browsing <gemini://a.org/b/c>, using load-url to go to "/" would load <gemini://a.org/> instead of <file:///>. The new option `load-url-use-heuristic', if unset, provides exactly this behaviour. It is still a bit rough to use, as for e.g. loading <d.net> would now yield <gemini://a.org/b/d.net> instead of <gemini://d.net>. Will need more work in-tree, but for now add it so we can reason about it. See github issue #10


add mini-kill-whole-line