![]() |
Optware.Mc HistoryHide minor edits - Show changes to markup June 21, 2008, at 09:24 PM
by --
Deleted line 15:
Deleted line 18:
Deleted line 19:
Deleted line 21:
Deleted line 26:
June 21, 2008, at 09:22 PM
by --
Changed lines 7-9 from:
Installing MC1- Install Midnight Commander. This will also install by default a ncurses ipkg. to:
1- Install Midnight Commander.This will also install a ncurses ipkg by default. Changed lines 14-15 from:
2- Edit or create /etc/profile to set up your terminal settings. It does not exist by default. to:
2- Configure the terminal.Edit or create /etc/profile to set up your terminal settings. NOTE - the file does not exist by default. Changed lines 29-30 from:
3- Launch the Program (mc). It should work via ssh or telnet from a linux machine or through PuTTY. Note: If you get the following error... to:
3- Launch the Program (mc).It should work via ssh or telnet from a linux machine or through PuTTY. Note: If you get the following error...Changed lines 37-38 from:
4- Some keyboard keys might not work initially. These can be retrained by using the Options->"Learn Keys" menu.
to:
4- Troubleshooting.Some keyboard keys might not work initially. These can be retrained by using the Options->"Learn Keys" menu. June 21, 2008, at 09:18 PM
by --
Changed lines 9-15 from:
1- Install Midnight Commander which also installs ncurses ipkg install mc
Unslung5.5 Note- If you have upgraded busybox, installing MC will fail due to Busybox 1.0 providing clear and reset, two commands also provided by ncurses (a dependency of mc). There is a workaround at Wget?. 2- Edit or create /etc/profile to set up your terminal settings. It does not exist by default. to:
1- Install Midnight Commander. This will also install by default a ncurses ipkg. ipkg install mc Unslung5.5 Note:If you have upgraded busybox, installing MC will fail due to Busybox 1.0 providing clear and reset, two commands also provided by ncurses (a dependency of mc). There is a workaround at Wget?. 2- Edit or create /etc/profile to set up your terminal settings. It does not exist by default. Changed lines 18-27 from:
export TERMINFO=/opt/share/terminfo
export TERM=xterm-pcolor
--edit: The first export line should be /opt/lib/terminfo instead of /opt/share/terminfo in unslung6.8 To try other terminal configurations, explore the /opt/share/terminfo directory. If mc is unresponsive at startup and terminates with a memory exhausted message upon keypress, you may need to # chmod 640 /etc/profile
3- Launch the Program (mc). It should work via ssh or telnet from a linux machine or through PuTTY. to:
export TERMINFO=/opt/share/terminfo export TERM=xterm-pcolor Explore the /opt/share/terminfo directory to try other terminal configurations. Unslung6.8 Note:The first export line should be /opt/lib/terminfo instead of /opt/share/terminfo. If MC is unresponsive at startup and terminates with a memory exhausted message upon keypress, you may need to chmod 640 /etc/profile 3- Launch the Program (mc). It should work via ssh or telnet from a linux machine or through PuTTY. Changed lines 32-33 from:
... you should install e2fsprogs (ipkg install e2fsprogs). -- Joordi to:
... you should install e2fsprogs ipkg install e2fsprogs June 04, 2007, at 02:30 PM
by -- Added e2fsprogs as dependency
Changed lines 27-30 from:
to:
Note: If you get the following error... "mc: error while loading shared libraries: libext2fs.so.2: cannot open shared object file: No such file or directory" ... you should install e2fsprogs (ipkg install e2fsprogs). -- Joordi November 27, 2006, at 09:57 PM
by -- Minor fix to make it work with unslung6.8
Changed lines 19-20 from:
to:
--edit: The first export line should be /opt/lib/terminfo instead of /opt/share/terminfo in unslung6.8 September 15, 2006, at 07:08 AM
by -- more tidying
Changed lines 27-28 from:
4- On my machine, some keyboard keys did not work. Fix them by going to the Command->Learn menu.
to:
4- Some keyboard keys might not work initially. These can be retrained by using the Options->"Learn Keys" menu.
September 15, 2006, at 07:06 AM
by --
Changed lines 3-4 from:
Mc, aka Midnight Commander, is a two pane interactive filebrowser that can run in a text console. It is a clone of the honorable and venerable Norton Commander and includes a simple text editor and network connectivity. to:
Midnight Commander (mc), is a two pane interactive filebrowser that can run in a text console. It is a clone of the honorable and venerable Norton Commander and includes a simple text editor and network connectivity. September 15, 2006, at 07:06 AM
by -- removed OpenSlug2.x instructions
Deleted lines 28-48:
OpenSlug 2.x (tried it on 2.5)At the time of this writing, there is no mc package for openslug. We will install the unslung package instead by downloading the .ipk file directly, like this: wget http://ipkg.nslu2-linux.org/feeds/unslung/cross/mc_4.1.35-3_armeb.ipk
ipkg install mc_4.1.35-3_armeb.ipk
(this assumes you already have ncurses installed)
(Note: As tested Sept 4 2006, this procedure results in failure, listing unmet dependancies in libglib, libslang2 and libgpmg1, which this user hasn't been able to resolve...yet... -DMH) As an alternative to adding '/opt/bin:/opt/lib' to the PATH variable, you can just move the /opt/bin en /opt/lib directories created by the Unslung 'mc' package to another place and remove the '/opt' directory tree: mv /opt/bin/* /usr/bin ; rmdir /opt/bin -ronm September 15, 2006, at 07:05 AM
by -- updated and tidied information from my 6.8 experience
Changed lines 5-6 from:
(Note: Procedures listed below tested Sept 4 2006. None presently working. Initial attempts to convert ARM .debs to .ipk unsuccessful -DMH) to:
Some users have reported difficulty with this approach, but it has been used successfully by pvh on both Unslung5.5 and Unslung6.8b. Changed lines 12-13 from:
Note- If you have upgraded busybox, installing MC will fail due to Busybox 1.0 providing clear and reset, two commands also provided by ncurses (a dependency of mc). There is a workaround at Wget?. to:
Unslung5.5 Note- If you have upgraded busybox, installing MC will fail due to Busybox 1.0 providing clear and reset, two commands also provided by ncurses (a dependency of mc). There is a workaround at Wget?. Changed lines 22-23 from:
3- Launch the Program (mc). It should work via ssh or telnet from a linux machine. to:
If mc is unresponsive at startup and terminates with a memory exhausted message upon keypress, you may need to # chmod 640 /etc/profile
3- Launch the Program (mc). It should work via ssh or telnet from a linux machine or through PuTTY. Deleted lines 29-34:
NOTES: These instructions were originally by sdm485, and have been updated by pvh. You may need to # chmod 640 /etc/profile
if nothing happens when you start mc until you press a key in desperation and get a memory exhausted message. (unslung 5.5 beta, with speed mod) -peterb September 04, 2006, at 09:38 AM
by -- None of methods listed work with openslug-3.10-beta.bin
Added lines 5-6:
(Note: Procedures listed below tested Sept 4 2006. None presently working. Initial attempts to convert ARM .debs to .ipk unsuccessful -DMH) Added lines 42-43:
(Note: As tested Sept 4 2006, this procedure results in failure, listing unmet dependancies in libglib, libslang2 and libgpmg1, which this user hasn't been able to resolve...yet... -DMH) August 18, 2006, at 05:51 AM
by -- There\'s no mc_4.1.35-2_armeb.ipk anymore - mc_4.1.35-3_armeb.ipk is the current version.
Changed lines 36-37 from:
wget http://ipkg.nslu2-linux.org/feeds/unslung/cross/mc_4.1.35-2_armeb.ipk
ipkg install mc_4.1.35-2_armeb.ipk
to:
wget http://ipkg.nslu2-linux.org/feeds/unslung/cross/mc_4.1.35-3_armeb.ipk
ipkg install mc_4.1.35-3_armeb.ipk
March 11, 2006, at 08:11 PM
by -- more tidying
Changed lines 1-13 from:
You need to
or nothing happens until you press a key in desperation and then get a memory exhausted message. But it works like a dream over ssh once that is sorted! (unslung 5.5 beta, with speed mod) peterb (Comments are in parenthesis) 1- Install Midnight Commander (which also installs ncurses) to:
Midnight CommanderMc, aka Midnight Commander, is a two pane interactive filebrowser that can run in a text console. It is a clone of the honorable and venerable Norton Commander and includes a simple text editor and network connectivity. Installing MC1- Install Midnight Commander which also installs ncurses Changed lines 10-13 from:
Note- If you have upgraded busybox, installing MC will fail due to Busybox 1.0 providing clear and reset, two commands also provided by ncurses (a dependency of mc). There is a workaround at [Unslung/Wget]. 2- Edit or create /etc/profile to set up your terminal settings. (It does not exist by default.) to:
Note- If you have upgraded busybox, installing MC will fail due to Busybox 1.0 providing clear and reset, two commands also provided by ncurses (a dependency of mc). There is a workaround at Wget?. 2- Edit or create /etc/profile to set up your terminal settings. It does not exist by default. Changed lines 27-29 from:
To install Midnight Commander in OpenSlug 2.x (tried it on 2.5): to:
You may need to # chmod 640 /etc/profile
if nothing happens when you start mc until you press a key in desperation and get a memory exhausted message. (unslung 5.5 beta, with speed mod) -peterb OpenSlug 2.x (tried it on 2.5)March 11, 2006, at 08:07 PM
by -- amalgamated instructions and removed redundant information
Changed lines 15-17 from:
2- Edit or create /etc/profile (it did not exist on my installation) vi /etc/profile (just vi to create the file)
i (insert mode)
to:
Note- If you have upgraded busybox, installing MC will fail due to Busybox 1.0 providing clear and reset, two commands also provided by ncurses (a dependency of mc). There is a workaround at [Unslung/Wget]. 2- Edit or create /etc/profile to set up your terminal settings. (It does not exist by default.) Add these lines to the file: Changed lines 22-25 from:
export TERM=xterm
ESC (press the ESC key to exit the insert mode)
:W /etc/profile (Enter key)
:Q (Enter key)
to:
export TERM=xterm-pcolor
To try other terminal configurations, explore the /opt/share/terminfo directory. Changed lines 28-35 from:
4- For color, set TERM=xtermc and adjust the arrow keys by using Command>Learn keys.
5- To try other terminal configurations, explore the /opt/share/terminfo directory. NOTES: This was done from a laptop running Mandrake 10 using Rxvt as the terminal program. Rxvt reports itself as xterm. The nslu2 is running unslung3.16 and has dropbear and vsftpd installed (as well as mc and ncurses of course). sdm485 to:
4- On my machine, some keyboard keys did not work. Fix them by going to the Command->Learn menu.
NOTES: These instructions were originally by sdm485, and have been updated by pvh. Changed lines 34-85 from:
The above did't work, so I stumbled on: Bug Tracker (ID 40) mc 4.1.35-1 will not start, vi /etc/profile (just vi to create the file)
i (insert mode)
export TERMINFO=/opt/lib/terminfo
export TERM=xterm-pcolor (<= or "TERM=vt100" for the purist)
Hence in "TERMINFO=/opt/..." ... changed from "/share/" into "/lib/" Works like a charm. NOTES: V2.3R25-uNSLUng-standard-3.17-beta, The Midnight Commander 4.1.35 To get Midnight Commander working on OpenSlug version 2.0: Add 'src http://ipkg.nslu2-linux.org/ipkg' to ipkg.conf in /etc Do an 'ipkg update' Do 'ipkg install mc' (also installs ncurses) Edit /etc/profile by adding: export TERMINFO=/etc/terminfo (note the different location) export TERM=xterm Also add '/opt/bin:' to the PATH statement that has other 'bin' locations Also add '/opt/sbin:' to the PATH statement that has other 'sbin' locations This should do it but you will have to login again to make the exports available NOTE: Using Unslung packages like this is tricky (and a dirty fix) because of the load locations (/opt directory) but it is a way to get things going until the packages are available configured for openslug. Of course this assumes a hard drive based '/'. sdm485 Better to use: export TERM=xterm-color -jake An alternative way to install Midnight Commander in OpenSlug 2.x (tried it on 2.5): If you don't need any other Unslung package, there is no need to add the Unslung feeds. You can just download the '.ipk' file and install it, like this: wget http://ipkg.nslu2-linux.org/feeds/unslung/cross/mc_4.1.35-2_armeb.ipk As an alternative to adding '/opt/*' to the PATH variable, you can just move the /opt/bin en /opt/lib directories created by the Unslung 'mv' package to another place and remove the '/opt' directory tree: to:
To install Midnight Commander in OpenSlug 2.x (tried it on 2.5): At the time of this writing, there is no mc package for openslug. We will install the unslung package instead by downloading the .ipk file directly, like this: wget http://ipkg.nslu2-linux.org/feeds/unslung/cross/mc_4.1.35-2_armeb.ipk
ipkg install mc_4.1.35-2_armeb.ipk
(this assumes you already have ncurses installed)
As an alternative to adding '/opt/bin:/opt/lib' to the PATH variable, you can just move the /opt/bin en /opt/lib directories created by the Unslung 'mc' package to another place and remove the '/opt' directory tree: Deleted lines 50-56:
For some reason only Func keys F1-F4 worked on my install. To start with the only way I could find to close MC was to close the telnet or SSH session! (1) If the Func keys dont work, use <ESC> <x> instead. Eg <ESC><9> for F9, <ESC><0> for F10. (2) Use F9 (or <ESC><9>) to select the top menu and select "OPTIONS" then "LEARN KEYS" to reassign any keys that dont work -Wibble December 20, 2005, at 07:37 PM
by --
Changed lines 3-4 from:
to:
September 14, 2005, at 01:06 PM
by --
Changed lines 5-6 from:
or nothing happens until you press a key in desperation and then get a memory exhausted message. But it works like a dream over sshn once that is sorted! to:
or nothing happens until you press a key in desperation and then get a memory exhausted message. But it works like a dream over ssh once that is sorted! (unslung 5.5 beta, with speed mod) Changed lines 9-10 from:
to:
September 14, 2005, at 01:04 PM
by -- chown 640 /etc/profile
Added lines 1-9:
You need to
or nothing happens until you press a key in desperation and then get a memory exhausted message. But it works like a dream over sshn once that is sorted! peterb September 11, 2005, at 08:35 PM
by -- Making the Function keys work (F10 etc)
Deleted line 22:
Added lines 82-89:
For some reason only Func keys F1-F4 worked on my install. To start with the only way I could find to close MC was to close the telnet or SSH session! (1) If the Func keys dont work, use <ESC> <x> instead. Eg <ESC><9> for F9, <ESC><0> for F10. (2) Use F9 (or <ESC><9>) to select the top menu and select "OPTIONS" then "LEARN KEYS" to reassign any keys that dont work -Wibble September 02, 2005, at 11:00 AM
by -- Cleaner install of mc in OpenSlug
Changed lines 64-82 from:
-jake to:
-jake An alternative way to install Midnight Commander in OpenSlug 2.x (tried it on 2.5): If you don't need any other Unslung package, there is no need to add the Unslung feeds. You can just download the '.ipk' file and install it, like this: wget http://ipkg.nslu2-linux.org/feeds/unslung/cross/mc_4.1.35-2_armeb.ipk As an alternative to adding '/opt/*' to the PATH variable, you can just move the /opt/bin en /opt/lib directories created by the Unslung 'mv' package to another place and remove the '/opt' directory tree: mv /opt/bin/* /usr/bin ; rmdir /opt/bin -ronm August 26, 2005, at 06:30 PM
by --
Added lines 60-64:
Better to use: export TERM=xterm-color -jake June 24, 2005, at 04:11 PM
by --
Changed lines 37-59 from:
NOTES: V2.3R25-uNSLUng-standard-3.17-beta, The Midnight Commander 4.1.35 to:
NOTES: V2.3R25-uNSLUng-standard-3.17-beta, The Midnight Commander 4.1.35 To get Midnight Commander working on OpenSlug version 2.0: Add 'src http://ipkg.nslu2-linux.org/ipkg' to ipkg.conf in /etc Do an 'ipkg update' Do 'ipkg install mc' (also installs ncurses) Edit /etc/profile by adding: export TERMINFO=/etc/terminfo (note the different location) export TERM=xterm Also add '/opt/bin:' to the PATH statement that has other 'bin' locations Also add '/opt/sbin:' to the PATH statement that has other 'sbin' locations This should do it but you will have to login again to make the exports available NOTE: Using Unslung packages like this is tricky (and a dirty fix) because of the load locations (/opt directory) but it is a way to get things going until the packages are available configured for openslug. Of course this assumes a hard drive based '/'. sdm485 May 16, 2005, at 08:51 PM
by --
Changed lines 32-35 from:
ESC (press the ESC key to exit the insert mode)
:W /etc/profile (Enter key)
:Q (Enter key)
to:
May 16, 2005, at 08:50 PM
by --
Changed line 24 from:
--- to:
May 16, 2005, at 08:49 PM
by --
Added line 23:
Changed lines 25-27 from:
to:
The above did't work, so I stumbled on: Bug Tracker (ID 40) mc 4.1.35-1 will not start, Added lines 36-39:
Hence in "TERMINFO=/opt/..." ... changed from "/share/" into "/lib/" Works like a charm. May 16, 2005, at 08:41 PM
by --
Added line 22:
Changed line 24 from:
to:
May 16, 2005, at 08:39 PM
by --
Changed line 34 from:
Notes Unslung 3.17, The Midnight Commander 4.1.35 to:
NOTES: V2.3R25-uNSLUng-standard-3.17-beta, The Midnight Commander 4.1.35 May 16, 2005, at 08:36 PM
by -- Unslung 3.17, The Midnight Commander 4.1.35
Changed lines 21-34 from:
sdm485 to:
sdm485 --- SlugBug? (ID 40) mc 4.1.35-1 will not start, vi /etc/profile (just vi to create the file)
i (insert mode)
export TERMINFO=/opt/lib/terminfo
export TERM=xterm-pcolor (<= or "TERM=vt100" for the purist)
ESC (press the ESC key to exit the insert mode)
:W /etc/profile (Enter key)
:Q (Enter key)
Notes Unslung 3.17, The Midnight Commander 4.1.35 January 13, 2005, at 04:29 AM
by --
Deleted line 0:
Changed lines 19-21 from:
NOTES: This was done from a laptop running Mandrake 10 using Rxvt as the terminal program. Rxvt reports itself as xterm. The nslu2 is running unslung3.16 and has dropbear and vsftpd installed (as well as mc and ncurses of course). to:
NOTES: This was done from a laptop running Mandrake 10 using Rxvt as the terminal program. Rxvt reports itself as xterm. The nslu2 is running unslung3.16 and has dropbear and vsftpd installed (as well as mc and ncurses of course). sdm485 January 13, 2005, at 04:28 AM
by --
Changed lines 1-20 from:
Describe HowtoSetupMidnightCommander? here. to:
(Comments are in parenthesis) 1- Install Midnight Commander (which also installs ncurses) ipkg install mc
2- Edit or create /etc/profile (it did not exist on my installation) vi /etc/profile (just vi to create the file)
i (insert mode)
export TERMINFO=/opt/share/terminfo
export TERM=xterm
ESC (press the ESC key to exit the insert mode)
:W /etc/profile (Enter key)
:Q (Enter key)
3- Launch the Program (mc). It should work via ssh or telnet from a linux machine. 4- For color, set TERM=xtermc and adjust the arrow keys by using Command>Learn keys.
5- To try other terminal configurations, explore the /opt/share/terminfo directory. NOTES: This was done from a laptop running Mandrake 10 using Rxvt as the terminal program. Rxvt reports itself as xterm. The nslu2 is running unslung3.16 and has dropbear and vsftpd installed (as well as mc and ncurses of course).
view ·
edit ·
print ·
history ·
Last edited by Darek Sliwa.
Based on work by Darek Sliwa, Joordi, MatMike, pvh, Dave Hrynkiw, Alexander Skwar, saulnewman, peterb, Wibbleman, RonM, jake, sdm485, The Midnight Commander unslung, and Unslung 317 The Midnight Commander 4135. Originally by sdm485. Page last modified on June 21, 2008, at 09:24 PM
|