nv-l
[Top] [All Lists]

Re: [nv-l] Dialogs (ovxecho/xecho) and a nicely formatted message

To: nv-l@lists.us.ibm.com
Subject: Re: [nv-l] Dialogs (ovxecho/xecho) and a nicely formatted message
From: Oliver Bruchhaeuser <oliver.bruchhaeuser@de.ibm.com>
Date: Wed, 31 Mar 2004 08:05:53 +0200
Delivery-date: Wed, 31 Mar 2004 07:26:30 +0100
Envelope-to: nv-l-archive@lists.skills-1st.co.uk
Reply-to: nv-l@lists.us.ibm.com
Sender: owner-nv-l@lists.us.ibm.com

Another "trick" is to make use of the fold command.
It controls the number of characters to display per line .... in this case 30:
/usr/OV/bin/ovxbeep "`echo A CRITICAL EVENT HAS OCCURRED PLEASE CHECK THE EVENT CARDS! | fold -s -w 30`"

Oliver



Brett Coley <bcoley@us.ibm.com>
Sent by: owner-nv-l@lists.us.ibm.com

30.03.2004 22:17
Please respond to nv-l

       
        To:        nv-l@lists.us.ibm.com
        cc:        
        Subject:        Re: [nv-l] Dialogs (ovxecho/xecho) and a nicely formatted message

       


xecho and ovxecho will honor newlines in their input data. From
the command line, this works ok for me, something similar should
work programatically as well.

/usr/OV/bin/ovxecho ' Danger
Will
Robinson
-----------------------------------------
Something bad happened!
-----------------------------------------
--- Bongo'

Regards,
Brett

bcoley@us.ibm.com
Tivoli Software/IBM





Tuesday, March 30, 2004 3:02 PM
To: <nv-l@lists.us.ibm.com>
cc:
From: "Jon Austin" <JAustin@cms.hhs.gov>
Subject: [nv-l] Dialogs (ovxecho/xecho) and a nicely formatted message




Working on automating a process around a NetView Server.


Process is going to require operating action/intervention, so I'm
looking to use xecho or ovxecho. My experience so far has indicated
that the message, iregardless of how it is formulated will display as
a
single line of text.


Anyone have any pointers on being able to format text in these tools?


Anyone have any substitutes they'd like to suggest otherwise???



Jon Austin


<Prev in Thread] Current Thread [Next in Thread>

Archive operated by Skills 1st Ltd

See also: The NetView Web