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:subject:to:references:from:message-id:date :mime-version:in-reply-to:content-type :content-transfer-encoding; q=dns; s=default; b=N70lPx17+jOndYV1 UjFR2ASxNEThZ/Nq4MbOyGvOR1mNRh3uhO9GQmSDxSftFhuVCFwjWkMR+2H1dlcc QxsMwANBNHdTXV1v2M95PhDo8geQOjFPTsYNzFYjAXbc3EkRv3VcXhahm47d8pEt MpBpKcN6OKGZDNqEjdg9IpzvTNU= 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:subject:to:references:from:message-id:date :mime-version:in-reply-to:content-type :content-transfer-encoding; s=default; bh=6Ix1dRV8dENpxm0JDn6yf4 F1rhU=; b=ZiWAAbn5Odl+/DNU3b/3LfOTPCxBuhF9CHBx3iRjHx6yULd9A7KXCB X3b2RXcuq9NiaEht/7WD+Upc4nLDCb2IK/JvFDpB6frLusmvKBujdDroBcQGoYrV gtrUEx8emuDoYR6FZqAkMJkAWNl5mzHhQB9QEJWUviSxkQWv+I3DE= 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-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 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== Subject: Re: Unexpected output from curl and wttr.in To: cygwin AT cygwin DOT com References: From: Marco Atzeri Message-ID: Date: Thu, 19 Dec 2019 18:12:03 +0100 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 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