Changeset 14733 for misc/runpugs/data
- Timestamp:
- 11/13/06 11:07:04 (2 years ago)
- Location:
- misc/runpugs/data
- Files:
-
- 1 added
- 2 modified
-
runpugs.html (modified) (1 diff)
-
runpugs2.html (modified) (5 diffs)
-
runpugs2s.html (added)
Legend:
- Unmodified
- Added
- Removed
-
misc/runpugs/data/runpugs.html
r14512 r14733 27 27 <div id="mainwindow"> 28 28 <h1>Run Perl 6 now -- in your browser!</h1> 29 <p>This live web terminal runs the <a href="http://www.pugscode.org">pugs</a> interpreter for <a30 href="http://dev.perl.org/perl 6/">Perl 6</a>. For more details, read the <a31 href="http://feather.perl6.nl/~andara/runpugs/">info page</a>.32 </p>33 <p>By default, the Pugs session will use the <a34 href="http://search.cpan.org/search?query=perl6%3A%3Apugs&mode=module">latest35 release</a>. To use the latest development snapshot, change the setting36 below.</p>37 29 38 30 <form id="term" name="terminal" action="/cgi-bin/runpugs" method="POST"> 39 40 31 <input type="hidden" name="testing" value="_TESTING_"> 41 32 <input type="hidden" name="sessionid" value=""> 42 33 <input type="hidden" name="action" value="runpugs"> 43 <!--<fieldset>--> 34 <h2>Interactive Pugs Session</h2> 35 <!-- _MOTD_ --> 44 36 <input type="radio" id="rel" value="0" name="reldev" _REL_ ><label 45 for="rel">Release</label> 46 <input type="radio" id="dev" value="1" name="reldev" _DEV_ ><label for="dev">Development</label> 47 <!--</fieldset>--> 48 <h2>Interactive Pugs Session</h2> 49 <!--<textarea id="history" name="history" rows="1" cols="1" 50 style="overflow: hidden; border: 0px; width: 0px; 51 font-size:0px">_CMD_</textarea>--> 52 <!--<label for="cmd">Interactive Pugs Session<br>--> 53 <textarea id="cmd" name="cmd" rows="24" cols="80" wrap="virtual" onKeyPress="return submitenter(this,event)"> 37 for="rel">Release version</label> 38 <input type="radio" id="dev" value="1" name="reldev" _DEV_ ><label 39 for="dev">Development version</label> 40 <div id="termwindow"> 41 <textarea id="cmd" name="cmd" rows="23" cols="80" wrap="virtual" onKeyPress="return submitenter(this,event)"> 54 42 pugs> 55 43 </textarea> 56 <!--</label>--> 57 <br> 44 </div> 58 45 <input id="enter" type="submit" value="Submit"> 59 46 </form> 60 47 <script language="JavaScript"> 61 48 document.terminal.enter.style.display='none'; 62 document.terminal.cmd.focus() 49 document.terminal.cmd.focus(); 50 document.terminal.cmd.scrollTop =document.terminal.cmd.scrollHeight; 63 51 </script> 52 <p>This live web terminal runs the <a href="http://www.pugscode.org">Pugs</a> interpreter for <a 53 href="http://dev.perl.org/perl 6/">Perl 6</a>. Please <a 54 href="http://feather.perl6.nl/~andara/runpugs/">read the documentation</a>. 55 </p> 64 56 <p class="copyright">© Copyright 2006 by Wim Vanderbauwhede</p> 65 57 </div> -
misc/runpugs/data/runpugs2.html
r14512 r14733 25 25 function select_enter() 26 26 { 27 /* _SKIPC_ 27 28 document.terminal.cmdline.value=document.terminal.hist.options[document.terminal.hist.selectedIndex].value; 28 29 document.terminal.hist.selectedIndex=0; 29 30 document.terminal.cmdline.focus(); 31 _SKIPC_ */ 32 /* _SKIPT_ 33 document.terminal.cmd.value+=document.terminal.hist.options[document.terminal.hist.selectedIndex].value; 34 document.terminal.hist.selectedIndex=0; 35 document.terminal.cmd.focus(); 36 _SKIPT_ */ 30 37 } 31 38 … … 50 57 <div id="mainwindow"> 51 58 <h1>Run Perl 6 now -- in your browser!</h1> 59 <!-- 52 60 <p>This live web terminal runs the <a href="http://www.pugscode.org">pugs</a> interpreter for <a 53 href="http://dev.perl.org/perl 6/">Perl 6</a>. For more details, read the <a54 href="http://feather.perl6.nl/~andara/runpugs/"> info page</a>.61 href="http://dev.perl.org/perl 6/">Perl 6</a>. Please <a 62 href="http://feather.perl6.nl/~andara/runpugs/">read the documentation</a>. 55 63 </p> 56 <p>By default, the Pugs session will use the <a 57 href="http://search.cpan.org/search?query=perl6%3A%3Apugs&mode=module">latest 58 release</a>. To use the latest development snapshot, change the setting 59 below.</p> 60 64 --> 61 65 <form id="term" name="terminal" action="/cgi-bin/runpugs2" method="POST"> 62 66 <input type="hidden" name="prompt" value="_PROMPTW_"> … … 65 69 <input type="hidden" name="action" value="runpugs"> 66 70 <input type="radio" id="rel" value="0" name="reldev" _REL_ ><label 67 for="rel">Release</label> 68 <input type="radio" id="dev" value="1" name="reldev" _DEV_ ><label for="dev">Development</label> 71 for="rel">Release version</label> 72 <input type="radio" id="dev" value="1" name="reldev" _DEV_ ><label 73 for="dev">Development version</label> 74 <!-- 69 75 <br><br> 70 76 <span class="tabon">Interactive Pugs Session</span> 71 77 <a class="taboff" href="/cgi-bin/runpugs2?ia=0">Run a Perl 6 Script</a> 78 --> 72 79 <div id="termwindow"> 73 80 <select name="history" id="hist" onChange="select_enter()"> … … 76 83 </select> 77 84 <br> 85 <!-- _SKIPT_ 86 <textarea id="cmd" name="cmd" rows="20" cols="80" wrap="virtual" 87 onKeyPress="return submitenter(this,event)"> 88 _ALL_ 89 </textarea> 90 _SKIPT_ --> 91 <!--_SKIPC_ 78 92 <textarea readonly id="output" name="output" rows="_NROWS_" cols="80" wrap="virtual"> 79 93 _REPLYW_ … … 86 100 onKeyPress="return submitenter(this,event)"> 87 101 </label> 102 _SKIPC_ --> 88 103 </div> 89 <br>90 104 <input id="enter" type="submit" value="Submit"> 91 105 </form> 92 106 <script language="JavaScript"> 93 107 document.terminal.enter.style.display='none'; 94 document.terminal.cmdline.focus() 95 document.terminal.output.scrollTop =document.terminal.output.scrollHeight; 96 if (document.terminal.output.rows==1) { 108 document.terminal.cmdline.focus() // _SKIPT_ 109 document.terminal.cmd.focus() // _SKIPC_ 110 document.terminal.output.scrollTop =document.terminal.output.scrollHeight; // _SKIPT_ 111 document.terminal.cmd.scrollTop =document.terminal.cmd.scrollHeight; // _SKIPC_ 112 //if (document.terminal.output.rows==1) { 97 113 //document.terminal.output.style.height="2ex"; 98 }114 //} 99 115 </script> 116 <p>This live web terminal runs the <a href="http://www.pugscode.org">pugs</a> interpreter for <a 117 href="http://dev.perl.org/perl 6/">Perl 6</a>. Please <a 118 href="http://feather.perl6.nl/~andara/runpugs/">read the documentation</a>. 119 </p> 100 120 <p class="copyright">© Copyright 2006 by Wim Vanderbauwhede</p> 101 121 </div>
