Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Reverse terminfo entry lookup
- =============================
- What's this
- -----------
- 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 "'
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement