The Math Forum

Search All of the Math Forum:

Views expressed in these public forums are not endorsed by NCTM or The Math Forum.

Math Forum » Discussions » Inactive » k12.ed.math

Notice: We are no longer accepting new posts, but the forums will continue to be readable.

Topic: Berkeley Logo 4.5 available for free download
Replies: 0  

Advanced Search

Back to Topic List Back to Topic List  
Brian Harvey

Posts: 127
Registered: 12/6/04
Berkeley Logo 4.5 available for free download
Posted: Mar 7, 1998 10:37 AM
  Click to see the message monospaced in plain text Plain Text   Click to reply to this topic Reply

Release 4.5 of Berkeley Logo is now available by anonymous FTP. Versions
are available for Unix systems, DOS/Windows machines, and Macintoshen.

The big news in this release is an alternative to the LOAD-EDIT-SAVE
cycle, for people who don't like their procedures in alphabetical order.
The idea is that you maintain your own workspace file, in whatever format
you like, and to use it with Logo you say

EDITFILE filename

command. Starts the Logo editor, like EDIT, but instead of editing
a temporary file it edits the file specified by the input. When you
leave the editor, Logo reads the revised file, as for EDIT.
EDITFILE also remembers the filename, so that a subsequent EDIT
command with no input will re-edit the same file.

EDITFILE is intended as an alternative to LOAD and SAVE. You can
maintain a workspace file yourself, controlling the order in which
definitions appear, maintaining comments in the file, and so on.

If you like this style of editing, you never call EDIT with an input.
After using EDITFILE, any later EDIT without an input will re-edit the
same file. You make your changes in the "saved" workspace file itself,
not a temporary file.

Other changes in this release:
* All platforms: fixed bug forgetting FILL and some others when
redrawing the graphics window; eliminated some C compiler warnings.
* Windows: Fixed the bug of drawing lines one pixel too short; fixed
-most- cases of disappearing text/graphics on resize, but there's
still work to be done here.
* Mac: EPSPICT now writes EPS files that are recognized as such by
silly MacOS; fullscreen changes to splitscreen at a Logo prompt.
Array sizes can be up to 2^30 (or so) elements.
* DOS (UCBLOGO): Array sizes can be up to 2^19 (or so) elements.

Note: The limit on UCBLOGO array size is that it uses a 20-bit DOS
extender, not a 32-bit one. This allows it to run on 80286 machines.
I would be interested to hear from either people running UCBLOGO on
a 286 system or people whose work is hindered by the memory limit
but are still running DOS on a 386-or-better.


Unix version: the makefile compiles with optimization turned off. This is
necessary to avoid mysterious garbage collection failures. (NOTE: On my HP
712, for reasons I don't understand, I had to compile the entire interpreter
without optimization. But on other platforms, such as PCs running Linux and
FreeBSD, it's sufficient merely to un-optimize mem.c. If that works on your
machine, you can remove the "-O0" at the end of the CFLAGS line at the
beginning of the makefile, after running configure.)


The PC distribution includes three executable programs. BL.EXE runs on any
DOS PC, but is limited to 640K of memory. UCBLOGO.EXE requires a 286-or-better
processor, but is able to take advantage of extended memory if you have it.
UCBWLOGO.EXE requires Windows 95 or Windows NT (not 3.1; sorry).
Read the README file for technical details.

The BL.EXE version, for really old 8086 PCs, is frozen at version 3.6,
because garbage collection doesn't work well with really small memory.


FTP to and get any of the following files:

pub/ucblogo/ucblogo.tar.Z Unix sources and documentation (compress form)
pub/ucblogo/ucblogo.tar.gz Unix sources and documentation (gzip format)
pub/ucblogo/blogo.exe PC version, PKZIP format, including executables
pub/ucblogo/ucblogo.sea.hqx Mac version, BinHexed StuffIt format,
w/ executable Logo
pub/ucblogo/usermanual Just the documentation file.

Be sure to use BINARY transfer mode when retrieving the archive files!

Alternatively, you can download Berkeley Logo from the World-Wide Web.
You'll find pointers on

The DOS/Windows version is in the form of a self-extracting PKZIP archive.
Run BLOGO.EXE ; it will create two files, INSTALL.BAT and INSTALLU.EXE. Then
run INSTALL to create a C:\UCBLOGO directory with the complete
distribution. For Windows users, type INSTALL into a DOS window, rather
than clicking on INSTALL directly in Windows. If you want to install
Logo somewhere other than C:\UCBLOGO, you can say
installu -d d:\foo\
to put it in d:\foo\ucblogo.

The Mac version is in the form of a BinHex-converted self-extracting StuffIt
archive. To install it, just copy to your hard disk, un-BinHex it (this may
be done automatically by your file transfer program), and double-click on it.

The Unix version is a compressed tar file. To install it, copy to your
machine, then say
uncompress ucblogo.tar
tar -xf ucblogo.tar
cd ucblogo
If you have gzip, you can instead get ucblogo.tar.gz

The DOS and Mac versions include a SOURCE subdirectory containing the C
source files used to compile Berkeley Logo. If you don't want to play
with the code, you can delete this directory and all its contents.

Advantages of Berkeley Logo:

* It's free.

* It comes with source files (in C).

* Logo programs are completely compatible among Unix, PC, and Mac.

Disadvantages of Berkeley Logo:

* It's pretty slow.

* It doesn't do anything fancy about graphics. (One turtle.)

If you are not on the Internet, the Logo Foundation (250 West 85th St,
New York, NY 10024) distributes the DOS and Mac versions on diskette.
As of spring 1997 they charge $5 for postage and handling, but
call them at 212 579-8028 if you are reading this much later than that.
The Logo Foundation also distributes various commercial versions of
Logo, some Logo-related books, and their own newsletter. (The latter
is free!)

Berkeley Logo related software from other people is available as indicated
below, or via links from my web page:


MSWLogo is a free port of Berkeley Logo to Microsoft Windows done by George
Mills. He has added a lot of Windows-specific capability to the language,
so you can do cool multimedia stuff with it. Look in


Tony Belding has released a version of Berkeley Logo for the Amiga:

From: (Tony Belding)
I've uploaded the first results of my work to AmiNet. You can see at the
following URL:

The files are "/dev/lang/ucb_logo.lha" and "dev/lang/ucb_source.lha".


Hrvoje Blazevic <> has contributed two things,
available by FTP from

(1) For GNU Emacs users, a Logo mode with interactive debugging capabilities


(2) The documentation files in texinfo format, for interactive help from Emacs
or for fancy printing with TeX:

/pub/ucblogo/ucblogo-texi-doc.tar.gz English for Unix
/pub/ucblogo/ English for DOS/Windows
/pub/ucblogo/ucblogo-docs-hr.tar.gz Croatian for Unix
/pub/ucblogo/ Croatian for DOS/Windows

message approved for posting by k12.ed.math moderator
k12.ed.math is a moderated newsgroup.
charter for the newsgroup at
submissions: post to k12.ed.math or e-mail to

Point your RSS reader here for a feed of the latest messages in this topic.

[Privacy Policy] [Terms of Use]

© The Math Forum at NCTM 1994-2018. All Rights Reserved.