Showing posts with label mc. Show all posts
Showing posts with label mc. Show all posts

Tuesday, July 23, 2013

Compile Vim and MC in Solaris 10 Sparc

If you don't have root privileges you can't install binary package vim and mc provided by sunfreeware.com etc. But if you have compiler (gcc) installed in your system, compiling is the only choice.

Here is my system:
> uname -a
SunOS myserver 5.10 Generic_144488-04 sun4u sparc SUNW,SPARC-Enterprise
> gcc -v
Reading specs from /usr/sfw/lib/gcc/sparc-sun-solaris2.10/3.4.3/specs
Configured with: /sfw10/builds/build/sfw10-patch/usr/src/cmd/gcc/gcc-3.4.3/configure --prefix=/usr/sfw --with-as=/usr/ccs/bin/as --without-gnu-as --with-ld=/usr/ccs/bin/ld --without-gnu-ld --enable-languages=c,c++ --enable-shared
Thread model: posix
gcc version 3.4.3 (csl-sol210-3_4-branch+sol_rpath)
> mkdir -p $HOME/local

Friday, December 7, 2012

Solaris 10: Vim and MC - Can't live without it

Installing Vim:
1. Unzip all packages needed:
# gunzip libgcc-3.4.6-sol10-sparc-local.gz
# gunzip glib-1.2.10-sol10-sparc-local.gz
# gunzip gtk+-1.2.10-sol10-sparc-local.gz
# gunzip ncurses-5.7-sol10-sparc-local.gz
# gunzip libiconv-1.11-sol10-sparc-local.gz
# gunzip libintl-3.4.0-sol10-sparc-local.gz
# gunzip vim-7.2-sol10-sparc-local.gz

Thursday, October 14, 2010

Copying text from mcedit to system clipboard

Just press Shift key while blocking the text in mcedit, or copy item in popup menu will remain inactive on right click. :P
Without pressing Shift key:

With pressing Shift key:

Fixing mcedit transparent problem in mc 4.7.0.x series

In previous release of mc, we just need to add following code to make it transparent in [Colors] section:
base_color=normal=editnormal=,default:
But since version 4.7.0.x (using in Ubuntu 10.04 and later) it doesn't work. Especially while using mcedit, it looks ugly. it still using normal background color for empty space, see this bug.

To make it works again, replace code above with this: