fix bug in prompt display
Merge branch 'master' into 12.04