Article View: gnu.emacs.help
Article #189496Re: Xemacs on IBM/RS6000, ~/ is always the dir...
From: Arup Mukherjee
Date: Wed, 30 Jan 1991 13:52
Date: Wed, 30 Jan 1991 13:52
18 lines
1634 bytes
1634 bytes
In article <9101291646.AA03939@rice-chex> cmcl2@NYU.EDU (Xiaojian Li) writes:
>
>I recently compiled Xemasc18.56.1 on IBM/RS6000 320. It works well under
>ksh, but seems to have trouble under csh: the starting dir is always ~/
>no matter which directory I invoke xemacs from. Does anybody have the
>same problem?
This is the fault of the AIX csh. Basically, the environment variable
PWD is initially set to the directory the shell was started from and
is never updated subsequently. You could alias your cd command to
automagically update PWD for you if you're really set on csh, or
perhaps you might want to consider getting tcsh, which seems to do
things right.
Another fun feature of the AIX csh... it doesn't detect alias loops. Try
alias ls "echo hi; ls ; echo bye", and then type 'ls'....
-Arup
Technical Details
Message-ID:
<36601@netnews.upenn.edu>Path:
arc1-ca.pugleaf.net!gmdzi!unido!fauern!sun1.ruf.uni-freiburg.de!ira.uka.de!sol.ctr.columbia.edu!caen!sdd.hp.com!cs.utexas.edu!hellgate.utah.edu!csn!rutgers!netnews.upenn.edu!grad2.cis.upenn.edu!arupReferences:
<9101291646.AA03939@rice-chex>Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103b8b,f43621390f58abe9 X-Google-Attributes: gid103b8b,public X-Google-ArrivalTime: 1991-01-30 09:49:01 PST Path: arc1-ca.pugleaf.net!gmdzi!unido!fauern!sun1.ruf.uni-freiburg.de!ira.uka.de!sol.ctr.columbia.edu!caen!sdd.hp.com!cs.utexas.edu!hellgate.utah.edu!csn!rutgers!netnews.upenn.edu!grad2.cis.upenn.edu!arup From: arup@grad2.cis.upenn.edu (Arup Mukherjee) Newsgroups: gnu.emacs.help Subject: Re: Xemacs on IBM/RS6000, ~/ is always the dir... Summary: AIX csh is the culprit Message-ID: <36601@netnews.upenn.edu> Date: 30 Jan 91 13:52:07 GMT References: <9101291646.AA03939@rice-chex> Sender: news@netnews.upenn.edu Reply-To: arup@grad1.cis.upenn.edu (Arup Mukherjee) Organization: University of Pennsylvania Lines: 18