Changeset 14512 for misc/runpugs/data

Show
Ignore:
Timestamp:
10/24/06 18:30:58 (2 years ago)
Author:
andara
Message:

[runpugs]
-now runs latest release by default, latest devel as option
-runpugs2: devel version, now with non-interactive sessions (not live yet)

Location:
misc/runpugs/data
Files:
2 modified

Legend:

Unmodified
Added
Removed
  • misc/runpugs/data/runpugs.html

    r14380 r14512  
    2727<div id="mainwindow"> 
    2828<h1>Run Perl 6 now -- in your browser!</h1> 
    29 <p>This live web terminal runs the latest development snapshot of 
    30 the <a href="http://www.pugscode.org">pugs</a> interpreter for <a 
     29<p>This live web terminal runs the <a href="http://www.pugscode.org">pugs</a> interpreter for <a 
    3130href="http://dev.perl.org/perl 6/">Perl 6</a>. For more details, read the <a 
    3231href="http://feather.perl6.nl/~andara/runpugs/">info page</a>. 
    3332</p> 
    34 <form style="text-align: center" id="term" name="terminal" action="/cgi-bin/runpugs" method="POST">                   
     33<p>By default, the Pugs session will use the <a 
     34href="http://search.cpan.org/search?query=perl6%3A%3Apugs&mode=module">latest 
     35release</a>. To use the latest development snapshot, change the setting 
     36below.</p> 
     37 
     38<form id="term" name="terminal" action="/cgi-bin/runpugs" method="POST">                   
    3539                                
    3640<input type="hidden" name="testing" value="_TESTING_"> 
    3741<input type="hidden" name="sessionid" value=""> 
    3842<input type="hidden"    name="action" value="runpugs"> 
     43<!--<fieldset>--> 
     44<input type="radio" id="rel" value="0" name="reldev" _REL_ ><label 
     45for="rel">Release</label>&nbsp;&nbsp; 
     46<input type="radio" id="dev" value="1" name="reldev" _DEV_ ><label for="dev">Development</label> 
     47<!--</fieldset>--> 
     48<h2>Interactive Pugs Session</h2> 
    3949<!--<textarea id="history" name="history"  rows="1" cols="1" 
    4050style="overflow: hidden; border: 0px; width: 0px; 
    4151font-size:0px">_CMD_</textarea>--> 
    42 <label for="cmd">Interactive Pugs Session<br> 
     52<!--<label for="cmd">Interactive Pugs Session<br>--> 
    4353<textarea id="cmd" name="cmd" rows="24" cols="80" wrap="virtual" onKeyPress="return submitenter(this,event)"> 
    4454pugs&gt;&nbsp; 
    4555</textarea> 
    46 </label> 
     56<!--</label>--> 
    4757<br> 
    4858<input id="enter" type="submit" value="Submit">&nbsp;&nbsp;&nbsp; 
  • misc/runpugs/data/runpugs2.html

    r14449 r14512  
    5050<div id="mainwindow"> 
    5151<h1>Run Perl 6 now -- in your browser!</h1> 
    52 <p>This live web terminal runs the latest development snapshot of 
    53 the <a href="http://www.pugscode.org">pugs</a> interpreter for <a 
     52<p>This live web terminal runs the <a href="http://www.pugscode.org">pugs</a> interpreter for <a 
    5453href="http://dev.perl.org/perl 6/">Perl&nbsp;6</a>. For more details, read the <a 
    5554href="http://feather.perl6.nl/~andara/runpugs/">info page</a>. 
    5655</p> 
    57 <form style="text-align: left" id="term" name="terminal" 
    58 action="/cgi-bin/runpugs2" method="POST">                   
     56<p>By default, the Pugs session will use the <a 
     57href="http://search.cpan.org/search?query=perl6%3A%3Apugs&mode=module">latest 
     58release</a>. To use the latest development snapshot, change the setting 
     59below.</p> 
    5960                                
    60 <input type="hidden" name="testing" value="_TESTING_"> 
     61<form id="term" name="terminal" action="/cgi-bin/runpugs2" method="POST">                   
    6162<input type="hidden" name="prompt" value="_PROMPTW_"> 
    6263<input type="hidden" name="sessionid" value=""> 
     64<input type="hidden"    name="ia" value="1"> 
    6365<input type="hidden"    name="action" value="runpugs"> 
    64 <!--<label for="cmd">Interactive Pugs Session<br>--> 
    65 <h2>Interactive Pugs Session</h2> 
     66<input type="radio" id="rel" value="0" name="reldev" _REL_ ><label 
     67for="rel">Release</label>&nbsp;&nbsp; 
     68<input type="radio" id="dev" value="1" name="reldev" _DEV_ ><label for="dev">Development</label> 
     69<br><br> 
     70<span class="tabon">Interactive Pugs Session</span> 
     71&nbsp;&nbsp;<a class="taboff" href="/cgi-bin/runpugs2?ia=0">Run a Perl 6 Script</a> 
    6672<div id="termwindow"> 
    67 <select name="history" id="hist" onChange="select_enter()"><!--onKeyPress="return 
    68 select_enter(this,event)">--> 
     73<select name="history" id="hist" onChange="select_enter()"> 
    6974<option value="">--- Recent commands ---</option> 
    7075_HIST_ 
    7176</select> 
    7277<br> 
    73 <!-- 
    74 <span class="prompt"> 
    75 _PROMPTW_ 
    76 </span> 
    77 <span class="termfont"> 
    78 _CMDW_ 
    79 </span> 
    80 <br> 
    81 --> 
    8278<textarea readonly id="output" name="output" rows="_NROWS_" cols="80" wrap="virtual"> 
    8379_REPLYW_