Commit 628ed366 authored by Richard M. Stallman's avatar Richard M. Stallman

(telnet): Do erase-buffer after the initial output.

parent 134994ae
......@@ -157,9 +157,9 @@ Normally input is edited in Emacs and sent a line at a time."
(let ((name (concat arg "-telnet" )))
(switch-to-buffer (make-comint name "telnet"))
(set-process-filter (get-process name) 'telnet-initial-filter)
(erase-buffer)
;; Don't send the `open' cmd till telnet is ready for it.
(accept-process-output (get-process name))
(erase-buffer)
(send-string name (concat "open " arg "\n"))
(telnet-mode)
(setq telnet-count telnet-initial-count)))
......
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