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 [EMAIL PROTECTED]
| To subscribe to this list send email to [EMAIL PROTECTED]
| To unsubscribe from this list send email to [EMAIL PROTECTED]
| Questions should be directed to the list owner/operator: [EMAIL PROTECTED]
+---

Reply via email to