mcedit.1.in 20 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655
  1. .TH MCEDIT 1 "%DATE_OF_MAN_PAGE%" "MC Version %DISTR_VERSION%" "GNU Midnight Commander"
  2. .SH NAME
  3. mcedit \- Internal file editor of GNU Midnight Commander.
  4. .SH USAGE
  5. .B mcedit
  6. [\-bcCdfhstVx?] [+lineno] [file1] [file2] ...
  7. .PP
  8. .B mcedit
  9. [\-bcCdfhstVx?] file1:lineno[:] file2:lineno[:] ...
  10. .SH DESCRIPTION
  11. .LP
  12. mcedit is a link to
  13. .BR mc ,
  14. the main GNU Midnight Commander executable. Executing GNU Midnight Commander
  15. under this name runs the internal editor and opens files
  16. specified on the command line. The editor is based on the terminal version of
  17. .B cooledit
  18. \- standalone editor for X Window System.
  19. .SH OPTIONS
  20. .TP
  21. .I "+lineno"
  22. Go to the line specified by number (do not put a space between the
  23. .I "+"
  24. sign and the number). Several line numbers are allowed but only the last one
  25. will be used, and it will be applied to the first file only.
  26. .TP
  27. .I "\-b"
  28. Force black and white display.
  29. .TP
  30. .I "\-c"
  31. Force ANSI color mode on terminals that don't seem to have color
  32. support.
  33. .TP
  34. .I "\-C <keyword>=<fgcolor>,<bgcolor>,<attributes>:<keyword>= ..."
  35. Specify a different color set. See the
  36. .B Colors
  37. section in mc(1) for more information.
  38. .TP
  39. .I "\-d"
  40. Disable mouse support.
  41. .TP
  42. .I "\-f"
  43. Display the compiled\-in search path for GNU Midnight Commander data
  44. files.
  45. .TP
  46. .I "\-t"
  47. Force using termcap database instead of terminfo. This option is only
  48. applicable if GNU Midnight Commander was compiled with S\-Lang library
  49. with terminfo support.
  50. .TP
  51. .I "\-V"
  52. Display the version of the program.
  53. .TP
  54. .I "\-x"
  55. Force xterm mode. Used when running on xterm\-capable terminals (two
  56. screen modes, and able to send mouse escape sequences).
  57. .SH FEATURES
  58. The internal file editor is a full\-featured windowed editor. It can
  59. edit several files at the same time. Maximum size of each file is 64
  60. megabytes. It is possible to edit binary files. The features it presently
  61. supports are: block copy, move, delete, cut, paste; key for key undo;
  62. pull\-down menus; file insertion; macro commands; regular expression
  63. search and replace; shift\-arrow text highlighting (if supported by
  64. the terminal); insert\-overwrite toggle; autoindent; tunable tab size;
  65. syntax highlighting for various file types; and an option to pipe text
  66. blocks through shell commands like indent and ispell.
  67. .PP
  68. Each file is opened in its own window in full\-screen mode. Window control
  69. in mcedit is similar to the window control in other multi\-window program:
  70. double click on window title maximizes the window to full\-screen or restores
  71. window size and position; left\-click on window title and mouse drag moves
  72. the window in editor area; left\-click on low\-right frame corner and mouse drag
  73. resizes the window. These actions can be made using "Window" menu.
  74. .SH KEYS
  75. The editor is easy to use and can be used without learning. The
  76. pull\-down menu is invoked by pressing F9. You can learn other keys from
  77. the menu and from the button bar labels.
  78. .PP
  79. In addition to that, Shift combined with arrows does text highlighting
  80. (if supported by the terminal):
  81. .B Ctrl\-Ins
  82. copies to the file
  83. .BR ~/.cache/mc/mcedit/mcedit.clip ,
  84. .B Shift\-Ins
  85. pastes from
  86. .BR ~/.cache/mc/mcedit/mcedit.clip ,
  87. .B Shift\-Del
  88. cuts to
  89. .BR ~/.cache/mc/mcedit/mcedit.clip ,
  90. and
  91. .B Ctrl\-Del
  92. deletes highlighted text. Mouse highlighting also works on some
  93. terminals. To use the standard mouse support provided by your terminal,
  94. hold the Shift key. Please note that the mouse support in the terminal
  95. doesn't share the clipboard with
  96. .BR mcedit .
  97. .PP
  98. The completion key (usually
  99. .B "Meta\-Tab"
  100. or
  101. .BR "Escape Tab" )
  102. completes the word under the cursor using the words used in the file.
  103. .SH MACRO
  104. .PP
  105. To define a macro, press
  106. .B Ctrl\-R
  107. and then type out the keys you want to be executed. Press
  108. .B Ctrl\-R
  109. again when finished. The macro can be assigned to any key by pressing that key.
  110. The macro is executed when you press the assigned key.
  111. .PP
  112. The macro commands are stored in section
  113. .B [editor]
  114. it the file
  115. .BR ~/.local/share/mc/mc.macros .
  116. .PP
  117. External scripts (filters) can be assigned into the any hotkey by edit
  118. .B mc.macros
  119. like following:
  120. .PP
  121. .nf
  122. [editor]
  123. ctrl\-W=ExecuteScript:25;
  124. .fi
  125. .PP
  126. This means that ctrl\-W hotkey initiates the
  127. .I ExecuteScript(25)
  128. action, then editor handler translates this into execution of
  129. .B ~/.local/share/mc/mcedit/macros.d/macro.25.sh
  130. shell script.
  131. .PP
  132. External scripts are stored in
  133. .B ~/.local/share/mc/mcedit/macros.d/
  134. directory and must be named as
  135. .B macro.XXXX.sh
  136. where
  137. .B XXXX
  138. is the number from 0 to 9999.
  139. See
  140. .B Edit Menu File
  141. for more detail about format of the script.
  142. .PP
  143. Following macro definition and directives can be used:
  144. .TP
  145. .I #silent
  146. If this directive is set, then script starts without interactive subshell.
  147. .TP
  148. .I %c
  149. The cursor column position number.
  150. .TP
  151. .I %i
  152. The indent of blank space, equal the cursor column.
  153. .TP
  154. .I %y
  155. The syntax type of current file.
  156. .TP
  157. .I %b
  158. The block file name.
  159. .TP
  160. .I %f
  161. The current file name.
  162. .TP
  163. .I %n
  164. Only the current file name without extension.
  165. .TP
  166. .I %x
  167. The extension of current file name.
  168. .TP
  169. .I %d
  170. The current directory name.
  171. .TP
  172. .I %F
  173. The current file in the unselected panel.
  174. .TP
  175. .I %D
  176. The directory name of the unselected panel.
  177. .TP
  178. .I %t
  179. The currently tagged files.
  180. .TP
  181. .I %T
  182. The tagged files in the unselected panel.
  183. .TP
  184. .IR %u " and " %U
  185. Similar to the
  186. .I %t
  187. and
  188. .I %T
  189. macros, but in addition the files are untagged. You can use this macro
  190. only once per menu file entry or extension file entry, because next time
  191. there will be no tagged files.
  192. .TP
  193. .IR %s " and " %S
  194. The selected files: The tagged files if there are any. Otherwise the
  195. current file.
  196. .PP
  197. Feel free to edit this files, if you need.
  198. Here is a sample external script:
  199. .PP
  200. .nf
  201. l comment selection
  202. TMPFILE=`mktemp ${MC_TMPDIR:\-/tmp}/up.XXXXXX` || exit 1
  203. echo #if 0 > $TMPFILE
  204. cat %b >> $TMPFILE
  205. echo #endif >> $TMPFILE
  206. cat $TMPFILE > %b
  207. rm \-f $TMPFILE
  208. .fi
  209. .PP
  210. If some keys don't work, you can use
  211. .B Learn Keys
  212. in the
  213. .B Options
  214. menu.
  215. .SH CODE NAVIGATION
  216. .B mcedit
  217. can be used for navigation through code with tags files created by etags
  218. or ctags commands. If there is no TAGS file code navigation will not work.
  219. For example, in case of exuberant\-ctags for C language command will be:
  220. .PP
  221. ctags \-e \-\-language\-force=C \-R ./
  222. .PP
  223. .B Meta\-Enter
  224. shows list box to select item under cursor (cursor should stand at the end
  225. of the word).
  226. .PP
  227. .B Meta\-Minus
  228. where minus is symbol "\-" goes to previous function in navigation list
  229. (like browser's Back button).
  230. .PP
  231. .B Meta\-Equal
  232. where equal is symbol "=" goes to next function in navigation list
  233. (like browser's Forward button).
  234. .PP
  235. .SH SYNTAX HIGHLIGHTING
  236. .B mcedit
  237. supports syntax highlighting. This means that keywords and contexts
  238. (like C comments, string constants, etc) are highlighted in different
  239. colors. The following section explains the format of the file
  240. .BR ~/.config/mc/mcedit/Syntax .
  241. If this file is missing, system\-wide
  242. .B %prefix%/share/mc/syntax/Syntax
  243. is used.
  244. The file
  245. .B ~/.config/mc/mcedit/Syntax
  246. is rescanned on opening of every new editor file. The file contains
  247. rules for highlighting, each of which is given on a separate line, and
  248. define which keywords will be highlighted with what color.
  249. .PP
  250. The file is divided into sections, each beginning with a line with the
  251. .B file
  252. command. The sections are normally put into separate files using the
  253. .B include
  254. command.
  255. .PP
  256. The
  257. .B file
  258. command has three arguments. The first argument is a regular expression
  259. that is applied to the file name to determine if the following section
  260. applies to the file. The second argument is the description of the file
  261. type. It is used in
  262. .BR cooledit ;
  263. future versions of
  264. .B mcedit
  265. may use it as well. The third optional argument is a regular expression
  266. to match the first line of text of the file. The rules in the following
  267. section apply if either the file name or the first line of text matches.
  268. .PP
  269. A section ends with the start of another section. Each section is
  270. divided into contexts, and each context contains rules. A context is a
  271. scope within the text that a particular set of rules belongs to. For
  272. instance, the text within a C style comment (i.e. between
  273. .B /*
  274. and
  275. .BR */ )
  276. has its own color. This is a context, although it has no further rules
  277. inside it because there is probably nothing that we want highlighted
  278. within a C comment.
  279. .PP
  280. A trivial C programming section might look like this:
  281. .PP
  282. .nf
  283. file .\\*\\\\.c C\\sProgram\\sFile (#include|/\\\\\\*)
  284. wholechars abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ_
  285. # default colors
  286. define comment brown
  287. context default
  288. keyword whole if yellow
  289. keyword whole else yellow
  290. keyword whole for yellow
  291. keyword whole while yellow
  292. keyword whole do yellow
  293. keyword whole switch yellow
  294. keyword whole case yellow
  295. keyword whole static yellow
  296. keyword whole extern yellow
  297. keyword { brightcyan
  298. keyword } brightcyan
  299. keyword '*' green
  300. # C comments
  301. context /\\* \\*/ comment
  302. # C preprocessor directives
  303. context linestart # \\n red
  304. keyword \\\\\\n brightred
  305. # C string constants
  306. context " " green
  307. keyword %d brightgreen
  308. keyword %s brightgreen
  309. keyword %c brightgreen
  310. keyword \\\\" brightgreen
  311. .fi
  312. .PP
  313. Each context starts with a line of the form:
  314. .PP
  315. .B context
  316. .RB [ exclusive ]
  317. .RB [ whole | wholeright | wholeleft ]
  318. .RB [ linestart ]
  319. .I delim
  320. .RB [ linestart ]
  321. .I delim
  322. .RI [ foreground ]
  323. .RI [ background ]
  324. .RI [ attributes ]
  325. .PP
  326. The first context is an exception. It must start with the command
  327. .PP
  328. .B context default
  329. .RI [ foreground ]
  330. .RI [ background ]
  331. .RI [ attributes ]
  332. .PP
  333. otherwise
  334. .B mcedit
  335. will report an error. The
  336. .B linestart
  337. option specifies that
  338. .I delim
  339. must start at the beginning of a line. The
  340. .B whole
  341. option tells that
  342. .I delim
  343. must be a whole word. To specify that a word must begin on the word
  344. boundary only on the left side, you can use the
  345. .B wholeleft
  346. option, and similarly a word that must end on the word boundary is specified by
  347. .BR wholeright .
  348. .PP
  349. The set of characters that constitute a whole word can be changed at any
  350. point in the file with the
  351. .B wholechars
  352. command. The left and right set of characters can be set separately
  353. with
  354. .PP
  355. .B wholechars
  356. .RB [ left | right ]
  357. .I characters
  358. .PP
  359. The
  360. .B exclusive
  361. option causes the text between the delimiters to be highlighted, but not
  362. the delimiters themselves.
  363. .PP
  364. Each rule is a line of the form:
  365. .PP
  366. .B keyword
  367. .RB [ whole | wholeright | wholeleft ]
  368. .RB [ linestart ]
  369. .I string foreground
  370. .RI [ background ]
  371. .RI [ attributes ]
  372. .PP
  373. Context or keyword strings are interpreted, so that you can include tabs
  374. and spaces with the sequences \\t and \\s. Newlines and backslashes are
  375. specified with \\n and \\\\ respectively. Since whitespace is used as a
  376. separator, it may not be used as is. Also, \\* must be used to specify
  377. an asterisk. The * itself is a wildcard that matches any length of
  378. characters. For example,
  379. .PP
  380. .nf
  381. keyword '*' green
  382. .fi
  383. .PP
  384. colors all C single character constants green. You also could use
  385. .PP
  386. .nf
  387. keyword "*" green
  388. .fi
  389. .PP
  390. to color string constants, but the matched string would not be allowed
  391. to span across multiple newlines. The wildcard may be used within
  392. context delimiters as well, but you cannot have a wildcard as the last
  393. or first character.
  394. .PP
  395. Important to note is the line
  396. .PP
  397. .nf
  398. keyword \\\\\\n brightgreen
  399. .fi
  400. .PP
  401. This line defines a keyword containing the backslash and newline
  402. characters. Since the keywords are matched before the context
  403. delimiters, this keyword prevents the context from ending at the end of
  404. the lines that end in a backslash, thus allowing C preprocessor
  405. directive to continue across multiple lines.
  406. .PP
  407. The possible colors are: black, gray, red, brightred, green,
  408. brightgreen, brown, yellow, blue, brightblue, magenta, brightmagenta,
  409. cyan, brightcyan, lightgray and white. The special keyword "default" means
  410. the terminal's default. Another special keyword "base" means mc's main
  411. colors, it is useful as a placeholder if you want to specify attributes
  412. without modifying the background color. When 256 colors are available,
  413. they can be specified either as color16 to color255, or as rgb000 to rgb555
  414. and gray0 to gray23.
  415. .PP
  416. If the syntax file is shared with
  417. .BR cooledit ,
  418. it is possible to specify different colors for
  419. .B mcedit
  420. and
  421. .B cooledit
  422. by separating them with a slash, e.g.
  423. .PP
  424. .nf
  425. keyword #include red/Orange
  426. .fi
  427. .PP
  428. .B mcedit
  429. uses the color before the slash. See cooledit(1) for supported
  430. .B cooledit
  431. colors.
  432. .PP
  433. Attributes can be any of bold, italic, underline, reverse and blink, appended by a
  434. plus sign if more than one are desired.
  435. .PP
  436. Comments may be put on a separate line starting with the hash sign (#).
  437. .PP
  438. If you are describing case insensitive language you need to use
  439. .B caseinsensitive
  440. directive. It should be specified at the beginning of syntax file.
  441. .PP
  442. Because of the simplicity of the implementation, there are a few
  443. intricacies that will not be dealt with correctly but these are a minor
  444. irritation. On the whole, a broad spectrum of quite complicated
  445. situations are handled with these simple rules. It is a good idea to
  446. take a look at the syntax file to see some of the nifty tricks you can
  447. do with a little imagination. If you cannot get by with the rules I
  448. have coded, and you think you have a rule that would be useful, please
  449. email me with your request. However, do not ask for regular expression
  450. support, because this is flatly impossible.
  451. .PP
  452. A useful hint is to work with as much as possible with the things you
  453. can do rather than try to do things that this implementation cannot deal
  454. with. Also remember that the aim of syntax highlighting is to make
  455. programming less prone to error, not to make code look pretty.
  456. .PP
  457. The syntax highlighting can be toggled using Ctrl\-s shortcut.
  458. .SH COLORS
  459. The default colors may be changed by appending to the
  460. .B MC_COLOR_TABLE
  461. environment variable. Foreground and background colors pairs may be
  462. specified for example with:
  463. .PP
  464. .nf
  465. MC_COLOR_TABLE="$MC_COLOR_TABLE:\\
  466. editnormal=lightgray,black:\\
  467. editbold=yellow,black:\\
  468. editmarked=black,cyan"
  469. .fi
  470. .SH OPTIONS
  471. Most options can be set from Options dialog box. See the
  472. .B Options
  473. menu. The following options are defined in
  474. .B ~/.config/mc/ini
  475. and have obvious counterparts in the dialog box. You can modify them to
  476. change the editor behavior, by editing the file. Unless specified, a 1
  477. sets the option to on, and a 0 sets it to off, as usual.
  478. .TP
  479. .I use_internal_edit
  480. This option is ignored when invoking
  481. .BR mcedit .
  482. .TP
  483. .I editor_tab_spacing
  484. Interpret the tab character as being of this length.
  485. Default is 8. You should avoid using
  486. other than 8 since most other editors and text viewers
  487. assume a tab spacing of 8. Use
  488. .B editor_fake_half_tabs
  489. to simulate a smaller tab spacing.
  490. .TP
  491. .I editor_fill_tabs_with_spaces
  492. Never insert a tab character. Rather insert spaces (ascii 32) to fill to the
  493. desired tab size.
  494. .TP
  495. .I editor_return_does_auto_indent
  496. Pressing return will tab across to match the indentation
  497. of the first line above that has text on it.
  498. .TP
  499. .I editor_backspace_through_tabs
  500. Make a single backspace delete all the space to the left
  501. margin if there is no text between the cursor and the left
  502. margin.
  503. .TP
  504. .I editor_fake_half_tabs
  505. This will emulate a half tab for those who want to program
  506. with a tab spacing of 4, but do not want the tab size changed
  507. from 8 (so that the code will be formatted the same when displayed
  508. by other programs). When editing between text and the left
  509. margin, moving and tabbing will be as though a tab space were
  510. 4, while actually using spaces and normal tabs for an optimal fill.
  511. When editing anywhere else, a normal tab is inserted.
  512. .TP
  513. .I editor_option_save_mode
  514. Possible values 0, 1 and 2. The save mode (see the options menu also)
  515. allows you to change the method of saving a file. Quick save (0) saves
  516. the file immediately, truncating the disk file to zero length (i.e.
  517. erasing it) and then writing the editor contents to the file. This
  518. method is fast, but dangerous, since a system error during a file save
  519. will leave the file only partially written, possibly rendering the data
  520. irretrievable. When saving, the safe save (1) option enables creation
  521. of a temporary file into which the file contents are first written. In
  522. the event of a problem, the original file is untouched. When the
  523. temporary file is successfully written, it is renamed to the name of the
  524. original file, thus replacing it. The safest method is create backups
  525. (2): a backup file is created before any changes are made. You
  526. can specify your own backup file extension in the dialog. Note that
  527. saving twice will replace your backup as well as your original file.
  528. .TP
  529. .I editor_word_wrap_line_length
  530. Line length to wrap at. Default is 72.
  531. .TP
  532. .I editor_backup_extension
  533. Symbol to add to name of backup files. Default is "~".
  534. .TP
  535. .I editor_line_state
  536. Show state line of editor. Currently it shows current line number (in the future
  537. it might show things like folding, breakpoints, etc.). M\-n toggles this option.
  538. .TP
  539. .I editor_visible_spaces
  540. Toggle "show visible trailing spaces". If editor_visible_spaces=1, they are shown
  541. as '.'
  542. .TP
  543. .I editor_visible_tabs
  544. Toggle "show visible tabs". If editor_visible_tabs=1, tabs are shown as '<\-\-\-\->'
  545. .TP
  546. .I editor_persistent_selections
  547. Do not remove block selection after cursor movement.
  548. .TP
  549. .I editor_drop_selection_on_copy
  550. Reset selection after copy to clipboard.
  551. .TP
  552. .I editor_cursor_beyond_eol
  553. Allow moving cursor beyond the end of line.
  554. .TP
  555. .I editor_cursor_after_inserted_block
  556. Allow moving cursor after inserted block.
  557. .TP
  558. .I editor_syntax_highlighting
  559. enable syntax highlighting.
  560. .TP
  561. .I editor_edit_confirm_save
  562. Show confirmation dialog on save.
  563. .TP
  564. .I editor_option_typewriter_wrap
  565. to be described
  566. .TP
  567. .I editor_option_auto_para_formatting
  568. to be described
  569. .TP
  570. .I editor_option_save_position
  571. Save file position on exit.
  572. .TP
  573. .I source_codepage
  574. Symbol representation of codepage name for file (i.e. CP1251, ~ \- default).
  575. .TP
  576. .I editor_group_undo
  577. Combine UNDO actions for several of the same type of action (inserting/overwriting,
  578. deleting, navigating, typing)
  579. .TP
  580. .I editor_wordcompletion_collect_entire_file
  581. Search autocomplete candidates in entire file (1) or just from
  582. beginning of file to cursor position (0).
  583. .TP
  584. .I spell_language
  585. Spelling language (en, en\-variant_0, ru, etc) installed with aspell
  586. package (a full list can be obtained using 'aspell' utility).
  587. Use
  588. .B spell_language = NONE
  589. to disable aspell support. Default value is 'en'. Option must be located
  590. in the [Misc] section.
  591. .TP
  592. .I editor_stop_format_chars
  593. Set of characters to stop paragraph formatting. If one of those characters
  594. is found in the beginning of line, that line and all following lines of paragraph
  595. will be untouched. Default value is
  596. "\fB-\fR\fB+\fR\fB*\fR\fB\\\fR\fB,\fR\fB.\fR\fB;\fR\fB:\fR\fB&\fR\fB>\fR".
  597. .TP
  598. .I editor_state_full_filename
  599. Show full path name in the status line. If disabled (default), only base name of the
  600. file is shown.
  601. .SH MISCELLANEOUS
  602. The editor also displays non\-us characters (160+). When editing
  603. binary files, you should set
  604. .B display bits
  605. to 7 bits in Midnight Commander's options menu to keep the spacing
  606. clean.
  607. .SH FILES
  608. .I %prefix%/share/mc/help/mc.hlp
  609. .IP
  610. The help file for the program.
  611. .PP
  612. .I %prefix%/share/mc/mc.ini
  613. .IP
  614. The default system\-wide setup for GNU Midnight Commander, used only if
  615. the user's own ~/.config/mc/ini file is missing.
  616. .PP
  617. .I %prefix%/share/mc/mc.lib
  618. .IP
  619. Global settings for Midnight Commander. Settings in this file
  620. affect all users, whether they have ~/.config/mc/ini or not.
  621. .PP
  622. .I %prefix%/share/mc/syntax/*
  623. .IP
  624. The default system\-wide syntax files for mcedit, used only if
  625. the corresponding user's own ~/.local/share/mc/mcedit/ file is missing.
  626. .PP
  627. .I ~/.config/mc/ini
  628. .IP
  629. User's own setup. If this file is present then the setup is loaded
  630. from here instead of the system\-wide setup file.
  631. .PP
  632. .I ~/.local/share/mc/mcedit/
  633. .IP
  634. User's own directory where block commands are processed and saved and
  635. user's own syntax files are located.
  636. .SH LICENSE
  637. This program is distributed under the terms of the GNU General Public
  638. License as published by the Free Software Foundation. See the built\-in
  639. help of Midnight Commander for details on the License and the lack
  640. of warranty.
  641. .SH AVAILABILITY
  642. The latest version of this program can be found at
  643. http://ftp.midnight\-commander.org/.
  644. .SH SEE ALSO
  645. cooledit(1), mc(1), gpm(1), terminfo(1), scanf(3).
  646. .SH AUTHORS
  647. Paul Sheer (psheer@obsidian.co.za) is the original author of
  648. Midnight Commander's internal editor.
  649. .SH BUGS
  650. Bugs should be reported to http://www.midnight\-commander.org/.