SCOUG-Programming Mailing List Archives
Return to [ 06 |
March |
2000 ]
<< Previous Message <<
>> Next Message >>
Content Type: text/plain
On Mon, 06 March 2000, Peter Skye wrote:
>
> dallasii@kincyb.com wrote:
> >
> > The thing in my mind that defines UNIX at the command line
> > prompt is that each stage in a pipe occurs as a process
> > that happens in parallel to the other stages of the pipe.
> >
> > As far as I know, this is not the case for all versions of
> > DOS, OS/2, and any products from M$.
>
> OS/2 parallels its command line "pipes" - I believe it's documented
> (don't remember where) and the command line filters I run seem to act
> accordingly.
>
> I just tested the following on a large partition and the output appears
> instantly, hence there's no "temporary" file on disk:
>
> cd \
> dir /s | find " "
>
> The above starts in the root directory and does a DIR list of every file
> on the drive. The FIND simply copies every line, since every line
> contains at least one space.
You're right. You can't trust that guy at
dallasii@kincyb.com. :-)
I've checked it on my NT ( :-( )
workstation, with the same results as you.
I'm trying to remember the circumstances that
convinced me that it was like DOS, something to do
with logging ppp.exe as I recall.
I based my rant on some experience I had though, it
wasn't pure pomposity that drove me on.
>
> DOS and DOS-based versions of Windows use a temporary file for a pipe.
> _____
>
> > Also the process control seems to be an area that OS/2
> > doesn't quite have all the fine points that UNIX has.
> > The little 'go' utility seems to provide rough
> > equivalants to 'kill', 'ps' and 'fg' (restart in
> > foreground), but what to replace the suspend character
> > '^Z' and 'bg' (restart in background) with I don't
> > know - maybe someone else has some suggestions?
>
> Clueless here. I don't know anything about go, kill, ps, fg, bg and the
> ^Z suspend character. Are these all Unix commands?
Yeah. 'kill' sends a signal, frequently the infamous
-9, unconditional kill the process.
'ps' lists current processes.
^Z suspends the current job at the console.
I don't use them too much, but 'bg' and 'fg'
restart or move a job into background or
foreground when suspended or in background.
From what little I know, the ^Z and 'bg'
pair are the ones I don't see any immediate
equivalence in OS/2 to.
I think did impliment a '&',
which sends something from the prompt imediately
into background. Example:
type * >> monster.file & # this would go into
background immediately, you come right back to the
prompt.
'go.exe' was a little OS/2 utility that can do
things like list processes, jump to them from the
command line, and kill jobs.
I think the consensus on comp.lang.rexx a while back
was that it was probably the easiest way to deal
with these things, should be available on Hobbes.
I should of suggested it the other month when
they were compiling the list of favorite tools.
I take it for granted, it probably should come
with OS/2.
>
> Good info, thanks.
> _____
>
>
> - Peter
>
>
Regards
Dallas E. Legan II / leganii@surfree.com / dallasii@kincyb.com
_____________________________________________________
The freedom to choose your own Internet access price.
Surfree.com - got to be free
http://www.surfree.com
=====================================================
To unsubscribe from this list, send an email message
to "steward@scoug.com". In the body of the message,
put the command "unsubscribe scoug-programming".
For problems, contact the list owner at
"rollin@scoug.com".
=====================================================
<< Previous Message <<
>> Next Message >>
Return to [ 06 |
March |
2000 ]
The Southern California OS/2 User Group
P.O. Box 26904
Santa Ana, CA 92799-6904, USA
Copyright 2001 the Southern California OS/2 User Group. ALL RIGHTS
RESERVED.
SCOUG, Warp Expo West, and Warpfest are trademarks of the Southern California OS/2 User Group.
OS/2, Workplace Shell, and IBM are registered trademarks of International
Business Machines Corporation.
All other trademarks remain the property of their respective owners.
|