Nios® V/II Embedded Design Suite (EDS)
Support for Embedded Development Tools, Processors (SoCs and Nios® V/II processor), Embedded Development Suites (EDSs), Boot and Configuration, Operating Systems, C and C++
Announcements
FPGA community forums and blogs on community.intel.com are migrating to the new Altera Community and are read-only. For urgent support needs during this transition, please visit the FPGA Design Resources page or contact an Altera Authorized Distributor.
12748 Discussions

Here is how to get rid of the annoying ctrl-C issue in nios2-term

Altera_Forum
Honored Contributor II
1,462 Views

Hi All, 

For all newbies like me annoyed by this issue (pressing ctrl-c inside a nios2 shell sompletly close the shell instead of the application run) here is a quick workaround 

 

type  

 

stty intr '$' 

 

in the nios2-terminal shell. 

This will transform the ctrl-c of the shell into ctrl-$ and pressing that will interrupt the run application and not the nios2-terminal. 

 

Hope that will help someone... 

 

Lior
0 Kudos
3 Replies
Altera_Forum
Honored Contributor II
526 Views

Hi, 

 

where can I find the application for using your command "stty intr '$'" 

This command was not found by my uClinux kernel. 

 

Urmel
0 Kudos
Altera_Forum
Honored Contributor II
526 Views

Thanks that's really helpful! I thought I saw this somewhere but couldn't find it and have struggled with it the entire time. I use telnet when possible to run applications to avoid the problem. 

 

@ Urmel: in menuconfig/xconfig, customize libraries & apps, Busybox > Coreutils > stty
0 Kudos
Altera_Forum
Honored Contributor II
526 Views

Thank you Ykozlov! 

 

So we helped each other :) 

You by showing me where to find the app and I by digging out the thread. 

 

Urmel
0 Kudos
Reply