rwd_files/HowTo_RwdDemo.txt in rwddemo-0.8 vs rwd_files/HowTo_RwdDemo.txt in rwddemo-0.90

- old
+ new

@@ -1,108 +1,35 @@ -= HowTo use the Shell Program += HowTo use the RwdCalc Program -How to Use the Shell Program (rwdshell) -rwdshell is a web brower interface to operating system shell commands +rwdcalc is a web brower interface to arithmetic commands -1. run shell commands -2. run Ruby commands in the browser 3. use a calculator -4. Open brower windows with html documents + The GUI interface used is RubyWebDialogs Start the program by typing ruby init.rb Then point your web browser to: http://localhost:7705/ -== To use a shell command -Enter the shell command you want to run for in the browser form and press execute. -After a second the browser should fill with the results of the command. -try ls, df, cat "filename", and other shell commands -You should be able to run one command after another - - -There are two ways to add scripts to rwdshell directory. - - - -== Creating a script - - -1. Use the "Create New Script" tab -<blockquote> - The first field is the most important. It is the filename that - will be created. - myshellscript - - The following line for entry is a shell command. - - The last line is for comment to describe the script - When you are finished press the CreateFile button - - -2. Manually add an entry for a script - - You can use a text editor to create a record - put information on separate lines. You can have as many lines as you want - name the file with caps and no spaces and end with .sh - mynextscript.sh - - Save your file to the scripts/ subdirectory - - -== Viewing a recorded script entry: - - -* Go to "List Scripts" tab - - - You can get a list of all scripts by clicking the listfiles button - - To see the text of a script - Type in the name of the script you want. - - type it without the sh ending - myscript - - Then click the "ViewScript" button - - If it finds the script it will open it. It displays the text the search box. - - -== Ruby Commands - - -At the Ruby tab here are some commands you might try - -print "hello" + "\n" - -bar=46; print "%s" % bar, "\n" - -"abc".each_byte{|c| printf "<%c>", c}; print "\n" - -"a\nb\nc\n".each_line{|l| print l} - -for l in "a\nb\nc\n" ; print l ; end - -print "%s" % "abcdef".length - - == Calculator add or multiply 2 numbers together +subtract or divide +see a running tape + == Documents when you click on a document name, the document should pop up in a browser window, or in another browser tab. @@ -161,12 +88,23 @@ http://www.erikveen.dds.nl/rubywebdialogs/index.html Thanks, Steven Gibson == Changelog +Version 0.5 + corrected selectiontab + added sample math demos + added script running tab + added script editing + added script rename, delete + updated for rwdtinker 1.51 Version 0.3 - Changed directory structure to work with rwdtinker 0.9 or greater. - Improved the filename selection - Changed the layout on the list screen + Changed directory structure to work with rwdtinker 1.4. + Added running tape + Added subtraction and division + moved to second window + +Version 0.2 + converted to rwdtinker applet