From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 102048 invoked by alias); 19 Dec 2019 17:12:09 -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 102040 invoked by uid 89); 19 Dec 2019 17:12:09 -0000 Authentication-Results: sourceware.org; auth=none X-Spam-SWARE-Status: No, score=-1.0 required=5.0 tests=AWL,BAYES_00,FREEMAIL_FROM,RCVD_IN_DNSWL_NONE,SPF_PASS autolearn=ham version=3.3.1 spammy=C, weather, HX-Received:adf, HX-Languages-Length:1366 X-HELO: mail-wr1-f47.google.com Received: from mail-wr1-f47.google.com (HELO mail-wr1-f47.google.com) (209.85.221.47) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Thu, 19 Dec 2019 17:12:08 +0000 Received: by mail-wr1-f47.google.com with SMTP id t2so6784665wrr.1 for ; Thu, 19 Dec 2019 09:12:07 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=subject:to:references:from:message-id:date:user-agent:mime-version :in-reply-to:content-transfer-encoding; bh=6oN44EQC1RDYSQ3tOFo4O2Lty2QdKvaqtVYiF3n8ekk=; b=fzkIPmx35vGIRJuIKBevEel/381ObQFrW2hnxi3i4uOLjfg1VPJima6vfATqNq6UyV o/xBlkYif8GsWuseGDq88UbvtfAjHUjzAlfizPRvkJezQbbJ8CxJXtdmRrjwyKTEsbap XqJNylDAj3uhvqb7JWr9sTQls1aiDLJGi31h+X/Di7perGcS+GxPk+jJWI88mJHWGS+F sRx41Y0oE9l0dTciMOltmEijiseA8elGBDYbEFgHZAiWFdItR0T3YmxcylwjoMItSAIU sEtw4Cg2RFMhW2+X7br376kF598S32ZBA1SN2bemqrLA51tQmB/qoTG6r5dvPw7NZSEy SAJw== Return-Path: Received: from ?IPv6:2003:ee:6726:3001:1965:b33b:c183:7212? (p200300EE672630011965B33BC1837212.dip0.t-ipconnect.de. [2003:ee:6726:3001:1965:b33b:c183:7212]) by smtp.gmail.com with ESMTPSA id x10sm7248402wrp.58.2019.12.19.09.12.04 for (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Thu, 19 Dec 2019 09:12:04 -0800 (PST) Subject: Re: Unexpected output from curl and wttr.in To: cygwin@cygwin.com References: From: Marco Atzeri Message-ID: Date: Thu, 19 Dec 2019 19:48:00 -0000 User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:68.0) Gecko/20100101 Thunderbird/68.3.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 8bit X-IsSubscribed: yes X-SW-Source: 2019-12/txt/msg00203.txt.bz2 Am 19.12.2019 um 15:06 schrieb Mike MacEachern: > I'm currently at a loss with how curl is parsing wttr.in. Now I've used > it without in the past, but it seems right now it's really struggling. > I've checked and echo $LANG reports en_US.UTF-8 just in case that was > the issue but it's not. Now I've tried both mintty and the Windows > console (and changed ForceV2 to 0 as well), no dice. > > What's interesting though if I use Cygwin to SSH into my Linux running > laptop, curl's output looks fine, so the issue doesn't appear to be > terminal related, unless there's something else I'm missing. Here's a > screenshot of what's going on. > > https://i.imgur.com/NNgtmlD.png > > The top two windows are the local Cygwin machine, the bottom window is > Cygwin SSH'ed into my Linux machine. This is a new Cygwin installation > too, only thing I changed was my bash prompt, but I don't see that > causing an issue. Other programs like lynx, irssi, vim, nano, all > render just fine on Cygwin. Screenfetch does have a slight text > alignment issue, but it still manages to parse fine, but curl is way off. > > Ideas? > it seems curl does not kick the ESC interpretation, however this does $ curl -s wttr.in | cat Weather report: Gronsdorf, Germany \ / Clear .-. 2..4 °C ? ( ) ? ? 7 km/h `-’ 10 km / \ 0.0 mm ..... -- 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