delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2006/05/06/17:33:47

X-Spam-Check-By: sourceware.org
Message-ID: <445D1606.1060305@cygwin.com>
Date: Sat, 06 May 2006 17:32:54 -0400
From: "Larry Hall (Cygwin)" <reply-to-list-only-lh AT cygwin DOT com>
Reply-To: cygwin AT cygwin DOT com
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.8) Gecko/20051223 Fedora/1.5-0.2.fc4.remi Thunderbird/1.5 Mnenhy/0.7.3.0
MIME-Version: 1.0
To: cygwin AT cygwin DOT com
Subject: Re: terminal escape codes
References: <d62889820605051037l48fa4e63qa6975b9423bba101 AT mail DOT gmail DOT com> <445B9333 DOT 6090109 AT cygwin DOT com> <d62889820605051110u1327c9f6i98686cb42c927d6e AT mail DOT gmail DOT com>
In-Reply-To: <d62889820605051110u1327c9f6i98686cb42c927d6e@mail.gmail.com>
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
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

<http://cygwin.com/acronyms/#TOFU> - reformatting...

Jeff Lange wrote:
> On 5/5/06, Larry Hall (Cygwin) <reply-to-list-only-lh <at> cygwin <dot> com> wrote:

<http://cygwin.com/acronyms/#PCYMTNQREAIYR> - thanks.

>> Jeff Lange wrote:
>> > Hi,
>> >  I have a program that will connect to another host via telnet and
>> > work like a terminal emulator.  This works fine in Linux, but under
>> > cygwin, when the host sends out the vt220 command <ESC>(B  cygwin
>> > apparently doesn't know how to handle this escape code, and it ends up
>> > displaying the B on the screen,
>> >
>> > In Linux if I type "echo ^[(Btest" at a command prompt it comes back
>> > as "test", but if I do the exact same thing at a cygwin prompt it
>> > comes back as "Btest"
>> >
>> > Does anyone know a simple way around this?
>>
>>
>> Run rxvt (or xterm if you're running X) instead?
>>
>>
>> -- 
>> Larry Hall                              http://www.rfk.com
>> RFK Partners, Inc.                      (508) 893-9779 - RFK Office
>> 838 Washington Street                   (508) 893-9889 - FAX
>> Holliston, MA 01746
 > While that does work, It unfortunately isn't an acceptable solution
 > for me.  I really need to be running this from a plain text console.


Why?  The answer to this question may unearth a misconception on your part
about rxvt.


 > Any other ideas?


Well, you can try setting TERM to different terminal types and see if that
helps you.  You might try 'vt220' or 'linux' or whatever you're using when in
Linux.  There's no guarantee that you'll get what you want here and for
other things but it may be your best bet if you don't want to start fiddling
around with the 'cygwin' settings, which is what I would recommend next.


-- 
Larry Hall                              http://www.rfk.com
RFK Partners, Inc.                      (508) 893-9779 - RFK Office
838 Washington Street                   (508) 893-9889 - FAX
Holliston, MA 01746

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