roteme has asked for the wisdom of the Perl Monks concerning the following question:
Hi,
My Perl program run on cmd.exe.
How can I permanently change the size of the cmd.exe windows from my Perl program during the execution of the script so that the output is displayed in an orderly manner?
While I'm not sure if you can do this is Perl, I do know that you can set the default size of the command prompt to be bigger. Just right click on the title bar, click Properties, click the Layout tab, and change the Buffer and Window sizes to meet your needs.
Mode command was very useful for me – the problem is that it making my scroll-up bar to disappear!
I need to print long usage for the user and the maximum size of the cmd.exe is not enough – I need buffer size , How can I set the Buffer size separately?
I run the command:
system q[mode con cols=100 lines=60];
but the buffer size diapered.
Even if I try to use Win32::Console I didn't success to resize the current cmd.exe include buffer size that enable me to print all my long usage.
Can someone give me an example how to use Win32::Console to increase and leave the current cmd.exe display size to 100 * 60, or how to use mode and define a buffer size.