This is the mail archive of the cygwin mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

console question


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/


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]