bug-bash
[Top][All Lists]
Advanced

[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: Greg Wooledge
Subject: Re: Bash 4.3.48 does not wrap lines with TERM=screen
Date: Wed, 9 May 2018 08:56:51 -0400
User-agent: NeoMutt/20170113 (1.7.2)

On Wed, May 09, 2018 at 10:28:57AM +0000, 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.

Usually this means bash/readline can't find the terminfo data for
your $TERM.  What does "infocmp screen" tell you?

If your operating system is missing the terminfo data for "screen",
you can install it yourself.  If your OS vendor doesn't already provide
it in a package of some kind, you can always copy it from another
system that does have it.  On the system that has it, run:

infocmp screen > screen.ti

Then transfer this file to the system that needs it, and run:

tic screen.ti

(Preferably as root, to get it installed system-wide, but if you can
only do it as yourself, it'll install into your home directory, and
then it should work for just you.)

Of course, this entire response assumes you have a system that uses
terminfo, not termcap.  If you're stuck on a termcap system, well,
uh, good luck with that.



reply via email to

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