bug-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: offical Emacs 22.1: `term' problem on MS Windows


From: Peter Tury
Subject: Re: offical Emacs 22.1: `term' problem on MS Windows
Date: Tue, 18 Mar 2008 01:08:10 -0700 (PDT)
User-agent: G2/1.0

On Mar 18, 12:25 am, Jason Rumney <address@hidden> wrote:
> Peter Tury wrote:
> > Then I digged into the code and saw that  term-exec-1 from term.el
> > uses "/bin/sh" unconditionally. I tried to comment it out, so I got:
>
> > "
> >     (apply 'start-process name buffer
> > ;;    "/bin/sh" "-c"
> > ;;    (format "stty -nl echo rows %d columns %d sane 2>/dev/null;\
> > ;;if [ $1 = .. ]; then shift; fi; exec \"address@hidden""
> > ;;            term-height term-width)
> > ;;    ".."
> >       command switches)))
> > "
> > and, for first sight it seems to work (since `command' has write
> > value: "C:/Program Files/emacs-22.1/bin/cmdproxy.exe").
>
> It might seem to work for some definition of "work", but it is no longer
> a terminal emulator if you remove those lines, and you might as well
> just use M-x shell.
>
> AFAIK there is no way to get M-x term working on Windows, as its
> implementation of terminals is completely different and undocumented.

Then, I think, it should be removed from Windows binaries. Or be
documented as not working there. In its current form it simply gives
an error message showing some buggy behaviour. At least it should show
up an error message saying "this is not implemented in this OS". What
do you think?

Thanks,
P


reply via email to

[Prev in Thread] Current Thread [Next in Thread]