public inbox for cygwin@cygwin.com
 help / color / mirror / Atom feed
* Scrollback buffer broken with snapshot
@ 2014-01-31  2:44 Steven Penny
  2014-01-31  2:57 ` Steven Penny
  0 siblings, 1 reply; 12+ messages in thread
From: Steven Penny @ 2014-01-31  2:44 UTC (permalink / raw)
  To: cygwin

Normally if you run this command

    printf '\ec'

it will clear the screen and scrollback buffer
http://stackoverflow.com/a/5367075

However using this snapshot
http://cygwin.com/snapshots/x86_64/cygwin1-20140128.dll.xz

it now only clears the screen

--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple

^ permalink raw reply	[flat|nested] 12+ messages in thread

* Re: Scrollback buffer broken with snapshot
  2014-01-31  2:44 Scrollback buffer broken with snapshot Steven Penny
@ 2014-01-31  2:57 ` Steven Penny
  2014-01-31  5:29   ` Marco Atzeri
  2014-02-01  9:01   ` Marco Atzeri
  0 siblings, 2 replies; 12+ messages in thread
From: Steven Penny @ 2014-01-31  2:57 UTC (permalink / raw)
  To: cygwin

On Thu, Jan 30, 2014 at 8:44 PM, Steven Penny wrote
> However using this snapshot
> http://cygwin.com/snapshots/x86_64/cygwin1-20140128.dll.xz
>
> it now only clears the screen

More info

    cygwin1-20140128.dll.xz  BAD
    cygwin1-20140124.dll.xz  BAD
    cygwin1-20140118.dll.xz  BAD
    cygwin1-20140117.dll.xz  BAD
    cygwin1-20140108.dll.xz  BAD
    cygwin1-20140105.dll.xz  BAD
    cygwin1-20131231.dll.xz  GOOD

--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple

^ permalink raw reply	[flat|nested] 12+ messages in thread

* Re: Scrollback buffer broken with snapshot
  2014-01-31  2:57 ` Steven Penny
@ 2014-01-31  5:29   ` Marco Atzeri
  2014-01-31 12:26     ` Steven Penny
  2014-02-01  9:01   ` Marco Atzeri
  1 sibling, 1 reply; 12+ messages in thread
From: Marco Atzeri @ 2014-01-31  5:29 UTC (permalink / raw)
  To: cygwin



On 31/01/2014 03:57, Steven Penny wrote:
> On Thu, Jan 30, 2014 at 8:44 PM, Steven Penny wrote
>> However using this snapshot
>> http://cygwin.com/snapshots/x86_64/cygwin1-20140128.dll.xz
>>
>> it now only clears the screen
>
> More info
>
>      cygwin1-20140128.dll.xz  BAD
>      cygwin1-20140124.dll.xz  BAD
>      cygwin1-20140118.dll.xz  BAD
>      cygwin1-20140117.dll.xz  BAD
>      cygwin1-20140108.dll.xz  BAD
>      cygwin1-20140105.dll.xz  BAD
>      cygwin1-20131231.dll.xz  GOOD
>
> --

20140128 seems to work on my system.
  printf '\ec' clear everything and the
scroll bar disappears

so what about a full:
Problem reports:       http://cygwin.com/problems.html

with an example of how you see the failure ?

Regards
Marco

--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple

^ permalink raw reply	[flat|nested] 12+ messages in thread

* Re: Scrollback buffer broken with snapshot
  2014-01-31  5:29   ` Marco Atzeri
@ 2014-01-31 12:26     ` Steven Penny
  2014-01-31 13:26       ` Marco Atzeri
  0 siblings, 1 reply; 12+ messages in thread
From: Steven Penny @ 2014-01-31 12:26 UTC (permalink / raw)
  To: cygwin

On Thu, Jan 30, 2014 at 11:29 PM, Marco Atzeri wrote
> 20140128 seems to work on my system.
>  printf '\ec' clear everything and the
> scroll bar disappears

Yeah it works with "mintty", but not with "Cygwin.bat"

--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple

^ permalink raw reply	[flat|nested] 12+ messages in thread

* Re: Scrollback buffer broken with snapshot
  2014-01-31 12:26     ` Steven Penny
@ 2014-01-31 13:26       ` Marco Atzeri
  2014-01-31 14:05         ` Andrey Repin
                           ` (2 more replies)
  0 siblings, 3 replies; 12+ messages in thread
From: Marco Atzeri @ 2014-01-31 13:26 UTC (permalink / raw)
  To: cygwin



On 31/01/2014 13:26, Steven Penny wrote:
> On Thu, Jan 30, 2014 at 11:29 PM, Marco Atzeri wrote
>> 20140128 seems to work on my system.
>>   printf '\ec' clear everything and the
>> scroll bar disappears
>
> Yeah it works with "mintty", but not with "Cygwin.bat"
>

1) there is not anymore a cygwin.bat
  http://cygwin.com/cgi-bin2/package-grep.cgi?grep=Cygwin.bat&arch=x86

2) mintty is always better them CMD. IMHO
;-)


Regards
Marco



--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple

^ permalink raw reply	[flat|nested] 12+ messages in thread

* Re: Scrollback buffer broken with snapshot
  2014-01-31 13:26       ` Marco Atzeri
@ 2014-01-31 14:05         ` Andrey Repin
  2014-01-31 17:13         ` Ken
  2014-02-01  0:09         ` Steven Penny
  2 siblings, 0 replies; 12+ messages in thread
From: Andrey Repin @ 2014-01-31 14:05 UTC (permalink / raw)
  To: Marco Atzeri, cygwin

Greetings, Marco Atzeri!

>>> 20140128 seems to work on my system.
>>>   printf '\ec' clear everything and the
>>> scroll bar disappears
>>
>> Yeah it works with "mintty", but not with "Cygwin.bat"
>>

> 1) there is not anymore a cygwin.bat
>   http://cygwin.com/cgi-bin2/package-grep.cgi?grep=Cygwin.bat&arch=x86

This is, of course, right, but...

> 2) mintty is always better them CMD. IMHO
> ;-)

...is only your opinion...

@Steven, there was changes to console buffer handling, this is probably a
side-effect of them.


--
WBR,
Andrey Repin (anrdaemon@yandex.ru) 31.01.2014, <18:01>

Sorry for my terrible english...


--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple

^ permalink raw reply	[flat|nested] 12+ messages in thread

* Re: Scrollback buffer broken with snapshot
  2014-01-31 13:26       ` Marco Atzeri
  2014-01-31 14:05         ` Andrey Repin
@ 2014-01-31 17:13         ` Ken
  2014-02-01  0:09         ` Steven Penny
  2 siblings, 0 replies; 12+ messages in thread
From: Ken @ 2014-01-31 17:13 UTC (permalink / raw)
  To: cygwin

Marco Atzeri wrote:
>
> 1) there is not anymore a cygwin.bat
>  http://cygwin.com/cgi-bin2/package-grep.cgi?grep=Cygwin.bat&arch=x86 
>
>
Actually, while you will not find it in any package 
search, and it is no longer a Start Menu item, 
"Cygwin.bat" is still created in the root (/) of the 
installation directory by setup*.exe.  Specifically, 
via the routines included in desktop.cc of setup's source.

Perhaps this leads to some of the confusion or 
expectations with regard to its acceptable use.

Kind regards,
Ken

--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple

^ permalink raw reply	[flat|nested] 12+ messages in thread

* Re: Scrollback buffer broken with snapshot
  2014-01-31 13:26       ` Marco Atzeri
  2014-01-31 14:05         ` Andrey Repin
  2014-01-31 17:13         ` Ken
@ 2014-02-01  0:09         ` Steven Penny
  2014-02-01  5:50           ` Andrey Repin
  2 siblings, 1 reply; 12+ messages in thread
From: Steven Penny @ 2014-02-01  0:09 UTC (permalink / raw)
  To: cygwin

On Fri, Jan 31, 2014 at 7:26 AM, Marco Atzeri wrote
> 2) mintty is always better them CMD. IMHO

I shouldnt have to use "mintty" just to get back functionality that has existed
with Cygwin Bash itself for years, not to mention even the most basic Linux
Terminals.

--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple

^ permalink raw reply	[flat|nested] 12+ messages in thread

* Re: Scrollback buffer broken with snapshot
  2014-02-01  0:09         ` Steven Penny
@ 2014-02-01  5:50           ` Andrey Repin
  2014-02-01  7:16             ` Steven Penny
  0 siblings, 1 reply; 12+ messages in thread
From: Andrey Repin @ 2014-02-01  5:50 UTC (permalink / raw)
  To: Steven Penny, cygwin

Greetings, Steven Penny!

> On Fri, Jan 31, 2014 at 7:26 AM, Marco Atzeri wrote
>> 2) mintty is always better them CMD. IMHO

> I shouldnt have to use "mintty" just to get back functionality that has existed
> with Cygwin Bash itself for years, not to mention even the most basic Linux
> Terminals.

You're comparing apples and oranges.
mintty is a "basic Linux terminal", native NT console is... meh...


--
WBR,
Andrey Repin (anrdaemon@yandex.ru) 01.02.2014, <09:39>

Sorry for my terrible english...


--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple

^ permalink raw reply	[flat|nested] 12+ messages in thread

* Re: Scrollback buffer broken with snapshot
  2014-02-01  5:50           ` Andrey Repin
@ 2014-02-01  7:16             ` Steven Penny
  0 siblings, 0 replies; 12+ messages in thread
From: Steven Penny @ 2014-02-01  7:16 UTC (permalink / raw)
  To: Andrey Repin

On Fri, Jan 31, 2014 at 11:40 PM, Andrey Repin wrote
> You're comparing apples and oranges.
> mintty is a "basic Linux terminal", native NT console is... meh...

Hey Andrey, if you have nothing constructive to add you should consider to stop
emailing. Saying "meh..." is not adding to the conversation.

The fact is that bash.exe by itself has allowed you to control the scrollback
buffer for years. Saying that I should upgrade to mintty because bash.exe is
broken is not a solution, it is a workaround.

--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple

^ permalink raw reply	[flat|nested] 12+ messages in thread

* Re: Scrollback buffer broken with snapshot
  2014-01-31  2:57 ` Steven Penny
  2014-01-31  5:29   ` Marco Atzeri
@ 2014-02-01  9:01   ` Marco Atzeri
  2014-02-01 15:11     ` Steven Penny
  1 sibling, 1 reply; 12+ messages in thread
From: Marco Atzeri @ 2014-02-01  9:01 UTC (permalink / raw)
  To: cygwin

On 31/01/2014 03:57, Steven Penny wrote:
> On Thu, Jan 30, 2014 at 8:44 PM, Steven Penny wrote
>> However using this snapshot
>> http://cygwin.com/snapshots/x86_64/cygwin1-20140128.dll.xz
>>
>> it now only clears the screen
>
> More info
>
>      cygwin1-20140128.dll.xz  BAD
>      cygwin1-20140124.dll.xz  BAD
>      cygwin1-20140118.dll.xz  BAD
>      cygwin1-20140117.dll.xz  BAD
>      cygwin1-20140108.dll.xz  BAD
>      cygwin1-20140105.dll.xz  BAD
>      cygwin1-20131231.dll.xz  GOOD
>
> --

looking at the timing, it is possible that the regression
is coming from this change

http://cygwin.com/ml/cygwin-cvs/2014-q1/msg00000.html

I am not an expert in this area but on

https://sourceware.org/cgi-bin/cvsweb.cgi/src/winsup/cygwin/fhandler_console.cc.diff?cvsroot=src&r1=1.283&r2=1.284

Is see that a specific workaround was disabled
--------------------------------------------------------------
+#if 0 /* CGF: 2014-01-04 Assuming that we don't need this anymore */
    /* ScrollConsoleScreenBuffer on Windows 95 is buggy - when scroll 
distance
     * is more than half of screen, filling doesn't work as expected */
--------------------------------------------------------------

re-enabling it and testing should be easy, could you make by yourself ?

Marco

--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple

^ permalink raw reply	[flat|nested] 12+ messages in thread

* Re: Scrollback buffer broken with snapshot
  2014-02-01  9:01   ` Marco Atzeri
@ 2014-02-01 15:11     ` Steven Penny
  0 siblings, 0 replies; 12+ messages in thread
From: Steven Penny @ 2014-02-01 15:11 UTC (permalink / raw)
  To: Andrey Repin

On Sat, Feb 1, 2014 at 3:01 AM, Marco Atzeri wrote
> I am not an expert in this area but on
>
> https://sourceware.org/cgi-bin/cvsweb.cgi/src/winsup/cygwin/fhandler_console.cc.diff?cvsroot=src&r1=1.283&r2=1.284

It looks like Chris fixed it already, just decided not to tell anyone. Sneaky

http://cygwin.com/snapshots/x86_64/winsup-changelog-20140128-20140131

--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple

^ permalink raw reply	[flat|nested] 12+ messages in thread

end of thread, other threads:[~2014-02-01 15:11 UTC | newest]

Thread overview: 12+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-01-31  2:44 Scrollback buffer broken with snapshot Steven Penny
2014-01-31  2:57 ` Steven Penny
2014-01-31  5:29   ` Marco Atzeri
2014-01-31 12:26     ` Steven Penny
2014-01-31 13:26       ` Marco Atzeri
2014-01-31 14:05         ` Andrey Repin
2014-01-31 17:13         ` Ken
2014-02-01  0:09         ` Steven Penny
2014-02-01  5:50           ` Andrey Repin
2014-02-01  7:16             ` Steven Penny
2014-02-01  9:01   ` Marco Atzeri
2014-02-01 15:11     ` Steven Penny

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).