Hello James,

You wrote:
>Would anybody out there happen to know what the
>following TN5250 data stream is 
>supposed to do, and what sort of response
>it's supposed to get?

>00 1D 12 A0 00 00 04 00 00 03 04 11 00 00 15 00 07 D9
>55 00 00 00 04 03 00 00 
>00 00 00 FF EF

>The "00 1D 12 A0 00 00 04 00 00
>03" is of course the TN5250 header, and the "FF 
>EF" is of course the EOR
>mark, which leaves the actual 5250 data stream,

All correct so far ...

>04 11 00 00 15 00 07 D9 55
>00 00 00 04 03 00 00 00 00 00

>which LOOKS like a WTD command, carrying a
>WDSF order, and the WDSF order LOOKS 
>like a malformed "Programmable Mouse
>Buttons" structured field. When sent to a 
>terminal, it generates a 952-byte
>reply; when sent to our emulator, nothing 
>happens, because the emulator has
>no idea what the data stream means.

Not only does it LOOK like but it *IS* a WTD containing a WDSF order. The 
order is to reset the Programmable Mouse Button table. That is followed by 
a Save Partial Screen (which actually saves the entire screen because the 
coordinates are zero). The 952-byte response will be the current screen 
image (and possibly a respnse to the PMB order).

>Anybody got a clue about what I'm
>really looking at?

Perhaps ... you alone can judge ...

Regards,
Simon Coulter.
--------------------------------------------------------------------
   FlyByNight Software         AS/400 Technical Specialists       
                                                                  
   http://www.flybynight.com.au/                                  
   Phone: +61 3 9419 0175   Mobile: +61 0411 091 400        /"\   
   Fax:   +61 3 9419 0175   mailto: shc@xxxxxxxxxxxxxxxxx   \ /   
                                                             X    
                 ASCII Ribbon campaign against HTML E-Mail  / \   
--------------------------------------------------------------------


As an Amazon Associate we earn from qualifying purchases.

This thread ...


Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2022 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].

Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.