stuff chars

Lawrence W. McVoy mcvoy at rsch.WISC.EDU
Sun Nov 30 11:37:04 AEST 1986


I know this sort of question has been asked before, but try it again...

I understand that you can stuff chars back into the input stream of
a particular terminal, right?  At least on some BSD systems? Well,
how about a hack to vi that lets you do this from the editor?  Suppose
you made a macro like this (assuming that ":stuff" stuffs chars):

map ^X :stuff :suspend^M%-^M

The idea being to stuff the sequence of chars that would suspend the vi
job and restart the last previous suspended job.  Useful for flipping
between vi's (no flames from /dev/windows or /users/emacs, please)

Can this be done?
-- 
Larry McVoy 	        mcvoy at rsch.wisc.edu, 
      		        {seismo, topaz, harvard, ihnp4, etc}!uwvax!mcvoy

"They're coming soon!  Quad-stated guru-gates!"



More information about the Comp.unix.wizards mailing list