1 #define RV_VERSION "0.4.2"
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"
16 #define RVK_TARGET "t"
17 #define RVK_REFRESH "r"
18 #define RVK_SHELL "^M"
22 #define RVK_SEARCH "/"
23 #define RVK_TG_FILES "f"
24 #define RVK_TG_DIRS "d"
25 #define RVK_TG_HIDDEN "s"
26 #define RVK_NEW_FILE "n"
27 #define RVK_NEW_DIR "N"
28 #define RVK_RENAME "R"
29 #define RVK_DELETE "D"
30 #define RVK_TG_MARK "m"
31 #define RVK_INVMARK "M"
32 #define RVK_MARKALL "a"
33 #define RVK_MARK_DELETE "X"
34 #define RVK_MARK_COPY "C"
35 #define RVK_MARK_MOVE "V"
37 /* Colors available: DEFAULT, RED, GREEN, YELLOW, BLUE, CYAN, MAGENTA, WHITE, BLACK. */
39 #define RVC_STATUS CYAN
40 #define RVC_BORDER BLUE
41 #define RVC_SCROLLBAR CYAN
43 #define RVC_HIDDEN YELLOW
44 #define RVC_EXEC GREEN
45 #define RVC_REG DEFAULT
46 #define RVC_DIR DEFAULT
47 #define RVC_CHR MAGENTA
48 #define RVC_BLK MAGENTA
50 #define RVC_SOCK MAGENTA
51 #define RVC_PROMPT DEFAULT
52 #define RVC_TABNUM DEFAULT
53 #define RVC_MARKS YELLOW
55 /* Special symbols used by the TUI. See <curses.h> for available constants. */
56 #define RVS_SCROLLBAR ACS_CKBOARD
57 #define RVS_MARK ACS_DIAMOND
59 /* Prompt strings for line input. */
60 #define RV_PROMPT(S) S ": "
61 #define RVP_SEARCH RV_PROMPT("search")
62 #define RVP_NEW_FILE RV_PROMPT("new file")
63 #define RVP_NEW_DIR RV_PROMPT("new dir")
64 #define RVP_RENAME RV_PROMPT("rename")
66 /* Number of entries to jump on RVK_JUMP_DOWN and RVK_JUMP_UP. */
69 /* Default listing view flags.
70 May include SHOW_FILES, SHOW_DIRS and SHOW_HIDDEN. */
71 #define RV_FLAGS SHOW_FILES | SHOW_DIRS
73 /* Optional macro to be executed when a batch operation finishes. */
74 #define RV_ALERT() beep()
76 /* Shell used to launch external programs.
77 Defining this macro will force Rover to launch external
78 programs with `sh -c "$EXTERNAL_PROGRAM [arg]"`. This gives more
79 flexibility, allowing command-line arguments to be embedded in
80 environment variables (e.g. PAGER="less -N"). On the other hand,
81 this requires the presence of a shell and will spawn an additional
82 process each time an external program is invoked. Leave this macro
83 undefined if you prefer external programs to be launched with just
84 `$EXTERNAL_PROGRAM [arg]`. */
85 #define RV_SHELL "/bin/sh"