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


Groups > gnu.bash.bug > #14096 > unrolled thread

Bash 4.3.48 does not wrap lines with TERM=screen

Started byNikolay Nikolov <naikinnn@gmail.com>
First post2018-05-09 10:28 +0000
Last post2018-05-09 10:28 +0000
Articles 1 — 1 participant

Back to article view | Back to gnu.bash.bug


Contents

  Bash 4.3.48 does not wrap lines with TERM=screen Nikolay Nikolov <naikinnn@gmail.com> - 2018-05-09 10:28 +0000

#14096 — Bash 4.3.48 does not wrap lines with TERM=screen

FromNikolay Nikolov <naikinnn@gmail.com>
Date2018-05-09 10:28 +0000
SubjectBash 4.3.48 does not wrap lines with TERM=screen
Message-ID<mailman.13577.1525866200.27995.bug-bash@gnu.org>
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.

For reference, my ~/.bashrc contains:

export PS1="\[\e[1;92m\]\u@\h: \w \$ \[\e[m\]"
export PS2="> "

It is the first time I am using this mailing list, apologies if this is not
the right place to post.

Best,
niko

[toc] | [standalone]


Back to top | Article view | gnu.bash.bug


csiph-web