From owner-freebsd-questions@freebsd.org Fri May 27 05:12:40 2016 Return-Path: Delivered-To: freebsd-questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id D209EB469D9 for ; Fri, 27 May 2016 05:12:40 +0000 (UTC) (envelope-from christofer.c.bell@gmail.com) Received: from mail-vk0-x234.google.com (mail-vk0-x234.google.com [IPv6:2607:f8b0:400c:c05::234]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 927CB1D12 for ; Fri, 27 May 2016 05:12:40 +0000 (UTC) (envelope-from christofer.c.bell@gmail.com) Received: by mail-vk0-x234.google.com with SMTP id k1so74495238vka.3 for ; Thu, 26 May 2016 22:12:40 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:from:date:message-id:subject:to; bh=vtB1M6D3SnMxjaPL4UfxHlYsVdmQAOn6GOAFloMeGmA=; b=ET5liweXRo3zw6KNno7McjBgUMWHy0HI5qICZIW2sro40Vg5h2RRHW4mOHmuO1Jq12 MBZ9j+hSzwQWvD62qaDwzlHDOtXb+4dXc7Y8lVScBGHfx3arn//BoVysP81jKs3o03NM kjHXn7g71L3RY5TsaTR3HUeM7+JmESY7MnlduSoHZTSSqQ/aLgqqj2b4wwGjNAwX2Anm mhzsSEflH87cCWGIZ3xY2t/mPSEIga4RuYcVwKOiNxJFugD+7m8Obaa5NVL9ZFC/IMAf o+ANi7e4VA6YND/3uvVgVosqP8Yl3iufMznOKXAwvXYbAusNPFEgGK6whTLK1LX1AHkz hcew== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to; bh=vtB1M6D3SnMxjaPL4UfxHlYsVdmQAOn6GOAFloMeGmA=; b=DVzbOWDpmvBRL5qMf0LYVKIlocNfYKYAapq//8/Dih64w8xuVALGy8rN4eznbdsnfM 2FfZvTsKjSXAUU5H7QZ3pg81z7xash7TetfKo/aDy0yZCANb63QH+RtVplMyl8dd+bN+ ps6UKaNXUcJsP0bWvgMFCeBBxLsgkZTNvTj6mlKN0Y1ZmHPR5AMDOFM2jTBWfMToe8+B LMHZtxHnxcB/BMHQz9AffcLovuOAac9tI9qLoDU99H4488lUjo36K8ebQtTo+O1XDI7h IfUFAvKfwC5a3i8+RvpXl+CuOzoc/oI1y5ZYTlfyOveE+z9V52KYibORtPTJtYj850Oj c+Bg== X-Gm-Message-State: ALyK8tLzt6/KOBwZxA3HRmULnQbGouJE/qViRoyKkCCoduzOuoyZv/6Xq+KQe1zx3FZ9w7vR+DcqzRTp+n5gBw== X-Received: by 10.176.3.230 with SMTP id 93mr7637936uau.108.1464325959526; Thu, 26 May 2016 22:12:39 -0700 (PDT) MIME-Version: 1.0 Received: by 10.31.46.18 with HTTP; Thu, 26 May 2016 22:12:20 -0700 (PDT) In-Reply-To: <20160525223658.GA31305@lime.woodcruft.co.uk> References: <20160525223658.GA31305@lime.woodcruft.co.uk> From: "Christofer C. Bell" Date: Fri, 27 May 2016 00:12:20 -0500 Message-ID: Subject: Re: ksh93, tmux, termcap problems To: Frank Shute , FreeBSD Questions Content-Type: text/plain; charset=UTF-8 X-Content-Filtered-By: Mailman/MimeDel 2.1.22 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.22 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 27 May 2016 05:12:40 -0000 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 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