I also have my IT guy in the meteorology department here looking into it. Here are some relevant code lines in my script:<br><br>'set rgb 90 100 100 100'<br>'set rgb 91 50 50 50'<br>'set rgb 92 200 200 200'<br>
'set button 1 90 91 92 2 90 92 91 6'<br><br> 'draw button 1 9 8 0.75 0.25 >'<br> 'draw button 2 8 8 0.75 0.25 <'<br> 'draw button 3 10 8 0.75 0.25 STOP'<br> 'swap'<br> 'q pos'<br>
buttonnum = 0<br> buttonnum = subwrd(result,7)<br> if (buttonnum = 1)<br> tt = tt + 1<br> 'redraw button 1 1'<br> else<br> if (buttonnum = 2)<br> tt = tt - 1<br> 'redraw button 2 1'<br> else<br>
if (buttonnum = 3)<br> break<br> else<br> say "click on a button to continue"<br> endif<br> endif<br> endif<br><br>Jeff<br><br><div class="gmail_quote">On Tue, Oct 5, 2010 at 1:38 PM, Jennifer Adams <span dir="ltr"><<a href="mailto:jma@cola.iges.org">jma@cola.iges.org</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;"><div style="word-wrap: break-word;">Heh. <div>Well, the "Overlay!... " messages are part of a memory-management debugging scheme we are using -- those message indicate a memory leak somewhere. I guess I must have left it in verbose mode for the a5 release, because those messages should ordinarily be suppressed. If you are building from source, you can set verbo=0 in galloc.c. Better yet, upgrade to 2.0.a9! </div>
<div><br></div><div>As for why the text in the command window got garbled, I have no idea, except that the characters it's trying to print (in the first few lines) are the ones that were 'stomped on' (overlaid). </div>
<div><br></div><div>I would be interested to try to reproduce your memory leak so I can patch it, if you could please email me a simplified version of your script that still generates the messages. Looks like the buttons are causing the problems. </div>
<div><br></div><div>--Jennifer</div><div><br></div><div><br></div><div><br><div><div><div></div><div class="h5"><div>On Oct 5, 2010, at 2:16 PM, Jeffrey Duda wrote:</div><br></div></div><blockquote type="cite"><div><div></div>
<div class="h5">Has anyone else ever had command line text become garbled when using buttons in Grads? See attached images for what I mean. The output came at a rate of one line for each time I clicked on a button.<br><br>
Jeff Duda<br clear="all"> <br>-- <br>Jeff Duda<br>Iowa State University<br>Meteorology Graduate Student<br>3134 Agronomy Hall<br><a href="http://www.meteor.iastate.edu/%7Ejdduda" target="_blank">www.meteor.iastate.edu/~jdduda</a><br>
</div></div><span><Screenshot-1.png></span><span><w_image.png></span>_______________________________________________<br>gradsusr mailing list<br><a href="mailto:gradsusr@gradsusr.org" target="_blank">gradsusr@gradsusr.org</a><br>
<a href="http://gradsusr.org/mailman/listinfo/gradsusr" target="_blank">http://gradsusr.org/mailman/listinfo/gradsusr</a><br></blockquote></div><font color="#888888"><br><div> <span style="border-collapse: separate; border-spacing: 0px; color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px;"><div style="word-wrap: break-word;">
<span style="border-collapse: separate; border-spacing: 0px; color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px;"><span style="border-collapse: separate; border-spacing: 0px; color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px;"><div>
--</div><div>Jennifer M. Adams</div><div>IGES/COLA</div><div>4041 Powder Mill Road, Suite 302</div><div>Calverton, MD 20705</div><div><a href="mailto:jma@cola.iges.org" target="_blank">jma@cola.iges.org</a></div><div><br>
</div><br></span></span></div></span> </div><br></font></div></div><br>_______________________________________________<br>
gradsusr mailing list<br>
<a href="mailto:gradsusr@gradsusr.org">gradsusr@gradsusr.org</a><br>
<a href="http://gradsusr.org/mailman/listinfo/gradsusr" target="_blank">http://gradsusr.org/mailman/listinfo/gradsusr</a><br>
<br></blockquote></div><br><br clear="all"><br>-- <br>Jeff Duda<br>Iowa State University<br>Meteorology Graduate Student<br>3134 Agronomy Hall<br><a href="http://www.meteor.iastate.edu/~jdduda">www.meteor.iastate.edu/~jdduda</a><br>