rubyslippers 0.92 → 0.93
Sign up to get free protection for your applications and to get access to all the features.
- data/code/ii6rubyslippers/rubyslippershelpabout.rb +14 -0
- data/code/ii6rubyslippers/runrubyslipperswindow.rb +9 -0
- data/code/xb1rwdtinkerbackwindow/diagnostictab.rb +2 -1
- data/configuration/aa0rwdframework.cnf +5 -3
- data/configuration/ab1tinkerwin2.cnf +1 -0
- data/configuration/ii3rubyslippers.cnf +1 -0
- data/gui/aa2core/aa0rwdtop.rwd +4 -0
- data/gui/ii6rubyslippers/ii3viewgemdata.rwd +11 -0
- data/gui/ii6rubyslippers/ii4listgemrecordfiles.rwd +8 -0
- data/gui/ii6rubyslippers/ii6installgem.rwd +12 -0
- data/gui/ii6rubyslippers/ii7listgemsremote.rwd +11 -0
- data/gui/ii6rubyslippers/ii9gemcommands.rwd +17 -0
- data/gui/ii6rubyslippers/ij1gemfilesinstalled.rwd +17 -0
- data/gui/ii6rubyslippers/ij4gemserverscan.rwd +15 -0
- data/gui/ll1selectiontabbegin/selectiontabbegin.rwd +16 -0
- data/gui/ll5rwdtinkerwin2selectiontab/rwdwin2selectiontab.rwd +12 -0
- data/gui/ln6rubyslippersselectiontab/rubywindowsselectiontab.rwd +11 -0
- data/gui/lz1selectiontabend/endselectiontab.rwd +3 -0
- data/gui/tt0documentsbegin/tt0documentbegin.rwd +6 -0
- data/gui/ui3rubyslippers/ui3rubyslippers.rwd +4 -0
- data/gui/{en/ui3rubyslippers → ui3rubyslippers}/ui4rubyslippers.rwd +4 -5
- data/gui/{nl/uu5rwddocuments → uu5rwddocuments}/uu5documents.rwd +9 -7
- data/gui/{es/uu6rwdtinkerwin2documents → uu6rwdtinkerwin2documents}/uu5documents.rwd +4 -2
- data/gui/ww0documentsend/ww0documentend.rwd +7 -0
- data/gui/wz6finaltabs/xx0rwdfirsttab.rwd +6 -0
- data/gui/{en/xa1versionwindow → xa1versionwindow}/1appname.rwd +4 -2
- data/gui/xa5rwdtinkercallablewindow/1appname.rwd +17 -0
- data/gui/xa5rwdtinkercallablewindow/9end.rwd +4 -0
- data/gui/xb1rwdtinkerbackwindow/1appname.rwd +5 -0
- data/gui/xb1rwdtinkerbackwindow/2tab1.rwd +11 -0
- data/gui/xb1rwdtinkerbackwindow/3arwddiagnostics.rwd +33 -0
- data/gui/xb1rwdtinkerbackwindow/4arwdlistapplets.rwd +44 -0
- data/gui/xb1rwdtinkerbackwindow/4arwdlistzips.rwd +35 -0
- data/gui/xb1rwdtinkerbackwindow/9backend.rwd +6 -0
- data/gui/ya1helpaboutbegin/ya0helpscreenstart.rwd +3 -0
- data/gui/yg5rwdhelpabout/1appname.rwd +4 -0
- data/gui/yg5rwdhelpabout/3copyright.rwd +3 -0
- data/gui/yg5rwdhelpabout/5version.rwd +10 -0
- data/gui/yg6rwdwin2helpabout/1appname.rwd +4 -0
- data/gui/yg6rwdwin2helpabout/3copyright.rwd +3 -0
- data/gui/yg6rwdwin2helpabout/5version.rwd +10 -0
- data/gui/yi2rubyslippers/1rubyslippers.rwd +5 -0
- data/gui/yi2rubyslippers/2rubyslippers.rwd +3 -0
- data/gui/yi2rubyslippers/5version.rwd +9 -0
- data/gui/yy5helpaboutend/helpscreenend.rwd +3 -0
- data/gui/za1applicationend/yy9rwdend.rwd +4 -0
- data/init.rb +74 -5
- data/installed/rubyslippers-0.93.inf +9 -0
- data/installed/rwdtinkerwin2-0.5.inf +4 -12
- data/lang/en/rwdcore/languagefile.rb +3 -2
- data/lang/es/rwdcore/languagefile.rb +1 -2
- data/lang/nl/rwdcore/languagefile.rb +1 -1
- data/lang/templangfile.rb +7 -0
- data/lang/wlocallangstart.rb +5 -0
- data/lang/xlocallangfile.rb +7 -0
- data/lang/zlocallangend.rb +2 -0
- data/rwd_files/HowTo_RubySlippers.txt +3 -0
- data/rwd_files/HowTo_Shell.txt +97 -0
- data/rwd_files/HowTo_Tinker.txt +32 -0
- data/rwd_files/remotegemlist.txt +48 -12
- data/zips/{rwdhelloworld-0.2.zip → rwdhelloworld-0.3.zip} +0 -0
- data/zips/rwdwshell-0.91.zip +0 -0
- data/zips/wrubyslippers-0.93.zip +0 -0
- metadata +65 -151
- data/code/al5languagefiles/templangfile.rb +0 -6
- data/code/dd0viewphoto/dd0viewphoto.rb +0 -4
- data/code/lm1installapplets/ll5listzips.rb +0 -14
- data/code/lm1installapplets/lm1installapplet.rb +0 -20
- data/code/ssdiagnostictab/diagnostictab.rb +0 -20
- data/gui/en/aa2core/aa0rwdtop.rwd +0 -3
- data/gui/en/cc0viewphoto/cc0openphoto.rwd +0 -17
- data/gui/en/ii6rubyslippers/ii3viewgemdata.rwd +0 -17
- data/gui/en/ii6rubyslippers/ii4listgemrecordfiles.rwd +0 -13
- data/gui/en/ii6rubyslippers/ii6installgem.rwd +0 -20
- data/gui/en/ii6rubyslippers/ii7listgemsremote.rwd +0 -13
- data/gui/en/ii6rubyslippers/ii9gemcommands.rwd +0 -23
- data/gui/en/ii6rubyslippers/ij1gemfilesinstalled.rwd +0 -23
- data/gui/en/ii6rubyslippers/ij4gemserverscan.rwd +0 -23
- data/gui/en/ll1selectiontabbegin/selectiontabbegin.rwd +0 -15
- data/gui/en/ll5rwdtinkerwin2selectiontab/rwdwin2selectiontab.rwd +0 -11
- data/gui/en/lz1selectiontabend/endselectiontab.rwd +0 -1
- data/gui/en/tt0documentsbegin/tt0documentbegin.rwd +0 -5
- data/gui/en/ui3rubyslippers/ui3rubyslippers.rwd +0 -5
- data/gui/en/uu5rwddocuments/uu5documents.rwd +0 -13
- data/gui/en/uu6rwdtinkerwin2documents/uu5documents.rwd +0 -4
- data/gui/en/ww0documentsend/ww0documentend.rwd +0 -6
- data/gui/en/wz6finaltabs/xx0rwdfirsttab.rwd +0 -4
- data/gui/en/xa5rwdtinkercallablewindow/1appname.rwd +0 -15
- data/gui/en/xa5rwdtinkercallablewindow/9end.rwd +0 -4
- data/gui/en/xb1rwdtinkerbackwindow/1appname.rwd +0 -3
- data/gui/en/xb1rwdtinkerbackwindow/2tab1.rwd +0 -9
- data/gui/en/xb1rwdtinkerbackwindow/3arwddiagnostics.rwd +0 -31
- data/gui/en/xb1rwdtinkerbackwindow/4arwdlistapplets.rwd +0 -42
- data/gui/en/xb1rwdtinkerbackwindow/4arwdlistzips.rwd +0 -33
- data/gui/en/xb1rwdtinkerbackwindow/9backend.rwd +0 -5
- data/gui/en/xx9photoview/xx9photoview.rwd +0 -3
- data/gui/en/ya1helpaboutbegin/ya0helpscreenstart.rwd +0 -1
- data/gui/en/yg5rwdhelpabout/1appname.rwd +0 -2
- data/gui/en/yg5rwdhelpabout/3copyright.rwd +0 -1
- data/gui/en/yg5rwdhelpabout/5version.rwd +0 -9
- data/gui/en/yg6rwdwin2helpabout/1appname.rwd +0 -2
- data/gui/en/yg6rwdwin2helpabout/3copyright.rwd +0 -1
- data/gui/en/yg6rwdwin2helpabout/5version.rwd +0 -9
- data/gui/en/yi2rubyslippers/yi2rubyslippers.rwd +0 -3
- data/gui/en/yi2rubyslippers/yi6rubyslippers.rwd +0 -3
- data/gui/en/yi2rubyslippers/yi8rubyslippers.rwd +0 -1
- data/gui/en/za1applicationend/yy9rwdend.rwd +0 -2
- data/gui/es/aa2core/aa0rwdtop.rwd +0 -3
- data/gui/es/cc0viewphoto/cc0openphoto.rwd +0 -17
- data/gui/es/ii6rubyslippers/ii3viewgemdata.rwd +0 -17
- data/gui/es/ii6rubyslippers/ii4listgemrecordfiles.rwd +0 -13
- data/gui/es/ii6rubyslippers/ii6installgem.rwd +0 -20
- data/gui/es/ii6rubyslippers/ii7listgemsremote.rwd +0 -13
- data/gui/es/ii6rubyslippers/ii9gemcommands.rwd +0 -23
- data/gui/es/ii6rubyslippers/ij1gemfilesinstalled.rwd +0 -23
- data/gui/es/ii6rubyslippers/ij4gemserverscan.rwd +0 -23
- data/gui/es/ll1selectiontabbegin/selectiontabbegin.rwd +0 -15
- data/gui/es/ll5rwdtinkerwin2selectiontab/rwdwin2selectiontab.rwd +0 -11
- data/gui/es/lz1selectiontabend/endselectiontab.rwd +0 -1
- data/gui/es/tt0documentsbegin/tt0documentbegin.rwd +0 -5
- data/gui/es/ui3rubyslippers/ui3rubyslippers.rwd +0 -5
- data/gui/es/ui3rubyslippers/ui4rubyslippers.rwd +0 -5
- data/gui/es/uu5rwddocuments/uu5documents.rwd +0 -13
- data/gui/es/ww0documentsend/ww0documentend.rwd +0 -6
- data/gui/es/wz6finaltabs/xx0rwdfirsttab.rwd +0 -4
- data/gui/es/xa1versionwindow/1appname.rwd +0 -17
- data/gui/es/xa5rwdtinkercallablewindow/1appname.rwd +0 -15
- data/gui/es/xa5rwdtinkercallablewindow/9end.rwd +0 -4
- data/gui/es/xb1rwdtinkerbackwindow/1appname.rwd +0 -3
- data/gui/es/xb1rwdtinkerbackwindow/2tab1.rwd +0 -9
- data/gui/es/xb1rwdtinkerbackwindow/3arwddiagnostics.rwd +0 -31
- data/gui/es/xb1rwdtinkerbackwindow/4arwdlistapplets.rwd +0 -42
- data/gui/es/xb1rwdtinkerbackwindow/4arwdlistzips.rwd +0 -33
- data/gui/es/xb1rwdtinkerbackwindow/9backend.rwd +0 -5
- data/gui/es/xx9photoview/xx9photoview.rwd +0 -3
- data/gui/es/ya1helpaboutbegin/ya0helpscreenstart.rwd +0 -1
- data/gui/es/yg5rwdhelpabout/1appname.rwd +0 -2
- data/gui/es/yg5rwdhelpabout/3copyright.rwd +0 -1
- data/gui/es/yg5rwdhelpabout/5version.rwd +0 -9
- data/gui/es/yg6rwdwin2helpabout/1appname.rwd +0 -2
- data/gui/es/yg6rwdwin2helpabout/3copyright.rwd +0 -1
- data/gui/es/yg6rwdwin2helpabout/5version.rwd +0 -9
- data/gui/es/yi2rubyslippers/yi2rubyslippers.rwd +0 -3
- data/gui/es/yi2rubyslippers/yi6rubyslippers.rwd +0 -3
- data/gui/es/yi2rubyslippers/yi8rubyslippers.rwd +0 -1
- data/gui/es/za1applicationend/yy9rwdend.rwd +0 -2
- data/gui/nl/aa2core/aa0rwdtop.rwd +0 -3
- data/gui/nl/cc0viewphoto/cc0openphoto.rwd +0 -17
- data/gui/nl/ii6rubyslippers/ii3viewgemdata.rwd +0 -17
- data/gui/nl/ii6rubyslippers/ii4listgemrecordfiles.rwd +0 -13
- data/gui/nl/ii6rubyslippers/ii6installgem.rwd +0 -20
- data/gui/nl/ii6rubyslippers/ii7listgemsremote.rwd +0 -13
- data/gui/nl/ii6rubyslippers/ii9gemcommands.rwd +0 -23
- data/gui/nl/ii6rubyslippers/ij1gemfilesinstalled.rwd +0 -23
- data/gui/nl/ii6rubyslippers/ij4gemserverscan.rwd +0 -23
- data/gui/nl/ll1selectiontabbegin/selectiontabbegin.rwd +0 -15
- data/gui/nl/ll5rwdtinkerwin2selectiontab/rwdwin2selectiontab.rwd +0 -11
- data/gui/nl/lz1selectiontabend/endselectiontab.rwd +0 -1
- data/gui/nl/tt0documentsbegin/tt0documentbegin.rwd +0 -5
- data/gui/nl/ui3rubyslippers/ui3rubyslippers.rwd +0 -5
- data/gui/nl/ui3rubyslippers/ui4rubyslippers.rwd +0 -5
- data/gui/nl/uu6rwdtinkerwin2documents/uu5documents.rwd +0 -4
- data/gui/nl/ww0documentsend/ww0documentend.rwd +0 -6
- data/gui/nl/wz6finaltabs/xx0rwdfirsttab.rwd +0 -4
- data/gui/nl/xa1versionwindow/1appname.rwd +0 -17
- data/gui/nl/xa5rwdtinkercallablewindow/1appname.rwd +0 -15
- data/gui/nl/xa5rwdtinkercallablewindow/9end.rwd +0 -4
- data/gui/nl/xb1rwdtinkerbackwindow/1appname.rwd +0 -3
- data/gui/nl/xb1rwdtinkerbackwindow/2tab1.rwd +0 -9
- data/gui/nl/xb1rwdtinkerbackwindow/3arwddiagnostics.rwd +0 -31
- data/gui/nl/xb1rwdtinkerbackwindow/4arwdlistapplets.rwd +0 -42
- data/gui/nl/xb1rwdtinkerbackwindow/4arwdlistzips.rwd +0 -33
- data/gui/nl/xb1rwdtinkerbackwindow/9backend.rwd +0 -5
- data/gui/nl/xx9photoview/xx9photoview.rwd +0 -3
- data/gui/nl/ya1helpaboutbegin/ya0helpscreenstart.rwd +0 -1
- data/gui/nl/yg5rwdhelpabout/1appname.rwd +0 -2
- data/gui/nl/yg5rwdhelpabout/3copyright.rwd +0 -1
- data/gui/nl/yg5rwdhelpabout/5version.rwd +0 -9
- data/gui/nl/yg6rwdwin2helpabout/1appname.rwd +0 -2
- data/gui/nl/yg6rwdwin2helpabout/3copyright.rwd +0 -1
- data/gui/nl/yg6rwdwin2helpabout/5version.rwd +0 -9
- data/gui/nl/yi2rubyslippers/yi2rubyslippers.rwd +0 -3
- data/gui/nl/yi2rubyslippers/yi6rubyslippers.rwd +0 -3
- data/gui/nl/yi2rubyslippers/yi8rubyslippers.rwd +0 -1
- data/gui/nl/za1applicationend/yy9rwdend.rwd +0 -2
- data/installed/fullrubyslippers-0.92 +0 -8
- data/installed/rwdviewphoto-0.3.inf +0 -9
- data/rwd_files/HowTo_Tinker.html +0 -370
- data/rwd_files/tinker.png +0 -0
- data/tests/rubyslippers-0.92.gemspec +0 -17
- data/tests/rwdtinker-1.2.gemspec +0 -17
- data/tests/rwdtinkertestEN.rb +0 -87
- data/tests/temptest.out +0 -18
- data/zips/rwdaviewphoto-0.3.zip +0 -0
- data/zips/rwdrefreshacpi-0.1.zip +0 -0
- data/zips/rwdwtinkerwin2-0.5.zip +0 -0
- /data/{code/al5languagefiles → lang}/alanguagehashbegin.rb +0 -0
- /data/{code/al5languagefiles → lang}/languagehash.rb +0 -0
- /data/{code/al5languagefiles/zlanguagehashend.rb → lang/vlanguagehashend.rb} +0 -0
data/init.rb
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
|
2
2
|
#***********************************************************************
|
3
3
|
#* Rwd/Tinker -- A Ruby program for the RudyWebDialog.
|
4
|
-
#* Copyright (c) 2004 by Steven Gibson. All Rights Reserved.
|
4
|
+
#* Copyright (c) 2004, 2005 by Steven Gibson. All Rights Reserved.
|
5
5
|
#*
|
6
6
|
#* This library is free software; you can redistribute it and/or
|
7
7
|
#* modify it under the terms of the GNU General Public
|
@@ -43,7 +43,20 @@ $progdir = File::expand_path( File.dirname(__FILE__))
|
|
43
43
|
end
|
44
44
|
end
|
45
45
|
end
|
46
|
-
|
46
|
+
def loadguifile(d)
|
47
|
+
a = Array.new(Dir[d].entries.sort)
|
48
|
+
#loop through and get the files names
|
49
|
+
a.each do |x|
|
50
|
+
#adjust the filters to the files you want to see...
|
51
|
+
if(!test(?d,x))
|
52
|
+
# only rwd files
|
53
|
+
if x =~ /rb|rwd|txt/
|
54
|
+
load x #opens the file thats in fileName and reads it
|
55
|
+
$tempdoc += $rwdguivar # adds the file into the doc string
|
56
|
+
end
|
57
|
+
end
|
58
|
+
end
|
59
|
+
end
|
47
60
|
|
48
61
|
# Read in the configuration files
|
49
62
|
|
@@ -59,8 +72,8 @@ $progdir = File::expand_path( File.dirname(__FILE__))
|
|
59
72
|
|
60
73
|
Dir.chdir($progdir) # change back to top program directory
|
61
74
|
|
62
|
-
# build the Language hash file from the parts
|
63
|
-
startlangdir = @@langdir +"/" +
|
75
|
+
# build the English Language hash file from the parts
|
76
|
+
startlangdir = @@langdir +"/" + "en"
|
64
77
|
#get a list of the files and subdirectories on the starting directory only
|
65
78
|
alanghash = Array.new(Dir[startlangdir].entries.sort)
|
66
79
|
#loop through the list, ignore the files and add all new directories found
|
@@ -93,6 +106,62 @@ $progdir = File::expand_path( File.dirname(__FILE__))
|
|
93
106
|
# END of Lang building
|
94
107
|
$tempdoc = " "
|
95
108
|
Dir.chdir($progdir) # change back to top program directory
|
109
|
+
|
110
|
+
# build the local Language hash file from the parts
|
111
|
+
startlangdir = @@langdir +"/" + $lang
|
112
|
+
#get a list of the files and subdirectories on the starting directory only
|
113
|
+
alanghash = Array.new(Dir[startlangdir].entries.sort)
|
114
|
+
#loop through the list, ignore the files and add all new directories found
|
115
|
+
alanghash.each do |x|
|
116
|
+
#if a directory...
|
117
|
+
if(test(?d,x))
|
118
|
+
# add to the original list of directories
|
119
|
+
@@tmproot = x + "/**"
|
120
|
+
#adds the new ones to the array
|
121
|
+
blanghash = Dir[@@tmproot].entries.sort
|
122
|
+
blanghash.each do |x|
|
123
|
+
if(test(?d,x))
|
124
|
+
alanghash.push(x) #appends to the end of the array...
|
125
|
+
end
|
126
|
+
end
|
127
|
+
end
|
128
|
+
end
|
129
|
+
alanghash.each do |x|
|
130
|
+
#if it is a file...
|
131
|
+
if(!test(?d,x))
|
132
|
+
alanghash.delete(x)
|
133
|
+
else #it is a directory...
|
134
|
+
findfiles(x + "/**")
|
135
|
+
end
|
136
|
+
end
|
137
|
+
|
138
|
+
filelocalLangHash=File.open(LocalLangHashFile,"w") #deletes and opens a the file in fileName
|
139
|
+
filelocalLangHash.write($tempdoc) #writes the contents of doc into the file
|
140
|
+
filelocalLangHash.close
|
141
|
+
|
142
|
+
$tempdoc = " "
|
143
|
+
|
144
|
+
Dir.chdir($progdir) # change back to top program directory
|
145
|
+
|
146
|
+
# build the language hash constant object from the lang parts
|
147
|
+
#get a list of the files in lang directory only
|
148
|
+
alangfile = Dir.new(@@langdir).entries.sort.reverse.delete_if { |x| ! (x =~ /rb$/) }
|
149
|
+
alangfile.length.times{
|
150
|
+
fileName = alangfile.pop
|
151
|
+
Dir.chdir($progdir)
|
152
|
+
Dir.chdir(@@langdir)
|
153
|
+
fileLangA=File.open("#{fileName}","r") #opens the file thats in fileName as read only
|
154
|
+
$tempdoc += fileLangA.read #reads the file into the doc string
|
155
|
+
fileLangA.close
|
156
|
+
}
|
157
|
+
|
158
|
+
Dir.chdir($progdir)
|
159
|
+
fileLangB=File.open(LangNameFile,"w") #deletes and opens a the file in fileName
|
160
|
+
fileLangB.write($tempdoc) #writes the contents of doc into the file
|
161
|
+
fileLangB.close
|
162
|
+
load LangNameFile # load the file
|
163
|
+
|
164
|
+
$tempdoc = " "
|
96
165
|
|
97
166
|
# build the actual program from the code parts
|
98
167
|
#get a list of the files and subdirectories on the starting directory only
|
@@ -151,7 +220,7 @@ $progdir = File::expand_path( File.dirname(__FILE__))
|
|
151
220
|
a.delete(x)
|
152
221
|
|
153
222
|
else #it is a directory...
|
154
|
-
|
223
|
+
loadguifile(x + "/**")
|
155
224
|
end
|
156
225
|
end
|
157
226
|
|
@@ -0,0 +1,9 @@
|
|
1
|
+
# rubyslippers - applet front end for RubyGems - separate panel version
|
2
|
+
code/ii6rubyslippers
|
3
|
+
configuration/ii3rubyslippers.cnf
|
4
|
+
gui/ui3rubyslippers
|
5
|
+
gui/ii6rubyslippers
|
6
|
+
gui/yi2rubyslippers
|
7
|
+
rwd_files/HowTo_RubySlippers.txt
|
8
|
+
rwd_files/remotegemlist.txt
|
9
|
+
rwd_files/GemDocuments.html
|
@@ -1,16 +1,8 @@
|
|
1
1
|
# rwdwin2 - rwd applet in second window - core for Tinker: Applet adding/removing and Diagnostic tab
|
2
2
|
configuration/ab1tinkerwin2.cnf
|
3
3
|
code/xb1rwdtinkerbackwindow
|
4
|
-
gui/
|
5
|
-
gui/
|
6
|
-
gui/
|
7
|
-
gui/
|
8
|
-
gui/es/ll5rwdtinkerwin2selectiontab
|
9
|
-
gui/es/xb1rwdtinkerbackwindow
|
10
|
-
gui/es/uu6rwdtinkerwin2documents
|
11
|
-
gui/es/yg6rwdwin2helpabout
|
12
|
-
gui/nl/ll5rwdtinkerwin2selectiontab
|
13
|
-
gui/nl/xb1rwdtinkerbackwindow
|
14
|
-
gui/nl/uu6rwdtinkerwin2documents
|
15
|
-
gui/nl/yg6rwdwin2helpabout
|
4
|
+
gui/ll5rwdtinkerwin2selectiontab
|
5
|
+
gui/xb1rwdtinkerbackwindow
|
6
|
+
gui/uu6rwdtinkerwin2documents
|
7
|
+
gui/yg6rwdwin2helpabout
|
16
8
|
rwd_files/HowTo_TinkerWin2.txt
|
@@ -0,0 +1,97 @@
|
|
1
|
+
= RwdShell Program
|
2
|
+
|
3
|
+
How to Use the Shell Program (rwdshell)
|
4
|
+
|
5
|
+
== What is is
|
6
|
+
|
7
|
+
rwdshell is a web brower interface to operating system shell commands
|
8
|
+
|
9
|
+
|
10
|
+
download from http://rubyforge.org/frs/?group_id=444
|
11
|
+
|
12
|
+
run shell commands
|
13
|
+
|
14
|
+
|
15
|
+
The GUI interface used is RubyWebDialogs
|
16
|
+
|
17
|
+
|
18
|
+
Start the program by typing<br>
|
19
|
+
ruby init.rb
|
20
|
+
|
21
|
+
Then point your web browser to:
|
22
|
+
http://localhost:7705/
|
23
|
+
|
24
|
+
== using shell commands
|
25
|
+
|
26
|
+
|
27
|
+
|
28
|
+
Enter the shell command you want to run for in the browser form and press execute.
|
29
|
+
After a second the browser should fill with the results of the command.
|
30
|
+
try ls, df, cat "filename", and other shell commands
|
31
|
+
You should be able to run one command after another
|
32
|
+
|
33
|
+
|
34
|
+
|
35
|
+
== Requirements:
|
36
|
+
RubyWebDialogs - I am using 0.0.11 2004-3-9<br>
|
37
|
+
This package you downloaded rwddemo should have a runtime version of
|
38
|
+
the needed rubywebdialog files<br>
|
39
|
+
|
40
|
+
Ruby I am using version 1.8.2
|
41
|
+
|
42
|
+
I have tested this under Linux-Debian kernel 2.6.9
|
43
|
+
|
44
|
+
== Operation:
|
45
|
+
The code files reside in the code directory and are combined before
|
46
|
+
the main Class is loaded
|
47
|
+
|
48
|
+
The rwd files in gui are combined before the gui is activated
|
49
|
+
|
50
|
+
== Installing:
|
51
|
+
|
52
|
+
unzip the file
|
53
|
+
then cd to the directory
|
54
|
+
unzip rwdashell-x.y.zip
|
55
|
+
|
56
|
+
|
57
|
+
== Trouble shooting:
|
58
|
+
|
59
|
+
If the program is not working, try looking at the ev subdirectory. That is where
|
60
|
+
the runtime of rubywebdialogs are.
|
61
|
+
|
62
|
+
for long term installation, I would suggest putting most files in a lib directory
|
63
|
+
like /usr/lib/rwdshell
|
64
|
+
then make a writable directory the local directory for command files to be written
|
65
|
+
like ~/rwdshell
|
66
|
+
|
67
|
+
|
68
|
+
Closing the browser doesn't terminate the application. You have to use the application's close-button And terminating the application doesn't terminate the application when running in network mode. You just log out.
|
69
|
+
|
70
|
+
Don't use the back-button of the browser! Strange and unpredictable things may and will happen!
|
71
|
+
|
72
|
+
RubyWebDialogs is a platform independent graphical user interface for Ruby applications. It generates HTML and serves it with an internal HTTP server, so you can use your favorite web browser as the front end for your Ruby application. All this means, that it can be used on almost every platform, like Ruby itself. http://www.erikveen.dds.nl/rubywebdialogs/
|
73
|
+
|
74
|
+
|
75
|
+
For more information see:
|
76
|
+
http://rwdapplications.rubyforge.org/wiki/wiki.pl
|
77
|
+
|
78
|
+
For more information about RubyWebDialogs see:<br>
|
79
|
+
http://www.erikveen.dds.nl/rubywebdialogs/index.html
|
80
|
+
|
81
|
+
Thanks, Steven Gibson
|
82
|
+
|
83
|
+
== Changelog
|
84
|
+
version 0.91
|
85
|
+
updated for rwdtinker version 1.3
|
86
|
+
|
87
|
+
Version 0.9
|
88
|
+
updated for rwdtinker version 1.23
|
89
|
+
|
90
|
+
Version 0.7
|
91
|
+
includes script playing and Ruby eval window.
|
92
|
+
|
93
|
+
Version 0.6
|
94
|
+
added script runner
|
95
|
+
list scripts
|
96
|
+
create scripts
|
97
|
+
Replaced Readme.txt with HowTo.html
|
data/rwd_files/HowTo_Tinker.txt
CHANGED
@@ -109,6 +109,24 @@ To exit, press the x inside the browser window.
|
|
109
109
|
You change the $lang constant in Tinker config file in the configuration directory
|
110
110
|
You can see one translation on the install applet tab, after you have installed and applet
|
111
111
|
|
112
|
+
== Using over a Network
|
113
|
+
|
114
|
+
To serve the application over your local LAN,change the last line in the
|
115
|
+
init.rb file to something like:
|
116
|
+
RwdTinker.file(RWDFile).serve(8080, "-r" ? ".rwduids" : nil)
|
117
|
+
Then you should be able to login at: http://yourhostname:8080
|
118
|
+
|
119
|
+
You have to authorize yourself. The .rwuids example is a string with
|
120
|
+
the name of the authorization file, relative to the home directory
|
121
|
+
of the user that started the service. This file has to be in the form of:
|
122
|
+
|
123
|
+
user1 = password
|
124
|
+
user2 = pass phrase
|
125
|
+
|
126
|
+
Thus the file .rwduids might contain:
|
127
|
+
|
128
|
+
erik = secret
|
129
|
+
|
112
130
|
== Requirements:
|
113
131
|
RubyWebDialogs - I am using 0.1.2
|
114
132
|
This package you downloaded should have a runtime version of
|
@@ -166,6 +184,7 @@ Thanks go to:
|
|
166
184
|
rwdtinker is copyright (c) 2004 Steven Gibson. It is free software, and may be redistributed
|
167
185
|
under the terms of the GPL licence:
|
168
186
|
|
187
|
+
== Contact
|
169
188
|
For more information see:
|
170
189
|
http://rwdapplications.rubyforge.org/wiki/wiki.pl
|
171
190
|
|
@@ -176,6 +195,19 @@ http://www.erikveen.dds.nl/rubywebdialogs/index.html
|
|
176
195
|
Thanks, Steven Gibson
|
177
196
|
|
178
197
|
== Changelog:
|
198
|
+
version 1.3
|
199
|
+
refactored gui files to do easier i10n
|
200
|
+
removed lang directories under gui
|
201
|
+
added lang files under lang dir
|
202
|
+
removed redundant code files left from moving applet handling to back window
|
203
|
+
removed zipped applets not yet refactored
|
204
|
+
|
205
|
+
version 1.24
|
206
|
+
added internet usage instructions to HowTo_Tinker.txt
|
207
|
+
removed HowTo_Tinker.html
|
208
|
+
added panels for Helpabout
|
209
|
+
changed photo logo tab to only have embedded picture, no button
|
210
|
+
|
179
211
|
version 1.23
|
180
212
|
moving diagnostic tab and applet handling tabs to second window
|
181
213
|
added selection panel tab to choose secondary windows.
|
data/rwd_files/remotegemlist.txt
CHANGED
@@ -1,13 +1,14 @@
|
|
1
1
|
|
2
2
|
*** REMOTE GEMS ***
|
3
|
+
Updating Gem source index for: http://gems.rubyforge.org
|
3
4
|
|
4
5
|
actionmailer (0.5.0, 0.4.0, 0.3.0)
|
5
6
|
Service layer for easy email delivery and testing.
|
6
7
|
|
7
|
-
actionpack (1.0.1, 1.0.0, 0.9.5, 0.9.0, 0.8.5, 0.8.0, 0.7.9, 0.7.8, 0.7.7, 0.7.6, 0.7.5)
|
8
|
+
actionpack (1.1.0, 1.0.1, 1.0.0, 0.9.5, 0.9.0, 0.8.5, 0.8.0, 0.7.9, 0.7.8, 0.7.7, 0.7.6, 0.7.5)
|
8
9
|
Web-flow and rendering framework putting the VC in MVC.
|
9
10
|
|
10
|
-
activerecord (1.2.0, 1.1.0, 1.0.0, 0.9.5, 0.9.4, 0.9.3, 0.9.2, 0.9.1, 0.9.0, 0.8.4, 0.8.3, 0.8.2, 0.8.1, 0.8.0, 0.7.6, 0.7.5)
|
11
|
+
activerecord (1.3.0, 1.2.0, 1.1.0, 1.0.0, 0.9.5, 0.9.4, 0.9.3, 0.9.2, 0.9.1, 0.9.0, 0.8.4, 0.8.3, 0.8.2, 0.8.1, 0.8.0, 0.7.6, 0.7.5)
|
11
12
|
Implements the ActiveRecord pattern for ORM.
|
12
13
|
|
13
14
|
algorithm-diff (0.1)
|
@@ -116,7 +117,7 @@ dbdbd (0.2.2)
|
|
116
117
|
dbdbd (David Black's Database Definer) -- for ad hoc flat-file
|
117
118
|
database formats
|
118
119
|
|
119
|
-
dbus (0.1.8, 0.1.7, 0.1.5)
|
120
|
+
dbus (0.1.9, 0.1.8, 0.1.7, 0.1.5)
|
120
121
|
Ruby bindings for D-BUS.
|
121
122
|
|
122
123
|
dev-utils (1.0.1, 1.0)
|
@@ -183,11 +184,11 @@ ikko (0.1)
|
|
183
184
|
Imlib2-Ruby (0.4.3)
|
184
185
|
Imlib2 bindings for Ruby.
|
185
186
|
|
186
|
-
|
187
|
+
IO-Reactor (0.0.6)
|
187
188
|
An implementation of the Reactor design pattern for multiplexed
|
188
189
|
asynchronous single-thread IO.
|
189
190
|
|
190
|
-
|
191
|
+
io-reactor (0.05)
|
191
192
|
An implementation of the Reactor design pattern for multiplexed
|
192
193
|
asynchronous single-thread IO.
|
193
194
|
|
@@ -254,6 +255,9 @@ madeleine (0.6.1, 0.6)
|
|
254
255
|
MB-Ruby (0.1.0)
|
255
256
|
MusicBrainz bindings for Ruby.
|
256
257
|
|
258
|
+
merge3 (0.8)
|
259
|
+
This gem demonstrates executable scripts
|
260
|
+
|
257
261
|
midilib (0.8.3, 0.8.2, 0.8.1, 0.8.0)
|
258
262
|
MIDI file and event manipulation library
|
259
263
|
|
@@ -302,14 +306,14 @@ net-sftp (0.5.0)
|
|
302
306
|
net-ssh (0.6.0, 0.5.0, 0.1.0, 0.0.5, 0.0.4, 0.0.3, 0.0.2, 0.0.1)
|
303
307
|
Net::SSH is a pure-Ruby implementation of the SSH2 client protocol.
|
304
308
|
|
305
|
-
nitro (0.6.0, 0.5.0, 0.4.1, 0.3.0, 0.2.0, 0.1.2)
|
309
|
+
nitro (0.7.0, 0.6.0, 0.5.0, 0.4.1, 0.3.0, 0.2.0, 0.1.2)
|
306
310
|
Web Engine
|
307
311
|
|
308
312
|
ObjectGraph (1.0.1, 1.0)
|
309
313
|
A simple script that generates a graph of the ruby class
|
310
314
|
hierarchies. Uses GraphViz (separate install).
|
311
315
|
|
312
|
-
og (0.6.0, 0.5.0)
|
316
|
+
og (0.7.0, 0.6.0, 0.5.0)
|
313
317
|
Og (ObjectGraph)
|
314
318
|
|
315
319
|
Ook (1.0.2)
|
@@ -326,7 +330,7 @@ ParseTree (1.3.0, 1.2.0, 1.1.1, 1.1.0)
|
|
326
330
|
permutation (0.1.2, 0.1.1)
|
327
331
|
Permutation library in pure Ruby
|
328
332
|
|
329
|
-
Pimki (1.2.092, 1.1.092, 1.0.092)
|
333
|
+
Pimki (1.3.092, 1.2.092, 1.1.092, 1.0.092)
|
330
334
|
A Personal Information Manager (PIM) based on the Wiki technology of
|
331
335
|
Instiki.
|
332
336
|
|
@@ -358,11 +362,11 @@ progressbar (0.0.3)
|
|
358
362
|
purplepkg (0.0.5, 0.0.4, 0.0.3)
|
359
363
|
A simple pre-packing tool with meta-package plugin support.
|
360
364
|
|
361
|
-
rails (0.9.1, 0.9.0, 0.8.5, 0.8.0, 0.7.0, 0.6.5, 0.6.0)
|
365
|
+
rails (0.9.2, 0.9.1, 0.9.0, 0.8.5, 0.8.0, 0.7.0, 0.6.5, 0.6.0)
|
362
366
|
Web-application framework with template engine, control-flow layer,
|
363
367
|
and ORM.
|
364
368
|
|
365
|
-
rake (0.4.12, 0.4.11, 0.4.10, 0.4.9, 0.4.8, 0.4.7, 0.4.6, 0.4.4, 0.4.3, 0.4.2, 0.4.0, 0.3.2)
|
369
|
+
rake (0.4.14, 0.4.13, 0.4.12, 0.4.11, 0.4.10, 0.4.9, 0.4.8, 0.4.7, 0.4.6, 0.4.4, 0.4.3, 0.4.2, 0.4.0, 0.3.2)
|
366
370
|
Ruby based make-like utility.
|
367
371
|
|
368
372
|
rdf (0.3)
|
@@ -388,6 +392,10 @@ rgl (0.2.2)
|
|
388
392
|
rlirc (0.3.1, 0.3, 0.2, 0.1)
|
389
393
|
a replacement for irexec and irxevent from lirc
|
390
394
|
|
395
|
+
rmagick (1.7.1)
|
396
|
+
RMagick is an interface between the Ruby programming language and
|
397
|
+
the ImageMagick and GraphicsMagick image processing libraries.
|
398
|
+
|
391
399
|
rmail (0.17)
|
392
400
|
This is RubyMail, a lightweight mail library containing various
|
393
401
|
utility classes and modules that allow Ruby scripts to parse,
|
@@ -428,7 +436,7 @@ Ruby-MemCache (0.0.1)
|
|
428
436
|
This is a client library for memcached, a high-performance
|
429
437
|
distributed memory cache.
|
430
438
|
|
431
|
-
rubygems-update (0.8.3, 0.8.1, 0.8.0)
|
439
|
+
rubygems-update (0.8.4, 0.8.3, 0.8.1, 0.8.0)
|
432
440
|
RubyGems Update GEM
|
433
441
|
|
434
442
|
RubyInline (3.2.0, 3.1.0)
|
@@ -441,6 +449,9 @@ RubyJDWP (0.0.1)
|
|
441
449
|
rubypants (0.2.0)
|
442
450
|
RubyPants is a Ruby port of the smart-quotes library SmartyPants.
|
443
451
|
|
452
|
+
rubyslippers (0.92)
|
453
|
+
RubySlippers is a GUI wrapper for RubyGems using RubyWebDialogs.
|
454
|
+
|
444
455
|
rubyzip (0.5.5)
|
445
456
|
rubyzip is a ruby module for reading and writing zip files
|
446
457
|
|
@@ -450,12 +461,30 @@ runt (0.2.0)
|
|
450
461
|
ruvi (0.4.12, 0.4.11, 0.4.10, 0.4.9, 0.4.8, 0.4.7)
|
451
462
|
Pure Ruby Vim-wannabe
|
452
463
|
|
453
|
-
ruwiki (0.9.2, 0.9.1, 0.9.0)
|
464
|
+
ruwiki (0.9.3, 0.9.2, 0.9.1, 0.9.0)
|
454
465
|
A simple, extensible, and fast Wiki-clone.
|
455
466
|
|
456
467
|
rvsh (0.4.5)
|
457
468
|
VIM clone
|
458
469
|
|
470
|
+
rwdaddresses (0.9, 0.8)
|
471
|
+
rwdaddresses is contact book application using rwdtinker and
|
472
|
+
RubyWebDialogs.
|
473
|
+
|
474
|
+
rwddemo (0.6)
|
475
|
+
rwddemo application shows rwdtinker and RubyWebDialogs features.
|
476
|
+
|
477
|
+
rwdschedule (0.5)
|
478
|
+
rwdschedule is an calendar application using rwdtinker and
|
479
|
+
RubyWebDialogs.
|
480
|
+
|
481
|
+
rwdshell (0.9)
|
482
|
+
rwdshell is a GUI front end for operating system commands with
|
483
|
+
rwdtinker and RubyWebDialogs features.
|
484
|
+
|
485
|
+
rwdtinker (1.24, 1.23, 1.3, 1.2)
|
486
|
+
rwdtinker application is a framework to program for RubyWebDialogs.
|
487
|
+
|
459
488
|
sds (0.3, 0.2)
|
460
489
|
SDS is a database access and O/R mapping library
|
461
490
|
|
@@ -479,6 +508,10 @@ sqlite-ruby (2.2.2, 2.2.1, 2.2.0, 2.1.0, 2.0.3, 2.0.2)
|
|
479
508
|
SQLite/Ruby is a module to allow Ruby scripts to interface with a
|
480
509
|
SQLite database.
|
481
510
|
|
511
|
+
sqlite3-ruby (0.6.0, 0.5.0)
|
512
|
+
SQLite3/Ruby is a module to allow Ruby scripts to interface with a
|
513
|
+
SQLite3 database.
|
514
|
+
|
482
515
|
sstruct (1.0.1)
|
483
516
|
SuperStruct class: Best of Struct, OpenStruct, Array, Hash, etc.
|
484
517
|
|
@@ -547,6 +580,9 @@ wee (0.1.0)
|
|
547
580
|
wxrubylayouts (0.0.3, 0.0.2, 0.0.1)
|
548
581
|
wxrubylayouts is a library of layout managers for wxRuby
|
549
582
|
|
583
|
+
x10-cm17a (0.9.0)
|
584
|
+
Ruby based X10 CM17A Firecracker Controller
|
585
|
+
|
550
586
|
xhtmldiff (1.0.0)
|
551
587
|
XHTMLDiff is a tool and library for taking valid XHTML documents as
|
552
588
|
input, and generating redlined valid XHTML text highlighting the
|
Binary file
|
Binary file
|
Binary file
|