terminfo 864 B

123456789101112131415161718192021222324
  1. #------------------------------------------------------------------------------
  2. # $File: terminfo,v 1.7 2016/03/17 21:02:29 christos Exp $
  3. # terminfo: file(1) magic for terminfo
  4. #
  5. # XXX - byte order for screen images?
  6. #
  7. # URL: https://en.wikipedia.org/wiki/Terminfo
  8. # Reference: ncurses-5.9/ncurses/tinfo/write_entry.c
  9. # Update: Joerg Jenderek
  10. #
  11. # GRR: line below too general as it catches also
  12. # Targa image type 1 with 26 long identification field
  13. # and HELP.DSK
  14. 0 string \032\001
  15. # 5th character of terminal name list, but not Targa image pixel size (15 16 24 32)
  16. >16 ubyte >32
  17. # namelist, if more than 1 separated by "|" like "st|stterm| simpleterm 0.4.1"
  18. >>12 regex \^[a-zA-Z0-9][a-zA-Z0-9.][^|]* Compiled terminfo entry "%-s"
  19. !:mime application/x-terminfo
  20. # no extension
  21. #!:ext
  22. 0 short 0433 Curses screen image
  23. 0 short 0434 Curses screen image