[Cmake] ccmake on irix not allowing edits
Clint Miller
cmiller at tigerbyte.com
Mon Feb 17 00:49:23 EST 2003
Hi again -
I guess it's the value of the enter key under irix and the assumption
of the value. The patch below against 1.7 head fixes this behavior
but I'm new to this code so don't know what issues of state it may
raise elsewhere:
--- cmCursesStringWidget.cxx Sun Feb 16 23:05:16 2003
+++ cmCursesStringWidget.cxx.hacked Sun Feb 16 23:11:02 2003
@@ -75,7 +75,7 @@
FORM* form = fm->GetForm();
// 10 == enter
- if (!m_InEdit && ( key != 10 ) )
+ if (!m_InEdit && ( key != 10 && key != KEY_ENTER ) )
{
return false;
}
This works for me and mine here. Hope this may help others too.
- Clint Miller
On Sunday 16 February 2003 22:32, Clint Miller wrote:
> Running ccmake on irix 6.5.14 I'm unable to press enter to edit a
> value. I've tried the precompiled binary from the cmake site in
> both .Z and .gz form. Then I compiled the 1.6 source and the 1.7
> source from CVS. I've also tried both sets of source linked with
> the /usr/lib/libcurses.so and then also tried
> /usr/freeware/lib32/libncurses.so to no avail. The binary values
> work fine but pressing enter to edit a string value just doesn't
> work... not like it does under linux.
>
> Any hints? Am I being stupid or do I need to start hacking...?
> Seems like a really simple matter. It's also very uniform: all
> versions of ccmake with both versions of the curses lib... hmmm.
>
> I've looked on the list and seen that someone else had this problem
> but I've not see a resolution.
>
> Please show me the error of my ways.
>
> - Clint Miller
> _______________________________________________
> Cmake mailing list
> Cmake at public.kitware.com
> http://public.kitware.com/mailman/listinfo/cmake
More information about the CMake
mailing list