Updated Rexec to handle setting of prompt to @@@ properly.