HP3000-L Archives

September 1995, Week 1

HP3000-L@RAVEN.UTC.EDU

Options: Use Monospaced Font
Show Text Part by Default
Show All Mail Headers

Message: [<< First] [< Prev] [Next >] [Last >>]
Topic: [<< First] [< Prev] [Next >] [Last >>]
Author: [<< First] [< Prev] [Next >] [Last >>]

Print Reply
Subject:
From:
Randy Medd <[log in to unmask]>
Reply To:
Randy Medd <[log in to unmask]>
Date:
Wed, 6 Sep 1995 15:25:00 -0700
Content-Type:
text/plain
Parts/Attachments:
text/plain (33 lines)
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.

ATOM RSS1 RSS2