From: Christos Zoulas Date: Sun, 21 Jan 2018 03:26:33 +0000 (+0000) Subject: new terminfo-2 entry from Thomas Dickey X-Git-Tag: FILE5_33~33 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=8f8d2c04892f58781f32907e4032dbac59df8625;p=file new terminfo-2 entry from Thomas Dickey --- diff --git a/magic/Magdir/terminfo b/magic/Magdir/terminfo index 43e9d431..c0c4ee25 100644 --- a/magic/Magdir/terminfo +++ b/magic/Magdir/terminfo @@ -1,6 +1,6 @@ #------------------------------------------------------------------------------ -# $File: terminfo,v 1.9 2017/04/28 16:28:58 christos Exp $ +# $File: terminfo,v 1.10 2018/01/21 03:26:33 christos Exp $ # terminfo: file(1) magic for terminfo # # URL: http://invisible-island.net/ncurses/man/term.5.html @@ -19,6 +19,17 @@ # no extension #!:ext # +#------------------------------------------------------------------------------ +# The following was added for ncurses6 development: +#------------------------------------------------------------------------------ +# +0 string \036\002 +# imitate the legacy compiled-format, to get the entry-name printed +>16 ubyte >32 +# namelist, if more than 1 separated by "|" like "st|stterm| simpleterm 0. 4.1" +>>12 regex \^[a-zA-Z0-9][a-zA-Z0-9.][^|]* Compiled 32-bit terminfo entry "%-s" +!:mime application/x-terminfo2 +# # While the compiled terminfo uses little-endian format irregardless of # platform, SystemV screen dumps do not. They came later, and that detail was # overlooked.