Manual pages: mcmcdiffmceditmcview

root/lib/fileloc.h

/* [previous][next][first][last][top][bottom][index][help]  */

INCLUDED FROM


   1 /** \file  fileloc.h
   2  *  \brief Header: config files list
   3  *
   4  *  This file defines the locations of the various user specific
   5  *  configuration files of the Midnight Commander. Historically the
   6  *  system wide and the user specific file names have not always been
   7  *  the same, so don't use these names for finding system wide
   8  *  configuration files.
   9  *
  10  *  \todo This inconsistency should disappear in the one of the next versions (5.0?)
  11  */
  12 
  13 #ifndef MC_FILELOC_H
  14 #define MC_FILELOC_H
  15 
  16 /*** typedefs(not structures) and defined constants **********************************************/
  17 
  18 #ifndef MC_USERCONF_DIR
  19 #define MC_USERCONF_DIR "mc"
  20 #endif
  21 
  22 #define TAGS_NAME                       "TAGS"
  23 
  24 #define MC_GLOBAL_CONFIG_FILE           "mc.lib"
  25 #define MC_GLOBAL_MENU                  "mc.menu"
  26 #define MC_LOCAL_MENU                   ".mc.menu"
  27 #define MC_HINT                         "hints" PATH_SEP_STR "mc.hint"
  28 #define MC_HELP                         "help" PATH_SEP_STR "mc.hlp"
  29 #define GLOBAL_KEYMAP_FILE              "mc.keymap"
  30 #define CHARSETS_LIST                   "mc.charsets"
  31 #define MC_MACRO_FILE                   "mc.macros"
  32 
  33 #define VFS_SHELL_PREFIX                "shell"
  34 
  35 #define VFS_SHELL_LS_FILE               "ls"
  36 #define VFS_SHELL_EXISTS_FILE           "fexists"
  37 #define VFS_SHELL_MKDIR_FILE            "mkdir"
  38 #define VFS_SHELL_UNLINK_FILE           "unlink"
  39 #define VFS_SHELL_CHOWN_FILE            "chown"
  40 #define VFS_SHELL_CHMOD_FILE            "chmod"
  41 #define VFS_SHELL_UTIME_FILE            "utime"
  42 #define VFS_SHELL_RMDIR_FILE            "rmdir"
  43 #define VFS_SHELL_LN_FILE               "ln"
  44 #define VFS_SHELL_MV_FILE               "mv"
  45 #define VFS_SHELL_HARDLINK_FILE         "hardlink"
  46 #define VFS_SHELL_GET_FILE              "get"
  47 #define VFS_SHELL_SEND_FILE             "send"
  48 #define VFS_SHELL_APPEND_FILE           "append"
  49 #define VFS_SHELL_INFO_FILE             "info"
  50 
  51 #define MC_EXTFS_DIR                    "extfs.d"
  52 
  53 #define MC_ASHRC_CUSTOM_PROFILE_FILE    "ashrc"
  54 #define MC_BASHRC_CUSTOM_PROFILE_FILE   "bashrc"
  55 #define MC_KSHRC_CUSTOM_PROFILE_FILE    "kshrc"
  56 #define MC_MKSHRC_CUSTOM_PROFILE_FILE   "mkshrc"
  57 #define MC_ZSHRC_CUSTOM_PROFILE_FILE    ".zshrc"  // zsh only accepts whole directory (#4203)
  58 
  59 #define MC_BASHRC_DEFAULT_PROFILE_FILE  ".bashrc"
  60 #define MC_MKSHRC_DEFAULT_PROFILE_FILE  ".mkshrc"
  61 #define MC_GENERIC_DEFAULT_PROFILE_FILE ".profile"
  62 
  63 #define MC_INPUTRC_FILE                 "inputrc"
  64 
  65 #define MC_CONFIG_FILE                  "ini"
  66 #define MC_EXT_FILE                     "mc.ext.ini"
  67 #define MC_EXT_OLD_FILE                 "mc.ext"
  68 #define MC_FILEPOS_FILE                 "filepos"
  69 #define MC_HISTORY_FILE                 "history"
  70 #define MC_HOTLIST_FILE                 "hotlist"
  71 #define MC_USERMENU_FILE                "menu"
  72 #define MC_TREESTORE_FILE               "Tree"
  73 #define MC_PANELS_FILE                  "panels.ini"
  74 #define MC_FHL_INI_FILE                 "filehighlight.ini"
  75 
  76 #define MC_SKINS_DIR                    "skins"
  77 
  78 /* editor home directory */
  79 #define EDIT_HOME_DIR "mcedit"
  80 
  81 /* file names */
  82 #define EDIT_HOME_MACRO_FILE EDIT_HOME_DIR PATH_SEP_STR "macros.d" PATH_SEP_STR "macro"
  83 #define EDIT_HOME_CLIP_FILE  EDIT_HOME_DIR PATH_SEP_STR "mcedit.clip"
  84 #define EDIT_HOME_BLOCK_FILE EDIT_HOME_DIR PATH_SEP_STR "mcedit.block"
  85 #define EDIT_HOME_TEMP_FILE  EDIT_HOME_DIR PATH_SEP_STR "mcedit.temp"
  86 #define EDIT_SYNTAX_DIR      "syntax"
  87 #define EDIT_SYNTAX_FILE     EDIT_SYNTAX_DIR PATH_SEP_STR "Syntax"
  88 
  89 #define EDIT_GLOBAL_MENU     "mcedit.menu"
  90 #define EDIT_LOCAL_MENU      ".cedit.menu"
  91 #define EDIT_HOME_MENU       EDIT_HOME_DIR PATH_SEP_STR "menu"
  92 
  93 /*** enums ***************************************************************************************/
  94 
  95 /*** structures declarations (and typedefs of structures)*****************************************/
  96 
  97 /*** global variables defined in .c file *********************************************************/
  98 
  99 /*** declarations of public functions ************************************************************/
 100 
 101 /*** inline functions ****************************************************************************/
 102 
 103 #endif

/* [previous][next][first][last][top][bottom][index][help]  */