Forum Discussion

jjang's avatar
jjang
Icon for New Contributor rankNew Contributor
4 years ago

Nios II Command Shell doesn't work backspace Key

When I use Nios2 command shell,

backspace key doesn't work. any one who have this problem?

5 Replies

  • jjang's avatar
    jjang
    Icon for New Contributor rankNew Contributor

    i found it my self..

    that's Problem TERM environment

    Anyone who has this problem, try to this code

    =================

    > echo $TERM

    nutc

    export TERM=cygwin

    ================

    for me, "nutc" ..

    i don't know what's Type of Terminal.

    i found some terminals... or you can try to "cygwin"

    ansi, dtterm, nsterm, rxvt, vt52, vt100, vt102, xterm, xterm-16color and xterm-256color,

    https://en.wikipedia.org/wiki/Terminal_(macOS)

    • BoonBengT_Altera's avatar
      BoonBengT_Altera
      Icon for Moderator rankModerator

      Hi @jjang,

      Thank you for posting in Intel community forum and appreciate your effort as well as sharing the solution.
      Seem that the environment variable for are being setup as another type of terminal.
      Usually if you are running in Windows and installed WSL, at least for me the terminal that comes with it would be 'xterm-256color'.
      For our references what OS and quartus version are you running on?

      Warm regards.
      BB

  • Hi @jjang,

    Good day, just following up on the previous clarification.
    By any chances did you managed to look into the it?

    Best Wishes
    BB

    • jjang's avatar
      jjang
      Icon for New Contributor rankNew Contributor

      OS : Win 10, 64bit,

      Quartus 16.1

      i Added that Terminal environmental on "embedded_command_shell.sh"

      after Line# 64 echo "---------"

      export TERM=cygwin

  • Hi @jjang,

    Thanks for the information provided to help us improve further, this thread will be transitioned to community support. If you have new queries, please feel free to open a new thread to get support from Intel experts, and we would be right with you. Otherwise, the community users will further help you with doubts in this thread.

    Best Wishes
    BB