summaryrefslogtreecommitdiffstats
path: root/doc/INSTALL.FAST
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-05-04 17:44:12 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-05-04 17:44:12 +0000
commit8ccb487c21368a7fdc8c7c72315325bf0aa06147 (patch)
treeb2056fae01d325924508a41731edfbd4c3cddd23 /doc/INSTALL.FAST
parentInitial commit. (diff)
downloadmc-8ccb487c21368a7fdc8c7c72315325bf0aa06147.tar.xz
mc-8ccb487c21368a7fdc8c7c72315325bf0aa06147.zip
Adding upstream version 3:4.8.29.upstream/3%4.8.29upstream
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to '')
-rw-r--r--doc/INSTALL.FAST51
1 files changed, 51 insertions, 0 deletions
diff --git a/doc/INSTALL.FAST b/doc/INSTALL.FAST
new file mode 100644
index 0000000..77d97fe
--- /dev/null
+++ b/doc/INSTALL.FAST
@@ -0,0 +1,51 @@
+Read the INSTALL file for the complete instructions.
+
+GNU Midnight Commander requires glib2.
+
+GNU Midnight Commander uses the S-Lang screen library by default. It
+tries the S-Lang library installed on the system. If it's not found,
+the included S-Lang sources are used. It is also possible to use
+ncurses as the screen library.
+
+1. Configure the package for your system.
+
+Normally, you just `cd' to the package main directory and type
+`./configure'.
+
+The most often needed options to configure are following:
+
+`--prefix=PATH'
+ By default, `make install' will install the package's files
+ in `/usr/local/bin', `/usr/local/man', etc. or to `/usr/bin',
+ `/usr/man', etc. depending on the location of an old mc binary.
+ If you have none in your system, default will be `/usr/local'.
+ You can specify an installation prefix other than default by
+ giving `configure' the option `--prefix=PATH'.
+
+`--with-screen={slang|ncurses}'
+ Choose the library used to manage interaction with the terminal.
+ `slang' means S-Lang library already installed on the system,
+ `ncurses' means ncurses library already installed on the system.
+ The installed S-Lang library is used by default if found.
+
+You may also want to specify CFLAGS for the compiler, even if it finds
+itself some defaults by typing e.g.
+
+./configure CFLAGS=-O3
+
+2. Type `make' to compile the package.
+
+3. Type `make install' to install programs, data files, and
+documentation. You may need to run this command as root.
+
+If you're on a GNU/Linux system, this will install the `cons.saver'
+utility, which allows the Midnight Commander to save and restore the
+screen contents. This utility can be installed setuid root, but it's
+only needed on systems where users cannot access /dev/vcsaN, where N is
+the virtual console number, on which the uses is logged on.
+
+If you're making a mc binary distribution for other people and want to
+package the whole installed tree, use `make install DESTDIR=PATH', which
+will make PATH the root for installation.
+
+4. Type `mc' and enjoy!