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: pressing ENTER scrambles scrolled MS-DOS-console

On Tue, Oct 04, 2011 at 06:18:33PM -0700, jan.kolar wrote:
>Corinna Vinschen-2 wrote:
>> On Sep 26 14:18, Paul Maier wrote:
>>> Hi,
>>> scrolling up the console output to review the console history, then
>>> pressing
>>> Enter scrambles the console.
>> That's a long standing behaviour of the Cygwin console emulation.
>> I guess it can be fixed, but somebody will have to do it.  In the
>> meantime, try mintty as terminal.
>> Corinna
>> -- 
>> Corinna Vinschen                  Please, send mails regarding Cygwin to
>> Cygwin Project Co-Leader          cygwin AT cygwin DOT com
>> Red Hat
>The problem is as below.
>However it needs some thinking, checking and testing, since I have no idea
>what that line was needed for.
>diff --git i/ w/
>index 74b5cbd..f29426d 100644
>--- i/
>+++ w/
>@@ -1089,7 +1127,27 @@ fhandler_console::cursor_set (bool rel_to_top, int x,
>int y)
>   dev_state->fillin_info (get_output_handle ());
>   if (y > dev_state->info.winBottom)
>-    y = dev_state->info.winBottom;
>+    y = y;

Yeah.  Yeah.  Nice.


Problem reports:
Unsubscribe info:

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