Make use of shell optional.
[rover.git] / config.h
blobb6a74d7cffd66d7be451099151c52d9418338d3b
1 #define RV_VERSION "0.4.0"
3 /* CTRL+X: "^X"
4 ALT+X: "M-X" */
5 #define RVK_QUIT "q"
6 #define RVK_HELP "?"
7 #define RVK_DOWN "j"
8 #define RVK_UP "k"
9 #define RVK_JUMP_DOWN "J"
10 #define RVK_JUMP_UP "K"
11 #define RVK_JUMP_TOP "g"
12 #define RVK_JUMP_BOTTOM "G"
13 #define RVK_CD_DOWN "l"
14 #define RVK_CD_UP "h"
15 #define RVK_HOME "H"
16 #define RVK_REFRESH "r"
17 #define RVK_SHELL "^M"
18 #define RVK_VIEW " "
19 #define RVK_EDIT "e"
20 #define RVK_SEARCH "/"
21 #define RVK_TG_FILES "f"
22 #define RVK_TG_DIRS "d"
23 #define RVK_TG_HIDDEN "s"
24 #define RVK_NEW_FILE "n"
25 #define RVK_NEW_DIR "N"
26 #define RVK_RENAME "R"
27 #define RVK_DELETE "D"
28 #define RVK_TG_MARK "m"
29 #define RVK_INVMARK "M"
30 #define RVK_MARKALL "a"
31 #define RVK_MARK_DELETE "X"
32 #define RVK_MARK_COPY "C"
33 #define RVK_MARK_MOVE "V"
35 /* Colors available: DEFAULT, RED, GREEN, YELLOW, BLUE, CYAN, MAGENTA, WHITE, BLACK. */
36 #define RVC_CWD GREEN
37 #define RVC_STATUS CYAN
38 #define RVC_BORDER BLUE
39 #define RVC_SCROLLBAR CYAN
40 #define RVC_LINK CYAN
41 #define RVC_HIDDEN YELLOW
42 #define RVC_EXEC GREEN
43 #define RVC_REG DEFAULT
44 #define RVC_DIR DEFAULT
45 #define RVC_CHR MAGENTA
46 #define RVC_BLK MAGENTA
47 #define RVC_FIFO BLUE
48 #define RVC_SOCK MAGENTA
49 #define RVC_PROMPT DEFAULT
50 #define RVC_TABNUM DEFAULT
51 #define RVC_MARKS YELLOW
53 /* Special symbols used by the TUI. See <curses.h> for available constants. */
54 #define RVS_SCROLLBAR ACS_CKBOARD
55 #define RVS_MARK ACS_DIAMOND
57 /* Prompt strings for line input. */
58 #define RV_PROMPT(S) S ": "
59 #define RVP_SEARCH RV_PROMPT("search")
60 #define RVP_NEW_FILE RV_PROMPT("new file")
61 #define RVP_NEW_DIR RV_PROMPT("new dir")
62 #define RVP_RENAME RV_PROMPT("rename")
64 /* Number of entries to jump on RVK_JUMP_DOWN and RVK_JUMP_UP. */
65 #define RV_JUMP 10
67 /* Optional macro to be executed when a batch operation finishes. */
68 #define RV_ALERT() beep()
70 /* Shell used to launch external programs.
71 Defining this macro will force Rover to launch external
72 programs with `sh -c "$EXTERNAL_PROGRAM [arg]"`. This gives more
73 flexibility, allowing command-line arguments to be embedded in
74 environment variables (e.g. PAGER="less -N"). On the other hand,
75 this requires the presence of a shell and will spawn an additional
76 process each time an external program is invoked. Leave this macro
77 undefined if you prefer external programs to be launched with just
78 `$EXTERNAL_PROGRAM [arg]`. */
79 #define RV_SHELL "/bin/sh"