That can't be the first time he runs into that kind of trouble.
I think using special characters (quotes,  blanks, etc.) for user and file 
names is in general not a good idea.



________________________________
From: Henry Rich <[email protected]>
To: Programming forum <[email protected]>
Sent: Sunday, August 21, 2011 12:54 PM
Subject: Re: [Jprogramming] J602: user name with a quote

Thanks.  I thought the code was in j.exe .  I'll try it.

It looks like I'll have to make a similar change in the runfile verb.

Henry Rich

On 8/21/2011 2:48 AM, bill lam wrote:
> This seems to be a bug, please try the following patch (untested)
>
> diff --git a/main/jijs/run.ijs b/main/jijs/run.ijs
> index d4a8224..069095d 100644
> --- a/main/jijs/run.ijs
> +++ b/main/jijs/run.ijs
> @@ -39,5 +39,5 @@ runwindow=: 3 : 0
>   if. IFIJX do. return. end.
>   save 1
>   fn=. 'load',(1 = 1 {. y)#'d'
> -runimmx1 fn,' ''',SMNAME,''''
> +runimmx1 fn,' ''',((#~>:@(''''&=))SMNAME),''''
>   )
>
> Вск, 21 Авг 2011, Henry Rich писал(а):
>> I have a student named O'Malley.  The login is
>>
>>    o'malley
>>
>> This causes trouble.  The default config directory is
>>
>> C:\Users\o'malley\j602-user...
>>
>> or some such; and when they try to run a window with CTRL+W
>> J tries to run the sentence
>>
>> load 'C:\Users\o'malley\j602-user\window.ijs'
>>
>> and that has mismatched quotes.  Does anyone have a fix for
>> this?  I am running J6.02.
>>
>> Henry Rich
>> ----------------------------------------------------------------------
>> For information about J forums see http://www.jsoftware.com/forums.htm
>
----------------------------------------------------------------------
For information about J forums see http://www.jsoftware.com/forums.htm
----------------------------------------------------------------------
For information about J forums see http://www.jsoftware.com/forums.htm

Reply via email to