2009-02-05 21:28:18 +03:00
|
|
|
/** \file fileloc.h
|
|
|
|
* \brief Header: config files list
|
|
|
|
*
|
|
|
|
* This file defines the locations of the various user specific
|
|
|
|
* configuration files of the Midnight Commander. Historically the
|
|
|
|
* system wide and the user specific file names have not always been
|
|
|
|
* the same, so don't use these names for finding system wide
|
|
|
|
* configuration files.
|
|
|
|
*
|
|
|
|
* \todo This inconsistency should disappear in the one of the next versions (5.0?)
|
|
|
|
*/
|
2005-08-21 08:00:43 +04:00
|
|
|
|
2009-02-05 21:28:18 +03:00
|
|
|
#ifndef MC_FILELOC_H
|
|
|
|
#define MC_FILELOC_H
|
2005-08-21 08:00:43 +04:00
|
|
|
|
2010-11-08 13:21:45 +03:00
|
|
|
/*** typedefs(not structures) and defined constants **********************************************/
|
|
|
|
|
2009-10-05 18:32:46 +04:00
|
|
|
#ifndef MC_USERCONF_DIR
|
2010-12-29 18:12:59 +03:00
|
|
|
#define MC_USERCONF_DIR "mc"
|
2009-10-05 18:32:46 +04:00
|
|
|
#endif
|
|
|
|
|
2010-11-08 13:21:45 +03:00
|
|
|
#define TAGS_NAME "TAGS"
|
|
|
|
|
|
|
|
#define MC_GLOBAL_CONFIG_FILE "mc.lib"
|
|
|
|
#define MC_GLOBAL_MENU "mc.menu"
|
|
|
|
#define MC_LOCAL_MENU ".mc.menu"
|
|
|
|
#define MC_HINT "hints" PATH_SEP_STR "mc.hint"
|
|
|
|
#define MC_HELP "help" PATH_SEP_STR "mc.hlp"
|
|
|
|
#define GLOBAL_KEYMAP_FILE "mc.keymap"
|
|
|
|
#define CHARSETS_LIST "mc.charsets"
|
2011-01-22 00:10:36 +03:00
|
|
|
#define MC_MACRO_FILE "mc.macros"
|
2010-11-08 13:21:45 +03:00
|
|
|
|
|
|
|
#define FISH_PREFIX "fish"
|
|
|
|
|
|
|
|
#define FISH_LS_FILE "ls"
|
|
|
|
#define FISH_EXISTS_FILE "fexists"
|
|
|
|
#define FISH_MKDIR_FILE "mkdir"
|
|
|
|
#define FISH_UNLINK_FILE "unlink"
|
|
|
|
#define FISH_CHOWN_FILE "chown"
|
|
|
|
#define FISH_CHMOD_FILE "chmod"
|
2011-10-10 17:19:47 +04:00
|
|
|
#define FISH_UTIME_FILE "utime"
|
2010-11-08 13:21:45 +03:00
|
|
|
#define FISH_RMDIR_FILE "rmdir"
|
|
|
|
#define FISH_LN_FILE "ln"
|
|
|
|
#define FISH_MV_FILE "mv"
|
|
|
|
#define FISH_HARDLINK_FILE "hardlink"
|
|
|
|
#define FISH_GET_FILE "get"
|
|
|
|
#define FISH_SEND_FILE "send"
|
|
|
|
#define FISH_APPEND_FILE "append"
|
|
|
|
#define FISH_INFO_FILE "info"
|
|
|
|
|
|
|
|
#define MC_EXTFS_DIR "extfs.d"
|
2009-10-05 18:32:46 +04:00
|
|
|
|
2010-11-08 13:21:45 +03:00
|
|
|
#define MC_BASHRC_FILE "bashrc"
|
2021-02-28 17:56:46 +03:00
|
|
|
#define MC_ZSHRC_FILE ".zshrc"
|
2021-02-18 10:28:34 +03:00
|
|
|
#define MC_ASHRC_FILE "ashrc"
|
|
|
|
#define MC_INPUTRC_FILE "inputrc"
|
2010-11-08 13:21:45 +03:00
|
|
|
#define MC_CONFIG_FILE "ini"
|
2022-07-22 20:18:16 +03:00
|
|
|
#define MC_EXT_FILE "mc.ext.ini"
|
|
|
|
#define MC_EXT_OLD_FILE "mc.ext"
|
2010-11-08 13:21:45 +03:00
|
|
|
#define MC_FILEPOS_FILE "filepos"
|
|
|
|
#define MC_HISTORY_FILE "history"
|
|
|
|
#define MC_HOTLIST_FILE "hotlist"
|
|
|
|
#define MC_USERMENU_FILE "menu"
|
|
|
|
#define MC_TREESTORE_FILE "Tree"
|
|
|
|
#define MC_PANELS_FILE "panels.ini"
|
|
|
|
#define MC_FHL_INI_FILE "filehighlight.ini"
|
2020-05-03 12:17:49 +03:00
|
|
|
|
|
|
|
#define MC_SKINS_DIR "skins"
|
2009-10-05 18:32:46 +04:00
|
|
|
|
|
|
|
/* editor home directory */
|
2020-05-03 11:07:01 +03:00
|
|
|
#define EDIT_HOME_DIR "mcedit"
|
2009-10-05 18:32:46 +04:00
|
|
|
|
|
|
|
/* file names */
|
2020-05-03 11:07:01 +03:00
|
|
|
#define EDIT_HOME_MACRO_FILE EDIT_HOME_DIR PATH_SEP_STR "macros.d" PATH_SEP_STR "macro"
|
|
|
|
#define EDIT_HOME_CLIP_FILE EDIT_HOME_DIR PATH_SEP_STR "mcedit.clip"
|
|
|
|
#define EDIT_HOME_BLOCK_FILE EDIT_HOME_DIR PATH_SEP_STR "mcedit.block"
|
|
|
|
#define EDIT_HOME_TEMP_FILE EDIT_HOME_DIR PATH_SEP_STR "mcedit.temp"
|
2022-12-03 12:11:27 +03:00
|
|
|
#define EDIT_SYNTAX_DIR "syntax"
|
|
|
|
#define EDIT_SYNTAX_FILE EDIT_SYNTAX_DIR PATH_SEP_STR "Syntax"
|
2010-11-08 13:21:45 +03:00
|
|
|
|
2011-01-20 18:33:15 +03:00
|
|
|
#define EDIT_GLOBAL_MENU "mcedit.menu"
|
2010-11-08 13:21:45 +03:00
|
|
|
#define EDIT_LOCAL_MENU ".cedit.menu"
|
2020-05-03 11:07:01 +03:00
|
|
|
#define EDIT_HOME_MENU EDIT_HOME_DIR PATH_SEP_STR "menu"
|
2010-11-08 13:21:45 +03:00
|
|
|
|
|
|
|
/*** enums ***************************************************************************************/
|
|
|
|
|
|
|
|
/*** structures declarations (and typedefs of structures)*****************************************/
|
|
|
|
|
|
|
|
/*** global variables defined in .c file *********************************************************/
|
|
|
|
|
|
|
|
/*** declarations of public functions ************************************************************/
|
|
|
|
|
|
|
|
/*** inline functions ****************************************************************************/
|
2005-08-21 08:00:43 +04:00
|
|
|
|
|
|
|
#endif
|