This script searches terminfo entries and print its information.
Technically, it does the same as the 1-liner below does.
infocmp -1x | grep 'OA' \
| sed 's/^ *//' | tee /dev/tty | sed 's/=.*$//' \
| xargs -l sh -c 'man 5 terminfo | grep -F " $0 "'