From 6f9aa4564d77001ecc37b48b8817226b6dd93c1a Mon Sep 17 00:00:00 2001 From: Christos Zoulas Date: Mon, 18 Jul 2016 17:44:49 +0000 Subject: [PATCH] merge vim/nano entries (Christoph Biedl) --- magic/Magdir/editors | 33 ++++++++++++++++++++++----------- 1 file changed, 22 insertions(+), 11 deletions(-) diff --git a/magic/Magdir/editors b/magic/Magdir/editors index 78c1524f..fa6cbc64 100644 --- a/magic/Magdir/editors +++ b/magic/Magdir/editors @@ -1,6 +1,6 @@ #------------------------------------------------------------------------------ -# $File: editors,v 1.9 2016/07/18 11:55:11 christos Exp $ +# $File: editors,v 1.10 2016/07/18 17:44:49 christos Exp $ # T602 editor documents # by David Necas 0 string @CT\ T602 document data, @@ -12,17 +12,28 @@ # Vi IMproved Encrypted file # by David Necas 0 string VimCrypt~ Vim encrypted file data + +0 name vimnanoswap +>67 byte 0 +>>107 byte 0 +#>>>2 string x %s swap file +>>>24 ulelong x \b, pid %d +>>>28 string >\0 \b, user %s +>>>68 string >\0 \b, host %s +>>>108 string >\0 \b, file %s +>>>1007 byte 0x55 \b, modified + # Vi IMproved Swap file # by Sven Wegener -0 string b0VIM\ Vim swap file ->&0 string >\0 \b, version %s +0 string b0VIM\ Vim swap file +>&0 string >\0 \b, version %s +>0 use vimnanoswap + +# Lock/swap file for several editors, at least +# Vi IMproved and nano +0 string b0nano Nano swap file +>0 use vimnanoswap -# nano lock file -0 string b0nano ->2 string x %s lock file ->24 uleshort x \b, pid %d ->28 string >\0 \b, user %s ->68 string >\0 \b, host %s ->108 string >\0 \b, file %s ->1007 byte 0x55 \b, modified +# kate (K Advanced Text Editor) +0 string \x00\x00\x00\x12Kate\ Swap\ File\ 2.0\x00 Kate swap file -- 2.40.0