tru64-unix-managers (formerly alpha-osf-managers) (1994-2012)
 help / color / mirror / Atom feed
* tcsh 6.08.00 problems
@ 1999-04-20 14:57 Eric Gatenby
  0 siblings, 0 replies; only message in thread
From: Eric Gatenby @ 1999-04-20 14:57 UTC (permalink / raw)
  To: tru64-unix-managers


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 */

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~1999-04-20 14:57 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1999-04-20 14:57 tcsh 6.08.00 problems Eric Gatenby

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