DaemonForums  

Go Back   DaemonForums > OpenBSD > OpenBSD General

OpenBSD General Other questions regarding OpenBSD which do not fit in any of the categories below.

Reply
 
Thread Tools Display Modes
  #1   (View Single Post)  
Old 7th November 2011
Zyos's Avatar
Zyos Zyos is offline
Port Guard
 
Join Date: Nov 2011
Location: United States
Posts: 22
Thanked 0 Times in 0 Posts
Default Windows Aren't the Right Color

I've been setting up tmux(1) and I can't get any of the "colours" to work. All else seems fine. Has anyone else had this?
Reply With Quote
  #2   (View Single Post)  
Old 7th November 2011
Carpetsmoker's Avatar
Carpetsmoker Carpetsmoker is offline
Real Name: Martin
Old man from scene 24
 
Join Date: Apr 2008
Location: Eindhoven, Netherlands
Posts: 2,068
Thanked 198 Times in 156 Posts
Default

I've never had problems with tmux and colors.

Can you elaborate what exactly your problem is? What colors? Which application? What do you see?

One generic hint is looking at your TERM environment variable. Try setting it to xterm-color or xterm-xfree86
__________________
UNIX was not designed to stop you from doing stupid things, because that would also stop you from doing clever things.
Reply With Quote
  #3   (View Single Post)  
Old 9th November 2011
Zyos's Avatar
Zyos Zyos is offline
Port Guard
 
Join Date: Nov 2011
Location: United States
Posts: 22
Thanked 0 Times in 0 Posts
Default

Quote:
Originally Posted by Carpetsmoker View Post
One generic hint is looking at your TERM environment variable. Try setting it to xterm-color or xterm-xfree86
Thank you, the problem was being caused by a typo. I had set RERM not TERM lol.
Reply With Quote
  #4   (View Single Post)  
Old 9th November 2011
Zyos's Avatar
Zyos Zyos is offline
Port Guard
 
Join Date: Nov 2011
Location: United States
Posts: 22
Thanked 0 Times in 0 Posts
Default

There seems to be another couple issues with this thing. When I do
Code:
export TERM="xterm-xfree86"
vi and the tmux don't display correctly (I can't see most of what is going on). I must use "xterm-color" to make it display correctly.

Also the options message-command-bg, message-command-fg, message-command-attr don't work.
When I start tmux it tells me
Code:
 /etc/tmux.conf :"#": unknown option: message-command-bg
and so on. Is this suppose to be this way?
Reply With Quote
  #5   (View Single Post)  
Old 9th November 2011
Carpetsmoker's Avatar
Carpetsmoker Carpetsmoker is offline
Real Name: Martin
Old man from scene 24
 
Join Date: Apr 2008
Location: Eindhoven, Netherlands
Posts: 2,068
Thanked 198 Times in 156 Posts
Default

Quote:
There seems to be another couple issues with this thing. When I do

export TERM="xterm-xfree86"

vi and the tmux don't display correctly (I can't see most of what is going on). I must use "xterm-color" to make it display correctly.
So just use xterm-color (Or does that have some other problem?)

Quote:
Also the options message-command-bg, message-command-fg, message-command-attr don't work.
My tmux (version 1.5) doesn't have these commands either. Are you sure they're the right commands for your version?

When searching tmux(1) with message- I do get the message-attr, message-bg, and message-fg commands. I assume this is what you're looking for?
__________________
UNIX was not designed to stop you from doing stupid things, because that would also stop you from doing clever things.
Reply With Quote
  #6   (View Single Post)  
Old 15th November 2011
Zyos's Avatar
Zyos Zyos is offline
Port Guard
 
Join Date: Nov 2011
Location: United States
Posts: 22
Thanked 0 Times in 0 Posts
Default

Quote:
Originally Posted by Carpetsmoker View Post
So just use xterm-color (Or does that have some other problem?)
No, just thought someone might be interested to know.
Quote:
Originally Posted by Carpetsmoker View Post
My tmux (version 1.5) doesn't have these commands either. Are you sure they're the right commands for your version?

When searching tmux(1) with message- I do get the message-attr, message-bg, and message-fg commands. I assume this is what you're looking for?
I'm using the version that came with 5.0. I am unaware of how to check it's version number.
Reply With Quote
  #7   (View Single Post)  
Old 15th November 2011
Carpetsmoker's Avatar
Carpetsmoker Carpetsmoker is offline
Real Name: Martin
Old man from scene 24
 
Join Date: Apr 2008
Location: Eindhoven, Netherlands
Posts: 2,068
Thanked 198 Times in 156 Posts
Default

tmux -V
__________________
UNIX was not designed to stop you from doing stupid things, because that would also stop you from doing clever things.
Reply With Quote
  #8   (View Single Post)  
Old 15th November 2011
Zyos's Avatar
Zyos Zyos is offline
Port Guard
 
Join Date: Nov 2011
Location: United States
Posts: 22
Thanked 0 Times in 0 Posts
Default

Quote:
Originally Posted by Carpetsmoker View Post
tmux -V
Code:
 $tmux -V
tmux: unknown option -- V
usage : tmux [-28lquv] [-c shell-command] [-f file] [-L socket-name]
             [-S socket-path] [command [flags]]
That was the entire out put? The lower case v does verbose.
Reply With Quote
  #9   (View Single Post)  
Old 15th November 2011
jggimi's Avatar
jggimi jggimi is offline
More noise than signal
 
Join Date: May 2008
Location: USA
Posts: 3,686
Thanked 214 Times in 189 Posts
Default

OpenBSD's tmux was imported about 2.5 years ago. It has received constant commits ever since. I do not know how much divergence there is between the implementation in OpenBSD and that which may be on other OS platforms. One thing the OpenBSD tmux omits is a "version" option.
Reply With Quote
Old 15th November 2011
Zyos's Avatar
Zyos Zyos is offline
Port Guard
 
Join Date: Nov 2011
Location: United States
Posts: 22
Thanked 0 Times in 0 Posts
Default

Quote:
Originally Posted by jggimi View Post
OpenBSD's tmux was imported about 2.5 years ago. It has received constant commits ever since. I do not know how much divergence there is between the implementation in OpenBSD and that which may be on other OS platforms. One thing the OpenBSD tmux omits is a "version" option.
Thanks for some of the back story on that.
Reply With Quote
Reply

Thread Tools
Display Modes

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

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Color Prompt in OpenBSD. tetrodozombie Guides 18 13th April 2013 02:02 PM
Default terminal color disappearedng FreeBSD General 5 21st February 2012 01:28 AM
A new thread on which compatibility layers are or aren't useful. Mr-Biscuit Off-Topic 7 9th April 2011 05:09 PM
Color shell? giga FreeBSD General 3 14th August 2008 12:07 AM
Want to get rid of ugly color of rox rex FreeBSD General 6 12th May 2008 12:02 AM


All times are GMT. The time now is 02:10 PM.


Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content copyright © 2007-2010, the authors
Daemon image copyright ©1988, Marshall Kirk McKusick