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@cygwin.com>
Reply-To: cygwin@cygwin.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@cygwin.com
Subject: Re: terminal escape codes
References: <d62889820605051037l48fa4e63qa6975b9423bba101@mail.gmail.com> 	 <445B9333.6090109@cygwin.com> <d62889820605051110u1327c9f6i98686cb42c927d6e@mail.gmail.com>
In-Reply-To: <d62889820605051110u1327c9f6i98686cb42c927d6e@mail.gmail.com>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit
Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe@cygwin.com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin@cygwin.com>
List-Help: <mailto:cygwin-help@cygwin.com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner@cygwin.com
Mail-Followup-To: cygwin@cygwin.com
Delivered-To: mailing list cygwin@cygwin.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/

