Path: utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!tut.cis.ohio-state.edu!bloom-beacon!apple!rutgers!rochester!pt.cs.cmu.edu!centro.soar.cs.cmu.edu!shivers From: shivers@centro.soar.cs.cmu.edu (Olin Shivers) Newsgroups: gnu.emacs Subject: Re: send-eof for comint Keywords: Already there Message-ID: <4357@pt.cs.cmu.edu> Date: 25 Feb 89 15:41:18 GMT Organization: Carnegie-Mellon University, CS/RI Lines: 22 From Dale Worley: Olin forgot the C-c C-d command. Add the following in the appropriate places in comint.el: (define-key comint-mode-map "\C-c\C-d" 'comint-eof-subjob) (defun comint-eof-subjob () "Send end-of-file (control-D) to the current subjob." (interactive) (process-send-eof)) Dale worley@compass.com ------ This is not necessary. C-d is already bound to the command comint-delchar-or-maybe-eof which has the following doc string: Delete ARG characters forward, or send an EOF to process if at end of buffer. This is probably what you want. -Olin --