Home
midnight commander
pkgtool
 

Midnight Commander and Slackwares Pkgtool.

Here are pics showing coloured versions of mc (midnight commander) file manager and the slackware pkgtool. Click on the pics to see the full sized images.
 
mc-pic   pkg-pic

Above left shows "mc" split into two vertical panels. The fvwm2 (window manager) desktop menu is to the right of mc and a few apps are iconified at the bottom of the screen.
The "pkgtool" pic shows colours set by editing the /etc/dialogrc file.


MC
Customizing mc to colours other than the default blue and white make it ideal for editing config files and bash scripts.   mc has features such as directory hotlist which make it very fast to work with. Is a ftp/nfs client and can examine the contents of zip files and packages.

mc's colour settings are stored in the ~/.mc/ini file of the users home directory. If you like this colour setup download the following ini file [colours] section and cat it onto your ini file.

Here's the colour section to download  --   "mccolour.txt"

Use the following copy and cat commands at the prompt to make a backup and then concatenate mc-colours.txt onto the ini file. Note that cat has two >> for append mode.

cp ~/.mc/ini ~/.mc/ini.bak
cat mccolour.txt >> ~/.mc/ini

The ~/.mc/ini does not exist untill mc has been run so if it is not there fire up mc to have it created.If the ini file already has a [color] section you will have to remove it with vi.

Use vi,elvis or vim editors to edit the ini file, don't use mcedit, kedit or gedit which will cause the file to bork the next time you start mc and be replaced by the default ini.
The mc (F1) help pages has a "Color" section which explains syntax used in the ini file.


pkgtool
this slackware tool is better when set to colours other than the default cyan and yellow (via /etc/dialogrc) in my view.

Download this file "dialogrc.txt" and as root use the following commands -

mv /etc/dialogrc /etc/dialogrc.bak
cp dialogrc.txt /etc/dialogrc

If you delete your dialogrc.bak you can get it from /a/pkgtools.tgz on the slackware disk.


 

 

vi-pic       comments to  keithmg at e3netnz
home webpage: http://homepages.e3.net.nz/~keithmg/