I would like to run Node (or Nodejs) interpreter in an Emacs ansi-term buffer. I found this problem: I can not access the common readline command history through ArrowUp and ArrowDown.
When I press ArrowUp and ArrowDown, instead of the expected previus commands, I get the sequences: ^[OA and ^[OB.
Have you any idea of how to fix this ?
Thank you, Nicola Mingotti
It sounds like you might be in the
linemode ofansi-term(although in this case I would think you would move the cursor up a line rather than displaying the escape squence...). Try usingC-c C-kto switch tochar. You should be able to go through command history with the arrows as usual. UseC-c C-jto go back tolinemode.