Sponsored Content
Full Discussion: like to have fun in terminal
Top Forums UNIX for Advanced & Expert Users like to have fun in terminal Post 56938 by AbEnd on Thursday 14th of October 2004 05:28:37 PM
Old 10-14-2004
zsh kicksass

Code:
vidcontrol green black

Check the vidcontrol(1) man page. There are other color settings.

The colors won't persist after reboot and each VT (Virtual Terminal, the things you can switch with ALT+F*) has independant vidcontrol settings. So if you want the colors to be set automatically, you could add something like that to your ~/.profile (or ~/.zprofile if using zsh):

Code:
case "$TERM" in
cons*) vidcontrol green black ;;
esac

(the stuff around the vidcontrol command is to not use vidcontrol on terminals that aren't syscons (the FreeBSD console driver) cause that would show an error msg.)
 

7 More Discussions You Might Find Interesting

1. UNIX for Advanced & Expert Users

connecting to unix through hyper terminal - as a dumb terminal

I just changed from windows NT to XP and I am no longer able to connect to my unix system. I used to use hyper terminal -- which acts as dumb terminal to my main frame unix system. I think one of the options used to be "direct to comX". This option isn't listed now. I use a serial port and the... (2 Replies)
Discussion started by: michelle
2 Replies

2. UNIX for Dummies Questions & Answers

fun with tar

ok, i've figured out my problem with distributed, in Solaris GUI if you click on a tar file it will untar it for you, using paramiters I don't know. now, I've got a tar file in / called dnetc-solaris26-x86.tar i want to install it to the "/Veitch" directory how exactly do I use the tar... (17 Replies)
Discussion started by: veitcha
17 Replies

3. Shell Programming and Scripting

Fun with awk

uggc://ra.jvxvcrqvn.bet/jvxv/EBG13 #!/usr/bin/awk -f BEGIN { for (n=0;n<26;n++) { x=sprintf("%c",n+65); y=sprintf("%c",(n+13)%26+65) r=y; r=tolower(y) } } { b = "" for (n=1; x=substr($0,n,1); n++) b = b ((y=r)?y:x) print b } ... (0 Replies)
Discussion started by: colemar
0 Replies

4. Shell Programming and Scripting

More fun with awk

#!/usr/bin/ksh ls -l $@ | awk ' /^-/ { l = 5*log($5) h = sprintf("%7d %-72s",$5,$8) print "\x1B ls command with histogram of file sizes. The histogram scale is logaritmic, to avoid very short bars for smaller files or very long bars for bigger files. Screenshot: (4 Replies)
Discussion started by: colemar
4 Replies

5. Shell Programming and Scripting

Cannot get terminal application to launch with a graphical launcher when successful in terminal

I have been having an extremely annoying problem. For the record, I am relatively new at this. I've only been working with unix-based OS's for roughly two years, mostly Xubuntu and some Kali. I am pretty familiar with the BASH language, as that's the default shell for debian. Now, I've made this... (16 Replies)
Discussion started by: Huitzilopochtli
16 Replies

6. Shell Programming and Scripting

Print Terminal Output Exactly how it Appears in the Terminal to a New Text File

Hello All, I have a text file containing output from a command that contains lots of escape/control characters that when viewed using vi or view, looks like jibberish. But when viewed using the cat command the output is formatted properly. Is there any way to take the output from the cat... (7 Replies)
Discussion started by: mrm5102
7 Replies

7. Shell Programming and Scripting

Fun with terminal plotting JSON data at the command line

One of the great thing about unix is the ability to pipe multiple programs together to manipulate data. Plain, unstructured text is the most common type of data that is passed between programs, but these days JSON is becoming more popular. I thought it would be fun to pipe together some command... (1 Reply)
Discussion started by: kbrazil
1 Replies
bsetroot(1)						      General Commands Manual						       bsetroot(1)

NAME
bsetroot - blackbox utility to change root window appearance SYNOPSIS
bsetroot -help bsetroot [ -display display ] -solid color bsetroot [ -display display ] -mod x y -fg color -bg color bsetroot [ -display display ] -gradient texture -from color -to color DESCRIPTION
Bsetroot is a utility that can control the appearance of the root window in three ways: Either give it a solid color, or write a two color modula pattern to it, or render a gradient texture, based on two different colors. Bsetroot resembles xsetroot(1) in this functionality but it supports multiple screen displays, and gradient textures the same way as Black- box does. It doesn't handle cursors etc. Bsetroot is part of the Blackbox package. OPTIONS
Bsetroot operates in three ways, you must choose one of the first 3 options: -solid color Sets the root window to specified color. -mod x y Creates a modula pattern. You must specify -bg and -fg colors. -gradient texturestring Renders the specified texture string to the root window. For possible texture strings, please refer to blackbox(1). You must also specify both a -from and a -to color. -display display Tells Bsetroot to connect to the specified display. -bg, -background color Background color. Needed for -mod patterns. -fg, -foreground color Foreground color. Needed for -mod patterns. -from color Start color for rendering textures. Needed for -gradient operation mode. -to color Ending color for rendering textures. Needed for -gradient operation mode. -help Prints version info and short help text. AUTHOR
Bsetroot was written and maintained by Brad Hughes (blackbox@alug.org) and Jeff Raven (jraven@psu.edu). SEE ALSO
blackbox(1) 0.60.3 June 16th, 2000 bsetroot(1)
All times are GMT -4. The time now is 06:48 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy