I know I can manipulate from AppleScript to terminal.app or just run commands from apple script.
But what about from a BASH Script.
when A user logs in and runs a maintenance utility I have written for them, I want to modify their background color and text color.
example;
I want to Change the background color of his terminal session. Lets say " white Text on Black Screen, not just ||||||||| blacked out lines.
How can I manipulate the terminal screen color ?
Change background color then clear the screen(using the 'clear' utility, or 'tput clear'), that should set the entire window.
---------- Post updated at 08:47 AM ---------- Previous update was at 08:43 AM ----------
This seems redundant -- you're setting the same foreground color twice. 3x is foreground color, 4x is background color. 1 makes the foreground extra bright.
Try
bright yellow on dark yellow.
white background on black text. I don't think you can make the background brighter.
printf is more portable than echo -e -- echo -e is mostly a linux thing.
Im guessing there is not way to change the whole screen in one shot. the Code above works line by line, changing the background color of the lines Im working on.
No problem, using this code will work just fine, thanks.
I know I can manipulate from AppleScript to terminal.app or just run commands from apple script.
But what about from a BASH Script.
when A user logs in and runs a maintenance utility I have written for them, I want to modify their background color and text color.
example;
I want to Change the background color of his terminal session. Lets say " white Text on Black Screen, not just ||||||||| blacked out lines.
How can I manipulate the terminal screen color ?
Hello,
I am using RHEL 6.1 on VMware
I am searching for a way to change background color (not line by line color wich one can using tput command)
basically changing the color of the whole screen to white instead of the default black and changing font color to black and alos would like to... (2 Replies)
I am using uil to build the widgets. I compiled the below code using gcc 3.4.6 compiler. Launched x window in light gray color. How to change the default color of the window?
#include <X11/Xlib.h>
#include <Xm/Xm.h>
#include <Mrm/MrmAppl.h>
void
main ( int argc, char **argv )
{... (1 Reply)
Hi,
I am trying to write a python program which changes background color on click of button. However i am stuck up. Instead of changing the color currently it is creating a new frame every time.
please look at the code and let me know how to correct it
#!/usr/bin/env python
from Tkinter... (0 Replies)
Hi Everyone:
Is there any way to enable colors through putty for a session into AIX? I've tried to set the TERM variable to xterm-256color but it doesn't work
having a 8-color terminal would be okay for me
thanks in advance (5 Replies)
Ok, so I'm comfortable backgrounding jobs in the shell, starting and stopping them, and bringing them to the fg and bg. What I can't figure out is how to monitor those background jobs from another shell (remote, or local).
Example:
- On a local console for MYHOST, I su to root
- I then update... (3 Replies)
I am using a telnet session (VT100) and need to modify my .profile so that it will set the color of the telnet session. I am not using Xterm (ie: can't use .Xdefaults). I am able to change the colors via menu's but need to preset in .profile. Is this possible??? Can't find anything at all on how... (3 Replies)