From: Lennart B. <len...@st...> - 2005-10-04 20:31:37
|
Tuomo Latto wrote: >Lennart Borgman wrote: > > >>should be installed using a sh script. At the moment there is no >>standalone sh.exe for MS Windows that is actually working. There are >>several "unix emulation packages" that includes one (MSYS, CygWin, UWIN, >>UFS), but none that can be run standalone. If one was available I would >>choose that one and tell the Emacs users on MS Windows to use that one. >> >> > >If you only need plain vanilla sh functionality, >I believe zsh might do the trick. (http://unxutils.sourceforge.net/) > > I believe zsh could do the trick, but I wonder about the port at UnxUtils. When I press control-D in this zsh I get a question: zsh: do you want to see all 878 possibilities? Is that expected? I get the same even when I rename it to ksh or sh (in which case the ksh documentation says it should mimic those shells). It also does not seem to inherit the PATH variable. It is simply set to some default as far as I can see. Command line editing does not work. Is this maybe a very early or not finished port? Or am I simply misunderstanding how it should work? >SFU apparently has ksh (http://www.microsoft.com/windows/sfu/). >(http://www.neowin.net/comments.php?category=software&id=12971) > > Maybe this is a good choice, I do not know. It would have to be examined. Would it be as good as MSYS do you think? >UWIN's ksh didn't work? What exactly is wrong with it? > > It can not be run as a subshell in Emacs for some reason. Otherwise it is fast and does some of the things I have asked for here: diff just compares the text and does not care about line endings style, .cmd files are executed as expected. However it does not inherit PATH. >Then there's DJGPP's bash, if DOS executable is ok. >(ftp://ftp.delorie.com/pub/djgpp/current/v2gnu/bsh204b.zip) > > I would not expect this to work with w32 Emacs, but I am not sure. I mean I would expect there will be some problems with piping etc. Does not feel like this is the thing to put effort in. >Or, if you just need a shell, there's tcsh. >(http://www.tcsh.org/MostRecentRelease) > > This is UWIN again actually. Thanks for all the suggestions, but unfortunately I do not feel quite comfortable with any of them. I mean I would like to have something that I really can suggest to Emacs users on MS Windows as "this is it, you do not have to search any more - good integration with MS Windows and a nice set of features". Of course I just do not want to wine here, I hope someone which share my view of this can take the ball and finish the port of the current zsh for example (or bash). Or maybe change those things in MSYS that I have suggested. I would like to, but I lack the knowledge to do this quickly. I have spent some time on Emacs instead though. |