Re: Failure to execute .profile under AIX 5.2




William R. Mattil wrote:
... I was accessing these machines from a laptop
M$oft :( and using Exceed 7.X and my desktop PC has an older version of
Exceed that does not exhibit this behavior.

my original access was "rexec xterm -fn 10x20 -bg darkblue -fg yellow
-cr red -display @a:0.0"

changing the rexec to telnet or rsh behaves differently, as those will
execute the .profile .... except the last bit which is "set -o emacs"
which is blissfully ignored. Which was the whole point of doing this
anyway... argh! I hate windows.

Have you tried the '-ls' flag with 'xterm' command?

<quote from xterm manpage>
-ls Indicates that the shell that is started in the xterm window is a
login
shell (in other words, the first character of the ArgumentVector
parameter is a
dash, indicating to the shell that it should read the user's .login or
..profile
file).
</quote>

Tao

.



Relevant Pages

  • Re: Running Nedit from the terminal
    ... which creates a login shell): ... For example 'xterm &' now works from Terminal. ... The point is that a login shell processes your .profile (or ...
    (comp.sys.mac.system)
  • Re: Running Nedit from the terminal
    ... which creates a login shell): ...   export DISPLAY=:0.0 ... For example 'xterm &' now works from Terminal. ... This will cause xterm to run a login shell (equivalent to typing ...
    (comp.sys.mac.system)
  • Re: make installkernel help required. (ANSWER... sort of)
    ... as a "login" shell ... ... try typing "logout" to exit your xterm. ... "not a login shell", then, well, it's not. ... Now, to further support the theory Giorgos has here, Eterm *does* ...
    (freebsd-questions)
  • Re: running scripts when logging in (via X)
    ... > When I reboot my Debian box, the login comes up in an X environment. ... > How to I get these scripts to run when I login via X ?? ... rather than every time you start a new shell or open a new xterm. ...
    (Debian-User)
  • RE: SSH Tunneling without console login
    ... > that the command will also login onto PC2. ... > not give a shell prompt, ... I only need SSH ... > tunneling purposes, i login to the remote server ...
    (SSH)