tconfig.def.h - 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
       ---
       tconfig.def.h (1352B)
       ---
            1 /* See LICENSE file for copyright and license details. */
            2 
            3 /* Screen UI navigation keys */
            4 #define _key_lndown        'j' /* move one line down */
            5 #define _key_entrydown        'J' /* move to next link */
            6 #define _key_lnup        'k' /* move one line up */
            7 #define _key_entryup        'K' /* move to previous link */
            8 #define _key_pgdown        ' ' /* move one screen down */
            9 #define _key_pgup        'b' /* move one screen up */
           10 #define _key_home        'g' /* move to the top of page */
           11 #define _key_end        'G' /* move to the bottom of page */
           12 #define _key_pgnext        'l' /* view highlighted item */
           13 #define _key_pgprev        'h' /* view previous item */
           14 #define _key_cururi        'U' /* print page uri */
           15 #define _key_seluri        'u' /* print item uri */
           16 #define _key_yankcur        'Y' /* yank page uri to clipboard */
           17 #define _key_yanksel        'y' /* yank item uri to clipboard */
           18 #define _key_fetch        'L' /* refetch current item */
           19 #define _key_help        '?' /* display help */
           20 #define _key_quit        'q' /* exit sacc */
           21 #define _key_search        '/' /* search */
           22 #define _key_searchnext        'n' /* search same string forward */
           23 #define _key_searchprev        'N' /* search same string backward */
           24 
           25 /* default plumber */
           26 static char *plumber = "xdg-open";
           27 
           28 /* temporary directory template (must end with six 'X' characters) */
           29 static char tmpdir[] = "/tmp/sacc-XXXXXX";
           30 
           31 /* command for writing to X selection (clipboard) */
           32 static char *xselwrite = "xclip -i";