sacc

sacc(omys), simple console gopher client (mirror)
git clone https://git.parazyd.org/sacc
Log | Files | Refs | LICENSE

config.def.h (1145B)


      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_fetch	'L' /* refetch current item */
     17 #define _key_help	'?' /* display help */
     18 #define _key_quit	'q' /* exit sacc */
     19 #define _key_search	'/' /* search */
     20 #define _key_searchnext	'n' /* search same string forward */
     21 #define _key_searchprev	'N' /* search same string backward */
     22 
     23 /* default plumber */
     24 static char *plumber = "xdg-open";
     25 
     26 /* temporary directory template (must end with six 'X' characters) */
     27 static char tmpdir[] = "/tmp/sacc-XXXXXX";