I hope that this is the correct forum for this...
I'm writting a script that will list user data files in a directory. The script will allow the user to select the file using an associated number that is displayed next to the file name.
I want to control how many files (lines) are displayed based on the telnet window size (example: Using PCXware).
The smitty utility does the same sort of checking as you can't use smitty in a window that is less then 24 lines x 80 characters.
Is there a way to get the window dimensions?
Thank you.
Gawker
I'm writting a script that will list user data files in a directory. The script will allow the user to select the file using an associated number that is displayed next to the file name.
I want to control how many files (lines) are displayed based on the telnet window size (example: Using PCXware).
The smitty utility does the same sort of checking as you can't use smitty in a window that is less then 24 lines x 80 characters.
Is there a way to get the window dimensions?
Thank you.
Gawker