Out of the box, you can use ctrl+leftarrow and ctrl+rightarrow to jump backwards or forwards by word when editing the bash command line. When running bash under mtm when TERM outside of mtm is set to either xterm or xterm-256color, this is no longer case -- these key combinations generate garbage on the cli rather than moving the cursor.
This is the result of typing ctrl+leftarrow twice, followed by ctrl+rightarrow twice, with the cursor positioned at the end of the command line:
$ echo this is a testȪȪȹȹ
If I set TERM to a non-xterm variant, e.g:
Or:
Then ctrl+<arrow> works as expected
Out of the box, you can use ctrl+leftarrow and ctrl+rightarrow to jump backwards or forwards by word when editing the bash command line. When running bash under
mtmwhenTERMoutside of mtm is set to eitherxtermorxterm-256color, this is no longer case -- these key combinations generate garbage on the cli rather than moving the cursor.This is the result of typing
ctrl+leftarrowtwice, followed byctrl+rightarrowtwice, with the cursor positioned at the end of the command line:If I set
TERMto a non-xterm variant, e.g:Or:
Then
ctrl+<arrow>works as expected