Re: Screen clearing in CMD without "Legacy Console Mode"

2021-04-30 Thread Jack Adrian Zappa via Cygwin
On Fri, Apr 30, 2021 at 1:31 PM Takashi Yano via Cygwin wrote: > Why on earth do you want to set TERM=cygwin? > If you don't set TERM=cygwin, TERM is automatically set to > xterm-256color, in which the issue does not occur. > Might be because for the longest time, if you didn't set it to cygwin,

Re: nc fails to connect the first time and then succeeds

2020-04-21 Thread Jack Adrian Zappa via Cygwin
Nm. I figured it out. Seems if you don't specify what type of listener, it'll default to IP4. When you create a sender, it'll try first using IP6 and then fall back to IP4. It's that first connection that is causing the failure. If you specify the listener to use IP6, then it works fine. Than

nc fails to connect the first time and then succeeds

2020-04-21 Thread Jack Adrian Zappa via Cygwin
I was trying to do some testing of a ssh port forwarding issue I was having, by trying to reduce the problem into something simpler. So I reached for netcat (nc). Turns out that when trying to connect a listener to a sender directly, it will fail first and then succeed. Example: In terminal 1 we