On Fri, 29 Dec 2000, Sean Porterfield wrote:

> Yes I do.  I'm not sure if it would violate our license or their
> copyright if I posted it, though.
> 
> The window record has KEEP, USRRSTDSP and OVERLAY.
> 
> I've never programmed windows, so I don't know what all of the various
> options do.  The window tries to manage cursor position for cursor
> sensitive prompting, so maybe the position is being returned
> incorrectly?
> 

Okay, I can tell you what these do.   

KEEP:  Normally when your program closes the display file, the screen is
         blanked.  KEEP allows you to keep the data on the screen after 
         the display file is closed.

USRRSTDSP:  When you create windows, the system saves a copy of your
         screen before displaying the window.  When you're done with
         the "exfmt" to the window record, the system automatically
         restores the underlying screen.  (effectively erasing the 
         window)  USRRSTDSP tells the system NOT to restore the 
         underlying screen.  (in other words, you'll restore it yourself)

OVERLAY:  Lets you put one (non-window) screen on top of another.  without
         erasing the first screen.  

None of these really have anything to do with cursor positioning, though
they do give some hints.   Probably the application is writing more than
one record to the screen before accepting input.  TN5250 may be taking the
cursor position from the wrong record format...

I hadn't thought about the licensing issues...   I just wanted to try to
reproduce the problem by writing a program that does the same thing.  :(

hmmmm....  


+---
| 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