rwdeliza 0.03
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- data/ElizaData/database/db.1 +7015 -0
- data/ElizaData/database/db.10 +7001 -0
- data/ElizaData/database/db.11 +7001 -0
- data/ElizaData/database/db.12 +7003 -0
- data/ElizaData/database/db.13 +7003 -0
- data/ElizaData/database/db.14 +7008 -0
- data/ElizaData/database/db.15 +7001 -0
- data/ElizaData/database/db.16 +7001 -0
- data/ElizaData/database/db.17 +7001 -0
- data/ElizaData/database/db.18 +7001 -0
- data/ElizaData/database/db.19 +7001 -0
- data/ElizaData/database/db.2 +7001 -0
- data/ElizaData/database/db.20 +5467 -0
- data/ElizaData/database/db.3 +7001 -0
- data/ElizaData/database/db.4 +7001 -0
- data/ElizaData/database/db.5 +7001 -0
- data/ElizaData/database/db.6 +7001 -0
- data/ElizaData/database/db.7 +7001 -0
- data/ElizaData/database/db.8 +7001 -0
- data/ElizaData/database/db.9 +7001 -0
- data/ElizaData/responses/hello.res +1 -0
- data/ElizaData/responses/i_agree.res +1 -0
- data/ElizaData/responses/i_am_listening_to_you.res +1 -0
- data/ElizaData/responses/please_explain.res +1 -0
- data/ElizaData/responses/thank_you.res +1 -0
- data/ElizaData/tiny.dict +211 -0
- data/ElizaData/words/adjectives1.words +906 -0
- data/ElizaData/words/adjectives2w.words +1 -0
- data/ElizaData/words/noun0.words +15 -0
- data/ElizaData/words/noun1.words +1391 -0
- data/ElizaData/words/noun2.words +1924 -0
- data/ElizaData/words/noun4.words +330 -0
- data/ElizaData/words/pronoun1.words +6 -0
- data/ElizaData/words/verb4.words +350 -0
- data/ElizaData/words/verb42.words +391 -0
- data/ElizaData/words/verb42w.words +1 -0
- data/ElizaData/words/verb43.words +402 -0
- data/ElizaData/words/verb43w.words +1 -0
- data/ElizaData/words/verb45.words +452 -0
- data/ElizaData/words/verb4w.words +1 -0
- data/ElizaData/words/verb5.words +13 -0
- data/ElizaData/words/verb61.words +35 -0
- data/ElizaData/words/verb62.words +41 -0
- data/ElizaData/words/verb83.words +17 -0
- data/Readme.txt +462 -0
- data/bin/rwdeliza +19 -0
- data/code/01rwdcore/01rwdcore.rb +29 -0
- data/code/01rwdcore/02helptexthashbegin.rb +4 -0
- data/code/01rwdcore/03helptexthash.rb +23 -0
- data/code/01rwdcore/04helptextend.rb +6 -0
- data/code/01rwdcore/jumplinkcommand.rb +26 -0
- data/code/01rwdcore/openhelpwindow.rb +31 -0
- data/code/01rwdcore/returntomain.rb +10 -0
- data/code/01rwdcore/rundocuments.rb +10 -0
- data/code/01rwdcore/runeditconfiguration.rb +10 -0
- data/code/01rwdcore/runhelpabout.rb +10 -0
- data/code/01rwdcore/runopentinkerdocument.rb +7 -0
- data/code/01rwdcore/rwdtinkerversion.rb +22 -0
- data/code/01rwdcore/rwdwindowreturn.rb +9 -0
- data/code/01rwdcore/selectiontab.rb +9 -0
- data/code/01rwdcore/setuphelpaboutoptions.rb +13 -0
- data/code/01rwdcore/setuptinkerdocuments.rb +6 -0
- data/code/01rwdcore/test_cases.rb +109 -0
- data/code/01rwdcore/test_harness.rb +13 -0
- data/code/01rwdcore/uploadreturns.rb +62 -0
- data/code/dd0viewphoto/dd0viewphoto.rb +3 -0
- data/code/superant.com.rwdeliza/0uninstallapplet.rb +10 -0
- data/code/superant.com.rwdeliza/eliza01.rb +45 -0
- data/code/superant.com.rwdeliza/helptexthashrwdeliza.rb +39 -0
- data/code/superant.com.rwdeliza/openhelpwindowrwdeliza.rb +23 -0
- data/code/superant.com.rwdeliza/runrwdshellwindow.rb +12 -0
- data/code/superant.com.rwdeliza/rwdtinkerversion.rb +10 -0
- data/code/superant.com.rwdeliza/tagsentence.rb +39 -0
- data/code/superant.com.rwdtinkerbackwindow/diagnostictab.rb +19 -0
- data/code/superant.com.rwdtinkerbackwindow/helptexthashtinkerwin2.rb +61 -0
- data/code/superant.com.rwdtinkerbackwindow/initiateapplets.rb +240 -0
- data/code/superant.com.rwdtinkerbackwindow/installgemapplet.rb +34 -0
- data/code/superant.com.rwdtinkerbackwindow/installremotegem.rb +20 -0
- data/code/superant.com.rwdtinkerbackwindow/listgemdirs.rb +12 -0
- data/code/superant.com.rwdtinkerbackwindow/listgemzips.rb +53 -0
- data/code/superant.com.rwdtinkerbackwindow/listinstalledfiles.rb +12 -0
- data/code/superant.com.rwdtinkerbackwindow/listzips.rb +27 -0
- data/code/superant.com.rwdtinkerbackwindow/loadconfigurationrecord.rb +22 -0
- data/code/superant.com.rwdtinkerbackwindow/loadconfigurationvariables.rb +14 -0
- data/code/superant.com.rwdtinkerbackwindow/network.rb +87 -0
- data/code/superant.com.rwdtinkerbackwindow/openappletname.rb +19 -0
- data/code/superant.com.rwdtinkerbackwindow/openhelpwindowtinkerwin2.rb +38 -0
- data/code/superant.com.rwdtinkerbackwindow/remotegemlist.rb +24 -0
- data/code/superant.com.rwdtinkerbackwindow/removeapplet.rb +46 -0
- data/code/superant.com.rwdtinkerbackwindow/removeappletvariables.rb +52 -0
- data/code/superant.com.rwdtinkerbackwindow/runremoteinstall.rb +11 -0
- data/code/superant.com.rwdtinkerbackwindow/runrwdtinkerbackwindow.rb +15 -0
- data/code/superant.com.rwdtinkerbackwindow/rwdtinkerwin2version.rb +13 -0
- data/code/superant.com.rwdtinkerbackwindow/saveconfigurationrecord.rb +19 -0
- data/code/superant.com.rwdtinkerbackwindow/viewappletcontents.rb +22 -0
- data/code/superant.com.rwdtinkerbackwindow/viewgemappletcontents.rb +24 -0
- data/code/superant.com.words/dictlookup.rb +20 -0
- data/code/superant.com.words/runfortunewindow.rb +14 -0
- data/code/superant.com.words/runrwdwordsbackwindow.rb +10 -0
- data/code/superant.com.words/runrwdwordsversion.rb +14 -0
- data/code/superant.com.words/rwdtinkerversion.rb +10 -0
- data/code/zz0applicationend/zz0end.rb +4 -0
- data/configuration/language.dist +8 -0
- data/configuration/rwdapplicationidentity.dist +3 -0
- data/configuration/rwdtinker.dist +18 -0
- data/configuration/rwdweliza-0.03.dist +31 -0
- data/configuration/tinkerwin2variables.dist +17 -0
- data/gui/00coreguibegin/applicationguitop.rwd +4 -0
- data/gui/frontwindow0/cc0openphoto.rwd +22 -0
- data/gui/frontwindowselections/00selectiontabbegin.rwd +11 -0
- data/gui/frontwindowselections/jumplinkcommands.rwd +15 -0
- data/gui/frontwindowselections/wwselectionend.rwd +3 -0
- data/gui/frontwindowtdocuments/00documentbegin.rwd +6 -0
- data/gui/frontwindowtdocuments/tinkerdocuments.rwd +14 -0
- data/gui/frontwindowtdocuments/zzdocumentend.rwd +8 -0
- data/gui/helpaboutbegin/zzzrwdlasttab.rwd +6 -0
- data/gui/helpaboutbegin/zzzzhelpscreenstart.rwd +3 -0
- data/gui/helpaboutbegin/zzzzzzhelpabouttab.rwd +15 -0
- data/gui/helpaboutzend/helpscreenend.rwd +3 -0
- data/gui/helpaboutzend/zhelpscreenstart2.rwd +3 -0
- data/gui/helpaboutzend/zzzzhelpabout2.rwd +15 -0
- data/gui/helpaboutzend/zzzzhelpscreen2end.rwd +3 -0
- data/gui/tinkerbackwindows/superant.com.refreshwindow/fortunerefreshwindowtwo.rwd +9 -0
- data/gui/tinkerbackwindows/superant.com.rwdeliza/1appname.rwd +5 -0
- data/gui/tinkerbackwindows/superant.com.rwdeliza/1eliza.rwd +21 -0
- data/gui/tinkerbackwindows/superant.com.rwdeliza/4sentance.rwd +21 -0
- data/gui/tinkerbackwindows/superant.com.rwdeliza/98jumplinkcommands.rwd +17 -0
- data/gui/tinkerbackwindows/superant.com.rwdeliza/zbackend.rwd +6 -0
- data/gui/tinkerbackwindows/superant.com.rwdschedulebackwindow/1appname.rwd +5 -0
- data/gui/tinkerbackwindows/superant.com.rwdschedulebackwindow/20downloadftp.rwd +45 -0
- data/gui/tinkerbackwindows/superant.com.rwdschedulebackwindow/67viewconfiguration.rwd +29 -0
- data/gui/tinkerbackwindows/superant.com.rwdschedulebackwindow/70rwddiagnostics.rwd +16 -0
- data/gui/tinkerbackwindows/superant.com.rwdschedulebackwindow/m01menubegin.rwd +18 -0
- data/gui/tinkerbackwindows/superant.com.rwdschedulebackwindow/zvbackend.rwd +6 -0
- data/gui/tinkerbackwindows/superant.com.tinkerbackwindow/1appname.rwd +5 -0
- data/gui/tinkerbackwindows/superant.com.tinkerbackwindow/40rwdlistzips.rwd +41 -0
- data/gui/tinkerbackwindows/superant.com.tinkerbackwindow/45installremotezip.rwd +44 -0
- data/gui/tinkerbackwindows/superant.com.tinkerbackwindow/50rwdlistapplets.rwd +44 -0
- data/gui/tinkerbackwindows/superant.com.tinkerbackwindow/60editconfiguration.rwd +30 -0
- data/gui/tinkerbackwindows/superant.com.tinkerbackwindow/70rwddiagnostics.rwd +29 -0
- data/gui/tinkerbackwindows/superant.com.tinkerbackwindow/81jumplinkcommands.rwd +17 -0
- data/gui/tinkerbackwindows/superant.com.tinkerbackwindow/9backend.rwd +6 -0
- data/gui/tinkerbackwindows/superant.com.tinkerhelpwindow/1appname.rwd +31 -0
- data/gui/tinkerbackwindows/superant.com.tinkerhelpwindow/9end.rwd +4 -0
- data/gui/tinkerbackwindows/superant.com.versionwindow/1appname.rwd +19 -0
- data/gui/tinkerbackwindows/superant.com.versionwindow/helpaboutwindow.rwd +17 -0
- data/gui/tinkerbackwindows/superant.com.words/1appname.rwd +4 -0
- data/gui/tinkerbackwindows/superant.com.words/1dictionary.rwd +19 -0
- data/gui/tinkerbackwindows/superant.com.words/3rwdfortune.rwd +14 -0
- data/gui/tinkerbackwindows/superant.com.words/77jumplinkcommands.rwd +17 -0
- data/gui/tinkerbackwindows/superant.com.words/z9end.rwd +6 -0
- data/gui/zzcoreguiend/yy9rwdend.rwd +4 -0
- data/init.rb +277 -0
- data/installed/rwdweliza-0.03.inf +24 -0
- data/installed/temp.rb +1 -0
- data/lang/en/rwdcore/languagefile.rb +58 -0
- data/lang/es/rwdcore/languagefile-es.rb +62 -0
- data/lang/fr/rwdcore/languagefile.rb +64 -0
- data/lang/jp/rwdcore/languagefile.rb +72 -0
- data/lang/nl/rwdcore/languagefile.rb +75 -0
- data/lib/dict.rb +438 -0
- data/lib/druida.rb +499 -0
- data/lib/hashslice.rb +71 -0
- data/lib/linguistics.rb +360 -0
- data/lib/linguistics/en.rb +1601 -0
- data/lib/linguistics/en/infinitive.rb +1148 -0
- data/lib/linguistics/en/linkparser.rb +142 -0
- data/lib/linguistics/en/wordnet.rb +253 -0
- data/lib/linguistics/iso639.rb +456 -0
- data/lib/linkparser.rb +461 -0
- data/lib/linkparser/connection.rb +81 -0
- data/lib/linkparser/connector.rb +201 -0
- data/lib/linkparser/definition.rb +225 -0
- data/lib/linkparser/dictionary.rb +208 -0
- data/lib/linkparser/linkage.rb +185 -0
- data/lib/linkparser/log.rb +39 -0
- data/lib/linkparser/sentence.rb +79 -0
- data/lib/linkparser/utils.rb +540 -0
- data/lib/linkparser/word.rb +92 -0
- data/lib/rconftool.rb +380 -0
- data/lib/rwd/browser.rb +123 -0
- data/lib/rwd/ftools.rb +174 -0
- data/lib/rwd/mime.rb +328 -0
- data/lib/rwd/net.rb +866 -0
- data/lib/rwd/ruby.rb +889 -0
- data/lib/rwd/rwd.rb +1942 -0
- data/lib/rwd/sgml.rb +236 -0
- data/lib/rwd/thread.rb +63 -0
- data/lib/rwd/tree.rb +371 -0
- data/lib/rwd/xml.rb +101 -0
- data/lib/zip/ioextras.rb +114 -0
- data/lib/zip/stdrubyext.rb +111 -0
- data/lib/zip/tempfile_bugfixed.rb +195 -0
- data/lib/zip/zip.rb +1378 -0
- data/lib/zip/zipfilesystem.rb +558 -0
- data/lib/zip/ziprequire.rb +61 -0
- data/rwd_files/HowTo_Eliza.txt +195 -0
- data/rwd_files/HowTo_Tinker.txt +471 -0
- data/rwd_files/HowTo_TinkerWin2.txt +202 -0
- data/rwd_files/Readme.txt +57 -0
- data/rwd_files/RubyWebDialogs.html +6 -0
- data/rwd_files/favicon.ico +0 -0
- data/rwd_files/rdoc-style.css +175 -0
- data/rwd_files/rwdapplications.html +54 -0
- data/rwd_files/tinker.png +0 -0
- data/rwdconfig.dist +21 -0
- data/rwdeliza.rb +1 -0
- data/tests/RubyGauge.rb +179 -0
- data/tests/checkdepends.sh +4 -0
- data/tests/cleancnf.sh +6 -0
- data/tests/makedist-rwdweliza.rb +56 -0
- data/tests/makedist.rb +66 -0
- data/tests/rdep.rb +354 -0
- data/tests/totranslate.lang +93 -0
- data/zips/rwdwaddresses-1.05.zip +0 -0
- data/zips/rwdwcalc-0.61.zip +0 -0
- data/zips/rwdwgutenberg-0.09.zip +0 -0
- data/zips/rwdwschedule-1.04.zip +0 -0
- data/zips/rwdwshell-1.04.zip +0 -0
- data/zips/temp.rb +1 -0
- data/zips/wrubyslippers-1.06.zip +0 -0
- metadata +282 -0
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
# Application RwdTinker orginally (c) 2004 Steven Gibson under GPL.
|
|
2
|
+
# This application is a framework for writing programs from RubyWebDialogs
|
|
3
|
+
# For information see http://www.rubyforge.net/projects/rwdapplications
|
|
4
|
+
|
|
5
|
+
# call the rwdtinker helpwindow
|
|
6
|
+
|
|
7
|
+
def runremotezipsinstall
|
|
8
|
+
@rwd_window = "tinkerbackwindow"
|
|
9
|
+
@rwd_tab = "superantcomremotezipsinstall"
|
|
10
|
+
end
|
|
11
|
+
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
# Application RwdTinker orginally (c) 2004 Steven Gibson under GPL.
|
|
2
|
+
# This application is a framework for writing programs from RubyWebDialogs
|
|
3
|
+
# For information see http://www.rubyforge.net/projects/rwdapplications
|
|
4
|
+
|
|
5
|
+
# call the rwdtinker helpwindow
|
|
6
|
+
|
|
7
|
+
def runrwdtinkerbackwindow
|
|
8
|
+
@rwd_window = "tinkerbackwindow"
|
|
9
|
+
@rwd_tab = "rwdzipslister"
|
|
10
|
+
end
|
|
11
|
+
|
|
12
|
+
def runbackwindowappletremove
|
|
13
|
+
@rwd_window = "tinkerbackwindow"
|
|
14
|
+
@rwd_tab = "filelister"
|
|
15
|
+
end
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
# Application RwdTinker orginally (c) 2004 Steven Gibson under GPL.
|
|
2
|
+
# This application is a framework for writing programs from RubyWebDialogs
|
|
3
|
+
# For information see http://www.rubyforge.net/projects/rwdapplications
|
|
4
|
+
|
|
5
|
+
# return the version constant defined in the config file
|
|
6
|
+
def runrwdtinkerwin2version
|
|
7
|
+
@rwd_window = "applicationversion"
|
|
8
|
+
@versionappnamedisplay = "RwdTinkerWin2"
|
|
9
|
+
@versioncopyrightdisplay = "(c) 2004 Steven Gibson "
|
|
10
|
+
@versionnumberdisplay = "Version " + RwdTinkerWin2Version
|
|
11
|
+
|
|
12
|
+
end
|
|
13
|
+
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
# this method saves the configuration record
|
|
2
|
+
def saveconfigurationrecord
|
|
3
|
+
require 'fileutils'
|
|
4
|
+
if @a_configurationfilename
|
|
5
|
+
newname = "%s" % [@a_configurationfilename] # grab the filename to create
|
|
6
|
+
newdata =@a_configurationfile
|
|
7
|
+
|
|
8
|
+
begin # exception trapped block
|
|
9
|
+
fileName = File.join( ConfigurationDir, newname )
|
|
10
|
+
fd = File.open(fileName,"w")
|
|
11
|
+
fd.print(newdata) # save the record info to the file
|
|
12
|
+
fd.close
|
|
13
|
+
@newconfigurationresult=newdata # show the record info in the browser
|
|
14
|
+
rescue SystemCallError, StandardError
|
|
15
|
+
$stderr.print "system call error: " + $!
|
|
16
|
+
end # exception rescue
|
|
17
|
+
end
|
|
18
|
+
end
|
|
19
|
+
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
#view contents of a tinker applet
|
|
2
|
+
def viewappletcontents
|
|
3
|
+
require 'fileutils'
|
|
4
|
+
require 'lib/zip/zip'
|
|
5
|
+
nametext = "%s" % [@a_installapplet]
|
|
6
|
+
|
|
7
|
+
begin # exception trapped block
|
|
8
|
+
fullname = nametext + ".zip"
|
|
9
|
+
fileName = File.join($zipslocation,fullname)
|
|
10
|
+
tempfilecontents = " "
|
|
11
|
+
zf = Zip::ZipFile.new(fileName)
|
|
12
|
+
zf.sort.each {
|
|
13
|
+
|entry|
|
|
14
|
+
tempfilecontents = tempfilecontents + entry.to_s + "\n"
|
|
15
|
+
}
|
|
16
|
+
@appletcontentstext = tempfilecontents
|
|
17
|
+
|
|
18
|
+
rescue
|
|
19
|
+
@installapplettext = "unzip error - error opening applet"
|
|
20
|
+
end # exception rescue
|
|
21
|
+
|
|
22
|
+
end
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
#view gem info
|
|
2
|
+
def viewgemappletcontents
|
|
3
|
+
require 'fileutils'
|
|
4
|
+
require 'lib/zip/zip'
|
|
5
|
+
nametext = "%s" % [@a_installapplet]
|
|
6
|
+
|
|
7
|
+
begin # exception trapped block
|
|
8
|
+
fullname = nametext + ".zip"
|
|
9
|
+
|
|
10
|
+
tempfilecontents = " "
|
|
11
|
+
zf = Zip::ZipFile.new(fullname)
|
|
12
|
+
zf.sort.each {
|
|
13
|
+
|entry|
|
|
14
|
+
tempfilecontents = tempfilecontents + entry.to_s + "\n"
|
|
15
|
+
}
|
|
16
|
+
@appletcontentstext = tempfilecontents
|
|
17
|
+
|
|
18
|
+
rescue
|
|
19
|
+
@installapplettext = "unzip error - error opening applet"
|
|
20
|
+
end # exception rescue
|
|
21
|
+
|
|
22
|
+
end
|
|
23
|
+
|
|
24
|
+
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
# dictionary
|
|
2
|
+
def dictlookup
|
|
3
|
+
require 'lib/dict'
|
|
4
|
+
if ! @a_dictionaryinput.empty?
|
|
5
|
+
|
|
6
|
+
dict = DICT.new('dict.org', DICT::DEFAULT_PORT)
|
|
7
|
+
dict.client('a Ruby/DICT client')
|
|
8
|
+
definitions = dict.define(DICT::ALL_DATABASES, @a_dictionaryinput)
|
|
9
|
+
@dictionary_display = ""
|
|
10
|
+
if definitions
|
|
11
|
+
definitions.each do |d|
|
|
12
|
+
@dictionary_display = @dictionary_display + d.description + d.database + "\n"
|
|
13
|
+
d.definition.each { |line| @dictionary_display = @dictionary_display + line }
|
|
14
|
+
end
|
|
15
|
+
end
|
|
16
|
+
|
|
17
|
+
dict.disconnect
|
|
18
|
+
@dictionary_display = @dictionary_display + "\n\n"
|
|
19
|
+
end
|
|
20
|
+
end
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
# Application RwdAddresses orginally (c) 2004 Steven Gibson under GPL.
|
|
2
|
+
# This application is a contact book
|
|
3
|
+
# For more information about see http://www.rubyforge.net/projects/rwdapplications
|
|
4
|
+
|
|
5
|
+
# call the window
|
|
6
|
+
def runrwdwordsbackwindow
|
|
7
|
+
@rwd_window = "rwdwordsbackwindow"
|
|
8
|
+
@rwd_tab = "dictlookup"
|
|
9
|
+
end
|
|
10
|
+
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
# Application RwdTinker orginally (c) 2004 Steven Gibson under GPL.
|
|
2
|
+
# This application is a framework for writing programs from RubyWebDialogs
|
|
3
|
+
# http://www.erikveen.dds.nl/rubywebdialogs/index.html
|
|
4
|
+
# For more information about RwdTinker see http://www.rubyforge.net/projects/rwdapplications
|
|
5
|
+
|
|
6
|
+
# return the version constant defined in the config file
|
|
7
|
+
def runrwdwordsversion
|
|
8
|
+
@rwd_window = "applicationversion"
|
|
9
|
+
@versionappnamedisplay = "RwdWords"
|
|
10
|
+
@versioncopyrightdisplay = "(c) 2005 Steven Gibson "
|
|
11
|
+
@versionnumberdisplay = "Version " + RwdWordsVersion
|
|
12
|
+
|
|
13
|
+
end
|
|
14
|
+
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
# Application RwdTinker orginally (c) 2004 Steven Gibson under GPL.
|
|
2
|
+
# This application is a framework for writing programs from RubyWebDialogs
|
|
3
|
+
# For information see http://www.rubyforge.net/projects/rwdapplications
|
|
4
|
+
|
|
5
|
+
# return the version constant defined in the config file
|
|
6
|
+
def rwdwordshelpaboutsetup
|
|
7
|
+
return ["RwdWords","(c) 2004,2005 Steven Gibson ","Version #{RwdWordsVersion}"]
|
|
8
|
+
end
|
|
9
|
+
|
|
10
|
+
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
##VERSION:1.76
|
|
2
|
+
ConfigurationDir = "configuration" # for use in program - init.rb has this value without using this constant
|
|
3
|
+
CodeName = "rwdtinker"
|
|
4
|
+
CodeNameFile = CodeName + ".rb"
|
|
5
|
+
RWDFile = "rwdtinker.rwd"
|
|
6
|
+
LangDir = "lang"
|
|
7
|
+
CodeDir = "code"
|
|
8
|
+
GuiDir = "gui"
|
|
9
|
+
$help_topic = "general_help"
|
|
10
|
+
$helptopicsarray = [ "general_help","network_help"]
|
|
11
|
+
$prevouswindow ="main"
|
|
12
|
+
$rwdcontrolports =["13713","13714","13715","13716","13717","13718"] # remote control code not actived 2007
|
|
13
|
+
$port = 7705
|
|
14
|
+
$rwdjumplink = ["helpscreen","tinkerbackwindow","returntomain","opendocuments","editconfiguration"]
|
|
15
|
+
Browser_Exe = 'mozilla '
|
|
16
|
+
$tinkerdocumentsarray +=["HowTo_Tinker.txt","rwdapplications.html","RubyWebDialogs.html"]
|
|
17
|
+
RwdTinkerVersion = "1.76"
|
|
18
|
+
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
##VERSION:0.02
|
|
2
|
+
##NAME:$fortunedelay:0
|
|
3
|
+
$fortunedelay= 15
|
|
4
|
+
##NAME:$testharnessarray:0
|
|
5
|
+
$testharnessarray += ["rwdeliza_all_tests"]
|
|
6
|
+
##NAME:$tinkerhelpaboutarray:0
|
|
7
|
+
$tinkerhelpaboutarray += ["RwdEliza"]
|
|
8
|
+
##NAME:$tinkerdocumentsarray:0
|
|
9
|
+
$tinkerdocumentsarray += ["HowTo_Eliza.txt"]
|
|
10
|
+
##NAME:$rwdelizaresponse_directory:0
|
|
11
|
+
$rwdelizaresponse_directory = "responses"
|
|
12
|
+
##NAME:$rwdelizadata_directory:0
|
|
13
|
+
$rwdelizadata_directory = "ElizaData"
|
|
14
|
+
##NAME:$extras_directory:0
|
|
15
|
+
$extras_directory = "lib"
|
|
16
|
+
##NAME:FortuneCommand:0
|
|
17
|
+
FortuneCommand="/usr/games/fortune"
|
|
18
|
+
JumpLink.update(:RwdElizaWindow=>"runrwdelizawindow", :RwdWordsMainWindow=>"runrwdwordsbackwindow")
|
|
19
|
+
$rwdjumplink +=["RwdElizaWindow","RwdWordsMainWindow"]
|
|
20
|
+
##NAME:RwdElizaName:0
|
|
21
|
+
RwdElizaName="rwdweliza"
|
|
22
|
+
##NAME:RwdElizaVersion:0
|
|
23
|
+
RwdElizaVersion = "0.03"
|
|
24
|
+
|
|
25
|
+
|
|
26
|
+
|
|
27
|
+
|
|
28
|
+
|
|
29
|
+
|
|
30
|
+
|
|
31
|
+
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
##VERSION:1.69
|
|
2
|
+
TinkerWin2ConfigurationFileName = "tinkerwin2variables.cnf" # this file name - do not change
|
|
3
|
+
##NAME:$zipslocation:0
|
|
4
|
+
$zipslocation = "zips" # location of applets to add
|
|
5
|
+
$zipsarray = [""] ; $zipsarraylocal = [""]
|
|
6
|
+
##NAME:$xpcommand:0
|
|
7
|
+
$xpcommand = " " # Linux machines
|
|
8
|
+
# $xpcommand = "cmd /C " # XP machines with cmd shell
|
|
9
|
+
##NAME:$gemdirectory_withgemfiles:0
|
|
10
|
+
$gemdirectory_withgemfiles = "/var/lib/gems/1.8/gems"
|
|
11
|
+
# $gemdirectory_withgemfiles = "c:\\ruby\\lib\\ruby\\gems\\1.8\\gems" # XP machine
|
|
12
|
+
##NAME:$geminstalled_directory:0
|
|
13
|
+
# $geminstalled_directory = "/ruby/lib/ruby/gems/1.8/gems" # XP machine
|
|
14
|
+
$geminstalled_directory = "/var/lib/gems/1.8/gems" # Debian Linux
|
|
15
|
+
|
|
16
|
+
RwdTinkerWin2Version = "0.8"
|
|
17
|
+
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
$rwdguivar=
|
|
2
|
+
|
|
3
|
+
"
|
|
4
|
+
<tab name=\"viewtinkerlogo\" caption=\"Tinker\">
|
|
5
|
+
|
|
6
|
+
<table>
|
|
7
|
+
<row> <p align=\"right\">#{Message[:tinker_logo]}</row>
|
|
8
|
+
|
|
9
|
+
</table>
|
|
10
|
+
<image src=\"tinker.png\"> </image>
|
|
11
|
+
<table>
|
|
12
|
+
<row> <p></row>
|
|
13
|
+
|
|
14
|
+
</table>
|
|
15
|
+
<horizontal>
|
|
16
|
+
|
|
17
|
+
<button caption=#{Message[:help]} action=\"runhelpwindow\"/>
|
|
18
|
+
|
|
19
|
+
|
|
20
|
+
</horizontal>
|
|
21
|
+
|
|
22
|
+
</tab>"
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
$rwdguivar=
|
|
2
|
+
"
|
|
3
|
+
<horizontal>
|
|
4
|
+
<button caption=#{Message[:showjump_links]} action=\"showjumplinkoptions\"/>
|
|
5
|
+
<button caption=#{Message[:help]} action=\"runhelpwindowtinkerwin2\"/>
|
|
6
|
+
</horizontal>
|
|
7
|
+
<table>
|
|
8
|
+
<select name=\"a_jumplinkinput\"> %%jumplinkoptions%% </select>
|
|
9
|
+
|
|
10
|
+
</table>
|
|
11
|
+
|
|
12
|
+
<horizontal>
|
|
13
|
+
<button caption=#{Message[:jumptoapplication_location]} action=\"runjumplinkcommand\"/>
|
|
14
|
+
</horizontal>
|
|
15
|
+
"
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
$rwdguivar=
|
|
2
|
+
"
|
|
3
|
+
<horizontal>
|
|
4
|
+
<button caption=#{Message[:showdocument_list]} action=\"setuptinkerdocuments\"/>
|
|
5
|
+
|
|
6
|
+
</horizontal>
|
|
7
|
+
<table>
|
|
8
|
+
<select name=\"a_tinkerdocumentinput\"> %%tinkerdocumentsarray%% </select>
|
|
9
|
+
|
|
10
|
+
</table>
|
|
11
|
+
<horizontal>
|
|
12
|
+
<button caption=#{Message[:open_document]} action=\"runopentinkerdocument\"/>
|
|
13
|
+
</horizontal>
|
|
14
|
+
"
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
$rwdguivar=
|
|
2
|
+
"
|
|
3
|
+
<horizontal>
|
|
4
|
+
<button caption=#{Message[:showhelpabout_links]} action=\"setuphelpaboutoptions\"/>
|
|
5
|
+
|
|
6
|
+
</horizontal>
|
|
7
|
+
<table>
|
|
8
|
+
<select name=\"a_helpaboutinput\"> %%helpaboutoptions%% </select>
|
|
9
|
+
|
|
10
|
+
</table>
|
|
11
|
+
|
|
12
|
+
<horizontal>
|
|
13
|
+
<button caption=#{Message[:openselectedhelp_about]} action=\"runrwdtinkerversion\"/>
|
|
14
|
+
</horizontal>
|
|
15
|
+
"
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
$rwdguivar=
|
|
2
|
+
"
|
|
3
|
+
<horizontal>
|
|
4
|
+
<button caption=#{Message[:showhelpabout_links]} action=\"setuphelpaboutoptions\"/>
|
|
5
|
+
|
|
6
|
+
</horizontal>
|
|
7
|
+
<table>
|
|
8
|
+
<select name=\"a_helpaboutinput\"> %%helpaboutoptions%% </select>
|
|
9
|
+
|
|
10
|
+
</table>
|
|
11
|
+
|
|
12
|
+
<horizontal>
|
|
13
|
+
<button caption=#{Message[:openselectedhelp_about]} action=\"runrwdtinkerversion\"/>
|
|
14
|
+
</horizontal>
|
|
15
|
+
"
|