TIP: Click on subject to list as thread! ANSI
echo: telix
to: RHONDA FRYE
from: BRUCE WILSON
date: 1998-01-01 09:28:00
subject: Re: Clearing Screen

On 28 Dec 97 09:38pm, Rhonda Frye wrote to All:
 RF> Can someone help me, I just switched to the 3.51 version
 RF> of Telix and it seems that when I am offline and I clear
 RF> my screen, instead of going to a black screen, like in
 RF> older versions of Telix, my screen now goes to whatever
 RF> color was last on my screen...Gets very annoying when the
 RF> last color you had on your screen was Yellow or Red...
I've had the very same problem/experience.  Here's a script that
Zack Jones gave me via the echo almost 4 years ago to fix it.  It'll
reset the colors to white on black (or, with modification, whatever
conbination you want).
main()
{
  _back_color = 0;    //sets background to black
  _fore_color = 15;   //sets foreground to bright white
                      //can use 7 here if you'd prefer
  Update_term();      //update the terminal
  clear_scr();        //clear the screen
}
Hope this helps.
--- Via Silver Xpress V4.4P [Reg]
---------------
* Origin: FOG-Line BBS - 515-964-7937 - 1:290/627 (1:290/627)

SOURCE: echomail via exec-pc

Email questions or comments to sysop@ipingthereforeiam.com
All parts of this website painstakingly hand-crafted in the U.S.A.!
IPTIA BBS/MUD/Terminal/Game Server List, © 2025 IPTIA Consulting™.