Re: 5250 data stream displays secret APL symbols

Dave Kahn <dkahn400-gM/[email protected]> Fri, 12 Mar 2010 11:07:53 +0000
Newsgroups gmane.comp.lang.as400.mi
Message-ID <[email protected]>
On 11 March 2010 17:25,  <[email protected]> wrote:

> When I compile the following ILE RPG program and run it in my standard
> every-day IBM iSeries Access for Windows 5250 display emulation session, I
> see symbols like triangles, ovals, diamonds, inverted and sideways U's,
> Greek letters alpha epsilon rho, tiny single byte combinations of the
> letters HT, FF, CR, LF, HL, VT,  plus-sign-over-minus-sign symbol,
> infinity, the empty set, arrows, some little things that look to me like
> picnic tables and christmas trees . . .

You've probably know this already, but if you run it on an old
InfoWindow, assuming you've still got one, and presumably on an
original 5250, you don't get the same effect. If you produce the
pretty display in iSeries Access then copy / paste the screen to
Notepad it resolves to this:

               â   ä   à   á   ã   å   ç   ñ   $   .   <   (   +   |

       &   é   ê   ë   è   í   î   ï   ì   ß   !   £   *   )   ;   ¬

       -   /   Â   Ä   À   Á   Ã   Å   Ç   Ñ   ¦   ,   %   _   >   ?

       ø   É   Ê   Ë   È   Í   Î   Ï   Ì   `   :   #   @   '   =   "

       Ø   a   b   c   d   e   f   g   h   i   «   »   ð   ý   þ   ±

       °   j   k   l   m   n   o   p   q   r   ª   º   æ   ¸   Æ   ¤

       µ   ¯   s   t   u   v   w   x   y   z   ¡   ¿   Ð   Ý   Þ   ®

       ¢   [   ¥   ·   ©   §   ¶   ¼   ½   ¾   ^   ]   ~   ¨   ´   ×

       {   A   B   C   D   E   F   G   H   I   ­   ô   ö   ò   ó   õ

       }   J   K   L   M   N   O   P   Q   R   ¹   û   ü   ù   ú   ÿ

       \   ÷   S   T   U   V   W   X   Y   Z   ²   Ô   Ö   Ò   Ó   Õ

       0   1   2   3   4   5   6   7   8   9   ³   Û   Ü   Ù   Ú   Ÿ

That is also what you get when you run the program on a genuine green
screen except that the final Ÿ character appears blank.

-- 
Dave...

There isn't a sharp line dividing humans from the rest of the animal
kingdom. It's a very wuzzy line, and it's getting wuzzier all the time
-- Jane Goodall.
_______________________________________________
This is the MI Programming on the AS400 / iSeries (MI400) mailing list
To post a message email: [email protected]
To subscribe, unsubscribe, or change list options,
visit: http://lists.midrange.com/mailman/listinfo/mi400
or email: [email protected]
Before posting, please take a moment to review the archives
at http://archive.midrange.com/mi400.