twin
twin copied to clipboard
Newbie Question on Screen background
Hi - I am new to twin, thus this question and apologies for putting this in "issues" because I couldn't figure out any other communication channel ..
I am trying to change the screen background for all the windows to "White" and the font color to "Black" - basically for working on tty out in the sun.. I tried to tweak the configuration below but don't seem to get anywhere .. could someone please suggest the changes
set screen background
Background 1 High Black On Blue ( "\xb1"
Thanks
Hello @ashutoshmjain, the "Background" configuration in .twinrc sets the foreground/background colors and fill character of the screen i.e. outside all windows.
There is currently no way to change the colors palette used by a window.
Thanks for the response .. got it .. I guess I was confusing between "screen" and "windows" . Btw , is it possible that windows are transparent so that it shows the color of the screen . Saying this cuz its really hard to read on black background in bright sun light ..
There is currently no support for transparency.
As you involved SCREEN -- just curious if there is any way to use several SCREENs in Twin ?
because from the all logic and config options it's seems to be so, but each time I've tried -- could not even switch to the second SCREEN, maybe I've just missed something ?
thanks in advance for any help ! ;-))
Long time ago there was support for multiple screens - it's not used since ages. No idea if it still works.
I'd need to (re)check how to create additional screens, and how to switch between them.
[UPDATE]
There is an AddScreen "SCREEN_NAME"
function you can bind to some key, mouse action, or menu entry in $HOME/.twinrc
Then you can (in theory) switch between screens by clicking on the two vertical arrows on the far right of the menu bar,
provided the menu bar is not hidden by default (in case it's hidden, add GlobalFlags -HideMenu
) to $HOME/.twinrc
But a quick test doing exactly that seems to hang twin in an infinite loop. There must be some bitrot in multiple screens support.
Seems like in my case creating several Screens is working. However, when trying to use a menu item for given Window "SendToScreen N" -- Twin hangs..