## v1.1.0-dev Three new features in this release, plus an unknown number of new bugs. 1. phetch will now disable color in menus when the `NO_COLOR` env variable is set. See https://no-color.org/ for more information. 2. phetch has added support for the CP437 encoding! You can toggle it on or off using `ctrl-e` (for encoding). See https://en.wikipedia.org/wiki/Code_page_437 for information. Huuuge thanks to Kjell for suggesting this feature and providing some great test data! 3. phetch now supports a primitive form of wrapping long lines in text views. It won't reflow the text, but it will make some phlogs and other documents slightly more readable. Enable it with `--wrap NUM` or by adding `wrap NUM` to your `phetch.conf`. --- You may have run into long lines that don't break at the margins, making the page hard to scroll and read: ![not wrapped](https://user-images.githubusercontent.com/41523880/97058194-f73d9d80-1541-11eb-8fc8-910489fafcc3.png) Now, by either passing `--wrap NUM` or adding `wrap NUM` to your `phetch.conf` file, phetch will attempt to wrap long lines at the nearest hypen or space: ![wrapped](https://user-images.githubusercontent.com/41523880/97058201-fa388e00-1541-11eb-84ef-c539304870a6.png) This is really useful if you want to browse, say, a directory of Markdown files over Gopher. Modern Markdown is often written with the assumption that the client will do the wrapping, so it can end up looking pretty messy in an ananchronistic client like phetch. Reading those files is now a bit easier: | not wrapped | wrapped | |---|---| | ![not wrapped](https://user-images.githubusercontent.com/41523880/97057857-1556ce00-1541-11eb-9cc1-6c6d438529ea.png) | ![wrapped](https://user-images.githubusercontent.com/41523880/97057869-1ee03600-1541-11eb-8e7b-ae47ff9ec871.png) | This also works nicely on native Gopher content: phlog entries sometimes have long URLs in their footnotes, and that could screw up phetch's margin calculations. Note that this doesn't do any *reflow* of text, so documents with long lines will still look a bit wonky, as you can see above. Some lines will be too short. But it's a lot more usable, so we'll take it! PS You can use smaller values to get weird with it: ![weird](https://user-images.githubusercontent.com/41523880/97057878-269fda80-1541-11eb-9435-89f97cce8825.png) Enjoy! ## v1.0.7 This release fixes https://github.com/xvxx/phetch/issues/19 phetch was aborting whenever it encountered a connection error instead of trying the alternate socket addrs it was given. Special thanks to @Ramiferous and @voidpin and **rvp**! ## v1.0.6 - More "reload" bugfixes. ## v1.0.5 Fix a crash introduced in 1.0.4. ## v1.0.4 - The `ctrl-u` and `ctrl-g` keyboard shortcuts can now be used to reload the current page. ## v1.0.3 This release adds support for the `;` and `s` Gopher item types, as well as the ability to play them in a media player - meaning you can now run Gopher-powered media servers! As seen here: https://twitter.com/grufwub/status/1264296292764856320 `mpv` is used by default, but you can specify a custom player or disable the feature using the `-m` and `-M` flags. Info has been added to `--help` and the phetch manual. Special thanks to @grufwub for the feature request and getting the code rolling! Enjoy! ## v1.0.2 This release fixes a few small but irritating bugs: - ANSI color codes now render properly. Full technicolor support. Try it out: `phetch gopher://tilde.black/1/users/genin/` - Resizing your terminal now resizes phetch automatically. - Downloads can now be cancelled while in-progress with no funny business. - Debug information is now properly displayed when phetch crashes. ## v1.0.1 This is a small bugfix release. Thanks to @TheEnbyperor and @grufwub! - phetch no longer panics on multibyte characters when trying to truncate Gopher content. ## v1.0.0 `phetch` is now **v1.0.0**! Major thanks to @kseistrup for design, testing, and documentation, @iglosiggio for supporting [GILD][gild], @lartu for inspiration, and @antirez for re-introducing me to Gopher one year ago with his blog post, [Gopher: a present for Redis](http://antirez.com/news/127). --- ![phetch screen][phetch screen] --- `phetch` is a terminal Gopher client designed to help you quickly navigate the gophersphere. With a snappy, text-based UI, Gopher types distinguished by color, and built-in support for secure Gopher and Tor routing, `phetch` is perfect for catching up on the latest from sdf.org or kicking back and enjoying some Zaibatsu. Download a binary release below for Linux, Raspberry Pi, or macOS, or see the [Installation][install] section of the README for instructions on how to install for Arch Linux with AUR (`yay phetch`), macOS with homebrew (`brew install xvxx/code/phetch`), or how to build from source. --- I have fond memories of using telnet to connect to the local library when I was a kid, browsing their selection of books in an amber-colored, text-based interface. This was the mid-90s, so I was using some version of Windows, literally dialing into the library with Hyperterminal.