pv 1.7.18 doesn't use the whole terminal width #72
Labels
No Label
bug
documentation
duplicate
enhancement
good first issue
help wanted
invalid
question
wontfix
No Milestone
No Assignees
1 Participants
Notifications
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: a-j-wood/pv#72
Loading…
Reference in New Issue
There is no content yet.
Delete Branch "%!s(<nil>)"
Deleting a branch is permanent. Although the deleted branch may exist for a short time before cleaning up, in most cases it CANNOT be undone. Continue?
In Cygwin, the output of pv 1.7.18 is always 80 characters wide, even when the terminal is wider, for example 199 columns as here:
pv 1.7.0 does use the whole terminal width in Cygwin.
Confirmed that I can reproduce this on my own Cygwin installation using the example you have provided.
The fault appears to be caused by the configure and autoheader changes. In
src/pv/display.c
there is a check for "HAVE_TERMIOS_H
", but this is no longer defined inconfig.h
.As a short term workaround, after running "
configure
", editsrc/include/config.h
and addto the end of it, then run "
make
".I have committed a fix to the main branch. If you would like to confirm that it works for you, please download the latest code (e.g. "
git clone https://github.com/a-j-wood/pv.git
") and then run "./generate.sh && ./configure && make
". Thanks.Confirmed that the problem is fixed in main. Thanks! Once you make a new release I'll push it out to Cygwin.
Thanks. A new release is imminent, since I expect that this fault was not confined only to the Cygwin platform.
Version 1.7.24 now released.