tcsh 6.08.00 problems

From: Eric Gatenby <egatenby_at_mailhub.com>
Date: Tue, 20 Apr 1999 10:57:30 -0400 (EDT)

Here is a annoying problem with tcsh 6.08.00:

The prompt refuses to report the current directory correctly, For example:
[/home/egatenby/] which pwd
/bin/pwd
[/home/egatenby/] which echo
echo: shell built-in command.
[/home/egatenby/] cd
[/home/egatenby/] pwd ; echo $cwd ; echo $owd
/home/egatenby
/home/egatenby/
/home/egatenby/
[/home/egatenby/] cd ..
[/home/egatenby/] pwd ; echo $cwd ; echo $owd
/home
/home/egatenby/
/home/egatenby/
[/home/egatenby/] cd ..
[/home/egatenby/] pwd ; echo $cwd ; echo $owd
/
/home/egatenby/
/home/egatenby/
[/home/egatenby/] cd ..
[/home/egatenby/] pwd ; echo $cwd ; echo $owd
/
/home/egatenby/
/home/egatenby/
[/home/egatenby/]
[/home/egatenby/] cd
[/home/egatenby/] pwd ; echo $cwd ; echo $owd
/home/egatenby
/home/egatenby/
/home/egatenby/
[/home/egatenby/] cd bin
[/home/egatenby//bin] pwd ; echo $cwd ; echo $owd
/home/egatenby/bin
/home/egatenby//bin
/home/egatenby/
[/home/egatenby//bin]

It gets even more wierd:
[/home/egatenby/] cd
[/home/egatenby/] pwd ; echo $cwd ; echo $owd
/home/egatenby
/home/egatenby/
/home/egatenby/
[/home/egatenby/] cd ../software/
[/home/egatenby/software] pwd ; echo $cwd ; echo $owd
/home/software
/home/egatenby/software
/home/egatenby/
[/home/egatenby/software]
[/home/egatenby/software] cd /home/egatenby/software
/home/egatenby/software: No such file or directory.
[/home/egatenby/software]

It is only "broken" when working with relative paths. Absolute paths will
display everything OK...
[/home/egatenby/] pwd ; echo $cwd ; echo $owd
/home/egatenby
/home/egatenby/
/home/egatenby/
[/home/egatenby/] cd /home
[/home] pwd ; echo $cwd ; echo $owd
/home
/home
/home/egatenby/
[/home]

The only line in .tcshrc is:
set prompt="[%/] "

It appears to be a problem with the libraries on the current system, because
when I copy a "working" tcsh binary from another 4.0d machine, it still acts
this way. I will provide setld -i output if needed.

System information:
Digital UNIX 4.0D
Patchkit: duv40das00003-19990208

Tcsh was compiled using DEC cc and the default tcsh setup. All I did was
"xmkmf ; make"

Thanks in advance for any pointers and help. I will post a summary.

--Eric

-- 
Eric Gatenby  -=-  raptor_at_mailhub.com  -=-  egatenby_at_mailhub.com
http://www.netaxs.com/~raptor/         -=-  PGP: Web page or key server
#include <netinet/disclaimer.h>	  /* Standard Internet disclaimer */
Received on Tue Apr 20 1999 - 15:00:21 NZST

This archive was generated by hypermail 2.4.0 : Wed Nov 08 2023 - 11:53:39 NZDT