Advertisement
Guest User

Untitled

a guest
Dec 21st, 2014
178
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.35 KB | None | 0 0
  1.  
  2. Reverse terminfo entry lookup
  3. =============================
  4.  
  5. What's this
  6. -----------
  7.  
  8. This script searches terminfo entries and print its information.
  9.  
  10. Technically, it does the same as the 1-liner below does.
  11.  
  12. infocmp -1x | grep 'OA' \
  13. | sed 's/^ *//' | tee /dev/tty | sed 's/=.*$//' \
  14. | xargs -l sh -c 'man 5 terminfo | grep -F " $0 "'
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement