All of lore.kernel.org
 help / color / mirror / Atom feed
* Awkward line wrapping in bash
@ 2019-09-16  9:34 phodina
       [not found] ` <8bb3f05c-966b-4076-6593-d042bb8240ad@gmail.com>
  0 siblings, 1 reply; 8+ messages in thread
From: phodina @ 2019-09-16  9:34 UTC (permalink / raw)
  To: yocto


[-- Attachment #1.1: Type: text/plain, Size: 753 bytes --]

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

[-- Attachment #1.2: Type: text/html, Size: 1230 bytes --]

[-- Attachment #2: Screenshot 2019-09-16 at 09.55.24.png --]
[-- Type: image/png, Size: 32401 bytes --]

[-- Attachment #3: Screenshot 2019-09-16 at 10.11.39.png --]
[-- Type: image/png, Size: 22761 bytes --]

^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2019-10-03 18:44 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-09-16  9:34 Awkward line wrapping in bash phodina
     [not found] ` <8bb3f05c-966b-4076-6593-d042bb8240ad@gmail.com>
     [not found]   ` <6v81ntCcT70rvm2b8GwiRAeNSZSIEec-hUpr0hIN7HYR9RySExiu50vZaZM0jXSjiu2PYGbQ5mKn1e0cv3q13NlyJ5rwb6cdV0h1mpb9jXc=@protonmail.com>
2019-09-18 13:17     ` phodina
     [not found]       ` <bb902393-3fc3-6b68-f418-3c2a4d3b189c@gmail.com>
2019-09-19 15:43         ` phodina
2019-09-19 18:45           ` Randy MacLeod
2019-10-03 10:54             ` phodina
2019-10-03 18:43               ` Randy MacLeod
2019-09-20  1:44           ` ChenQi
2019-09-20  6:46           ` Robert Berger@yocto.user

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.