[Date Prev][Date Next][Thread Prev][Thread Next] [Search] [Date Index] [Thread Index]

Re: [MacPerl] Three questions



At 17.21 1998.02.19, John W Baxter wrote:
>At 22:35 -0600 2/18/98, Paul DuBois wrote:
>>(1) Can I get a Macintosh's owner name from MacPerl?  (The owner name
>>as specified in the File Sharing control panel -- possibly the same
>>thing as what used to be known as the chooser name.)  I presume this
>>can be gotten as one of the Internet Config values, but can it be
>>done if IC isn't installed?
>
>'STR ' resource id -16413
>
>(It's in the System file in the ordinary case, so it should always be
>available.)
>
>Inside Mac--More Macintosh Toolbox page 1-127 (which lists several other
>useful things).
>
>I don't think this part of IM has been repealed...it likely doesn't carry
>into "yellow box" (but I don't much care).

Unless you've changed it, $ENV{USER} is set to the owner name.

--
Chris Nandor          mailto:pudge@pobox.com         http://pudge.net/
%PGPKey=('B76E72AD',[1024,'0824 090B CE73 CA10  1FF7 7F13 8180 B6B6'])
#==               New Book:  MacPerl: Power and Ease               ==#
#==    Publishing Date: Early 1998. http://www.ptf.com/macperl/    ==#



***** Want to unsubscribe from this list?
***** Send mail with body "unsubscribe" to mac-perl-request@iis.ee.ethz.ch