nv-l

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

2004-03-31 01:26:29
Subject: Re: [nv-l] Dialogs (ovxecho/xecho) and a nicely formatted message
From: Oliver Bruchhaeuser <oliver.bruchhaeuser AT de.ibm DOT com>
To: nv-l AT lists.us.ibm DOT com
Date: Wed, 31 Mar 2004 08:05:53 +0200

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 AT us.ibm DOT com>
Sent by: owner-nv-l AT lists.us.ibm DOT com

30.03.2004 22:17
Please respond to nv-l

       
        To:        nv-l AT lists.us.ibm DOT 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 AT us.ibm DOT com
Tivoli Software/IBM





Tuesday, March 30, 2004 3:02 PM
To: <nv-l AT lists.us.ibm DOT com>
cc:
From: "Jon Austin" <JAustin AT cms.hhs DOT 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>