Path: utzoo!utgpu!jarvis.csri.toronto.edu!rutgers!cs.utexas.edu!uunet!mcsun!sunic!bmc!kuling!irf From: irf@kuling.UUCP (Bo Thide') Newsgroups: comp.sys.hp Subject: HP Widgets execute() does not work on HP9000/300 HP-UX 6.5 Message-ID: <1217@kuling.UUCP> Date: 24 Oct 89 23:40:06 GMT Sender: news@kuling.UUCP Reply-To: irf@kuling.UUCP (Bo Thide') Distribution: comp.sys/hp,comp.windows.x Organization: Dept. of Computer Systems, Uppsala University, Sweden Lines: 22 I am working on an HP Widget based package on my 9000/370, trying to modify the translation table for a TextEdit widget. I would like to change Return from the default newline() to execute() in my program. Here is how I do it: XtTranslations transtable; static XtActionsRec actionsTable[] = { {"execute", execute}, }; static char defaultTranslations[] = "CtrlJ: execute()\n\ CtrlO: execute()\n\ CtrlM: execute()\n\ Return: execute()"; Code containing this code does not compile on the 370 (HP-UX 6.5). A simple 'nm x /usr/lib/libXw.a' on the 370 shows that 'Execute' is missing from that lib. Defining the same thing in an ../app_defaults file seems to work though. What is wrong here? My code or the lib? Any help would be much appreciated. Bo