The UNIX and Linux Forums  

Go Back   The UNIX and Linux Forums > Top Forums > UNIX for Advanced & Expert Users
Google UNIX.COM


UNIX for Advanced & Expert Users Advanced UNIX and Linux questions go here. Expert-to-Expert.

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
Pseudo-terminal will not be allocated because stdin is not a terminal. Shivdatta UNIX for Advanced & Expert Users 1 4 Weeks Ago 07:29 AM
Terminal Jono_H UNIX for Dummies Questions & Answers 10 06-23-2007 07:59 AM
HP UX Terminal Help gpta_varun HP-UX 0 05-11-2005 11:16 AM
dt terminal s_aamir UNIX for Advanced & Expert Users 2 03-13-2002 01:32 AM
connecting to unix through hyper terminal - as a dumb terminal michelle UNIX for Advanced & Expert Users 2 11-05-2001 11:32 AM

Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 10-11-2004
collins's Avatar
Registered User
 

Join Date: Aug 2004
Posts: 43
Question like to have fun in terminal

Hai Friends

I have installed FreeBSD in my system... I have installed it to work in text mode don't have the GUI. The default text color is Black background with White Foreground. I want it to be with Black background with Green Foreground. How could i do that.

Thanks in advance
Collins
Reply With Quote
Forum Sponsor
  #2 (permalink)  
Old 10-12-2004
Registered User
 

Join Date: Jul 2002
Location: new york
Posts: 1,025
what shell are you using?
Reply With Quote
  #3 (permalink)  
Old 10-12-2004
collins's Avatar
Registered User
 

Join Date: Aug 2004
Posts: 43
my shell

its csh

Expecting your reply
Reply With Quote
  #4 (permalink)  
Old 10-13-2004
google's Avatar
Moderator
 

Join Date: Jul 2002
Location: Atlanta
Posts: 740
Yikes collins. First things first, move away from csh. Its less powerful than other shells and much less fun to work with for that matter. Download pdk (public domain Korn shell) or switch over to bash or bourne. You will be much happieer in the long run,
Reply With Quote
  #5 (permalink)  
Old 10-14-2004
Registered User
 

Join Date: Sep 2003
Location: Canada
Posts: 56
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.)
Reply With Quote
Google UNIX.COM
Reply

Thread Tools
Display Modes




All times are GMT -7. The time now is 07:08 PM.


Powered by: vBulletin, Copyright ©2000 - 2006, Jelsoft Enterprises Limited.
The UNIX and Linux Forums Content Copyright ©1993-2008 The CEP Blog All Rights Reserved -Ad Management by RedTyger Visit The Global Fact Book

Content Relevant URLs by vBSEO 3.2.0