Jan,

Gee ... I'm not aware of a -stdout switch under DOS.  Maybe I should get out 
the manual.

I just go C:>FOO >BAR.SUF, whereupon the next executable takes BAR.SUF as an 
input file.  If there's just a single executable, the output to the screen 
is redirected to a file using the same mechanism, and that allows me to 
peruse it at my leisure.

regards,

Richard Erlacher

----- Original Message ----- 
From: "Jan Waclawek" <[EMAIL PROTECTED]>
To: <sdcc-user@lists.sourceforge.net>
Sent: Saturday, August 30, 2008 3:14 AM
Subject: Re: [Sdcc-user] Quickstart document, was: Virus in 
SDCC-2.8.0-setup.exe - MD5 etc tutorial


>> > Under W9x, for me it was a challenge to find the --use-stdout switch as
>> > the "dosbox" there has no "scrollback" feature, and without this switch
>> > it's impossible to redirect the output into a file. This is not an 
>> > issue
>> > under WXP as you can scroll back the "dosbox".
>> >
>> Couldn't you simply redirect the output from one program to a file, then 
>> use
>> that file as input to the next program?  I do this sort of thing all the
>> time using batch files [...]
>
> Yes you can, as long as you use the mentioned --use-stdout switch 
> (otherwise most/all of the output goes to stderr, which is trickier to 
> redirect under WXP and next to impossible to redirect in W9x. Bothe stdout 
> and stderr go to console if not redirected.).
>
> Jan
>
> -------------------------------------------------------------------------
> This SF.Net email is sponsored by the Moblin Your Move Developer's 
> challenge
> Build the coolest Linux based applications with Moblin SDK & win great 
> prizes
> Grand prize is a trip for two to an Open Source event anywhere in the 
> world
> http://moblin-contest.org/redirect.php?banner_id=100&url=/
> _______________________________________________
> Sdcc-user mailing list
> Sdcc-user@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/sdcc-user 


-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
Sdcc-user mailing list
Sdcc-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/sdcc-user

Reply via email to