On my system, these .cfg files exist:

/Users/rauldmiller/Applications/j64-806//addons/ide/jhs/config/jhs.cfg
/Users/rauldmiller/Applications/j64-806//addons/ide/qt/config/dirmatch.cfg
/Users/rauldmiller/Applications/j64-806//addons/ide/qt/config/launch.cfg
/Users/rauldmiller/Applications/j64-806//addons/ide/qt/config/userkeys.cfg
/Users/rauldmiller/Applications/j64-806//system/config/base.cfg
/Users/rauldmiller/Applications/j64-806//system/config/folders.cfg
/Users/rauldmiller/j64-806-user/config/base.cfg
/Users/rauldmiller/j64-806-user/config/dirmatch.cfg
/Users/rauldmiller/j64-806-user/config/folders.cfg
/Users/rauldmiller/j64-806-user/config/launch.cfg
/Users/rauldmiller/j64-806-user/config/qtide.cfg
/Users/rauldmiller/j64-806-user/config/style.cfg
/Users/rauldmiller/j64-806-user/config/userkeys.cfg

And I changed my base.cfg so that it has the line
DisplayForm=: 1 2 5

And when I start jhs, and look at the result for +/%# I see all three
display forms.

But >4!:3'' still shows no .cfg files

I don't know what's going on here.

Thanks,

-- 
Raul


On Tue, Jan 23, 2018 at 4:31 PM, Eric Iverson <[email protected]> wrote:
> When I start JHS, I see addons/ide/jhs/config/jhs.cfg listed in 4!:3.
>
> I think you are starting JHS in a way that doesn't require a cfg file.
>
> I think if you create a cfg file and load it that you will see it in 4!:3.
>
> On Tue, Jan 23, 2018 at 4:02 PM, Raul Miller <[email protected]> wrote:
>
>> Here's what I see in jhs:
>>
>>  J Http Server
>>    >4!:3''
>> /Users/rauldmiller/Applications/j64-806/bin/profile.ijs
>> /Users/rauldmiller/Applications/j64-806/system/util/boot.ijs
>> /Users/rauldmiller/Applications/j64-806/system/main/stdlib.ijs
>> /Users/rauldmiller/Applications/j64-806/system/util/scripts.ijs
>> /Users/rauldmiller/Applications/j64-806/system/main/regex.ijs
>> /Users/rauldmiller/Applications/j64-806/system/main/task.ijs
>> /Users/rauldmiller/Applications/j64-806/system/util/configure.ijs
>> /users/rauldmiller/j64-806-user/config/recent.dat
>> /users/rauldmiller/applications/j64-806/addons/ide/jhs/core.ijs
>> /users/rauldmiller/applications/j64-806/system/main/socket.ijs
>> /users/rauldmiller/applications/j64-806/system/defs/hostdefs_darwin_64.ijs
>> /users/rauldmiller/applications/j64-806/system/defs/netdefs_darwin_64.ijs
>> /users/rauldmiller/applications/j64-806/addons/ide/jhs/util.ijs
>> /users/rauldmiller/applications/j64-806/addons/ide/jhs/utilh.ijs
>> /users/rauldmiller/applications/j64-806/addons/ide/jhs/utiljs.ijs
>> /users/rauldmiller/applications/j64-806/addons/ide/jhs/sp.ijs
>> /users/rauldmiller/applications/j64-806/addons/ide/jhs/jfif.ijs
>> /users/rauldmiller/applications/j64-806/addons/ide/jhs/tool.ijs
>> /users/rauldmiller/applications/j64-806/addons/ide/jhs/d3.ijs
>> /users/rauldmiller/applications/j64-806/addons/ide/jhs/debug.ijs
>> /users/rauldmiller/applications/j64-806/addons/convert/json/json.ijs
>> /users/rauldmiller/applications/j64-806/addons/ide/jhs/jijx.ijs
>> /users/rauldmiller/applications/j64-806/addons/ide/jhs/jfilesrc.ijs
>>    JVERSION
>> Engine: j806/j64/darwin
>> Release: commercial/2017-11-06T10:20:33
>> Library: 8.06.09
>> Platform: Darwin 64
>> Installer: J806 install
>> InstallPath: /users/rauldmiller/applications/j64-806
>> Contact: www.jsoftware.com
>>
>> (No .cfg files)
>>
>> --
>> Raul
>>
>>
>> On Tue, Jan 23, 2018 at 3:51 PM, Eric Iverson <[email protected]>
>> wrote:
>> > Now I am confused. The .cfg files I expect to see (JHS) are listed in
>> 4!:3.
>> > So this could use another look.
>> >
>> > On Tue, Jan 23, 2018 at 3:41 PM, Eric Iverson <[email protected]>
>> > wrote:
>> >
>> >> You are right and that is a good point. When 4!:3 was invented we didn't
>> >> use cfg files. This is perhaps a low level bug that should be
>> investigated
>> >> and fixed one day.
>> >>
>> >> On Tue, Jan 23, 2018 at 1:42 PM, Raul Miller <[email protected]>
>> >> wrote:
>> >>
>> >>> I do not see the .cfg files listed when I use 4!:3''
>> >>>
>> >>> --
>> >>> Raul
>> >>>
>> >>>
>> >>> On Tue, Jan 23, 2018 at 1:33 PM, Eric Iverson <
>> [email protected]>
>> >>> wrote:
>> >>> > 4!:3'' gives similar info more directly and portable.
>> >>> >
>> >>> > On Tue, Jan 23, 2018 at 1:29 PM, Raul Miller <[email protected]>
>> >>> wrote:
>> >>> >
>> >>> >> Ah, here's an osx approach (beware line wrap on all of this, of
>> >>> course):
>> >>> >>
>> >>> >> $ :|2>/dev/null sudo dtrace -n 'syscall::open*:entry {
>> >>> >> printf("%s",copyinstr(arg0)); }' -c Applications/j64-806/bin/
>> jconsole
>> >>> >> | awk '{print $4}' | egrep -v dylib | grep 'j.*\.' | uniq
>> >>> >> /Users/rauldmiller/Applications/j64-806/bin/profile.ijs
>> >>> >> /Users/rauldmiller/Applications/j64-806/bin/../system/util
>> >>> >> /Users/rauldmiller/Applications/j64-806/bin/profilex.ijs
>> >>> >> /Users/rauldmiller/Applications/j64-806/.jprofile.ijs
>> >>> >> /Users/rauldmiller/Applications/j64-806/system/util/boot.ijs
>> >>> >> /Users/rauldmiller/Applications/j64-806/system/main/stdlib.ijs
>> >>> >> /Users/rauldmiller/Applications/j64-806/system/util/scripts.ijs
>> >>> >> /Users/rauldmiller/Applications/j64-806/system/main/regex.ijs
>> >>> >> /Users/rauldmiller/Applications/j64-806/system/main/task.ijs
>> >>> >> /Users/rauldmiller/Applications/j64-806/system/util/configure.ijs
>> >>> >> /Users/rauldmiller/Applications/j64-806/system/config/base.cfg
>> >>> >> /Users/rauldmiller/Applications/j64-806/user/config/base.cfg
>> >>> >> /users/rauldmiller/applications/j64-806/user/config/folders.cfg
>> >>> >> /users/rauldmiller/applications/j64-806/system/config/folders.cfg
>> >>> >> /users/rauldmiller/applications/j64-806/user/config/recent.dat
>> >>> >> /users/rauldmiller/applications/j64-806/system/config/version.txt
>> >>> >> /users/rauldmiller/applications/j64-806/bin/installer.txt
>> >>> >> /users/rauldmiller/applications/j64-806/user/config/startup.ijs
>> >>> >>
>> >>> >> Thanks,
>> >>> >>
>> >>> >> --
>> >>> >> Raul
>> >>> >>
>> >>> >> On Tue, Jan 23, 2018 at 12:59 PM, Alex Shroyer <[email protected]>
>> >>> wrote:
>> >>> >> > This was on MacOS 10.12.6; thanks for the advice.
>> >>> >> >
>> >>> >> > On Tue, Jan 23, 2018 at 12:13 PM, Raul Miller <
>> [email protected]
>> >>> >
>> >>> >> wrote:
>> >>> >> >
>> >>> >> >> Which OS are you working under?
>> >>> >> >>
>> >>> >> >> I threw a j install on a fresh ubuntu 16 machine and looked the
>> >>> >> >> startup files j was opening:
>> >>> >> >>
>> >>> >> >> $ :|strace -e trace=open /usr/bin/ijconsole 2>&1 | egrep -v
>> >>> >> >> 'DIRECTORY|\.so\.' | egrep '^open.".*j.*"' | cut -f2 -d'"'  |
>> uniq
>> >>> >> >> /etc/j/8.06/profile.ijs
>> >>> >> >> /etc/j/8.06/profilex.ijs
>> >>> >> >> /home/ubuntu/.jprofile.ijs
>> >>> >> >> /usr/share/j/8.06/system/util/boot.ijs
>> >>> >> >> /usr/share/j/8.06/system/main/stdlib.ijs
>> >>> >> >> /usr/bin/libjqt.so
>> >>> >> >> /usr/share/j/8.06/system/util/scripts.ijs
>> >>> >> >> /usr/share/j/8.06/system/main/regex.ijs
>> >>> >> >> /usr/share/j/8.06/system/main/task.ijs
>> >>> >> >> /usr/share/j/8.06/system/util/configure.ijs
>> >>> >> >> /usr/share/j/8.06/system/config/base.cfg
>> >>> >> >> /home/ubuntu/j64-806-user/config/base.cfg
>> >>> >> >> /home/ubuntu/j64-806-user/config/folders.cfg
>> >>> >> >> /usr/share/j/8.06/system/config/folders.cfg
>> >>> >> >> /home/ubuntu/j64-806-user/config/recent.dat
>> >>> >> >> /usr/share/j/8.06/system/config/version.txt
>> >>> >> >> /home/ubuntu/j64-806-user/config/startup.ijs
>> >>> >> >> /home/ubuntu/j64-806-user/break/7015.default
>> >>> >> >>
>> >>> >> >> If I were concerned with what .cfg files were relevant, on the
>> >>> >> >> machine, I think I'd start my investigation with something like
>> >>> this.
>> >>> >> >>
>> >>> >> >> Good luck,
>> >>> >> >>
>> >>> >> >> --
>> >>> >> >> Raul
>> >>> >> >>
>> >>> >> >> On Tue, Jan 23, 2018 at 11:25 AM, Alex Shroyer <
>> [email protected]>
>> >>> >> wrote:
>> >>> >> >> > Thanks Raul!  That is exactly what I wanted.
>> >>> >> >> >
>> >>> >> >> > I played with this a bit and eventually realized that changes
>> to
>> >>> >> >> > "~/j64-805/system/config/base.cfg" were having no effect.
>> >>> >> >> > Instead I made my changes inside "~/j64-805-user/config/
>> base.cf
>> >>> g".
>> >>> >> >> >
>> >>> >> >> > Cheers,
>> >>> >> >> > Alex
>> >>> >> >> >
>> >>> >> >> >
>> >>> >> >> > On Tue, Jan 23, 2018 at 11:13 AM, Raul Miller <
>> >>> [email protected]>
>> >>> >> >> wrote:
>> >>> >> >> >
>> >>> >> >> >> 9!:37 lets you set that width, it's documented on J's global
>> >>> settings
>> >>> >> >> >> foreign page: http://www.jsoftware.com/help/
>> dictionary/dx009.htm
>> >>> >> >> >>
>> >>> >> >> >> But also keep in mind that jconsole is a rather minimal
>> >>> environment.
>> >>> >> >> >> If you want deeper OS bindings, that can be a bit of work.
>> >>> >> >> >>
>> >>> >> >> >> I hope this helps,
>> >>> >> >> >>
>> >>> >> >> >> --
>> >>> >> >> >> Raul
>> >>> >> >> >>
>> >>> >> >> >>
>> >>> >> >> >> On Tue, Jan 23, 2018 at 11:09 AM, Alex Shroyer <
>> >>> [email protected]>
>> >>> >> >> wrote:
>> >>> >> >> >> > When the console is wider than some number of characters,
>> the J
>> >>> >> >> >> interpreter
>> >>> >> >> >> > writes "..." before printing the next line.
>> >>> >> >> >> >
>> >>> >> >> >> > But my terminal is narrower than this, so I end up with ugly
>> >>> line
>> >>> >> >> >> wrapping
>> >>> >> >> >> > in addition to the ellipses.
>> >>> >> >> >> >
>> >>> >> >> >> > Is there a way to adjust the width at which the J terminal
>> >>> prints
>> >>> >> the
>> >>> >> >> >> "..."?
>> >>> >> >> >> > It seems that if I was able to tell J to make its lines
>> >>> shorter,
>> >>> >> then
>> >>> >> >> I
>> >>> >> >> >> > would be able to avoid the line wrapping problem.
>> >>> >> >> >> >
>> >>> >> >> >> > Thanks,
>> >>> >> >> >> > Alex
>> >>> >> >> >> > ------------------------------
>> ------------------------------
>> >>> >> >> ----------
>> >>> >> >> >> > 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
>> >>> >> >> ------------------------------------------------------------
>> >>> ----------
>> >>> >> >> For information about J forums see
>> http://www.jsoftware.com/forum
>> >>> s.htm
>> >>> >> >>
>> >>> >> > ------------------------------------------------------------
>> >>> ----------
>> >>> >> > For information about J forums see http://www.jsoftware.com/forum
>> >>> s.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
>> >>> ----------------------------------------------------------------------
>> >>> 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
>>
> ----------------------------------------------------------------------
> 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