~mot's phlog

VF-1

2019-09-29 19:32

VF-11 is a Gopher client 'built around an interactive command prompt'.

Config [~/.vf1rc]:

Open PDF and image files with Preview on macOS, open HTML files/HTTP URLs in lynx for browsing (as opposed to the default '--dump') and pipe everything textish (including menus) through less.

set color_menus True
handler application/pdf open %s
handler image/* open %s
handler text/html lynx -force_html %s
handler text/plain less -FXR %s

Commands:

g url

/term
search last index

v term
search with veronica

h
show history

ls, ls -l
list contents of current index, `-l` shows
URLs.

l
pipe current page through less

!,shell
cat last item through a shell pipleline

n,p
next/previous item in most recent gopher menu

li
show gopher urls in most recent file
(for http &c. do `! urlview`)

url
of current document

bm
show bookmarks

add title
add a bookmark
stored in `~/.vf1-bookmarks.txt`

save path/file.txt