# XCTU packet editor CR/LF

**URL:** <https://forums.digi.com/t/xctu-packet-editor-cr-lf/23362>\
**Category:** XCTU\
**Tags:** packet\
**Created:** [December 16, 2022, 12:25am UTC](https://forums.digi.com/t/xctu-packet-editor-cr-lf/23362 "2022-12-16T00:25:40Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![RLmonitor](https://avatars.discourse-cdn.com/v4/letter/r/e8c25b/32.png) [@RLmonitor](https://forums.digi.com/u/RLmonitor)\
**Post date:** [December 16, 2022, 12:25am UTC](https://forums.digi.com/t/xctu-packet-editor-cr-lf/23362/1 "2022-12-16T00:25:40Z")

</div>

I have a text packet ending with LF (0x0A). If I edit the text packet to make it longer the editor changes the LF to CR (0x0D). So the user must use the Hex editor to change the CR back to LF.

---

<div class="post-metadata">

**Author:** ![mvut](https://sea2.discourse-cdn.com/flex016/user_avatar/forums.digi.com/mvut/32/31_2.png) [@mvut](https://forums.digi.com/u/mvut)\
**Post date:** [December 16, 2022, 5:45pm UTC](https://forums.digi.com/t/xctu-packet-editor-cr-lf/23362/2 "2022-12-16T17:45:32Z")

</div>

Try using API mode 2.

---

<div class="post-metadata">

**Author:** ![RLmonitor](https://avatars.discourse-cdn.com/v4/letter/r/e8c25b/32.png) [@RLmonitor](https://forums.digi.com/u/RLmonitor)\
**Post date:** [January 8, 2023, 9:36pm UTC](https://forums.digi.com/t/xctu-packet-editor-cr-lf/23362/3 "2023-01-08T21:36:44Z")

</div>

The problem is that XCTU is changing the packet in the packet editor.

---

<div class="post-metadata">

**Author:** ![mvut](https://sea2.discourse-cdn.com/flex016/user_avatar/forums.digi.com/mvut/32/31_2.png) [@mvut](https://forums.digi.com/u/mvut)\
**Post date:** [January 10, 2023, 1:49pm UTC](https://forums.digi.com/t/xctu-packet-editor-cr-lf/23362/4 "2023-01-10T13:49:29Z")

</div>

That is because XCTU does not support the function LF which is not supported by All terminal emulators.
