[Top][All Lists]

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

RE: Running a SFU POSIX shell on Emacs for Windows

From: Neves-Graca, Sancho
Subject: RE: Running a SFU POSIX shell on Emacs for Windows
Date: Thu, 16 Oct 2003 12:50:23 +0200

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: []
Sent: Wednesday, October 15, 2003 2:13 PM
To: Neves-Graca, Sancho
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"))


> -----Original Message-----
> From: Neves-Graca, Sancho []
> Sent: 15 October 2003 10:45
> To: ''
> 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 via email to

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