LinuxQuestions.org
Register a domain and help support LQ
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices

Reply
 
LinkBack Search this Thread
Old 06-16-2012, 11:01 PM   #1
astanton
Member
 
Registered: Nov 2010
Distribution: Slackware64 -current
Posts: 82

Rep: Reputation: 5
Character set problem in tmux on Slack


I get the following annoyances when I do the following:

Running KDE on Slackware, I open terminal, ssh into a remote machine, start tmux.

http://img6.imagebanana.com/img/xtre...ection_159.png

This doesn't happen running tmux sessions on my own Slackware machine and ssh into other machines, and It doesn't seem to happen on all of the machines that I ssh into and run tmux.

Is this some character set issue that I need to change on either my local Slackware workstation or the remote hosts that I have this problem with?

If so, then how/what/where do I change on my local machine? I would ask what I should do on the remote hosts but if those aren't Slackware machines it might be an off-topic question, but I'll take all comers.

This is what I have on my Slackware box at this time:

Code:
# set | grep LANG
LANG=en_US
The remote machine in the image is a CentOS 6 machine, and what it should be displaying is a single, thin green horizontal line, and in the bottom portion a single, thin green vertical line.

I've noticed that I don't have this problem with screen, but I prefer tmux.
Attached Images
File Type: png Selection_159.png (107.1 KB, 16 views)

Last edited by astanton; 06-16-2012 at 11:39 PM.
 
Old 06-17-2012, 01:42 AM   #2
bosth
Member
 
Registered: Apr 2011
Posts: 217

Rep: Reputation: 60
Try a UTF-8 locale on your local machine:
Code:
LANG=en_US.UTF-8
My guess is that tmux is drawing lines with utf8-encoded characters that require two bytes.
 
Old 06-17-2012, 05:02 AM   #3
astanton
Member
 
Registered: Nov 2010
Distribution: Slackware64 -current
Posts: 82

Original Poster
Rep: Reputation: 5
Exclamation Another reason why Slackware "Just works".

I switched my character sets around via .profile, .bashrc, and a simple export on the command line.

No matter what I did, it didn't break tmux in Slackware locally. I ssh'd into the CentOS box from a debian box - same thing. on deb it's fine whatever character set I used.

I figured the same thing you were suggesting up until that point and then I ssh'd into the CentOS box from my Slackware workstation. Upon checking, the character set was en_US.UTF-8 so I...

Code:
export LANG=en_US
from a bash prompt and guess what? tmux isn't broken anymore!

I wonder if that has anything to do with why tmux isn't in the standard RH/CentOS repos, and one has to get it instead from repoforge.

Now I'm wondering what I may have broken on the CentOS box elsewhere LOL!

Anyone have any ideas?

Last edited by astanton; 06-17-2012 at 05:05 AM.
 
  


Reply

Tags
centos, tmux


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 Off
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
character set problem vbsaltydog Linux - Server 2 10-01-2009 05:33 PM
character set problem vbsaltydog Linux - General 2 07-06-2009 01:33 PM
Character Set problem Libertes Linux - General 0 09-08-2007 03:27 PM
Character set in the terminal intuxicator Debian 1 05-01-2005 02:56 AM
Character Set displayed problem. chrislee8 Linux - Newbie 3 10-02-2004 12:28 PM


All times are GMT -5. The time now is 01:04 AM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration