Reuben Thomas wrote:
> > I've tried M-x term under XEmacs 21.1.14 on both RedHat
6.2, 7.1 and
> > Debian 2.2r3, and under XEmacs 21.4.4 on RedHat 7.1 (the platform I'm
> > writing this report on). It doesn't seem to work properly, the
> > principal problem being that \r characters (carriage returns) are
> > somehow not reaching the terminal emulator, so that every time you
> > press RETURN the display stair
> > steps
> > like
> > this.
> > I've poked around in the code a bit and verified that
> > term-emulate-terminal is simply not being sent the \r characters.
>
> Try "stty onlcr".
That doesn't seem to have any effect (I'd already tried it, but I
tried it again to make sure). Are you saying that this works for you?
(I've yet to find anyone for whom it actually works under XEmacs 21).
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).
--
Glynn Clements <glynn.clements(a)virgin.net>