All key names for ordinary ASCII keys as well as for escape keys (pseudo keys) are cached in a lookup-table, keynames[], at startup. Mapping between key names (strings) and key codes (integers) in keys_str2int and keys_int2str) is performed through this table. The key names used are those returned by the keyname() function of ncurses. But to accommodate some of the names to the three-letter space available in the status menu, four ordinary keys and the most common escape keys have calcurse abbreviated names: ESC, TAB, RET, SPC and LFT, HOM, PgU, INS, F1, etc. All keys known by ncurses can be bound. Thus the check for not recognized keys in the key configuration menu becomes superfluous. The only keys that cannot be bound, are those escape keys not known to ncurses, i.e. not described by the terminfo database for the terminal type in use. Signed-off-by: Lukas Fleischer <lfleischer@calcurse.org>
calcurse
Building
If you are using a release tarball, the following commands can be used to build and install calcurse:
$ ./configure
$ make
$ make install
Note that make install
needs to be run as root. When working on a Git
checkout, you need to run ./autogen.sh
before ./configure
.
Package Overview
src
: contains calcurse sourcestest
: contains a test suite and test cases for calcursescripts
: contains additional scripts, such ascalcurse-upgrade
doc
: contains detailed documentation in plain text and HTML
Authors
- Lukas Fleischer (Maintainer)
- Frederic Culot (Original Author)
Contributors
- RegEx support: Erik Saule
- Dutch translation: Jeremy Roon, 2007-2010
- French translation: Frédéric Culot, 2006-2010
- French translation: Toucouch, 2007
- French translation: Erik Saule, 2011-2012
- French translation: Stéphane Aulery, 2012
- French translation: Baptiste Jonglez, 2012
- German translation: Michael Schulz, 2006-2010
- German translation: Chris M., 2006
- German translation: Benjamin Moeller, 2010
- German translation: Lukas Fleischer, 2011-2012
- Portuguese (Brazil) translation: Rafael Ferreira, 2012
- Russian translation: Aleksey Mechonoshin, 2011-2012
- Spanish translation: Jose Lopez, 2006-2010
Also check the Thanks
section in the manual for a list of people who have
contributed by reporting bugs, sending fixes, or suggesting improvements.
Description
Languages
C
65.7%
Shell
29.6%
Python
3.4%
M4
0.8%
Makefile
0.5%