# Logic 2.3.6: Text copied from Terminal results scrambled

**URL:** <https://discuss.saleae.com/t/logic-2-3-6-text-copied-from-terminal-results-scrambled/714>\
**Category:** Logic 2 Software\
**Created:** [August 31, 2020, 9:29am UTC](https://discuss.saleae.com/t/logic-2-3-6-text-copied-from-terminal-results-scrambled/714 "2020-08-31T09:29:25Z")\
**Posts on this page:** 10\
**Page:** 1

<div class="post-metadata">

**Author:** ![rei\_vilo](https://avatars.discourse-cdn.com/v4/letter/r/0ea827/32.png) [@rei\_vilo](https://discuss.saleae.com/u/rei_vilo)\
**Post date:** [August 31, 2020, 9:29am UTC](https://discuss.saleae.com/t/logic-2-3-6-text-copied-from-terminal-results-scrambled/714/1 "2020-08-31T09:29:25Z")

</div>

I’m using Logic 2.3.5 and an SPI analyser.

 ![Capture 2020-08-31 à 11.25.59](https://canada1.discourse-cdn.com/flex030/uploads/saleae/original/1X/f4c95b5f51b9a6f90b8cdab63dc43e004dd1d4a8.png)

When copy-pasting the Terminal output to a text file, some sequences are scrambled.

> 0x0000/0x00 0x00FF/0x00

instead of (I presume)

> 0x00/0x00 0x00/0x00 0x00/0x00 0xFF/0x00

I’m attaching the logic trace and the text file.

[Scrambled.sal](https://discuss.saleae.com/uploads/short-url/uemd6TnDNXiLfx2heK79kDuP3t7.sal) (57.4 KB)  
[Text scrambled.txt](https://discuss.saleae.com/uploads/short-url/8tQnuTlE6p1k0wkadj57G8dUJ8u.txt) (56.2 KB)

---

<div class="post-metadata">

**Author:** ![timreyes](https://yyz2.discourse-cdn.com/flex030/user_avatar/discuss.saleae.com/timreyes/32/108_2.png) [@timreyes](https://discuss.saleae.com/u/timreyes)\
**Post date:** [September 1, 2020, 9:24pm UTC](https://discuss.saleae.com/t/logic-2-3-6-text-copied-from-terminal-results-scrambled/714/2 "2020-09-01T21:24:36Z")

</div>

Thanks @rei_vilo . I wasn’t able to reproduce the issue over here. What OS are you on, and how are you generating your .txt file exactly?

Also, does the “0x0000” scrambling happen consistently at the same place every time? I’m wondering if it’s some sort of odd race condition that only happens once in a while.

---

<div class="post-metadata">

**Author:** ![rei\_vilo](https://avatars.discourse-cdn.com/v4/letter/r/0ea827/32.png) [@rei\_vilo](https://discuss.saleae.com/u/rei_vilo)\
**Post date:** [September 1, 2020, 10:42pm UTC](https://discuss.saleae.com/t/logic-2-3-6-text-copied-from-terminal-results-scrambled/714/3 "2020-09-01T22:42:02Z")

</div>

Sorry for not mentioning: the OS is macOS 14.15.6.

I’m generating the txt file by copying the whole text from the terminal and pasting it into TextEdit, the macOS basic editor.

I haven’t found a way to save the content of the terminal through a menu of Logic. Maybe a feature to add to ensure a reliable export.

---

<div class="post-metadata">

**Author:** ![rei\_vilo](https://avatars.discourse-cdn.com/v4/letter/r/0ea827/32.png) [@rei\_vilo](https://discuss.saleae.com/u/rei_vilo)\
**Post date:** [September 2, 2020, 11:34am UTC](https://discuss.saleae.com/t/logic-2-3-6-text-copied-from-terminal-results-scrambled/714/4 "2020-09-02T11:34:18Z")

</div>

Reloading the same trace [Scrambled.sal](https://discuss.saleae.com/uploads/short-url/uemd6TnDNXiLfx2heK79kDuP3t7.sal) now shows a truncated output in the terminal.

 ![Capture 2020-09-02 à 13.32.30](https://canada1.discourse-cdn.com/flex030/uploads/saleae/original/1X/518142589abd329de1f64e56035ba09a02d21e6b.png)

For example, the two lines highlighted above are missing the final `00`.

```auto
0x21/0x00 0x00/0x00 0x44/0x00 0x00/0x00 0x18/0x00 0x45/0x
0xC7/0x00 0x00/0x00 0x4E/0x00 0x00/0x00 0x4F/0x00 0x00/0x

```

Resizing the right panel doesn’t make the missing `00` appear.

So the terminal seems to display the signal improperly.

This time, it was Logic 2.3.6 on macOS 14.15. I changed the title of the thread accordingly.

---

<div class="post-metadata">

**Author:** ![timreyes](https://yyz2.discourse-cdn.com/flex030/user_avatar/discuss.saleae.com/timreyes/32/108_2.png) [@timreyes](https://discuss.saleae.com/u/timreyes)\
**Post date:** [September 2, 2020, 9:37pm UTC](https://discuss.saleae.com/t/logic-2-3-6-text-copied-from-terminal-results-scrambled/714/5 "2020-09-02T21:37:16Z")

</div>

Thanks. Although I can’t reproduce the “0x000”, I can confirm that the terminal output is truncated in your latest Scrambled.sal file.

Interestingly, my version of your Scrambled.sal file truncates a bit differently (nevertheless, still truncates).

 ![Screen Shot 2020-09-02 at 4.34.39 PM](https://canada1.discourse-cdn.com/flex030/uploads/saleae/original/1X/db8c218d23cf7dc26f7ba8de64c045e052d4417a.png)

We’ll get this on the backlog to fix!

---

<div class="post-metadata">

**Author:** ![rei\_vilo](https://avatars.discourse-cdn.com/v4/letter/r/0ea827/32.png) [@rei\_vilo](https://discuss.saleae.com/u/rei_vilo)\
**Post date:** [September 30, 2020, 3:15pm UTC](https://discuss.saleae.com/t/logic-2-3-6-text-copied-from-terminal-results-scrambled/714/6 "2020-09-30T15:15:29Z")

</div>

The issue is still present on new release Alpha 2.3.8.

 ![Capture 2020-09-30 à 17.15.36](https://canada1.discourse-cdn.com/flex030/uploads/saleae/original/1X/276330c82d68d609b29cacffcab8a9438663c0d6.png)

 ![Capture 2020-09-30 à 17.14.36](https://canada1.discourse-cdn.com/flex030/uploads/saleae/original/1X/2d0c6a202b4bc494066dadde43456a3b49a326e6.png)

---

<div class="post-metadata">

**Author:** ![timreyes](https://yyz2.discourse-cdn.com/flex030/user_avatar/discuss.saleae.com/timreyes/32/108_2.png) [@timreyes](https://discuss.saleae.com/u/timreyes)\
**Post date:** [October 2, 2020, 8:28pm UTC](https://discuss.saleae.com/t/logic-2-3-6-text-copied-from-terminal-results-scrambled/714/7 "2020-10-02T20:28:07Z")

</div>

@rei_vilo Sorry we haven’t included the fix in v2.3.8. Still on our backlog at the moment.

---

<div class="post-metadata">

**Author:** ![rei\_vilo](https://avatars.discourse-cdn.com/v4/letter/r/0ea827/32.png) [@rei\_vilo](https://discuss.saleae.com/u/rei_vilo)\
**Post date:** [October 5, 2020, 8:31pm UTC](https://discuss.saleae.com/t/logic-2-3-6-text-copied-from-terminal-results-scrambled/714/8 "2020-10-05T20:31:55Z")

</div>

Does 2.3.9 include a fix for this issue? It doesn’t seem so.

---

<div class="post-metadata">

**Author:** ![timreyes](https://yyz2.discourse-cdn.com/flex030/user_avatar/discuss.saleae.com/timreyes/32/108_2.png) [@timreyes](https://discuss.saleae.com/u/timreyes)\
**Post date:** [October 6, 2020, 5:12pm UTC](https://discuss.saleae.com/t/logic-2-3-6-text-copied-from-terminal-results-scrambled/714/9 "2020-10-06T17:12:13Z")

</div>

@rei_vilo Nope, not in 2.3.9 either. We had some high priority features/bugs to focus on in 2.3.9 (namely the high CPU usage bug that we just fixed). We don’t have an official release date for this truncation bug, but we did just move it up in priority on our bugs backlog.

---

<div class="post-metadata">

**Author:** ![rei\_vilo](https://avatars.discourse-cdn.com/v4/letter/r/0ea827/32.png) [@rei\_vilo](https://discuss.saleae.com/u/rei_vilo)\
**Post date:** [November 25, 2020, 7:54am UTC](https://discuss.saleae.com/t/logic-2-3-6-text-copied-from-terminal-results-scrambled/714/10 "2020-11-25T07:54:55Z")

</div>

The issue is still there on release 2.3.14.

 ![Capture 2020-11-25 à 08.54.37](https://canada1.discourse-cdn.com/flex030/uploads/saleae/original/1X/9a18fd6145935aaa189a4e8a647fa5a044a4206e.png)
