tru64-unix-managers (formerly alpha-osf-managers) (1994-2012)
 help / color / mirror / Atom feed
From: Eric Gatenby <egatenby () mailhub ! com>
To: tru64-unix-managers
Subject: tcsh 6.08.00 problems
Date: Tue, 20 Apr 1999 14:57:30 +0000	[thread overview]
Message-ID: <96079040315795.tru64-unix-managers.marc@archive.invalid> (raw)


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@mailhub.com  -=-  egatenby@mailhub.com
http://www.netaxs.com/~raptor/         -=-  PGP: Web page or key server

#include <netinet/disclaimer.h>	  /* Standard Internet disclaimer */

                 reply	other threads:[~1999-04-20 14:57 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed
read-only archive

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox