EnvMng Read Me Page

1.2.1

Rx3.Org Main Page  /  Rx3 Free Software Development Main Page  /  EnvMng Home Page

# $Revision: 1.4 $
# $Name: envmng-1_2_1 $
# $Date: 2009/01/13 17:30:14 $
# $Author: agibert $





Welcome to EnvMng (Unix shell Environment Manager) !



This release of EnvMng supports the following OSes:
        - AIX 5.3,
        - HP UX 11.0.

EnvMng is licensed under the GNU GPL Licenses.
For more information, please read the corresponding source file headers.
The license details can be found in the GNU-GPL.txt and GNU-FDL.txt files.



envmng installation
-------------------------------------------------------------------------------
- rename    ~/.profile                      into ~/.profile.old
- rename    ~/.dtprofile                    into ~/.profile.old
- rename    ~/.login                        into ~/.login.old
- copy      /etc/skel/.profile   to   ~/.profile
- copy      /etc/skel/.dtprofile to   ~/.dtprofile
- soft link ~/.bash_profile                 to   /etc/envmng_rc

Eg.  can be /usr/local



envmng usage
-------------------------------------------------------------------------------
Usage: envmng   [COMMAND] [OPTION]
  -b,  --bash    []    [norc]       switch to bash and set id to 
  -k,  --ksh     []    [norc]       switch to ksh  and set id to 
  -S,  --setid         [norc]       set id to 
  -R,  --reset                 reset envlist to 
  -a,  --add          [head|tail]  add  in envlist head or tail
  -d,  --del                       del  from envlist
  -p,  --profile []                do envlist or  profile
  -r,  --rc      []                do envlist or  rc
  -s,  --status                         print status
  -l,  --list                           list Id(s), EnvList(s) and Env(s)
  -li, --listid                         list Id(s) and EnvList(s)
  -le, --listenv                        list Env(s)
  -h,  --help                           print this help
  -V,  --version                        print version



envmng usage example
-------------------------------------------------------------------------------
- print curent env status:           "envmng -s"
- list ids, envlists and envs:	     "envmng -l"
- switch to dtarget-gnu  env:        "envmng -S dtarget-gnu"  or "env-dtarget"
- switch to d2target-gnu env:        "envmng -S d2target-gnu" or "env-d2target"
- switch to ksh:                     "envmng -k"              or "env-ksh"
- switch to bash in dtarget-gnu env: "envmng -b dtarget-gnu"



user env customization
-------------------------------------------------------------------------------
- copy /etc/envmng.d/env_template to   ~/.envmng_user
- add user customization                     into ~/.envmng_user



.profile template example
-------------------------------------------------------------------------------
clear
. /usr/local/etc/envmng_profile d2target-gnu bash
#. /usr/local/etc/envmng_profile d2target ksh



.dtprofile template example
-------------------------------------------------------------------------------
. /usr/local/etc/envmng_dtprofile d2target-gnu bash
#. /usr/local/etc/envmng_dtprofile d2target-gnu ksh



EnvMng Id List (/etc/envmng_id)
-------------------------------------------------------------------------------
# HP/UX Example
dtarget:	user:shell:imr:ora920a:tux80:mqm-64:dtarget:snav:pvcs:purify:hpux-64:hpux-system:gnu
dtarget-gnu:	user:gnu:shell:imr:ora920a:tux80:mqm-64:dtarget:snav:pvcs:purify:hpux-64:hpux-system
d2target:	user:shell:imr:ora817a:tux80:mqm-32:d2target:snav:pvcs:purify:hpux-32:hpux-system:gnu
d2target-gnu:	user:gnu:shell:imr:ora817a:tux80:mqm-32:d2target:snav:pvcs:purify:hpux-32:hpux-system

# AIX Example
migtt2:		user:shell:ora10:mqm-64:migtt2:java14:vac:aix-64:aix-system:gnu
migtt2-gnu:	user:gnu:shell:ora10:mqm-64:migtt2:java14:vac:aix-64:aix-system
migtt2-64:	user:shell:ora10:mqm-64:migtt2:java14:vac:aix-64:aix-system:gnu
migtt2-g64:	user:gnu:shell:ora10:mqm-64:migtt2:java14:vac:aix-64:aix-system
migtt2-32:	user:shell:ora10:mqm-32:migtt2:java14:vac:aix-32:aix-system:gnu
migtt2-g32:	user:gnu:shell:ora10:mqm-32:migtt2:java14:vac:aix-32:aix-system



Protected varibles (/etc/envmng_protvar)
-------------------------------------------------------------------------------
DISPLAY
DT
ENVMNG_ID
ENVMNG_LIST
MAIL
LOGNAME
HOME
PS1
PS2
PS3
PS4
PWD
SHELL
SHLVL
TERM
TZ
USER
_



Protected aliases (/etc/envmng_protalias)
-------------------------------------------------------------------------------
envmng



d2target-gnu Env Id default aliases
-------------------------------------------------------------------------------
alias env-bash='envmng --bash'
alias env-d2target='envmng -S d2target-gnu'
alias env-dtarget='envmng -S dtarget-gnu'
alias env-ksh='envmng --ksh'
alias envmng='. /home/dtarget/envmng/bin/envmng'
alias ll='ls -la'
alias ls='ls --color=auto'
alias snav='snavigator'
alias xem='xemacs'





Enjoy it!

Your EnvMng Team.

arnaud@rx3.net
http://www.rx3.org/dvp/?dvp=envmng
    

Powered by Mageia Linux    Powered by Apache  Powered by mod_ssl  Powered by PostgreSQL  Powered by MySQL  Powered by PHP  Best Viewed With Any Browser  Valid HTML 4.01!  Valid CSS!

Page generated in 0.005 seconds by DvpBrowse V 1.1.0-1