home bbs files messages ]

Forums before death by AOL, social media and spammers... "We can't have nice things"

   comp.lang.pascal.borland      Borland Pascal was actually pretty neat      2,978 messages   

[   << oldest   |   < older   |   list   |   newer >   |   newest >>   ]

   Message 2,684 of 2,978   
   Schjaer to bjjlyates@NOSPAMbellsouth.net   
   Re: Correct screen colors not restored a   
   28 Aug 08 13:26:56   
   
   From: jsj@nospambyg.dtu.dk   
      
   "winston19842005"  wrote in message   
   news:C4D471FD.81D8%bjjlyates@NOSPAMbellsouth.net...   
   > On 8/22/08 7:51 AM, in article g8m988$h8h$1@news.net.uni-c.dk, "Schjaer"   
   >  wrote:   
   >   
   >> Hi group   
   >>   
   >> After exiting a DOS program that manipulates the screen colors I   
   >> sometimes   
   >> (but not always) don't get the same colors back that existed before   
   >> invoking   
   >> the program. I have tried to save then restore TextAttr within the   
   >> program   
   >> but that seems to have no effect. I have observed this in both Turbo   
   >> Pascal   
   >> 7.0 and FreePascal. It seems to be a question of sheer luck if the   
   >> original   
   >> screen colors are restored or not at exit. Any suggestions?   
   >>   
   >> Jorgen   
   >>   
   >>   
   > It might help to know the OS.   
      
   It seems to be a problem only under genuine DOS (6.22), not under Windows   
   DOS-prompt.   
      
   > I've noticed programs that did not exhibit this behavior under Windows   
   > versions prior to XP did not exhibit this behavior, whereas the same   
   > program   
   > (same configuration) run under "DOS" under XP or Vista sometimes have   
   > strange color changes.   
      
   So far I have noticed it only under real DOS.   
      
   --- SoupGate-Win32 v1.05   
    * Origin: you cannot sedate... all the things you hate (1:229/2)   

[   << oldest   |   < older   |   list   |   newer >   |   newest >>   ]


(c) 1994,  bbs@darkrealms.ca