Open-source Languages & Tools for z/OS

 View Only
  • 1.  Mc and cursor keys

    Posted 06-01-2018 05:33

    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



  • 2.  RE: Mc and cursor keys

    Posted 06-04-2018 03:01

    Hi Robin,

    Did you try to run “mc -u”?

    Thanks,
    Tatyana



  • 3.  RE: Mc and cursor keys

    Posted 06-04-2018 03:07

    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



  • 4.  RE: Mc and cursor keys

    Posted 06-05-2018 03:53

    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”



  • 5.  RE: Mc and cursor keys

    Posted 06-05-2018 04:15

    Tatyana-

    That did the trick!

    Thanks

    Robin