Article 52DV5 Properly execute menu-driven scripts (uses ncurses) within a bash script

Properly execute menu-driven scripts (uses ncurses) within a bash script

by
budrz89
from LinuxQuestions.org on (#52DV5)
Hi,

I'm having difficulty trying to properly display a bash script that uses ncurses within another bash script. Every time I run it, it does display the menu but when I try to scroll down it prints "^[OB" on the screen instead of actually scrolling down. For example, when I'm compiling a kernel

Code:make mrproper
make menuconfigthe menu gets displayed but it doesn't function as I would expect it to. The only solution that I can think of is to manually run make menuconfig command and then run a separate script for installing after, but I'd like to try to put it all in a script if I can.latest?d=yIl2AUoC8zA latest?i=UyBAQh4Psgc:jR0DreHgFAU:F7zBnMy latest?i=UyBAQh4Psgc:jR0DreHgFAU:V_sGLiP latest?d=qj6IDK7rITs latest?i=UyBAQh4Psgc:jR0DreHgFAU:gIN9vFwUyBAQh4Psgc
External Content
Source RSS or Atom Feed
Feed Location https://feeds.feedburner.com/linuxquestions/latest
Feed Title LinuxQuestions.org
Feed Link https://www.linuxquestions.org/questions/
Reply 0 comments