ok, but then this should be clearly said in the manual.
Well, if you didn't understand it, then it's probably not explained well.
i do have problems with symlinks and scsh:
the view from 'ksh' , 'bash' , '/bin/posix/sh/' .. and 'scsh' are
different . 'scsh' gives the real view, the others give a 'logical'
or 'pragmatic' view.
what i want to say is : due to symlinks i have the same view of my
home directory regardless the computer i use. 'scsh' does not allow
this due to 'getcwd' und i do not know a simple solution as
'(run (pwd))' use '/bin/pwd' .
You don't have to run /bin/pwd -- the CWD procedure will give you the current
working directory.
the main problem is with (chdir "..") which produces unexpected
results and even errors.
I bet you could write a (SHELL-CD dir) procedure with the scsh primitives
that would do what you wanted. Exercise for the interested reader...
i knew if i am the system administrator of all computers i use , i could
have the same real view on my home-directory, but i am not.
The HOME-FILE, RESOLVE-FILE-NAME and SUBSTITUTE-ENV-VARS procedures can all
be used to abstract over your home-directory. I have to say that this ~user/
stuff is, on reflection, a real abortion. People should have just stuck to
the idea that /usr/shivers should always be my home-dir -- at worst, a
symlink to my real home dir.
ps: i get every mail form you twice.
That's because I send you one, and cc the scsh list, which you are on.
psps: i only have access to mail and ftp not to any newsgrep
Maybe we can do an email gateway for people like you.
pspsps: in spite of all my complaints i do like scsh, and i want to use it.
Your comments are helpful and appreciated.
-Olin
|