all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Peter Tury <tury.peter@gmail.com>
To: bug-gnu-emacs@gnu.org
Subject: offical Emacs 22.1: `term' problem on MS Windows
Date: Mon, 17 Mar 2008 10:49:54 -0700 (PDT)	[thread overview]
Message-ID: <e11cb762-c447-4bda-b271-902830dace0d@i29g2000prf.googlegroups.com> (raw)

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


             reply	other threads:[~2008-03-17 17:49 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-03-17 17:49 Peter Tury [this message]
2008-03-17 23:25 ` offical Emacs 22.1: `term' problem on MS Windows 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

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=e11cb762-c447-4bda-b271-902830dace0d@i29g2000prf.googlegroups.com \
    --to=tury.peter@gmail.com \
    --cc=bug-gnu-emacs@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

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

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.