From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 936 invoked by alias); 28 Jul 2017 12:09:50 -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 129800 invoked by uid 89); 28 Jul 2017 12:09:49 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-1.4 required=5.0 tests=BAYES_00,FREEMAIL_FROM,RCVD_IN_DNSWL_NONE,RCVD_IN_SORBS_SPAM,SPF_PASS autolearn=no version=3.3.2 spammy=bat, LOT, Pasting, 0246 X-HELO: mail-oi0-f67.google.com Received: from mail-oi0-f67.google.com (HELO mail-oi0-f67.google.com) (209.85.218.67) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Fri, 28 Jul 2017 12:09:47 +0000 Received: by mail-oi0-f67.google.com with SMTP id v11so18591292oif.1 for ; Fri, 28 Jul 2017 05:09:47 -0700 (PDT) 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:subject:to:references :user-agent; bh=M5S4TOt/F1QB8cgSjhIhMCt8eTo5RKvrFZckmCtMkns=; b=EVbdzvFL/IYHgbDzBwnN0rJjIG+brhqh1xn4WdH4Jnheu/dDTtS1PddYaaa914Hj3C ZEv1l9prAyIWiPGBcxjY6T1Yh2nI9qJBMz6BucJh1hBm/2xSadPTCZ82F1jq4cZ5OSLu 8EZJN9OFZpJsTJx1cTFGc/xkeuG8DJOV6RnoMUczymB79bbV00O2X9dR4sVqaBrhJ2Xm qVBql1OhVWQ4XKyRuO9frYvtIzQ+5aNLuDzLjU6JL1sCfn0QbZ9a2cEZFOw3shgGWaaW r3Dm4phYRk0rTedKM4WrlHchehRmGmzlutshoiU422/jXQWHCM+Ycr4Y06iidOJ63hW3 dKEA== X-Gm-Message-State: AIVw112WCpSHKnT4iSWLC6VAE8GHQ+TRx5hKaO1Tv7Uj+KK+NFhaymgG QHZV/8LKc/i0Y6k8 X-Received: by 10.202.227.195 with SMTP id a186mr1115618oih.314.1501243785493; Fri, 28 Jul 2017 05:09:45 -0700 (PDT) Received: from LiQ ([2605:6000:9fc0:56:813:bad7:424c:e627]) by smtp.gmail.com with ESMTPSA id f64sm18850794oia.28.2017.07.28.05.09.44 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 28 Jul 2017 05:09:44 -0700 (PDT) Message-ID: <597b2988.4338ca0a.87fc4.4954@mx.google.com> Date: Fri, 28 Jul 2017 18:39:00 -0000 From: Steven Penny X-Google-Original-From: Steven Penny Subject: Re: [ANNOUNCEMENT] Updated: libreadline7-7.0.3-3 To: cygwin@cygwin.com References: <60db3460-a1c1-7cc2-0369-a7109d782ea0@redhat.com> Content-Type: text/plain; charset=utf8; format=flowed User-Agent: Tryst/2.0.1 (github.com/svnpenn/tryst) X-SW-Source: 2017-07/txt/msg00407.txt.bz2 On Fri, 28 Jul 2017 06:41:08, Eric Blake wrote: > As in /etc/defaults/Cygwin.bat installed by the base-files package? As in "C:\cygwin64\Cygwin.bat" that can be found after a regular install of Cygwin > It's short: > > @echo off > setlocal enableextensions > set TERM=3D > cd /d "%~dp0bin" && .\bash --login -i Uh, no? Mine looks like this. Again this is the file installed by Cygwin, not something I have home brewed: @echo off C: chdir C:\cygwin64\bin bash --login -i > so if you are already in a cmd window, and typing cygwin.bat, then it is > the same as if you are directly starting bash from cmd. I am not doing this, I am just using Windows explorer to go to "C:\cygwin64", then double clicking "Cygwin.bat" > By the way, I didn't know cygwin.bat was still around (I had to go > hunting for it). Ages ago, that use to be the target of the shortcut > installed to the desktop, but we switched quite a while ago to having > the target point directly to mintty instead of the .bat file (since > mintty is a LOT friendlier than running inside cmd). I dont want mintty. As you know mintty adds another "layer" to the situation, another process. If I was using mintty I would not have discovered this problem in the first place. Some might say good, but no. It is important that even launching Cygwin via Cygwin.bat/bash.exe works in a sane manner; and that it not sacrifice features that even cmd.exe has, which is the current situation. > Also, what does 'chcp.com' say prior to you executing cygwin.bat Prior to "Cygwin.bat", it says 65001, because I feel that is the proper default for Windows. I set it like this: REG ADD 'HKCU\Console' /v CodePage /t REG_DWORD /d 65001 /f > are you then trying to call chcp.com WHILE bash is running? I have no idea if > cygwin is even aware/amenable of live code page changes while running inside a > cmd window Yes, However I do not think this is germain to the conversation, as I have found you can change it "live" without issue. > Making me chase URLs doesn't help as much as a single mail, with a > step-by-step reproduction of what you did vs. what you expected, so that > I can refer to a single window rather than multiple browser tabs when > trying to follow those same steps. Cmon man, give me a break here, I am trying. I have been posting on this issue for months, and Id rather not keep regurgitation the same stuff over and over. At any rate, here is the text from that link, LATIN SMALL LETTER O WITH DIAERESIS' (U+00F6): $ chcp.com 65001 Active code page: 65001 - Alt 148 outputs nothing - Alt 0246 outputs nothing - Pasting this character does not work $ chcp.com 437 Active code page: 437 - Alt 148 works - Alt 0246 works - Pasting works and here is why 65001 is needed at all: $ cat omega.c #include int main() { printf("Ω\n"); } $ x86_64-pc-cygwin-gcc -o cygwin.exe omega.c $ x86_64-w64-mingw32-gcc -o mingw32.exe omega.c $ chcp.com 65001 Active code page: 65001 $ ./cygwin.exe Ω $ ./mingw32.exe Ω $ chcp.com 437 Active code page: 437 $ ./cygwin.exe Ω $ ./mingw32.exe ╬⌐ -- 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