This is the mail archive of the
cygwin
mailing list for the Cygwin project.
Unexpected output from curl and wttr.in
- From: Mike MacEachern <maceach dot m at h-networks dot net>
- To: cygwin at cygwin dot com
- Date: Thu, 19 Dec 2019 09:06:11 -0500
- Subject: Unexpected output from curl and wttr.in
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