On 5/24/2014 1:41 AM, Greg Price wrote:
Perhaps the next screen management enhancement which could be slated for
this app is to detect that if the screen has 80 columns then avoid any
screen size change at all?  (That is, tolerate 80 column screens with
more than 24 lines.  If you want to repeat blanks or nulls or any
character to the end of the screen, use RA to location zero - this works
for every screen size.)

I already suggested he check the CCW; I would just use the one appropriate for the current size, and not try to change the size at all, especially for a trivial Y/N response.

His code is incorrect, anyway, as it does not clear the input buffer prior to the TGET, and won't correctly respond to input lengths shorter than seven.


Gerhard Postpischil
Bradford, Vermont

----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to [email protected] with the message: INFO IBM-MAIN

Reply via email to