xref: /freebsd/contrib/file/magic/Magdir/xwindows (revision bc96366c864c07ef352edb92017357917c75b36c)
1
2#------------------------------------------------------------------------------
3# $File: xwindows,v 1.9 2014/04/30 21:41:02 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