· KLDP.org · KLDP.net · KLDP Wiki · KLDP BBS ·


Email: eunseo.choi_AT_gmail.com


LinM is a clone of Mdir, the popular file manager in the MS-DOS age. LinM inherits the keyboard shorcuts and the screen layout from Mdir to maximize user-friendliness. For bug reports, comments and questions, please email to la9527@yahoo.co.kr or eunseo.choi@gmail.com. You can also visit our project homepage [http]http://kldp.net/projects/mls and leave a message on the Feedback board [http]http://kldp.net/forum/forum.php?forum_id=1231.

As of Noverber, 2005, "LinM (linux M)" is the new name for the package and the executable.

3. Installation Guide


Download binaries for your OS or source codes from the LinM Project download page [http]http://kldp.net/frs/?group_id=373.

3.1.1. Required Libraries

  1. ncurses >= 5.3 [http]http://ftp.gnu.org/pub/gnu/ncurses/. ncuresew will be linked agains if present; otherwise, ncurses will be linked. Warning: ncursesw should be linked for Korean utf-8. ncurses is fine with euc-kr.

  2. openssl >= 0.9.6 [http]http://www.openssl.org. To enable sftp in LinM >= 0.7.6b, openssl and zlib are required. If these are not found during configuration, sftp will be disabled.

3.2. Debian Sarge

To compile source:

   # sudo apt-get install zlib1g zlib1g-dev
   # sudo apt-get install openssl libssl-dev
   # sudo apt-get install libncursesw5-dev
   # sudo apt-get install libncursesw5
   # tar xvfz linm-?.?.tar.gz
   # cd linm-?.?
   # ./configure
   # make install

To install .deb file:

   # sudo apt-get install zlib1g openssl libncurses libncursesw5
   # sudo dpkg --install linm-?.?.deb

3.3. Ubuntu

To install prerequisites:

   # sudo apt-get install zlib1g zlib1g-dev
   # sudo apt-get install openssl libssl-dev
   # sudo apt-get install libncursesw5-dev
   # sudo apt-get install libncursesw5
   # sudo apt-get install zlib1g openssl libncursesw5

To install the package using .deb file:

   # sudo dpkg --install linm-?.?.deb

The old Mls static version doesn't have the dependency issue:
   # sudo dpkg --install mls-?.?_static.deb

3.4. Redhat (Fedora, HaansoftLinux, etc)

Log in as root and then

  # rpm -Uvh linm-?.?.rpm

To install src.rpm:

  # rpmbuild --rebuild linm-?.?.src.rpm
  # cd /usr/src/OS_NAME/RPM/OS_TYPE/
  # rpm -Uvh linm-?.?.rpm

3.4.1. *-static-bin.tar.gz

This static source code does not require external libraries.

We strongly recommend to use gcc 3.x for building. gcc 2.x might work, but Mls will not be fully functional. For example, the Mls editor cannot save files in utf8 or euc-kr because iconv is not linked.

   # tar xvfz mls-x.x-static-bin.tar.gz
   # cd mls-x.x-static-bin
   # ./install.sh [directory to install]

3.4.2. *.tar.gz

   # tar xvfz mls-x.x.tar.gz
   # cd mls-x.x
   # ./configure
   # make
   # make install

For more options for ./configure,
    # ./configure --help 
--prefix=PATH Change the top-level installation directory to PATH (/usr/local by default)
--enable-tarname=SUFFIX Specify the suffix of the tar file (either tar or gtar by default.)
--disable-pthread Build without pthread support.
--enable-debug Enable support for debuggers.
--enable-allstatic Build Mls as a statically-linked build, which can run without external libraries.
--disable-iconv Build without iconv library. Needed when building statically with gcc 2.95.

3.5. Gentoo

When encoding with UTF-8, set the following option first:
USE="unicode" emerge ">=ncurses-5.5"

Now put [http]mls-0.6.7-r2.ebuild in Overlay and run emerge.

3.6. Cygwin

LinM version 0.7.7 or newer can be installed on Cygwin. Run setup.exe of Cygwin to install the following packages first:

in libs


in devel:


Download linm-x.x.tar.gz and run the following:

make install
To run linm, type

The compiled package file, linm-x.x-cygwin-OS.tar.gz, is also available. Install the above required libraries first and download the compiled package and extract it:

  # tar xvfz linm-x.x-cygwin-OS.tar.gz
  # cd LinM
  # ./install.sh        -> Follow the instructions.

3.7. FreeBSD

LinM >= 0.7.6 is included in FreeBSD ports [http]misc/linm. To build from source:

# cd /usr/ports/misc/linm && make install

To install binay package:

# pkg_add -r linm

3.8. static.tar.gz

This is a pre-compiled static binary. Although you don't need to install the relevant external libraries, it's mssing iconv. So, conversion to UTF-8 or euc.kr is diabled in the editor.

   # tar xvfz linm-x.x-static-bin.tar.gz
   # cd linm-x.x-static-bin
   # ./install.sh directory_to_install

3.9. tar.gz

   # tar xvfz linm-x.x.tar.gz
   # cd linm-x.x
   # ./configure
   # make
   # make install

The default install directory is /usr/local and the executable is installed in /usr/local/bin. To change this:

    # ./configure -prefix=PATH

기본 설정파일은 /etc/mls 에 깔립니다. 그리고 mls 종료시 해당 디렉토리로 이동하시려면, 인스톨 후 다시 로그인을 하셔야 정상적으로 실행이 됩니다.

To enhance the builing speed and the performance, try giving some options to the compiler: 빨라집니다.
    # CXXFLAGS="-march=i386" ./configure -prefix=PATH
"i386" can be replaced with i486, i586, i686, or pentium4 according to your CPU type.

To see more options for ./configure,
    # ./configure --help 

--disable-pthread pthread 라이브러리 사용하지 않는다.
--enable-tarname=FILE tar 명 바꿈. (디폴트는 tar, gtar 두가지 중 자동으로 설정됩니다.)
--enable-debug 디버그 모드로 사용
--enable-allstatic static으로 컴파일. 관련 라이브러리가 없어도 실행가능하게 컴파일
--disable-iconv iconv 라이브러리를 이용하지 않게 컴파일.
--disable-sftp sftp를 사용하지 않음. openssl 라이브러리를 사용하지 않음.
--with-openssl=PATH openssl path 지정
--enable-cfgpath=PATH 설정 파일 설치 위치
--enable-kolocalefile=PATH 한글로케일 파일 위치

3.10. Installed Files

By default, Mls will be installed in /usr/local, and the executables go to /usr/local/bin.
Name Description Intalled Places
mls, mls.sh, mls_aliase.shMls executable and shell scripts to move to the last-visited directory on exit. $prefix/bin
mls.cfg, mls.col, mls.keyMls configuration files/etc/mls if installed by root; otherwise, in $HOME/.mls.
mls_euckr.mo, mls_utf8.mofiles for translation into English/usr/shrare/locale/ko/. Installed only by root.

Note: On exit, Mls is supposed to bring you to the directory where you ended Mls. However, this will happen only when you re-login after finishing the installation. In case of trouble, see [http]http://wiki.kldp.org/wiki.php/%C3%D6%C0%BA%BC%AD#s-8.2.

4. Keyboard Shortcuts

4.1. LinM

/ Shell
ESC Show the command screen
| Go to Home directory
\ Go to Root directory
BS Go to Parent directory
Alt+Q History Prev
Alt+W History Next
Alt+C Copy File (using mcd)
Alt+D Delete File
Alt+K Make Directory
Alt+R Rename
Alt+V View File
Alt+S Sort
Alt+Z List Hidden File
Alt+L Toggle Line Type
Alt+H Change File Mode (Chmod)
Alt+X Exit Mls
Ctrl+A Select All
SPACE Select File
Ctrl+U Invert Selection
Ctrl+E Compression menu
Ctrl+L Toggle Language Mode (English and Korean)
Ctrl+W Toggle Screen Mode (single and split)
TAB Next Window (when the screen is split)
Ctrl+N New File
Ctrl+C Copy File
Ctrl+X Move File
Ctrl+V Paste File (Files are not copied or moved until you paste them)
F1 Help
F2 Rename
F3 View
F4 Editor
F5 Refresh
F6 Move
F7 Mkdir
F8 Delete
F9 File/Directory Info
F11 Quick Change Directory
F12 Menu

4.2. MCD (Mls Change Directory)

F1 Help
F2 Full Search (the whole current directory)
F3 Quick Search (only down to the third level subdirectories)
F5 Refresh
F6 Rename Directory
F7 Create Directory
F8 Remove Direcotry
F9 Directory Info

4.3. Mls Editor

F2 Select
F3 Find Next
F5 Find
F5 Refresh
F6 Line Number
F10,F12 Menu
Ctrl+N New Document
Ctrl+S Save Document
Ctrl+C Copy
Ctrl+X Cut
Ctrl+V Paste
Ctrl+Z Undo
Ctrl+G Move to line
Ctrl+F Find
Alt+F Go to the first line
Alt+E Go to the end
Alt+X Exit
Shift+arrow key Select, only in the Gnome console. Use F2 in other terminals.

5. Supported Compressed File Formats

tar, tar.gz, gz, bz2, tar.bz2, rpm, zip, deb, alz

6. Tested OS

Ubuntu 6.06 (Dapper)
Ubuntu 5.10 (Breezy)
Fedora 5, Redhat 9, 7.3
HaansoftLinux 2006

7. Known Issues

7.1. Running linm_aliase.sh

This shell program returns a shell prompt in the directory where LinM was just ended. It should be found in /etc/profile.d by default. In case you don't end up in the last-visited directory, or have a problem with running this script, add the below alias to your local .bashrc, or appropriate profiles (for Debian).
alias linm='. linm.sh' 

8. Developers

Byoungyoung, Lala9527@yahoo.co.krProject Manager
SeungJoong Leeleesjung@nownuri.netDeveloper
ChaeHoon YimfeheadDeveloper
Eunseo Choieunseo.choi@gmail.comTranslator

sponsored by andamiro
sponsored by cdnetworks
sponsored by HP

Valid XHTML 1.0! Valid CSS! powered by MoniWiki
last modified 2006-07-28 02:33:38
Processing time 0.0154 sec