[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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

From: Chet Ramey
Subject: Re: Bash 4.3.48 does not wrap lines with TERM=screen
Date: Wed, 9 May 2018 09:21:03 -0400
User-agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.12; rv:52.0) Gecko/20100101 Thunderbird/52.7.0

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    address@hidden    http://tiswww.cwru.edu/~chet/

reply via email to

[Prev in Thread] Current Thread [Next in Thread]