On Tue, 22 Dec 2009, Jacek Potempa wrote:

Hi,

> (sorry for my previous post under invalid subject - please ignore)

The subject is not the problem.
The real problem is the fact that you didn't start new thread
but simply used "replay" option in your mail program so your
both messages still belongs to the same initial thread. The context
of subject is unimportant for mail programs which can follow threads.
Just look at:
http://lists.harbour-project.org/pipermail/harbour/2009-December/thread.html#29367

If you want to start new thread then please remember to not use "replay"
but always create new clean message and if you want to replay then always
use "replay" option in your mail program instead of creating new message.

> Recently one of our customers reported bug in Terminal software.
> After tracing it down it seems that the actuall problem lays in
> xHarbour/Harbour implementation of the  hb_gt_win_SetMode() /
> gtwin.c
> SetConsoleWindow API function cannot set console window larger then
> current screen buffer
> SetConsoleScreenBufferSize API function cannot set screen buffer
> smaller than the current console window size
> Due to this limitations, in current implementation  SetMode() is
> unable to change console size if one ot the new dimentions is larger
> then the previous one and at the same time the other one is smaller
> then the previous one. For instance, having console 25 X 80,
> SetMode( 23, 85 ) will fail.

Yes, you are right. Strange that no one reported it for such long time.
Thank you very much for the information and patch.

> Below my suggested fix for this problem. I have no access to CVS, so
> would be nice if somebody familiar with gtwin.c review and implement
> the solution.

I'll commit your fix (modified a little bit) in a while.
I do not have any windows here so please test it.

BTW I've just added you to Harbour devel list.

best regards,
Przemek
_______________________________________________
Harbour mailing list (attachment size limit: 40KB)
[email protected]
http://lists.harbour-project.org/mailman/listinfo/harbour

Reply via email to