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

RTEMS trac trac at rtems.org
Fri Aug 7 07:49:21 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:  blocker      |  Resolution:
 Keywords:               |  Blocked By:
 Blocking:               |
-------------------------+--------------------------

Comment (by Chris Johns):

 I have a pretty good handle (hah pun intended) on these handles. I will
 try and take a look.

 The parent handles are the wrapper of the shell env. For example they are
 global handles for a console shell. With `telnetd` they are the session
 handles. If you run a `joel` script they are ones used:
 {{{
 [/] # cat j
 #! joel
 ls -las /
 cat /j
 [/] # ./j
 total 6
 0 drwxr-xr-x   1 root  root   6160 Jan  1  1988 dev
 0 drwxr-xr-x   1 root  root   2240 Jan  1  1988 etc
 0 -rwxrwxrwx   1 root  root     31 Jan  1  1988 j
 1 drwx--x--x   3 root  root    512 Jan  1  1988 ram
 0 drwxr-xr-x   1 root  root      0 Jan  1  1988 tmp
 0 drwxr-xr-x   1 root  root    280 Jan  1  1988 var
 #! joel
 ls -las /
 cat /j
 }}}
 The threads that run the `joel` script inherit the telnet session
 handlers.

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


More information about the bugs mailing list