add groff package, fix portability issue in prompt