www.delorie.com/archives/browse.cgi | search |
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 |
X-MimeOLE: | Produced By Microsoft Exchange V6.0.6249.0 |
content-class: | urn:content-classes:message |
MIME-Version: | 1.0 |
Subject: | RE: Output suppressed on certain program through ssh |
Date: | Mon, 2 Jun 2003 13:24:01 -0500 |
Message-ID: | <361A899B8B2FF64AAE29718102EC9395021D8897@ri-exchus1.rotaryintl.org> |
X-MS-Has-Attach: | |
X-MS-TNEF-Correlator: | |
From: | "Crispin Bivans" <BivansC AT rotaryintl DOT org> |
To: | <cygwin AT cygwin DOT com> |
X-OriginalArrivalTime: | 02 Jun 2003 18:24:01.0678 (UTC) FILETIME=[24132AE0:01C32934] |
Note-from-DJ: | This may be spam |
X-MIME-Autoconverted: | from quoted-printable to 8bit by delorie.com id h52IOId04189 |
That makes sense. Thanks for the quick response. I tried the snapshot from 5/29 and unfortunately it's still has the same problem after restarting sshd with new dll and exe's. :( -Crispin -----Original Message----- From: Christopher Faylor [mailto:cgf-rcm AT cygwin DOT com] Sent: Monday, June 02, 2003 11:04 AM To: cygwin AT cygwin DOT com Subject: Re: Output suppressed on certain program through ssh 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/ -- 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/
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |