Ummm, that is a bit of a "weasel answer" ... Nice that the
dll has the default characters, but I interpret "initially"
to mean at the beginning of a default j session rather than
the interpreter internal data structure.
My "complaint" is that a jconsole session in Linux has a
different (and difficult to correct) set of characters as
compared to a jconsole session in Darwin (which exhibits
the behavior "initially +++++++++|-" described in JD).
I'm guessing from your example that Windows makes the change
too and so only Darwin leaves the default characters in place.
I am especially frustrated that it is difficult (impossible
without loading a script or explicitly setting) to get default
behavior in a Linux jconsole session.
- joey
At 09:07 -0700 2007/08/30, Roger Hui wrote:
A demonstration that what the dictionary says about
the default box drawing characters is true:
9!:6 ''
ѰѶѢÑ*Ñ©ÑßѧѮѣÑÝÑü
a.i. 9!:6 ''
16 17 18 19 20 21 22 23 24 25 26
t=: 1!:1 <'\j601\j.dll'
(a.{~16+i.11) [EMAIL PROTECTED] t
'+++++++++|-' [EMAIL PROTECTED] t
1244316
----- Original Message -----
From: Joey K Tuttle <[EMAIL PROTECTED]>
Date: Wednesday, August 29, 2007 11:58
Subject: [Jprogramming] Help with 9!:6 and 9!:7
To: Programming forum <[email protected]>
In JD it is said, "
9!:6 y Box-Drawing Characters. The eleven characters
used to draw
> boxes (initially +++++++++|-).
9!:7 y
and this would seem to be true since in release for -
J 4.06 2001-05-09
it was said, "
9!:6 query the box drawing characters, and 9!:7 sets them. The
box
drawing characters are now an 11-element list. (Previously, they
are
specified as an 11-column matrix.)
-------
However, now that I finally have j601 running in Linux, I find
that the above statements are untrue (in Linux using/running
jconsole).
That is, in a default installation of j601 in Linux -
9!:6''
%%,%%%<%$%%4%%%
a. i. 9!:6''
16 17 18 19 20 21 22 23 24 25 26
while in Darwin on my Mac -
9!:6 ''
+++++++++|-
a. i. 9!:6 ''
43 43 43 43 43 43 43 43 43 124 45
Which is as the dictionary describes (and also my preference)
The really frustrating thing is that even if, in my profile,
I include -
9!:7 '+++++++++|-'
it is ignored in my Linux jconsole. I have to make the change
in the session (or a loaded script). I can't find anyplace in
scripts that look like the change is being made, so I assume
it may be in jconsole or some such place that the default is
not followed.
Any suggestions on how to get the default behavior are solicited.
----------------------------------------------------------------------
For information about J forums see http://www.jsoftware.com/forums.htm
----------------------------------------------------------------------
For information about J forums see http://www.jsoftware.com/forums.htm