[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Weird behavior with Tcsh



Hi,

I came across some strange behavior with my tcsh and xterm on slink.  Here
is how I reproduced the behavior:

Two xterms both running tcsh, starting out in home directory...

xterm-1: mkdir -p test/me
xterm-1: cd test/me
xterm-1: pwd   --->  /export/home/myhomedir/test/me

xterm-2: mv test/me ~

xterm-1: pwd   --->  /export/home/myhomedir/me

The prompt in my "xterm-1" still shows "~/test/me."  When I do an "ls" in
xterm-1 I get no error.  Shouldn't I get an error since the directory
isn't supposed to exist anymore.  Is this some behavior in tcsh that I
wasn't aware of? In the past I used to get errors from "ls" of a
non-existent directory if the directory was removed when I was in that
directory, at least from what I recall.

Am I missing something here?

Thanks,
-Ossama
______________________________________________________________________
Ossama Othman <othman@astrosun.tn.cornell.edu>
58 60 1A E8 7A 66 F4 44  74 9F 3C D4 EF BF 35 88  1024/8A04D15D 1998/08/26


Reply to: