[Top][All Lists]

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

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

From: Jason Rumney
Subject: Re: offical Emacs 22.1: `term' problem on MS Windows
Date: Mon, 17 Mar 2008 23:25:37 +0000
User-agent: Thunderbird (Windows/20080213)

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.

reply via email to

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