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 4th January 2017
psypro psypro is offline
Package Pilot
 
Join Date: Mar 2016
Location: Continent:Europe
Posts: 156
Default tmux and weechat

If I run weechat from consol, i get norwegian letters like : å ø æ.
(By using /set env LANG en_US.UTF-8 and then /upgrade inside of weechat)

If i run weechat from tmux, i got : ?? ?? ??

Solution

Code:
tmux -u
This give tmux same keyboard as consol I think

Inside of weechat
Code:
 /set env LANG en_US.UTF-8
Code:
/upgrade

Last edited by psypro; 4th January 2017 at 12:36 PM.
Reply With Quote
  #2   (View Single Post)  
Old 4th January 2017
ocicat ocicat is offline
Administrator
 
Join Date: Apr 2008
Posts: 3,318
Default

Quote:
Originally Posted by psypro View Post
Is it posible to start tmux with same settings a console?
From the tmux(1) manpage:
Quote:
tmux attempts to guess if the terminal is likely to support UTF-8 by checking the first of the LC_ALL, LC_CTYPE and LANG environment variables to be set for the string "UTF-8". This is not always correct: the -u flag explicitly informs tmux that UTF-8 is supported.
Try the -u option.
Reply With Quote
  #3   (View Single Post)  
Old 4th January 2017
psypro psypro is offline
Package Pilot
 
Join Date: Mar 2016
Location: Continent:Europe
Posts: 156
Default

Thank you, tmux -u did the trick.
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
Persisting tmux environment across system restarts J65nko News 0 5th September 2014 08:42 AM
BSDNow Episode 012: Collecting SSHells - A guide to SSH and tmux J65nko News 0 28th November 2013 11:41 PM
How does tmux select contents only in one pane ? sw2wolf OpenBSD Packages and Ports 8 23rd July 2012 12:02 AM
A visual guide to TMUX J65nko News 0 19th February 2011 07:43 PM
tmux disable automatic resize Carpetsmoker General software and network 7 25th June 2009 10:54 PM


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


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