This may not be the right place for this, so if not please some administrator move it to where it should be and let me know where that is ... thanks!!
I am using vidcontrol to change the text color of my console depending on a number of factors, eg. who I am logged in as, where I am logged in from, how I accessed the machine, and so on. As part of this effort I want to determine the present color setting for the text "programatically", specifically for use in a further script. Is there a way to read this? I am seeking some functionality to operate similarly to xtermcontrol --get-fg when running an xterm under Xorg, but for use on the console on a machine without Xorg installed, ie. running "pure console mode".
Thanks in advance for any and all constructive suggestions!!
I am using vidcontrol to change the text color of my console depending on a number of factors, eg. who I am logged in as, where I am logged in from, how I accessed the machine, and so on. As part of this effort I want to determine the present color setting for the text "programatically", specifically for use in a further script. Is there a way to read this? I am seeking some functionality to operate similarly to xtermcontrol --get-fg when running an xterm under Xorg, but for use on the console on a machine without Xorg installed, ie. running "pure console mode".
Thanks in advance for any and all constructive suggestions!!