📄 setup.html
字号:
<html>
<!--Page generated by REBOL-->
<head>
<title>REBOL/Core Setup and Operation</title>
<style type="text/css">
html, body, p, td, li {font-family: arial, sans-serif, helvetica; font-size: 10pt;}
h1 {font-size: 16pt; Font-Weight: bold;}
h2 {font-size: 14pt; color: #2030a0; Font-Weight: bold; width: 100%;
border-bottom: 1px solid #c09060;}
h3 {font-size: 12pt; color: #2030a0; Font-Weight: bold;}
h4 {font-size: 10pt; color: #2030a0; Font-Weight: bold;}
h5 {font-size: 10pt; Font-Weight: bold;}
tt {font-family: "courier new", monospace, courier; color: darkgreen;}
pre {font: bold 10pt "courier new", monospace, console;
background-color: #e0e0e0; padding: 16px; border: solid #a0a0a0 1px;}
.toc1 {margin-left: 1cm; font-size: 12pt; font-weight: bold;}
.toc2 {margin-left: 2cm; font-size: 10pt; Font-Weight: bold; text-decoration: none;}
.toc3 {margin-left: 3cm; font-size: 10pt; text-decoration: none;}
.toc4 {margin-left: 4cm; font-size: 10pt; color: grey; text-decoration: none;}
.output {color: #000080; font-weight: normal;}
.note {background-color: #f0e090; width: 100%; padding: 16px; border: solid #a0a0a0 1px;}
.tail {color: gray; font-size: 8pt;}
</style>
</head>
<body bgcolor="white">
<table width="660" cellpadding="4" cellspacing="0" border="0">
<tr>
<td><a href="http://www.rebol.com"><img src="graphics/doc-bar.gif"
border=0 alt="REBOL"></a></td>
</tr>
<tr height="10"><td></td></tr>
<tr><td><h1>REBOL/Core Setup and Operation</h1>
<blockquote><b>
Version 2.6.2<br>From REBOL Technologies<br>WWW.REBOL.COM
</b></blockquote>
<h2>Contents:</h2>
<a class="toc1" href="#section-1">1. Overview</a><br>
<a class="toc2" href="#section-1.1">1.1 Introducing REBOL</a><br>
<a class="toc2" href="#section-1.2">1.2 Sources of Documentation</a><br>
<a class="toc2" href="#section-1.3">1.3 System Requirements</a><br>
<a class="toc2" href="#section-1.4">1.4 Getting Help</a><br>
<a class="toc2" href="#section-1.5">1.5 License Agreement</a><br>
<a class="toc2" href="#section-1.6">1.6 Reporting Problems</a><br>
<a class="toc2" href="#section-1.7">1.7 Help Promote REBOL</a><br>
<a class="toc2" href="#section-1.8">1.8 Professional Products</a><br>
<a class="toc1" href="#section-2">2. Installing and Running</a><br>
<a class="toc2" href="#section-2.1">2.1 Quick Start</a><br>
<a class="toc2" href="#section-2.2">2.2 Installation Not Required</a><br>
<a class="toc2" href="#section-2.3">2.3 Distribution Files</a><br>
<a class="toc2" href="#section-2.4">2.4 Running From an Icon</a><br>
<a class="toc2" href="#section-2.5">2.5 Running From a Shell</a><br>
<a class="toc2" href="#section-2.6">2.6 Running in CGI Mode</a><br>
<a class="toc2" href="#section-2.7">2.7 Startup Scripts</a><br>
<a class="toc2" href="#section-2.8">2.8 Script Security</a><br>
<a class="toc2" href="#section-2.9">2.9 Quitting REBOL</a><br>
<a class="toc1" href="#section-3">3. Network Setup</a><br>
<a class="toc2" href="#section-3.1">3.1 Basic Concepts</a><br>
<a class="toc2" href="#section-3.2">3.2 Interactive Setup</a><br>
<a class="toc2" href="#section-3.3">3.3 Proxy Servers</a><br>
<a class="toc1" href="#section-4">4. REBOL Scripts</a><br>
<a class="toc2" href="#section-4.1">4.1 REBOL File Suffix</a><br>
<a class="toc2" href="#section-4.2">4.2 REBOL Headers</a><br>
<a class="toc2" href="#section-4.3">4.3 Converting Line Terminators</a><br>
<a class="toc2" href="#section-4.4">4.4 Script Compatibility</a><br>
<a class="toc1" href="#section-5">5. Platform Specific Notes</a><br>
<a class="toc2" href="#section-5.1">5.1 Windows</a><br>
<a class="toc2" href="#section-5.2">5.2 Mac OS X</a><br>
<a class="toc2" href="#section-5.3">5.3 Macintosh</a><br>
<a class="toc2" href="#section-5.4">5.4 UNIX and Linux</a><br>
<a class="toc2" href="#section-5.5">5.5 Amiga</a><br>
<a class="toc2" href="#section-5.6">5.6 BeOS</a><br>
<h2 id="section-1">1. Overview</h2>
<blockquote>
</blockquote>
<h3 id="section-1.1">1.1 Introducing REBOL</h3>
<blockquote>
<p>REBOL is a new type of language created specifically for the
exchange and interpretation of information over the Internet.
Unlike other computer languages, REBOL (pronounced "rehb-el") was
designed as both a programming language <I>and</I> a data
exchange language. The result is an extremely powerful and
flexible tool that remains lightweight and easy to use.</p>
<p>REBOL/Core is the kernel of the REBOL system. It includes a
unique advanced interpreter, hundreds of predefined functions,
dozens of built-in datatypes, more than 10 network protocols,
compression and decompression, reflective embedded
documentation, and much more.</p>
<p>The worldwide adoption of REBOL continues to expand over time.
Although REBOL is still a "young" language in the computing arena,
more than two million people have downloaded it since 1998,
it is used in a growing number of companies for a wide range of
tasks, and it is rapidly gaining interest at educational
institutions throughout the world.</p>
</blockquote>
<h3 id="section-1.2">1.2 Sources of Documentation</h3>
<blockquote>
<p>If you are new to REBOL, we recommend that you read the <A
HREF="http://www.rebol.com/docs/core23/rebolcore.html"><B><I>REBOL/Core
Users Guide</I></B></A> to get started. It is especially
important to understand the concept of a series, around which
everything in REBOL is built.</p>
<p>For a summary of changes made to REBOL/Core since version 2.5.0, see
the <A HREF="http://www.rebol.com/docs/changes.html"><B><I>REBOL/Core
Changes</I></B></A> document that is part of this distribution.</p>
<p>Once you start writing REBOL code and just need summary
information about functions, the <A
HREF="http://www.rebol.com/docs/dictionary.html"><B><I>REBOL
Dictionary</I></B></A> provides a valuable reference. It is the
best source for expanded and updated information about specific
REBOL functions.</p>
<p>Other REBOL information and updates are available from the <A
HREF="http://www.rebol.com/docs.html">REBOL Documentation</A> page of
our web site.</p>
</blockquote>
<h3 id="section-1.3">1.3 System Requirements</h3>
<blockquote>
<p>REBOL/Core is lightweight in its system requirements and does
not require anything special to run. A system with these minimum
capabilities will work fine:</p>
<pre>
CPU Speed: 100 MHz
Main Memory: 32 MB
Disk Space: 1 MB
Networking: TCP/IP
Operating Systems:
Windows XP, NT, 2K, ME, 98, 95
Macintosh OS X
Linux x86 Libc6
Linux x86 Libc5
Sun Solaris Sparc
Free BSD x86
(many more)
</pre>
<p>UNIX and Linux systems do not require X Windows operation in
order to run REBOL/Core.</p>
<p>REBOL/Core is easy to install (no installation) and use with
Apache and other web servers to perform CGI script processing.
See below.</p>
</blockquote>
<h3 id="section-1.4">1.4 Getting Help</h3>
<blockquote>
<p>The REBOL/Core program has a built-in help function that provides
the description, arguments, and refinements for all functions. This
is very handy if you simply need to know the arguments to a specific
function while you are writing code. For example, to get help about
the SEND function you would type:</p>
<pre>
help send
</pre>
<p>You can also use help to obtain other information and search for
functions by name. Type "help" at the REBOL prompt for more
information.</p>
<p>In REBOL/Core you can also type:</p>
<pre>
what
</pre>
<p>to see a summary of all REBOL functions. Or, you can run the
words.r script that is included in this distribution to create a
printable HTML summary of REBOL functions.</p>
<p>And finally, it is often helpful to look at the source code to
other scripts, functions, and examples to see how experts and
other users have written REBOL code and solved specific
problems. You can obtain the source to many REBOL built-in
functions by using the SOURCE function from the prompt. For
example, typing:</p>
<pre>
source join
</pre>
<p>would show you the source code for the JOIN function.</p>
<p>Hundreds of other example scripts can be found in the <A
HREF="http://www.rebol.org">REBOL Script Library</A>, and on other
REBOL related web sites.</p>
<p>Another source for help is the community of users and experts who
subscribe to the REBOL.com email list. Answers to most questions are
usually posted within a few hours. To subscribe to the REBOL Email
List, send an email to rebol-request@rebol.com with the word
"subscribe" on the subject line. This can be done in REBOL with the
line:</p>
<pre>
send rebol-request@rebol.com "subscribe"
</pre>
</blockquote>
<h3 id="section-1.5">1.5 License Agreement</h3>
<blockquote>
<p>The End User License Agreement for REBOL/Core is included as a
file in this distribution. In addition, you can review the
license at any time by typing:</p>
<pre>
license
</pre>
<p>at the REBOL prompt.</p>
</blockquote>
<h3 id="section-1.6">1.6 Reporting Problems</h3>
<blockquote>
<p>To report a problem related to REBOL/Core or its documentation, or
to request new features, visit the <b><a
href="http://www.rebol.net/cgi-bin/rambo.r">RAMBO</a></b> bug
database.</p>
<p>If you have some other questions about products please contact REBOL
Technologies using the <A
HREF="http://www.rebol.com/feedback.html">Feedback Form</A> found on
our web site. Please be sure to specify the product name and version
number.</p>
</blockquote>
<h3 id="section-1.7">1.7 Help Promote REBOL</h3>
<blockquote>
<p>Help us to tell others about REBOL and grow the REBOL community. It
would be great if you could put one of these logos on your web site,
and linking it to www.rebol.com.</p>
<p align="center"><img src="graphics/pwr-rebol100.gif"></p>
<p align="center"><img src="graphics/pwr-rebol.png"></p>
<p>Please read our <a href="http://www.rebol.com/logos.html">logo
page</a> for more information and other logos.</p>
</blockquote>
<h3 id="section-1.8">1.8 Professional Products</h3>
<blockquote>
<p>If you want more capability than found in our free products,
please consider one of the following:</p>
<p><A HREF="http://www.rebol.com/sdk.html"><B>REBOL/SDK</B></A>
(Software Development Kit) provides many additional REBOL
functions for professional and commercial developers. It
includes encapsulators to create executable programs, advanced
encryption methods, DLL and shell command access, as well as the
source code to mezzanine functions, Internet protocols, view,
visual interface dialect (VID), and more.</p>
<p><A HREF="http://www.rebol.com/command.html"><B>REBOL/Command</B></A>
is intended for enterprise developers who need Oracle, MySQL,
ODBC (SQLServer, Access, Excel) database interfaces, access to
external libraries (DLLs), SSL secure sockets (HTTPS client),
encryption, shell commands, Fast-CGI mode, and more.</p>
</blockquote>
<h2 id="section-2">2. Installing and Running</h2>
<blockquote>
</blockquote>
<h3 id="section-2.1">2.1 Quick Start</h3>
<blockquote>
<p>To run REBOL/Core, just click on the REBOL icon or type:</p>
<pre>
REBOL
</pre>
<p>in your system shell (terminal window).</p>
<p>When you see the REBOL prompt, type:</p>
<pre>
print "it works"
</pre>
<p>to test it.</p>
<p>If you have an Internet connection, try typing:</p>
<pre>
print read http://www.rebol.com
</pre>
<p>If that does not work, read the network setup section below.</p>
</blockquote>
<h3 id="section-2.2">2.2 Installation Not Required</h3>
<blockquote>
<p>REBOL/Core does not require installation. You simply run the
REBOL program file and it starts.</p>
<p>If you want to send Email, or if you have a special network
configuration (such as a proxy server), you will need to provide
a few network settings. This can easily be done in your script
or you can create a user.r file that loads the settings each
time you run REBOL. See the Network Setup section below.</p>
<p>After you unarchive (unzip) REBOL/Core, you can locate it in any
folder (directory) on your system. You can also copy or move
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -