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 To: cygwin AT cygwin DOT com Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: quoted-printable Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , 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