Blame


1 8fe7904a 2014-11-07 marcelgmr Introduction
2 8fe7904a 2014-11-07 marcelgmr ============
3 8fe7904a 2014-11-07 marcelgmr
4 ee238663 2014-11-09 marcelgmr Rover is a file browser for the terminal.
5 cc8a22df 2014-11-07 marcelgmr
6 95bdeca1 2014-11-07 marcelgmr ![Rover screenshot](/../screenshots/screenshot.png?raw=true "Screenshot")
7 95bdeca1 2014-11-07 marcelgmr
8 cc8a22df 2014-11-07 marcelgmr The main goal is to provide a faster way to explore a file system from the
9 8fe7904a 2014-11-07 marcelgmr terminal, compared to what's possible by using `cd`, `ls`, etc. Rover
10 8fe7904a 2014-11-07 marcelgmr is designed to be simple and portable. It was originally written to be
11 8fe7904a 2014-11-07 marcelgmr used on a headless Raspberry Pi accessed via ssh. The [Ranger file manager](http://ranger.nongnu.org/)
12 8fe7904a 2014-11-07 marcelgmr was a major inspiration for the user interface design, but Rover has
13 8fe7904a 2014-11-07 marcelgmr significantly less features and dependencies.
14 8fe7904a 2014-11-07 marcelgmr
15 8fe7904a 2014-11-07 marcelgmr
16 8fe7904a 2014-11-07 marcelgmr Quick Start
17 8fe7904a 2014-11-07 marcelgmr ===========
18 8fe7904a 2014-11-07 marcelgmr
19 8fe7904a 2014-11-07 marcelgmr Building:
20 8fe7904a 2014-11-07 marcelgmr ```
21 8fe7904a 2014-11-07 marcelgmr $ make
22 8fe7904a 2014-11-07 marcelgmr ```
23 8fe7904a 2014-11-07 marcelgmr
24 719c5cd4 2014-11-08 marcelgmr Installing:
25 719c5cd4 2014-11-08 marcelgmr ```
26 8faaef35 2014-11-09 marcelgmr $ sudo make install
27 719c5cd4 2014-11-08 marcelgmr ```
28 719c5cd4 2014-11-08 marcelgmr
29 8fe7904a 2014-11-07 marcelgmr Running:
30 8fe7904a 2014-11-07 marcelgmr ```
31 719c5cd4 2014-11-08 marcelgmr $ rover
32 8fe7904a 2014-11-07 marcelgmr ```
33 8fe7904a 2014-11-07 marcelgmr
34 ac947adb 2014-11-09 marcelgmr Specify path for some (up to 9) tabs at startup:
35 ac947adb 2014-11-09 marcelgmr ```
36 ac947adb 2014-11-09 marcelgmr $ rover [DIR1 [DIR2 [DIR3 [...]]]]
37 ac947adb 2014-11-09 marcelgmr ```
38 ac947adb 2014-11-09 marcelgmr
39 8fe7904a 2014-11-07 marcelgmr Using:
40 8fe7904a 2014-11-07 marcelgmr ```
41 8fe7904a 2014-11-07 marcelgmr q - quit Rover
42 8986353b 2014-11-11 marcelgmr j/k - move cursor down/up
43 8986353b 2014-11-11 marcelgmr J/K - move cursor down/up 10 lines
44 8fe7904a 2014-11-07 marcelgmr l - enter selected directory
45 8fe7904a 2014-11-07 marcelgmr h - go to parent directory
46 8fe7904a 2014-11-07 marcelgmr H - go to $HOME directory
47 8fe7904a 2014-11-07 marcelgmr RETURN - open $SHELL on the current directory
48 2f7057e8 2014-11-09 marcelgmr SPACE - open $PAGER with the selected file
49 2f7057e8 2014-11-09 marcelgmr e - open $EDITOR with the selected file
50 8fe7904a 2014-11-07 marcelgmr / - start incremental search (RETURN to finish)
51 7b9cb44d 2014-11-14 marcelgmr f/d/s - toggle file/directory/hidden listing
52 7b9cb44d 2014-11-14 marcelgmr n/N - create new file/directory
53 7b9cb44d 2014-11-14 marcelgmr r - rename selected file or directory
54 7b9cb44d 2014-11-14 marcelgmr m - toggle mark on the selected entry
55 7b9cb44d 2014-11-14 marcelgmr M - toggle mark on all visible entries
56 7b9cb44d 2014-11-14 marcelgmr a - mark all visible entries
57 7b9cb44d 2014-11-14 marcelgmr X/C/V - delete/copy/move all marked entries
58 c78b45be 2014-11-09 marcelgmr 0-9 - change tab
59 8fe7904a 2014-11-07 marcelgmr ```
60 8fe7904a 2014-11-07 marcelgmr
61 8fe7904a 2014-11-07 marcelgmr
62 0aeec769 2014-11-07 marcelgmr Dependencies
63 0aeec769 2014-11-07 marcelgmr ============
64 0aeec769 2014-11-07 marcelgmr
65 0aeec769 2014-11-07 marcelgmr Rover is supposed to run on any Unix-like system with a curses implementation.
66 d925320d 2014-11-07 marcelgmr To build Rover, you need a C compiler (supporting at least C89) and a `curses.h`
67 d925320d 2014-11-07 marcelgmr header file.
68 0aeec769 2014-11-07 marcelgmr
69 93f75985 2014-11-07 marcelgmr
70 8fe7904a 2014-11-07 marcelgmr Configuration
71 8fe7904a 2014-11-07 marcelgmr =============
72 8fe7904a 2014-11-07 marcelgmr
73 2254ef43 2014-11-11 marcelgmr By default, rover is installed to `/usr/local/bin/rover`. To change this and other
74 719c5cd4 2014-11-08 marcelgmr build options, such as the name of the curses library, please edit `Makefile`
75 719c5cd4 2014-11-08 marcelgmr before executing `make` or specify the options during invocation. For example,
76 719c5cd4 2014-11-08 marcelgmr to link against `libncurses.so` and install to `/opt/bin/rover`:
77 719c5cd4 2014-11-08 marcelgmr ```
78 2254ef43 2014-11-11 marcelgmr make LDLIBS=-lncurses PREFIX=/opt install
79 719c5cd4 2014-11-08 marcelgmr ```
80 719c5cd4 2014-11-08 marcelgmr
81 8fe7904a 2014-11-07 marcelgmr Rover configuration (mostly key bindings and colors) can only be changed
82 d925320d 2014-11-07 marcelgmr by editing the file `config.h` and rebuilding the binary (with `make`).
83 8fe7904a 2014-11-07 marcelgmr
84 0aeec769 2014-11-07 marcelgmr Note that the external programs executed by some Rover commands may be changed
85 719c5cd4 2014-11-08 marcelgmr via the appropriate environment variables. For example, to specify an editor:
86 0aeec769 2014-11-07 marcelgmr ```
87 719c5cd4 2014-11-08 marcelgmr $ EDITOR=vi rover
88 0aeec769 2014-11-07 marcelgmr ```
89 8fe7904a 2014-11-07 marcelgmr
90 0aeec769 2014-11-07 marcelgmr
91 8fe7904a 2014-11-07 marcelgmr Copyright
92 8fe7904a 2014-11-07 marcelgmr =========
93 8fe7904a 2014-11-07 marcelgmr
94 8fe7904a 2014-11-07 marcelgmr All of the code and documentation in Rover has been dedicated to the
95 8fe7904a 2014-11-07 marcelgmr public domain.