This is a patch file for "ByteName-1.10". It addresses an issue that seems to be a bug in the program's pagination code. The environment variable LINES is supposed to specify the number of lines per output page [provided that the variable is exported]. How- ever, ByteName 1.10 actually produces one line per page less than the specified value. If this patch is applied, and LINES is set, Byte- Name generates exactly the specified number of lines per page [count- ing the page header]. --- ByteName-1.10.old/ByteName.py +++ ByteName-1.10/ByteName.py @@ -18029,8 +18029,8 @@ if ShowAsciiP == 1 or c >= 0x7F: if PutHeaderP: LineCnt = LineCnt + 1 - if ScreenHeight > 1: - if divmod(LineCnt,(ScreenHeight - 2))[1] == 1: + if ScreenHeight > 0: + if divmod(LineCnt,(ScreenHeight - 1))[1] == 1: sys.stdout.write(Header) OStringList = [] if DoOffsetP: