delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2018/12/24/01:23:36

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:message-id:date:from:mime-version:to:cc
:subject:references:in-reply-to:content-type
:content-transfer-encoding; q=dns; s=default; b=GtR9oY+XgaxN1SHv
vKrSIMFJ0vANvSbS8AcPOYjd5j47kG4zF/YWNuMRqZYtwlG8eqjO4ywniy+Fox6K
+Yih+iVJMrMy/qqiMidQEUV99JY0ECQ5mu6vBWVz8i9Rv9x9Me9fAaG8acln5hCD
tNjcE9M4S8GCD/2AhfqSM7sDCPQ=
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:message-id:date:from:mime-version:to:cc
:subject:references:in-reply-to:content-type
:content-transfer-encoding; s=default; bh=ttx734EUf8kqd9YGhCCttQ
wGG6k=; b=oy27yEge1rZCpIyF8I/NF3mq1+CpUJf4CcMB9NrUKj8sP5GubjpJtT
2ntfjZe1cDbQb/XrbSYgKrmDvSJTPv6rbhyuLz8F0KLn12YyIx9EW66NO08lwBMT
WUr9ag4a4MalMtwSDysi+1thAl/T2EeaCJwNbZoQW06I98UX5Wm9o=
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=-5.0 required=5.0 tests=BAYES_40,GIT_PATCH_2,TIME_LIMIT_EXCEEDED autolearn=unavailable version=3.3.2 spammy=realtime, real-time, Brian, brian
X-HELO: Ishtar.sc.tlinx.org
Message-ID: <5C207B4E.3050700@tlinx.org>
Date: Sun, 23 Dec 2018 22:23:10 -0800
From: L A Walsh <cygwin AT tlinx DOT org>
User-Agent: Thunderbird
MIME-Version: 1.0
To: Brian DOT Inglis AT SystematicSw DOT ab DOT ca, cygsimple AT gmail DOT com
CC: cygwin AT cygwin DOT com
Subject: Re: how is cygstart different from cmd /c or how to have cygstart start 'inline'?
References: <5C1C973B DOT 7050509 AT tlinx DOT org> <42f063c4-2884-f118-4744-259cd229e77f AT SystematicSw DOT ab DOT ca>
In-Reply-To: <42f063c4-2884-f118-4744-259cd229e77f@SystematicSw.ab.ca>
X-IsSubscribed: yes


On 12/21/2018 5:15 AM, Brian Inglis wrote:

> See:
> https://github.com/mintty/mintty/wiki/Tips#inputoutput-interaction-with-alien-programs
---
Will have to read it in more detail...look like alot of neat things
to try out (not sure how useful relating to my question, but 
maybe...so much there).


> If it's a console cmd it should run under a term without any problems:
> $ cmd /c ver
---
	Well, that's the rub -- if it started so easily,
I wouldn't be asking :-). **


> 
> Microsoft Windows [Version 10.0.17134.471]
> 
> or you may need to use https://github.com/rprichard/winpty 
---
that looked cool until I got a bit farther...

> - allows
> running Windows console programs under mintty or Cygwin's sshd with
> properly-functioning input and output by starting winpty-agent with
> a hidden console window,
---
	Iiieeee!.  Like the Console2 program... stretches 
compatibility to the limit.

> which bridges between the console API and
> terminal input/output escape codes, polls the hidden console's
> screen buffer for changes and generates a corresponding stream of
> output.
---
	Yeah, it was that polling thing that was a prob -- 
fast enough poll to provide real-time I/O = fast enough to be a 
noticeable drain on the cpu.  Polling=bad.  Surprised no one has
come out with an interrupt driven version -- so easy on Linux, but
on windows...like extracting teeth it seems.


** -- its a finicky GUI login for a game (BladeandSoul) that has
a evil, malware-like anti-cheat engine that is currently 
crashing on my machine.  It does it's best to keep
you from debugging it.  Just trying to start it without using
its desktop-provided link is a first level of pickiness). 
 
Best I've gotten so far is using cygstart.
(Feel free to try it out if you want -- free download as well
from www.bladeandsoul.com; the installer will install the launcher
which is small.  My first step is trying to start the launcher 
"inline" (not in a separate window).  Beyond the launcher, it will
invite you to create a free login, and then it goes on to
start downloading game (about 10G to start, 30G beyond that),
but quit at that point if you just wanna run instaler.

Trying to start it with cmd /c, results in some fatal error but
cygstart works -- "magic".  :-)

Thanks for the ideas/comments.

-linda



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