X-Spam-Check-By: sourceware.org Date: Tue, 16 May 2006 16:03:38 +0200 From: Samuel Thibault <samuel DOT thibault AT ens-lyon DOT org> 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: <d62889820605160650u31087376x4e24624966a18225 AT mail DOT gmail DOT com> Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <d62889820605160650u31087376x4e24624966a18225@mail.gmail.com> 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: <mailto:cygwin-unsubscribe-archive-cygwin=delorie DOT com AT cygwin DOT com> 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 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/