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