Go to file
2009-01-13 17:02:31 +00:00
bin - Minor cleanup, 2009-01-13 14:07:53 +00:00
etc - Remove obsolete application module (cristal, ic, ...), 2009-01-13 17:02:31 +00:00
GNU-FDL.txt Initial release. 2009-01-12 15:36:39 +00:00
GNU-GPL.txt Initial release. 2009-01-12 15:36:39 +00:00
ReadMe.txt - Add AIX support, 2009-01-13 13:27:53 +00:00
ReleaseNotes.txt - Add AIX support, 2009-01-13 13:27:53 +00:00
ToDo.txt Initial release. 2009-01-12 15:36:39 +00:00

# $RCSfile: ReadMe.txt,v $
# $Revision: 1.3 $
# $Name:  $
# $Date: 2009/01/13 13:27:53 $
# $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      <EnvMngDir>/etc/skel/.profile   to   ~/.profile
- copy      <EnvMngDir>/etc/skel/.dtprofile to   ~/.dtprofile
- soft link ~/.bash_profile                 to   <EnvMngDir>/etc/envmng_rc

<EnvMngDir> is /home/dtarget/envmng



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



envmng usage example
-------------------------------------------------------------------------------
- print curent env status:           "envmng -s"
- 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 <EnvMngDir>/etc/envmng.d/env_template to   ~/.envmng_user
- add user customization                     into ~/.envmng_user

<EnvMngDir> is /home/dtarget/envmng



.profile template
-------------------------------------------------------------------------------
clear
. /home/dtarget/envmng/etc/envmng_profile d2target-gnu bash
#. /home/dtarget/envmng/etc/envmng_profile d2target ksh



.dtprofile template
-------------------------------------------------------------------------------
. /home/dtarget/envmng/etc/envmng_dtprofile d2target-gnu bash
#. /home/dtarget/envmng/etc/envmng_dtprofile d2target-gnu ksh



EnvMng Id List (<EnvMngDir>/etc/envmng_id)
-------------------------------------------------------------------------------
dtarget:        user:shell:ora920:tux80:dtarget:snav:pvcs:64bits:system:gnu
dtarget-gnu:    user:gnu:shell:ora920:tux80:dtarget:snav:pvcs:64bits:system
d2target:       user:shell:ora817a:tux80a:d2target:snav:pvcs:32bits:system:gnu
d2target-gnu:   user:gnu:shell:ora817a:tux80a:d2target:snav:pvcs:32bits:system



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



Protected aliases (<EnvMngDir>/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