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