Multiple telnet sessions

Brett Swimley brett.swimley at
Thu May 17 15:35:02 UTC 2007


I'm working on a telnet like server for a Python interpreter (which I'm 
hoping to post on the wiki) and am running into some problems.

I thought I would go back to the basics and work with the telnetd server 

I have initialized as follows:

   * Just in case we may want to telnet to the application.
  rtems_pty_maximum_ptys = 10;
  rtems_io_register_driver( 0, &pty_driver_address_table, &pty_major );
  rtems_telnetd_main(0, NULL);

Things work OK until I get multiple telnet sessions running.  Then, 
typing text into the first session causes an exception in 
_Thread_Dispatch() in _CPU_Context_restore_fp() (which may be an 
artifact of another issue).

Has anyone run multiple telnet sessions concurrently?  Am I setting up 
the pty driver correctly?

Thanks in advance,

Brett Swimley

More information about the users mailing list