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]

Re: console question


well I've given up on that, now I'm hacking away at puttycyg to make
it do what I need it to do, like send out the correct high F keys, and
adding an argument to make it full screen on startup. =)

Thanks,
-Jeff

On 5/16/06, Samuel Thibault <samuel.thibault@ens-lyon.org> wrote:
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/



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