Hi

Can you run:

tmux -vvvvvvvLtest new

And do the send-keys as below, then exit that tmux and send me the *.log
files from the current directory.


On Wed, Apr 24, 2013 at 03:18:55PM +0200, Jacob Bang wrote:
>    If I start a tmux session and stat running an instance of *cat > testfile*
>    I got a fine example of the problem. This is the text I got when I am
>    trying to write the text directly in the tmux session and read it again
>    with a hex reader (the word is *** * three Danish letters):
> 
>    C3 A6 C3 B8 C3 A5
> 
>    When I instead sends the letters to the tmux session by using this
>    command:
> 
>    tmux -u send-keys -t mytest ***
> 
>    This is the result:
> 
>    1B C3 1B A6 1B C3 1B B8 1B C3 1B A5
> 
>    I don*t know why 1B is placed between each 8-bit but it seems to be the
>    problem here.
> 
>    On Wed, Apr 24, 2013 at 1:05 PM, Nicholas Marriott
>    <[1]nicholas.marri...@gmail.com> wrote:
> 
>      What exactly do you get received? You should get the same bytes you put
>      in.
> 
>      On Wed, Apr 24, 2013 at 12:29:08AM +0200, Jacob Bang wrote:
>      > * *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!
>      [2]http://p.sf.net/sfu/newrelic_d2d_apr
> 
>      > _______________________________________________
>      > tmux-users mailing list
>      > [3]tmux-users@lists.sourceforge.net
>      > [4]https://lists.sourceforge.net/lists/listinfo/tmux-users
> 
>    --
>    Jacob Bang / julemand101
> 
> References
> 
>    Visible links
>    1. mailto:nicholas.marri...@gmail.com
>    2. http://p.sf.net/sfu/newrelic_d2d_apr
>    3. mailto:tmux-users@lists.sourceforge.net
>    4. https://lists.sourceforge.net/lists/listinfo/tmux-users

------------------------------------------------------------------------------
Get 100% visibility into Java/.NET code with AppDynamics Lite
It's a free troubleshooting tool designed for production
Get down to code-level detail for bottlenecks, with <2% overhead.
Download for free and get started troubleshooting in minutes.
http://p.sf.net/sfu/appdyn_d2d_ap2
_______________________________________________
tmux-users mailing list
tmux-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/tmux-users

Reply via email to