Normally input is edited in Emacs and sent a line at a time."
(interactive "sOpen telnet connection to host: ")
(setq host (comint-canonicalize-args host))
- (let* ((name (concat host "-telnet" ))
+ (let* ((comint-delimiter-argument-list '(" " "\t"))
+ (name (concat (comint-arguments host 0 nil) "-telnet" ))
(buffer (get-buffer (concat "*" name "*"))))
(if (and buffer (get-buffer-process buffer))
(switch-to-buffer (concat "*" name "*"))