× The internal search function is temporarily non-functional. The current search engine is no longer viable and we are researching alternatives.
As a stop gap measure, we are using Google's custom search engine service.
If you know of an easy to use, open source, search engine ... please contact support@midrange.com.



On Thu, Jan 06, 2000 at 11:44:45AM -0500, Phil Gregory wrote:
> I'm still having problems with display file error messages.  I have
> several programs that use display file error messages.  When I turn on a
> specific message, the emulator should reverse-image the appropriate field, 
> position the cursor in that field and inhibit typing (until the reset key
> is pressed).  Client Access, at least, gets all of this right.  tn5250
> reverse-images the fields, but doesn't do the other things.

Okay, the issue was the handling of the Write Error Code command.  It should
now satisfy all of those criteria.  It should now restore the cursor position
after the error code per spec, although the spec is a little vague in one
case, and it now inhibits.  Actually, it no longer uninhibits the display when
it receives the next command from the host.

> 
> I can't read 5250 streams, so I'm not sure what's happening (or not
> happening) here, but I've run an example and traced it.  I just log in, go 
> to a program that uses error messages, and make it use them.  It looks
> like tn5250 is getting the data and understanding it, if I correctly
> understand
> 
> InsertCursor: entered.
> InsertCursor: row = 8; col = 64
> 
> to mean that it wants to position the cursor to 8,64.  That is where the
> first field in error is.  In actuality, though, the cursor remains at
> (7,64), the position of the first input field.  (I'm also assuming that
> these coordinates are 1-based.)

Some are, some aren't.  The host sends coordinates 1-based, we handle them
internally 0-based (it makes our math much easier).

> 
> The tracefile is attached.

FYI, '@eor' punctuates a group of '@record's, if you delete the @records, 
delete the @eor - otherwise the emulator complains that it received a 0-byte
record :)

Expect changes to CVS shortly (after I handle some other bugs)...  maybe a
release, who knows...

-Jay 'Eraserhead' Felice
+---
| This is the LINUX5250 Mailing List!
| To submit a new message, send your mail to LINUX5250@midrange.com.
| To subscribe to this list send email to LINUX5250-SUB@midrange.com.
| To unsubscribe from this list send email to LINUX5250-UNSUB@midrange.com.
| Questions should be directed to the list owner/operator: david@midrange.com
+---


As an Amazon Associate we earn from qualifying purchases.

This thread ...

Replies:

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

This mailing list archive is Copyright 1997-2024 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.