|
|
|
|
|
by mrlemke
1557 days ago
|
|
TUIs are better for visual representation and interaction on resource constrained systems. Just keep using the CLI if that's what you want. I'm not sure why you need HTTP or dbus for control. Just use stdin and stdout. For example: cat << EOF | my-cli-music-player
enqueue album:40-oz-to-freedom
enqueue album:steal-your-face
randomize
play 10
wait 20s
...
EOF
This works with other CLI programs. For example (make sure you have dc and espeak): cat << EOF | dc | espeak
100 k 22 7 / p
EOF
|
|
Tools like espeak and dc that you cite fall into the conventional cli-tools camp. By compare mamy of the TUI tools we see here have their own autocomplete systems embedded in the program, multiple screens, full terminal layouts, multiple on-screen focus-able areas.