This is not a bug in aptitude, it's a bug in the underlying
toolkit cwidget. Basically KEY_DL (forward delete) is added
to the equivalence class of BACKSPACE and KEY_SDL (shifted
delete), which is obviously a mistake.
Patch is attached to this mail.
Cheers,
Samuel Fogh
*** keybindings.cc 2008-09-01 01:43:17.000000000 +0200
--- keybindings.cc.patched 2010-07-31 23:30:52.000000000 +0200
***************
*** 79,99 ****
std::vector<key> keys;
keys.push_back(key(KEY_ENTER, true));
keys.push_back(key(L'\r', false));
keys.push_back(key(L'\n', false));
make_equivalence_class(key_equivalence_classes, keys);
keys.clear();
keys.push_back(key(KEY_BACKSPACE, true));
- keys.push_back(key(KEY_DC, true));
keys.push_back(key(KEY_SDC, true));
keys.push_back(key(127, false)); // Empirically determined to
// be generated for backspace
// in some terminals.
make_equivalence_class(key_equivalence_classes, keys);
equivalence_classes_initialized = true;
}
}
--- 79,98 ----