On Fri, 1 Apr 2005, Scott Klement wrote:
I've run into a problem implementing word wrap. When a word doesn't fit at the end of a field, I need to put it on the next field and pad with blanks. However, I need to distinguish between blanks I use for padding and those blanks the user entered.
TN5250 already keeps track of how many spaces are used for padding and how many the user entered. The spaces that the user typed will be set to actual spaces (x'40' in EBCDIC). The spaces that the user hasn't typed in that are just padding on the screen will be x'00'
It's not the software that's free; it's you. - billyskank on Groklaw