bob mcgregor wrote:
> If you run (interactive)
> run nettool.net;info="config;netdir;exit;exit"
>
> it will list the node name along with the IP address. The node name is the
> Device name for the network printers.
> ____________________________________________________________A couple more
> questions:
>
> 2.) NMMGR appears to be a block mode program requiring a human to press
> keys. I am looking for a means of of entering a single command from the
> colon prompt (call it LISTDEVS or some such) which will display a list of
> device numbers, devices classes and internet addresses. How can I get the
> data from NMMGR programatically?
a little known feature of nmmgr is that it *will* run interactively (non-block
mode). if you equate 'nmmgrcmd' to <whatever> (and '$stdinx' works well for
fingers-to-keyboard, eyeballs-to-screen times :-) it won't go into block mode.
you can read all about it in 'using the node management services (nms)
utilities' manual. - d
--
Donna Garverick Sr. System Programmer
925-210-6631 [log in to unmask]
"Unix _is_ user friendly.
It's just very selective about who its friends are.
And sometimes even best friends have fights."
>>>MY opinions, not Longs Drug Stores'<<<