<div dir="ltr">The core issue:<div>The busybox resize command breaks the eclipse ssh debug stream.  This is because the resize command for busybox sends a set of cursor control escape sequences to stderr. The resize cfg was added to Krogoth and is still in master.  The point of resize is to set the environment and terminal settings to the current xterm window size.</div><div><br></div><div>Additional complexity:</div><div>eclipse-debug is an IMAGE_FEATURE.  If it is turned on by a user in local.conf via EXTRA_IMAGE_FEATURES then I can conditionally turn off busybox/resize in the cfg file.  Unfortunately, if a user makes a new image with IMAGE_FEATURES += &quot; eclipse-debug &quot; in it, I do not see this from the scope of the busybox##.bb recipe.</div><div><br></div><div>So, there are a couple of ways to solve this and I&#39;m not sure which is the best one.</div><div><br></div><div>1) conditionally turn off the resize.cfg if eclipse-debug is in extra-image-features.  Also, make a rm_resize.bbclass to rm the usr/bin/resize from the rootfs in a do_rootfs[postfuncs] which can be inherited by the various sdk images we build.</div><div><br></div><div>This is problematic since if a user makes a new image recipe of their own and includes eclipse-debug but doesn&#39;t inherit the rm_resize.bbclass eclipse debug will fail.</div><div><br></div><div>2) elevate eclipse-debug to a distro feature which would make it visible to the busybox###.bb recipe.  Unfortunately, it is really an image specific set of packages to be included so elevating it doesn&#39;t seem reasonable.</div><div><br></div><div>3) Â  use the update-alternatives method (busybox is currently doing this for syslog) to make a separate busybox-resize package and make an eclipse friendly resize package that is empty and add the eclipse one to the eclipse-debug packagegroup.</div><div><br></div><div>4) Just turn off resize or patch it so it doesn&#39;t try to control the cursor via escape sequences sent to stderr but still sets up the environment.  It&#39;s worth noting that the ubuntu Â resize doesn&#39;t send escape sequences to any of the streams.</div><div><br></div><div>5) Something else?</div><div><br></div><div>Thanks,</div><div>Brian</div><div>an Intel employee</div><div><br></div><div> </div></div>