Mercurial > emacs
changeset 14814:3793008500cd
(comint-exec-1): Use dumb instead of unknown, for terminfo.
author | Richard M. Stallman <rms@gnu.org> |
---|---|
date | Sun, 17 Mar 1996 15:29:34 +0000 |
parents | 2dbe6630a156 |
children | 4a742f2d5328 |
files | lisp/comint.el |
diffstat | 1 files changed, 2 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/lisp/comint.el Sun Mar 17 15:24:35 1996 +0000 +++ b/lisp/comint.el Sun Mar 17 15:29:34 1996 +0000 @@ -582,13 +582,13 @@ (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))))