;;; kermit.el --- additions to shell mode for use with kermit
-;; Copyright (C) 1988, 2001, 2002, 2003, 2004, 2005,
-;; 2006, 2007, 2008, 2009, 2010, 2011 Free Software Foundation, Inc.
+;; Copyright (C) 1988, 2001-2016 Free Software Foundation, Inc.
;; Author: Jeff Norden <jeff@colgate.csnet>
-;; Maintainer: FSF
+;; Maintainer: emacs-devel@gnu.org
;; Created: 15 Feb 1988
;; Keywords: comm
;; the -c (connect) command line option, which means you also have to specify a
;; line and baud on the command line, as in "kermit -l /dev/tty53 -b 9600 -c".
;; However, this will cause kermit to exit when the connection is closed. So
-;; in order to do a file transfer, you have to think ahead and and add -r
+;; in order to do a file transfer, you have to think ahead and add -r
;; (receive) to the command line. This means that you can't use the server
;; feature. The only fix I can see is to muck around with the source code for
;; kermit, although this probably wouldn't be too hard. What is needed is an
(defun kermit-clean-on ()
"Delete all null characters and ^M's from the kermit output.
Note that another (perhaps better) way to do this is to use the
-command `kermit | tr -d '\\015''."
+command `kermit | tr -d \\='\\015\\=''."
(interactive)
(set-process-filter (get-buffer-process (current-buffer))
'kermit-clean-filter))