Issue_0044 

Fuego 1.2 wiki

Login

Issue 0044

Summary
fix sersh to support busybox sh on the target board
Owner
Tim
Reporter
Dhinakar
Status
open
Priority
medium

Description [edit section]

If the combination of command and prompt are too long, then sersh does not work properly with 'busybox sh' on the target.

On the target (after installing busybox):

$ /bin/busybox sh
$ export PS1="root@beaglebone:busybox_sh_long_prompt $ "
Then on the host:
$ serio-test.sh ttyACM1

And I got the error message:

    Doing cleanup
    '
    ERROR: invalid literal for int() with base 10: '[ [&&serio_cmd_done&&]]'

Notes [edit section]

Note that there's a warning comment about this in the serio program source.

It appears to be something related to busybox echoing a line feed or carriage return in the middle of the response from the command that is executed by sersh.

backlink

Fuego Issues List

TBWiki engine 1.9.1 by Tim Bird