I have the following vi macros set-up: map ^K :se shell=/m1/exptools/bin/ksh^M map ^B :se shell=/bin/sh^M map ^P ^B:!chmod +x %^M ^K ^P will switch to bourne shell, execute a ``:!chmod +x %'' properly, and then switch back to korn shell. -- Steve Alesch, AT&T Bell Labs, ...!att!ihlpm!sja, (708)713-4188