nv-l
[Top] [All Lists]

Re: [NV-L] Motif Map Change

To: "nv list" <nv-l@lists.ca.ibm.com>
Subject: Re: [NV-L] Motif Map Change
From: Leslie Clark <lclark@us.ibm.com>
Date: Thu, 14 Sep 2006 13:17:26 -0400
Delivery-date: Thu, 14 Sep 2006 18:30:02 +0100
Envelope-to: nv-l-archive@lists.skills-1st.co.uk
List-help: <mailto:nv-l-request@lists.ca.ibm.com?subject=help>
List-id: Tivoli NetView Discussions <nv-l.lists.ca.ibm.com>
List-post: <mailto:nv-l@lists.ca.ibm.com>
List-subscribe: <http://lists.ca.ibm.com/mailman/listinfo/nv-l>, <mailto:nv-l-request@lists.ca.ibm.com?subject=subscribe>
List-unsubscribe: <http://lists.ca.ibm.com/mailman/listinfo/nv-l>, <mailto:nv-l-request@lists.ca.ibm.com?subject=unsubscribe>
Reply-to: Tivoli NetView Discussions <nv-l@lists.ca.ibm.com>
Sender: nv-l-bounces@lists.ca.ibm.com

Testing resend


Cordially,

Leslie A. Clark
IT Services Specialist, Network Mgmt
Information Technology Services Americas
IBM Global Services
(248) 552-4968 Voicemail, Fax, Pager


__________________

The menu selections on the Motif map are controlled by the files in /usr/OV/registration/C.

root:/home/root>cd /usr/OV/registration/C
root:/usr/OV/registration/C>grep Delete *
openmon:                "Delete GTM Objects..."     _T  f.action 'otdelobj';
openmon:        <80>    "Delete GTM Objects..."     _T  f.action 'otdelobj';
openmon:                 -commandTitle \"Delete GTM Objects\" \
ovw:        <100>   "Delete Map..."         _D      f.avail_maps;
ovw:        <100>   "Delete..."             _D      f.avail_snaps;
ovw:        <100>   "Delete Object"                 _D      f.menu 'Delete';
ovw:        <100>   "Delete Submap"                 _e      f.menu 'Delete Submap';
ovw:    Menu 'Delete Submap'
ovw:    Menu Delete
ovw:        <100>   "Delete"                _D      f.menu 'P_Menu_Delete';
ovw:    Menu P_Menu_Delete
ovw:        <100>   "Object..."             _O Ctrl<Key>O   f.menu 'P_Delete';
ovw:    Menu P_Delete
root:/usr/OV/registration/C>

Inside the ovw file, you see:

  /*
    **  Edit
    */

    MenuBar <100> "Edit" _E
    {
        <100>   "Add"                           _A      f.menu 'Add';
        <100>   "Create Submap..."              _r      f.new_submap;
        <100>   "Cut"                           _t      f.menu 'Cut';
        <100>   "Copy"                          _C      f.menu 'Copy';
        <100>   "Paste"                         _P      Ctrl<Key>P      f.paste;
        <100>   "Modify/Describe"               _M      f.menu 'Modify Description';
        <100>   "Hide Objects"                  _H      f.menu 'Hide';
        <100>   "Hidden Objects List..."        _L      f.list_hidden;
        <100>   "Show Hidden Objects"           _S      f.menu 'Show Hidden';
        <100>   "Delete Object"                 _D      f.menu 'Delete';
        <100>   "Delete Submap"                 _e      f.menu 'Delete Submap';
        <100>   "Select Background Picture..."  _B      f.submap_desc;
        <100>   "Show/Hide Labels"              _o      f.menu 'Label Menu';
    }

You can reorder these here. Then do 'ovw -verify' to check your syntax. Don't leave old copies of files in this directory, since all files under this structure are treated as registration files regardless of name. The changes will take effect the next time the map is opened.

Another suggestion, to avoid a favorite pitfall of mine:
Remove the picks that try to bring up a complete list of all submaps in the map. They freeze you up for ages. Those picks are the ones that invoke the action ' f.list_submaps'. You will see one under

 Menu 'Delete Submap'
    {
        <100>   "This Submap"           _T      f.delete_smap;
        <100>   "Any Submap..."         _A      f.list_submaps;
    }

and one under

 MenuBar <100> "View" _V
    {
        <100>   "Highlights"            _H      f.menu 'Highlights';
        <100>   "User Plane"            _U      f.menu 'User Plane';
        <100>   "Automatic Layout"      _A      f.menu 'Automatic Layout';
        <100>   "Redo Layout"           _R      f.redolayout;
        <100>   "Open Submap..."        _O      f.list_submaps;
        <100>   "Filter By Status"      _F      f.filter_submap;
        <100>   "Sort Submap By"        _B      f.sort_submap;
    }

No one needs to use those functions, but they are close to things you do use, and when hit accidentally, will make you think the system has hung.
I would just delete those lines, or comment them out with  /* .... */  

Cordially,

Leslie A. Clark
IT Services Specialist, Network Mgmt
Information Technology Services Americas
IBM Global Services
(248) 552-4968 Voicemail, Fax, Pager



Paul Stroud <nvladmin@gmail.com>
Sent by: nv-l-bounces@lists.ca.ibm.com

09/14/2006 10:56 AM
Please respond to
Tivoli NetView Discussions <nv-l@lists.ca.ibm.com>

To
nv-l@lists.ca.ibm.com
cc
Subject
[NV-L] Motif Map Change





I am resending for someone that cannot send! Thx!

Hi:
This is for netview 7.1.4 on linux. I need to move, for the motif menu,
where the menu pick "edit->delete from all maps" is located.  I thought
it was in ovw but there is no man page and page 98 of the Admin guide
doesn't help either.  I have already changed this on the java web console.
_______________________________________________
NV-L mailing list
NV-L@lists.ca.ibm.com
Unsubscribe:NV-L-leave@lists.ca.ibm.com
http://lists.ca.ibm.com/mailman/listinfo/nv-l (Browser access limited to internal IBM'ers only)

_______________________________________________
NV-L mailing list
NV-L@lists.ca.ibm.com
Unsubscribe:NV-L-leave@lists.ca.ibm.com
http://lists.ca.ibm.com/mailman/listinfo/nv-l (Browser access limited to 
internal IBM'ers only)
<Prev in Thread] Current Thread [Next in Thread>

Archive operated by Skills 1st Ltd

See also: The NetView Web