> From: Eric Iverson > > First taste of j701 is available. Have done both system & user installs on Windows 7 - no issues to report.
The jhs interface looks pretty promising. I had no problem getting it running. It took me a little while to get my head around the jopn page interface and the fact that buttons labelled "opn" take me to the equivalent of a "File open" dialog. I'm sure this can be more intuitive but will have more of a think about it before making too many suggestions, but the immediate thing that sprang to mid was whether using <input type="file"> to provide access to the OS file selection dialog, would help. Currently if I ask for a new .ijs file, it will create ~temp/1.ijs whether one already exists or not. Normally if 1.ijs existed it would create 2.ijs. Not sure if this is by design? On Firefox 3.5.5 the text formatting for the session log is broken by an unclosed <font> tag in the Welcome preamble (welcome_jfe_). IE8 displays it OK. It causes displays a using the same font and colour as the preamble. After a jclear'' it the session log displays OK though. The <font> tag gets used quite a bit as a container. It has been deprecated for a number of years now. I'd suggest replacing it with something else - perhaps <span class="myclass">. Along the same lines is there a reason for manually formatting the various headings in welcome_jde_ rather than just using <h1> <h2> etc? Is it possible to use something more like the following instead? welcome=: 0 : 0 <h1>J http server welcomes you!</h1> <p class="txt">Enter J sentences (↑↓ recall).<br> Recall ↓ has system sentences.<br> Avoid browser back/refresh/history.<br> Use browser tabs.<br> Bookmark this page.</p> <h3>Script:</h3> <p> ↓↵ runs <span class="fm">jpage'jopn'</span><br> press <span class="btn">ijs</span> to open new ijs form<br> edit, press <span class="btn">run</span>, and press <span class="btn">ijx</span></p> <h3>Viewmat:</h3> <p class="fm"> jvm ?20 20$2<br> jvm */~ i:9 </p> <h3>Plot:</h3> <p class="fm"> 'title growth' jpdf 2^i.10<br> <span class="prose">↓ ↵ runs</span> jpage'jopn'<br> <span class="prose">press <span class="btn">open</span> for</span> <span class="file">~temp\plot.pdf</span> </p> <h3>Utils:</h3> <p class="fm"> jclear'' NB. clear LOG<br> jbd y NB. boxdraw<br> jbd 0 NB. +|-<br> jhtml y NB. html output<br> jhtml'<font style="font-size:32px;";>A</font>'<br> jfe_jfe_ y NB. toggle console/browser </p> <a href="http://www.jsoftware.com">www.jsoftware.com</a> <a href="http://www.jsoftware.com/help">www.jsoftware.com/help</a> ) In conjunction with the changes needed to make the style statement in the head like this, everything becomes more flexible. <style type="text/css"> body, .prose {font-family:sans-serif; font-size:13px; color:#008080;} .fm, .er, .log, .sys, .file, input {font-family:"courier new","courier","monospace"; font-size:12px; color:black;} *.btn {background:lightblue;font-weight:bold;} *.fm {color:black;} *.er {color:red;} *.log {color:blue;} *.sys {color:purple;} *.file {color:green;} input {width:100%;} </style> ---------------------------------------------------------------------- For information about J forums see http://www.jsoftware.com/forums.htm
