mirror of
https://github.com/jarun/nnn.git
synced 2024-11-28 05:41:31 +00:00
androidbatch-renamecclicommand-linedeveloper-toolsdisk-usagefile-managerfile-previewfile-searchfilesystemlaunchermulti-platformncursesproductivityraspberry-piterminaltuivimwsl
d1ed0cff11
Specifying commands by name in config.h means that every time one switches ones editor (for example), one has to modify every config.h file referencing that editor and then recompile every corresponding program. This change adds a string `env` for specifying an environment variable to `struct key` and uses it to optionally specify the command to run on SEL_{RUN,RUNARG}. The `run` string is used as a fallback when the environment variable has not been specified or is not set. It also updates `config.def.h` to demonstrate this new capability. |
||
---|---|---|
config.def.h | ||
LICENSE | ||
Makefile | ||
mktest.sh | ||
noice.1 | ||
noice.c | ||
README | ||
strlcat.c | ||
strlcpy.c | ||
util.h |
__ ___ ___ /\_\ ___ __ /' _ `\ / __`\/\ \ /'___\ /'__`\ /\ \/\ \/\ \L\ \ \ \/\ \__//\ __/ \ \_\ \_\ \____/\ \_\ \____\ \____\ \/_/\/_/\/___/ \/_/\/____/\/____/ -- by lostd and sin ======================================================= What is it? =========== noice is a small ncurses-based file browser. It was first developed to be used with a tv remote control for a media center solution. Getting started =============== Get the latest version from the git-repository; build and install it. Run noice in a directory to display its content in the form of a list, where each line is a file or directory. The currently selected item will be preceded with a " > " by default. For more information refer to the manpage. Building ======== To build noice you need a curses implementation available. In most cases you just do: make It is known to work on OpenBSD, NetBSD, FreeBSD, DragonFly BSD, Linux, IRIX 6.5, Haiku, Solaris 9. Some notes for building on certain systems follow. * IRIX 6.5: Tested with gcc from http://freeware.sgi.com/. make CC="gcc" LDLIBS="-lgen -lcurses" * Haiku: make LDLIBS="-lncurses" * Solaris 9: Tested with gcc from http://www.opencsw.org/. export PATH=/usr/ccs/bin:/opt/csw/bin make CC="gcc" Contact ======= To report bugs and/or submit patches, you can reach us through the freenode IRC network at #2f30.