> As I wrote in my initial mail, 'cd .' does not help. pwd >/dev/wdir
cd . works for fixing acme's tag (if your cd runs awd) but not for fixing /dev/wdir, because rc just writes the argument to cd uninterpreted into /dev/wdir, and /dev/wdir interprets paths relative to the current wdir setting. It's a hard problem in general, since the shell has no idea whether the program that just ran changed /dev/wdir. The only way to keep it in sync would be to force the shell to write into /dev/wdir after every command completed, which would be overkill. Russ