X-Recipient: archive-cygwin@delorie.com
DomainKey-Signature: a=rsa-sha1; c=nofws; d=sourceware.org; h=list-id
	:list-unsubscribe:list-subscribe:list-archive:list-post
	:list-help:sender:message-id:date:from:references:to:subject
	:content-type; q=dns; s=default; b=bSfLnSbYOKu+jQuB7vKOjX6G26YVg
	qzODsvrSbAbK+pSi9Y8/X3RCjI05QohuMWoCMNnD+A455hXgKSPOkQH/ZljkmYq3
	OAQ9x2A15w1yhg3XvMCZqgPcB39cH2i+KvbwH2RS5AO64WagNY/oNNfsZ+aLU/2A
	Ikfwo78aKveO0Q=
DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=sourceware.org; h=list-id
	:list-unsubscribe:list-subscribe:list-archive:list-post
	:list-help:sender:message-id:date:from:references:to:subject
	:content-type; s=default; bh=XCYCPWuurYgTN0tthq4OKT62Jck=; b=H14
	nEC8aMM+eXaTH9UC6r+gH8svzRT+Wg2dysvXl9xMexsZt4Tfy9t/JXjPj/9IexTW
	2MdNQfm/ndzZQFfk6fPPU7rKMT8qtW32Jm56S7Z+fxPL0mbtrAfmGLJvhwLEYVgU
	Gc3wzJ3bBp6d1c+ctozdpTjVqTaunkLsxH0O7qPA=
Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe@cygwin.com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin@cygwin.com>
List-Help: <mailto:cygwin-help@cygwin.com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner@cygwin.com
Mail-Followup-To: cygwin@cygwin.com
Delivered-To: mailing list cygwin@cygwin.com
Authentication-Results: sourceware.org; auth=none
X-Virus-Found: No
X-Spam-SWARE-Status: No, score=-1.9 required=5.0 tests=BAYES_00,FREEMAIL_FROM,RCVD_IN_DNSWL_NONE,SPF_PASS autolearn=ham version=3.3.2 spammy=crops, H*M:google, H*UA:github.com
X-HELO: mail-oi0-f43.google.com
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;        d=1e100.net; s=20161025;        h=x-gm-message-state:message-id:date:from:references:to:subject         :user-agent;        bh=ffJEKpLWnEyYYS41jOQkNzBeliTFMINx2gB57iL+wkw=;        b=W4iUfweCYaz34PZvyX3Nb0at2RnjOt/G0WI/ShEfK6jysTd80PFpZhkOiNuJqAyHQ+         xWqn+Foi8/RD6cczTsUYZAyjJOLCOcqxtLOxNZPmK+sINX7z/5bpjT0v3UxjcKaUST3t         uvMNIolJeWZC4BszoezoTjx7ulf2z8mPJWwW7PL8oxN9SQvOPYuxNZy9/LURiWTtWuWk         pWGdvro2IL4dOXKpRyZziVo6ma67zIWuD7jGg+Lfu4HpLZcKjI0/+lrGnewD9L7YzwXB         cSFKbTOBXrrC0jCPXnkiefwUbxlMOgRqD4k+CwG8pM+r+7YJr1am6INvgyCusWT3RG8V         vmRA==
X-Gm-Message-State: AKGB3mJLdAn+Gnv2WFqw1dpfoEAYrGD2aURj15ZTNWiulWHpxYxJqP/v	l41thzXFFz+R3XW0LN1lMV6BjA==
X-Google-Smtp-Source: ACJfBovkO3rH0WzJIoeVGKCKkvWIJGxmqca4y1KIjbkgo9/VBgjef+Xi8CrdSaVWbqC8QHYlkYrW7A==
X-Received: by 10.202.71.67 with SMTP id u64mr29190600oia.317.1514845498364;        Mon, 01 Jan 2018 14:24:58 -0800 (PST)
Message-ID: <5a4ab539.ab299d0a.71bcb.ac0f@mx.google.com>
Date: Mon, 01 Jan 2018 14:24:57 -0800 (PST)
From: Steven Penny <svnpenn@gmail.com>
X-Google-Original-From: Steven Penny
References: <5a49da2a.74109d0a.82d07.8291@mx.google.com>
To: cygwin@cygwin.com
Subject: Re: Console buffer width always 1 column less than setting
Content-Type: text/plain; charset=utf8; format=flowed
User-Agent: Tryst/2.0.1 (github.com/svnpenn/tryst)

On Sun, 31 Dec 2017 22:50:18, Steven Penny wrote:
> any terminal using "xenl" - not sure what a workaround for this is other than
> dont use "xenl" and deal with the missing column per the original issue.

The problem is with how readline processes input [1], as you can:

    echo <some long string>

and it will use the full 80 columns, it is only if you are pasting that the
problem crops up. A workaround is to use 2 terminals, one for readline and one
for less (man). For the readline terminal, you need one that has "xenl".
"screen.Eterm" (case sensitive) is pretty close to the default "cygwin", or can
make your own per my previous post [2]. For the less terminal, you can just use
the default "cygwin" terminal or a custom terminal. To implement, add this to
"~/.profile" or similar:

    TERM=screen.Eterm
    export PAGER='env TERM=cygwin less'

[1] http://stackoverflow.com/a/31360700
[2] http://cygwin.com/ml/cygwin/2017-04/msg00297.html


--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple

