[RTEMS Project] #3859: No output from joel scripts in telnet

RTEMS trac trac at rtems.org
Thu Aug 6 06:47:29 UTC 2020


#3859: No output from joel scripts in telnet
-------------------------+--------------------------
 Reporter:  Chris Johns  |       Owner:  Chris Johns
     Type:  defect       |      Status:  reopened
 Priority:  normal       |   Milestone:  5.1
Component:  shell        |     Version:  5
 Severity:  normal       |  Resolution:
 Keywords:               |  Blocked By:
 Blocking:               |
-------------------------+--------------------------
Changes (by Sebastian Huber):

 * status:  closed => reopened
 * resolution:  fixed =>


Comment:

 The telnet shell
 {{{
 static void
 telnet_shell(char *name, void *arg)
 {
         rtems_shell_env_t env;

         memset(&env, 0, sizeof(env));

         env.devname = name;
         env.taskname = "TLNT";
         env.login_check = NULL;
         env.forever = false;

         rtems_shell_main_loop(&env);
 }
 }}}
 used in the libbsd test code is now broken:
 {{{
 telnet 169.254.140.254
 Trying 169.254.140.254...
 Connected to 169.254.140.254.
 Escape character is '^]'.
 invalid shell environment passed to the main loop)
 Connection closed by foreign host.
 }}}
 How should the code be instead?

--
Ticket URL: <http://devel.rtems.org/ticket/3859#comment:16>
RTEMS Project <http://www.rtems.org/>
RTEMS Project


More information about the bugs mailing list