Mercurial > emacs
comparison lisp/rlogin.el @ 5793:85abf27f701f
(rlogin-delchar-or-send-Ctrl-D): Call rlogin-send-Ctrl-D. Doc fix.
author | Roland McGrath <roland@gnu.org> |
---|---|
date | Sat, 05 Feb 1994 21:13:43 +0000 |
parents | 242985a124fc |
children | 8fcef41c85b7 |
comparison
equal
deleted
inserted
replaced
5792:242985a124fc | 5793:85abf27f701f |
---|---|
21 ;; Inc.; 675 Massachusetts Avenue.; Cambridge, MA 02139, USA. | 21 ;; Inc.; 675 Massachusetts Avenue.; Cambridge, MA 02139, USA. |
22 | 22 |
23 ;;; Commentary: | 23 ;;; Commentary: |
24 | 24 |
25 ;; Support for remote logins using `rlogin'. | 25 ;; Support for remote logins using `rlogin'. |
26 ;; $Id: rlogin.el,v 1.15 1993/12/01 13:04:24 friedman Exp roland $ | 26 ;; $Id: rlogin.el,v 1.16 1994/02/05 21:00:13 roland Exp roland $ |
27 | 27 |
28 ;;; Todo: | 28 ;;; Todo: |
29 | 29 |
30 ;; Make this mode deal with comint-last-input-end properly. | 30 ;; Make this mode deal with comint-last-input-end properly. |
31 | 31 |
207 (defun rlogin-send-Ctrl-backslash () | 207 (defun rlogin-send-Ctrl-backslash () |
208 (interactive) | 208 (interactive) |
209 (send-string nil "\C-\\")) | 209 (send-string nil "\C-\\")) |
210 | 210 |
211 (defun rlogin-delchar-or-send-Ctrl-D (arg) | 211 (defun rlogin-delchar-or-send-Ctrl-D (arg) |
212 "Delete ARG characters forward, or send a C-d to process if at end of | 212 "\ |
213 buffer." | 213 Delete ARG characters forward, or send a C-d to process if at end of buffer." |
214 (interactive "p") | 214 (interactive "p") |
215 (if (eobp) | 215 (if (eobp) |
216 (send-string nil "\C-d") | 216 (rlogin-send-Ctrl-D) |
217 (delete-char arg))) | 217 (delete-char arg))) |
218 | 218 |
219 ;;; rlogin.el ends here | 219 ;;; rlogin.el ends here |