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 Expert-to-Expert. Learn advanced UNIX, UNIX commands, Linux, Operating Systems, System Administration, Programming, Shell, Shell Scripts, Solaris, Linux, HP-UX, AIX, OS X, BSD.

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 08-04-2008 11:29 AM
Terminal Jono_H UNIX for Dummies Questions & Answers 10 06-23-2007 11:59 AM
HP UX Terminal Help gpta_varun HP-UX 0 05-11-2005 03:16 PM
dt terminal s_aamir UNIX for Advanced & Expert Users 2 03-13-2002 05:32 AM
connecting to unix through hyper terminal - as a dumb terminal michelle UNIX for Advanced & Expert Users 2 11-05-2001 03:32 PM

Closed Thread
English Japanese Spanish French German Portuguese Italian Dutch Swedish Russian Norwegian Hungarian Hebrew Danish Bulgarian Greek Powered by Powered by Google
 
LinkBack Thread Tools Search this Thread Rating: Thread Rating: 1 votes, 2.00 average. Display Modes
  #1 (permalink)  
Old 10-11-2004
collins's Avatar
collins collins is offline
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
  #2 (permalink)  
Old 10-12-2004
norsk hedensk norsk hedensk is offline Forum Advisor  
Registered User
  
 

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

Join Date: Aug 2004
Posts: 43
my shell

its csh

Expecting your reply
  #4 (permalink)  
Old 10-13-2004
google's Avatar
google google is offline Forum Advisor  
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,
  #5 (permalink)  
Old 10-14-2004
AbEnd AbEnd is offline
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.)
Closed Thread

Bookmarks

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On




All times are GMT -4. The time now is 06:08 AM.


Powered by: vBulletin, Copyright ©2000 - 2006, Jelsoft Enterprises Limited. Language Translations Powered by .
vBCredits v1.4 Copyright ©2007 - 2008, PixelFX Studios
The UNIX and Linux Forums Content Copyright ©1993-2009. All Rights Reserved.Ad Management by RedTyger

Content Relevant URLs by vBSEO 3.2.0