You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Recently moved from a Linux to FreeBSD system. Executing script resulted in "recursion" errors pointing to usage of columns variable. Eventually came to realize that columns and lines variables were not being properly populated during execution.
After review of stty man page for FreeBSD, I was able to come up with a more robust method of obtaining terminal sizing.
Review of Debian stty man page leads me to believe that this change should work there as well.
Solution is to explictly call for terminal sizing from stty via an attribute. This boils down to change of one line. Change works locally.
This effort may also close #6 but should be tested. I was not able to locate a conical reference for stty for MacOS. Only reference I could find is here
Recently moved from a Linux to FreeBSD system. Executing script resulted in "recursion" errors pointing to usage of
columns
variable. Eventually came to realize thatcolumns
andlines
variables were not being properly populated during execution.After review of
stty
man page for FreeBSD, I was able to come up with a more robust method of obtaining terminal sizing.Review of Debian
stty
man page leads me to believe that this change should work there as well.Solution is to explictly call for terminal sizing from
stty
via an attribute. This boils down to change of one line. Change works locally.This effort may also close #6 but should be tested. I was not able to locate a conical reference for
stty
for MacOS. Only reference I could find is hereThe text was updated successfully, but these errors were encountered: