reformat PROMPT and RPROMPT