From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 102447 invoked by alias); 5 Feb 2017 20:12:14 -0000 Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner@cygwin.com Mail-Followup-To: cygwin@cygwin.com Received: (qmail 102433 invoked by uid 89); 5 Feb 2017 20:12:14 -0000 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 Received: from gproxy3-pub.mail.unifiedlayer.com (HELO gproxy3-pub.mail.unifiedlayer.com) (69.89.30.42) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with SMTP; Sun, 05 Feb 2017 20:12:12 +0000 Received: (qmail 13310 invoked by uid 0); 5 Feb 2017 20:12:10 -0000 Received: from unknown (HELO cmgw2) (10.0.90.83) by gproxy3.mail.unifiedlayer.com with SMTP; 5 Feb 2017 20:12:10 -0000 Received: from box867.bluehost.com ([69.195.124.67]) by cmgw2 with id h8C61u00y1TMts5018C9rL; Sun, 05 Feb 2017 13:12:10 -0700 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 Received: from 99-106-192-34.lightspeed.ftwotx.sbcglobal.net ([99.106.192.34]:60523 helo=[192.168.1.86]) by box867.bluehost.com with esmtpsa (TLSv1:ECDHE-RSA-AES256-SHA:256) (Exim 4.87) (envelope-from ) id 1caTAM-00076J-NJ for cygwin@cygwin.com; Sun, 05 Feb 2017 13:12:06 -0700 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, 05 Feb 2017 20:12:00 -0000 Content-Transfer-Encoding: quoted-printable Message-Id: <9484061C-4B75-43A4-8E4D-44A6D07EE4AD@solidrocksystems.com> References: <589782ac.ac3f9d0a.4d8a7.f181@mx.google.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@solidrocksystems.com X-Email-Count: 1 X-Source-Cap: c29saWRycjI7c29saWRycjI7Ym94ODY3LmJsdWVob3N0LmNvbQ== X-IsSubscribed: yes X-SW-Source: 2017-02/txt/msg00072.txt.bz2 > On Feb 5, 2017, at 1:53 PM, Steven Penny wrote: >=20 > This issue has bothered me for some time, but I never got around to repor= ting > it. The issue is that the Cygwin buffer via Cygwin.bat is always 1 less t= han > what is set. >=20 > For example, the default buffer is 80 columns, same as the window size. C= ygwin > window size is correct, but that last column can never be accessed, it al= ways > stays blank and the text wraps on column 79. Here is a test: >=20 > 1. Enter spaces until you reach next line, this way the prompt is not add= ing to > our count >=20 > 2. Enter: > 1234567890123456789012345678901234567890123456789012345678901234567890123= 4567890 >=20 > Now with cmd.exe, you get all 80 characters on the same line, but with Cy= gwin it > always wraps 1 character before. I don=E2=80=99t remember this always bei= ng 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