VOGONS


First post, by Guest

User metadata

Hi, I'm running DOSBox v0.60 under Linux. I have a program that depends partly on the ability to redirect STDOUT to a file. That is, "C:\>PROG.EXE > output.txt". As far as I can tell, redirection is not working. Is it a problem with my installation, or is this feature not yet supported by DOSBox? If the latter, will it be added in the future? any idea when?

Thanks!

Reply 2 of 8, by icemann

User metadata
Rank Member
Rank
Member

Huh? Is all I have to say on this one.

Two stones, two crosses, the rest is just icing. - 7th Guest

Reply 3 of 8, by Snover

User metadata
Rank l33t++
Rank
l33t++

Be less confused.

Is it a problem with my installation, or is this feature not yet supported by DOSBox?
> Not supported yet.

If the latter, will it be added in the future?
> Yes.

any idea when?
> No.

Yes, it’s my fault.

Reply 4 of 8, by Guest

User metadata

Hi, I am running DosBox 0.63 and I cannot get redirection working in append mode. I checked the source and see that you do a check for append but then do nothing with this. Is it possible to get a fix for that?

Thanks,

Martin

Reply 5 of 8, by Qbix

User metadata
Rank DOSBox Author
Rank
DOSBox Author

append mode we didn't add yet.
If you want it good luck on coding it 😀

Water flows down the stream
How to ask questions the smart way!

Reply 6 of 8, by Guest

User metadata

I added the appen mode to the redirect. It now works in a bat file.

Now I still have some problem with redirection. I wanted to use the dosbox with an ancient compiler that works under DOS. The compiler part consists of 2 exe files. The first executable is a sort of parser application that creates a file that is inputed in the next exe file.

In DosBox I can see that the first exe is trying to redirect the input parameters to a file. The only thing is I just seam not capible to get these echo messages 🙁.

Do you have some hints for me?

Martin

Reply 7 of 8, by Qbix

User metadata
Rank DOSBox Author
Rank
DOSBox Author

not sure what you mean

dir |more is isnt' supported (the | isn't)

or do you want to see the contents of a file ? type filename ?

Water flows down the stream
How to ask questions the smart way!

Reply 8 of 8, by taiken7

User metadata
Rank Member
Rank
Member

Could this be refering to those akward device drivers list-of-lists STDIN/STDOUT/NUL etc?