Re: 'Blinking Screen on Exit from Clip app



Pete & Klaus:

I tried your suggestions earlier.

They do not work when I use 'Yellow on Blue' as my standard Command
Prompt colour.

*But* if I set up the Command Prompt screen as the standard 'white on
black' (as suggested in an earlier post above), then the blinks stops -- But
I lose my favourite 'yellow on blue' :((

Thanks for all your help.

-Mel (now in a black and white world)

"Klas Engwall" <klas.engwall@xxxxxxxxxxxxx> wrote in message
news:46aa78fa$0$1347$834e42db@xxxxxxxxxxxxxxxxxxxxxxxxxx
Pete/Mel,

You could try:

entryColor = setcolor()

as the very first color command when your app loads, and

setcolor(entryColor)

on exit. The latter is much easier if your app has only one exit
point :-)

Good places to put that kind of code would be in an init procedure and
an exit procedure, making entryColor a static variable. That removes
the need to search for and modify possible exit points in various
modules.

Regards,
Klas

-------
klas dot engwall at engwall dot com

http://www.engwall.com/clipper/

The LFN Library for Clipper
The LanMan Library for Clipper
The NFPAT1A Timeslice release patch for the Nanforum Toolkit


.



Relevant Pages

  • Re: Most dependable way to run system commands
    ... Eventually I'd like to bring the execution of a few system commands ... specific execution issue (it dealt more with executing Perl code)). ... Unix and many similar systems, the exit status is an integer, with 0 ... variable after running a command via system or backticks. ...
    (perl.beginners)
  • Re: very slow cursor in CMD window w/Text editor?
    ... REM MS-DOS-based application, Windows runs COMMAND.COM. ... To run CMD.EXE, the Windows command prompt, ... The exit command is an internal command part of command.com or cmd.exe. ...
    (microsoft.public.windowsxp.general)
  • Re: difference between the -o and || conditionals.
    ... you are running a first "[" command with ... equal to the number whose string representation is in its third ... a non-0 exit status otherwise. ... the cat and grep commands are run and its (possibly ...
    (comp.unix.shell)
  • Re: [BUGFIX 2/2] gdth: bugfix for the Timer at exit crash
    ... I have more problems reported, with exit, and am just sending one more patch that puts ... What does a driver need to do if it needs a consistent shutdown retine? ... The alternative for GDTH would be to process the SCSI SYNCHRONIZE CACHE ... Why would we think that the controller does not support this command ...
    (Linux-Kernel)
  • [SLE] Printing help needed
    ... I broke my printing somehow. ... renderer command line returned an unrecognized error code 255.", exit ... printing through Kprinter and directly, command line, etc.). ... error on renderer command line or PostScript error. ...
    (SuSE)