Thanks so much Jim.

On Thursday, July 14, 2022 at 10:10:41 PM UTC-6 [email protected] 
wrote:

> You cannot modify such programs, but everything in jBASE is an individual 
> binary program, so you can of course replace any command with your own 
> version. We did give away the source code for JED back in the day. I think 
> programs like that could be open sourced, but I am no longer in charge of 
> jBASE of course… if I ever was 😉
>
> JIm
>
> On Jul 13, 2022 at 10:52:56 PM, Greg Motter <[email protected]> wrote:
>
>> Thanks for that info. I think I've figured out what will work. I agree 
>> that this was more for development and would not want them changed in 
>> production immediately.
>>
>> Any insight into how to modify core programs like JED?
>>
>> Greg
>>
>> On Tuesday, July 12, 2022 at 5:35:30 PM UTC-6 [email protected] 
>> wrote:
>>
>>> That should read “if your shell is jsh.."
>>>
>>> On Jul 13, 2022 at 7:33:45 AM, Jim Idle <[email protected]> wrote:
>>>
>>>> The answer to these question depends on which version of jBASE you are 
>>>> using. Newer versions have a different mode of compiling, triggered by:
>>>>
>>>>  export JELF=1
>>>>
>>>> In your login profile.
>>>>
>>>> Your subroutines and programs are compiled to machine code and built in 
>>>> to a shared library. If your shell is ssh, and you have called the 
>>>> subroutine once, then the shared library will already be attached to the 
>>>> shell and you need to exit it and come back in. It isn’t because of JED, 
>>>> and the source code won’t help you. It is just your usage pattern changes.
>>>>
>>>> Nobody should be compiling and cataloging in to a live system, but 
>>>> people do, and there are techniques to mitigate for this scenario, but it 
>>>> can be a pain when developing. JELF mode overcomes this, thanks to more 
>>>> modern systems having better capabilities in this regard. It also carries 
>>>> the source code (optionally encrypted) that was used to compile the 
>>>> program 
>>>> - because many MV shops do not use much in the way of version control etc.
>>>>
>>>> As a developer, the best way to get around this is to not use jsh as 
>>>> your login shell. Use zsh and the oh-my-zsh plugin. If you need jsh to run 
>>>> process etc, then you can start it at the command line, do whatever, then 
>>>> just exit with ^d. It is just getting used to a slightly different 
>>>> lifecycle. Again, this should not be needed in JELF mode. 
>>>>
>>>> However, you have not said whether you are on Windows or Linux. If 
>>>> Windows, then learn powershell. When submitting questions, always include 
>>>> the output of the jdiag command.
>>>>
>>>> yum install zsh
>>>>
>>>> https://github.com/ohmyzsh/ohmyzsh
>>>>
>>>> Your development experience is much better using a system shell, but be 
>>>> prepared for a few days adjustment. Trying to use an MV shell frustrates 
>>>> the heck out of me.
>>>>
>>>> Jim
>>>>
>>>>
>>>> On Jul 13, 2022 at 4:27:58 AM, Greg Motter <[email protected]> 
>>>> wrote:
>>>>
>>>>> Hi all, Couple of quick questions from someone new to jBase. I have 
>>>>> quite a few years of experience on Universe, but not much on jBase and 
>>>>> have 
>>>>> a couple questions.
>>>>>
>>>>> 1) Is it possible to change the core system programs like it is on 
>>>>> Universe. For example can JED be modified to add some custom security? If 
>>>>> so which File/Table is that?
>>>>>
>>>>> 2) If I can see the JED code, I'll likely get my answer to this. But 
>>>>> why is it when I do a FIBC within JED does it seem to reset the memory 
>>>>> and 
>>>>> use the new version, but if I simply BASIC and CATALOG a program I need 
>>>>> to 
>>>>> log out and back in? What would I need to do to avoid the log out and 
>>>>> back 
>>>>> in?
>>>>>
>>>>> Have already learned much browsing the backlog of posts here. Thanks 
>>>>> much.
>>>>>
>>>>> -- 
>>>>> -- 
>>>>> IMPORTANT: T24/Globus posts are no longer accepted on this forum.
>>>>>  
>>>>> To post, send email to [email protected]
>>>>> To unsubscribe, send email to [email protected]
>>>>> For more options, visit this group at 
>>>>> http://groups.google.com/group/jBASE?hl=en
>>>>>
>>>>> --- 
>>>>> You received this message because you are subscribed to the Google 
>>>>> Groups "jBASE" group.
>>>>> To unsubscribe from this group and stop receiving emails from it, send 
>>>>> an email to [email protected].
>>>>> To view this discussion on the web visit 
>>>>> https://groups.google.com/d/msgid/jbase/5f0a13f1-5102-4531-91d4-343418fc551an%40googlegroups.com
>>>>>  
>>>>> <https://groups.google.com/d/msgid/jbase/5f0a13f1-5102-4531-91d4-343418fc551an%40googlegroups.com?utm_medium=email&utm_source=footer>
>>>>> .
>>>>>
>>>> -- 
>> -- 
>> IMPORTANT: T24/Globus posts are no longer accepted on this forum.
>>  
>> To post, send email to [email protected]
>> To unsubscribe, send email to [email protected]
>> For more options, visit this group at 
>> http://groups.google.com/group/jBASE?hl=en
>>
>> --- 
>> You received this message because you are subscribed to the Google Groups 
>> "jBASE" group.
>> To unsubscribe from this group and stop receiving emails from it, send an 
>> email to [email protected].
>>
> To view this discussion on the web visit 
>> https://groups.google.com/d/msgid/jbase/57590ed8-744a-4967-b309-dfabfa6c55d7n%40googlegroups.com
>>  
>> <https://groups.google.com/d/msgid/jbase/57590ed8-744a-4967-b309-dfabfa6c55d7n%40googlegroups.com?utm_medium=email&utm_source=footer>
>> .
>>
>

-- 
-- 
IMPORTANT: T24/Globus posts are no longer accepted on this forum.

To post, send email to [email protected]
To unsubscribe, send email to [email protected]
For more options, visit this group at http://groups.google.com/group/jBASE?hl=en

--- 
You received this message because you are subscribed to the Google Groups 
"jBASE" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jbase/9f2d6e0e-6e58-4054-8866-b8cc5974a06fn%40googlegroups.com.

Reply via email to