Xref: utzoo comp.unix.questions:27141 comp.editors:2108 comp.unix.misc:621 Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!usc!zaphod.mps.ohio-state.edu!wuarchive!emory!att!cbnewsj!btwomey From: btwomey@cbnewsj.att.com (william.tw0mey) Newsgroups: comp.unix.questions,comp.editors,comp.unix.misc Subject: vi can't handle ":! cmd %" Keywords: vi compile Message-ID: <1990Nov27.210425.25747@cbnewsj.att.com> Date: 27 Nov 90 21:04:25 GMT Followup-To: poster Distribution: na Organization: AT&T Bell Laboratories Lines: 25 I'm running System V, R3.2.3 and ksh88d. While in vi editing foo.c, with shell=/bin/ksh, if I try :! cc % I get a message to the effect that cc can't access foo.c. Now the interesting part is if I try :!echo % | od -c I get 0000000 f o o . c \n 346 357 357 256 343 012 0000006 which is the characters for "foo.c" but with the high order bits set. Is vi/ex compiled incorrectly? What flags have to be redefined for vi to pass the filename to the shell with the high order bits unset? Thanks, Bill Twomey, cbnewsj!btwomey attmail!btwomey journey!btwomey