Есть Fedora 8 и из под X в терминале запускается mc utf8 (2007-06-04-22). Проблема в том, что в mcedit не работает Shift (выделение)... если же запустить mc просто из под консольки, такой проблемки уже не наблюдается... shift работает.
Присоветуйте, куда копать?
PS: про F3,F5,F6,F8 знаю, но хочется все делать более привычным способом lol
ОК, всем спасибо, в чем дело было разобрался, но легче от этого пока не стало.
Под кедами я использовал Konsole, а там сочетания клавиш Shift+Left/Right служат для переключения между консолями. Соответственно, в mcedit использовать их не получается.
Кстати, под xterm -ом нет никаких проблем.
Хм... может попытаться пересобрать консольку заменив коды клавиш???
That's not MC problem, that's XTerm feature - it will paste mouse selection you've made while holding Shift. You can use Shift-F5 instead. To enable Shift-Insert in MC, run XTerm in such way:
If you want your MC to look like old text-mode console (fullscreen and big fonts), run this:
"kstart -fullscreen xterm -bg black -fg green -font -misc-fixed-medium-r-normal--20-200-75-75-c-100-iso10646-1 -xrm 'XTerm*VT100*translations: #override \nShift <KeyPress> Insert:insert-eight-bit()' -e 'sleep 0.2 && mc'" (supposedly you have KDE, sleep required for kstart to have time to maximize window).
> Для Konsole:
------- Additional Comment #3 From Gary Cramblitt 2003-10-02 06:03 ------- The problem is that konsole is using the shifted arrow keys for other functions. For example, <Shift-Up> and <Shift-Down> are used to scroll the konsole history. <Shift-Right> and <Shift-Left> are used to switch sessions. To solve this problem, do the following:
1. Go to KDE Control Center | Keyboard Shortcuts and make sure these keys are not assigned as shortcuts.
2. Copy /usr/share/apps/konsole/default.Keytab to ~/.kde/share/apps/konsole/mytab.keytab
3. Edit mytab.keytab. Change the "Keyboard" line to something like
keyboard "XTerm (mytab)"
Add the following lines below the cursor keys section.
# shifted cursor keys key Up +Shift : "\EO2A" key Down +Shift : "\EO2B" key Right +Shift : "\EO2C" key Left +Shift : "\EO2D"
Comment out (add #) the following two lines.
# key Up +Shift : scrollLineUp # key Down +Shift : scrollLineDown
4. Close and restart konsole. In konsole menu, choose "Settings | Keyboard | XTerm (mytab)".
You should now be able to select using arrow keys in Midnight Commander.