From mboxrd@z Thu Jan 1 00:00:00 1970 Message-ID: <96078609810321.tru64-unix-managers.marc@archive.invalid> From: "Thomas.Meyer " Date: Wed, 12 Mar 1997 14:23:40 +0000 To: tru64-unix-managers Subject: ksh oddities with DUX4.0 X-MARC-Message: https://marc.info/?l=tru64-unix-managers&m=96078609810321 We'd like to report a problem with Digital Unix 4.[0|0A|0B] and would like to know if others have had similar experiences. Sometimes ksh would behave very oddly, saying that /bin/pwd was not found, e.g. myserv:/# cd mnt sh[4]: /bin/pwd: not found myserv:# This was never seen during the time we had DUX3.X.Y! It can be solved, though, by simply trying again and again :-( Maybe it has sth. to do with the following ksh funtion (quite useful: the current working directory, abbreviated when too long, in your prompt): myserv:/# typeset -f function xcd { "cd" $* OLDPWD="$LOGPWD" LOGPWD="$PWD" PWD="`/bin/pwd`" if [ ${#PWD} -gt 32 ] then typeset -L15 PWDl=$PWD # Mitte des Pfades ausblenden typeset -R15 PWDr=$PWD PWD="${PWDl}..${PWDr}" fi } myserv:/# Would be glad if it was a known bug... Regards, Thomas Meyer, EDV-Systemadministrator email: Thomas.Meyer@dla-marbach.de smail: Deutsches Literaturarchiv Marbach Schillerhoehe 8-10 D-71672 Marbach Telefon: +49-7144-848-141 Fax: ...-387 WWW: http://www.dla-marbach.de