It's not a secret anymore!
The moose likes Beginning Java and the fly likes DOS page scrolling Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Beginning Java
Bookmark "DOS page scrolling" Watch "DOS page scrolling" New topic

DOS page scrolling

paul lalor

Joined: Feb 17, 2003
Posts: 2
Could someone please help.
When compiling several classes simultaneously, how do you stop the DOS screen from scrolling to see the complete error when you have more than a page full.
Help appreciated, thanks
nishwas mahindra
Ranch Hand

Joined: Dec 23, 2002
Posts: 104
Change the properties of command window.
If you click in the left top corner of window menu pops up.Check out the window height property in that.
Dirk Schreckmann

Joined: Dec 10, 2001
Posts: 7023
Welcome to JavaRanch, paul!
I don't think you could easily stop the command prompt window from scrolling as more text is displayed to it.
You might have success redirecting the compiler errors to a text file with a command such as
javac 2> errors.txt
(This works on Windows XP.)
Good luck, pardner. I hope to see you 'round the Ranch!

[How To Ask Good Questions] [JavaRanch FAQ Wiki] [JavaRanch Radio]
Marilyn de Queiroz

Joined: Jul 22, 2000
Posts: 9059
If you're using Win9x, there isn't really much you can do. You could use a text editor like TextPad or UltraEdit and capture the output within the editor, but Win9x itself is very limited in this area.

"Yesterday is history, tomorrow is a mystery, and today is a gift; that's why they call it the present." Eleanor Roosevelt
paul lalor

Joined: Feb 17, 2003
Posts: 2
Thanks for the replies
Bipin, did you realise I meant the dos window??
Dirk tried your idea...doesn't work on win 98
using editpad. Thanks for the suggestion
Very green when it comes to java
Marilyn, not entirely sure I follow...Thanks for the suggestions
Michael Morris
Ranch Hand

Joined: Jan 30, 2002
Posts: 3451
Hi Paul,
Get TextPad here:
It is a terrific Windows editor specifically for programmers. You can launch the java compiler, applet viewer and java interpreter directly from it. You will not lose any output from the compiler with it.
Hope this helps,
Michael Morris

Any intelligent fool can make things bigger, more complex, and more violent. It takes a touch of genius - and a lot of courage - to move in the opposite direction. - Ernst F. Schumacher
I agree. Here's the link:
subject: DOS page scrolling
jQuery in Action, 3rd edition