[File] [PATCH] Magdir/windows for Remote Desktop Protocol connection *.rdp

FC Stegerman flx at obfusk.net
Sat Feb 18 23:43:01 UTC 2023


* Jörg Jenderek <joerg.jen.der.ek at gmx.net> [2023-02-18 23:30]:
> Default-1.rdp: ASCII text, with CRLF line terminators
> Default.rdp:   ASCII text, with CRLF line terminators
[...]
>  0 string screen\040mode\040id:i: Remote Desktop Protocol connection
>  !:mime	text/x-ms-rdp
>  !:ext	rdp
>  >17	string	1			\b, window mode
>  >17	string	2			\b, full screen mode
[...]
> Default-1.rdp: Remote Desktop Protocol connection, full screen mode
> Default.rdp:   Remote Desktop Protocol connection, full screen mode

Aren't these still text files?  Even the MIME type starts with text/.
But the string test is classified as binary, so file now recognises
them as binary instead of text.  Maybe use string/t to avoid that?

- FC


More information about the File mailing list