return status to ps1, improved line wrapping.