commit: Improve portable sample implementations for #'{put, get}-display-table