delorie.com/archives/browse.cgi | search |
X-Recipient: | archive-cygwin AT delorie DOT com |
X-SWARE-Spam-Status: | No, hits=2.1 required=5.0 tests=AWL,BAYES_50,SARE_MSGID_LONG40 |
X-Spam-Check-By: | sourceware.org |
MIME-Version: | 1.0 |
Date: | Wed, 17 Mar 2010 18:19:17 +0000 |
Message-ID: | <3a9cd7651003171119h517909a6r3c6017eca4f8379@mail.gmail.com> |
Subject: | Cygwin Terminal Type |
From: | Nick Calvert <nick DOT calvert AT gmail DOT com> |
To: | cygwin AT cygwin DOT 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 |
Hi all, This is a border line flame worthy question as I=92m acting as a proxy for a developer. Please go easy... I have an elaborate, slightly dirty but fully functional system in place whereby Windows machines are automated via a Linux Ruby application over SSH. Historically we haven=92t used the cygwin ssh server on Windows clients as we had some issues with output when running anything Powershell. We have now managed to fix this by issuing commands from a Cygwin bash prompt like: echo . | powershell function-name All good. The problem we now face is that the =91raw=92 terminal output the Ruby ssh library sees is full of control character, this can make it difficult to read the output of any commands we run. I was thinking that perhaps specifying a terminal type that doesn=92t support colours (or even just =91dumb=92) would lessen the control characters but I can=92t get this to work. No matter what terminal type we specific in the Ruby SSH library the same control characters present themselves, if I run a test from PuTTY, ssh=92ing to Cygwin sshd and specifying vt100 or dumb as a terminal type, I still see a coloured prompt which would seem to suggest I haven=92t changed the terminal type at all? Could someone kindly point me in the right direction? Many thanks, Nick -- 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
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |