aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRichard M. Stallman1996-03-17 15:29:34 +0000
committerRichard M. Stallman1996-03-17 15:29:34 +0000
commit36990caa7dadd67acccd181ad76d87b9889e95c6 (patch)
tree149a630d267beb389635d81cc8cf3246b5f4e3f8
parentd7ce568fabffcbee25e796a704671feaa9e08e3f (diff)
downloademacs-36990caa7dadd67acccd181ad76d87b9889e95c6.tar.gz
emacs-36990caa7dadd67acccd181ad76d87b9889e95c6.zip
(comint-exec-1): Use dumb instead of unknown, for terminfo.
-rw-r--r--lisp/comint.el4
1 files changed, 2 insertions, 2 deletions
diff --git a/lisp/comint.el b/lisp/comint.el
index f0e717ec09d..fca83137fdd 100644
--- a/lisp/comint.el
+++ b/lisp/comint.el
@@ -582,13 +582,13 @@ buffer. The hook `comint-exec-hook' is run after each exec."
582 (nconc 582 (nconc
583 ;; If using termcap, we specify `emacs' as the terminal type 583 ;; If using termcap, we specify `emacs' as the terminal type
584 ;; because that lets us specify a width. 584 ;; because that lets us specify a width.
585 ;; If using terminfo, we specify `unknown' because that is 585 ;; If using terminfo, we specify `dumb' because that is
586 ;; a defined terminal type. `emacs' is not a defined terminal type 586 ;; a defined terminal type. `emacs' is not a defined terminal type
587 ;; and there is no way for us to define it here. 587 ;; and there is no way for us to define it here.
588 ;; Some programs that use terminfo get very confused 588 ;; Some programs that use terminfo get very confused
589 ;; if TERM is not a valid terminal type. 589 ;; if TERM is not a valid terminal type.
590 (if (and (boundp 'system-uses-terminfo) system-uses-terminfo) 590 (if (and (boundp 'system-uses-terminfo) system-uses-terminfo)
591 (list "TERM=unknown" 591 (list "TERM=dumb"
592 (format "COLUMNS=%d" (frame-width))) 592 (format "COLUMNS=%d" (frame-width)))
593 (list "TERM=emacs" 593 (list "TERM=emacs"
594 (format "TERMCAP=emacs:co#%d:tc=unknown:" (frame-width)))) 594 (format "TERMCAP=emacs:co#%d:tc=unknown:" (frame-width))))