Public bug reported:

minicom's "runscript" replaces all newline sequences in the "send"
command with carriage return characters, instead of newline characters.

1) ubuntu 14.04
2) minicom-2.7-1
3) expected behavior:

~/Downloads/minicom-2.7
❯ cat /tmp/foo
send \cnewline here ->\n

~/Downloads/minicom-2.7
❯ ./src/runscript /tmp/foo | xxd
0000000: 6e65 776c 696e 6520 6865 7265 202d 3e0a  newline here ->.

4) actual behavior:

~/Downloads/minicom-2.7.old
❯ cat /tmp/foo
send \cnewline here ->\n

~/Downloads/minicom-2.7.old
❯ ./src/runscript /tmp/foo | xxd
0000000: 6e65 776c 696e 6520 6865 7265 202d 3e0d  newline here ->.

The attached script fixes the issue

** Affects: minicom (Ubuntu)
     Importance: Undecided
         Status: New


** Tags: minicom

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1669527

Title:
  runscript converts all newlines to carriage returns

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/minicom/+bug/1669527/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to