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: 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: <445B9333 DOT 6090109 AT cygwin DOT com> In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm 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 - reformatting... Jeff Lange wrote: > On 5/5/06, Larry Hall (Cygwin) cygwin com> wrote: - 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 (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/