unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
* offical Emacs 22.1: `term' problem on MS Windows
@ 2008-03-17 17:49 Peter Tury
  2008-03-17 23:25 ` Jason Rumney
       [not found] ` <mailman.9055.1205796345.18990.bug-gnu-emacs@gnu.org>
  0 siblings, 2 replies; 4+ messages in thread
From: Peter Tury @ 2008-03-17 17:49 UTC (permalink / raw)
  To: bug-gnu-emacs

Hi,

I've just installed official v22.1 from gnu ftp server onto MS Windows
XP. I haven't customized it yet. I tried M-x term and got error:

"Spawning child process: invalid argument"

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 \"$@\""
;;		   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").

Is this a known bug? Or I misused somethnig?

Thanks in advance,
P


^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2008-03-18 11:39 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2008-03-17 17:49 offical Emacs 22.1: `term' problem on MS Windows Peter Tury
2008-03-17 23:25 ` Jason Rumney
     [not found] ` <mailman.9055.1205796345.18990.bug-gnu-emacs@gnu.org>
2008-03-18  8:08   ` Peter Tury
2008-03-18 11:39     ` Jason Rumney

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).