delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2009/04/08/17:11:36

X-Recipient: archive-cygwin AT delorie DOT com
X-SWARE-Spam-Status: No, hits=0.6 required=5.0 tests=AWL,BAYES_00,SPF_PASS,TVD_RCVD_IP
X-Spam-Check-By: sourceware.org
MIME-Version: 1.0
Subject: RE: DOS programs under "screen"
Date: Wed, 8 Apr 2009 17:11:23 -0400
Message-ID: <C2163734F5AC6346B64F4DD53C7F7A2803155C79@rxsprimary.accessrxs.com>
In-Reply-To: <alpine.DEB.1.00.0904081427340.14823@pilot.trilug.org>
From: "James Calfee" <jcalfee AT accessrxs DOT com>
To: "William Sutton" <william AT trilug DOT org>
CC: <cygwin AT cygwin DOT com>
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

Your right, "clear" does work.  That example is too simple though.
"edit" is similar to the server.  I'm testing with a copy of the server
now.  It behaves just as "edit" does, I see my command echoed back to me
but nothing else.  The session is hung and I can not see the interface.=20

I don't actually need "edit" to work.  I'm just trying to provide a
program that can be used to test the DOS graphical interface under
screen.  "edit" re-sizes the DOS window.   The server does not do this.
You may know of another DOS interface that could be used to test this.

-----Original Message-----
From: William Sutton [mailto:william AT trilug DOT org]=20
Sent: Wednesday, April 08, 2009 2:29 PM
To: James Calfee
Cc: cygwin AT cygwin DOT com; InformationTechnology
Subject: Re: DOS programs under "screen"

I suppose you could always use the 'clear' command instead of cls.  If
you=20
need cls specifically, you can alias it to clear.

=46rom the edit point of view, is this something you could accomplish with

another command-line editor (say vim)?

William Sutton

On Wed, 8 Apr 2009, James Calfee wrote:

> We need to run a DOS program as a service.  The program provides
> valuable information in the DOS window in an interactive ASCII color
> interface but does not provide any method to connect to this interface
> if started as a service.
>
> One solution is to run this program under screen.  Unfortunately, this
> will not work until I can get these things resolved:
>
> * DOS "cls" command does not work under screen
> * DOS "edit" program does not work under screen
>
> Does anyone know how to get these things working under Cygwin's
screen?
>
> Steps to produce:
>
> Open a DOS window (start, run, cmd) or open Cygwin
> Run something like this> c:\cygwin\bin\screen cmd
> Or just> screen cmd
> ... Dos text and a prompt should come up ..
> Type> cls
>
> The command is echoed back but the console does not clear.
>
> Running 'edit' does basically the same thing too.  Instead of seeing
> edit's blue interface, the command is echoed and the console hangs.
> Pressing Ctrl+C will terminate screen's session.
>
> These test do not use ANSI.sys (see absence of this device in
> /cygdrive/c/CONFIG.SYS).. The 'edit' program works just fine without
it.
> Maybe screen can manage without it too.
>
> Any help is appreciated.
>
> Thanks,
> jc
>

Disclaimer: This message (including attachments) is confidential and may be=
 privileged. If you have received it by mistake please notify the sender by=
 return e-mail and delete this message from your system. Any unauthorized u=
se or dissemination of this message in whole or in part is strictly prohibi=
ted. Please note that e-mails are susceptible to change. RxStrategies, Inc.=
 shall not be liable for the improper or incomplete transmission of the inf=
ormation contained in this communication or for any delay in its receipt or=
 damage to your system. RxStrategies, Inc. does not guarantee that the inte=
grity of this communication has been maintained nor that this communication=
 is free from viruses, interceptions or interference.=20



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