OS2 World Community Forum

OS/2, eCS & ArcaOS - Technical => Applications => Topic started by: Martin Iturbide on January 26, 2024, 10:02:05 pm

Title: Scroll-able Command Line Window
Post by: Martin Iturbide on January 26, 2024, 10:02:05 pm
Hello

Maybe this is very basic but I don't know how to do this.

How can we have a Command line window that is scroll-able? that means that you can scroll back and see all the stuff that passed by on the commands response that is gone.  Is there a way to do that with 4OS2 ?

Regards
Title: Re: Scroll-able Command Line Window
Post by: TeLLie on January 26, 2024, 11:20:25 pm
Hi Martin

Try....
https://hobbes.nmsu.edu/download/pub/os2/util/shell/meshell.zip

Title: Re: Scroll-able Command Line Window
Post by: Dave Yeo on January 26, 2024, 11:48:40 pm
EPM is another choice. Command-->Create command shell.
If you only need a small buffer, mode Co80,100 works.
Title: Re: Scroll-able Command Line Window
Post by: David Graser on January 27, 2024, 02:02:09 am
Right click on your OS2 command prompt window section.

Under the Properties tab, you will find the following under the program parameters

/k cls

Changed to the following

/k MODE 80,102

Close and now open the prompt window.  You should see the scroll bar.  If the Window is too wide, change the 80 to 70 or 60.

That is it.
Title: Re: Scroll-able Command Line Window
Post by: Dariusz Piatkowski on January 27, 2024, 10:55:43 pm
...Changed to the following

/k MODE 80,102

Close and now open the prompt window.  You should see the scroll bar.  If the Window is too wide, change the 80 to 70 or 60...

Yes, but this simply expands the TOTAL window buffer to 102 vertical lines. It is not a continuous buffer that allows you to scroll all the way back to the start of the session.

For that functionality I would recommend MESHELL as well.