i[DOC] drop bookmarks, add local file - clic - Clic is an command line interactive client for gopher written in Common LISP Err bitreich.org 70 hgit clone git://bitreich.org/clic/ git://enlrupgkhuxnvlhsf6lc3fziv5h2hhfrinws65d7roiv6bfj7d652fid.onion/clic/ URL:git://bitreich.org/clic/ git://enlrupgkhuxnvlhsf6lc3fziv5h2hhfrinws65d7roiv6bfj7d652fid.onion/clic/ bitreich.org 70 1Log /scm/clic/log.gph bitreich.org 70 1Files /scm/clic/files.gph bitreich.org 70 1Refs /scm/clic/refs.gph bitreich.org 70 1Tags /scm/clic/tag bitreich.org 70 1README /scm/clic/file/README.md.gph bitreich.org 70 1LICENSE /scm/clic/file/LICENSE.gph bitreich.org 70 i--- Err bitreich.org 70 1commit 80f0989facc729b1b9aa9ae9a0a6d6a58ebbf3b8 /scm/clic/commit/80f0989facc729b1b9aa9ae9a0a6d6a58ebbf3b8.gph bitreich.org 70 1parent 50d172f78c56c2153f7e964798c6bbbe5ff56dc8 /scm/clic/commit/50d172f78c56c2153f7e964798c6bbbe5ff56dc8.gph bitreich.org 70 hAuthor: Solene Rapenne URL:mailto:solene@perso.pw bitreich.org 70 iDate: Thu, 1 Feb 2018 19:20:46 +0100 Err bitreich.org 70 i Err bitreich.org 70 i[DOC] drop bookmarks, add local file Err bitreich.org 70 i Err bitreich.org 70 iDiffstat: Err bitreich.org 70 i M README.md | 17 +++++++++++------ Err bitreich.org 70 i Err bitreich.org 70 i1 file changed, 11 insertions(+), 6 deletions(-) Err bitreich.org 70 i--- Err bitreich.org 70 1diff --git a/README.md b/README.md /scm/clic/file/README.md.gph bitreich.org 70 i@@ -68,8 +68,6 @@ Keyboard bindings Err bitreich.org 70 i ----------------- Err bitreich.org 70 i Err bitreich.org 70 i + 1-999 : follow the link "number" Err bitreich.org 70 i-+ a : add to bookmark (it saves the file too) Err bitreich.org 70 i-+ b : display bookmarks and choose a link Err bitreich.org 70 i + p : previous page Err bitreich.org 70 i + h : display history Err bitreich.org 70 i + r : reload the page Err bitreich.org 70 i@@ -83,19 +81,19 @@ permitting to use clic with the numpad with only one hand : Err bitreich.org 70 i + "a number" : follow the link "number Err bitreich.org 70 i + / : previous page Err bitreich.org 70 i + * : reload the page Err bitreich.org 70 i-+ - : display bookmarks Err bitreich.org 70 i-+ + : add to bookmark Err bitreich.org 70 i + . : quit Err bitreich.org 70 i Err bitreich.org 70 i Err bitreich.org 70 i Command line usage Err bitreich.org 70 i ================== Err bitreich.org 70 i Err bitreich.org 70 i+clic [url|file] Err bitreich.org 70 i+ Err bitreich.org 70 i If you pass a gopher url to clic (gopher:// isn't mandatory for the Err bitreich.org 70 i url), the behavor will change depending on two parameters : Err bitreich.org 70 i Err bitreich.org 70 i 1. is the output a pipe/redirection ? Err bitreich.org 70 i-2. is the url type a menu ? (types 1 or 4) Err bitreich.org 70 i+2. is the url type a menu ? (types 1 or 7) Err bitreich.org 70 i Err bitreich.org 70 i If the output is a pipe or a redirection, clic will send the raw data Err bitreich.org 70 i to stdout (text for type 0 and binary for others types) Err bitreich.org 70 i@@ -104,5 +102,12 @@ If the output is the terminal, clic will download the file in /tmp/ Err bitreich.org 70 i folder and then call $PAGER if the type is 0 (text) or xdg-open for Err bitreich.org 70 i others types. Err bitreich.org 70 i Err bitreich.org 70 i-If the url is a type 0 or 4 and the output is a terminal, it will open Err bitreich.org 70 i+If the url is a type 0 or 7 and the output is a terminal, it will open Err bitreich.org 70 i clic and stay in interactive mode. Err bitreich.org 70 i+ Err bitreich.org 70 i+Clic can open a local file respecting the gopher menu protocol, this Err bitreich.org 70 i+can be used to create a bookmark file and load it locally without a Err bitreich.org 70 i+gopher server. You just need to pass the file as a parameter, like the Err bitreich.org 70 i+following example : Err bitreich.org 70 i+ Err bitreich.org 70 i+ clic my_file.txt Err bitreich.org 70 .