Subject: | |
From: | |
Reply To: | |
Date: | Wed, 6 Sep 1995 15:25:00 -0700 |
Content-Type: | text/plain |
Parts/Attachments: |
|
|
Duane wrote:
>as manager.sys
>--------------
>file x;temp
>showallocate > *x
>you get the showallocate display on your terminal, not in 'x', however the
>temp file 'x' has been created with eof=0, limit=10000.
From some of the earlier messages on a related subject, I'd surmise
that SHOWALLOCATE's output is generated using the PRINT intrinsic
while the CI's error messages are generated via printf/fprintf.
MANAGER.SYS is allowed to do this command, but its output is generated
by PRINT, which doesn't follow I/O redirection. The '>' operator
causes 'x' to be created empty, prior to the command's being executed.
As no I/O is redirected, it remains empty.
>as a user without 'op' capability
>---------------------------------
>you get nothing displayed on your terminal, but in 'x' is:
>showallocate
>THIS COMMAND REQUIRES SYSTEM SUPERVISOR (OP) CAPABILITY. (CIERR 955)
This user _isn't_ allowed to execute SHOWALLOCATE and the error
message is probably displayed via printf/fprintf which _does_ follow
the I/O redirection.
--
------------
Randy Medd
Telamon, Inc.
|
|
|