Re: [Harbour] terminal settings with gttrm

2009-07-28 Thread Guy Roussin
Hi, Yes it is and it's expected behavior. We cannot restore sth what we do not know. Anyhow it's possible to make a trick and simulate such behavior on some terminals which supports alternative screen display. This code shows it. It works with terminals which supports the following escape sequen

Re: [Harbour] terminal settings with gttrm

2009-07-28 Thread Przemyslaw Czerpak
On Tue, 28 Jul 2009, Guy Roussin wrote: Hi, > Thank you i update harbour from svn and now it restores correctly default > terminal color on exit. But only for the prompt and the cursor, the rest of > the > screen is always black. > How can i restore screen before harbour app ? There is not meth

Re: [Harbour] terminal settings with gttrm

2009-07-28 Thread Guy Roussin
Hi Przemek, I must then enter the reset command (in bash) to find the originals terminal settings (black on white background) Is there possibility to correct or bypass this problem? AFAIK you are using older GTTRM code because current one restores default terminal color on exit. Thank

Re: [Harbour] terminal settings with gttrm

2009-07-28 Thread Przemyslaw Czerpak
On Tue, 28 Jul 2009, Guy Roussin wrote: > When I run in a linux terminal, a program that uses harbour gttrm > (default?), > all goes well, but the display is done in white on a black background. > When the program is completed, the display remains in white on a > black background. Default color s