Issue_0044 

Fuego 1.1 wiki

Login or create account

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.8.3 by Tim Bird