On Sun, 9 Sep 2001, Glynn Clements spake:
Yes; however, I suspect that the problem lies elsewhere. Try this:
(push '("/.*" . binary) process-coding-system-alist)
If that works, the problem is that term-mode was having "DOS to Unix"
EOL conversion automatically performed on the output from the process
(which is usually what's desired, but not for a terminal emulator).
This is indeed the problem; I hit it when 21.4 came out. Luckily, it's
easy to persistently work around, for both term and tshell:
(defun bug-evil-term-process-coding-system ()
"Fix a term bug; the `process-coding-system' should always be
`binary'."
(set-buffer-process-coding-system 'binary 'binary))
(add-hook 'term-exec-hook 'gawd-evil-term-process-coding-system-bugfix)
--
`It's all about bossing computers around. Users have to say "please".
Programmers get to say "do what I want NOW or the hard disk gets it".'
-- Richard Heathfield on the nature of programming