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
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> |
---|---|---|
|
Previous by Date: | Antwort: RE: [nv-l] web console [FinanzIT: Viruscheck][Virus checked byFinanzIT], Swen . Jedlicka |
---|---|
Next by Date: | [nv-l] snmpCollect "bang" files, Barr, Scott |
Previous by Thread: | Re: [nv-l] Dialogs (ovxecho/xecho) and a nicely formatted message, Brett Coley |
Next by Thread: | [nv-l] Script data into event window, Delaire, Patrick |
Indexes: | [Date] [Thread] [Top] [All Lists] |
Archive operated by Skills 1st Ltd
See also: The NetView Web