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


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

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

Started byGreg Wooledge <wooledg@eeg.ccf.org>
First post2018-05-09 08:56 -0400
Last post2018-05-09 08:56 -0400
Articles 1 — 1 participant

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

This discussion starts older than the indexed window; earlier articles aren't shown. The article labeled Started by below is the oldest one visible, not the original post.


Contents

  Re: Bash 4.3.48 does not wrap lines with TERM=screen Greg Wooledge <wooledg@eeg.ccf.org> - 2018-05-09 08:56 -0400

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

FromGreg Wooledge <wooledg@eeg.ccf.org>
Date2018-05-09 08:56 -0400
SubjectRe: Bash 4.3.48 does not wrap lines with TERM=screen
Message-ID<mailman.13579.1525870652.27995.bug-bash@gnu.org>
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.

[toc] | [standalone]


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


csiph-web