OS2 World Community Forum

OS/2, eCS & ArcaOS - Technical => Utilities => Topic started by: Rick Smith on January 30, 2021, 11:25:38 pm

Title: Terminal scrolling
Post by: Rick Smith on January 30, 2021, 11:25:38 pm
Greetings,

This may be a dumb ? But is there a way so that I can scroll in a terminal when I want to see previous parts? Like binkd is always running but I may want to scroll back and have a look at something?

Regards

Rick
Title: Re: Terminal scrolling
Post by: Dave Yeo on January 31, 2021, 01:37:32 am
You could log everything and scroll back in an editor (not all will allow viewing an open file but some will).
Something like,
Code: [Select]
blinkd.exe 2>&1 | tee blinkd.log
will pipe stdout and stderr to tee.exe which will then both write it to a file and also to the console.
If you only want to scroll back a bit, you ca make the terminal have more lines, there's about a hundred line limit with 80 char lines,
Code: [Select]
mode co80,100
Title: Re: Terminal scrolling
Post by: roberto on January 31, 2021, 03:22:46 pm
You can test this program:
http://www.hypermake.de/archive/meshell.zip

saludos