delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2019/12/19/09:10:55

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:to:from:subject:date:message-id:mime-version
:content-type:content-transfer-encoding; q=dns; s=default; b=Blx
wSTuh9CwysgJGBWej4RYKwzzG2kIE1jlGGu6a5c9niIy6TzRWg/zUSnfkJavAB31
lLTdWtJiz2hFemXqOoJXuvODRN7qaJYqTOQjdHzEg+uTmdjXyhMUQuSwSd29LZ5O
0Pac52YP/80fYOQsXWi+/h/PIR2ztWX2gV0w35vI=
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:to:from:subject:date:message-id:mime-version
:content-type:content-transfer-encoding; s=default; bh=m/LsqNFNG
zx+ount/h/j8oWW2AA=; b=gu8cl3cCeRUw/pl/ZAQdHC8ByU0GAS/C3ZY5qSiCL
U2HjN0ncbTzxkqP4NjLSz+Jb0mJw4rb2HkJ8BhLIpyI8/QGsbLqtmVNT0KsEoz2R
wUXZGsRx8Z8QYxLzPoC77ZUCTwWQNZFBy8qqzqJlGm4IjyJyGp5dtmrF8GUrpGgn
14=
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
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.8 required=5.0 tests=BAYES_00,FORGED_MUA_MOZILLA,KHOP_HELO_FCRDNS,RDNS_DYNAMIC,TVD_RCVD_IP autolearn=no version=3.3.1 spammy=HX-Languages-Length:1070, UD:png
X-HELO: blaine.gmane.org
To: cygwin AT cygwin DOT com
From: Mike MacEachern <maceach DOT m AT h-networks DOT net>
Subject: Unexpected output from curl and wttr.in
Date: Thu, 19 Dec 2019 09:06:11 -0500
Message-ID: <qtg04k$67in$1@blaine.gmane.org>
Mime-Version: 1.0
User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:68.0) Gecko/20100101 Thunderbird/68.3.1
X-IsSubscribed: yes

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?


--
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

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019