Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!swrinde!zaphod.mps.ohio-state.edu!samsung!uunet!mcsun!ukc!edcastle!hwcs!scott From: scott@cs.hw.ac.uk (Scott Telford) Newsgroups: comp.windows.ms Subject: Re: MS_SH under Windows? Keywords: UNIX, shell, Windows Message-ID: <2253@odin.cs.hw.ac.uk> Date: 7 Feb 91 13:05:48 GMT References: <1991Feb5.155504.28043@cs.cmu.edu> Sender: news@cs.hw.ac.uk Reply-To: scott@cs.hw.ac.uk (Scott Telford) Organization: Dept of Computer Science, Heriot-Watt University, UK. Lines: 34 In article <1991Feb5.155504.28043@cs.cmu.edu> ecc@CS.CMU.EDU (Eric Cooper) writes: >I am having trouble running MS_SH v1.64 under Windows 3.0 on a 286 >machine; the shell comes up, but then the machine hangs when I try to >run a command. > >If anyone has run this successfully, can you tell me what your >configuration looks like? It depends on your 'swap' setting. If it is 'swap extend' then sh will swap to extended or XMS memory when it executes any program. For this to work in Win 3 Standard mode you have to have the XMS setting in the appropriate PIF file for sh set to a minimum of 200k or thereabouts. If you don't you'll get a system crash. If you have 'swap disk' then sh will swap to disk, and this should work no problem. I haven't tried the EMS swap option since I don't have any EMS configured at the moment on my PC. BTW, If you're running in 386 Enhanced mode, then 'swap extend' always gives you a swap file reload "panic" error which makes sh hang up. I don't know how to get round this. I e-mailed the author about this point but he wasn't previously aware of the problem. Does anybody else know of a fix for this? >Otherwise, does anyone know of another UNIX-like shell that runs well >under Windows? The only other reasonably good Unix-like shell for DOS that I know about is the Korn Shell that comes with MKS Toolkit. I don't think this tries to do any fancy swapping. _____________________________________________________________________________ | Scott Telford, Dept of Computer Science, scott@cs.hw.ac.uk | | Heriot-Watt University, Edinburgh, UK. scott%hwcs@ukc.uucp | |_____ "Expect the unexpected." (The Hitch-Hiker's Guide to the Galaxy) ______|