Re: Two Wharfs

Dave LaMothe (
Tue, 02 Feb 1999 00:23:39 -0500 (EST)


I'm not sure the "link" part of your question is the question you really need
answered. A complete answer to the question of whether a file and its link is
the same file could spill into philosophy. Moreover, my knowledge of the real
inner workings of links is wildly innadequate. The bottom line is you need to
create a symbolic link to the Wharf *binary* which you'll probably find under
/usr/local/bin. The link, say MyKillerWharf, should also reside under
/usr/local/bin. The name you pick for the link will be the one to
use in the *lines* of your "one-and-only" Wharf config file, called "wharf",
which you'll find, ideally, under ~/GNUstep/Library/AfterStep. I'm assuming
here that you have the config files copied under ~GNUstep/Library/AfterStep
(for system wide use they also exist under /usr/local/share/afterstep but if
you have them in your home directory there's no need to change these; your
"personal" config files will override the global ones.) So assuming the paths
I've mentionned above, you'd end up with the following:

/usr/local/bin/Wharf  (the original Wharf binary)
/usr/local/bin/MyKillerWharf  (the symlink you created)
~/GNUstep/Library/AfterStep/wharf (the config file for all wharfs)

At this point all that needs to be done is to start editing ~/G/L/A/wharf.
Following my example this wharf config file might have lines like:

*WharfTextureType                128
*MyKillerWharfTextureType   128
*WharfPixmap                         Tile.Mar7.xpm
*MyKillerWharfPixmap            Tile.Dec30.xpm
*WharfGeometry                     -0+0  #top right to bottom right
*MyKillerWharfGeometry        -0-0  #bottom right to bottom left

I hope the explicitness of all this does *not* come off sounding condescending.
I'm just a 40+ year old doing an honours degree in philosophy and have had to
learn that obtuseness doesn't cut it. One old prof told us that ignoring
lexicality, linguisticality, structure, composition, detail, and
comprehensiveness is sufficient evidence that we are either wildly indolent,
radically stupid, or both.


On 02-Feb-99 Marc Eisenbarth wrote:
> So..........are the two files that at linked the same file?? MyWharf and
> Wharf then
> contain the exact information??
> -Marc
> Dave LaMothe wrote:
>> Andrew,
>> I have to admit I also found the instructions a bit misleading. It wasn't
>> untill reading the Wharf man page that I got clued in. The link business is
>> clear enough, but here's the funky part from the FAQ:
>> " would add extra lines to the Wharf configuration file (or new
>> section in a .steprc) for the new binary name:
>> ~/GNUstep/Library/AfterStep/mywharf."
>> Well there simply is no *binary* ~/G/L/A/mywharf. My first guess was to
>> create a
>> separate "mywharf" config file under ~/G/L/A/ which the
>> FAQ seems to suggest. In other words, two Wharfs, two config files. I think
>> what needs to be explict, however you choose to word it, is that the same
>> config file controls however many instances of the Wharf one may have, and
>> that
>> the lines in the config file must correspond to symliked name of the binary.
>> Then an appropriate (and useful) example might include a mix such as:
>> *WharfGeometry             -0+0
>> *MyWharfGeometry        -0-0
>> Then maybe you'll never ever ever get a "multiple Wharf" question ever again
>> <g>. (...yeah in your dreams..).  :-)
>> Dave
>> (philosophy rules!)
>> On 01-Feb-99 Andrew Sullivan wrote:
>> > On Mon, 1 Feb 1999, Marc Eisenbarth wrote:
>> >
>> >> I'm trying to create another wharf bar, and I can't seem to follow the
>> >> method presented in the Afterstep FAQ. Can anyone give me more specific
>> >> directions and maybe an example wharf file?
>> >
>> > First, _please_ tell me what's unclear in the FAQ, so that I can improve
>> > it.  (You've looked at the latest FAQ, right?  I've tried to make this
>> > clearer, but I don't know what people are finding confusing.)
>> >
>> > You need two things:
>> >
>> > 1.    A second version of the Wharf binary, and one which does not start
>> > out "Wharf".  So, "MyWharf" is fine, but "Wharf2" is not.  (Does anyone
>> > know for sure if this is still true?)  A link from "MyWharf" to "Wharf"
>> > will work.
>> >
>> > 2.    The relevant lines _in your ~G/L/A/wharf file_ for configuring the
>> > second Wharf.  So, for stuff in MyWharf, you'd add lines starting with
>> > "*MyWharf".
>> >
>> > You'll likely also want to copy the line in your database that configures
>> > the Wharf, and replace "Wharf" with "MyWharf".
>> >
>> > A
>> >
>> > Andrew Sullivan | (better)|
>> > (worse)
>> 01-Feb-99
>> 22:25:21
>> --
>>    WWW:
>>    FTP:
>>    MAIL:
> --
>    WWW:
>    FTP:
>    MAIL: