delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2003/06/02/12:04:43

Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sources.redhat.com/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
Date: Mon, 2 Jun 2003 12:04:21 -0400
From: Christopher Faylor <cgf-rcm AT cygwin DOT com>
To: cygwin AT cygwin DOT com
Subject: Re: Output suppressed on certain program through ssh
Message-ID: <20030602160421.GD1722@redhat.com>
Reply-To: cygwin AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
References: <361A899B8B2FF64AAE29718102EC939503037FD6 AT ri-exchus1 DOT rotaryintl DOT org>
Mime-Version: 1.0
In-Reply-To: <361A899B8B2FF64AAE29718102EC939503037FD6@ri-exchus1.rotaryintl.org>
User-Agent: Mutt/1.4.1i

On Mon, Jun 02, 2003 at 10:58:50AM -0500, Crispin Bivans wrote:
>At first, I was having a problem seeing DOS output from a program
>(psadmin.exe) when trying to run it through a Cygwin shell session.
>The symptom was that a full administrator account could see it, but
>other user accounts (even ones that had Local Admin rights) could not
>see the stdout characters.  The same behavior was exhibited through ssh
>sessions to that box.
>
>I fixed that problem by changing my CYGWIN variable to just 'ntsec' and
>leaving off the 'tty' setting.  Now the program works great through
>cygwin shell sessions.
>
>But the problem still persists through ssh sessions of it suppressing
>the stdout.  I did a registry edit to fix the Environment variable
>CYGWIN for the sshd service and restarted the service.  I confirmed
>through the ssh session that it now only uses 'ntsec' for its CYGWIN.
>
>I tried to use strace on it, but the trace file always shows up with no
>output.
>
>What else can I do to troubleshoot this further or make the stdout of
>this program work through ssh sessions?

When you are using ptys, as ssh does, you are using CYGWIN=tty by
default.  There is no way around this.  Cygwin's tty emulation uses the
same mechanism as the pty mechanism.  If your application doesn't like
outputting to a cygwin pty or tty then you're probably out of luck.

It's remotely possible that the newest cygwin snapshot may fix your problem.
Go to the cygwin web page and click on "Snapshots" and download a new dll
to try it.
--
Please use the resources at cygwin.com rather than sending personal email.
Special for spam email harvesters: send email to aaaspam AT sourceware DOT org
and be permanently blocked from mailing lists at sources.redhat.com

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