Looks to me that the box characters are set for the Console in boot.ijs
using the verb boxdraw_j_
boxdraw_j_ 1 2 0 {~ ('Darwin';'Win') i. <UNAME

The boxdraw verb is defined in either jadecon.ijs or jadefull.ijs as:
BOXES=: ((16+i.11) { a.),'+++++++++|-',:218 194 191 195 197 180 192 193
217 179 196{a.
boxdraw=: 3 : '9!:7 y { BOXES'

Not sure if that helps?

> -----Original Message-----
> From: [EMAIL PROTECTED] 
> [mailto:[EMAIL PROTECTED] On Behalf Of Joey K Tuttle
> Sent: Thursday, 30 August 2007 06:58
> To: Programming forum
> Subject: [Jprogramming] Help with 9!:6 and 9!:7
> 
> 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.
> 
> - joey
> ----------------------------------------------------------------------
> 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