Article View: comp.os.os2.apps
Article #5053Re: EPM problem w/ MYCNF.E (MENU_LIMIT creates Error Showing Menu)
From: Larry Margolis
Date: Sun, 10 Oct 1993 21:10
Date: Sun, 10 Oct 1993 21:10
33 lines
2954 bytes
2954 bytes
In <2948ae$77j@mailgzrz.TU-Berlin.DE>, forster@sispa.chem.tu-berlin.de (Peter Forster) writes: [...] >and compiled with 'etpm epm'. When I start epm, everything looks normal at >first, but when I try to set 'Ring Enabled' in the Options->Preferences menu, >the message line displays 'Unknown command "ring_toggle"', and there is no >entry 'Add file to ring' in the File pulldown. [...] > >Can anybody tell me what I'm doing wrong (and how to do it right) You also need to recompile EXTRA. The menus are built from code in EXTRA.EX (via STDMENU.E), while most of the commands that the menus execute are included in EPM.EX (much of it from STDCTRL.E). Since you didn't have RING_OPTIONAL = 1 in your MYCNF.E, EPM.EX didn't include the ring_toggle command; since you didn't recompile Extra, the menu still included an entry that attempts to use that command. You probably should take a look at EPMGCNF.SMP, which is the MYCNF.E used to build the externally-distributed *.ex files, and at OS2TOOLS.CFG, which is the MYCNF.E used to build the *.ex files distributed within IBM. You might want to take one of these as a base, and then add or subtract things. Whatever MYCNF.E you wind up with, it would be a good idea to run MAKEMACS.CMD to rebuild *all* the .ex files the first time. That ensures everything's in synch. After that, if you make a change, you can recompile only the affected ex file. (E.g., the distributed .ex files were compiled with WANT_DBCS = 1 in the MYCNF.E; if you recompile EPM & EXTRA without this, you'll get an error from DRAW if you didn't recompile that as well, because the definition of the Left key calls a DBCS routine if DRAW.EX was compiled with WANT_DBCS = 1.) -- Larry Margolis, MARGOLI@YKTVMV (Bitnet), margoli@watson.IBM.com (Internet)
Technical Details
Message-ID:
<CEp9Gr.G7w@yktnews.watson.ibm.com>Path:
arc1-ca.pugleaf.net!gmd.de!xlink.net!sol.ctr.columbia.edu!usc!cs.utexas.edu!uunet!newsgate.watson.ibm.com!hawnews.watson.ibm.com!yktnews.watson.ibm.com!The-Village!waterbedReferences:
<2948ae$77j@mailgzrz.TU-Berlin.DE>Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 1044c2,90074078b740f5ba X-Google-Attributes: gid1044c2,public X-Google-Thread: 10cd94,90074078b740f5ba X-Google-Attributes: gid10cd94,public X-Google-Thread: 112d6c,90074078b740f5ba X-Google-Attributes: gid112d6c,public X-Google-ArrivalTime: 1993-10-10 14:47:35 PST Newsgroups: comp.os.os2.apps,comp.os.os2.misc,bit.listserv.os2-l Path: arc1-ca.pugleaf.net!gmd.de!xlink.net!sol.ctr.columbia.edu!usc!cs.utexas.edu!uunet!newsgate.watson.ibm.com!hawnews.watson.ibm.com!yktnews.watson.ibm.com!The-Village!waterbed From: margoli@watson.IBM.com (Larry Margolis) Subject: Re: EPM problem w/ MYCNF.E (MENU_LIMIT creates Error Showing Menu) Sender: news@yktnews.watson.ibm.com (NNTP News Poster) Message-ID: <CEp9Gr.G7w@yktnews.watson.ibm.com> Date: Sun, 10 Oct 1993 21:10:03 GMT Lines: 33 Reply-To: margoli@watson.IBM.com (Larry Margolis) Disclaimer: This posting represents the poster's views, not necessarily those of IBM. References: <2948ae$77j@mailgzrz.TU-Berlin.DE> Nntp-Posting-Host: the-village.watson.ibm.com Organization: The Village Waterbed X-Newsreader: IBM NewsReader/2 v1.00