|
OpenBSD General Other questions regarding OpenBSD which do not fit in any of the categories below. |
|
Thread Tools | Display Modes |
|
|||
reversing the default Terminal color scheme .. is it possible ?
Hi !!
well this may seem somewhat trivial or minor issue .. but not to my eyes lol .. So, is it possible to reverse the default white-on-black color scheme in OpenBSD Terminal ? I am asking bacause when I installed NetBSD on my old ibook it had a very appeasing and eye-friendly -lol yaa- scheme which was : lightgreen on white bg .. if only I can set this on OpenBSD .. whether for Acer Laptop or on the ibook itself .. does it involve kernel building ? or just some Terminal resetting ? Thank you so much ! |
|
|||
The default OpenBSD terminal is an xterm. More information can be gleaned by reading the long man page
Code:
man xterm You can play with options from the command line. If you find options you like they can be set permanently in .Xdefaults which resides in you home directory. Purdue Engineering page on .Xdefaults Last edited by shep; 19th February 2012 at 01:40 AM. |
|
|||
Hi Shep ! thanks for the link ..
what I mean is the starting screen .. instead of white on black .. the reverse would be kind to one's eyes when using terminal without X .. It's macppc.NetBSD's choice .. |
|
|||
It looks like your NetBSD question is in the OpenBSD section. It may make a difference as to where you look for documentation.
I have not modified the console output other than the text display options. My understanding is that it emulates a VT100 terminal. There an extensive NetBSD guide with a section on the console drivers which I think addresses your question http://www.netbsd.org/docs/guide/en/chap-cons.html If you are using OpenBSD Code:
man wscons Last edited by shep; 19th February 2012 at 02:26 AM. |
|
|||
Thanks Shep !
I'm considering the manual and the link .. as I'm using both Oses .. |
|
||||
On NetBSD check wscons section in GENERIC:
Code:
... options WSDISPLAY_CUSTOM_OUTPUT # color customization from wsconsctl(8) #options WS_DEFAULT_FG=WSCOL_WHITE #options WS_DEFAULT_BG=WSCOL_BLACK ... options WS_KERNEL_FG=WSCOL_GREEN #options WS_KERNEL_BG=WSCOL_BLACK ...
__________________
The best way to learn UNIX is to play with it, and the harder you play, the more you learn. If you play hard enough, you'll break something for sure, and having to fix a badly broken system is arguably the fastest way of all to learn. -Michael Lucas, AbsoluteBSD |
|
|||
Thanks helpful fellow !! I'll try ..
|
|
|||
Thanks for the points !
you mentioned one more reason why such a tweak is of value .. (( for at least two reaons I must recompile the kernel : the color scheme and the OFB_ENABLE_CACHE option to quicken text scrolling .. I bet it is the same on both OpenBSD and NetBSD .. text scrolling sucks on both , when on apple hardware , with generic kernel ..)) |
|
||||
Now this is odd. The link kindly pointed out by shep says you can change the console colours without recompiling the kernel by using the wsconsctl(8) utility (in NetBSD). But I tried it and it doesn't work on NetBSD.
First, doing # wsconsctl -a doesn't show any of the required variables to exist: Code:
type=pc-xt bell.pitch=700 bell.period=100 bell.volume=50 bell.pitch.default=1500 bell.period.default=100 bell.volume.default=50 repeat.del1=200 repeat.deln=50 repeat.del1.default=200 repeat.deln.default=50 ledstate=0 encoding=user.metaesc keyclick=0 scroll.mode=0 scroll.modifier=1 # wsconsctl -d -w border=blue Code:
wsconsctl: WSDISPLAYIO_SBORDER: Inappropriate ioctl for device # wsconsctl -d -w msg.default.bg=blue Code:
wsconsctl: WSDISPLAYIO_GMSGATTRS: Operation not supported by device Quote:
[I apologize if it was inappropriate to post this in the OpenBSD part of the forum, but these features were being discussed for both OSs.] Last edited by IdOp; 20th February 2012 at 10:57 PM. |
|
||||
Quote:
/S
__________________
Never argue with an idiot. They will bring you down to their level and beat you with experience. |
|
||||
That sounds very reasonable to me too, but the problem I mentioned is happening on NetBSD. I see my post was not at all clear about that because of the fact I only said it directly near the very end. So I'll edit it now to put that information at the top. Sorry about the confusion!
|
Thread Tools | |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Default terminal color | disappearedng | FreeBSD General | 5 | 21st February 2012 01:28 AM |
universal-blue vim color scheme | graudeejs | Off-Topic | 6 | 28th July 2011 12:29 PM |
What is the default font for terminal? | guitarscn | OpenBSD General | 4 | 28th December 2010 06:38 PM |
How to change terminal color (Openbox)? | Daffy | OpenBSD Packages and Ports | 6 | 14th July 2010 07:47 AM |
HOWTO: Encoding // Pure Terminal // Virtual Terminal | vermaden | Guides | 1 | 25th June 2010 08:02 AM |