Skip to content
View in the app

A better way to browse. Learn more.

MSFN

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

[Solved] command.com with a scrollbar

Featured Replies

Hello,

I’m looking for how to add a scrollbar to the program “command.com” (or similar program with a scrollbar)

I need this feature to view errors messages generated on the execution of my java code, I tried to make a redirection of stdout to a file but it doesn't work.

:huh:

Edited by StillOn98


Maybe this will display the data one screen at a time?

your command | more
  • Author

Thank you for replying, but it doesn't work.

I found this programme, but it’s a shareware

200801fb3.png

WinOne

I tried to make a redirection of stdin to a file but it doesn’t work.

I suppose you mean stdout. Did you try '| more'?

I need this feature to view errors messages generated on the execution of my java code, I tried to make a redirection of stdout to a file but it doesn't work.

Java may be writing to the console via BIOS INT 10H...

Even DOS text services were implemented this way.

What you need is a program that traps all input sent to INT 10H and redirects it to a file.

Then, whatever is written to the console will end up in the file.

Unless Java writes directly to the video regen buffer... But I doubt it'd be implemented this way.

HTH.

  • Author
Java may be writing to the console via BIOS INT 10H...

Even DOS text services were implemented this way.

What you need is a program that traps all input sent to INT 10H and redirects it to a file.

Then, whatever is written to the console will end up in the file.

Unless Java writes directly to the video regen buffer... But I doubt it'd be implemented this way.

HTH.

But, i don’t think that i’m able to code this in asm. :wacko:

Java may be writing to the console via BIOS INT 10H...

Even DOS text services were implemented this way.

What you need is a program that traps all input sent to INT 10H and redirects it to a file.

Then, whatever is written to the console will end up in the file.

Unless Java writes directly to the video regen buffer... But I doubt it'd be implemented this way.

HTH.

But, i don’t think that i’m able to code this in asm. :wacko:

Did you try stderr from the given link and it did not work for you? :unsure:

jaclaz

Java may be writing to the console via BIOS INT 10H...

Even DOS text services were implemented this way.

What you need is a program that traps all input sent to INT 10H and redirects it to a file.

Then, whatever is written to the console will end up in the file.

Unless Java writes directly to the video regen buffer... But I doubt it'd be implemented this way.

HTH.

But, i don't think that i'm able to code this in asm. :wacko:

Look out for it. I bet someone already did it in the good old DOS times. Patience and Google together perform marvelous things...

Edited by dencorso

  • 2 weeks later...
  • Author
So did you find this? Really lame, since program for this was in thread you originally asked.

blindzr9.png

And it is what this program in the screenshot ?

I have tested with the thread which you gived but I didn’t have this result !

Can you give the link to download it ?

Output from Java programs can't be redirected in 9x, something about the way System.out works.

However, rather than trying to hack command, just something like this in any class loaded in your program's startup:

static {
try{
System.setOut(new java.io.PrintStream("out.txt"));
System.setErr(new java.io.PrintStream("err.txt"));
} catch(Exception e) {}
}

Alternately, you can create a small OutputStream or PrintStream subclass that outputs to a list in a swing window or similar(if you need the results in real time). Maybe even one that adds a timestamp to every line. It will be infinitely more effective than getting a different console window either way.

  • Author
System.setErr(new java.io.PrintStream("err.txt"));

Think you very match SlugFiller for the solution

:)

  • 5 weeks later...
  • Author

ColorConsole 1.51 : ColorConsole brings a little color to your black and white world of Windows console .

One can save many hand moves and also time!

An installation of ColorConsole is not required

and can be executed easily from the desktop.

ColorConsole1.png

Features:

Favorites commands

Export to HTML and RTF

Copy,Paste,Cut...

Changeable font style and color

One times Console always Console;)!

ColorConsole2.png

http://www.softwareok.de/?seite=Software/C...anguage=english

download : http://www.softwareok.de/Download/ColorConsole.zip 71.9 KB

Create an account or sign in to comment

Recently Browsing 0

  • No registered users viewing this page.

Account

Navigation

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.