Amiga.org
Amiga computer related discussion => Amiga Software Issues and Discussion => Topic started by: XDelusion on June 22, 2005, 09:26:11 AM
-
I used to have:
run NIL> newmouse
in my startup-sequence file in order to auto launch my Serial Mouse.
In OS 3.9 that does not seem to work. Do I need to launch it another way now?
-
Well, if you want to run command called "NIL" and redirect the output to file "newmouse", that works just fine.
But, if you want to run command called newmouse and redirect all output to NIL: you should use something like:
run >nil: newmouse >nil:
-
Thank you!
-
could you not also do:
run <>nil: newmouse
?
-
That would work aswell.
-
> redirects output to the specified file
< redirects input from the specified file
<> redirects both to/from the specified file
nil: is a file system which trashes every output or gives no input.
run >nil: newmouse
is fully sufficient to detach newmouse from the CLI window.
Bye,
Thomas
-
@Thomas
AmigaOS 3.9 BB2 shell also implements the following:
*> foo redirect stderr output to file "foo"
*>> foo append stderr output to file "foo"
*>< send stderr output to stdout (to the same file)
These do NOT work with older shells however.
-
@Piru
That's good stuff. It's nice to see that you can now seperate stdout and stderr streams. Is there a list of other shell enhancements from BB2?
-
@Thomas, yes I always thought of it as amigas equivalent to /dev/null