MathGroup Archive 2009

[Date Index] [Thread Index] [Author Index]

Search the Archive

Re: Stopping a running program

  • To: mathgroup at
  • Subject: [mg94956] Re: Stopping a running program
  • From: Jens-Peer Kuska <kuska at>
  • Date: Thu, 1 Jan 2009 07:25:04 -0500 (EST)
  • References: <gjacq1$ou9$> <gjcuhd$cm8$> <gjfjoe$d4r$>


that is a bit rude, what is with killing the Kernel, the FrontEnd
and reboot the computer ;-)


Helen Read wrote:
> Jens-Peer Kuska wrote:
>> Hi,
>> a) your While[ 1==1, Print["Hi"]] cause the kernel to send a lot of
>>     data to the FrontEnd and the FrontEnd must format it again and
>>     again for every new cell. So the FrontEnd is busy and it is
>>     hard for it to send a Abort message to the Kernel.
>>     I would suggest to use Dynamic[] to show the progress in a variable, i.e.,
>>     mymessage = "Wait";
>>     Dynamic[mymessage]
>>     i = 0;
>>     While[True,
>>       mymessage = If[EvenQ[i++], "Humpty", "Dumpty"];
>>      ]
>> b) if you do so, Alt-"." as well as the menu entry
>>     Evaluation | Abort Evaluation work
>> c) if not, you have to press Alt-. several times and
>>     hope the the FrontEnd will get it and that the buffer
>>     with all the Print[] messages is not too full
> Sometimes if the FrontEnd will not respond to Alt-. or Abort Evaluation, 
>   you can shut down the kernel completely from Evaluation, Quit Kernel, 
> Local. Of course, that clears everything that you had in memory.
> --
> Helen Read
> University of Vermont

  • Prev by Date: Re: Combining Plots with Different Ordinate Axes in
  • Next by Date: Re: Converting 2D Lists to 3D lists
  • Previous by thread: Re: Re: Re: Test for composite digit
  • Next by thread: Re: Stopping a running program