Skip to main content

Mc and cursor keys

  • June 1, 2018
  • 4 replies
  • 0 views

I am just taking my first steps in using USS as a dev environment and am trying to set it up like the Linux systems I am used to. I am connecting to USS via Putty using telnet. I installed mc and it starts up OK but when I try to navigate around the panels the cursor and backspace keys just produce text. Function keys work OK. OTOH, I installed vim and bash and the cursor keys work normally. I have

declare -x TERM=“xterm”
declare -x TERMINFO="./share/mc"

set as advised. What have I missed?

Thanks
Robin

4 replies

Tatiana Balaburkina
Forum|alt.badge.img+1

I am just taking my first steps in using USS as a dev environment and am trying to set it up like the Linux systems I am used to. I am connecting to USS via Putty using telnet. I installed mc and it starts up OK but when I try to navigate around the panels the cursor and backspace keys just produce text. Function keys work OK. OTOH, I installed vim and bash and the cursor keys work normally. I have

declare -x TERM=“xterm”
declare -x TERMINFO="./share/mc"

set as advised. What have I missed?

Thanks
Robin

Hi Robin,

Did you try to run “mc -u”?

Thanks,
Tatyana


  • 0 replies
  • June 4, 2018

Hi Robin,

Did you try to run “mc -u”?

Thanks,
Tatyana

Tatyana-
Thanks for the response. I just tried “mc -u” and it made no difference, the cursor keys still don’t work. The curious thing is that the mouse works fine, I can position the cursor with it.

Robin


Tatiana Balaburkina
Forum|alt.badge.img+1

Tatyana-
Thanks for the response. I just tried “mc -u” and it made no difference, the cursor keys still don’t work. The curious thing is that the mouse works fine, I can position the cursor with it.

Robin

Robin,

Try to do that:

export MC_DATADIR=/path_to_mc_directory/share/mc
mc -u

Be careful, you should use absolute path instead of relative like “./share/mc”


  • 0 replies
  • June 5, 2018

Robin,

Try to do that:

export MC_DATADIR=/path_to_mc_directory/share/mc
mc -u

Be careful, you should use absolute path instead of relative like “./share/mc”

Tatyana-

That did the trick!

Thanks

Robin