From:
[email protected]
This is a multi-part message in MIME format.
Package: gkermit
Version: 1.0-4
Severity: wishlist
I setup minicom to use gkermit, but you just see a blank screen while
the transfers are happening. I added a '-v' option to get a spinning
progress indicator and then have the following in
/etc/minicom/minirc.dfl :
pu pname7 YUNYNkermit
pu pname8 NDNYNkermit
pu pprog7 /usr/bin/gkermit -iXvs
pu pprog8 /usr/bin/gkermit -iXvr
Trivial patch attached. Tested uploads to u-boot on an embedded board
where kermit is the only choice for file transfer.
-- System Information:
Debian Release: 3.1
APT prefers unstable
APT policy: (500, 'unstable')
Architecture: i386 (i686)
Kernel: Linux 2.6.7-1-686
Locale: LANG=C, LC_CTYPE=C
--
Tim Riker -
http://rikers.org/ -
[email protected]
Linux Technologist -
[email protected] -
http://www.TI.com/
BZFlag maintainer -
http://BZFlag.org/ - for fun!
diff -Nur gkermit-1.0/gcmdline.c gkermit-1.0.progress/gcmdline.c
--- gkermit-1.0/gcmdline.c 2004-08-19 16:10:23.000000000 -0500
+++ gkermit-1.0.progress/gcmdline.c 2004-08-19 16:07:22.000000000 -0500
@@ -285,6 +285,11 @@
quiet = 1;
break;
+ case 'v': /* Verbose */
+ progress = 1; /* (lame) progress indicator */
+ quiet = 0; /* Turn messages back on */
+ break;
+
case 'K': /* Keep incompletely received files */
keep = 1;
break;
diff -Nur gkermit-1.0/gkermit.c gkermit-1.0.progress/gkermit.c
--- gkermit-1.0/gkermit.c 2004-08-19 16:10:23.000000000 -0500
+++ gkermit-1.0.progress/gkermit.c 2004-08-19 16:06:00.000000000 -0500
@@ -86,6 +86,7 @@
FILE * db = NULL; /* Debug log file pointer */
int debug = 0; /* Debugging on */
+int progress = 0; /* display (lame) progress */
int failure = 0; /* Return status */
int retries = 0; /* Packet retry counter */
int sendtype = 0; /* Type of last packet sent */
@@ -262,10 +263,14 @@
return(type); /* Return its type */
}
+char *twirl = "|