unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
From: "Neves-Graca, Sancho" <sancho.neves-graca@sap.com>
Cc: help-gnu-emacs@gnu.org
Subject: RE: Running a SFU POSIX shell on Emacs for Windows
Date: Thu, 16 Oct 2003 12:50:23 +0200	[thread overview]
Message-ID: <4B8422D300DD314CA8F52F2F4A7F26840135EBFA@dewdfx12.wdf.sap.corp> (raw)

Thank you Andrew for your feedback. Your proposal enabled running the shell mode for the SFU C shell. I would like to ask if you could consider the problem mentioned below. Getting SFU shells to work will I think merit some documentation (I intend to contribute it to either GNU or Interix).

After adding to ~/.emacs the commands

	(setq explicit-shell-file-name "C:\\WINNT\\System32\\posix.exe")
	(setq explicit-posix.exe-args '("/u" "/c" "/bin/csh" "-l"))

The following warning is given.

	csh: No entry for terminal type "emacs"
	csh: using dumb terminal setting

As per Emacs Windows FAQ I added the following to ~/.cshrc:

	if ("$term" == emacs) set term=interix

There remains the problem that the output of any Windows program called by the shell is not displayed. This indicates that the output stream is misdirected. How could this be corrected?

-----Original Message-----
From: andrew.maguire@ps.ge.com [mailto:andrew.maguire@ps.ge.com]
Sent: Wednesday, October 15, 2003 2:13 PM
To: Neves-Graca, Sancho
Cc: help-gnu-emacs@gnu.org
Subject: RE: Running a SFU POSIX shell on Emacs for Windows


Looking at shell.el it looks like you need to do the following:

(setq explicit-shell-file-name "C:\\WINNT\\System32\\posix.exe")
(setq explicit-posix.exe-args '("/u" "/c" "/bin/csh" "-l"))

Andrew

> -----Original Message-----
> From: Neves-Graca, Sancho [mailto:sancho.neves-graca@sap.com]
> Sent: 15 October 2003 10:45
> To: 'help-gnu-emacs@gnu.org'
> Subject: Running a SFU POSIX shell on Emacs for Windows
> 
> 
> I use Services for Unix (SFU) from Microsoft and would like 
> to access its C shell from Emacs shell mode. This does not 
> currently seem possible with the environment variable SHELL 
> or the line (setq explicit-shell-file-name 
> "C:\WINNT\System32\posix.exe /u /c /bin/csh -l") in the 
> configuration file. The shell is started by calling posix.exe with
> 
> 	C:\WINNT\System32\posix.exe /u /c /bin/csh -l
> 
> It seems that Emacs does not pass the arguments /u /c 
> /bin/csh -l to the executable posix.exe and therefore the 
> shell is not started. Moving to Cygwin is not an option for 
> many users of SFU. Could this missing functionality be 
> considered by the Emacs development team?

             reply	other threads:[~2003-10-16 10:50 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-10-16 10:50 Neves-Graca, Sancho [this message]
  -- strict thread matches above, loose matches on Subject: below --
2003-10-16 11:57 Running a SFU POSIX shell on Emacs for Windows andrew.maguire
2003-10-15 12:13 andrew.maguire
2003-10-15  9:44 Neves-Graca, Sancho

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

  List information: https://www.gnu.org/software/emacs/

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

  git send-email \
    --in-reply-to=4B8422D300DD314CA8F52F2F4A7F26840135EBFA@dewdfx12.wdf.sap.corp \
    --to=sancho.neves-graca@sap.com \
    --cc=help-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.
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).