Re: [yocto] Awkward line wrapping in bash

2019-10-03 Thread Randy MacLeod
On 10/3/19 6:54 AM, phodina wrote: 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 recipes. The problem with the awkward line wrapping is still present. Sometimes it doesn't come up until I change the

Re: [yocto] Awkward line wrapping in bash

2019-09-20 Thread Robert ber...@yocto.user
Hi, Is your problem of line wrapping only on the serial console, or also on an ssh session? Which version of Yocto do you use? systemd or sys-v? Regards, Robert On 19/09/2019 17:43, phodina wrote: Hi, based on André recommendation I commented out the PS1 variable and now I get

Re: [yocto] Awkward line wrapping in bash

2019-09-19 Thread ChenQi
How about using `tput smam'? Regards, Chen Qi On 09/19/2019 11:43 PM, 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

Re: [yocto] Awkward line wrapping in bash

2019-09-19 Thread Randy MacLeod
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

Re: [yocto] Awkward line wrapping in bash

2019-09-19 Thread phodina
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

[yocto] Awkward line wrapping in bash

2019-09-18 Thread phodina
Hi, so I tried the PS1 prompt as suggested by André and it worked at that time on the booted system. So I changed the configuration in /etc/profile, built and flashed the system. Unfortunately it’s not working and I get the same issue - the line wrapping. Here is the content of the

[yocto] Awkward line wrapping in bash

2019-09-16 Thread phodina
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