Newsgroups: comp.lang.smalltalk
Path: cantaloupe.srv.cs.cmu.edu!rochester!udel!gatech!swrinde!howland.reston.ans.net!cs.utexas.edu!news.ti.com!ticipa!clw
From: clw@ticipa.pac.sc.ti.com (Chris Winemiller)
Subject: Making VST "peppy" (was Re: Smalltalk bloat)
Message-ID: <1995Mar4.214927.8172@ticipa.pac.sc.ti.com>
Organization: None
References: <3j5npb$jpa@msunews.cl.msu.edu> <D4vypp.1HJ@pages.com>
Date: Sat, 4 Mar 1995 21:49:27 GMT
Lines: 37

In article <D4vypp.1HJ@pages.com> kevin@pages.com (Kevin Sven Berg) writes:
>On a related topic, I had been happily using ST/V 1.0 (!) as zippy tool
>under Windows 3.1. I recently upgraded to VST Win32 and find the
>environment to be a whooooooole lot slower :-(
>
>The manual explains how to unbind libraries from the image, so I 
>attempted to do so with PARTS. Only, there are references elsewhere
>in the image which cause these to be autoloaded on startup (Arrrg!).
>
>Q: How can I put this puppy on a permanent diet? I'd like a trim and
>snappy Smalltalk again.

Look in your VST directory.  You should find a file named VWDEV.BND (or
very similar).  This file (not your image) is what has references to all
the PARTS stuff that causes it to get sucked into your image.  To undo
all this do the following:

1. Start with a fresh out-of-the-box V.EXE file (you _did_ save one
   aside, didn't you? :-))
2. Rename VWDEV.BND to something else; or, alternatively, simply edit
   its contents with any text editor and make each line a comment line
   (start with a semicolon).
3. Restart your VST development image in the normal fashion.  This time
   you should not see the window that lists the interminable libraries
   its loading into your image. The result: A standard VST image without
   PARTS loaded.

The rule that's being followed: If your image name is <file>.EXE then
VST looks for a file named <file>.BND in the same directory.  If it
finds it, then it treats it as a file which lists libraries to link in.

Regards,
Chris
==============================================================
Chris Winemiller               Internet: clw@works.ti.com
Disclaimer: I do not speak for TI.
==============================================================
