Article ID: 000091605 Content Type: Troubleshooting Last Reviewed: 08/15/2023

Why does nios2-elf-gdb cannot start Text User Interface (TUI) terminal or display backspace action correctly?

Environment

    Intel® Quartus® Prime Design Software
BUILT IN - ARTICLE INTRO SECOND COMPONENT
Description

Due to a problem in the Intel® Quartus® Prime Pro Edition Software version 21.1 to 22.2 and Intel® Quartus® Prime Standard Edition Software version 21.1, this problem may occur when opening the nios2-elf-gdb TUI terminal or backspacing.

Failure signatures are:

  • When opening the TUI terminal, the nios2-elf-gdb will report "Cannot enable the TUI: error opening terminal [TERM=xterm]"
  • When backspacing, the action is incorrectly displayed as spacing

This is due to a bug in the terminfo folder settings.

Resolution

To work around this problem in the Intel® Quartus® Prime Pro Edition Software version 21.1 to 22.2 and Intel® Quartus® Prime Standard Edition Software version 21.1, do the following:

  • Use the commandexport TERMINFO_DIRS=/etc/terminfo:/lib/terminfo:/usr/share/terminfo

This problem is fixed starting with the Intel® Quartus® Prime Pro Edition Software version 22.3 and Intel® Quartus® Prime Standard Edition Software version 22.1.

Related Products

This article applies to 1 products

Intel® Programmable Devices

1