Console qustions.
Posted: Friday 15th May 2020 2:08pm
Hi!
I was trying to familiarize myself with Gambas, so I'm in the process of porting some older console programs of other langs to Gambas.
I now have these questions:
1) What about some putting some color at program's console output.
I think, since at console there's no GUI, a colored text is an effective way to attract user's attention to something important.
Maybe ncurses is the answer to the above question?
2) What about sound output?
Nothing complicated. A single console's beep - notification, is enough for me.
I think it's complimentary to colored text (for attracting attention).
3) What about, some more advanced keyboard control?
Maybe something like the old GW commands Inkey or On Key (for setting a global shortcut)?
I already read the related forum post viewtopic.php?p=736#p736.
Maybe ncurses is a different approach to the same problem.
TIA!
I was trying to familiarize myself with Gambas, so I'm in the process of porting some older console programs of other langs to Gambas.
I now have these questions:
1) What about some putting some color at program's console output.
I think, since at console there's no GUI, a colored text is an effective way to attract user's attention to something important.
Maybe ncurses is the answer to the above question?
2) What about sound output?
Nothing complicated. A single console's beep - notification, is enough for me.
I think it's complimentary to colored text (for attracting attention).
3) What about, some more advanced keyboard control?
Maybe something like the old GW commands Inkey or On Key (for setting a global shortcut)?
I already read the related forum post viewtopic.php?p=736#p736.
Maybe ncurses is a different approach to the same problem.
TIA!