Hi everybody

I have some problems and I hope some of you can help me. My problem is I
want to send a command to a tmux session from a cron job by using the
send-keys command in tmus. My first tests works perfectly but I got
problems when trying send some UTF-8 characters. The command I am trying is:

tmux -u send-keys -t mytest "echo test æøå" enter


My tmux session is startet with this command (both contains the –u option
to activate UTF-8 support):

tmux -u new -s mytest -d


Im also have this in my .tmux.conf file just to be sure tmux understand I
want UTF-8 support:

setw -g utf8 on
set -g status-utf8 on


My problem is the revived message is not UTF-8 encoded (looks likes it is
split in 8-bit chars). Any good tips how I can get this working?


P.S. Im running tmux 1.8 on Arch Linux. I have also tried the lasted GIT
version without any luck.


Jacob Bang / julemand101
------------------------------------------------------------------------------
Try New Relic Now & We'll Send You this Cool Shirt
New Relic is the only SaaS-based application performance monitoring service 
that delivers powerful full stack analytics. Optimize and monitor your
browser, app, & servers with just a few lines of code. Try New Relic
and get this awesome Nerd Life shirt! http://p.sf.net/sfu/newrelic_d2d_apr
_______________________________________________
tmux-users mailing list
tmux-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/tmux-users

Reply via email to