xref: /freebsd/contrib/file/magic/Magdir/editors (revision 43a5ec4eb41567cc92586503212743d89686d78f)
1b6cee71dSXin LI
2b6cee71dSXin LI#------------------------------------------------------------------------------
3*43a5ec4eSXin LI# $File: editors,v 1.12 2020/10/11 20:28:07 christos Exp $
4b6cee71dSXin LI# T602 editor documents
5b6cee71dSXin LI# by David Necas <yeti@physics.muni.cz>
6b6cee71dSXin LI0	string	@CT\ 	T602 document data,
7b6cee71dSXin LI>4	string	0	Kamenicky
8b6cee71dSXin LI>4	string	1	CP 852
9b6cee71dSXin LI>4	string	2	KOI8-CS
10b6cee71dSXin LI>4	string	>2	unknown encoding
11b6cee71dSXin LI
12b6cee71dSXin LI# Vi IMproved Encrypted file
13b6cee71dSXin LI# by David Necas <yeti@physics.muni.cz>
14*43a5ec4eSXin LI# updated by Osman Surkatty
15b6cee71dSXin LI0	string	VimCrypt~	Vim encrypted file data
16*43a5ec4eSXin LI>9	string	01!		with zip cryptmethod
17*43a5ec4eSXin LI>9	string	02!		with blowfish cryptmethod
18*43a5ec4eSXin LI>9	string	03!		with blowfish2 cryptmethod
19a5d223e6SXin LI
20a5d223e6SXin LI0	name	vimnanoswap
21a5d223e6SXin LI>67	byte	0
22a5d223e6SXin LI>>107	byte	0
23a5d223e6SXin LI#>>>2	string	x	%s swap file
24a5d223e6SXin LI>>>24	ulelong	x	\b, pid %d
25a5d223e6SXin LI>>>28	string	>\0	\b, user %s
26a5d223e6SXin LI>>>68	string	>\0	\b, host %s
27a5d223e6SXin LI>>>108	string	>\0	\b, file %s
28a5d223e6SXin LI>>>1007	byte	0x55	\b, modified
29a5d223e6SXin LI
30b6cee71dSXin LI# Vi IMproved Swap file
31b6cee71dSXin LI# by Sven Wegener <swegener@gentoo.org>
32b6cee71dSXin LI0	string  b0VIM\ 		Vim swap file
33b6cee71dSXin LI>&0	string  >\0		\b, version %s
34a5d223e6SXin LI>0	use	vimnanoswap
35a5d223e6SXin LI
36a5d223e6SXin LI
37a5d223e6SXin LI# Lock/swap file for several editors, at least
38a5d223e6SXin LI# Vi IMproved and nano
39a5d223e6SXin LI0	string	b0nano		Nano swap file
40a5d223e6SXin LI>0	use	vimnanoswap
41a5d223e6SXin LI
42a5d223e6SXin LI# kate (K Advanced Text Editor)
43a5d223e6SXin LI0	string	\x00\x00\x00\x12Kate\ Swap\ File\ 2.0\x00	Kate swap file
44