X-Recipient: archive-cygwin AT delorie DOT 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:content-type:mime-version:subject:from :in-reply-to:date:content-transfer-encoding:message-id :references:to; q=dns; s=default; b=L2xqrXyAzKmRlqyBqNQCzHiwXi8j nTS/ZnuQ90LcmkLwTkCrpSEwfCXRDd357f862F5IozQBovHlQJgKx2j4BlNcbr25 1CKsMjOixjo+kwO1hU5AbAPxfsmg7CL6vhnWlUD9tffbHTlCm9CmVFjps9ft6QDp 5dyJtht+E4Pt5GY= 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:content-type:mime-version:subject:from :in-reply-to:date:content-transfer-encoding:message-id :references:to; s=default; bh=M9Z2/Hvvf7cy+WRHxD/cvSvZk+8=; b=wW fcfXLD+rrDUfrZPscDao52g3evCrC2Z1LDB/tKfNLD8eFUGuLl69yo1tM0VKlfNQ TKk664SliQdONHG2FsUx009DRmlXkrXOB0P1fJO4kmUHiCU0iClFDZ3L74Vi4wNc 1EaBUuxCvXav63AoaIpSaPXeH0mfYAaq7QXdW0KPg= Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-0.2 required=5.0 tests=AWL,BAYES_05,RCVD_IN_DNSWL_NONE,SPF_PASS autolearn=ham version=3.3.2 spammy=0304, Hx-languages-length:1246, 2.6.0, H*i:sk:589782a X-HELO: gproxy3-pub.mail.unifiedlayer.com X-Authority-Analysis: v=2.1 cv=H5NInYoi c=1 sm=1 tr=0 a=x/h8IXy5FZdipniTS+KQtQ==:117 a=x/h8IXy5FZdipniTS+KQtQ==:17 a=L9H7d07YOLsA:10 a=9cW_t1CCXrUA:10 a=s5jvgZ67dGcA:10 a=IkcTkHD0fZMA:10 a=n2v9WMKugxEA:10 a=pGLkceISAAAA:8 a=mgS5baZDL0WtVl_EDCQA:9 a=QEXdDO2ut3YA:10 a=6kGIvZw6iX1k4Y-7sg4_:22 Content-Type: text/plain; charset=utf-8 Mime-Version: 1.0 (Mac OS X Mail 9.3 \(3124\)) Subject: Re: Console buffer width always 1 column less than setting From: Vince Rice In-Reply-To: <589782ac.ac3f9d0a.4d8a7.f181@mx.google.com> Date: Sun, 5 Feb 2017 14:12:04 -0600 Message-Id: <9484061C-4B75-43A4-8E4D-44A6D07EE4AD@solidrocksystems.com> References: <589782ac DOT ac3f9d0a DOT 4d8a7 DOT f181 AT mx DOT google DOT com> To: The Cygwin Mailing List X-BWhitelist: no X-Exim-ID: 1caTAM-00076J-NJ X-Source-Sender: 99-106-192-34.lightspeed.ftwotx.sbcglobal.net ([192.168.1.86]) [99.106.192.34]:60523 X-Source-Auth: vrice AT solidrocksystems DOT com X-Email-Count: 1 X-Source-Cap: c29saWRycjI7c29saWRycjI7Ym94ODY3LmJsdWVob3N0LmNvbQ== X-IsSubscribed: yes Content-Transfer-Encoding: 8bit X-MIME-Autoconverted: from quoted-printable to 8bit by delorie.com id v15KCSs4002063 > On Feb 5, 2017, at 1:53 PM, Steven Penny wrote: > > This issue has bothered me for some time, but I never got around to reporting > it. The issue is that the Cygwin buffer via Cygwin.bat is always 1 less than > what is set. > > For example, the default buffer is 80 columns, same as the window size. Cygwin > window size is correct, but that last column can never be accessed, it always > stays blank and the text wraps on column 79. Here is a test: > > 1. Enter spaces until you reach next line, this way the prompt is not adding to > our count > > 2. Enter: > 12345678901234567890123456789012345678901234567890123456789012345678901234567890 > > Now with cmd.exe, you get all 80 characters on the same line, but with Cygwin it > always wraps 1 character before. I don’t remember this always being the case, I > believe it used to work correct 1-2 years ago. I'm on Win7 64-bit with 64-bit Cygwin 2.6.0(0.304/5/3). To clarify, the above occurs with bash 4.3.46(7) in a Windows console, and I see the behavior there as well. This does not happen with the same bash in mintty 2.7, so it appears to be specific to the combination of bash and the Windows console. -- 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