delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2006/05/05/13:38:13

X-Spam-Check-By: sourceware.org
Message-ID: <d62889820605051037l48fa4e63qa6975b9423bba101@mail.gmail.com>
Date: Fri, 5 May 2006 13:37:59 -0400
From: "Jeff Lange" <jlange6648 AT gmail DOT com>
To: cygwin AT cygwin DOT com
Subject: terminal escape codes
MIME-Version: 1.0
X-IsSubscribed: yes
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
X-MIME-Autoconverted: from quoted-printable to 8bit by delorie.com id k45Hc8oH015058

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?  like modifying /etc/termcap?

Thanks in advance.

-Jeff

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