[minicom-Bugs][310737] Newline delay max value too small
minicom-bugs at alioth.debian.org
minicom-bugs at alioth.debian.org
Fri Apr 25 19:35:30 UTC 2008
Bugs item #310737, was opened at 2008-04-23 18:19
>Status: Closed
Priority: 3
Submitted By: barnabé bertrand (barnabe-guest)
>Assigned to: Adam Lackorzynski (al-guest)
Summary: Newline delay max value too small
Category: None
Group: wishlist
>Resolution: Fixed
Initial Comment:
When using "Paste file" feature to upload files, it may be needed to use a big newline delay, to allow the remote device to correctly process input.
Working with a Cisco router may need a value around 150 ms, and the value in settings dialog is limited to two digits.
Proposed patch :
diff -Naur minicom-2.3.orig/src/config.c minicom-2.3/src/config.c
--- minicom-2.3.orig/src/config.c 2008-02-24 11:33:49.000000000 +0100
+++ minicom-2.3/src/config.c 2008-04-23 11:41:20.000000000 +0200
@@ -1214,10 +1214,10 @@
case 'D':
sprintf(buf, "%d", vt_nl_delay);
mc_wlocate(w, mbslen(msg_nl_delay) +1, 4);
- mc_wgets(w, buf, 4, 4);
+ mc_wgets(w, buf, 5, 5);
vt_nl_delay = atoi(buf);
mc_wlocate(w, mbslen(msg_nl_delay) +1, 4);
- mc_wprintf(w, "%-3d", vt_nl_delay);
+ mc_wprintf(w, "%-4d", vt_nl_delay);
break;
case 'E':
pgets(w, strlen(msg_answerback) + 1, 5, P_ANSWERBACK, 50, 50);
----------------------------------------------------------------------
>Comment By: Adam Lackorzynski (al-guest)
Date: 2008-04-25 21:35
Message:
Patch committed. Thanks!
----------------------------------------------------------------------
You can respond by visiting:
http://alioth.debian.org/tracker/?func=detail&atid=100031&aid=310737&group_id=30018
More information about the minicom-devel
mailing list