tAdd custom configuration - sacc - [fork] customized build of sacc, the simple console gopher client
 (HTM) git clone git://src.adamsgaard.dk/sacc
 (DIR) Log
 (DIR) Files
 (DIR) Refs
 (DIR) LICENSE
       ---
 (DIR) commit d7e905dedb831d22fbf27eda019e6e5dd545dfb8
 (DIR) parent a30cbd5f8ac0d29f2486513bddea67dde364f864
 (HTM) Author: Anders Damsgaard <anders@adamsgaard.dk>
       Date:   Tue, 26 May 2020 10:54:07 +0200
       
       Add custom configuration
       
       Diffstat:
         A config.h                            |      32 +++++++++++++++++++++++++++++++
       
       1 file changed, 32 insertions(+), 0 deletions(-)
       ---
 (DIR) diff --git a/config.h b/config.h
       t@@ -0,0 +1,32 @@
       +/* See LICENSE file for copyright and license details. */
       +
       +/* Screen UI navigation keys */
       +#define _key_lndown        'j' /* move one line down */
       +#define _key_entrydown        'J' /* move to next link */
       +#define _key_lnup        'k' /* move one line up */
       +#define _key_entryup        'K' /* move to previous link */
       +#define _key_pgdown        ' ' /* move one screen down */
       +#define _key_pgup        'b' /* move one screen up */
       +#define _key_home        'g' /* move to the top of page */
       +#define _key_end        'G' /* move to the bottom of page */
       +#define _key_pgnext        'l' /* view highlighted item */
       +#define _key_pgprev        'h' /* view previous item */
       +#define _key_cururi        'U' /* print page uri */
       +#define _key_seluri        'u' /* print item uri */
       +#define _key_yankcur        'Y' /* yank page uri to clipboard */
       +#define _key_yanksel        'y' /* yank item uri to clipboard */
       +#define _key_fetch        'L' /* refetch current item */
       +#define _key_help        '?' /* display help */
       +#define _key_quit        'q' /* exit sacc */
       +#define _key_search        '/' /* search */
       +#define _key_searchnext        'n' /* search same string forward */
       +#define _key_searchprev        'N' /* search same string backward */
       +
       +/* default plumber */
       +static char *plumber = "plumb";
       +
       +/* temporary directory template (must end with six 'X' characters) */
       +static char tmpdir[] = "/tmp/sacc-XXXXXX";
       +
       +/* command for writing to X selection (clipboard) */
       +static char *xselwrite = "xclip -i";