[mythtv] [mythtv-commits] Ticket #1176: Initial "help" command in

Daniel Kristjansson danielk at cuymedia.net
Wed Feb 1 16:33:05 UTC 2006


On Wed, 2006-02-01 at 11:15 -0500, Chris Pinkham wrote:
> > #1176: Initial "help" command in network control fails
> > ----------------------+-----------------------------------------------------
> >  Reporter:  rkulagow  |        Owner:  cpinkham
> 
> >  # help
> >  INVALID command 'ÿûÿû', try 'help' for more info
> 
> I'm probably going to fix this by filtering the input.  I don't think
> that I can safely flush the input queue for a new connection to catch
> this because we could have a client that just opens a connection and
> immediately sends a command like the guys who have been talking about
> using php in MythWeb to control the frontend.  I should be able to
> get a fix in for this tonight sometime.  I have putty so I should be
> able to reproduce the issue and verify the fix.

This is probably putty trying to negotiate terminal parameters:
  http://www.faqs.org/rfcs/rfc854.html
You can ignore all of them, which indicates that you will do whatever
the telnet client is expecting you to be doing.

This is safe 99% of the time because all it is asking you to do is
accept character-by-character input rather than line-by-line input,
and it's requesting that you echo back the characters sent to you.
These are not the telnet defaults, so in order to get the behavior
expected by terminal users today these commands must be sent by the
telnet client.

-- Daniel



More information about the mythtv-dev mailing list