Hmm....

1) Did you try opening j602\system\extras\config\colorsmp.ijs with notepad
and wordpad? Do you see the difference in the rendering of Line No 16? Is
this because notepad is unable to recognize unicode?

2) Unfortunately, I donot have access to my old machine anymore. So, what I
writing is from what I remember as having seen. All that you have said below
works as you described in my new machine.

Ok, when I pass messages over the socket, I use binary translation for the
size of the message. In my previous machine, I was able to see some
representation of the data and was able to spot errors. Now, with these nice
small rectangles, I am clueless. Of course, I can always pretty print by
decoding. I was just hoping that there was a simpler way....

Thanks,
Yuva


On Tue, Jun 24, 2008 at 2:30 PM, Dan Bron <[EMAIL PROTECTED]> wrote:

> Yuvaraj Athur Raghuvir wrote:
> > What confuses me is that Wordpad is able to substitute something using
> > Courier New while NotePad (and hence J's Session Manager?) is not able to
> do
> > so. Probably goes back all the way to the type of edit control that is
> used
> > here.
>
> I thought your goal was to port your entire J environment from your old
> machine to your new.  With that in mind, on your old machine, when you open
> a J Session Manager and type  a. #~ 1 ~: 32 127 I. i.#a.  , what do you see?
>
> If you don't see small rectangles, then can you check your
> Edit>Configure>Display>Display Font field?  If it says "Courier" or "Courier
> New" and you're seeing distinguishable glyphs instead of small rectangles,
> then I am very surprised.  What else is different between the two machines?
>
> If you do see small rectangles, then the old machine/new machine situation
> is just cirumstantial, and your question is just as you put it:
>
> > "how to display the non-printable (e.g. characters with ASCII values less
> > than 32 or greater than 127) as distinct symbols instead of small
> rectangles
> > that are indistinguishable?"
>
> The only way I'm aware of for the Session Manager to display
> distinguishable ASCII control characters is when it is configured to use a
> font which includes glyphs for them.  I don't know what WordPad is doing for
> you, but it's not doing it for me.  That is, if execute this J sentence:
>
>     a. fwrite 'C:\a.txt'
>
> and then open  C:\a.txt  with wordpad and select Courier as my font, the
> only distinguishable characters are the printable characters (aptly named!).
>  The control characters are all rendered as indistinguishable rectangles
> (including the box drawing characters).  I'm running on XP SP 3.
>
> I'm sorry I can't be more help.
>
> -Dan
>
> ----------------------------------------------------------------------
> 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