OS2World OLD-STATIC-BACKUP Forum

OS/2 - Technical => Programming => Topic started by: millese on 2010.11.23, 04:06:49

Title: Newbie Queston
Post by: millese on 2010.11.23, 04:06:49
I have a newbie question, today I was using the RMVIEW command from and os2 prompt and most of the data scrolled out of the screen. I have used the /p with dir command to page through data, is there a similar command for the return of requests like rmview? Thank you!
Title: Re: Newbie Queston
Post by: Andi on 2010.11.23, 09:13:29
rmview |more

rmview >temp.txt to output into a file for reading with a text editor.
Title: Re: Newbie Queston
Post by: jep on 2010.11.23, 09:37:46
You can also use:

RMVIEW | MORE

so you have to press enter between every "page" that appear.

//Jan-Erik
Title: Re: Newbie Queston
Post by: millese on 2010.11.24, 04:59:36
You guys are awesome! Thanks!
Title: Re: Newbie Queston
Post by: RobertM on 2010.11.24, 18:12:27
And, one more tip. Virtually any program output that can be piped through "MORE" can also be written to a disk file for later review...

Thus doing this:
RMVIEW >RmViewOutput.txt

Will create a file named "RmViewOutput.txt" in the current directory with the output of RMView (you won't see any of the output on the screen, and can simply open "RmViewOutput.txt" in any text editor when RmView returns you to the commandline).

Best,
Robert