## [[Date(2005-04-18T22:02:28)]] = ÃÖÀº¼­ = Email: eunseo.choi_AT_gmail.com [[Calendar(blog,noweek)]] = LinM = '''[http://wiki.kldp.org/wiki.php/%C3%D6%C0%BA%BC%AD English] --------------------------------------------------------------------------------- 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://kldp.net/projects/mls] and leave a message on the Feedback board [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. --------------------------------------------------------------------------------- [[TableOfContents]] --------------------------------------------------------------------------------- = Installation Guide = == Downloads == Download binaries for your OS or source codes from the LinM Project download page [http://kldp.net/frs/?group_id=373]. === Required Libraries === 1. ncurses >= 5.3 [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://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. == 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 }}} == 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 }}} == 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 }}} === *-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] }}}=== *.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. || == Gentoo == When encoding with UTF-8, set the following option first: {{{ USE="unicode" emerge ">=ncurses-5.5" }}} Now put [http://chp.ly.lv/mls-0.6.7-r2.ebuild mls-0.6.7-r2.ebuild] in Overlay and run emerge. == 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 {{{ libiconv libintl libncurses ncurses openssl gettext }}} in devel: {{{ gcc gcc-g++ gettext gettext-devel glib-devel make libncurses-devel openssl-devel libtool1.5 automake autoconf }}} Download linm-x.x.tar.gz and run the following: {{{ ./configure make make install }}} To run linm, type {{{ linm }}} 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. }}} == FreeBSD == LinM >= 0.7.6 is included in FreeBSD ports [http://www.freshports.org/misc/linm/ misc/linm]. To build from source: {{{ # cd /usr/ports/misc/linm && make install }}} To install binay package: {{{ # pkg_add -r linm }}} == 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 }}} == 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 || Çѱ۷ÎÄÉÀÏ ÆÄÀÏ À§Ä¡ || == 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.sh||Mls executable and shell scripts to move to the last-visited directory on exit. || $prefix/bin|| ||mls.cfg, mls.col, mls.key||Mls configuration files||/etc/mls if installed by root; otherwise, in $HOME/.mls.|| ||mls_euckr.mo, mls_utf8.mo||files 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://wiki.kldp.org/wiki.php/%C3%D6%C0%BA%BC%AD#s-8.2]. = Keyboard Shortcuts = == 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 || || F10 ||MCD || || F11 ||Quick Change Directory || || F12 ||Menu || == 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 || || Alt+X,ESC||Exit MCD || == 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. || = Supported Compressed File Formats = || tar, tar.gz, gz, bz2, tar.bz2, rpm, zip, deb, alz || = Tested OS = || Ubuntu 6.06 (Dapper) || || Ubuntu 5.10 (Breezy) || || Fedora 5, Redhat 9, 7.3 || || HaansoftLinux 2006 || = Known Issues = == 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' }}} = Developers = ||Byoungyoung, La||la9527@yahoo.co.kr||Project Manager|| ||SeungJoong Lee||leesjung@nownuri.net||Developer|| ||ChaeHoon Yim||fehead||Developer|| ||Eunseo Choi||eunseo.choi@gmail.com||Translator|| ---- CategoryHomepage