When I was about to paste something to a buffer, it crashes with the backtrace given below. I reported the same problem as Ubuntu bug report # 125315 awhile ago ( https://bugs.launchpad.net/ubuntu/+source/fte/+bug/125315 ). Please fix that on efte.
In efte source tree, the problem lies in routine EBuffer::Redraw() -- here:
File: e_redraw.cpp
461 char num[10];
462
463 MoveStr(B, 0, W->Cols, s, SColor, W->Cols);
464 sprintf(num, " %s %d", CCharStr, ModelNo);
465 MoveStr(B, W->Cols - strlen(num), W->Cols, num, SColor, W->Cols);
466
Increase "num[10]" to "num[32]" and it would stay away from the
problem. Of for safer programming, change sprintf to use snprintf.
Wirawan
Backtrace dumped during crash