source: trunk/guitools/wpi/samba36.wis@ 1036

Last change on this file since 1036 was 1035, checked in by Herwig Bauernfeind, 8 years ago

Fix Ticket #316 (Typo READLN6 vs READLN6L in WIS script)

File size: 32.8 KB
Line 
1<WARPIN VERSION="1.0.17">
2<!-- This is the Samba installation profile. -->
3<HEAD>
4
5<REXX NAME="NLVSetup">
6 call RxFuncAdd 'SysLoadFuncs', 'RexxUtil', 'SysLoadFuncs'
7 call SysLoadFuncs
8 if WirexxGetEnv("NLVMSG") = "" then do
9 ok = SysFileDelete(SysBootDrive()"\smbwpi.log")
10 call lineout SysBootDrive()"\smbwpi.log","Samba WPI installation log"
11 lang=strip(left(WirexxGetEnv("LANG"),2))
12 if lang = "" then do
13 call lineout SysBootDrive()"\smbwpi.log","Cannot determine language - falling back to english!"
14 lang="en"
15 end
16 call lineout SysBootDrive()"\smbwpi.log","LANG="lang
17 temp=strip(WirexxGetEnv("TEMP"),,'\')
18 if temp = "" then temp=strip(WirexxGetEnv("TMP"),,'\')
19 if temp = "" then temp=strip(WirexxGetEnv("TMPDIR"),,'\')
20 if temp = "" then temp=SysBootDrive()"\OS2\SYSTEM"
21 call lineout SysBootDrive()"\smbwpi.log","TEMP="temp
22 nlv.!msg = "smbwpi_"lang".msg"
23 rc = WirexxExtract(99,nlv.!msg,temp)
24 if stream(temp'\'nlv.!msg,'c','query exists') = "" then do
25 call lineout SysBootDrive()"\smbwpi.log","No language file for ["lang"] found - falling back to english!"
26 lang = "en"
27 nlv.!msg="smbwpi_"lang".msg"
28 rc=WirexxExtract(99,nlv.!msg,temp)
29 end
30 ok = WirexxPutEnv("NLVMSG",temp'\'nlv.!msg)
31 end
32 call lineout SysBootDrive()"\smbwpi.log","NLVSetup done"
33return ""
34</REXX>
35
36<REXX NAME="NLVGetMessage">
37 MsgNr=arg(1)
38 MsgStr=SysGetMessage(MsgNr,WirexxGetEnv("NLVMSG"))
39 MsgStr=strip(translate(MsgStr,' ','0D0A'x))
40 call lineout SysBootDrive()"\smbwpi.log","NLVGetMessage "MsgNr":"MsgStr
41 return MsgStr
42</REXX>
43
44<REXX NAME="SmbOS2Ver">
45return "1.3.0"
46</REXX>
47
48<REXX NAME="SambaVer">
49return "3.6.25"
50</REXX>
51
52<REXX NAME="Today">
53return "2016-03-07"
54</REXX>
55
56<REXX NAME="UnixRoot">
57 UnixRoot=WirexxGetEnv('UNIXROOT')
58 if UnixRoot = "" then do
59 UnixRoot = SysBootDrive()||'\MPTN'
60 rc=WirexxPutEnv("UNIXROOT",UnixRoot)
61 rc=WirexxShowMessage(SysGetMessage(46,WirexxGetEnv("NLVMSG")),SysGetMessage(47,WirexxGetEnv("NLVMSG"),UnixRoot),"x0040")
62 end
63 if strip(UnixRoot,'T','\') <> UnixRoot then do
64 UnixRoot = strip(UnixRoot,'T','\')
65 rc=WirexxPutEnv("UNIXROOT",UnixRoot)
66 rc=WirexxShowMessage(SysGetMessage(48,WirexxGetEnv("NLVMSG")),SysGetMessage(49,WirexxGetEnv("NLVMSG"),UnixRoot),"x0040")
67 end
68return UnixRoot
69</REXX>
70
71<REXX NAME="SilentSSCC">
72 SMBSilent = WirexxGetEnv('SMBSILENT')
73 call lineout SysBootDrive()"\smbwpi.log","SilentSSCC: SMBSilent="SMBSilent
74 if SMBSilent <> ""
75 then RetStr = ''
76 else RetStr = 'EXECUTE="$(1)\sscc.exe /install"'
77 call lineout SysBootDrive()"\smbwpi.log","SilentSSCC: RetStr="RetStr
78return RetStr
79</REXX>
80
81<REXX NAME="SilentInst">
82 SMBSilent = WirexxGetEnv('SMBSILENT')
83 call lineout SysBootDrive()"\smbwpi.log","SilentInst: SMBSilent="SMBSilent
84 if SMBSilent <> ""
85 then RetStr = '/install'
86 else RetStr = ''
87 call lineout SysBootDrive()"\smbwpi.log","SilentInst: RetStr="RetStr
88return RetStr
89</REXX>
90
91<REXX NAME="SilentSWAT">
92 SMBSilent = WirexxGetEnv('SMBSILENT')
93 call lineout SysBootDrive()"\smbwpi.log","SilentSWAT: SMBSilent="SMBSilent
94 if SMBSilent <> ""
95 then RetStr = 'CREATEOBJECT="WPProgram|Setup SWAT|<SAMBAFLDR>|TITLE=Setup SWAT;EXENAME=$(1)\swatsetup.exe;PARAMETERS=;STARTUPDIR=$(1);NOPRINT=YES;HIDEBUTTON=DEFAULT;MINWIN=DEFAULT;CCVIEW=DEFAULT;DEFAULTVIEW=DEFAULT;OBJECTID=<swatsetup>;"'
96 else RetStr = 'EXECUTE="$(1)\swatsetup.exe"'
97 call lineout SysBootDrive()"\smbwpi.log","SilentSWAT: RetStr="RetStr
98return RetStr
99</REXX>
100
101<REXX NAME="ChkTCPBEUI">
102 protocolini = SysBootDrive()'\IBMCOM\protocol.ini'
103 HaveTCPBEUI = 0
104
105 do until lines(protocolini) = 0
106 protline = strip(translate(linein(protocolini)))
107 if left(protline,11) = "TCPBEUI_NIF" then do
108 HaveTCPBeui = 1
109 leave
110 end
111 end
112 ok = stream(protocolini,'c','close')
113 if HaveTCPBEUI then MsgNr = 44; else MsgNr = 43
114 MsgStr=SysGetMessage(MsgNr,WirexxGetEnv("NLVMSG"))
115 MsgStr=strip(translate(MsgStr,' ','0D0A'x))
116return MsgStr
117</REXX>
118
119<REXX NAME="ChkDLL">
120 parse arg DLLName
121 temp = left(WirexxGetEnv("NLVMSG"),length(WirexxGetEnv("NLVMSG"))-14)
122 rc = WirexxExtract(99,'look4dll.exe',temp)
123 address cmd temp'\look4dll.exe 'DLLName' | rxqueue'
124 pull look4dllout
125 parse var look4dllout 'RC='RC' - 'Message
126 if RC = 0 then MsgStr = SysGetMessage(50,WirexxGetEnv("NLVMSG"), substr(Message,7))
127 else MsgStr = SysGetMessage(51,WirexxGetEnv("NLVMSG"))
128 MsgStr=strip(translate(MsgStr,' ','0D0A'x))
129return MsgStr
130</REXX>
131
132<REXX NAME="ChkSmbConf">
133 ETC = WirexxGetEnv("ETC")
134 smbconf = stream(ETC'\samba\smb.conf','c','query exists')
135 if smbconf = "" then MsgStr = SysGetMessage(52,WirexxGetEnv("NLVMSG"), substr(Message,7))
136 else MsgStr = SysGetMessage(53,WirexxGetEnv("NLVMSG"),smbconf)
137return msgStr
138</REXX>
139
140<PCK INDEX=1
141 PACKAGEID="netlabs.org\Samba Server\Core\1\3\0\1024"
142 TARGET="$(WARPIN_DEFAULTAPPSPATH)\Samba"
143 BASE
144 TITLE="=("NLVSetup")=("NLVGetMessage 1") =("SambaVer") Core files"
145 SELECT
146 LONGFILENAMES
147 KILLPROCESS="SMBD.EXE"
148 KILLPROCESS="NMBD.EXE"
149 KILLPROCESS="WINBINDD.EXE"
150 CREATEOBJECT="WPFolder|=("NLVGetMessage 1") =("SambaVer") =("NLVGetMessage 10") =("SmbOS2Ver")|<WP_DESKTOP>|TITLE==("NLVGetMessage 1") =("SambaVer") =("NLVGetMessage 10") =("SmbOS2Ver");ICONFILE=$(1)\smbfldr1.ico;ICONNFILE=1,$(1)\smbfldr2.ico;ICONVIEW=FLOWED,VISIBLE,NORMAL;TREEVIEW=LINES,VISIBLE,MINI;DEFAULTSORT=-2;ALWAYSSORT=NO;ICONVIEWPOS=23,27,61,25;HIDEBUTTON=DEFAULT;MINWIN=DEFAULT;CCVIEW=DEFAULT;DEFAULTVIEW=DEFAULT;OBJECTID=<SAMBAFLDR>"
151 CREATEOBJECT="WPUrl|=("NLVGetMessage 24")|<SAMBAFLDR>|TITLE==("NLVGetMessage 24");URL=http://svn.netlabs.org/samba;HIDEBUTTON=DEFAULT;MINWIN=DEFAULT;CCVIEW=DEFAULT;DEFAULTVIEW=DEFAULT;OBJECTID=<sambasvn>;"
152 CREATEOBJECT="WPUrl|=("NLVGetMessage 25")|<SAMBAFLDR>|TITLE==("NLVGetMessage 25");URL=http://www.samba.org/samba/docs/man/Samba-HOWTO-Collection;HIDEBUTTON=DEFAULT;MINWIN=DEFAULT;CCVIEW=DEFAULT;DEFAULTVIEW=DEFAULT;OBJECTID=<sambahowto>;"
153 CREATEOBJECT="WPProgram|=("NLVGetMessage 26")|<SAMBAFLDR>|TITLE==("NLVGetMessage 26");EXENAME=$(1)\FINDSMB.CMD;PARAMETERS=-X;STARTUPDIR=$(1);ICONFILE=$(1)\findsmb.ico;PROGTYPE=WINDOWABLEVIO;NOAUTOCLOSE=YES;NOPRINT=YES;HIDEBUTTON=DEFAULT;MINWIN=DEFAULT;CCVIEW=DEFAULT;DEFAULTVIEW=DEFAULT;OBJECTID=<findsmb>;"
154 CREATEOBJECT="WPProgram|=("NLVGetMessage 27") smb.conf|<SAMBAFLDR>|TITLE==("NLVGetMessage 27") smb.conf;EXENAME=E.EXE;PARAMETERS=$(ETC)\samba\smb.conf;NOPRINT=YES;HIDEBUTTON=DEFAULT;MINWIN=DEFAULT;CCVIEW=DEFAULT;DEFAULTVIEW=DEFAULT;OBJECTID=<edit_smbconf>;"
155 CREATEOBJECT="WPProgram|=("NLVGetMessage 28")|<SAMBAFLDR>|TITLE==("NLVGetMessage 28");EXENAME=E.EXE;PARAMETERS=$(1)\readme.os2;NOPRINT=YES;HIDEBUTTON=DEFAULT;MINWIN=DEFAULT;CCVIEW=DEFAULT;DEFAULTVIEW=DEFAULT;OBJECTID=<edit_readmeos2>;"
156 CREATEOBJECT="WPProgram|=("NLVGetMessage 29")|<SAMBAFLDR>|TITLE==("NLVGetMessage 29");EXENAME=$(1)\SMB.CMD;STARTUPDIR=$(1);ICONFILE=$(1)\smb_stop.ico;PROGTYPE=WINDOWABLEVIO;PARAMETERS=stop;NOPRINT=YES;HIDEBUTTON=DEFAULT;MINWIN=DEFAULT;CCVIEW=DEFAULT;DEFAULTVIEW=DEFAULT;OBJECTID=<smb_stop>;"
157 CREATEOBJECT="WPProgram|=("NLVGetMessage 30")|<SAMBAFLDR>|TITLE==("NLVGetMessage 30");EXENAME=$(1)\SMB.CMD;STARTUPDIR=$(1);ICONFILE=$(1)\smb_start.ico;PROGTYPE=WINDOWABLEVIO;PARAMETERS=start;NOPRINT=YES;HIDEBUTTON=DEFAULT;MINWIN=DEFAULT;CCVIEW=DEFAULT;DEFAULTVIEW=DEFAULT;OBJECTID=<smb_start>;"
158 CREATEOBJECT="WPProgram|=("NLVGetMessage 31")|<SAMBAFLDR>|TITLE==("NLVGetMessage 31");EXENAME=$(1)\SMB.CMD;STARTUPDIR=$(1);ICONFILE=$(1)\smb_rst.ico;PROGTYPE=WINDOWABLEVIO;PARAMETERS=restart;NOAUTOCLOSE=YES;NOPRINT=YES;HIDEBUTTON=DEFAULT;MINWIN=DEFAULT;CCVIEW=DEFAULT;DEFAULTVIEW=DEFAULT;OBJECTID=<smb_restart>;"
159 CREATEOBJECT="WPProgram|=("NLVGetMessage 32")|<SAMBAFLDR>|TITLE==("NLVGetMessage 32");EXENAME=$(1)\SMB.CMD;STARTUPDIR=$(1);ICONFILE=$(1)\smb_rel.ico;PROGTYPE=WINDOWABLEVIO;PARAMETERS=reload;NOAUTOCLOSE=YES;NOPRINT=YES;HIDEBUTTON=DEFAULT;MINWIN=DEFAULT;CCVIEW=DEFAULT;DEFAULTVIEW=DEFAULT;OBJECTID=<smb_reload>;"
160 CONFIGSYS="SET UNIXROOT==("UnixRoot")| UNIQUE"
161 WRITEPROFILE="USER\Samba\ServerPath|$(1)"
162 >=("NLVGetMessage 15")
163</PCK>
164
165<PCK INDEX=2
166 PACKAGEID="netlabs.org\Samba Server\Scripts\1\3\0\1013"
167 TARGET="$(1)"
168 LONGFILENAMES
169 TITLE="=("NLVGetMessage 16")"
170 SELECT
171 >=("NLVGetMessage 17")
172</PCK>
173
174<PCK INDEX=3
175 PACKAGEID="netlabs.org\Samba Server\SmbMon\2\5\1\991"
176 TARGET="$(1)"
177 LONGFILENAMES
178 TITLE="=("NLVGetMessage 18") (SmbMon)"
179 SELECT
180 CREATEOBJECT="WPProgram|=("NLVGetMessage 18")|<SAMBAFLDR>|TITLE==("NLVGetMessage 18");EXENAME=$(1)\SMBMON.EXE;STARTUPDIR=$(1);NOAUTOCLOSE=YES;NOPRINT=YES;HIDEBUTTON=DEFAULT;MINWIN=DEFAULT;CCVIEW=DEFAULT;DEFAULTVIEW=DEFAULT;OBJECTID=<smbmon>;"
181 >=("NLVGetMessage 19")
182</PCK>
183
184<PCK INDEX=4
185 PACKAGEID="netlabs.org\Samba Server\SmbUsers\2\0\1\990"
186 TARGET="$(1)"
187 LONGFILENAMES
188 TITLE="=("NLVGetMessage 20") (SmbUsers)"
189 SELECT
190 CREATEOBJECT="WPProgram|=("NLVGetMessage 20")|<SAMBAFLDR>|TITLE==("NLVGetMessage 20");EXENAME=$(1)\SMBUSERS.EXE;STARTUPDIR=$(1);PARAMETERS=;NOPRINT=YES;HIDEBUTTON=DEFAULT;MINWIN=DEFAULT;CCVIEW=DEFAULT;DEFAULTVIEW=DEFAULT;OBJECTID=<smbusers>;"
191 >=("NLVGetMessage 21")
192</PCK>
193
194<PCK INDEX=5
195 PACKAGEID="netlabs.org\Samba Server\SWAT\1\3\0\979"
196 TARGET="$(1)"
197 LONGFILENAMES
198 TITLE="Samba Web Administration Tool (SWAT) - untested"
199 DESELECT
200 =("SilentSWAT")
201 CREATEOBJECT="WPUrl|Samba Web Administration Tool (SWAT)|<SAMBAFLDR>|TITLE=Samba Web Administration Tool (SWAT);URL=http://localhost:901;HIDEBUTTON=DEFAULT;MINWIN=DEFAULT;CCVIEW=DEFAULT;DEFAULTVIEW=DEFAULT;OBJECTID=<sambaswat>;"
202 CREATEOBJECT="WPProgram|=("NLVGetMessage 34")|<SAMBAFLDR>|TITLE==("NLVGetMessage 34");EXENAME=$(1)\swatstart.cmd;PARAMETERS=;STARTUPDIR=$(1);NOPRINT=YES;HIDEBUTTON=DEFAULT;MINWIN=DEFAULT;CCVIEW=DEFAULT;DEFAULTVIEW=DEFAULT;OBJECTID=<swatstart>;"
203 CREATEOBJECT="WPProgram|=("NLVGetMessage 27") swat.conf|<SAMBAFLDR>|TITLE==("NLVGetMessage 27") swat.conf;EXENAME=E.EXE;PARAMETERS=$(ETC)\samba\swat.conf;NOPRINT=YES;HIDEBUTTON=DEFAULT;MINWIN=DEFAULT;CCVIEW=DEFAULT;DEFAULTVIEW=DEFAULT;OBJECTID=<edit_swatconf>;"
204 >=("NLVGetMessage 14") Samba Web Administration Tool (SWAT)
205</PCK>
206
207<PCK INDEX=6
208 PACKAGEID="netlabs.org\Samba Server\Install\1\1\4\1022"
209 TARGET="$(1)"
210 LONGFILENAMES
211 TITLE="=("NLVGetMessage 22") (SSCC)"
212 SELECT
213 =("SilentSSCC")
214 DEEXECUTE="$(1)\removecfg.exe $(1)"
215 CREATEOBJECT="WPProgram|=("NLVGetMessage 22")|<SAMBAFLDR>|TITLE==("NLVGetMessage 22");EXENAME=$(1)\SSCC.EXE;PARAMETERS==("SilentInst");STARTUPDIR=$(1);NOPRINT=YES;HIDEBUTTON=DEFAULT;MINWIN=DEFAULT;CCVIEW=DEFAULT;DEFAULTVIEW=DEFAULT;OBJECTID=<sscc>;"
216 CREATEOBJECT="FAIL WPProgram|=("NLVGetMessage 33")|<XWP_CONFIG>|TITLE==("NLVGetMessage 33");EXENAME=$(1)\SHAREWIZ.EXE;PARAMETERS=;STARTUPDIR=$(1);NOPRINT=YES;HIDEBUTTON=DEFAULT;MINWIN=DEFAULT;CCVIEW=DEFAULT;DEFAULTVIEW=DEFAULT;OBJECTID=<sharewiz>;"
217 >=("NLVGetMessage 23")
218</PCK>
219
220</HEAD>
221
222<!-- Introduction page -->
223<BODY>
224<PAGE INDEX=1 TYPE=README>
225<NEXTBUTTON TARGET=2>=("NLVGetMessage 2")</NEXTBUTTON>
226<TEXT>
227=("NLVGetMessage 9") =("NLVGetMessage 1") =("NLVGetMessage 10") =("NLVGetMessage 11") =("SmbOS2Ver")!
228</TEXT>
229<README FORMAT=HTML>
230=("NLVGetMessage 37")
231<P>=("NLVGetMessage 38")
232<P>=("NLVGetMessage 39")
233<P>=("NLVGetMessage 40") =("SambaVer") =("NLVGetMessage 41")
234<P><B>=("NLVGetMessage 54")</B>
235<P><B>Run yum install libc libcx libgcc1 cups-libs popt-libs gettext-libs zlib readline in order to make sure you got all DLLs.</B>
236<BR>
237<BR><B>=("NLVGetMessage 42")</B><BR>
238<BR>- =("NLVGetMessage 45") <B>=("UnixRoot")</B>
239<BR>- =("ChkTCPBEUI")
240<BR>- kLibc 0.6.6 =("ChkDLL LIBC066.DLL")
241<BR>- libcx0 0.4 =("ChkDLL LIBCX0.DLL")
242<BR>- CUPS =("ChkDLL CUPS.DLL")
243<BR>- GCC 4.9.2 =("ChkDLL GCC1.DLL")
244<BR>- GCC 4.4.2 =("ChkDLL GCC442.DLL")
245<BR>- INTL8 =("ChkDLL INTL8.DLL")
246<BR>- POPT =("ChkDLL POPT.DLL")
247<BR>- READLN6 =("ChkDLL READLN6.DLL")
248<BR>- Z1 =("ChkDLL Z1.DLL")
249<BR>- VX-REXX =("ChkDLL VROBJ.DLL")
250<BR>- VX-REXX Splitbar =("ChkDLL VRSPLITB.DLL")
251<BR>- Alex Taylor's VX-REXX Extension =("ChkDLL VROBJEX.DLL")
252<BR>- Chris Wohlgemuth's =("ChkDLL DRCTL017.DLL")
253<BR>- Paul Ratcliffe's =("ChkDLL PR1UTIL.DLL")
254<BR>- Steven Elliot's =("ChkDLL REXXINI.DLL")
255<BR>- Dave Boll's =("ChkDLL RXU.DLL")
256<BR>- Dmitry A.Steklenev's =("ChkDLL RXCRYPT.DLL")
257
258<BR>- =("ChkSmbConf")
259
260<P><B>=("NLVGetMessage 60")</B><BR>
261<BR>- =("NLVGetMessage 61")<BR>
262<BR>- =("NLVGetMessage 62")<BR>
263<BR>- =("NLVGetMessage 63")<BR>
264</README>
265</PAGE>
266
267<PAGE INDEX=2 TYPE=README>
268<NEXTBUTTON TARGET=3>=("NLVGetMessage 2")</NEXTBUTTON>
269<TEXT>
270=("NLVGetMessage 70")
271</TEXT>
272<README FORMAT=HTML>
273=("NLVGetMessage 71")
274<BR><U><a href="http://svn.netlabs.org/samba">http://svn.netlabs.org/samba</a></U><BR>
275<BR>=("NLVGetMessage 72")
276<BR><U><a href="http://svn.netlabs.org/samba/wiki/Cookbook">http://svn.netlabs.org/samba/wiki/Cookbook</a></U><BR>
277<BR>=("NLVGetMessage 73")
278<BR><U><a href="http://svn.netlabs.org/samba/wiki/FAQ">http://svn.netlabs.org/samba/wiki/FAQ</a></U><BR>
279<BR>=("NLVGetMessage 74")<BR>
280<BR>=("NLVGetMessage 75")
281<BR><U><a href="http://svn.netlabs.org/samba/report">http://svn.netlabs.org/samba/report</a></U><BR>
282<BR>=("NLVGetMessage 76")
283<BR>svn co http://svn.netlabs.org/repos/samba/trunk/samba
284
285<P><B>=("NLVGetMessage 77")</B>
286<BR>* bww bitwise works GmbH.
287<BR> - Silvan Scherrer (=("NLVGetMessage 81"))
288<BR> - Dmitry Kuminov (libcx, tdb code)
289<BR> - Herwig Bauernfeind (=("NLVGetMessage 80"))
290<BR>* Paul Smedley (=("NLVGetMessage 78") 3.0.24)
291<BR>* Yuri Dario (=("NLVGetMessage 79"))
292<BR>* Nikolay Kolosov (=("NLVGetMessage 78") 3.0.9)
293<BR>* =("NLVGetMessage 84")
294<BR>* =("NLVGetMessage 85")
295<P>=("NLVGetMessage 86")
296<P>=("NLVGetMessage 87")
297<BR>=("Today")
298</README>
299</PAGE>
300<!-- License page -->
301<PAGE INDEX=3 TYPE=README>
302<NEXTBUTTON TARGET=4>=("NLVGetMessage 4")</NEXTBUTTON>
303<TEXT>
304=("NLVGetMessage 3")
305</TEXT>
306<README FORMAT=HTML>
307<B>GNU GENERAL PUBLIC LICENSE
308<BR>Version 2, June 1991</B>
309
310<P>Copyright (C) 1989, 1991 Free Software Foundation, Inc.
311<BR>675 Mass Ave, Cambridge, MA 02139, USA
312<P>Everyone is permitted to copy and distribute verbatim copies
313 of this license document, but changing it is not allowed.
314
315<P><B>Preamble</B>
316
317<P>The licenses for most software are designed to take away your
318freedom to share and change it. By contrast, the GNU General Public
319License is intended to guarantee your freedom to share and change free
320software--to make sure the software is free for all its users. This
321General Public License applies to most of the Free Software
322Foundation's software and to any other program whose authors commit to
323using it. (Some other Free Software Foundation software is covered by
324the GNU Library General Public License instead.) You can apply it to
325your programs, too.
326
327<P>When we speak of free software, we are referring to freedom, not
328price. Our General Public Licenses are designed to make sure that you
329have the freedom to distribute copies of free software (and charge for
330this service if you wish), that you receive source code or can get it
331if you want it, that you can change the software or use pieces of it
332in new free programs; and that you know you can do these things.
333
334<P>To protect your rights, we need to make restrictions that forbid
335anyone to deny you these rights or to ask you to surrender the rights.
336These restrictions translate to certain responsibilities for you if you
337distribute copies of the software, or if you modify it.
338
339<P>For example, if you distribute copies of such a program, whether
340gratis or for a fee, you must give the recipients all the rights that
341you have. You must make sure that they, too, receive or can get the
342source code. And you must show them these terms so they know their
343rights.
344
345<P>We protect your rights with two steps: (1) copyright the software, and
346(2) offer you this license which gives you legal permission to copy,
347distribute and/or modify the software.
348
349<P>Also, for each author's protection and ours, we want to make certain
350that everyone understands that there is no warranty for this free
351software. If the software is modified by someone else and passed on, we
352want its recipients to know that what they have is not the original, so
353that any problems introduced by others will not reflect on the original
354authors' reputations.
355
356<P>Finally, any free program is threatened constantly by software
357patents. We wish to avoid the danger that redistributors of a free
358program will individually obtain patent licenses, in effect making the
359program proprietary. To prevent this, we have made it clear that any
360patent must be licensed for everyone's free use or not licensed at all.
361
362<P>The precise terms and conditions for copying, distribution and
363modification follow.
364
365<P><B>GNU GENERAL PUBLIC LICENSE
366<BR>TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION</B>
367
368<P><B>0.</B> This License applies to any program or other work which contains
369a notice placed by the copyright holder saying it may be distributed
370under the terms of this General Public License. The "Program", below,
371refers to any such program or work, and a "work based on the Program"
372means either the Program or any derivative work under copyright law:
373that is to say, a work containing the Program or a portion of it,
374either verbatim or with modifications and/or translated into another
375language. (Hereinafter, translation is included without limitation in
376the term "modification".) Each licensee is addressed as "you".
377
378<P>Activities other than copying, distribution and modification are not
379covered by this License; they are outside its scope. The act of
380running the Program is not restricted, and the output from the Program
381is covered only if its contents constitute a work based on the
382Program (independent of having been made by running the Program).
383Whether that is true depends on what the Program does.
384
385<P><B>1.</B> You may copy and distribute verbatim copies of the Program's
386source code as you receive it, in any medium, provided that you
387conspicuously and appropriately publish on each copy an appropriate
388copyright notice and disclaimer of warranty; keep intact all the
389notices that refer to this License and to the absence of any warranty;
390and give any other recipients of the Program a copy of this License
391along with the Program.
392
393<P>You may charge a fee for the physical act of transferring a copy, and
394you may at your option offer warranty protection in exchange for a fee.
395
396<P><B>2.</B> You may modify your copy or copies of the Program or any portion
397of it, thus forming a work based on the Program, and copy and
398distribute such modifications or work under the terms of Section 1
399above, provided that you also meet all of these conditions:
400
401<P><B>a)</B> You must cause the modified files to carry prominent notices
402stating that you changed the files and the date of any change.
403
404<P><B>b)</B> You must cause any work that you distribute or publish, that in
405whole or in part contains or is derived from the Program or any
406part thereof, to be licensed as a whole at no charge to all third
407parties under the terms of this License.
408
409<P><B>c)</B> If the modified program normally reads commands interactively
410when run, you must cause it, when started running for such
411interactive use in the most ordinary way, to print or display an
412announcement including an appropriate copyright notice and a
413notice that there is no warranty (or else, saying that you provide
414a warranty) and that users may redistribute the program under
415these conditions, and telling the user how to view a copy of this
416License. (Exception: if the Program itself is interactive but
417does not normally print such an announcement, your work based on
418the Program is not required to print an announcement.)
419
420<P>These requirements apply to the modified work as a whole. If
421identifiable sections of that work are not derived from the Program,
422and can be reasonably considered independent and separate works in
423themselves, then this License, and its terms, do not apply to those
424sections when you distribute them as separate works. But when you
425distribute the same sections as part of a whole which is a work based
426on the Program, the distribution of the whole must be on the terms of
427this License, whose permissions for other licensees extend to the
428entire whole, and thus to each and every part regardless of who wrote it.
429
430<P>Thus, it is not the intent of this section to claim rights or contest
431your rights to work written entirely by you; rather, the intent is to
432exercise the right to control the distribution of derivative or
433collective works based on the Program.
434
435<P>In addition, mere aggregation of another work not based on the Program
436with the Program (or with a work based on the Program) on a volume of
437a storage or distribution medium does not bring the other work under
438the scope of this License.
439
440<P><B>3.</B> You may copy and distribute the Program (or a work based on it,
441under Section 2) in object code or executable form under the terms of
442Sections 1 and 2 above provided that you also do one of the following:
443
444<P><B>a)</B> Accompany it with the complete corresponding machine-readable
445source code, which must be distributed under the terms of Sections
4461 and 2 above on a medium customarily used for software interchange; or,
447
448<P><B>b)</B> Accompany it with a written offer, valid for at least three
449years, to give any third party, for a charge no more than your
450cost of physically performing source distribution, a complete
451machine-readable copy of the corresponding source code, to be
452distributed under the terms of Sections 1 and 2 above on a medium
453customarily used for software interchange; or,
454
455<P><B>c)</B> Accompany it with the information you received as to the offer
456to distribute corresponding source code. (This alternative is
457allowed only for noncommercial distribution and only if you
458received the program in object code or executable form with such
459an offer, in accord with Subsection b above.)
460
461<P>The source code for a work means the preferred form of the work for
462making modifications to it. For an executable work, complete source
463code means all the source code for all modules it contains, plus any
464associated interface definition files, plus the scripts used to
465control compilation and installation of the executable. However, as a
466special exception, the source code distributed need not include
467anything that is normally distributed (in either source or binary
468form) with the major components (compiler, kernel, and so on) of the
469operating system on which the executable runs, unless that component
470itself accompanies the executable.
471
472<P>If distribution of executable or object code is made by offering
473access to copy from a designated place, then offering equivalent
474access to copy the source code from the same place counts as
475distribution of the source code, even though third parties are not
476compelled to copy the source along with the object code.
477
478<P><B>4.</B> You may not copy, modify, sublicense, or distribute the Program
479except as expressly provided under this License. Any attempt
480otherwise to copy, modify, sublicense or distribute the Program is
481void, and will automatically terminate your rights under this License.
482However, parties who have received copies, or rights, from you under
483this License will not have their licenses terminated so long as such
484parties remain in full compliance.
485
486<P><B>5.</B> You are not required to accept this License, since you have not
487signed it. However, nothing else grants you permission to modify or
488distribute the Program or its derivative works. These actions are
489prohibited by law if you do not accept this License. Therefore, by
490modifying or distributing the Program (or any work based on the
491Program), you indicate your acceptance of this License to do so, and
492all its terms and conditions for copying, distributing or modifying
493the Program or works based on it.
494
495<P><B>6.</B> Each time you redistribute the Program (or any work based on the
496Program), the recipient automatically receives a license from the
497original licensor to copy, distribute or modify the Program subject to
498these terms and conditions. You may not impose any further
499restrictions on the recipients' exercise of the rights granted herein.
500You are not responsible for enforcing compliance by third parties to
501this License.
502
503<P><B>7.</B> If, as a consequence of a court judgment or allegation of patent
504infringement or for any other reason (not limited to patent issues),
505conditions are imposed on you (whether by court order, agreement or
506otherwise) that contradict the conditions of this License, they do not
507excuse you from the conditions of this License. If you cannot
508distribute so as to satisfy simultaneously your obligations under this
509License and any other pertinent obligations, then as a consequence you
510may not distribute the Program at all. For example, if a patent
511license would not permit royalty-free redistribution of the Program by
512all those who receive copies directly or indirectly through you, then
513the only way you could satisfy both it and this License would be to
514refrain entirely from distribution of the Program.
515
516<P>If any portion of this section is held invalid or unenforceable under
517any particular circumstance, the balance of the section is intended to
518apply and the section as a whole is intended to apply in other
519circumstances.
520
521<P>It is not the purpose of this section to induce you to infringe any
522patents or other property right claims or to contest validity of any
523such claims; this section has the sole purpose of protecting the
524integrity of the free software distribution system, which is
525implemented by public license practices. Many people have made
526generous contributions to the wide range of software distributed
527through that system in reliance on consistent application of that
528system; it is up to the author/donor to decide if he or she is willing
529to distribute software through any other system and a licensee cannot
530impose that choice.
531
532<P>This section is intended to make thoroughly clear what is believed to
533be a consequence of the rest of this License.
534
535<P><B>8.</B> If the distribution and/or use of the Program is restricted in
536certain countries either by patents or by copyrighted interfaces, the
537original copyright holder who places the Program under this License
538may add an explicit geographical distribution limitation excluding
539those countries, so that distribution is permitted only in or among
540countries not thus excluded. In such case, this License incorporates
541the limitation as if written in the body of this License.
542
543<P><B>9.</B> The Free Software Foundation may publish revised and/or new versions
544of the General Public License from time to time. Such new versions will
545be similar in spirit to the present version, but may differ in detail to
546address new problems or concerns.
547
548<P>Each version is given a distinguishing version number. If the Program
549specifies a version number of this License which applies to it and "any
550later version", you have the option of following the terms and conditions
551either of that version or of any later version published by the Free
552Software Foundation. If the Program does not specify a version number of
553this License, you may choose any version ever published by the Free Software
554Foundation.
555
556<P><B>10.</B> If you wish to incorporate parts of the Program into other free
557programs whose distribution conditions are different, write to the author
558to ask for permission. For software which is copyrighted by the Free
559Software Foundation, write to the Free Software Foundation; we sometimes
560make exceptions for this. Our decision will be guided by the two goals
561of preserving the free status of all derivatives of our free software and
562of promoting the sharing and reuse of software generally.
563
564<P><B>NO WARRANTY</B>
565<P><B>11.</B> BECAUSE THE PROGRAM IS LICENSED FREE OF CHARGE, THERE IS NO WARRANTY
566FOR THE PROGRAM, TO THE EXTENT PERMITTED BY APPLICABLE LAW. EXCEPT WHEN
567OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR OTHER PARTIES
568PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED
569OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
570MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. THE ENTIRE RISK AS
571TO THE QUALITY AND PERFORMANCE OF THE PROGRAM IS WITH YOU. SHOULD THE
572PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF ALL NECESSARY SERVICING,
573REPAIR OR CORRECTION.
574
575<P><B>12.</B> IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING
576WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY AND/OR
577REDISTRIBUTE THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES,
578INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING
579OUT OF THE USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED
580TO LOSS OF DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY
581YOU OR THIRD PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER
582PROGRAMS), EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE
583POSSIBILITY OF SUCH DAMAGES.
584
585<P><B>END OF TERMS AND CONDITIONS</B>
586
587<P><B>Appendix: How to Apply These Terms to Your New Programs</B>
588
589<P>If you develop a new program, and you want it to be of the greatest
590possible use to the public, the best way to achieve this is to make it
591free software which everyone can redistribute and change under these terms.
592
593<P>To do so, attach the following notices to the program. It is safest
594to attach them to the start of each source file to most effectively
595convey the exclusion of warranty; and each file should have at least
596the "copyright" line and a pointer to where the full notice is found.
597
598<PRE>
599&lt;one line to give the program's name and a brief idea of what it does.&gt;
600Copyright (C) 19yy &lt;name of author&gt;
601
602This program is free software; you can redistribute it and/or modify
603it under the terms of the GNU General Public License as published by
604the Free Software Foundation; either version 2 of the License, or
605at your option) any later version.
606
607This program is distributed in the hope that it will be useful,
608but WITHOUT ANY WARRANTY; without even the implied warranty of
609MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
610GNU General Public License for more details.
611
612You should have received a copy of the GNU General Public License
613along with this program; if not, write to the Free Software
614Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.</PRE>
615
616<P>Also add information on how to contact you by electronic and paper mail.
617
618<P>If the program is interactive, make it output a short notice like this
619when it starts in an interactive mode:
620
621<P><PRE>Gnomovision version 69, Copyright (C) 19yy name of author
622Gnomovision comes with ABSOLUTELY NO WARRANTY; for details type `show w'.
623This is free software, and you are welcome to redistribute it
624under certain conditions; type `show c' for details.</PRE>
625
626<P>The hypothetical commands `show w' and `show c' should show the appropriate
627parts of the General Public License. Of course, the commands you use may
628be called something other than `show w' and `show c'; they could even be
629mouse-clicks or menu items--whatever suits your program.
630
631<P>You should also get your employer (if you work as a programmer) or your
632school, if any, to sign a "copyright disclaimer" for the program, if
633necessary. Here is a sample; alter the names:
634
635<P><PRE>Yoyodyne, Inc., hereby disclaims all copyright interest in the program
636`Gnomovision' (which makes passes at compilers) written by James Hacker.
637
638&lt;signature of Ty Coon&gt;, 1 April 1989
639Ty Coon, President of Vice</PRE>
640
641<P>This General Public License does not permit incorporating your program into
642proprietary programs. If your program is a subroutine library, you may
643consider it more useful to permit linking proprietary applications with the
644library. If this is what you want to do, use the GNU Library General
645Public License instead of this License.
646</README>
647</PAGE>
648
649<!-- Packagese page -->
650<PAGE INDEX=4 TYPE=CONTAINER>
651<NEXTBUTTON TARGET=5>=("NLVGetMessage 2")</NEXTBUTTON>
652<TEXT>
653=("NLVGetMessage 5")
654</TEXT>
655</PAGE>
656<!-- page -->
657<PAGE INDEX=5 TYPE=CONFIGURE>
658<NEXTBUTTON TARGET=6>=("NLVGetMessage 2")</NEXTBUTTON>
659<TEXT>
660=("NLVGetMessage 6")
661</TEXT>
662</PAGE>
663<!-- page -->
664<PAGE INDEX=6 TYPE=TEXT>
665<NEXTBUTTON TARGET=0>=("NLVGetMessage 8")</NEXTBUTTON>
666<TEXT>
667=("NLVGetMessage 7")
668
669=("NLVGetMessage 45") =("UnixRoot")
670</TEXT>
671</PAGE>
672</BODY>
673</WARPIN>
Note: See TracBrowser for help on using the repository browser.