HP3000-L Archives

August 1998, Week 2

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:
Andreas Schmidt <[log in to unmask]>
Reply To:
Date:
Thu, 13 Aug 1998 18:53:28 +0200
Content-Type:
text/plain
Parts/Attachments:
text/plain (76 lines)
WARN:

WARN

     Sends an urgent message to jobs/sessions.

SYNTAX

          {@                 }
     WARN {[#]Jnn            }[;message]
          {[#]Snnn           }
          {[jsname,]user.acct}

but will write into a VPLUS mask.

Better is WARNF out of MPEX:
%WARNF


Syntax:   %WARNF userset [[;]text]

Examples: %WARNF ONLINE System going down soon; please log off.
          %WARNF @,MANAGER.@+@,MGR.@ System will be down tonight...
          %WARNF LDEV=113 Last chance to log off gracefully...
          %WARNF LDEV=DIALIN Please hang up soon, or be aborted.
          %WARNF ACCESSING=CUST.DB.PROD Please exit CUSTDB now...

%WARNF is just like %WARN except that it displays the message right over the
function keys (on most new HP terminals), rather than on the actual display
portion of the screen.  This makes it easy for you to send messages to people
without overwriting any of the data that they might have on their screen.  To
erase the message, users can simply press [RETURN].

Unlike the :TELL (or %TELL) command, %WARNF does not include any information
about who sent the message.  To avoid having to manually include your name (or
session number) in every %WARNF message you send, MPEX will prefix the message
with the contents of the variable MPEXWARNFPREFIX (if you %SETVAR it).  For
example, to prefix all %WARNF messages with "From Scott: ", you would do a

   %SETVAR MPEXWARNFPREFIX "From Scott: "

before you do any %WARNFs.  In fact, you may want to include this %SETVAR in
your MPEXMGR file (see "Specifying Commands To Be Executed Each Time MPEX Is
Entered" in the Running MPEX section of this manual).

%WARNF will not work on non-HP terminals, or on really old HP terminals (like
the 2621 or the 264x series) -- it will either display the message on the
normal part of the screen, with some garbage characters before it, or might
(for non-HP terminals) trigger some strange terminal-specific behavior.  Be
careful.

Best regards, Andreas Schmidt, CSC, Germany

(it seems that my posting early this European day was lost ...)





[log in to unmask] on 08/12/98 09:09:10 AM

Please respond to [log in to unmask]

To:   [log in to unmask]
cc:    (bcc: Andreas Schmidt/HI/CSC)
Subject:  message




Hi
How can I send message to any user who work in the block mode?
----------------------
Jacek Piskorz
[log in to unmask]

ATOM RSS1 RSS2