EPICS Controls Argonne National Laboratory

Experimental Physics and
Industrial Control System

1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  <20072008  2009  2010  2011  2012  2013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024  Index 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  <20072008  2009  2010  2011  2012  2013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024 
<== Date ==> <== Thread ==>

Subject: Re: fedora core 7 medm (was >> Re: MEDM compile - update :)
From: Robert Soliday <[email protected]>
To: Andrew Johnson <[email protected]>
Cc: "Bertrand H.J. Biritz" <[email protected]>, [email protected]
Date: Mon, 15 Oct 2007 20:35:55 -0500
You can get the latest CVS version of medm to compile and run without segfaulting on Fedora 7 with lesstif and lesstif-devel with the following changes:

cvs diff: Diffing .
cvs diff: Diffing medm
Index: medm/medm.c
===================================================================
RCS file: /net/phoebus/epicsmgr/cvsroot/epics/extensions/src/medm/medm/medm.c,v
retrieving revision 1.165
diff -r1.165 medm.c
457c457
<     { "Save All",  &xmPushButtonGadgetClass, 'l', "Ctrl<Key>L", NULL, NULL,
---
>     { "Save All",  &xmPushButtonGadgetClass, 'l', "Ctrl<Key>L", "Ctrl+L", NULL,
501c501
< { "Overview",  &xmPushButtonGadgetClass, 'O', "Ctrl<key>H", NULL, NULL,
---
> { "Overview",  &xmPushButtonGadgetClass, 'O', "Ctrl<key>H", "Ctrl+H", NULL,
cvs diff: Diffing medm/help
cvs diff: Diffing medm/notes
cvs diff: Diffing printUtils
cvs diff: Diffing xc
Index: xc/Matrix.c
===================================================================
RCS file: /net/phoebus/epicsmgr/cvsroot/epics/extensions/src/medm/xc/Matrix.c,v
retrieving revision 1.16
diff -r1.16 Matrix.c
43a44
> #ifndef LESSTIF_VERSION
44a46
> #endif
Index: xc/WheelSwitch.c
===================================================================
RCS file: /net/phoebus/epicsmgr/cvsroot/epics/extensions/src/medm/xc/WheelSwitch.c,v
retrieving revision 1.6
diff -r1.6 WheelSwitch.c
231a232,234
> #ifdef LESSTIF_VERSION
> Widget XmGetTabGroup();
> #else
232a236
> #endif
2687c2691,2696
< 
---
> #ifdef LESSTIF_VERSION
>         if(_XmGetFocusPolicy(widget) == XmEXPLICIT
>           && widget != XmGetTabGroup(widget)) {
>           (void)XmProcessTraversal(widget, XmTRAVERSE_CURRENT);
>       }
> #else
2691a2701
> #endif
2722a2733,2738
> #ifdef LESSTIF_VERSION
>         if(_XmGetFocusPolicy(widget) == XmEXPLICIT
>           && widget != XmGetTabGroup(widget)) {
>           (void)XmProcessTraversal(widget, XmTRAVERSE_CURRENT);
>       }
> #else
2726a2743
> #endif
2832a2850,2855
> #ifdef LESSTIF_VERSION
>     if(_XmGetFocusPolicy(widget) == XmEXPLICIT
>       && widget != XmGetTabGroup(widget)) {
>       (void)XmProcessTraversal(widget, XmTRAVERSE_CURRENT);
>     }
> #else
2836a2860
> #endif


I have opened two complex medm screens with this and it displayed them properly. However I have not interacted with the widgets so I don't know if they behave properly under lesstif.

--Bob


----- Original Message -----
From: Andrew Johnson <[email protected]>
Date: Monday, October 15, 2007 2:06 pm
Subject: Re: fedora core 7 medm (was >> Re: MEDM compile - update :)

> Bertrand H.J. Biritz asked:
> 
> > Is there any word on if/when MEDM will work with lesstif?
> 
> APS no longer has any developer(s) permanently tasked with 
> maintaining MEDM, although we will assign someone to fix any 
> serious bugs that arise and to keep it building on the latest OS 
> releases.  We only use MEDM with Motif or OpenMotif, and our 
> management won't allow us to put any effort into making it work 
> with Lesstif.  If someone wants to work out what needs changing 
> we'd be happy to review and possibly merge any patch files, 
> although personally I suspect the problems are all inside Lesstif, 
> not in MEDM (we won't accept patches that cause the Motif build to 
> break).
> I'm not sure it's worth doing personally (sorry).
> 
> - Andrew
> 

References:
Re: fedora core 7 medm (was >> Re: MEDM compile - update :) Bertrand H.J. Biritz
Re: fedora core 7 medm (was >> Re: MEDM compile - update :) Andrew Johnson

Navigate by Date:
Prev: Re: which ca_get failed? Jeffrey O. Hill
Next: Installing EDM on OS X 10.4.10 Bertrand H.J. Biritz
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  <20072008  2009  2010  2011  2012  2013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024 
Navigate by Thread:
Prev: Re: fedora core 7 medm (was >> Re: MEDM compile - update :) Noboru Yamamoto
Next: genSub Szalata, Zenon M.
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  <20072008  2009  2010  2011  2012  2013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024 
ANJ, 10 Nov 2011 Valid HTML 4.01! · Home · News · About · Base · Modules · Extensions · Distributions · Download ·
· Search · EPICS V4 · IRMIS · Talk · Bugs · Documents · Links · Licensing ·