home *** CD-ROM | disk | FTP | other *** search
- Path: sparky!uunet!ogicse!hp-cv!hp-pcd!hpcvusn!hpcvxba.cv.hp.com!bcripe
- From: bcripe@hpcvxba.cv.hp.com (Brian E. Cripe)
- Newsgroups: comp.sys.hp
- Subject: Re: ksh and HP Console?
- Message-ID: <1992Aug19.191008.27222@hpcvusn.cv.hp.com>
- Date: 19 Aug 92 19:10:08 GMT
- Article-I.D.: hpcvusn.1992Aug19.191008.27222
- References: <GHENNIGA.92Aug18125155@ampere.ampere>
- Sender: nobody@hpcvusn.cv.hp.com (Nobody - UID must be 99999)
- Organization: Hewlett-Packard Company, Corvallis, Oregon USA
- Lines: 39
- Nntp-Posting-Host: hpcvxba.cv.hp.com
-
- |> No flames for what might be a dumb question, but, why is it that
- |> when I log in to the console and then start a terminal, by clicking the
- |> terminal icon under HP VUE, it doesn't appear to read my .kshrc or my
- |> .profile, even though it does start up in the Korn Shell? The "Console"
- |> terminal window reads everything OK but any subsequent terminal I start,
- |> whether it be by clicking the icon or manually via the hpterm executable
- |> fails to set my environment properly by reading these files.
-
- A couple of things are happening here:
-
- - The Console action runs an hpterm window using the '-ls'
- (login shell) option. This forces ksh to read .profile.
-
- - I suspect your .profile contains something like "ENV=~/.kshrc"
- which is what tells ksh to read your .kshrc.
-
- - The VUE login sequence doesn't automatically read $HOME/.profile.
- (I think this behavior was inherited from the "standard" xdmcp
- login stuff.) Instead it reads $HOME/.vueprofile. The VUE
- documentation provides some information on what is allowed in
- .vueprofile and people do various tricks to link their .profile
- and .vueprofile together so that they get the right thing
- whether they login via an ASCII terminal or VUE.
-
- - You probably haven't made the migration from .profile to .vueprofile,
- so at login you are never getting the ENV environment variable
- set.
-
- - The standard Terminal action (i.e. the terminal button in the front
- panel) doesn't use the '-ls' option because it is overkill. (Most
- people don't want to see copyright notices and motd every time they
- open a new terminal window.)
-
- To fix this, follow the instructions in the login chapter of the VUE manual
- to set up your .vueprofile.
-
- Brian Cripe
-
- (for v
-