color help done!
[midnight-commander.git] / FAQ
blob6a751923901c294814f7284fd3404899332a62e2
1 GNU Midnight Commander
2 Questions and Answers
4    The newest version of this document is available at
5    http://cvs.gnome.org/lxr/source/mc/FAQ?raw=1
7      * 1 Getting started
8           + 1.1 What is Midnight Commander?
9           + 1.2 Does it run on my machine?
10           + 1.3 Does it work with my terminal?
11           + 1.4 What else do I need to run MC?
12           + 1.5 Is GNU Midnight Commander Public Domain?  Copyrighted?
13           + 1.6 Where can I get GNU Midnight Commander?
14           + 1.7 I don't have FTP access. Where can I get MC?
15      * 2 Keyboard
16           + 2.1 What does documentation mean with the C-?, M-? and F?
17             keys?
18           + 2.2 Why don't function keys (or some other key) work?
19           + 2.3 How do I use function keys F11 to F20?
20           + 2.4 Why does the ESC key behave funny?
21           + 2.5 How can I add the plus sign (+) on the command line?
22           + 2.6 C-o doesn't work!
23           + 2.7 What 'keys' are the "a1" and "c1" keys mentioned in the
24             manual?
25      * 3 Mouse
26           + 3.1 How do I enable mouse support?
27           + 3.2 How do I cut and paste text with mouse?
28           + 3.3 How do I get the extension dependent pop-up menu to
29             pop up?
30      * 4 Display
31           + 4.1 Why do I keep getting "Terminal not powerful enough for
32             SLang" or "Terminal not powerful enough for SLsmg"?
33           + 4.2 Why don't line drawing characters work?
34           + 4.3 Can one use latin-1 characters without losing the lines?
35           + 4.4 I have problems with entering/viewing national
36             characters!
37           + 4.5 How can I get colors?
38           + 4.6 My color_xterm goes completely (or partially) black!
39           + 4.7 Where can I get xterm or rxvt?
40           + 4.8 I got colors working with MC but the other programs don't
41             work at all anymore!
42           + 4.9 Why are there both terminfo and termcap? Wouldn't one
43             database be enough?
44      * 5 Graphical user interface
45           + 5.1 Xview, Tk and Gnome editions?
46      * 6 Command line problems
47           + 6.1 How do I stay in the last directory when I exit Midnight
48             Commander?
49           + 6.2 How can I access command line history?
50           + 6.3 How can I complete commands, file names, variable names
51             and so on?
52           + 6.4 I am using ksh. Can I use functions defined in the .kshrc
53             within MC?
54           + 6.5 Is there any way to include additional options or hot
55             keys to MC?
56      * 7 Virtual file systems
57           + 7.1 How can I see the contents of a tar archive?
58           + 7.2 How do I get out of a tar archive?
59           + 7.3 How do I do anonymous ftp with MC?
60           + 7.4 How do I do non-anonymous ftp with MC?
61           + 7.5 How do I close an ftp connection?
62           + 7.6 Why aren't the contents of ftp panel updated?
63           + 7.7 What kind of proxy server works with Midnight Commander?
64      * 8 Other common problems
65           + 8.1 How do I get the internal editor to work?
66           + 8.2 Is there any way to 'bookmark' favorite ftp-fs links?
67           + 8.3 Why I keep getting: "There is no disk in the drive.
68             Please insert a disk into drive D:"?
69           + 8.4 When I start Midnight Commander, nothing happens!
70      * 9 Development
71           + 9.1 Who has written Midnight Commander?
72           + 9.2 Do I dare to use a development version?
73           + 9.3 How can I report a bug/request for a feature?
74           + 9.4 How can I join the development?
75      * 10 More information
76           + 10.1 This document didn't answer my question. Where else can
77             I look for an answer?
78           + 10.2 What mailing lists are there for Midnight Commander?
79           + 10.3 Where should I look on the World Wide Web for MC stuff?
80           + 10.4 Are the mailing lists archived anywhere?
81      * 11 Legal issues
82           + 11.1 Authorship
83           + 11.2 Feedback is invited
84           + 11.3 Disclaimer and copyright
86 1 Getting started
88 1.1 What is Midnight Commander?
90    GNU Midnight Commander is a user-friendly yet powerful file manager
91    and visual shell, useful to novice and guru alike. It provides a
92    clear, user-friendly, and somewhat protected interface to a Unix
93    system while making many frequent file operations more efficient and
94    preserving the full power of the command prompt. You will wonder how
95    you could ever live without it.
97    For more thorough description take a look at the announcement of
98    Midnight Commander 4.0.
100 1.2 Does it run on my machine?
102    Yes, Midnight Commander can run on almost any machine, including Unix
103    clones, Windows 95/NT and OS/2. Midnight Commander does not run on
104    Macintosh.
106    Midnight Commander uses GNU Autoconf which can automatically
107    configure Midnight Commander for use on almost any (if not every)
108    Unix clone. Following configurations have been tested:
109      * i386-*-linux1.x, 2.x
110      * alpha-linux-linux2
111      * sparc-linux-linux2.x
112      * sparc64-linux-linux2.1
113      * mips-sgi-irix5.x, 6.x
114      * mips-dec-ultrix4.3
115      * rs6000-ibm-aix3.2.5
116      * sparc-sun-sunos4.1
117      * sparc-sun-solaris2.3, 2.4, 2.5
118      * sparc-sun-netbsd1.0
119      * hppa-hp-hpux9
120      * hppa-hp-hpux7
121      * m68k-apple-aux
122      * unixware
123      * mc88110-aviion-dgux5.4R2.01
124      * i386-*-sco3.2v4.2
125      * i386-*-sco3.2v5
126      * i386-*-windows-nt-3.51, 4.0
127      * i386-*-windows95
128      * i386-*-os2
130    Windows 95/NT port can be compiled with Microsoft Visual C++, Borland
131    C++, RSX and Mingw32.
133 1.3 Does it work with my terminal?
135    Yes, it does.
137    Because Midnight Commander is a full screen program it doesn't run on
138    dummy terminals but anything more advanced will do (like vt100). If
139    your terminal works with vi, emacs, elm or pine it will work with
140    Midnight Commander.
142 1.4 What else do I need to run MC?
144    You need an Unix compatible operating system. Support for Windows 95/NT
145    and OS/2 is incomplete - you should be prepared to fix things.
147    To compile any edition you need to have GLib installed. It's available
148    at ftp://ftp.gtk.org/pub/gtk/.  Only GLib versions 1.2.x will be
149    currently detected.
151    If you want to use mouse on the Linux console you need the gpm daemon
152    from ftp://ftp.systemy.it/pub/develop/. You need nothing extra to use
153    mouse on xterm.
155    If you do not want to use the S-Lang library you could try using
156    ncurses (we recommend only version 4.1 and above).
158 1.5 Is GNU Midnight Commander Public Domain? Copyrighted?
160    Midnight Commander is under GNU Public License which basically means
161    that you may freely copy, change and distribute it, but that you may
162    not impose any restrictions on further distribution, and that you must
163    make the source code available.  This is not the same as Public Domain.
164    For details, the GNU license is included in GNU Midnight Commander
165    source distribution (the COPYING file).
167    Midnight Commander is now officially a part of the GNU project.
168    All the authors of GNU Midnight Commander have given all their rights
169    on the program to the Free Software Foundation.
171 1.6 Where can I get GNU Midnight Commander?
173    The main site is ftp://ftp.gnome.org/pub/GNOME/stable/sources/mc/
175 1.7 I don't have FTP access. Where can I get MC?
177    Most GNU/Linux distributions include GNU Midnight Commander. For
178    example, Debian, Mandrake, Red Hat, Slackware and SuSE.
180 2 Keyboard
182 2.1 What does documentation mean with the C-?, M-? and F? keys?
184    GNU Midnight Commander documentation uses emacs style names for
185    keyboard keys.
187    C stands for the Ctrl key. For example, C-f means that you should hold
188    down the Ctrl key and press the f key.
190    M stands for the Meta key. Your terminal might call it Alt or Compose
191    instead of Meta. For example, M-f means that you should hold down the
192    Meta/Alt/Compose key and press the f key. If your terminal doesn't
193    have Meta, Alt or Compose or they don't work you can use Esc. For M-f
194    press the Esc key and then press the f key.
196    F? stands for a function key. If your terminal doesn't have function
197    keys or they don't work you can use Esc. For example, for F3 press the
198    Esc key and then press the 3 key.
200 2.2 Why don't function keys (or some other key) work?
202    Your terminfo or termcap database has missing or incorrect definitions
203    for function keys. Type "mc -V" to see what terminal database is being
204    used. If the result is "using the S-Lang library with terminfo
205    database" you should install one of the enhanced terminfo databases
206    included in GNU Midnight Commander source distribution. For example,
207    if you are using xterm type "tic xterm.ti".
209    If the result is "using the S-Lang library with termcap database" you
210    should fix your /etc/termcap database.
212    Better termcap and terminfo databases are available here:
214      http://www.tuxedo.org/~esr/terminfo/
215      ftp://dickey.his.com/ncurses/
217    You can force Midnight Commander to use the termcap database by
218    giving --with-termcap option to the configure script.  The default
219    is to use terminfo.
221    If you don't have permissions to edit terminal databases you can use
222    Learn keys feature of Midnight Commander instead. Press Esc 9 o k and
223    follow instructions.
225    If all else fails you can emulate function keys by first pressing the
226    ESC key and then one of the number keys. For example, if you want to
227    produce F9, press ESC, then 9. If you don't have a ESC key on your
228    keyboard you can try alt-9 or meta-9.
230 2.3 How do I use function keys F11 to F20?
232    These can mapped to function keys F1 to F10 with Shift held. e.g.
233    function key F13 can be activated by pressing Shift-F3. You can define
234    the keys this way in the Options menu. The convention for PC keyboards
235    is that F11-20 always means Shift with F1-10
237    Note! Windows 95/NT and OS/2 ports use F11 and F12 keys to change the
238    current disk drive. In this case F11 and F12 mean the real F11 and F12
239    keys, not shift-F1 and shift-F2.
241 2.4 Why does the ESC key behave funny?
243    Midnight Commander uses the ESC key as a prefix for simulating the
244    Meta and Alt keys (for terminals which don't have Meta or Alt, see the
245    three previous questions). For example, pressing ESC-a is the same as
246    pressing Meta-a. In addition most terminals use ESC for internal
247    representation of arrow keys, function keys and other enhanced keys.
248    If you want to use ESC to cancel things you have to press it twice i.
249    e. ESC-ESC. If you find this cumbersome you can generally use F10 to
250    cancel. Alternatively turn on the old_esc_mode setting in the
251    ~/.mc.ini file. The old_esc_mode setting makes ESC work as a prefix
252    only if another key is pressed within 0.5 seconds. After 0.5 seconds
253    the ESC key cancels. There is no way to make ESC cancel immediately
254    (if we want to be able to use arrows keys and function keys).
256 2.5 How can I add the plus sign (+) on the command line?
258    Press C-q first, then press the + sign.
260    The plus key is the hotkey for the select files command. If you want
261    to add a literal plus on to the command line you must quote it by
262    pressing C-q first.
264    Another common key which needs the C-q prefix is backslash "\".
266 2.6 C-o doesn't work!
268    Maybe C-o is a stty control character on your terminal. See man stty
269    for details on how to list and change stty control characters.
271 2.7 What 'keys' are the "a1" and "c1" keys mentioned in the manual?
273    The "a1" key is the key which has the "a1" caption on it.
275    The "c1" key is the key which has the "c1" caption on it.
277    If you have to ask what these two keys are your keyboard hasn't
278    probably got them. Actually, I have never seen a keyboard which has
279    got them.
281 3 Mouse
283 3.1 How do I enable mouse support?
285    Invoke mc like this (without quotes): "mc -x". If this doesn't work
286    upgrade to a terminal which compatible with the Xterm mouse sequences.
288    Alternatively, on Linux console you can use gpm.
290 3.2 How do I cut and paste text with mouse?
292    Hold down shift key while using mouse to cut and paste.
294 3.3 How do I get the extension dependent pop-up menu to pop up?
296    It was developed for the GNOME edition. The text-mode edition doesn't
297    support this feature yet.
299 4 Display
301 4.1 Why do I keep getting "Terminal not powerful enough for SLang" or
302     "Terminal not powerful enough for SLsmg"?
304    This means that your terminfo databases do not contain the correct
305    definitions for your terminal.
307    You could try using a different terminal setting. If you use csh or
308    tcsh:
310      setenv TERM vt100
312    or if you use sh, bash, ksh or zsh:
314      export TERM=vt100
316    If this doesn't help you can recompile MC to use termcap instead of
317    terminfo:
319      ./configure --with-termcap
320      make
322 4.2 Why don't line drawing characters work?
324    Since version 4.0.13 there's the command line option -a to force use of
325    +, |, - for line drawing (only available when compiled with S-Lang).
326    Use this -a option if any of the suggestions below doesn't help.
328    In general, there are three cases:
329      * Lines are shown as ASCII characters like this
331       +---------+
332       |         |
333       +---------+
335        This also happens when you use the -a option. Other than that
336        possible reason is 1 or 2 (see below).
338      * Lines are shown as lower case characters like this
340       lqqqqqqqqqk
341       x         x
342       mqqqqqqqqqj
344        Possible reason is 1 or 2 (see below).
346      * Lines are shown as blanks or missing characters. Possible reason
347        is 2 or 3 (see below).
349    The reason for the problem is one of following:
351     1. Your terminal might not support line drawing characters. Vt100
352        compatible terminals, rxvt, xterm and color_xterm do support them.
353     2. Your terminfo or termcap database might have missing or incorrect
354        definitions for line drawing characters. Set the acsc variable in
355        the terminfo database like this:
356        acsc=a\376k\277l\332m\300j\331n\305w\302v\301u\264t\303q\304x\263h
357        \2600\333
358        Don't forget issue 'tic' command. This supposes you are using PC
359        character set. The octal values might be different for other
360        character sets. If you are using termcap instead of terminfo, you
361        should modify above solution appropriately.
362     3. Your terminal font might not support line drawing characters. Try
363        changing the font.
365    Here is Miguel's answer to Torben on this subject.
367    Torben:
369      When I load consolefonts/iso01.f16, I get perfectly right national
370      characters, but the line drawing characters in mc get wrong. Is it
371      a mc problem, or is it a problem with the font? (I guess it is).
373      Is there a trick?
375    Miguel:
377      First of all, we should determine whether the font has line drawing
378      characters or not.
380      If it has line drawing characters, then a new terminfo entry should
381      be written for this specific case. Let's call this linux-iso01. The
382      acsc variable should be modified to reflect which characters are
383      used to do the line drawing.
385      If it does not have line drawing characters, then we should get rid
386      of the switch to acsc sequences and make the acsc sequence be just
387      a mapping to the ugly +, -, |, - characters.
389      You can get your terminfo definition by running the infocmp
390      program, making the proper changes and running the tic program to
391      compile your new terminfo database.
393 4.3 Can one use latin-1 characters without losing the lines?
395    Yes, you need a correct font and a correct termcap/terminfo database.
397    For font, if you use xterm try "xterm -fn fixed".
399    For termcap/terminfo database, change the acsc capability in the
400    database.
402 4.4 I have problems with entering/viewing national characters!
404    Upgrade to version 4.0.12 or newer.
406    From the Options - Display Bits dialog select Full 8 bits or ISO
407    8859-1. In addition, select 8 bit input from the same dialog.
409 4.5 How can I get colors?
411    Invoke mc like this (without quotes): "mc -c".
413    If you get colors, be happy.
415    If your terminal stays black and white, your terminal doesn't support
416    color. You might want to upgrade to a terminal which compatible with
417    the ANSI color sequences.
419    If your terminal goes completely black, see the next question.
421    More detailed answer:
423    Check that your terminal supports color. color_xterm, rxvt and Linux
424    console do support, most other terminals don't. You can test color
425    support with following simple C program:
427     #include <stdio.h>
429     int main (void){
430         printf ("\033[32m Hello world! \033[m\n");
431         return 0;
432     }
434    Compile and run it. If you see "Hello world!" text in green your
435    terminal supports color, otherwise not (however, for color_xterm see
436    also the next question).
438    Check whether you are using Ncurses or the S-Lang library (type
439    "mc -V" to find out).
441    With S-Lang library you can force color support by setting the
442    environment variable COLORTERM to any value.
444    If you use ncurses library, check that your terminfo database supports
445    color. If not, you should install one of the enhanced terminfo
446    databases included in GNU Midnight Commander source distribution.
448    You might want to set the TERM environment variable so that you are
449    using the correct terminfo database or termcap entry.
451    If you use color_xterm (or rxvt) the correct value might be
452    xterm-color, xtermc or simply xterm.
454    If you use Linux console the correct value for TERM is linux or
455    console.
457 4.6 My color_xterm goes completely (or partially) black!
459    Some color_xterm terminals define all colors as black instead of the
460    standard ANSI colors. This makes them go completely black when you try
461    to use Midnight Commander with colors.
463    You will have to override the defaults. Create a file "color.defaults"
464    which has the following contents:
466     color_xterm*color0:           Black
467     color_xterm*color1:           Red
468     color_xterm*color2:           Green
469     color_xterm*color3:           Yellow
470     color_xterm*color4:           Blue
471     color_xterm*color5:           Magenta
472     color_xterm*color6:           Cyan
473     color_xterm*color7:           White
474     color_xterm*background:       White
475     color_xterm*foreground:       Black
477    (replace color_xterm with the name of your color_xterm, color_xterm
478    mentions its name in its title bar)
480    Now type:
482     xrdb -merge color.defaults
484    Alternatively you can add the suggested contents of the color.defaults
485    file to your .Xdefaults or .Xresources file (or what ever the name of
486    your X configuration file is). Or you can replace your non-ANSI
487    color_xterm with an ANSI color_xterm.
489 4.7 Where can I get xterm or rxvt?
491    xterm is included with the X Window System, so you probably already
492    have it if you have X. This version is not actively maintained, but
493    Thomas Dickey maintains his more advanced version of xterm at
494    ftp://dickey.his.com/xterm/
496    rxvt has its own site http://www.rxvt.org/ - get the latest version
497    there.
499 4.8 I got colors working with MC but the other programs don't work at all
500 anymore!
502    Midnight Commander uses terminfo database (if available) but many
503    other programs use termcap database. If you set the TERM environment
504    variable to a value which has no corresponding entry in termcap
505    database those programs stop working. You should add the new value of
506    TERM to the termcap database.
508    Example: If you have set TERM to xterm-color locate from /etc/termcap
509    the line which starts:
511     xterm|vs100|xterm terminal emulator
513    Change it to start:
515     xterm|xterm-color|vs100|xterm terminal emulator
517 4.9 Why are there both terminfo and termcap? Wouldn't one database be
518 enough?
520    You might want to read the Unix-Haters Handbook at
521    http://catalog.com/hopkins/unix-haters/handbook.html. It lists many
522    more reasons why Unix sucks.
524    You can configure which terminal database you want to use with the
525    "--with-termcap" and "--with-terminfo" flags of configure. If you
526    don't specify them, the configure script will try to use terminfo if
527    available otherwise it will use termcap.
529 5 Graphical user interface
531 5.1 Xview, Tk and Gnome editions?
533    Xview and Tk and GNOME editions have been removed from the sources.
535 6 Command line problems
537 6.1 How do I stay in the last directory when I exit Midnight Commander?
539    See the description of the -P option in the Options section of the
540    manual.
542 6.2 How can I access command line history?
544    You can browse previous commands with M-p and M-n. Alternatively, you
545    can summon the command history listbox by pressing F9 c h.
547    Since version 4.1.15 all the input widgets have permanent history. You
548    can summon the history listbox by pressing M-h.
550 6.3 How can I complete commands, file names, variable names and so on?
552    Just press M-Tab. Press M-Tab again to get a listbox if there are
553    multiple possible completions.
555 6.4 I am using ksh. Can I use functions defined in the .kshrc within MC?
557    Sorry, MC only supports bash, tcsh and zsh functions. Ksh functions
558    are not supported because ksh lacks the necessary hooks needed for
559    subshell integration.
561    Switch to bash or zsh. They are both quite compatible with ksh. Your
562    ksh functions should work as such or after minimal changes.
564 6.5 Is there any way to include additional options or hot keys to MC?
566    Yes, F2 invokes an user menu which fully configurable. You can add
567    any shell commands to the user menu. See the mc(1) man page for more
568    info.
570    Another way to add functionality is the external panelize feature.
571    See the mc(1) man page for more info.
573    And finally, you can code any feature you want yourself. MC source
574    code is free which means you can change it anyway you want. There are
575    some limitations to make sure MC stays free. See GNU General Public
576    License for details.
578 7 Virtual file systems
580    Note! Virtual file systems are supported by Unix ports only. The
581    Windows 95/NT and OS/2 ports do NOT support virtual file systems. This
582    means you haven't got ftp, zip or tar support on Windows 95/NT and
583    OS/2.
585    This chapter describes the behavior of the 4.1.x versions of the
586    Midnight Commander. The behavior of the 4.5.x versions is somewhat
587    different. More on that when the 4.5.x versions get more stable.
589 7.1 How can I see the contents of a tar archive?
591    If you use keyboard just move the selection bar on the tar file and
592    press enter.
594    If you use mouse just double-click on the tar file.
596    If these procedures don't work, your .mc.ext file is faulty. Replace
597    it with one from the MC source distribution.
599    You can also enter a tar archive by typing "cd tar:filename.tar.gz"
600    where filename.tar.gz is the name of the archive.
602    The recognized suffixes for tar archives are .tar, .tar.gz and .tgz.
603    If your tar archive uses different suffix you have to rename it.
605 7.2 How do I get out of a tar archive?
607    Just press enter on the toplevel ".." file or chdir to a non-tar
608    directory. Just typing "cd" with no parameters is enough (it will take
609    you to your home directory).
611 7.3 How do I do anonymous ftp with MC?
613    Just type "cd ftp://hostname" where hostname is the name of the host
614    you want to connect. Alternatively, select FTP link from the Left or
615    Right menu and type the name of the host you want to connect.
617 7.4 How do I do non-anonymous ftp with MC?
619    Non-anonymous ftp works just like the anonymous ftp but you give the
620    login name with the host name. For example, type "cd
621    ftp://username@hostname".
623 7.5 How do I close an ftp connection?
625    Just chdir to a non-ftp directory. Just typing "cd" with no parameters
626    is enough (it will take you to your home directory).
628    Internally Midnight Commander closes ftp connection only after a
629    timeout. This isn't visible to the end user.
631 7.6 Why aren't the contents of ftp panel updated?
633    Update is skipped because there would be a serious performance
634    penalty. Constantly updating directory panels through a ftp connection
635    would take too much time.
637    You can use C-r to force an update.
639 7.7 What kind of proxy server works with Midnight Commander?
641    There are two kinds of ftp proxies: proxies for ftp clients and
642    proxies for web browsers.
644    Midnight Commander only supports ftp proxies which are meant for ftp
645    clients. Common WWW proxies (like Squid) are not supported. A rule of
646    thumb is that if a ftp proxy works with a web browser, it won't work
647    with Midnight Commander.
649 8 Other common problems
651 8.1 How do I get the internal editor to work?
653    The F4 key used to default to an external editor because that was what
654    most people were used to. The newer versions use internal editor by
655    default.
657    To use the internal editor with an old version, select Configuration
658    from the Options menu and check the 'use internal edit' option.
660    Alternatively add the line
661      use_internal_edit=1
663    under the [Midnight-Commander] section in your .mc.ini file (which is
664    in your home directory).
666    To make the editor work all the time, go to the default/* section in
667    the file lib/mc/mc.ext file and remove the line
669        Edit=%var{EDITOR:vi} %f
671    The internal editor will now be invoked for anything not specified
672    elsewhere in the mc.ext file.
674    Make sure that you edit the correct mc.ext file. The Midnight
675    Commander first checks the existence of $HOME/.mc.ext. If this file is
676    missing MC will use $prefix/lib/mc/mc.ext instead ($prefix can be
677    changed with configure before compilation and it defaults to
678    /usr/local).
680    When you run `F9/Command/Extension file edit' for the very first time
681    Midnight Commander copies the system-wide mc.ext from $prefix/lib/mc
682    into your home directory because you need write access in order to
683    change it.
685    And please don't forget that "make install" overwrites
686    $prefix/lib/mc/mc.ext.
688 8.2 Is there any way to 'bookmark' favorite ftp-fs links?
690    Use the directory hotlist. Just press control-backslash. If your
691    national keyboard layout doesn't have backslash key, just press the
692    control key with the key which is the backslash key in the English
693    keyboard layout.
695 8.3 Why I keep getting: "There is no disk in the drive. Please insert a disk
696 into drive D:"?
698    This is a known bug of the Windows 95/NT and OS/2 ports. MC looks its
699    configuration files from the D:\MC directory and if the D: drive is a
700    removable drive (like a CD ROM drive) and there is no disk in drive
701    you get this message every time you try to do anything.
703    Since version 4.0.6 you can specify the actual location of the
704    Midnight Commander configuration files with the MCHOME environment
705    variable.
707 8.4 When I start Midnight Commander, nothing happens!
709    First, invoke MC without subshell support: "mc -u". If this helps
710    check the shell you are using. Subshell support works best with bash
711    although tcsh and zsh are also supported. You might want to upgrade
712    your shell to a newer version. If you use something else than bash,
713    tcsh or zsh, subshell support is disabled automatically.
715    If disabling subshell doesn't help, try to reconfigure MC with
716    "--with-included-slang" and "--with-termcap" options and recompile.
717    If this helps, there is something wrong with your terminfo database
718    or shared S-Lang library. For better terminfo databases see chapter
719    4. For a better S-Lang library, upgrade to a newer version or keep
720    using the "--with-included-slang" option.
722    This problem can also be caused by gpm as noted by Luis Espinoza:
724      In regards to why Midnight Commander does nothing when invoked. I
725      recently had the same problem. At the same time gpm was not loading
726      properly with my patched kernel (now 2.0.33 from 2.0.30).
727      Downloading version 1.13 of gpm, and got it working :-) MC still
728      appeared locked.... However moving the mouse, brought MC to life.
729      The mouse I am using is a Kensington Expert Mouse (Trackball).
731 9 Development
733 9.1 Who has written Midnight Commander?
735    Midnight Commander was started by Miguel de Icaza and he is the
736    maintainer of the package. Other authors have joined the project
737    later:
738      * Mauricio Plaza (early releases)
739      * Janne Kukonlehto (joined Sep 27 1994)
740      * Radek Doulik (joined Oct 30 1994)
741      * Fred Leeflang (joined Nov 2 1994)
742      * Dugan Porter (joined Dec 1 1994)
743      * Jakub Jelinek (joined Feb 8 1995)
744      * Ching Hui (joined Jun 27 1995)
745      * Andrej Borsenkow (joined Jul 1996)
746      * Paul Sheer (joined Nov 1 1996)
747      * Norbert Warmuth
748      * Alex I. Tkachenko
750    Alessandro Rubini has been specially helpful with debugging and
751    enhancing of the mouse support. John E. Davis has made his S-Lang
752    library available to us and answered many questions about it.
754    Many people have contributed bug reports, feature suggestions and
755    small code bits (alphabetical order):
756      * Thomasz Cholewo
757      * Juan Jose Ciarlante
758      * Alexander Dong (OS/2 port, NT port updates)
759      * Erwin van Eijk
760      * Torben Fjerdingstad
761      * Massimo Fontanelli
762      * Juan Grigera (NT port)
763      * Gerd Knorr
764      * Sergey Ya. Korshunoff
765      * Jean-Daniel Luiset
766      * Wim Osterholt
767      * Antonio Palama (old DOS port)
768      * Thomas Pundt
769      * Marcelo Roccasalva
770      * Ilya Rybkin
771      * Vadim Sinolits
772      * Jon Stevens
773      * Adam Tla/lka
775 9.2 Do I dare to use a development version?
777    I am afraid you have to answer to this question yourself. Development
778    versions seldom cause data loss but they have usually got many bugs.
779    It's up to you to judge whether new features outweigh the bugs.
781 9.3 How can I report a bug/request for a feature?
783    You might first want to get the newest development version to see if
784    the bug is fixed or the feature is added already.
786    Send your report/request to mc-devel@gnome.org or mc@gnome.org. These
787    mailing lists are the most certain way to contact the
788    developers. Remember to mention if you are not on the mailing list
789    to make sure that you will receive a copy of replies.
791    Give as much details as possible. A too long message is a lot better
792    than a too short message.
794    For segmentation faults a stack backtrace is appreciated. You can
795    produce stack backtrace as follows:
796      * If segmentation fault produced a core file:
797          1. Load the core file by typing "gdb mc core" or "dbx mc core".
798          2. Type "where".
799          3. Cut and paste the results to your message.
800      * If segmentation fault didn't produce a core file:
801          1. Load mc by typing "gdb mc" or "dbx mc".
802          2. Start mc by typing "run".
803          3. Try to reproduce the segmentation fault by doing whatever you
804             did last time when the segmentation fault occurred.
805          4. Type "where".
806          5. Cut and paste the results to your message.
807          6. For the future you might want to check out what is the
808             command in your shell to allow producing of the core files.
809             Usually it is "limit coredumpsize unlimited" or "ulimit
810             coredumpsize" or "ulimit -c unlimited".
812 9.4 How can I join the development?
814    To join the development just code the feature you want to add and send
815    your patch for inclusion. Email address is mc-devel@gnome.org.
816    Before you start coding check the latest development version. It might
817    be that your feature has already been implemented.
819    Note that the authors of GNU Midnight Commander have given all their
820    rights on the program to the Free Software Foundation. You will have
821    to do the same if you contribute non-trivial patches. Otherwise we
822    have to reject your patches in order to avoid copyright problems.
824 10 More information
826 10.1 This document didn't answer my question. Where else can I look for an
827 answer?
829    Read messages from the Discussion (mailing list archive) or read the
830    Manual.
832    Upgrade to a newer version of Midnight Commander. Many problems are
833    fixed in the new versions.
835    If you still can't find an answer, post your question to the Midnight
836    Commander mailing list. Its address is mc@gnome.org.
838 10.2 What mailing lists are there for Midnight Commander?
840    Following mailing lists discuss about Midnight Commander:
842    mc@gnome.org
843           General discussion of GNU Midnight Commander
844           To subscribe visit
845           http://mail.gnome.org/mailman/listinfo/mc/
847    mc-devel@gnome.org
848           Technical development discussion
849           To subscribe visit
850           http://mail.gnome.org/mailman/listinfo/mc-devel/
852 10.3 Where should I look on the World Wide Web for MC stuff?
854    There is a WWW page for Midnight Commander. The URL is:
856      http://www.gnome.org/mc/
858 10.4 Are the mailing lists archived anywhere?
860    The mc and mc-devel lists are archived on the World Wide Web. There are
861    links to the archives on the mailing list pages (see 10.2).
863 11 Legal issues
865 11.1 Authorship
867    Questions and Answers was written by Janne Kukonlehto. Parts of it
868    originate from Ian Jackson, Miguel de Icaza, Dugan Porter, Norbert
869    Warmuth and Paul Sheer.
871 11.2 Feedback is invited
873    Send your comments about this document and GNU Midnight Commander to
874    mc@gnome.org
876 11.3 Disclaimer and copyright
878    Note that this document is provided as is. The information in it is
879    not warranted to be correct; you use it at your own risk.
881    You can use Questions and Answers according to GNU Public License (see
882    the COPYING file in GNU Midnight Commander source distribution).
883    Questions and Answers is not public domain.