From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 39945 invoked by alias); 5 Feb 2017 19:53:20 -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 39924 invoked by uid 89); 5 Feb 2017 19:53:19 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-0.7 required=5.0 tests=BAYES_00,FREEMAIL_FROM,MIME_HEADER_CTYPE_ONLY,RCVD_IN_DNSWL_NONE,RCVD_IN_SORBS_SPAM,SPF_PASS autolearn=no version=3.3.2 spammy=H*UA:github.com, H*MI:google, our, H*M:google X-HELO: mail-ot0-f178.google.com Received: from mail-ot0-f178.google.com (HELO mail-ot0-f178.google.com) (74.125.82.178) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Sun, 05 Feb 2017 19:53:18 +0000 Received: by mail-ot0-f178.google.com with SMTP id 73so49270497otj.0 for ; Sun, 05 Feb 2017 11:53:18 -0800 (PST) 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:to:subject:user-agent; bh=1Vvb2NMcYGVY+Yb9fCv4qLLoNZQ1G1Y7TVMu8Ojst4c=; b=j+4MZWKjynzL15bJW8Wvyuf5Pv+SYRhuhWZ5YWJCWw61w4KGxeL4bVsYOpEkHkw2hX qV9fPQG0ZpQz5gKOo5x2xPAQonJa+JTY5yBvIxI/Yfa17ajWrrR6AKEtyAtXKxFhaq97 vKu5t/mwBLrj9alhmMTL+5Sz47K7PDj9XySXRXaCjxXxAFkbAdGGNniTglHvrMIIAc82 mRD0zPU5mVkOLF2PE09qLJ+gKqMSL5DsgMw4xR1PlGprCT6Rl51cY4lOztbCyRHu5gwT +wVlFbDGNh44QJZLAyZouVqiaLLhGcsxdcEZ33K3qEWDL2czRAABnF4jb6LbyH8IwGak qPWA== X-Gm-Message-State: AIkVDXJxbckB8HFG0WlcSddi3GLpMni2IAbWG+AVdadXFrqk1v6lvm8yu02DCx45+CNJrA== X-Received: by 10.157.61.202 with SMTP id l68mr2047830otc.242.1486324396583; Sun, 05 Feb 2017 11:53:16 -0800 (PST) Received: from tmp.ZnGwxucdEu ([2605:6000:9fc0:56:811:343f:f904:d318]) by smtp.gmail.com with ESMTPSA id r41sm18151961otc.40.2017.02.05.11.53.15 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sun, 05 Feb 2017 11:53:16 -0800 (PST) Message-ID: <589782ac.ac3f9d0a.4d8a7.f181@mx.google.com> Date: Sun, 05 Feb 2017 19:53:00 -0000 From: Steven Penny X-Google-Original-From: Steven Penny To: cygwin@cygwin.com Subject: Console buffer width always 1 column less than setting Content-Type: text; charset=UTF-8 User-Agent: Tryst/2.0.0 (github.com/svnpenn/tryst) X-SW-Source: 2017-02/txt/msg00071.txt.bz2 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. -- 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