freebsd_amp_hwpstate/contrib/file/magic/Magdir/xwindows

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

44 lines
1.3 KiB
Plaintext
Raw Normal View History

#------------------------------------------------------------------------------
2022-07-04 00:05:11 +00:00
# $File: xwindows,v 1.13 2022/03/24 15:48:58 christos Exp $
# xwindows: file(1) magic for various X/Window system file formats.
2017-09-17 15:57:06 +00:00
# Compiled X Keymap
# XKM (compiled X keymap) files (including version and byte ordering)
1 string mkx Compiled XKB Keymap: lsb,
>0 byte >0 version %d
>0 byte =0 obsolete
0 string xkm Compiled XKB Keymap: msb,
>3 byte >0 version %d
2014-06-24 21:24:48 +00:00
>3 byte =0 obsolete
# xfsdump archive
0 string xFSdump0 xfsdump archive
>8 belong x (version %d)
# Jaleo XFS files
0 long 395726 Jaleo XFS file
2014-06-24 21:24:48 +00:00
>4 long x - version %d
>8 long x - [%d -
>20 long x \b%dx
>24 long x \b%dx
>28 long 1008 \bYUV422]
>28 long 1000 \bRGB24]
# Xcursor data
# X11 mouse cursor format defined in libXcursor, see
2019-11-10 03:44:32 +00:00
# https://www.x.org/archive/X11R6.8.1/doc/Xcursor.3.html
# https://cgit.freedesktop.org/xorg/lib/libXcursor/tree/include/X11/Xcursor/Xcursor.h
0 string Xcur Xcursor data
!:mime image/x-xcursor
2014-06-24 21:24:48 +00:00
>10 leshort x version %d
>>8 leshort x \b.%d
2022-01-03 01:44:41 +00:00
# X bitmap https://en.wikipedia.org/wiki/X_BitMap
0 search/2048 #define\040
>&0 regex [a-zA-Z0-9]+_width\040 xbm image
2022-07-04 00:05:11 +00:00
>>&0 regex [0-9]+ (%sx
2022-01-03 01:44:41 +00:00
>>>&0 string \n#define\040
>>>>&0 regex [a-zA-Z0-9]+_height\040
2022-07-04 00:05:11 +00:00
>>>>>&0 regex [0-9]+ \b%s)