Title: | TME 10 NetView and related products cts |
Notice: | Bugs-12; Kits-9; ECOs-20 |
Moderator: | TUXEDO::MINTZ LL |
Created: | Tue Aug 24 1993 |
Last Modified: | Fri Jun 06 1997 |
Last Successful Update: | Fri Jun 06 1997 |
Number of topics: | 2257 |
Total number of notes: | 7838 |
I have an application that is called from the map and produces output on stdout. I want to see this output. If I use xnmappmon to run the application, OVwInit returns an error. I can't pipe the output from my application into xnmappmon, because xnmappmon can't accept input from stdin. (Why not?) Wrapping my application in a shell script to capture the output and use xnmappmon -cmd cat is a possible workaround, but when I try that xnmappmon runs, but the window never appears on the screen, even though I can see the process with ps. (Putting something like /usr/bin/X11/xlogo on either side xnmappmon makes the X logo display, but xnmappmon refuses to.) How can I do the equivalent of "application | xnmappmon"? PJDM
T.R | Title | User | Personal Name | Date | Lines |
---|---|---|---|---|---|
2218.1 | ZOTTO::ENYA | Yoshiharu Enya, Tokyo Japan | Wed Feb 26 1997 20:03 | 10 | |
> How can I do the equivalent of "application | xnmappmon"? If your application dose really just output characters to stdout(or stderr), Why do you simply run like below? % xnmappmon -cmd application -- Yoshiharu Enya | |||||
2218.2 | BIGUN::nessus.cao.dec.com::Mayne | Churchill's black dog | Wed Feb 26 1997 20:21 | 23 | |
Because, as I said in .0: > If I use xnmappmon to run the application, OVwInit returns an error. In particular, I get an "OVW not running" error. Another problem with xnappmon. (This is on PNV 4.1C, DU 4.0A) If I have a script as follows: #!/bin/sh /usr/OV/bin/xnmappmon -cmd /usr/bin/ls -l / /usr/OV/bin/xnmappmon -cmd /usr/bin/ls -l /var and I create a registration file for this script and call it from a menu, the first invocation of xnmappmon displays correctly, but the second one doesn't. The process starts, but it just sits there and doesn't do anything. The combination of not being able to pipe to xnmappmon, and this problem, makes my application rather awkward to use. Any fixes/workarounds? PJDM |