HP3000-L Archives

November 2004, 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:
donna garverick <[log in to unmask]>
Reply To:
[log in to unmask][log in to unmask]

Shawn Gordon
<shawn@thekompany To: [log in to unmask]
.com> cc:
Sent by: HP-3000 Subject: [HP3000-L] OT Re: [HP3000-L] Blatant disrespect for the
Systems international community
Discussion
<[log in to unmask]
TC.EDU> [...]41_3Nov200416:15:[log in to unmask]
Date:
Fri, 5 Nov 2004 08:58:02 -0800
Content-Type:
text/plain
Parts/Attachments:
text/plain (49 lines)
--- Paul Christidis <[log in to unmask]> wrote:

> The command file being executed out of the UDC 'inherits' the 'stdin'
> of the UDC (tempfile in your example).
>
> One way to still have the 'invoked' command files remain
> 'interactive' is
> to explicitly redirect their input to $stdin.  See below:
>
>         ...
>         file x=$stdin
>         INPUT _r5;prompt="Enter YES or NO: "   < *x
>         ...

or to borrow a line from jeff vance's private volume udc's:

          file pgtermin;dev=!hpldevin;acc=in

just a comment about the shutdown udc...

part of why i wrote the udc was to give my operators a way to do a
unattended shutdown.  they type in 'shutdown'....confirm it with a
reply (paranoia is our friend)...and then they can walk away from the
console to babysit the unix boxes (:-).  i realize that everyone's
needs are different so you may not care about this.       - d

=====
Donna Garverick     Sr. System Programmer
dgarverick -at- longs -dot- com
925-210-6631        Longs Drug Stores

Come, my friends, 'Tis not too late to seek a newer world.
Tho' much is taken, much abides; and tho'
We are not now that strength which in old days
Moved earth and heaven, that which we are, we are.
"Ulysses", A. Tennyson

>>>MY opinions, not Longs Drug Stores'<<<



__________________________________
Do you Yahoo!?
Check out the new Yahoo! Front Page.
www.yahoo.com

* To join/leave the list, search archives, change list settings, *
* etc., please visit http://raven.utc.edu/archives/hp3000-l.html *

ATOM RSS1 RSS2