Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 27 May 2016 00:12:20 -0500
From:      "Christofer C. Bell" <christofer.c.bell@gmail.com>
To:        Frank Shute <frank@woodcruft.co.uk>,  FreeBSD Questions <freebsd-questions@freebsd.org>
Subject:   Re: ksh93, tmux, termcap problems
Message-ID:  <CAOEVnYtFui7Oetv6o%2BYRdOfcQw7QVsRu%2B24VTMBa=EfxPa-tvA@mail.gmail.com>
In-Reply-To: <20160525223658.GA31305@lime.woodcruft.co.uk>
References:  <20160525223658.GA31305@lime.woodcruft.co.uk>

next in thread | previous in thread | raw e-mail | index | archive | help
Frank,

This may not be the solution you're looking for, but I simply alias tmux to
"TERM=xterm tmux" now.  It's solved the issue for me.  It's just a work
around but hopefully is helpful.

On Wed, May 25, 2016 at 5:36 PM, Frank Shute <frank@woodcruft.co.uk> wrote:

>
> Hi,
>
> I seem to be having problems using ksh93 as my shell in tmux running on an
> xterm. The problem being when my command is longer than one line. It just
> executes the command when it hits the end of the line, instead of
> getting the value of PS2 at the start of the next line and the command
> continuing.
>
> I did a bit of grovelling around and I came across somebody who had a
> similar
> problem with bash and tmux. (I don't think it was on FreeBSD though).
> Somebody
> suggested it was a termcap problem.
>
> Of course, when running tmux it sets TERM=screen
>
> Anybody know how to fix this? TIA.
>
> Regards,
>
> --
>
> Frank
>
>
> _______________________________________________
> freebsd-questions@freebsd.org mailing list
> https://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to "
> freebsd-questions-unsubscribe@freebsd.org"
>



-- 
Chris

"If you wish to make an apple pie from scratch, you must first invent the
Universe." -- Carl Sagan



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAOEVnYtFui7Oetv6o%2BYRdOfcQw7QVsRu%2B24VTMBa=EfxPa-tvA>