BTW, I see from the cfbot that my v4-0002 patch is causing a
build warning on Windows:
print.c:3445:1: error: ‘count_table_lines’ defined but not used [-Werror=unused-function]
Evidently this is because the one call site is now within
"#ifdef TIOCGWINSZ", and Windows hasn't got that symbol.
So we'll need to likewise qualify count_table_lines.
I don't feel a need to post a new patch, since this is
a trivial fix and besides I'm not sure yet if we want
0002 at all.
regards, tom lane