[File] [PATCH] of Magdir/msdos Norton Commander module Message *.msg; Guide *.ng

Christos Zoulas christos at zoulas.com
Fri Sep 4 16:31:20 UTC 2020


Added, thanks!

christos

> On Sep 1, 2020, at 8:36 AM, Jörg Jenderek <joerg.jen.der.ek at gmx.net> wrote:
> 
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
> 
> Hello,
> some days ago i handled OS/2 help message *.msg.
> 
> Just for interest i look on my disc for other files with that file
> name extensions. Some are described as "data" by file command
> version 5.39.
> 
> Some are only found in directory where the Norton Commander was
> installed. So i know that such MSG samples are part of Norton
> Commander suite.
> 
> For most MSG example exist a DOS executable with same main name and
> file name extension EXE. The message file is used by executable to
> display text messages. If the message file is missing the
> corresponding program complains with "Unable to read message file".
> 
> For comparison reason i run the file format identification utility
> TrID ( See https://mark0.net/soft-trid-e.html). This describes
> such samples as Norton Commander module message (ENG) by definition
> file msg-nc-eng.trid.xml. So i add this reference as comment line
> inside Magdir/msdos by line like:
> # Ref: mark0.net/download/triddefs_xml.7z/defs/m/msg-nc-eng.trid.xml
> 
> It also list the used file name extension msg and with -v option the
> related URL pointing to Norton Commander page on Wikipedia. This is
> now expressed by additional comment line like
> # URL:		https://en.wikipedia.org/wiki/Norton_Commander
> 
> Characteristic for such message files is a typical ASCII phrase like
> Abort or Aborting like in NCVIEW.MSG at the beginning. That is
> expressed inside Magdir/msdos by magic line like
> 0 string	Abort
> 
> To skip ASCII Abort texts i look for specific error message like in
> sample NCVIEW.MSG. That second test line is like:
>> 6 search/7089	Non-DOS\ disk	Norton Commander module message
> 
> Afterwards show file name extension and a user defined mime type by
> additional lines like:
> !:mime	application/x-norton-msg
> !:ext	msg
> The messages seems to be separated by null bytes. Therefore such file
> s
> are not considered as ASCII text by file command.
> 
> I have only tested with Norton Commander versions DOS 5.50 English
> and PACKER.MSG of Windows 2.01 version. So i mention these facts in
> comment line.
> The German version of MSG files are not matched because the start
> with German word "Abbrechen" instead English "Abort".
> 
> I have inserted Norton MSG files after Norton Guide which are
> recognised by lines like:
> 0	string		NG\0\001
>> 2	ulelong		0x00000100	Norton Guide
> For Guide examples no mime type and file name extension are shown.
> So show user defined mime type and possible file name extensions by
> additional lines like:
> !:mime	application/x-norton-guide
> !:ext	ng/hlp
> 
> After applying the above mentioned modifications by patch
> file-5.39-msdos-norton.diff all Norton MSG samples are now
> recognized like:
> 
> NC.EXE:     MS-DOS executable
> NC.HLP:     Norton Guide "NC 5.5 Help a",
>            Copyright (C) 1986 to 1998,
>            Symantec Inc. July 1, 1998
> NC.MSG:     Norton Commander module message
> NCDD.EXE:   MS-DOS executable
> NCDD.MSG:   Norton Commander module message
> NCEDIT.EXE: MS-DOS executable
> NCEDIT.MSG: Norton Commander module message
> NCFF.EXE:   MS-DOS executable
> NCFF.MSG:   Norton Commander module message
> NCNET.EXE:  MS-DOS executable
> NCNET.MSG:  Norton Commander module message
> NCSF.EXE:   MS-DOS executable
> NCSF.MSG:   Norton Commander module message
> NCSI.EXE:   MS-DOS executable
> NCSI.MSG:   Norton Commander module message
> NCVIEW.MSG: Norton Commander module message
> NCZIP.EXE:  MS-DOS executable
> NCZIP.MSG:  Norton Commander module message
> PACKER.EXE: MS-DOS executable
> PACKER.MSG: Norton Commander module message
> 
> I hope my diff file can be applied in future version of file utility.
> 
> With best wishes
> Jörg Jenderek
> - --
> Jörg Jenderek
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> -----BEGIN PGP SIGNATURE-----
> Comment: Using GnuPG with Thunderbird - https://www.enigmail.net/
> 
> iF0EARECAB0WIQS5/qNWKD4ASGOJGL+v8rHJQhrU1gUCX05ARgAKCRCv8rHJQhrU
> 1npeAJ4zD+4caboqE5jb1QaCeRvqNVU5MwCfQvYKFi6BM8JuFn51X82ErKX5AzA=
> =PlDs
> -----END PGP SIGNATURE-----
> <file-5_39-msdos-norton_diff.DEFANGED-111274><file-5_39-msdos-norton_diff_sig.DEFANGED-111275>--
> File mailing list
> File at astron.com
> https://mailman.astron.com/mailman/listinfo/file
> <sanitizer.log>

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 235 bytes
Desc: Message signed with OpenPGP
URL: <https://mailman.astron.com/pipermail/file/attachments/20200904/11e64cbf/attachment-0001.asc>


More information about the File mailing list