[minicom-Bugs][315677] runscript converts all newlines to carriage returns
minicom-bugs at alioth.debian.org
minicom-bugs at alioth.debian.org
Fri Mar 24 17:58:29 UTC 2017
minicom-Bugs item #315677, was opened at 2017-03-24 13:58 by . .
You can respond by visiting:
https://alioth.debian.org/tracker/?func=detail&atid=100031&aid=315677&group_id=30018
Status: Open
Priority: 3
Submitted By: . . (nega-guest)
Assigned to: Nobody (None)
Summary: runscript converts all newlines to carriage returns
Category: None
Group: None
Resolution: None
Initial Comment:
minicom's "runscript" replaces all newline sequences in the "send" command with carriage return characters, instead of newline characters.
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 ->.
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 patch fixes the issue
----------------------------------------------------------------------
You can respond by visiting:
https://alioth.debian.org/tracker/?func=detail&atid=100031&aid=315677&group_id=30018
More information about the minicom-devel
mailing list