]> code.delx.au - gnu-emacs/blobdiff - lisp/comint.el
(rlogin): Call rlogin-mode after adding rlogin-carriage-filter to output
[gnu-emacs] / lisp / comint.el
index 95be2b5e08ea89b054458940b6499edbd5a6d64d..fca83137fdd8d708a105ef11ae3193a50463db54 100644 (file)
@@ -503,7 +503,7 @@ BUFFER can be either a buffer or the name of one."
 
 ;; Note that this guy, unlike shell.el's make-shell, barfs if you pass it ()
 ;; for the second argument (program).
-;;###autoload
+;;;###autoload
 (defun make-comint (name program &optional startfile &rest switches)
   "Make a comint process NAME in a buffer, running PROGRAM.
 The name of the buffer is made by surrounding NAME with `*'s.
@@ -526,7 +526,7 @@ If PROGRAM is a string, any more args are arguments to PROGRAM."
           (comint-exec buffer name program startfile switches)))
     buffer))
 
-;;###autoload
+;;;###autoload
 (defun comint-run (program)
   "Run PROGRAM in a comint buffer and switch to it.
 The buffer name is made by surrounding the file name of PROGRAM with `*'s.
@@ -582,13 +582,13 @@ buffer.  The hook `comint-exec-hook' is run after each exec."
         (nconc
          ;; If using termcap, we specify `emacs' as the terminal type
          ;; because that lets us specify a width.
-         ;; If using terminfo, we specify `unknown' because that is
+         ;; If using terminfo, we specify `dumb' because that is
          ;; a defined terminal type.  `emacs' is not a defined terminal type
          ;; and there is no way for us to define it here.
          ;; Some programs that use terminfo get very confused
          ;; if TERM is not a valid terminal type.
          (if (and (boundp 'system-uses-terminfo) system-uses-terminfo)
-             (list "TERM=unknown"
+             (list "TERM=dumb"
                    (format "COLUMNS=%d" (frame-width)))
            (list "TERM=emacs"
                  (format "TERMCAP=emacs:co#%d:tc=unknown:" (frame-width))))