I'm using xterm version 293. While navigating in a command, I normally use the short-cut keys as
Ctrl+RightArrow to move back and forth.
But while doing so, rather expected behaviour,
Ctrl+LeftArrow prints 5D and
Ctrl+RightArrow prints 5C
How to make the
xterm work as per expectation ?
e.g. In xterm, if I type:
shw$ This is a test
If the cursor is after is and I press
Ctrl+LeftArrow, then I'm expecting that cursor should move On i of is (and again pressing
Ctrl+LeftArrow, cursor must go at T of This). But instead, I get the result as
shw$ This is5D a test