Your message dated Thu, 12 Oct 2006 18:47:10 -0700
with message-id <[EMAIL PROTECTED]>
and subject line Bug#266953: fixed in gkermit 1.0-5
has caused the attached Bug report to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what I am
talking about this indicates a serious mail system misconfiguration
somewhere.  Please contact me immediately.)

Debian bug tracking system administrator
(administrator, Debian Bugs database)

--- Begin Message ---
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 = "|/-\\";
+
 VOID
 nxtpkt() {                             /* Next packet */
     retries = 0;                       /* Reset per-packet retry count */
     seq = (seq + 1) & 63;              /* Next packet number, mod 64 */
+    if (progress)
+      fprintf(stderr,"%c\r", twirl[seq & 3]);
 }
 
 int
diff -Nur gkermit-1.0/gkermit.h gkermit-1.0.progress/gkermit.h
--- gkermit-1.0/gkermit.h       1999-12-26 15:25:52.000000000 -0600
+++ gkermit-1.0.progress/gkermit.h      2004-08-19 16:02:39.000000000 -0500
@@ -236,6 +236,7 @@
 extern int errno;
 #ifndef _GKERMIT_C
 extern int debug;
+extern int progress;
 #endif /* _GKERMIT_C */
 
 #endif /* _GKERMIT_H */

--- End Message ---
--- Begin Message ---
Source: gkermit
Source-Version: 1.0-5

We believe that the bug you reported is fixed in the latest version of
gkermit, which is due to be installed in the Debian FTP archive:

gkermit_1.0-5.diff.gz
  to pool/main/g/gkermit/gkermit_1.0-5.diff.gz
gkermit_1.0-5.dsc
  to pool/main/g/gkermit/gkermit_1.0-5.dsc
gkermit_1.0-5_i386.deb
  to pool/main/g/gkermit/gkermit_1.0-5_i386.deb



A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to [EMAIL PROTECTED],
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Masayuki Hatta (mhatta) <[EMAIL PROTECTED]> (supplier of updated gkermit 
package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing [EMAIL PROTECTED])


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Format: 1.7
Date: Fri, 13 Oct 2006 10:25:00 +0900
Source: gkermit
Binary: gkermit
Architecture: source i386
Version: 1.0-5
Distribution: unstable
Urgency: low
Maintainer: Masayuki Hatta (mhatta) <[EMAIL PROTECTED]>
Changed-By: Masayuki Hatta (mhatta) <[EMAIL PROTECTED]>
Description: 
 gkermit    - A serial and network communications package
Closes: 266953
Changes: 
 gkermit (1.0-5) unstable; urgency=low
 .
   * Bumped to Standards-Version: 3.7.2.
   * Added progress indicator, thanks Tim Riker - closes: #266953
Files: 
 c3edd9d5baf324ac9d0eff6e6557491d 572 comm optional gkermit_1.0-5.dsc
 c618cf580dba83452c8d8fd686b8975b 4075 comm optional gkermit_1.0-5.diff.gz
 551232eb17d4c1f61b8892cba150fbf9 40456 comm optional gkermit_1.0-5_i386.deb

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.5 (GNU/Linux)

iD8DBQFFLux4y2+jQOcHWlQRAvuVAJ9RE9MF2pD18lHBI+CLf068CT4PpACdHD3I
0XtMIVicqYyEAuU+lxP9Vuk=
=F2KU
-----END PGP SIGNATURE-----


--- End Message ---

Reply via email to