;; 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.
+ ;; ;; There is similar code in compile.el.
(if (and (boundp 'system-uses-terminfo) system-uses-terminfo)
(list "TERM=dumb" "TERMCAP="
(format "COLUMNS=%d" (window-width)))
(proc (start-process-shell-command (downcase mode-name)
outbuf
command)))
- ;; Set the terminal type
+ ;; Set the terminal type.
+ ;; There is similar code in comint.el.
(setq process-environment
(if (and (boundp 'system-uses-terminfo)
system-uses-terminfo)