FAQ update: Enable Shift-Insert in MC editor running from XTerm

Sergiy Pylypenko pelya at uol.ua
Thu Jul 19 12:58:20 UTC 2007


Q: When MC runs from XTerm Shift-Insert key combination won't paste what i've selected with Ctrl-Insert.
A: 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: 
"xterm -xrm 'XTerm*VT100*translations: #override \nShift <KeyPress> Insert:insert-eight-bit()'"
You can always use Shift+Middle Mouse Button to paste mouse selection.
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).
--------------
I've found that some time ago, then forgot how it's done and got a lot of trouble rediscovering it. Please add that to MC FAQ (I know that should be in XTerm FAQ, but first thing I've searched was MC FAQ). Also you may want to remove that long command string - it's just my favorite tuning :) .



More information about the mc-devel mailing list