Re: [RFC} New Commanline Syntax for Telnet interface

Bill Eldridge <[email protected]>
Newsgroups gmane.comp.video.videolan.vls.devel
Organization Radio Free Asia
Message-ID <[email protected]>
Tristan Leteurtre wrote:


> However, I hope this change of syntax will not be an big problem for
> people who use scripts that send telnet commands, such as the Bill
> Eldridge http interface, of the Perl/Tk manager.


My interface just passes the command straight through,
so shouldn't be a problem at all.

Also, I have some Python cgi's and commandline
scripts at http://techweb.rfa.org/staff/bill/videolan
that work directly with the existing telnet.cpp
interface - definitely easier than using telnet
directly.  I should add cookie support to save
username/password:

import Cookie, cgi

C=Cookie.SmartCookie()
form=cgi.FieldStorage()

....
if form.has_key("user"):
   C["user"]=form["user"].value
if form.has_key("password"):
   C["password"]=form["password"].value

print C.output()


Wow, that was tough....maybe I'll add it myself :)


-- 
Bill Eldridge
Radio Free Asia
[email protected]


-- 
This is the vls-devel mailing-list, see http://www.videolan.org/vls-devel/
To unsubscribe, please read http://www.videolan.org/lists.html
If you are in trouble, please contact <[email protected]>
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.