delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2006/05/16/09:51:56

X-Spam-Check-By: sourceware.org
Message-ID: <d62889820605160650u31087376x4e24624966a18225@mail.gmail.com>
Date: Tue, 16 May 2006 09:50:41 -0400
From: "Jeff Lange" <jlange6648 AT gmail DOT com>
To: cygwin AT cygwin DOT com
Subject: console question
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 k4GDp3it004423

I've come across an anomaly with the standard cygwin console regarding
cursor advancement.

If I have a console 80 chars wide, and echo the following text:

^[[H12345678901234567890123456789012345678901234567890123456789012345678901234567890^Mxxxxxxxx

I would expect to see the following output (as I do in Linux or rxvt):
xxxxxxxx901234567890123456789012345678901234567890123456789012345678901234567890

however, if the console is 80 chars wide, I instead see

12345678901234567890123456789012345678901234567890123456789012345678901234567890
xxxxxxxx

The cursor is being advanced to the second line when the 80th
character is written to the screen, this shouldn't be the default
behavior.

Can someone who is familiar with the source point me to the correct
location so I can address this?

Thanks!

-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