[comp.sys.ibm.pc] MKS/vi and Turbo/Lightning

samperi@marob.MASA.COM (Dominick Samperi) (04/19/88)

Has anyone been able to get Turbo lightning working properly with MKS/vi?
I'm having trouble teaching Turbo lightning how to replace words on the
screen while in MKS/vi.
-- 
Dominick Samperi, Manhattan College, NYC
    manhat!samperi@NYU.EDU           ihnp4!rutgers!nyu.edu!manhat!samperi
    philabs!cmcl2!manhat!samperi     ihnp4!rutgers!hombre!samperi
              (^ that's an ell)      uunet!swlabs!mancol!samperi

lyourk@ihlpf.ATT.COM (Loran N. Yourk) (04/22/88)

> 
> Has anyone been able to get Turbo lightning working properly with MKS/vi?
> I'm having trouble teaching Turbo lightning how to replace words on the
> screen while in MKS/vi.
> -- 
> Dominick Samperi, Manhattan College, NYC
>     manhat!samperi@NYU.EDU           ihnp4!rutgers!nyu.edu!manhat!samperi

To get Turbo lightning to work in vi's command mode, place the
following in your ex.rc file:
		map! ^O ^[
		map ^O i
	[Note ^O needs to be control O or some other character not used
	 by vi in command and insert mode.  ^[ is the escape character.]
Edit the Turbo lightning environment and set the following:
		B: Right arrow key 1 l
		D: Left arrow key 1  h
		I: Delete key 1      x
		K: Insert toggle 1   CtrlO
		M: Get words from    Screen
		P: Insert/Overwrite setup
		   D: Is always in overwrite mode
All other options should be set to "None".  Save this environment
as vi-non-INPUT or some other name you prefer.  Using "h, l, & x"
instead of the arrow and delete keys will enable you to use Turbo
lightning with many popular communication programs (providing you
also setup your .exrc file correctly and their are no Hot-key
conflicts).  Most hosts will require Turbo lightning to have a
large Piping delay to prevent overflow.

To spell words which are at the end of a line, place a trailing
space at the end of the line.  To spell words in INPUT MODE,
use the standard DOS environment included with Turbo lightning.
You will need to switch manually (or use SuperKey) between
INPUT MODE (DOS environment) and non-INPUT MODE.

My efforts to combine the two environments have been
unsuccessful because MSK vi implements the showmode
option by changing the cursor (not detectable by Turbo lighting)
instead of having a text based indicator (the usual vi
implementation).

Loran Yourk
ihnp4!ihlpf!lyourk