[yocto] Awkward line wrapping in bash

phodina phodina at protonmail.com
Mon Sep 16 02:34:33 PDT 2019


Hi,

I would like to ask for a help with an awkward behavior of line wrap in bash built using Yocto (thud release). When I connect over serial line, I get strange line wrapping.

The line keeps wrapping on the first line. Here is the environment:

guest@:ebox~ # printenv
LANG=C
EDITOR=vi
HZ=100
HUSHLOGIN=FALSE
USER=root
PWD=/home/root
HOME=/home/root
SHELL=/bin/sh
TERM=linux
SHLVL=1
LOGNAME=root
PATH=/usr/local/bin:/usr/bin:/bin:/usr/local/sbin:/usr/sbin:/sbin
PS1=guest@:ebox\w \033[96m# \033[0m
_=/bin/printenv

I looked for solution and the best direction seems to be run with clean environment env -i bash --norc --noprofile

And the env:
bash-4.4# printenv
PWD=/home/root
SHLVL=1
_=/bin/printenv

Thank you in advance.

Kind regards
Petr Hodina
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.yoctoproject.org/pipermail/yocto/attachments/20190916/a6e74f48/attachment-0001.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: Screenshot 2019-09-16 at 09.55.24.png
Type: image/png
Size: 32401 bytes
Desc: not available
URL: <http://lists.yoctoproject.org/pipermail/yocto/attachments/20190916/a6e74f48/attachment-0002.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: Screenshot 2019-09-16 at 10.11.39.png
Type: image/png
Size: 22761 bytes
Desc: not available
URL: <http://lists.yoctoproject.org/pipermail/yocto/attachments/20190916/a6e74f48/attachment-0003.png>


More information about the yocto mailing list