Author Topic: Scroll-able Command Line Window  (Read 4937 times)

Martin Iturbide

  • OS2World NewsMaster
  • Global Moderator
  • Hero Member
  • *****
  • Posts: 5026
  • Karma: +44/-1
  • Your Friend Wil Declares...
    • View Profile
    • Martin's Personal Blog
Scroll-able Command Line Window
« 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
Martin Iturbide
OS2World NewsMaster
... just share the dream.

TeLLie

  • Full Member
  • ***
  • Posts: 241
  • Karma: +12/-0
    • View Profile
Re: Scroll-able Command Line Window
« Reply #1 on: January 26, 2024, 11:20:25 pm »

Dave Yeo

  • Hero Member
  • *****
  • Posts: 5095
  • Karma: +117/-1
    • View Profile
Re: Scroll-able Command Line Window
« Reply #2 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.

David Graser

  • Hero Member
  • *****
  • Posts: 966
  • Karma: +108/-0
    • View Profile
Re: Scroll-able Command Line Window
« Reply #3 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.

Dariusz Piatkowski

  • Hero Member
  • *****
  • Posts: 1354
  • Karma: +26/-0
    • View Profile
Re: Scroll-able Command Line Window
« Reply #4 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.