Rickard,

Your script could be outputting control codes which are meaningful for tmux, and that may be why it's stopping on those iterations. This is just a guess, I don't know Julia but that looks like what it may be doing.

Trey Blancher

On Sat, Jul 31, 2021 at 11:46:46AM +0100, Nicholas Marriott wrote:
  tmux can't stop a program sending output, seems most likely to be a bug in
  the language runtime.
  If you write its output to a file and then cat the file inside tmux, is it
  complete?

  On Sat, 31 Jul 2021, 11:33 Rickard Carlsson,
  <[1][email protected]> wrote:

    Hey!
    When I run the following julia script in tmux it just stops on the print
    statement on the  39th and 40th iteration. If I run it outside of tmux
    it works just fine. I wront on a julia forum but noone was able to
    answer me there so I figured it might be more of a tmux issue. I run all
    of it on archlinux in urxvt using julia version 1.6.1 . 
    Thanks in advance.
    Regards,
    Rickard 
    The julia script:
    _______________________________________________________
    using Base64
    buffer3 =
    "1b37373331363f78151b7f2b783431333d78397828372d363c78373e783a393b3736"
    bytesmessage = hex2bytes(buffer3)
    function xordecrypt(message::Vector{UInt8}, key::UInt8)
        decryption = Vector{UInt8}()
        for i in message
        push!(decryption, xor(i , key)) # xor works as inverse of xor
        end
        return decryption
    end
     
    for i in 0x00:0xff
        res = xordecrypt(bytesmessage, i)
        stringus = String(res)
        print(i, " Message: " * stringus * "\n")
    end
    
______________________________________________________________________________________

    --
    You received this message because you are subscribed to the Google
    Groups "tmux-users" group.
    To unsubscribe from this group and stop receiving emails from it, send
    an email to [2][email protected].
    To view this discussion on the web, visit
    
[3]https://groups.google.com/d/msgid/tmux-users/806b5caf-785d-4552-b54a-1feab7095e28n%40googlegroups.com.

  --
  You received this message because you are subscribed to the Google Groups
  "tmux-users" group.
  To unsubscribe from this group and stop receiving emails from it, send an
  email to [4][email protected].
  To view this discussion on the web, visit
  
[5]https://groups.google.com/d/msgid/tmux-users/CAEdLfcGDm87SN8JnGPYj05cJOLipLR6qeanh45w9h14jAaTqCw%40mail.gmail.com.

References

  Visible links
  1. mailto:[email protected]
  2. mailto:[email protected]
  3. 
https://groups.google.com/d/msgid/tmux-users/806b5caf-785d-4552-b54a-1feab7095e28n%40googlegroups.com?utm_medium=email&utm_source=footer
  4. mailto:[email protected]
  5. 
https://groups.google.com/d/msgid/tmux-users/CAEdLfcGDm87SN8JnGPYj05cJOLipLR6qeanh45w9h14jAaTqCw%40mail.gmail.com?utm_medium=email&utm_source=footer

--
You received this message because you are subscribed to the Google Groups 
"tmux-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web, visit 
https://groups.google.com/d/msgid/tmux-users/YQUt7%2Bk9hcYhRYVD%40ferrum.ceti.

Reply via email to