Mercurial > emacs
diff lisp/comint.el @ 7327:1e2d4da6b5c4
Comment change.
author | Richard M. Stallman <rms@gnu.org> |
---|---|
date | Thu, 05 May 1994 03:58:49 +0000 |
parents | 058f19d36c07 |
children | 4f68024e4fb0 |
line wrap: on
line diff
--- a/lisp/comint.el Wed May 04 23:27:39 1994 +0000 +++ b/lisp/comint.el Thu May 05 03:58:49 1994 +0000 @@ -556,6 +556,13 @@ (defun comint-exec-1 (name buffer command switches) (let ((process-environment (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 + ;; 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 "EMACS=t" "TERM=unknown" (format "COLUMNS=%d" (frame-width)))