[yocto] Awkward line wrapping in bash

phodina phodina at protonmail.com
Thu Oct 3 03:54:48 PDT 2019


Hi,

so I managed to minimize the build image and run it in QEMU. Now I build only poky, open-embedded and our own layer, containing minimal reciepes. The problem with the awkward line wrapping is still present. Sometimes it doesn't come up until I change the size of terminal window.

More interesting is that if I run `busybox sh` the issue is not present and the line wraps correctly.

The issue happens with ssh as well as serial.

I tried to install the `xterm` pkg which has `resize` binary for changing the terminal window size, but without any luck.

Kind regards
Petr


Sent with ProtonMail Secure Email.

‐‐‐‐‐‐‐ Original Message ‐‐‐‐‐‐‐
On Thursday, September 19, 2019 8:45 PM, Randy MacLeod <randy.macleod at windriver.com> wrote:

> On 9/19/19 11:43 AM, phodina wrote:
>
> > Hi,
> > based on André recommendation I commented out the PS1 variable and now I get `-sh-4.4#` for the prompt. I also checked and nothing is overwriting the variable.
> > But I tried to change the size of the shell by using `stty cols 100 rows 40` as well as different sizes (smaller and bigger than 80 columns), but the amount of characters I get on the line stays at 81 followed by carrige return. However if I record the session with `script` I get the correct amount of characters per line.
>
> If you are able to reproduce this proble on the master, or a
> stable (1) branch with one of the supported qemu or HW BSPs (2),
> please open a defect in:
> https://bugzilla.yoctoproject.org/
>
> Please report the branch, what layers you are using (hopefully you
> can reproduce it with just oe-core/poky + a HW layer) and
> with a standard image.
>
> ../Randy
>
> (1) https://wiki.yoctoproject.org/wiki/Releases
>
> (2):
> The list here is a good start, I'm not sure about the FSL support and
> I suspect that minnow board is no longer relevant.
>
> https://bugzilla.yoctoproject.org/describecomponents.cgi?product=BSPs
>
> If your hardware isn't listed, and you can't reproduce the issue
> in qemu or supported HW, you should contact your HW supplier.
>
> --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
>
> Randy MacLeod
>
> ==============
>
> Wind River Linux
>
> =================




More information about the yocto mailing list