Opened 19 years ago
Closed 19 years ago
#1176 closed defect (fixed)
Initial "help" command in network control fails
Reported by: | Robert Kulagowski | Owned by: | cpinkham |
---|---|---|---|
Priority: | minor | Milestone: | unknown |
Component: | mythtv | Version: | |
Severity: | medium | Keywords: | |
Cc: | Ticket locked: | no |
Description
mythfrontend --version Library API version: 0.19.20060121-2 Source code version: 8808M Options compiled in: linux release using_v4l using_oss using_alsa using_arts using_ivtv using_lirc using_joystick_menu using_dvb using_dvb_eit using_x11 using_xv using_xrandr using_xvmc using_opengl_vsync using_frontend using_backend MythFrontend Network Control Type 'help' for usage information --------------------------------- # help INVALID usage, try 'help' for more info # help Valid Commands: --------------- jump - Jump to a specified location in Myth key - Send a keypress to the program play - Playback related commands query - Queries exit - Exit NetworkControl Type 'help COMMANDNAME' for help on any specific command.
Change History (4)
comment:1 Changed 19 years ago by
comment:2 Changed 19 years ago by
I'm compiling now.
To reproduce, I was using putty on Windows XP in telnet mode, and connecting to the IP address and the port.
Is telnet / putty sending cruft as a part of the initial handshake to negotiate window size, etc, which is being interpreted by network control as a command?
comment:3 Changed 19 years ago by
Yep, just as I thought:
MythFrontend Network Control Type 'help' for usage information --------------------------------- # help INVALID command 'ÿûÿû', try 'help' for more info # help Valid Commands: --------------- jump - Jump to a specified location in Myth key - Send a keypress to the program play - Playback related commands query - Queries exit - Exit NetworkControl Type 'help COMMANDNAME' for help on any specific command. #
Note: See
TracTickets for help on using
tickets.
(In [8811]) Print out a little more verbose error message when NetworkControl? receives an invalid command. References #1176.
RE: 1176, I think there may be garbage in the input buffer that isn't purged before reading the first command. This patch should help identify the problem.