=== Top of the Swiki === Attachments ===
The Newbie Home Page
This page is for newbies to have a place to share with others the links, tips, tricks, epiphanies and other fundamental truths that help get them over the initial hurdles. So use it! When you finally figure out something that has been stumping you, put the answer here so others can benefit.
Getting Squeak for Windows
John Buffington
(Note: Since Squeak 2.5 was released, Bruce ONeel has been keeping the zipped download archives up-to-date on the squeak.org home page, so the problems with 2.4 mentioned below should no longer be an issue.)
If you're like me, you'll want to start learning Squeak with a recent build of the program. The Squeak home page lists several sources for files, among them are:
"Windows 95 and Windows NT
click here to download Squeak 2.4. You will get a zip archive of all four files needed for Squeak....(port by Andreas Raab)",
which automatically fetches a broken copy of 2.4b (the 4/21/99 build). Don't waste your time on this link.
ftp://st.cs.uiuc.edu/pub/Smalltalk/Squeak/win32/image/Squeak2.4.zip
and
"For up to the minute download info, see the Download Squeak page on the Swiki."
http://minnow.cc.gatech.edu/squeak.388
which gives you this link (among others)
"DownloadForWindows"
http://isgwww.cs.uni-magdeburg.de/~raab/squeak/.
This will get you to Andreas Raab's site in Germany. Click on "Squeak.zip".Be prepared to wait, as the packets may have to make over 20 hops to get to you.
Now you've got a copy of 2.4b that works, (the 5/8/99 build).
It still isn't 2.4c, but that's easy to fix.
So, how do you fix it to2.4.c?
Tim Cuthbertson
PS - Thanks for this page. It is a great idea.
Answer, while logged into the internet, start up Squeak, right click(Windows) on help, and select "update from server". Wait until a panel comes up telling you how many updates were processed. You're done. Except that help/VM info still says 2.4b. Ignore that. Save and Quit. John Buffington
Another way to make a 2.4c version for Windows is to follow the above directions to get the 2.4b build, but then follow the links to the Macintosh FTP site, download the Squeak2.4c.image and Squeak2.4c.changes files, and use them instead of the 2.4b ones. These files are platform independent, so they'll work just fine. You should probably still do a code update, but there'll only be a couple of changes - and it will say it's a 2.4c!
Duane Maxwell
The biggest things that helped me:
1. Click on the window background (desktop?) and choose new project (morphic), and click in the window to enter the morphic world. Click again on the background and choose open... and you can get your browser and email reader. Also, show flaps by choosing window from the morphic world menu. Flaps have lots of neat stuff in them.
2. Do a simple tutorial (we should link to the tutorials page from here).
3. Filing in from a web browser (pasted from the mailing list)
- A. From the World menu choose "open..." then "web browser"
- B. Tell Scamper the url and the code appears.
- C. From the main panel menu in Scamper choose "view source" and the text appears in a new workspace.
- D. Select all of the text in the workspace (cmd-a or a single click before the first character).
- E. From the workspace menu choose "more..." then "file it in" (or if you like shortcuts: hold the shift key while you bring up the menu and go straight to "file it in")
4. I know it sounds obvious, but I almost missed "help" on the main menu. The menu doesn't have much for you when your'e really desperate for HELP!! but lots of interesting stuff.
5. The squeak wiki seems to be the best collection of information and links I could find. You may have come here from there. Squeak Swiki Ront Page. There's also a FAQ at Squeak FAQ.
Nathan Young mailto:nathan@ncyoung.com
Here I put some links to tutorials and Squeak details that could interest newbies. Feel free to add some more.
Squeak Tutorials:
http://www.squeak.org/tutorials/BankAccount.html
http://www.squeak.org/tutorials/morphic-tutorial-1.html
http://kaka.cosc.canterbury.ac.nz/~wolfgang/cosc205/smalltalk1.html
Squeak Smalltalk: A Quick Reference, by Andrew C. Greenberg
http://www.mucow.com/squeak-qref.html
How to use Model-View-Controller (MVC):
http://st-www.cs.uiuc.edu/users/smarch/st-docs/mvc.html
A Description of the Model-View-Controller User Interface Paradigm in the Smalltalk-80 System by Krasner and Pope
(http://www.objectshare.com/doc/mvc%20krasner%20and%20pope.pdf)
learn Smalltalk links page:
(http://c2.com:8080/LearnSmalltalk)
Another interesting page:
http://www.phaidros.com/DIGITALIS/englisch/sqk/sqk00002.htm
Ian Trudel
If you are a newbie to the world of Smalltalk (or even if you aren't), you really must read Dan Ingalls' Design Principles Behind Smalltalk.
http://users.ipa.net/~dwighth/smalltalk/byte_aug81/design_principles_behind_smalltalk.html
Question: How do I copy a morph in one project and paste it in another project?
Answer:
- Get the menu of the morph and choose 'copy to paste buffer'
- Go to the new project.
- Open the menu on the desktop and choose 'New morph'.
- Choose 'From paste buffer'.
Hannes Hirzel
How to get control over your objects
Ever imported or created an object (Morphic or not Morphic) and then lost control of it? Wondered where it went, and how to remove it in a clean way?
There are some good tools for this, but it took me a long way to find. First try to evaluate "World explore". It will show you a complete overview of your current working world, including all of its sub objects (and submorphs)! I got this hint from the mailing list.
Another good hint they gave me: if you want to see the current instances of "aClass" (fill in any class you want), you can evaluate "aClass allInstances explore" (again, fill in your class instead of "aClass"). It will nicely show you all of the class's instances.
These hints gave me the feeling that I had real system control - Stefan Rieken
Note: a link to another page in this swiki is just the name of the page between single asterisks, like so: *Squeak FAQ* (just be sure to spell and capitalize the page's name correctly - double the asterisks to display an asterisk like in this example); and for links to other sites or to create a mailto: address, just enclose the URL in single asterisks.