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 scroll speed on Win XP


On Sun, Mar 1, 2009 at 3:54 PM, Mike Marchywka wrote:
>>
>>> Is there some option to turn off to make this reasonable or has anyone
>>> else seen this problem? I set display options to maximize performance
>>> and there don't seem to be any options available for the cygwin window
>>> that would help.
>>
>> Yep, the Windows console is slow alright, and I don't know of any way
>> to speed it up. What I can recommend are the alternative terminal
>> emulators available in Cygwin: xterm, rxvt, and the recently added
>> mintty (by yours truly), all of which scroll a lot faster than the
>> console.
>>
>> (Please note that all three share one drawback though: native Windows
>> console programs might not work correctly in them, particularly
>> input.)
>
> What is wrong with the native apps ? I use them in some scripts
> but usually not interactively. I don't normally care about text
> formatting if output is just a bit different.

IO buffering won't work the way they expect when they don't have a
real console.  So, you wind up with weird conditions like the program
waiting for input after printing out a prompt - but the app didn't
call fflush(), so the prompt hasn't actually been displayed, but it's
still waiting for you to answer the question.  Using them in a
scripted way should work fine, it's just interactive usage that you
would expect to be broken.

~Matt

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