Problem:
On the same computer , I would like to work in different modes .
Resolution:
To manage working mode , it is necessary to use either command cobmode or environment variable COBMODE .
The Working Mode can be global
( defined in $COBDIR directory )
: cobmode -s
The Working Mode can be user
( defined in $HOME directory ) : cobmode -u
The Working Mode can be local
( defined in the local working directory ) : cobmode -d
The Working Mode can be in local environment
environment variable COBMODE
cobmode -s : modifies $COBDIR/etc/cobmoderc
cobmode -u : modifies $HOME/.cobmoderc
cobmode -d : modifies ./ cobmode
$COBMODE overrides all others working modes
The local Working Mode overrides the user Working Mode and the global Working Mode
The user Working Mode overrides the global Working Mode
cobmode -a displays all Working Modes
cobmode -v displays the effective mode .