> When you cd in interactive mode rc(1) writes the path to the
> directory into /dev/wdir. This informs rio of your current dir
> so it can do the filename completion (and also gives the directory
> context to the plumber).
>
> I guess the @{ } "execute in a subshell" code in rc could save and restore
> the current directory, however this is only an issue in interactive mode.
> I have never needed @{ } interactively so I have not had this problem.

This saving&restoring seems flawed to me due to possible race-conditions...
I'd expect each shell had its own copy of /dev/wdir... But I may be
easily wrong...

> probably the best way to get things back in sync is:
>
>        cd `{pwd}
>
> -Steve

yes, that works
Ruda

Reply via email to