From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 19978 invoked by alias); 24 Dec 2018 06:23:25 -0000 Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner@cygwin.com Mail-Followup-To: cygwin@cygwin.com Received: (qmail 19969 invoked by uid 89); 24 Dec 2018 06:23:25 -0000 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 Received: from ishtar.tlinx.org (HELO Ishtar.sc.tlinx.org) (173.164.175.65) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Mon, 24 Dec 2018 06:23:15 +0000 Received: from [192.168.3.12] (Athenae [192.168.3.12]) by Ishtar.sc.tlinx.org (8.14.7/8.14.4/SuSE Linux 0.8) with ESMTP id wBO6N9s0086519; Sun, 23 Dec 2018 22:23:12 -0800 Message-ID: <5C207B4E.3050700@tlinx.org> Date: Mon, 24 Dec 2018 15:31:00 -0000 From: L A Walsh User-Agent: Thunderbird MIME-Version: 1.0 To: Brian.Inglis@SystematicSw.ab.ca, cygsimple@gmail.com CC: cygwin@cygwin.com Subject: Re: how is cygstart different from cmd /c or how to have cygstart start 'inline'? References: <5C1C973B.7050509@tlinx.org> <42f063c4-2884-f118-4744-259cd229e77f@SystematicSw.ab.ca> In-Reply-To: <42f063c4-2884-f118-4744-259cd229e77f@SystematicSw.ab.ca> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-IsSubscribed: yes X-SW-Source: 2018-12/txt/msg00212.txt.bz2 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