-
Notifications
You must be signed in to change notification settings - Fork 87
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
less --file-size (Windows) #168
Comments
I'm confused -- on Linux at least, ierror sets need_clr which causes putchr to call clear_bot. The clear_bot erases the Determining message. I would expect this all to work the same on Windows, so I don't understand why you are seeing the message. If I run with termcap debug on I see
The " |
Don't compare Windows & Linux. ;) It would seem this message (and the "binary" one) are displayed before the console switches screens. I don't think that can be done earlier because of |
Yes, the Determining message is displayed before switching screens, but the clear_bot should also happen before switching screens. Ah, perhaps the difference is Linux uses putchr to send the init ("ti") sequence, which invokes clear_bot, but Windows doesn't call putchr anywhere in init(). Maybe the need_clr/clear_bot check that's in putchr should be done explicitly at the start of init(). |
Let me know if 81c1184 fixes this in Windows. |
Yep, that got it, thanks. |
less --file-size FILE
leaves behind the length message.I tried adding
ierror("", NULL_PARG)
, but that still leaves the abort part. Could just useclear_bot()
, but that leavesneed_clr
set (not that it matters too much, I guess).The text was updated successfully, but these errors were encountered: