[vlc-devel] [PATCH] backslash-escaping for the telnet interface

Matthew Hodgson matthew at mxtelecom.com
Wed Nov 2 03:45:25 CET 2005


Hi all,

I thought it'd be useful to be able to include CRLFs in MRLs when 
controlling VLM from the telnet interface, and so came up with the 
following patch which allows for basic \-style escaping (currently, only 
LF and CRLF escaping is implemented).

Not sure how useful this might be for anyone else - and it doesn't provide 
support for --vlm-conf, so perhaps any unescaping code should be 
implemented in a new layer within vlm_ExecuteCommand() rather than within 
the telnet interface.  This is good enough for my purposes, however:

http://opensource.mxtelecom.com/vlc/vlc-telnet-unescape.patch

positive feedback, scorn, ridicule etc. welcome :)

M

--
______________________________________________________________
Matthew Hodgson   matthew at mxtelecom.com   Tel: +44 845 6667778
                 Systems Analyst, MX Telecom Ltd.

-- 
This is the vlc-devel mailing-list, see http://www.videolan.org/vlc/
To unsubscribe, please read http://developers.videolan.org/lists.html



More information about the vlc-devel mailing list