delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2019/01/01/11:02:18

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=gHHY5o2vQKrFBGrf
CcRlyizBRCC0iHFycdjqqV5mguEhGDgv97fesGk5Zsi++pRjI2Jg3eGDMcX/n0vs
JpEkjgmtfe4iHT2WZn54MERhjWc/tRte58Mg7T0FI34OxZVgisM45f/STCle2vzu
rhYKOOEb9GDaQl64DGkg+yVNOtQ=
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=QaHToffFsFPoYzOBO9Mk36
mR6ic=; b=Jif3paLBuLlokiomGmq9x3lwu8wD826HC4fM6m9L9fH4tfp6jsHfXG
75DVLO+8kex8vE7svZDeMEWr/mHO+06JAL1EBL84jpL14uLGhOkkGLAwOXM/WWh0
lSb0QFcXY4jJDrj8s/0ZIYUC9YOKfiplUVbmN7Df3GLf5o6uBfQzI=
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.3 required=5.0 tests=BAYES_50,FREEMAIL_FROM,KAM_NUMSUBJECT,RCVD_IN_DNSWL_NONE,SPF_PASS autolearn=no version=3.3.2 spammy=connected, connection, gary, Graham
X-HELO: mail-io1-f52.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-language:content-transfer-encoding; bh=DbdUVFvtmgPYfQ3BAIR2Yd4pq5rYSveWg7y1JErm7H8=; b=jzPItMh8ekUjquD/fDX3xVZr2FoNTKyi8y4U5ftDS3nZjsNoIf4ZxX1UoPrQqxz/tM Rbog45JTmpD6IDZKC2a7UdgbsHtBF6auoLvzr76PkpBN8fG/DA47Ff2FgmAiKlQuMiEl GRJjkRQLRGAz3dSP8Rz/zSgGsEibSMHvbRX4IveVOfqvnDTs4OePpSIShJ1M4omauxHk 3wFSWWy1MwyirD3HS1lWYZuROFbIBOf88Vtc8QRmjhnfHX9HfM6JgWGTnOrukc7webTA Wfp41a7TY1iE62Gw/BoG+liRCV1xWuPtJCxp69qLxnTcvKpom3oDCHhBM3k4o2igiLV3 Njog==
Subject: Re: Virtual device in Windows 10
To: cygwin AT cygwin DOT com
References: <CA+CBp6emQiWXZc2PyQ3KtOsuVa9gEVmAz8base1xKep9mV=22A AT mail DOT gmail DOT com> <CA+CBp6d-O-051ufgt67apS0Qy6Sq87K5+C0OrY3VBXT9o8yf5g AT mail DOT gmail DOT com>
From: cyg Simple <cygsimple AT gmail DOT com>
Message-ID: <6e11200f-8bb6-0ad6-bb64-52b0a8757354@gmail.com>
Date: Tue, 1 Jan 2019 11:01:58 -0500
User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:60.0) Gecko/20100101 Thunderbird/60.3.3
MIME-Version: 1.0
In-Reply-To: <CA+CBp6d-O-051ufgt67apS0Qy6Sq87K5+C0OrY3VBXT9o8yf5g@mail.gmail.com>
X-IsSubscribed: yes

On 1/1/2019 2:18 AM, Gary Graham wrote:
> I downloaded an updated version of the Cygwin tools and tried again....
> 
> C:\cygwin64\bin>socat -d -d pty,link=/dev/ttyV0,waitslave tcp:
> 192.168.0.11:8023
> 2019/01/01 01:14:27 socat[10780] N PTY is /dev/pty0
> 2019/01/01 01:14:27 socat[10780] N opening connection to AF=2
> 192.168.0.11:8023
> 2019/01/01 01:14:28 socat[10780] N successfully connected from local
> address AF=2 192.168.0.18:55426
> 2019/01/01 01:14:28 socat[10780] N starting data transfer loop with FDs
> [5,5] and [6,6]
> 2019/01/01 01:14:28 socat[10780] N read(5, 0x600056500, 8192): Input/output
> error (probably PTY closed)
> 2019/01/01 01:14:28 socat[10780] N socket 1 (fd 5) is at EOF
> 2019/01/01 01:14:28 socat[10780] N socket 1 (fd 5) is at EOF
> 2019/01/01 01:14:28 socat[10780] N socket 2 (fd 6) is at EOF
> 2019/01/01 01:14:28 socat[10780] N exiting with status 0
> 
> Can you tell why the PTY is closing ?

Both ends of the processes a Cygwin process?  PTY is only available to 
Cygwin.

-- 
cyg Simple

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