Function: kermit-default-cr
kermit-default-cr is an interactive and byte-compiled function defined
in kermit.el.gz.
Signature
(kermit-default-cr)
Documentation
Make RETURN end the line with carriage-return and LFD end it with a newline.
This is useful for talking to other systems on which carriage-return is the normal way to end a line.
Key Bindings
Source Code
;; Defined in /usr/src/emacs/lisp/obsolete/kermit.el.gz
(defun kermit-default-cr ()
"Make RETURN end the line with carriage-return and LFD end it with a newline.
This is useful for talking to other systems on which carriage-return
is the normal way to end a line."
(interactive)
(define-key shell-mode-map "\r" 'kermit-send-input-cr)
(define-key shell-mode-map "\n" 'comint-send-input))