Commit a91ad7c9 authored by Gerd Moellmann's avatar Gerd Moellmann
Browse files

(comint-exec-1): Set columns of the terminal to

window-width instead of frame-width.
parent fa88947e
2001-03-20 Gerd Moellmann <gerd@gnu.org>
 
* comint.el (comint-exec-1): Set columns of the terminal to
window-width instead of frame-width.
* info.el (Info-scroll-down): Add missing WINDOW arg for
pos-visible-in-window-p.
 
......
......@@ -740,9 +740,9 @@ buffer. The hook `comint-exec-hook' is run after each exec."
;; if TERM is not a valid terminal type.
(if (and (boundp 'system-uses-terminfo) system-uses-terminfo)
(list "TERM=dumb" "TERMCAP="
(format "COLUMNS=%d" (frame-width)))
(format "COLUMNS=%d" (window-width)))
(list "TERM=emacs"
(format "TERMCAP=emacs:co#%d:tc=unknown:" (frame-width))))
(format "TERMCAP=emacs:co#%d:tc=unknown:" (window-width))))
(if (getenv "EMACS") nil (list "EMACS=t"))
process-environment))
(default-directory
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment