delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2011/08/24/11:16:49

X-Recipient: archive-cygwin AT delorie DOT com
X-SWARE-Spam-Status: No, hits=-2.0 required=5.0 tests=AWL,BAYES_00,DKIM_SIGNED,DKIM_VALID,RCVD_IN_DNSWL_LOW,TW_RX
X-Spam-Check-By: sourceware.org
Message-ID: <4E5515C8.1050909@cwilson.fastmail.fm>
Date: Wed, 24 Aug 2011 11:16:24 -0400
From: Charles Wilson <cygwin AT cwilson DOT fastmail DOT fm>
Reply-To: Charles Wilson <cygwin AT cwilson DOT fastmail DOT fm>
User-Agent: Mozilla/5.0 (Windows NT 5.2; WOW64; rv:6.0) Gecko/20110812 Thunderbird/6.0
MIME-Version: 1.0
To: cygwin AT cygwin DOT com
Subject: Re: Does not work well: rlwrap + rxvt + cmd
References: <1314198447 DOT 17029 DOT 140258133233741 AT webmail DOT messagingengine DOT com>
In-Reply-To: <1314198447.17029.140258133233741@webmail.messagingengine.com>
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

On 8/24/2011 11:07 AM, Ronald Fischer wrote:
> I would like to run cmd.exe within a rxvt terminal

rlwrap is not the problem.  Running 'cmd.exe' within rxvt is not
possible; cmd.exe expects direct access to the console host (csrss on
WinVista-; conhost.exe on Win7+).  That is, it expects that functions
like those listed here:
http://msdn.microsoft.com/en-us/library/ms682073%28v=vs.85%29.aspx
such as ReadConsoleInput or WriteConsoleOutput will work.

rxvt is not what windows expects as a console host. It is a terminal
emulator, and basically communicates with the inferior (bash, etc) via
stdio pipes, and unix-style signals.

rxvt + cmd.exe won't work.

--
Chuck


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