bigtinker 0.93
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/Books/Mariposa.gut +2 -0
- data/Books/marip10.txt +2598 -0
- data/Notes/changes.lnk +1 -0
- data/Notes/changes.txt +1 -0
- data/Notes/hypernote/hypernote01.txt +1 -0
- data/Notes/hypernote/hypernote02.txt +1 -0
- data/Notes/hypernote/newnote3.txt +2 -0
- data/Notes/rwdtinker/RwdtinkerProgrammingQuickStart.lnk +1 -0
- data/Notes/rwdtinker/RwdtinkerProgrammingQuickStart.txt +11 -0
- data/Notes/rwdtinker/newnote.txt +1 -0
- data/Notes/rwdtinker/rwdtinker01.txt +9 -0
- data/Notes/rwdtinker/testnote2.txt +1 -0
- data/Readme.txt +146 -0
- data/bin/bigtinker +19 -0
- data/code/01rwdcore/01rwdcore.rb +25 -0
- data/code/01rwdcore/02helptexthashbegin.rb +4 -0
- data/code/01rwdcore/03helptexthash.rb +31 -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/superant.com.bigtinker/rwdtinkerversion.rb +10 -0
- data/code/superant.com.gutenberg/changegutenbergname.rb +16 -0
- data/code/superant.com.gutenberg/clearbookscreendisplay.rb +8 -0
- data/code/superant.com.gutenberg/copyfilename.rb +24 -0
- data/code/superant.com.gutenberg/createnewnote.rb +23 -0
- data/code/superant.com.gutenberg/deletegutenbergrecord.rb +21 -0
- data/code/superant.com.gutenberg/gutenbergcreatefile.rb +9 -0
- data/code/superant.com.gutenberg/helptexthashrwdgutenberg.rb +41 -0
- data/code/superant.com.gutenberg/jumplinkupdate.rb +7 -0
- data/code/superant.com.gutenberg/listnamerecord.rb +15 -0
- data/code/superant.com.gutenberg/listtextfilesgutenberg.rb +58 -0
- data/code/superant.com.gutenberg/loadbookrecord.rb +21 -0
- data/code/superant.com.gutenberg/loadconfigurationrecord.rb +36 -0
- data/code/superant.com.gutenberg/loadconfigurationvariables.rb +13 -0
- data/code/superant.com.gutenberg/openhelpwindowgutenberg.rb +29 -0
- data/code/superant.com.gutenberg/returntomain.rb +10 -0
- data/code/superant.com.gutenberg/runbackwindow.rb +10 -0
- data/code/superant.com.gutenberg/rungutenbergwindow.rb +57 -0
- data/code/superant.com.gutenberg/rwdgutenbergbackward.rb +27 -0
- data/code/superant.com.gutenberg/rwdhypernotehelpabout.rb +14 -0
- data/code/superant.com.gutenberg/rwdtinkerversion.rb +10 -0
- data/code/superant.com.gutenberg/saveconfigurationrecord.rb +18 -0
- data/code/superant.com.gutenberg/savegutenbergrecord.rb +20 -0
- data/code/superant.com.gutenberg/savelinkrecord.rb +23 -0
- data/code/superant.com.hypernote/archiveevent.rb +14 -0
- data/code/superant.com.hypernote/changehypernotename.rb +21 -0
- data/code/superant.com.hypernote/clearhypernotescreendisplay.rb +8 -0
- data/code/superant.com.hypernote/clearlinkscreendisplay.rb +8 -0
- data/code/superant.com.hypernote/copyfilename.rb +10 -0
- data/code/superant.com.hypernote/createnewnote.rb +14 -0
- data/code/superant.com.hypernote/deletehypernoterecord.rb +20 -0
- data/code/superant.com.hypernote/helptexthashrwdhypernote.rb +74 -0
- data/code/superant.com.hypernote/hyperlinkcreatelinkfile.rb +19 -0
- data/code/superant.com.hypernote/jumplinkupdate.rb +7 -0
- data/code/superant.com.hypernote/listhypernotelinks.rb +55 -0
- data/code/superant.com.hypernote/listhypernotes.rb +63 -0
- data/code/superant.com.hypernote/listlinknotes.rb +33 -0
- data/code/superant.com.hypernote/loadconfigurationrecord.rb +34 -0
- data/code/superant.com.hypernote/loadconfigurationvariables.rb +13 -0
- data/code/superant.com.hypernote/loadlinksrecord.rb +21 -0
- data/code/superant.com.hypernote/loadnoterecord.rb +24 -0
- data/code/superant.com.hypernote/openhelpwindowrwdhyernote.rb +34 -0
- data/code/superant.com.hypernote/returntomain.rb +10 -0
- data/code/superant.com.hypernote/runrwdhypernotconfiguration.rb +12 -0
- data/code/superant.com.hypernote/runrwdhypernotebackwindow.rb +12 -0
- data/code/superant.com.hypernote/rwdhypernotehelpabout.rb +14 -0
- data/code/superant.com.hypernote/rwdtinkerversion.rb +10 -0
- data/code/superant.com.hypernote/saveconfigurationrecord.rb +18 -0
- data/code/superant.com.hypernote/savehypernoterecord.rb +20 -0
- data/code/superant.com.hypernote/savelinkrecord.rb +23 -0
- data/code/superant.com.rwdaddresses/attachtmpcontactphoto.rb +24 -0
- data/code/superant.com.rwdaddresses/clearscreendisplay.rb +15 -0
- data/code/superant.com.rwdaddresses/createnewnamerecord.rb +19 -0
- data/code/superant.com.rwdaddresses/deletecontactrecord.rb +25 -0
- data/code/superant.com.rwdaddresses/deleterwdaddressesupdatefiles.rb +19 -0
- data/code/superant.com.rwdaddresses/downloadrwdaddressfiles.rb +36 -0
- data/code/superant.com.rwdaddresses/helptexthashrwdaddresses.rb +69 -0
- data/code/superant.com.rwdaddresses/jumplinkupdate.rb +9 -0
- data/code/superant.com.rwdaddresses/listnamerecord.rb +15 -0
- data/code/superant.com.rwdaddresses/listvcardrecord.rb +15 -0
- data/code/superant.com.rwdaddresses/loadconfigurationrecord.rb +45 -0
- data/code/superant.com.rwdaddresses/loadconfigurationvariables.rb +14 -0
- data/code/superant.com.rwdaddresses/loadnamerecord.rb +30 -0
- data/code/superant.com.rwdaddresses/openhelpwindowrwdaddresses.rb +30 -0
- data/code/superant.com.rwdaddresses/renamecontact.rb +15 -0
- data/code/superant.com.rwdaddresses/runaddresseswindow.rb +10 -0
- data/code/superant.com.rwdaddresses/runrwdaddressesmenu1.rb +34 -0
- data/code/superant.com.rwdaddresses/runrwdaddresssyncbackwindow.rb +10 -0
- data/code/superant.com.rwdaddresses/rwdaddressesbackwindow.rb +10 -0
- data/code/superant.com.rwdaddresses/rwdaddresseshelpabout.rb +13 -0
- data/code/superant.com.rwdaddresses/rwdtinkerversion.rb +10 -0
- data/code/superant.com.rwdaddresses/saveconfigurationrecord.rb +20 -0
- data/code/superant.com.rwdaddresses/savevcardrecord.rb +76 -0
- data/code/superant.com.rwdaddresses/syncrwdaddress.rb +28 -0
- data/code/superant.com.rwdaddresses/test_cases.rb +46 -0
- data/code/superant.com.rwdaddresses/uploadrwdaddressfiles.rb +46 -0
- data/code/superant.com.rwdaddresses/viewaddressconfiguration.rb +21 -0
- data/code/superant.com.rwdaddresses/viewnamedata.rb +28 -0
- data/code/superant.com.rwdaddresses/viewphoto.rb +4 -0
- data/code/superant.com.rwdaddresses/viewrwdaddressesconfiguration.rb +23 -0
- data/code/superant.com.rwdaddresses/viewtmpcontactphoto.rb +12 -0
- data/code/superant.com.rwdaddresses/viewvcarddata.rb +22 -0
- data/code/superant.com.rwdcalc/ca2multiply.rb +10 -0
- data/code/superant.com.rwdcalc/changescriptname.rb +16 -0
- data/code/superant.com.rwdcalc/clearrubyscriptscreendisplay.rb +9 -0
- data/code/superant.com.rwdcalc/clearscriptscreendisplay.rb +9 -0
- data/code/superant.com.rwdcalc/deletescriptrecord.rb +20 -0
- data/code/superant.com.rwdcalc/fadd.rb +10 -0
- data/code/superant.com.rwdcalc/frwdcleartape.rb +9 -0
- data/code/superant.com.rwdcalc/frwddivide.rb +10 -0
- data/code/superant.com.rwdcalc/frwdmultiply.rb +10 -0
- data/code/superant.com.rwdcalc/frwdsubtract.rb +10 -0
- data/code/superant.com.rwdcalc/helptexthashrwdcalc.rb +14 -0
- data/code/superant.com.rwdcalc/jumplinkupdate.rb +11 -0
- data/code/superant.com.rwdcalc/listscripts.rb +13 -0
- data/code/superant.com.rwdcalc/loadrubyrecord.rb +20 -0
- data/code/superant.com.rwdcalc/loadscriptrecord.rb +20 -0
- data/code/superant.com.rwdcalc/mathcommands.rb +53 -0
- data/code/superant.com.rwdcalc/openhelpwindowrwdcalc.rb +21 -0
- data/code/superant.com.rwdcalc/playscript.rb +22 -0
- data/code/superant.com.rwdcalc/renamecalcrecord.rb +14 -0
- data/code/superant.com.rwdcalc/runrwdcalcwindow.rb +10 -0
- data/code/superant.com.rwdcalc/rwdadd.rb +10 -0
- data/code/superant.com.rwdcalc/rwdcleartape.rb +9 -0
- data/code/superant.com.rwdcalc/rwddivision.rb +10 -0
- data/code/superant.com.rwdcalc/rwdsubtraction.rb +10 -0
- data/code/superant.com.rwdcalc/savechangedscript.rb +19 -0
- data/code/superant.com.rwdcalc/saverubyscript.rb +20 -0
- data/code/superant.com.rwdcalc/viewscript.rb +18 -0
- data/code/superant.com.rwdcalendar/gh9calendar.rb +40 -0
- data/code/superant.com.rwdcalendar/helptexthashrwdschedule.rb +14 -0
- data/code/superant.com.rwdcalendar/openhelpwindowrwdschedule.rb +17 -0
- data/code/superant.com.rwdshell/changescriptname.rb +16 -0
- data/code/superant.com.rwdshell/clearscriptscreendisplay.rb +9 -0
- data/code/superant.com.rwdshell/deletescriptrecord.rb +20 -0
- data/code/superant.com.rwdshell/helptexthashshell.rb +31 -0
- data/code/superant.com.rwdshell/listrubyscripts.rb +13 -0
- data/code/superant.com.rwdshell/listscripts.rb +13 -0
- data/code/superant.com.rwdshell/loadconfigurationrecord.rb +33 -0
- data/code/superant.com.rwdshell/loadconfigurationvariables.rb +13 -0
- data/code/superant.com.rwdshell/loadscriptrecord.rb +20 -0
- data/code/superant.com.rwdshell/openhelpwindowshell.rb +33 -0
- data/code/superant.com.rwdshell/playrubyscript.rb +23 -0
- data/code/superant.com.rwdshell/playscript.rb +23 -0
- data/code/superant.com.rwdshell/returntomain.rb +10 -0
- data/code/superant.com.rwdshell/rubyeval.rb +25 -0
- data/code/superant.com.rwdshell/runrwdshellbackwindow.rb +10 -0
- data/code/superant.com.rwdshell/runrwdshellwindow.rb +12 -0
- data/code/superant.com.rwdshell/rwdshellversion.rb +14 -0
- data/code/superant.com.rwdshell/savechangedscript.rb +19 -0
- data/code/superant.com.rwdshell/saveconfigurationrecord.rb +18 -0
- data/code/superant.com.rwdshell/shelleval.rb +20 -0
- data/code/superant.com.rwdshell/viewrubyscript.rb +18 -0
- data/code/superant.com.rwdshell/viewscript.rb +18 -0
- data/code/superant.com.rwdtinkerbackwindow/controlclient.rb +96 -0
- data/code/superant.com.rwdtinkerbackwindow/diagnostictab.rb +19 -0
- data/code/superant.com.rwdtinkerbackwindow/helptexthashtinkerwin2.rb +61 -0
- data/code/superant.com.rwdtinkerbackwindow/installapplet.rb +25 -0
- data/code/superant.com.rwdtinkerbackwindow/installgemapplet.rb +21 -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 +39 -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 +42 -0
- data/code/superant.com.rwdtinkerbackwindow/remotegemlist.rb +24 -0
- data/code/superant.com.rwdtinkerbackwindow/removeapplet.rb +33 -0
- data/code/superant.com.rwdtinkerbackwindow/runremoteinstall.rb +11 -0
- data/code/superant.com.rwdtinkerbackwindow/runrwdtinkerbackwindow.rb +11 -0
- data/code/superant.com.rwdtinkerbackwindow/rwdtinkerwin2version.rb +13 -0
- data/code/superant.com.rwdtinkerbackwindow/saveconfigurationrecord.rb +22 -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/jumplinkupdate.rb +6 -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/bigtinker.dist +3 -0
- data/configuration/language.dist +7 -0
- data/configuration/rwdaddresses.dist +21 -0
- data/configuration/rwdapplicationidentity.dist +3 -0
- data/configuration/rwdcalc.dist +8 -0
- data/configuration/rwdcalendar.dist +10 -0
- data/configuration/rwdgutenberg.dist +14 -0
- data/configuration/rwdhypernote.dist +13 -0
- data/configuration/rwdshell.dist +4 -0
- data/configuration/rwdtinker.dist +19 -0
- data/configuration/rwdwords.dist +18 -0
- data/configuration/tinkerwin2variables.dist +17 -0
- data/ev/browser.rb +109 -0
- data/ev/ftools.rb +170 -0
- data/ev/net.rb +750 -0
- data/ev/ruby.rb +819 -0
- data/ev/rwd.rb +1849 -0
- data/ev/sgml.rb +236 -0
- data/ev/thread.rb +63 -0
- data/ev/tree.rb +343 -0
- data/ev/xml.rb +4 -0
- data/extras/cal.rb +158 -0
- data/extras/dict.rb +438 -0
- data/extras/icalendar/base.rb +17 -0
- data/extras/icalendar/calendar.rb +44 -0
- data/extras/icalendar/calendar_parser.rb +237 -0
- data/extras/icalendar/component/alarm.rb +16 -0
- data/extras/icalendar/component/event.rb +25 -0
- data/extras/icalendar/component/freebusy.rb +12 -0
- data/extras/icalendar/component/journal.rb +25 -0
- data/extras/icalendar/component/timezone.rb +26 -0
- data/extras/icalendar/component/todo.rb +21 -0
- data/extras/icalendar/component.rb +91 -0
- data/extras/icalendar/helpers.rb +103 -0
- data/extras/icalendar/parameter.rb +25 -0
- data/extras/icalendar.rb +18 -0
- data/extras/rconftool.rb +380 -0
- data/extras/zip/ioextras.rb +114 -0
- data/extras/zip/stdrubyext.rb +111 -0
- data/extras/zip/tempfile_bugfixed.rb +195 -0
- data/extras/zip/zip.rb +1377 -0
- data/extras/zip/zipfilesystem.rb +558 -0
- data/extras/zip/ziprequire.rb +61 -0
- data/gui/00coreguibegin/applicationguitop.rwd +4 -0
- data/gui/frontwindow0/superant.com.rwdcalendar/hl9calendar.rwd +27 -0
- data/gui/frontwindow0/superant.com.shellscripts/1listplayscripts.rwd +17 -0
- data/gui/frontwindow0/superant.com.shellscripts/2listscripts.rwd +25 -0
- data/gui/frontwindow0/superant.com.shellscripts/3editscripts.rwd +26 -0
- data/gui/frontwindow0/superant.com.shellscripts/4scriptutilities.rwd +24 -0
- data/gui/frontwindow0/superant.com.shellscripts/6rwdshelleval.rwd +15 -0
- data/gui/frontwindow0/superant.com.shellscripts/cb7rwdrubyeval.rwd +13 -0
- data/gui/frontwindowselectionbegin/selectiontabbegin/00selectiontabbegin.rwd +11 -0
- data/gui/frontwindowselections/superant.com.rwdtinkerwin2selectiontab/jumplinkcommands.rwd +15 -0
- data/gui/frontwindowselectionzend/viewselectionzend/wwselectionend.rwd +3 -0
- data/gui/frontwindowselectionzend/viewselectionzend/zzdocumentbegin.rwd +6 -0
- data/gui/frontwindowtdocuments/superant.com.documents/tinkerdocuments.rwd +14 -0
- data/gui/helpaboutbegin/superant.com.helpaboutbegin/zzdocumentend.rwd +8 -0
- data/gui/helpaboutbegin/superant.com.helpaboutbegin/zzzrwdlasttab.rwd +6 -0
- data/gui/helpaboutbegin/superant.com.helpaboutbegin/zzzzhelpscreenstart.rwd +3 -0
- data/gui/helpaboutinstalled/superant.com.tinkerhelpabout/helpabouttab.rwd +15 -0
- data/gui/helpaboutzend/superant.com.helpaboutend/helpscreenend.rwd +3 -0
- data/gui/helpaboutzend/superant.com.helpaboutend/zhelpscreenstart2.rwd +3 -0
- data/gui/helpaboutzend/superant.com.helpaboutend/zzzzhelpabout2.rwd +15 -0
- data/gui/helpaboutzend/superant.com.helpaboutend/zzzzhelpscreen2end.rwd +3 -0
- data/gui/tinkerbackwindows/superant.com.addressesphotowindow/yy7addressesphoto.rwd +6 -0
- data/gui/tinkerbackwindows/superant.com.gutenberg/00rwdgutenberg.rwd +5 -0
- data/gui/tinkerbackwindows/superant.com.gutenberg/10viewnote.rwd +32 -0
- data/gui/tinkerbackwindows/superant.com.gutenberg/20listfiles.rwd +35 -0
- data/gui/tinkerbackwindows/superant.com.gutenberg/30booklistutilities.rwd +28 -0
- data/gui/tinkerbackwindows/superant.com.gutenberg/35displaytab.rwd +10 -0
- data/gui/tinkerbackwindows/superant.com.gutenberg/40rwdgutenberg.rwd +16 -0
- data/gui/tinkerbackwindows/superant.com.gutenberg/67viewconfiguration.rwd +40 -0
- data/gui/tinkerbackwindows/superant.com.gutenberg/77jumplinkcommands.rwd +17 -0
- data/gui/tinkerbackwindows/superant.com.gutenberg/zvbackend.rwd +6 -0
- data/gui/tinkerbackwindows/superant.com.gutendisplay/gutendisplaywindow.rwd +9 -0
- data/gui/tinkerbackwindows/superant.com.hypernote/00windowbegin.rwd +5 -0
- data/gui/tinkerbackwindows/superant.com.hypernote/10viewnote.rwd +32 -0
- data/gui/tinkerbackwindows/superant.com.hypernote/20editlinks.rwd +34 -0
- data/gui/tinkerbackwindows/superant.com.hypernote/30noteutilities.rwd +27 -0
- data/gui/tinkerbackwindows/superant.com.hypernote/67viewconfiguration.rwd +38 -0
- data/gui/tinkerbackwindows/superant.com.hypernote/m01menubegin.rwd +18 -0
- data/gui/tinkerbackwindows/superant.com.hypernote/zbackend.rwd +6 -0
- data/gui/tinkerbackwindows/superant.com.refreshwindow/fortunerefreshwindowtwo.rwd +9 -0
- data/gui/tinkerbackwindows/superant.com.rwdaddresses/00rwdaddresses.rwd +5 -0
- data/gui/tinkerbackwindows/superant.com.rwdaddresses/11viewnamedata.rwd +19 -0
- data/gui/tinkerbackwindows/superant.com.rwdaddresses/13listnamerecordfiles.rwd +21 -0
- data/gui/tinkerbackwindows/superant.com.rwdaddresses/16editrecord.rwd +39 -0
- data/gui/tinkerbackwindows/superant.com.rwdaddresses/17viewvcardrecord.rwd +32 -0
- data/gui/tinkerbackwindows/superant.com.rwdaddresses/18contactutilities.rwd +34 -0
- data/gui/tinkerbackwindows/superant.com.rwdaddresses/m01menubegin.rwd +18 -0
- data/gui/tinkerbackwindows/superant.com.rwdaddresses/zvbackend.rwd +6 -0
- data/gui/tinkerbackwindows/superant.com.rwdaddressessyncbackwindow/1appname.rwd +5 -0
- data/gui/tinkerbackwindows/superant.com.rwdaddressessyncbackwindow/20downloadftp.rwd +45 -0
- data/gui/tinkerbackwindows/superant.com.rwdaddressessyncbackwindow/70rwddiagnostics.rwd +23 -0
- data/gui/tinkerbackwindows/superant.com.rwdaddressessyncbackwindow/88viewconfiguration.rwd +47 -0
- data/gui/tinkerbackwindows/superant.com.rwdaddressessyncbackwindow/94selectiontab.rwd +11 -0
- data/gui/tinkerbackwindows/superant.com.rwdaddressessyncbackwindow/95jumplink.rwd +15 -0
- data/gui/tinkerbackwindows/superant.com.rwdaddressessyncbackwindow/97selectionend.rwd +3 -0
- data/gui/tinkerbackwindows/superant.com.rwdaddressessyncbackwindow/zvbackend.rwd +6 -0
- data/gui/tinkerbackwindows/superant.com.rwdcalc/1appname.rwd +4 -0
- data/gui/tinkerbackwindows/superant.com.rwdcalc/20floatrwdcalc.rwd +23 -0
- data/gui/tinkerbackwindows/superant.com.rwdcalc/30intrwdcalc.rwd +23 -0
- data/gui/tinkerbackwindows/superant.com.rwdcalc/35mathcommands.rwd +25 -0
- data/gui/tinkerbackwindows/superant.com.rwdcalc/44listplayscripts.rwd +19 -0
- data/gui/tinkerbackwindows/superant.com.rwdcalc/45listscripts.rwd +25 -0
- data/gui/tinkerbackwindows/superant.com.rwdcalc/46editscriptrecord.rwd +30 -0
- data/gui/tinkerbackwindows/superant.com.rwdcalc/4scriptutilities.rwd +25 -0
- data/gui/tinkerbackwindows/superant.com.rwdcalc/81jumplinkcommands.rwd +17 -0
- data/gui/tinkerbackwindows/superant.com.rwdcalc/z9end.rwd +6 -0
- data/gui/tinkerbackwindows/superant.com.rwdshellbackwindow/1appname.rwd +5 -0
- data/gui/tinkerbackwindows/superant.com.rwdshellbackwindow/44listplayscripts.rwd +19 -0
- data/gui/tinkerbackwindows/superant.com.rwdshellbackwindow/45listscripts.rwd +25 -0
- data/gui/tinkerbackwindows/superant.com.rwdshellbackwindow/46editscriptrecord.rwd +30 -0
- data/gui/tinkerbackwindows/superant.com.rwdshellbackwindow/92viewconfiguration.rwd +38 -0
- data/gui/tinkerbackwindows/superant.com.rwdshellbackwindow/94rwddiagnostics.rwd +16 -0
- data/gui/tinkerbackwindows/superant.com.rwdshellbackwindow/98jumplinkcommands.rwd +17 -0
- data/gui/tinkerbackwindows/superant.com.rwdshellbackwindow/zbackend.rwd +6 -0
- data/gui/tinkerbackwindows/superant.com.tinkerbackwindow/1appname.rwd +5 -0
- data/gui/tinkerbackwindows/superant.com.tinkerbackwindow/40rwdlistzips.rwd +42 -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 +44 -0
- data/gui/tinkerbackwindows/superant.com.tinkerbackwindow/70rwddiagnostics.rwd +29 -0
- data/gui/tinkerbackwindows/superant.com.tinkerbackwindow/75rwdcontrol.rwd +33 -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/80tab1.rwd +11 -0
- data/gui/tinkerbackwindows/superant.com.words/z9end.rwd +6 -0
- data/gui/zzcoreguiend/tinkerapplicationguiend/yy9rwdend.rwd +4 -0
- data/init.rb +277 -0
- data/installed/gutenbergdata01.inf +3 -0
- data/installed/hypernotedata1.inf +12 -0
- data/installed/rwdaddressesdata2.inf +8 -0
- data/installed/rwdgutenberg-0.03.inf +9 -0
- data/installed/rwdviewlogo-0.4.inf +4 -0
- data/installed/rwdwaddresses-1.04.inf +13 -0
- data/installed/rwdwhypernote-0.07.inf +7 -0
- data/installed/rwdwwords-0.02.inf +10 -0
- data/lang/en/rwdcalendar/calendar-en.rb +6 -0
- data/lang/en/rwdcore/languagefile.rb +16 -0
- data/lang/es/rwdcalendar/calendar-nl.rb +6 -0
- data/lang/es/rwdcore/languagefile-es.rb +14 -0
- data/lang/jp/rwdcore/languagefile.rb +9 -0
- data/lang/nl/rwdcalendar/calendar-nl.rb +6 -0
- data/lang/nl/rwdcore/languagefile.rb +19 -0
- data/lib/temp.rb +1 -0
- data/names/Angelina Jolie.jpg +0 -0
- data/names/Angelina Jolie.nam +8 -0
- data/names/Angelina Jolie.vcf +8 -0
- data/names/Steven Gibson.jpg +0 -0
- data/names/Steven Gibson.nam +5 -0
- data/names/elektra.jpg +0 -0
- data/names/elektra.nam +7 -0
- data/names/nophoto.jpg +0 -0
- data/rwd_files/HowTo_Addresses.txt +259 -0
- data/rwd_files/HowTo_BigTinker.txt +146 -0
- data/rwd_files/HowTo_Gutenberg.txt +94 -0
- data/rwd_files/HowTo_HyperNote.txt +121 -0
- data/rwd_files/HowTo_RubyEval.html +80 -0
- data/rwd_files/HowTo_RwdCalc.txt +110 -0
- data/rwd_files/HowTo_Shell.txt +257 -0
- data/rwd_files/HowTo_Tinker.txt +425 -0
- data/rwd_files/HowTo_TinkerWin2.txt +202 -0
- data/rwd_files/HowTo_Words.txt +132 -0
- data/rwd_files/Readme.txt +57 -0
- data/rwd_files/RubyWebDialogs.html +6 -0
- data/rwd_files/contacttmp.jpg +0 -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 +18 -0
- data/tests/RubyGauge.rb +179 -0
- data/tests/checkdepends.sh +4 -0
- data/tests/cleancnf.sh +5 -0
- data/tests/makedist.rb +59 -0
- data/tests/makerwdwaddresses-1.04.rb +40 -0
- data/tests/rdep.rb +354 -0
- data/tests/totranslate.lang +93 -0
- data/zips/rwdahelloworld-0.5.zip +0 -0
- metadata +447 -0
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
# this method puts the configuration rexord on the screen
|
|
2
|
+
def loadrwdshellconfiguration
|
|
3
|
+
|
|
4
|
+
require 'fileutils'
|
|
5
|
+
|
|
6
|
+
@a_rshellconfigurationfilename = "rwdshell.cnf"
|
|
7
|
+
|
|
8
|
+
|
|
9
|
+
begin # exception trapped block
|
|
10
|
+
|
|
11
|
+
Dir.chdir($progdir)
|
|
12
|
+
fileName = File.join(ConfigurationDir, "rwdshell.cnf")
|
|
13
|
+
|
|
14
|
+
|
|
15
|
+
fd = File.open(fileName,"r")
|
|
16
|
+
@a_rshellconfigline1= fd.readline.chomp
|
|
17
|
+
@a_rshellconfigline2 = fd.readline.chomp
|
|
18
|
+
@a_rshellconfigline3 = fd.readline.chomp
|
|
19
|
+
@a_rshellconfigline4 = fd.readline.chomp
|
|
20
|
+
@a_rshellconfigline5 = fd.readline.chomp
|
|
21
|
+
@a_rshellconfigline6 = fd.readline.chomp
|
|
22
|
+
@a_rshellconfigline7 =fd.readline.chomp
|
|
23
|
+
@a_rshellconfigline8 = fd.readline.chomp
|
|
24
|
+
@a_rshellconfigline9 = fd.readline.chomp
|
|
25
|
+
|
|
26
|
+
|
|
27
|
+
|
|
28
|
+
fd.close
|
|
29
|
+
rescue SystemCallError, StandardError
|
|
30
|
+
$stderr.print "system call error: " + $!
|
|
31
|
+
end # exception rescue
|
|
32
|
+
|
|
33
|
+
end
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
# this method loads the on screen variables into the running class
|
|
2
|
+
def loadrubyslippersconfigurationvariables
|
|
3
|
+
|
|
4
|
+
configfiletoload = File.join(ConfigurationDir,"rubyslippers.cnf")
|
|
5
|
+
begin
|
|
6
|
+
load configfiletoload
|
|
7
|
+
@extrarsconfigdatadisplay = ""
|
|
8
|
+
@newrsconfigurationresult = "Config Variables loaded"
|
|
9
|
+
rescue
|
|
10
|
+
@extrarsconfigdatadisplay = ""
|
|
11
|
+
@newrsconfigurationresult = "loading error"
|
|
12
|
+
end
|
|
13
|
+
end
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
# this method views an existing address record
|
|
2
|
+
def loadscriptrecord
|
|
3
|
+
|
|
4
|
+
require 'fileutils'
|
|
5
|
+
@a_tmpscriptfilename = $currentscriptname
|
|
6
|
+
|
|
7
|
+
begin # exception trapped block
|
|
8
|
+
|
|
9
|
+
|
|
10
|
+
fileName = $shellscript_directory + "/" + $currentscriptname + ".sh"
|
|
11
|
+
|
|
12
|
+
fd = File.open(fileName,"r")
|
|
13
|
+
@a_scriptfirstline = fd.readline.chomp
|
|
14
|
+
@a_scriptcommentline = fd.readline.chomp
|
|
15
|
+
fd.close
|
|
16
|
+
rescue SystemCallError, StandardError
|
|
17
|
+
$stderr.print "system call error: " + $!
|
|
18
|
+
end # exception rescue
|
|
19
|
+
|
|
20
|
+
end
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
# this code is to call the help window
|
|
2
|
+
def runhelpwindowrwdshell
|
|
3
|
+
|
|
4
|
+
$help_topic = "rwdshell_help"
|
|
5
|
+
if @rwd_tab == "scriptlister"
|
|
6
|
+
$help_topic = "rwdshell_help"
|
|
7
|
+
end
|
|
8
|
+
|
|
9
|
+
if @rwd_tab == "viewrwdshellconfiguration"
|
|
10
|
+
$help_topic = "ShellEnvironment_help"
|
|
11
|
+
end
|
|
12
|
+
if @rwd_tab == "EditScriptsrwdshell"
|
|
13
|
+
$help_topic = "shelledit_help"
|
|
14
|
+
end
|
|
15
|
+
if @rwd_tab == "editrubyrecordfile"
|
|
16
|
+
$help_topic = "shelledit_help"
|
|
17
|
+
end
|
|
18
|
+
|
|
19
|
+
|
|
20
|
+
|
|
21
|
+
$helptopicsarray = $helptopicsarray | ["rwdshell_help", "ShellEnvironment_help"]
|
|
22
|
+
$previouswindow = @rwd_window
|
|
23
|
+
$previoustab = @rwd_tab
|
|
24
|
+
|
|
25
|
+
|
|
26
|
+
if @rwd_window != "rwdtinkerhelpwindow"
|
|
27
|
+
$previouswindow = @rwd_window
|
|
28
|
+
$previoustab = @rwd_tab
|
|
29
|
+
end
|
|
30
|
+
runhelpwindow
|
|
31
|
+
end
|
|
32
|
+
|
|
33
|
+
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
def playrubyscript
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
nametext = "%s" % [@a_rubyscriptcmd]
|
|
5
|
+
|
|
6
|
+
begin # exception trapped block
|
|
7
|
+
|
|
8
|
+
fileName = $shellscript_directory + "/" + nametext + ".rb"
|
|
9
|
+
|
|
10
|
+
|
|
11
|
+
rubyfile_contents = File.read( fileName)
|
|
12
|
+
temp = eval( rubyfile_contents)
|
|
13
|
+
|
|
14
|
+
|
|
15
|
+
|
|
16
|
+
|
|
17
|
+
|
|
18
|
+
|
|
19
|
+
|
|
20
|
+
rescue SystemCallError, StandardError
|
|
21
|
+
$stderr.print "system call error: " + $!
|
|
22
|
+
end # exception rescue
|
|
23
|
+
end
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
def playscript
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
nametext = "%s" % [@a_scriptcmd]
|
|
5
|
+
|
|
6
|
+
begin # exception trapped block
|
|
7
|
+
|
|
8
|
+
fileName = $shellscript_directory + "/" + nametext + ".sh"
|
|
9
|
+
|
|
10
|
+
fd = File.open(fileName,"r")
|
|
11
|
+
|
|
12
|
+
|
|
13
|
+
commandtext = fd.read
|
|
14
|
+
fd.close
|
|
15
|
+
|
|
16
|
+
|
|
17
|
+
@playscript_display = `#{commandtext}`
|
|
18
|
+
|
|
19
|
+
|
|
20
|
+
rescue SystemCallError, StandardError
|
|
21
|
+
$stderr.print "system call error: " + $!
|
|
22
|
+
end # exception rescue
|
|
23
|
+
end
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
$buffer = ''
|
|
2
|
+
def $buffer.write(str) # create a variable to use in rubyeval
|
|
3
|
+
self << str
|
|
4
|
+
end
|
|
5
|
+
def rubyeval
|
|
6
|
+
require 'Env'
|
|
7
|
+
require 'English'
|
|
8
|
+
commandtextruby = "%s " % [@a_rubyeval]
|
|
9
|
+
$tmpout = $stdout # save the original STDOUT
|
|
10
|
+
$stdout = $buffer
|
|
11
|
+
begin # begin rescue monitored block
|
|
12
|
+
eval( commandtextruby )
|
|
13
|
+
|
|
14
|
+
@rubydisplay = $stdout
|
|
15
|
+
|
|
16
|
+
$stdout = $tmpout # restore STDOUT to normal
|
|
17
|
+
|
|
18
|
+
rescue # process exeption
|
|
19
|
+
$stdout = $tmpout # restore STDOUT to normal
|
|
20
|
+
@rubydisplay = "\n" + "error in eval"
|
|
21
|
+
end # end of rescue process # of rescure monitored block
|
|
22
|
+
|
|
23
|
+
|
|
24
|
+
end
|
|
25
|
+
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
# Application RwdAddresses orginally (c) 2004 Steven Gibson under GPL.
|
|
2
|
+
#
|
|
3
|
+
# For more information about see http://www.rubyforge.net/projects/rwdapplications
|
|
4
|
+
|
|
5
|
+
# call the window
|
|
6
|
+
def runrwdshellbackwindow
|
|
7
|
+
@rwd_window = "rwdshellbackwindow"
|
|
8
|
+
@rwd_tab = "viewrwdshellconfiguration"
|
|
9
|
+
end
|
|
10
|
+
|
|
@@ -0,0 +1,12 @@
|
|
|
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 runrwdshellwindow
|
|
7
|
+
|
|
8
|
+
@rwd=window = "main"
|
|
9
|
+
@rwd_tab="scriptlister"
|
|
10
|
+
|
|
11
|
+
end
|
|
12
|
+
|
|
@@ -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 runrwdshellversion
|
|
8
|
+
@rwd_window = "applicationversion"
|
|
9
|
+
@versionappnamedisplay = "RwdShell"
|
|
10
|
+
@versioncopyrightdisplay = "(c) 2004 Steven Gibson "
|
|
11
|
+
@versionnumberdisplay = "Version " + RwdShellVersion
|
|
12
|
+
|
|
13
|
+
end
|
|
14
|
+
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
|
|
2
|
+
def savescriptrecord # this method adds a new script file
|
|
3
|
+
require 'fileutils'
|
|
4
|
+
if @a_tmpscriptfilename
|
|
5
|
+
newdata =@a_scriptfirstline.to_s + "\n #" + @a_scriptcommentline.to_s + "\n"
|
|
6
|
+
fullnewname = @a_tmpscriptfilename.to_s + ".sh"
|
|
7
|
+
begin # exception trapped block
|
|
8
|
+
fileName = File.join( $shellscript_directory, fullnewname )
|
|
9
|
+
fd = File.open(fileName,"w")
|
|
10
|
+
fd.print(newdata) # save the record info to the file
|
|
11
|
+
fd.close
|
|
12
|
+
@newdisplay=newdata # show the record info in the browser
|
|
13
|
+
$currentscriptname = "%s" % [@a_tmpscriptfilename] # grab the new filename to create
|
|
14
|
+
|
|
15
|
+
rescue
|
|
16
|
+
@newdisplay = "\n" + "system error in createnew method"
|
|
17
|
+
end # exception rescue
|
|
18
|
+
end
|
|
19
|
+
end # end of createnew
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
# this method adds a new address record
|
|
2
|
+
def saverubyslippersconfiguration
|
|
3
|
+
require 'fileutils'
|
|
4
|
+
|
|
5
|
+
newname = "rubyslippers.cnf" # grab the filename to create
|
|
6
|
+
newdata =@a_rsconfigline1.to_s + "\n" + @a_rsconfigline2.to_s + "\n" + @a_rsconfigline3.to_s + "\n" + @a_rsconfigline4.to_s + "\n" + @a_rsconfigline5.to_s + "\n" + @a_rsconfigline6.to_s + "\n" + @a_rsconfigline7.to_s + "\n" + @a_rsconfigline8.to_s + "\n" + @a_rsconfigline9.to_s + "\n"
|
|
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
|
+
|
|
18
|
+
end
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
|
|
2
|
+
|
|
3
|
+
def shelleval
|
|
4
|
+
|
|
5
|
+
commandtext = "%s " % [@a_shelleval]
|
|
6
|
+
|
|
7
|
+
begin # exception trapped block
|
|
8
|
+
commandtextnext = File.join($shellscript_directory,commandtext)
|
|
9
|
+
|
|
10
|
+
|
|
11
|
+
@result =`#{commandtext}`
|
|
12
|
+
|
|
13
|
+
rescue SystemCallError, StandardError
|
|
14
|
+
$stderr.print "system call error: " + $!
|
|
15
|
+
end # exception rescue
|
|
16
|
+
|
|
17
|
+
end
|
|
18
|
+
|
|
19
|
+
|
|
20
|
+
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
def viewrubyscript
|
|
2
|
+
require 'fileutils'
|
|
3
|
+
$currentscriptname = "%s" % [@a_rubyscriptfilename]
|
|
4
|
+
|
|
5
|
+
begin # exception trapped block
|
|
6
|
+
fileName = $shellscript_directory+ "/" + $currentrubyscriptname + ".rb"
|
|
7
|
+
|
|
8
|
+
fd = File.open(fileName,"r")
|
|
9
|
+
@displayrubyscripttext = " "
|
|
10
|
+
while ! fd.eof?
|
|
11
|
+
@displayrubyscripttext = fd.read
|
|
12
|
+
end
|
|
13
|
+
fd.close
|
|
14
|
+
rescue
|
|
15
|
+
@displayrubyscripttext = "\n" + "error"
|
|
16
|
+
end # exception rescue
|
|
17
|
+
|
|
18
|
+
end
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
def viewscript
|
|
2
|
+
require 'fileutils'
|
|
3
|
+
$currentscriptname = "%s" % [@a_scriptfilename]
|
|
4
|
+
|
|
5
|
+
begin # exception trapped block
|
|
6
|
+
fileName = $shellscript_directory + "/" + $currentscriptname + ".sh"
|
|
7
|
+
|
|
8
|
+
fd = File.open(fileName,"r")
|
|
9
|
+
@displayscripttext = " "
|
|
10
|
+
while ! fd.eof?
|
|
11
|
+
@displayscripttext = fd.read
|
|
12
|
+
end
|
|
13
|
+
fd.close
|
|
14
|
+
rescue
|
|
15
|
+
@displayscripttext = "\n" + "error"
|
|
16
|
+
end # exception rescue
|
|
17
|
+
|
|
18
|
+
end
|
|
@@ -0,0 +1,96 @@
|
|
|
1
|
+
# Bind message passing socket to rwdtinker application
|
|
2
|
+
def runcontrolcommand
|
|
3
|
+
require 'socket'
|
|
4
|
+
|
|
5
|
+
# Change this line...
|
|
6
|
+
ip = '127.0.0.1'
|
|
7
|
+
# And this one...
|
|
8
|
+
port = $rwdcontrolport1
|
|
9
|
+
if @a_remoteportinput
|
|
10
|
+
port = @a_remoteportinput.to_i
|
|
11
|
+
end
|
|
12
|
+
|
|
13
|
+
commandtext = @a_remotecommandinput.to_s
|
|
14
|
+
remotehostnotfound = true
|
|
15
|
+
if (commandtext == "stop")
|
|
16
|
+
begin
|
|
17
|
+
client = UDPSocket::new()
|
|
18
|
+
client.send(commandtext, 0, ip, port)
|
|
19
|
+
@socket = UDPSocket::new()
|
|
20
|
+
@socket.bind(ip, port)
|
|
21
|
+
# Rescue the "Address in use" error
|
|
22
|
+
rescue Errno::EADDRINUSE
|
|
23
|
+
|
|
24
|
+
databack, info = client.recv(128)
|
|
25
|
+
@remotecommandresult = databack
|
|
26
|
+
@lastremotecommand = "rwdtinker remote:: Port #{port} on host #{ip} ."
|
|
27
|
+
remotehostnotfound = false
|
|
28
|
+
|
|
29
|
+
# Rescue the "Address not available" error
|
|
30
|
+
rescue Errno::EADDRNOTAVAIL
|
|
31
|
+
puts "Network plugin: Address #{host} is not available to bind."
|
|
32
|
+
|
|
33
|
+
# Rescue "permission denied errors
|
|
34
|
+
rescue Errno::EACCES
|
|
35
|
+
puts "Network plugin: Access denied when binding interface addresses. Did you try to bind a port under 1024 as a regular user?"
|
|
36
|
+
|
|
37
|
+
# Rescue all other errors
|
|
38
|
+
rescue
|
|
39
|
+
puts "Network plugin: An error occured."
|
|
40
|
+
|
|
41
|
+
# Rescue all other errors
|
|
42
|
+
end
|
|
43
|
+
if remotehostnotfound
|
|
44
|
+
@remotecommandresult = "Remote Host not running"
|
|
45
|
+
end
|
|
46
|
+
@socket.close
|
|
47
|
+
# Close the socket after use
|
|
48
|
+
client.close()
|
|
49
|
+
end
|
|
50
|
+
|
|
51
|
+
remotehostnotfound = true
|
|
52
|
+
if (commandtext == "query")
|
|
53
|
+
begin
|
|
54
|
+
client = UDPSocket::new()
|
|
55
|
+
client.send(commandtext, 0, ip, port)
|
|
56
|
+
@socket = UDPSocket::new()
|
|
57
|
+
@socket.bind(ip, port)
|
|
58
|
+
# Rescue the "Address in use" error
|
|
59
|
+
rescue Errno::EADDRINUSE
|
|
60
|
+
|
|
61
|
+
databack, info = client.recv(128)
|
|
62
|
+
@remotecommandresult = databack
|
|
63
|
+
@lastremotecommand = "rwdtinker remote: Port #{port} on host #{ip} "
|
|
64
|
+
remotehostnotfound = false
|
|
65
|
+
|
|
66
|
+
# Rescue the "Address not available' error
|
|
67
|
+
rescue Errno::EADDRNOTAVAIL
|
|
68
|
+
puts "Network plugin: Address #{host} is not available to bind."
|
|
69
|
+
|
|
70
|
+
# Rescue "permission denied errors
|
|
71
|
+
rescue Errno::EACCES
|
|
72
|
+
puts "Network plugin: Access denied when binding interface addresses. Did you try to bind a port under 1024 as a regular user?"
|
|
73
|
+
|
|
74
|
+
# Rescue all other errors
|
|
75
|
+
rescue
|
|
76
|
+
puts "Network plugin: An error occured."
|
|
77
|
+
|
|
78
|
+
# Rescue all other errors
|
|
79
|
+
end
|
|
80
|
+
@socket.close
|
|
81
|
+
|
|
82
|
+
# Close the socket after use
|
|
83
|
+
client.close()
|
|
84
|
+
end
|
|
85
|
+
|
|
86
|
+
if remotehostnotfound
|
|
87
|
+
@remotecommandresult = "Remote Host not running"
|
|
88
|
+
end
|
|
89
|
+
end
|
|
90
|
+
|
|
91
|
+
# list the remote control options on the screen
|
|
92
|
+
def showremoteportoptions
|
|
93
|
+
|
|
94
|
+
@remoteportoptions = $rwdcontrolports.rwd_options
|
|
95
|
+
@remotecommandoptions = ["query","stop"].rwd_options
|
|
96
|
+
end
|
|
@@ -0,0 +1,19 @@
|
|
|
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
|
+
require 'resolv'
|
|
6
|
+
require 'date'
|
|
7
|
+
|
|
8
|
+
# return the platform information
|
|
9
|
+
def runviewplatform
|
|
10
|
+
@platformdisplay = "Platform is " + RUBY_PLATFORM + "\n"
|
|
11
|
+
@platformdisplay = @platformdisplay + "Ruby Version " + VERSION + "\n"
|
|
12
|
+
@platformdisplay = @platformdisplay + "rwdtinker version " + RwdTinkerVersion + "\n"
|
|
13
|
+
@platformdisplay = @platformdisplay + "program directory " + $progdir + "\n"
|
|
14
|
+
@platformdisplay = @platformdisplay + "hostname " + Resolv.getname(Resolv.getaddress("localhost")) + "\n"
|
|
15
|
+
@platformdisplay = @platformdisplay + "application name " + $rwdapplicationidentity + "\n"
|
|
16
|
+
@platformdisplay = @platformdisplay + "Date " + Date.today().to_s
|
|
17
|
+
|
|
18
|
+
end
|
|
19
|
+
|
|
@@ -0,0 +1,61 @@
|
|
|
1
|
+
# help text files used by context sensitive help
|
|
2
|
+
|
|
3
|
+
Helptext.update( :tinkerwin2_help => " You can view the list of applets you can install
|
|
4
|
+
by clicking on the list files button
|
|
5
|
+
|
|
6
|
+
You can download an applet created by someone else
|
|
7
|
+
|
|
8
|
+
put the file in the zips directory
|
|
9
|
+
|
|
10
|
+
rwdtinker applets packaged as RubyGems can be used if you have RubyGems installed.
|
|
11
|
+
You can download rwdtinker gems at the 'Install Remote Applets' tab
|
|
12
|
+
to install applets you need the ruby zlib library installed
|
|
13
|
+
",
|
|
14
|
+
:applet_viewing => "You can get a list of all installed applets by clicking the 'listfiles button'
|
|
15
|
+
To see the text of a install file
|
|
16
|
+
Type in the name of the file you want.
|
|
17
|
+
|
|
18
|
+
type it without the inf ending
|
|
19
|
+
rwdapplet-0.1
|
|
20
|
+
|
|
21
|
+
Then click the 'View Installed File' button
|
|
22
|
+
|
|
23
|
+
If it finds the file it will open it. It displays the text the search box.
|
|
24
|
+
|
|
25
|
+
You can uninstall applets on this screen",
|
|
26
|
+
|
|
27
|
+
:applet_installation => " You can download an applet created by someone else\n
|
|
28
|
+
put the file in the zips directory\n
|
|
29
|
+
|
|
30
|
+
click on the 'list zips' tab\n
|
|
31
|
+
click on 'list applets available for installing'\n
|
|
32
|
+
|
|
33
|
+
chose the applet you want\n
|
|
34
|
+
click on 'install applet'\n
|
|
35
|
+
If all goes well the applet should be installed.\n
|
|
36
|
+
You will need to restart rwdtinker to see the new screens
|
|
37
|
+
to install applets you need the ruby zlib library installed",
|
|
38
|
+
|
|
39
|
+
:applet_tinkerbackeditconfiguration => " You can edit the configuration
|
|
40
|
+
|
|
41
|
+
Remember to reload the configuration variables if you want your
|
|
42
|
+
changes used.",
|
|
43
|
+
:remotegemapplet_install => " To download and install use the 'Install Remote Applets'
|
|
44
|
+
|
|
45
|
+
First click on 'List applets in the Remote GEM Repository available for downloading'
|
|
46
|
+
then go to the very bottom to click on the applet you want
|
|
47
|
+
then on the top click 'install remote Gem applet package'
|
|
48
|
+
|
|
49
|
+
This installs the package in the Gem system
|
|
50
|
+
You still need to install it into rwdtinker - do that in the 'List Zips' tab
|
|
51
|
+
|
|
52
|
+
For this feature to work, you need
|
|
53
|
+
RubyGems installed
|
|
54
|
+
Variables set correctly in the tinerwin2.cnf file
|
|
55
|
+
$xpcommand, $gemdirectory_withgemfiles and $geminstalled_directory
|
|
56
|
+
the defaults as shipped will normally be for a Debian Linux system
|
|
57
|
+
On Debian Linux, you would usually need to be running rwdtinker as root in order to install RubyGems
|
|
58
|
+
|
|
59
|
+
You can view the list of rwdtinker applets you have installed already by clicking 'view already installed GEM applets'
|
|
60
|
+
"
|
|
61
|
+
)
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
# code in install rwdtinker applets - now uses ruby.zip module
|
|
2
|
+
def installapplet
|
|
3
|
+
|
|
4
|
+
nametext = "%s" % [@a_installapplet]
|
|
5
|
+
|
|
6
|
+
begin # exception trapped block
|
|
7
|
+
|
|
8
|
+
|
|
9
|
+
require 'extras/zip/zip'
|
|
10
|
+
fullname = nametext + ".zip"
|
|
11
|
+
fileName = File.join($zipslocation,fullname)
|
|
12
|
+
|
|
13
|
+
zf = Zip::ZipFile.new(fileName)
|
|
14
|
+
zf.sort.each {
|
|
15
|
+
|entry|
|
|
16
|
+
zf.extract(entry.to_s, entry.to_s)
|
|
17
|
+
}
|
|
18
|
+
@installapplettext = Message[:applet_installed]
|
|
19
|
+
|
|
20
|
+
rescue
|
|
21
|
+
@installapplettext = "unzip error - applet may not be installed correctly"
|
|
22
|
+
end # exception rescue
|
|
23
|
+
|
|
24
|
+
end
|
|
25
|
+
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
# install rwdtinker applet from a long directory location
|
|
2
|
+
def installgemapplet
|
|
3
|
+
require 'fileutils'
|
|
4
|
+
require 'extras/zip/zip'
|
|
5
|
+
nametext = "%s" % [@a_installapplet]
|
|
6
|
+
|
|
7
|
+
begin # exception trapped block
|
|
8
|
+
fullname = nametext + ".zip"
|
|
9
|
+
|
|
10
|
+
zf = Zip::ZipFile.new(fullname)
|
|
11
|
+
zf.sort.each {
|
|
12
|
+
|entry|
|
|
13
|
+
zf.extract(entry.to_s, entry.to_s)
|
|
14
|
+
}
|
|
15
|
+
@installapplettext = Message[:applet_installed]
|
|
16
|
+
|
|
17
|
+
rescue
|
|
18
|
+
@installapplettext = "unzip error - applet may not be installed correctly"
|
|
19
|
+
end # exception rescue
|
|
20
|
+
end
|
|
21
|
+
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
# download gem of rwdtinker applet
|
|
2
|
+
def superantcominstallremotegemapplet
|
|
3
|
+
require 'fileutils'
|
|
4
|
+
|
|
5
|
+
tempnametext = "%s" % [@superantcominstallremoteappletinput]
|
|
6
|
+
temparray = tempnametext.split(/ /)
|
|
7
|
+
nametext = temparray[0]
|
|
8
|
+
begin # exception trapped block
|
|
9
|
+
|
|
10
|
+
|
|
11
|
+
commandline = $xpcommand + "gem install " + nametext
|
|
12
|
+
|
|
13
|
+
@superantcominstallremotegemappletresult = `#{commandline}`
|
|
14
|
+
|
|
15
|
+
rescue
|
|
16
|
+
@superantcominstallremotegemappletresult = "error during gem install!"
|
|
17
|
+
end # exception rescue
|
|
18
|
+
|
|
19
|
+
end
|
|
20
|
+
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
# this code is to list the gem directories that are installed
|
|
2
|
+
def superantcomshowgemfiledirs
|
|
3
|
+
|
|
4
|
+
fileList = Dir.new($gemdirectory_withgemfiles).entries.sort.delete_if { |x| ! (x =~ /\Arwdzip/) }
|
|
5
|
+
@superantcomshowgemappletdirsresult = fileList.rwd_method("superantcomshowgemappletdirsname")
|
|
6
|
+
end
|
|
7
|
+
|
|
8
|
+
def superantcomshowgemappletdirsname(inffile)
|
|
9
|
+
applet = inffile
|
|
10
|
+
@a_gemfiledirsinput = applet
|
|
11
|
+
|
|
12
|
+
end
|
|
@@ -0,0 +1,53 @@
|
|
|
1
|
+
# this code is to list the zips
|
|
2
|
+
def fillzipappletname(inffile)
|
|
3
|
+
applet = inffile.gsub(/\.zip$/, "")
|
|
4
|
+
@a_installapplet = applet
|
|
5
|
+
|
|
6
|
+
end
|
|
7
|
+
|
|
8
|
+
def findzipfiles(d)
|
|
9
|
+
a = Array.new(Dir[d].entries.sort)
|
|
10
|
+
#loop through and get the files names
|
|
11
|
+
a.each do |x|
|
|
12
|
+
#adjust the filters to the files you want to see...
|
|
13
|
+
if(!test(?d,x))
|
|
14
|
+
# only zip files
|
|
15
|
+
if x =~ /\.zip/
|
|
16
|
+
puts "#{x}" #opens the file thats in fileName as read only
|
|
17
|
+
$zipsarray = $zipsarray | ["#{x}"]
|
|
18
|
+
end
|
|
19
|
+
end
|
|
20
|
+
end
|
|
21
|
+
end
|
|
22
|
+
|
|
23
|
+
def listgemzips
|
|
24
|
+
startlangdir = $geminstalled_directory
|
|
25
|
+
#get a list of the files and subdirectories on the starting directory only
|
|
26
|
+
alanghash = Array.new(Dir[startlangdir].entries.sort)
|
|
27
|
+
p alanghash
|
|
28
|
+
#loop through the list, ignore the files and add all new directories found
|
|
29
|
+
alanghash.each do |x|
|
|
30
|
+
#if a directory...
|
|
31
|
+
if(test(?d,x))
|
|
32
|
+
# add to the original list of directories
|
|
33
|
+
@@tmproot = x + "/**"
|
|
34
|
+
#adds the new ones to the array
|
|
35
|
+
blanghash = Dir[@@tmproot].entries.sort
|
|
36
|
+
blanghash.each do |x|
|
|
37
|
+
if(test(?d,x))
|
|
38
|
+
alanghash.push(x) #appends to the end of the array...
|
|
39
|
+
end
|
|
40
|
+
end
|
|
41
|
+
end
|
|
42
|
+
end
|
|
43
|
+
alanghash.each do |x|
|
|
44
|
+
#if it is a file...
|
|
45
|
+
if(!test(?d,x))
|
|
46
|
+
alanghash.delete(x)
|
|
47
|
+
else #it is a directory...
|
|
48
|
+
findzipfiles(x + "/**")
|
|
49
|
+
end
|
|
50
|
+
end
|
|
51
|
+
@zipslistresult = $zipsarray.rwd_method("fillzipappletname")
|
|
52
|
+
end
|
|
53
|
+
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
# this code is to list the applets that are installed
|
|
2
|
+
def listinstalledfiles
|
|
3
|
+
fileList = Dir.new("installed").entries.sort.reverse.delete_if { |x| ! (x =~ /inf$/) }
|
|
4
|
+
@filesresult = fileList.rwd_method("fillappletname")
|
|
5
|
+
end
|
|
6
|
+
|
|
7
|
+
def fillappletname(inffile)
|
|
8
|
+
applet = inffile.gsub(/\.inf$/, "")
|
|
9
|
+
@a_installlist = applet
|
|
10
|
+
@a_removeapplet = applet
|
|
11
|
+
end
|
|
12
|
+
|