Friday, January 8, 2010

Making Host Inferno Usable

I will be working with stripped down version of Inferno for my work.
Code for this model can be accessed at http://code.google.com/r/ericvh-brasil/.

The compilation of this code base involves all steps performed in previous entry.
But in addition to that, one need to create directory
Linux/386/lib before compilation. Otherwise you will get errors in compilation.


Once Installed, I made following changes to make it more usable.

Firstly, following shell-script with name runInferno.sh is used to start the inferno

#!/bin/bash
BASEDIR=/home/pravin/projects/inferno/ericvh/
INSTALL_DIR=ericvh-brasil
$BASEDIR/$INSTALL_DIR/Linux/386/bin/emu -r $BASEDIR/$INSTALL_DIR/


If you execute this script, it will start inferno, which gives ; as prompt.

$ ./runInferno.sh
; wm/wm


The wm/wm command starts the Inferno window manager. If you are not happy with the
size of window manager then you can add -g700x700 parameter in runInferno.sh
shell-script in last line as follows.

#!/bin/bash
BASEDIR=/home/pravin/projects/inferno/ericvh/
INSTALL_DIR=ericvh-brasil
$BASEDIR/$INSTALL_DIR/Linux/386/bin/emu -r $BASEDIR/$INSTALL_DIR/ -g1250x700

1250x700 configuration suits my screen. Feel free to play with these values to
suit your screen-size.

Once window manager starts, there is an icon in left-bottom corner of the window.
You can click on that to get a menu, and you can start shell by selecting the
shell menu option from it.

Here is the final screen-shot of how it looks when window-manager is running.

No comments:

Post a Comment