diff options
Diffstat (limited to 'js/games/nluqo.github.io/~bh/61a-pages/Scheme/source/windows.html')
-rw-r--r-- | js/games/nluqo.github.io/~bh/61a-pages/Scheme/source/windows.html | 171 |
1 files changed, 171 insertions, 0 deletions
diff --git a/js/games/nluqo.github.io/~bh/61a-pages/Scheme/source/windows.html b/js/games/nluqo.github.io/~bh/61a-pages/Scheme/source/windows.html new file mode 100644 index 0000000..4794a67 --- /dev/null +++ b/js/games/nluqo.github.io/~bh/61a-pages/Scheme/source/windows.html @@ -0,0 +1,171 @@ +<html><head> +<meta http-equiv="content-type" content="text/html; charset=windows-1252"> +<title>UCB Scheme - binary distribution for Windows</title> +</head> +<body> + +<!---<CENTER><IMG SRC="/images/iesg2.jpg" BORDER=0 ALIGN=CENTER></CENTER>--> +<p> +<img src="scheme.png" border="0"> +<br> + +</p><h1>Binary distribution for Windows</h1> +<p> +Please download the following executable and follow the directions given below.<br> +This version includes a subset of Cygwin, which emulates a UNIX environment<br> +and uses XWindows to enable an STk buffer within <b>emacs</b>.<br> +</p><p> +<a name="installing"> +<b>Installing:</b> +</a></p><p><a name="installing"> +These are steps you only need to do once, to install UCB Scheme. +</a></p><p><a name="installing"> +<table align="center" width="90%" border="0"> +<tbody><tr><td> +<b>New UCB STk Distribution available July 2010.</b> + +<ol> + +<li> Download + <a href="https://inst.eecs.berkeley.edu/%7Escheme/precompiled/MS-Windows/STk-ucb1.3.6.exe">STk-ucb1.3.6.exe</a> (100467 Kbytes).<br> + +</li><li> After downloading the above file double-click the icon. You will be<br> + prompted as to whether to install Berkeley Scheme. Click on 'Yes'<br> + and wait until the process completes.<br> + +</li><li> Once the script has completed you will find an icon on your desktop<br> + labeled <b>Cygwin</b>. Double-click this icon. After some initialization<br> + type <b>one</b> of these at the prompt.</li> + <pre> /usr/local/bin/setup-stk explorin (If you want the <a href="windows.html#explorin">explorin</a> setup) + or + /usr/local/bin/setup-stk simply (If you want the <a href="windows.html#simply">simply</a> setup)</pre> + +<li> Now you can start an X session in one of two ways. You can either<br> + double click on the <b>XWin Server</b> link on your desktop or type at<br> + the bash shell prompt "startxwin.exe". + +</li><li> If you are prompted by the windows security system, choose the + <b>unblock</b> option. + +</li><li> Finally you will get a window that has an <b>X</b> at the top left corner. + +</li><li> From now on, you only need to double-click on the <b>XWin Server</b> desktop<br> + icon to open a window for running UCB Scheme. + +</li></ol> +</td></tr></tbody></table> +</a><a name="running"> +<b>Running:</b> +</a></p><p><a name="running"> +To start UCB Scheme within <b>emacs</b>: +</a></p><ul><a name="running"> + <li> Double-click on the icon labeled <b>XWin Server</b> on your desktop. + </li><li> Wait a moment until a window pops up that has an <b>X</b> at the top left corner. + </li><li> In the "X" window, type "emacs &". An emacs window pops up. + </li><li> In the emacs window, type the 2 keys ESC-S at the same time + to open STk in an emacs buffer. (On a PC, the meta key is ESC.) + </li><li> This loads the version of stk that is defined in your + <i>.emacs</i> file. The line that defines what is loaded by + ESC-S is one of these: + <p></p><pre> (setq scheme-program-name "stk-simply") + (setq scheme-program-name "stk-explorin") + </pre> + You can change that by repeating step 5 above, or by editting the <i>.emacs</i> file directly. +</li></a></ul><a name="running"> +<p> +These are STk versions that are used by CS classes: +</p><p> +<table valign="top" align="center" width="90%" border="0"> + <tbody><tr> + <td valign="top" width="15%"><a name="explorin"><i>stk-explorin</i></a></td> + <td> </td> + <td> + For CS3S. + Loads all UCB Scheme procedures and explorin.scm takes precedence. + </td> + </tr> + <tr> + <td valign="top" width="15%"><a name="simply"><i>stk-simply</i></a></td> + <td> </td> + <td> + For CS3 and CS61A. + Loads all UCB Scheme procedures and simply.scm takes precedence. + </td> + </tr> + <tr> + <td valign="top" width="15%"><i>stk-grfx</i></td> + <td> </td> + <td> + For CS9D and CS47B. + Loads UCB Scheme turtle graphics procedures. + <ul> + <li> Double-click on the icon labeled "startx.bat" on your desktop. + </li><li> Wait a moment until a window pops up that has an <b>X</b> at the top left corner. + </li><li> In the "X" window, type "/usr/local/bin/stk-grfx" + </li><li> See <a href="http://inst.eecs.berkeley.edu/%7Escheme/README-explorin-vs-simply.txt"> http://inst.eecs.berkeley.edu/~scheme/README-explorin-vs-simply.txt</a> (section stk-grfx) for simple initializing of grafical window using stk-grfx. + </li></ul> + </td> + </tr> + <tr> + <td valign="top" width="15%"><i>stk</i></td> + <td> </td> + <td> + For CS9D and CS47B. + Loads no UCB Scheme procedures. + This version is currently not created on Windows for use with emacs, + but each of the versions above include all of the commands that are + used. + </td> + </tr> + <tr> + <td valign="top" width="15%"><i>stkdb</i></td> + <td> </td> + <td> + This is Prof Hilfinger's STk debugger. + <ul> + <li> See <a href="http://inst.eecs.berkeley.edu/%7Escheme/docs/stkdb.pdf"> + http://inst.eecs.berkeley.edu/~scheme/docs/stkdb.pdf</a> for help. + </li><li> Load it by typing these at the <code>STk></code> prompts: + <pre> (define stkdb-vicinity "/usr/local/lib/stkdb/") + (load "/usr/local/lib/stkdb/stkdb.scm") + (import stk-debugger)</pre> + </li></ul> + </td> + </tr> +</tbody></table> +</p></a><p><a name="running"> +</a><a name="alternate"> +<b>Alternate versions:</b> +</a></p><p><a name="alternate"> +</a></p><menu><a name="alternate"> +</a><li><a name="alternate"><b>Edwin/Emacs</b><br> +Users have reported that they successfully loaded and used the UC Berkeley +"</a><a href="https://inst.eecs.berkeley.edu/%7Escheme/source/src/ucb/bscheme/simply.scm">simply.scm</a>" +module on Microsoft Vista using the *scheme* mode buffer in the +<a href="http://www.gnu.org/software/mit-scheme/documentation/mit-scheme-user/Edwin.html">Edwin/Emacs</a> +editor that comes with +<a href="http://www.gnu.org/software/mit-scheme/">MIT/GNU Scheme</a>. + The default Edwin buffer is in *scheme* mode and additional +*scheme* buffers can be created using the Edwin REPL command. +Note that the UC Berkeley +"<a href="https://inst.eecs.berkeley.edu/%7Escheme/source/src/ucb/envdraw/">envdraw.scm</a>" module won't work +with this version of Scheme becuase it requires +<a href="http://kaolin.unice.fr/STk/">Tk</a>. +<p> +<!--- +<p>To recompile this distribution, first +<A HREF="/~scheme/source/">download the sources</A>, +and then follow the instructions in +<A HREF="http://inst.eecs.berkeley.edu/~scheme/cvsweb/cvsweb.cgi/~checkout~/stk/brg/win-rebuild.txt?only_with_tag=HEAD&content-type=text/plain">stk/brg/win-rebuild.txt</A>.</p> + +<p>Click here to find <A HREF="OLD/">old versions</A> which are no +longer supported.</p> +---> + +<a href="https://inst.eecs.berkeley.edu/%7Escheme/">Go back to the main UCB Scheme site.</a><br> +</p><hr> +<a href="http://inst.eecs.berkeley.edu/">EECS Instuctional Support Group</a><br> +<address>scheme@inst.EECS.Berkeley.EDU</address> + + +</li></menu></body></html> |