I'm looking at automating an installer that uses a curses/ncurses interface. Any suggestions? I'd be ok with just sending input to the screen, the only thing I worry about is where defaults are loaded, there is a toggle box. How will I know whether to toggle or not? Any advise would be appreciated.
Shell ScriptingInstallationScripting Languages
Last Comment
obrienslalom
8/22/2022 - Mon
Julian Parker
you can use dialog for displaying messages and prompting for input.
obrienslalom
ASKER
I understand what ncurses is, I am looking for a way of automating it with a script.
Say i have an installer that I know I want installed a certain way every time. I just want to kick off a script that will control the installer. I'd imagine I can just send keystrokes via tty or something. I'm concerned that a scenerio might appear where there will be a toggle checkbox or preloaded fields in the console. When that happens, I would need a way to branch my automation based on these values. I believe expect will do this in some fashion. I just wanted to check if anyone happened to stumble across something better, or just something different.