Function: idlwave-shell-send-char
idlwave-shell-send-char is an interactive and byte-compiled function
defined in idlw-shell.el.gz.
Signature
(idlwave-shell-send-char C &optional ERROR)
Documentation
Send one character to the shell, without a newline.
Key Bindings
Source Code
;; Defined in /usr/src/emacs/lisp/obsolete/idlw-shell.el.gz
(defun idlwave-shell-send-char (c &optional error)
"Send one character to the shell, without a newline."
(interactive "cChar to send to IDL: \np")
(let ((errf (if error 'error 'message))
buf proc)
(if (or (not (setq buf (get-buffer (idlwave-shell-buffer))))
(not (setq proc (get-buffer-process buf))))
(funcall errf "Shell is not running"))
(if (equal c ?\C-g)
(funcall errf "Abort")
(comint-send-string proc (char-to-string c)))))