xref: /freebsd/contrib/file/magic/Magdir/xwindows (revision 1c05a6ea6b849ff95e539c31adea887c644a6a01)
1
2#------------------------------------------------------------------------------
3# $File: xwindows,v 1.10 2017/03/17 21:35:28 christos Exp $
4# xwindows:  file(1) magic for various X/Window system file formats.
5
6# Compiled X Keymap
7# XKM (compiled X keymap) files (including version and byte ordering)
81	string	mkx				Compiled XKB Keymap: lsb,
9>0	byte	>0				version %d
10>0	byte	=0				obsolete
110	string	xkm				Compiled XKB Keymap: msb,
12>3	byte	>0				version %d
13>3	byte	=0				obsolete
14
15# xfsdump archive
160	string	xFSdump0			xfsdump archive
17>8	belong	x	(version %d)
18
19# Jaleo XFS files
200	long	395726				Jaleo XFS file
21>4	long	x				- version %d
22>8	long	x				- [%d -
23>20	long	x				\b%dx
24>24	long	x				\b%dx
25>28	long	1008				\bYUV422]
26>28	long	1000				\bRGB24]
27
28# Xcursor data
29# X11 mouse cursor format defined in libXcursor, see
30# http://www.x.org/archive/X11R6.8.1/doc/Xcursor.3.html
31# http://cgit.freedesktop.org/xorg/lib/libXcursor/tree/include/X11/Xcursor/Xcursor.h
320	string		Xcur		Xcursor data
33!:mime	image/x-xcursor
34>10	leshort		x		version %d
35>>8	leshort		x		\b.%d
36