Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!usc!wuarchive!texbell!uunet.UU.NET!usm3b2!aubsch!jimh From: jim@aubsch.UUCP (Jim Hart) Newsgroups: comp.sys.ncr Subject: Aspen ksh (again :-( ) Message-ID: <530@texbell.swbt.com> Date: 20 Mar 90 05:08:35 GMT Lines: 15 Resender: towers@texbell.swbt.com (NCR Tower Mailing List) I had forgotten how many problems I had with this darned thing. Thanks to helpful suggestions from people on the net, I have ksh set up so it will spawn a new Korn shell from 'vi' when I use the ':sh' command, or the :!. Unfortunately, in the ':!' process, I use the '%' symbol to get the current file name. This is not working. Somehow, something is being passed to 'ksh' that it can't handle. It says the file (command, etc.) can't be found. If I type the name in, rather than using the '%', it works OK. Anyone have any ideas why 'ksh' can't handle %-substitution, but 'sh' can? ------------------------------------------------------------- Jim Hart uunet!usm3b2!aubsch!jimh Dept. of Education Phone: 207-784-6431 P.O. Box 800, 23 High St. Auburn, ME 04210 USA