config.def.h - sacc - sacc(omys), simple console gopher client HTML git clone git://bitreich.org/sacc/ git://enlrupgkhuxnvlhsf6lc3fziv5h2hhfrinws65d7roiv6bfj7d652fid.onion/sacc/ DIR Log DIR Files DIR Refs DIR Tags DIR LICENSE --- config.def.h (1810B) --- 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 */ 17 #define _key_yanksel 'y' /* yank item uri */ 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 #ifdef NEED_CONF 26 27 /* default yanker */ 28 static char *yanker = "xclip"; 29 30 /* default plumber */ 31 static char *plumber = "xdg-open"; 32 33 /* modal plumber will make sacc wait for the plumber to return */ 34 static int modalplumber = 0; 35 36 /* temporary directory template (must end with six 'X' characters) */ 37 static char tmpdir[] = "/tmp/sacc-XXXXXX"; 38 39 /* menu items strings */ 40 static char *typestr[] = { 41 [TXT] = "Txt+", 42 [DIR] = "Dir+", 43 [CSO] = "CSO|", 44 [ERR] = "Err|", 45 [MAC] = "Mac+", 46 [DOS] = "DOS+", 47 [UUE] = "UUE+", 48 [IND] = "Ind+", 49 [TLN] = "Tln|", 50 [BIN] = "Bin+", 51 [MIR] = "Mir+", 52 [IBM] = "IBM|", 53 [GIF] = "GIF+", 54 [IMG] = "Img+", 55 [URL] = "URL+", 56 [INF] = " |", 57 [UNK] = " ? +", 58 [BRK] = "! |", /* malformed entry */ 59 }; 60 61 #endif /* NEED_CONF */