Welcome, Guest. Please
login
or
register
.
Forums
Forums
Board
Topic
Home
Today's Posts
Gallery
Login
Register
Amiga.org
»
Amiga computer related discussion
»
Amiga Software Issues and Discussion
»
Does run NIL> xxx still work in OS 3.9?
« previous
next »
Print
Pages: [
1
]
Go Down
Author
Topic: Does run NIL> xxx still work in OS 3.9? (Read 2580 times)
Description:
0 Members and 1 Guest are viewing this topic.
XDelusion
Alien Breeder
Hero Member
Join Date: Mar 2002
Posts: 5089
Does run NIL> xxx still work in OS 3.9?
«
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?
Logged
Earth has a lot of things other folks might want... like the whole planet. And maybe these folks would like a few changes made, like more carbon dioxide in the atmosphere and room for their way of life. - William S. Burroughs
Piru
\' union select name,pwd--
Hero Member
Join Date: Aug 2002
Posts: 6946
Re: Does run NIL> xxx still work in OS 3.9?
«
Reply #1 on:
June 22, 2005, 09:38:11 AM »
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:
Code:
[Select]
run >nil: newmouse >nil:
Logged
XDelusion
Alien Breeder
Hero Member
Join Date: Mar 2002
Posts: 5089
Re: Does run NIL> xxx still work in OS 3.9?
«
Reply #2 on:
June 22, 2005, 11:38:23 AM »
Thank you!
Logged
Earth has a lot of things other folks might want... like the whole planet. And maybe these folks would like a few changes made, like more carbon dioxide in the atmosphere and room for their way of life. - William S. Burroughs
lorddef
Hero Member
Join Date: Apr 2002
Posts: 1146
Re: Does run NIL> xxx still work in OS 3.9?
«
Reply #3 on:
June 22, 2005, 01:30:19 PM »
could you not also do:
run <>nil: newmouse
?
Logged
Restraining orders are just another way of saying I love you!
Vincent
Hero Member
Join Date: Dec 2002
Posts: 3895
Re: Does run NIL> xxx still work in OS 3.9?
«
Reply #4 on:
June 22, 2005, 01:57:49 PM »
That would work aswell.
Logged
Xbox360
"Oh no. Everytime you turn up something monumental and terrible happens.
I don\'t think I have the stomach for it." - Raziel
Thomas
Hero Member
Join Date: Jun 2002
Posts: 3396
Country:
Thanked: 22 times
Re: Does run NIL> xxx still work in OS 3.9?
«
Reply #5 on:
June 22, 2005, 03:12:02 PM »
> 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
Logged
Email:
thomas-rapp@web.de
Home:
thomas-rapp.hier-im-netz.de
Piru
\' union select name,pwd--
Hero Member
Join Date: Aug 2002
Posts: 6946
Re: Does run NIL> xxx still work in OS 3.9?
«
Reply #6 on:
June 22, 2005, 03:20:47 PM »
@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.
Logged
adolescent
Hero Member
Join Date: Sep 2003
Posts: 3056
Re: Does run NIL> xxx still work in OS 3.9?
«
Reply #7 on:
June 22, 2005, 07:09:55 PM »
@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?
Logged
Time to move on. Bye Amiga.org.
lorddef
Hero Member
Join Date: Apr 2002
Posts: 1146
Re: Does run NIL> xxx still work in OS 3.9?
«
Reply #8 on:
June 22, 2005, 10:57:03 PM »
@Thomas, yes I always thought of it as amigas equivalent to /dev/null
Logged
Restraining orders are just another way of saying I love you!
Print
Pages: [
1
]
Go Up
« previous
next »
Amiga.org
»
Amiga computer related discussion
»
Amiga Software Issues and Discussion
»
Does run NIL> xxx still work in OS 3.9?
There was an error while thanking
Thanking...