delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2009/04/21/13:46:43

X-Recipient: archive-cygwin AT delorie DOT com
X-SWARE-Spam-Status: No, hits=-2.0 required=5.0 tests=AWL,BAYES_00,SARE_MSGID_LONG40,SPF_PASS
X-Spam-Check-By: sourceware.org
MIME-Version: 1.0
In-Reply-To: <okjpu495u4a7ad3cupjt10nd4iv53pt2ni@4ax.com>
References: <C2163734F5AC6346B64F4DD53C7F7A2803155C5A AT rxsprimary DOT accessrxs DOT com> <okjpu495u4a7ad3cupjt10nd4iv53pt2ni AT 4ax DOT com>
Date: Tue, 21 Apr 2009 18:46:05 +0100
Message-ID: <416096c60904211046k11a9df2cs95de21653e3ed7df@mail.gmail.com>
Subject: Re: DOS programs under "screen"
From: Andy Koppe <andy DOT koppe AT gmail DOT com>
To: cygwin AT cygwin DOT com
X-IsSubscribed: yes
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Unsubscribe: <mailto:cygwin-unsubscribe-archive-cygwin=delorie DOT com AT cygwin DOT 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

> Maybe someone knows a solution to this, but I don't. =A0Although I mainta=
in screen
> for Cygwin, I know almost nothing of the details of how terminals work. =
=A0I could
> imagine some kind of a DOS-to-Unix terminal wrapper program, but I've nev=
er
> seen one and have no idea how it would work.

It probably can't be done as long as Microsoft doesn't provide a
"pseudo-console" interface that would allow a third-party program to
fully take over the role of a console window. In the meantime, the
best that can be done is the lipstick-on-a-pig approach taken by
http://sourceforge.net/projects/console/, which uses Win32 interfaces
for accessing a console's screen contents and paints its own version
of that.

Andy


ps: Actually, would it be possible to invoke a process with all the
Win32 console functions overwritten by custom ones? (That would of
course require an awful lot of work ...)

--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019