X-Spam-Check-By: sourceware.org Date: Tue, 16 May 2006 16:03:38 +0200 From: Samuel Thibault To: cygwin AT cygwin DOT com Subject: Re: console question Message-ID: <20060516140338.GF4279@implementation.labri.fr> Mail-Followup-To: cygwin AT cygwin DOT com References: Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: User-Agent: Mutt/1.5.11 X-IsSubscribed: yes Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm Precedence: bulk List-Unsubscribe: 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 Hi, Jeff Lange, le Tue 16 May 2006 09:50:41 -0400, a écrit : > I've come across an anomaly with the standard cygwin console regarding > cursor advancement. What you call "standard cygwin console" is the _windows_ console. > 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 That depends on the terminal type. Some do wrap at the right side, others don't, see the "am" capability in man 5 terminfo. In addition to that, some do wrap as soon as the 80th position is filled, see the "sam" capability. > 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. That's the way the windows console behaves. Not much can be changed here. Just run rxvt ;) Samuel -- 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/