Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > gnu.bash.bug > #14099

Re: Bash 4.3.48 does not wrap lines with TERM=screen

From Nikolay Nikolov <nikolay.bozh.nikolov@gmail.com>
Newsgroups gnu.bash.bug
Subject Re: Bash 4.3.48 does not wrap lines with TERM=screen
Date 2018-05-09 14:05 +0000
Message-ID <mailman.13584.1525885400.27995.bug-bash@gnu.org> (permalink)
References <CAESsQtEceWW3zDngw49a6xjc6vjf2R26Gz+uzi9oXYNSUanCog@mail.gmail.com> <58d14bd5-0852-9fa8-e5c2-1ae16a3a9d35@case.edu>

Show all headers | View raw


Hi Chet,

Yeah, that's the problem indeed. I just was not entirely sure if it is some
internal bug in bash, or it is something external that I can possibly fix.
Thanks

On Wed, May 9, 2018 at 3:21 PM Chet Ramey <chet.ramey@case.edu> wrote:

> On 5/9/18 6:28 AM, Nikolay Nikolov wrote:
> > Hi, I have bash 4.3.48 and I use konsole as terminal emulator. The
> default
> > value is TERM=xterm. However, I want to use tmux and it requires that the
> > TERM value should be either screen or screen-256colors. The problem is
> that
> > as soon TERM is set to screen, bash stops wrapping long commands to the
> > next line. To be clear, outside tmux I keep TERM=xterm. However, to make
> > sure the problem is in bash, I temporarily set TERM=screen without
> starting
> > tmux and line wrapping indeed stopped working, which confirms this is a
> > bash problem and not tmux.
> >
> > How do I make line-wrapping work in bash and TERM=screen or
> > TERM=screen-256color? I was able to test on a VM and bash 4.4 does NOT
> seem
> > to have this problem. However, on the machine that I use I cannot update
> > bash.
>
> If it's a problem with bash-4.3, but fixed in bash-4.4, and you can't
> update bash, you're kind of stuck, right?
>
> --
> ``The lyf so short, the craft so long to lerne.'' - Chaucer
>                  ``Ars longa, vita brevis'' - Hippocrates
> Chet Ramey, UTech, CWRU    chet@case.edu    http://tiswww.cwru.edu/~chet/
>

Back to gnu.bash.bug | Previous | Next | Find similar | Unroll thread


Thread

Re: Bash 4.3.48 does not wrap lines with TERM=screen Nikolay Nikolov <nikolay.bozh.nikolov@gmail.com> - 2018-05-09 14:05 +0000

csiph-web