Such a typo was irrelevant to the problem, which persists.
Contents of
/Volumes/MacHD/Users/murray/j64-701-user/config/startup_jhs.ijs
are:
PC_FONTSIZE_jhs_=:'22px'
And, to check, the result of
jpath '~user'
is:
/Volumes/MacHD/Users/murray/j64-701-user
Still, the font size is not being changed, no matter how many times I
close down and restart the JHS server.
And just to be sure, I added to startup_jhs.ijs the line:
greeting =: 'Hello, Murray'
And when I restart JHS, no value has been assigned to that noun.
For some reason, startup_jhs.ijs is not being read during the startup
process.
On 7/12/12 5:46 AM, Eric Iverson <[email protected]> wrote:
>
> There was a typo in the line. The comma between startup_jhs and ijs should
> have been a period.
>
> Following is the corrected line:
> 'PC_FONTSIZE_jhs_=:''22px''' fwrite jpath'~config/startup_jhs.ijs'
>
> This works for me. Note that you have to stop the JHS server and restart it
> to have the startup_jhs script loaded.
>
> On Wed, Jul 11, 2012 at 8:29 PM, Murray Eisenberg
> <[email protected]>wrote:
>
>> On 7/3/12 7:49 AM, Eric Iverson<[email protected]> wrote:
>>>
>>> I repeat, with a bit of clarification:
>>>
>>> ***
>>> When JHS starts it loads (if it exists) script:
>>> jpath '~config/startup_jhs.ijs'
>>>
>>> It is probably best to put the PC_FONTSIZE_jhs_=:'22px' there.
>>> ***
>>>
>>> Enter
>>> jpath'~config/startup_jhs.ijs'
>>> in ijx to see how the path resolves on your system.
>>>
>>> The file likely doesn't exist (unless you created it previously). If it
>>> doesn't exist you could do:
>>> 'PC_FONTSIZE_jhs_=:''22px''' fwrite jpath'~config/startup_jhs,ijs'
>>> Note doubled quotes around 22px!
>>>
>>> Then shutdown JHS and restart.
>>
>> This is not working. It seems that startup_jhs.ijs is not being run at
>> startup; at least the font is not changing.
>>
>> However, if I explicitly open and run that script, then the font size
>> immediately does change (so evidently I didn't mistype the command in
>> the file).
>>
>> This is under OS X, in case that makes any difference.
>>
>> --
>> Murray Eisenberg [email protected]
>> Mathematics & Statistics Dept.
>> Lederle Graduate Research Tower phone 413 549-1020 (H)
>> University of Massachusetts 413 545-2859 (W)
>> 710 North Pleasant Street fax 413 545-1801
>> Amherst, MA 01003-9305
>> ----------------------------------------------------------------------
>> For information about J forums see http://www.jsoftware.com/forums.htm
>>
>
>
> ------------------------------
>
> ----------------------------------------------------------------------
> For information about J forums see http://www.jsoftware.com/forums.htm
>
> End of General Digest, Vol 82, Issue 13
> ***************************************
>
--
Murray Eisenberg [email protected]
Mathematics & Statistics Dept.
Lederle Graduate Research Tower phone 413 549-1020 (H)
University of Massachusetts 413 545-2859 (W)
710 North Pleasant Street fax 413 545-1801
Amherst, MA 01003-9305
----------------------------------------------------------------------
For information about J forums see http://www.jsoftware.com/forums.htm